hotswap-agent-intellij-plugin
hotswap-agent-intellij-plugin copied to clipboard
Plugin does not work with JDK11 (TravaOpenJDK)
Regarding
- https://dcevm.github.io
- http://hotswapagent.org/mydoc_quickstart-jdk11.html
- https://github.com/TravaOpenJDK/trava-jdk-11-dcevm/releases
the TravaOpenJDK is the official DCEVM bundle for JDK11 based on AdoptJDK11. It also includes the HotSwapAgent by default.
So the plugin must be updated to adopt to the changes:
- There is no javaagent-argument the plugin can set anymore (the agent is activated by default)
- The agent can be disabled using the new argument
-XX:+DisableHotswapAgent
- Because there is no javaagent-argument anymore, the option "disabled plugin" cannot be set anymore as an argument (You can still disable the plugins via hotswap-agent.properties)
- The detection of the DCEVM does not work anymore. "DCEVM installation not found for JDK specified for the current project." is shown
- The documentation+screenshots have to be updated.
I am not sure how you can make your plugin backwards-compatible to JDK8, because the current plugin still works for JDK8 (http://hotswapagent.org/mydoc_quickstart.html). But not for JDK11 (http://hotswapagent.org/mydoc_quickstart-jdk11.html) anymore.
This issue would be solved by just updating to the latest version of DCEVM. It received Java 11 support in 2018.