[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Compile-time signature
- From: Andy Clement <andrew.clement@xxxxxxxxx>
- Date: Wed, 10 Jan 2018 10:48:43 -0800
- Delivered-to: email@example.com
The proper optimization here is to use the LDC byte code that takes a constant class, rather than the string variant and then class loading. The original AspectJ used the string form because LDC didn't take a class originally.Â Over the years a few places have been updated but not everywhere ( thisEnclosingJoinPoint is one of them that hasn't been done I think). Let me have a look at what I can do. For a while we had to tolerate both modes because LDC class was quite new, but it has been there so long now I think we can assume you are on a JVM that will have it.