diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-02-07 09:35:55 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-02-07 11:48:39 +0700 |
commit | 3e3c83712e7eb41ed2d769280092bc83b8492a3d (patch) | |
tree | 2bdeb96603ef1c209f000d01ae1b1a9365e3c87f /runtime | |
parent | 3102ea8fb21493bdf0080d03a8234c2a6cb952ad (diff) | |
download | aspectj-3e3c83712e7eb41ed2d769280092bc83b8492a3d.tar.gz aspectj-3e3c83712e7eb41ed2d769280092bc83b8492a3d.zip |
Weaver returns null instead of original bytes for unwoven classes
This change makes sense independently of #277, but also enables using
- cp "my.jar;aspectjweaver.jar"
-XX:+AllowArchivingWithJavaAgent
-javaagent:aspectjweaver.jar
while creating a CDS archive. Afterward, the application can be run in
its woven state from the CDS archive even without '-javaagent', because
the byte code was archived in its woven state ("poor man's AJC"). See
https://github.com/eclipse-aspectj/aspectj/issues/277#issuecomment-1931142753
for details.
Fixes #277.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'runtime')
0 files changed, 0 insertions, 0 deletions