Add classfile-api module: java.lang.classfile (JEP 484) parse, generate, transform with timing instrumentation, ASM 9.11.1 comparison, version limits, JDK 24/25/26 API diff
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
$ java -cp classes:asm-9.11.1.jar... demo.AsmInstrument (25.0.5+8-LTS)
|
||||
original 1488 bytes, ASM-instrumented 2152 bytes
|
||||
PASS ASM output passes ClassFile.verify()
|
||||
-- ASM AdviceAdapter version (2152 bytes; verify() problems: 0)
|
||||
PASS ASM AdviceAdapter version: demo.Target here is a different Class object than the one on the class path
|
||||
boom() threw java.lang.IllegalStateException: boom
|
||||
explode() threw ArrayIndexOutOfBoundsException
|
||||
fib recorded 177 call(s)
|
||||
sumTo recorded 1 call(s)
|
||||
greet recorded 1 call(s)
|
||||
pause recorded 1 call(s)
|
||||
boom recorded 1 call(s)
|
||||
explode recorded 1 call(s)
|
||||
PASS ASM version also records both throwing methods once
|
||||
PASS ASM version: fib recorded 177 times
|
||||
PASS ASM version: pause(50) recorded as at least 50 ms
|
||||
exit=0
|
||||
Reference in New Issue
Block a user