Closed gejun123456 closed 1 month ago
Thanks!
@gejun123456 Thasnks!! I tried using this plugin and read some of the code. I think it is somewhat difficult for a new user to use, and there is room for improvement. My understanding of the plugin's functionality is:
However, the user still needs to do quite a few things:
Maybe you could consider optimizing these aspects.
@gejun123456 @homejim I recommend using -XX:HotswapAgent=external
. This option --add-opens
all JDK modules that HotswapAgent requires to be opened. Additionally, use the standard Java agent argument -javaagent:<path_to_latest_ha>/hotswap-agent.jar
. If an external agent is used, the user (or HotswapHelper plugin) can place HotswapAgent anywhere where has access and is not restricted by the OS access rules, as if JBR is placed in a system directory like /usr/lib/jvm/jbr21/
.
@homejim @skybber Thanks for the suggestion, the plugin will support user configure agent manually in later versions. For downloading jdk, i think it's easyier for user to use, or user has to manully search the jdk and install DCEVM.
Manually set jar file is supported, thanks. will add more feature in later versions. HotSwapHelper-1.0.2.zip
Add Intellij HotSwapHelper plugin in IDE part.