New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error modifying class for cglib proxy creation parameter recording #407
Comments
Is your intention to use HA+dcevm for running+development Idea from Idea? |
@skybber yes, that's my current use case. Currently I'm using DCEVM a longer with the enhanced class redefinition, I'm not quite sure what HA brings for me use case. I'm write new to DCEVM and HA. |
HA extends dcevm capabilities. For idea-from-idea use case does make sense :
may be much more, I don't know Idea code base a lot. |
It's mostly Swing related stuff. Sometimes there's serialization code that maybe useful they have both their XML stuff (which is related to the cglib error shown above) and maybe some Json. I had issues with some incompatible changes in anonymous classes, and I saw that HA could help in this regard. Regardless I'm not quite sure what was wrong in my setup. |
Your setup is OK, HotswapAgent does not support Idea class loading mechanism now. I can create a new plugin for it if you are interested. |
That'd be neat |
By the way how can I help on the matter ? |
May be by testing later. |
There is a new intelliJ IDEA plugin now, it patches Idea class loader to be able to load Hotswap Agent's classes. |
So I did some testing, and the changes you've made look good. I believe the issue is now fixed. |
@skybber By the way: happy new year. Oh and do you know if a release is near. Thank you again ! |
We are planning to release v1.5 in near future. Thanks for help. |
Hi,
I'd like to use the hotswap agent as an external library with the JetBrains runtime (11.x at the moment) to run IntelliJ itself.
I am using the latest HA snapshot
1.4.2-SNAPSHOT
.The java process is started with :
-XX:+AllowEnhancedClassRedefinition -XX:HotswapAgent=external -javaagent:hotswap-agent-1.4.2-SNAPSHOT.jar
among other flags and options.However I noticed an error with a stacktrace on stdout.
I am not sure if this is an actual bug or a misconfiguration on my end.
org.hotswap.agent.javassist.CannotCompileException
The text was updated successfully, but these errors were encountered: