You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
download HotswapAgent 2.0.1 and copy the jar to /Library/Java/JavaVirtualMachines/jbr_jcef-17.0.12-osx-aarch64-b1207.37/Contents/Home/lib/hotswap/hotswap-agent.jar
run /Library/Java/JavaVirtualMachines/jbr_jcef-17.0.12-osx-aarch64-b1207.37/Contents/Home/bin/java -javaagent:jacoco-0.8.11/lib/jacocoagent.jar=output=tcpserver,address=0.0.0.0,port=6300 -XX:HotswapAgent=fatjar -XX:+AllowEnhancedClassRedefinition -jar Downloads/demo/build/libs/demo-0.0.1-SNAPSHOT.jar and you will see the errors.
I got the error below which is fixed in Add support for the new Dynamic constant (17) created in java 11, so we need to update the emberer javaassist code.
exception stack
env
JDK17 JetBrainsRuntime
$ java -version openjdk version "17.0.12" 2024-07-16 OpenJDK Runtime Environment JBR-17.0.12+1-1207.37-jcef (build 17.0.12+1-b1207.37) OpenJDK 64-Bit Server VM JBR-17.0.12+1-1207.37-jcef (build 17.0.12+1-b1207.37, mixed mode)
HotswapAgent 2.0.1
jacoco 0.8.11 (as javaagent)
Springframework 6.1.6
decompile output
Decompile the class with CFR, you can see some code lines related to jacoco is using dynamic constant.
The text was updated successfully, but these errors were encountered: