-
Notifications
You must be signed in to change notification settings - Fork 494
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
ConcurrentModificationException in EventDispatcher #405
Comments
Could you send please java arguments? |
Optionally could you please add a file
and check if you see |
Thanks for the reply. As you might already figured out the plugins/hotswap agent was loaded/initiated twice. After I disabled the
Arguments Loaded plugins
|
It seems as https://bugs.openjdk.java.net/browse/JDK-8222799 Affected code HotswapAgent/hotswap-agent-core/src/main/java/org/hotswap/agent/plugin/jdk/JdkPlugin.java Line 65 in ae419ff
|
You can ignore the error message for now, it should not affect hotswap or does it? |
You are correct, it doesn't seem to affect the actual hotswapping. I tried disabling the The problem is that the hotswapping only seems to work during the first re-compilation, any further changes isn't hotswapped. I tried changing the response of an endpoint in a Spring Boot controller, and it worked as expected for the first recompilation, but any further re-compilations didn't get applied. I don't know if it's related to the |
Could you try |
The first recompilation went fine.
The second didn't "include" the recompiled file.
And the third complained about the path
|
Seems as the classes only can be hotswapped once.
|
It seems more like problem of IDE not dcevm. Could you check if you have fresh recompiled class in |
The application is running in debug mode, and the compiled classes gets updated in build directory. Intellij states that re-compiled classes has been reloaded via the "n class reloaded" tooltip. Here you got a short screen recording. |
What idea version are you using ? |
Is dcevm11 working? |
It does! I tried with The changes is picked up on every re-compilation.
|
You can disable dcevm using |
dcevm-11 dcevm-17 |
You can try plain jbr-runtime17 without dcevm, what happens? It seems strange since |
The default
|
Jbr should have fixed this issue https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr17_0_1b164.8 |
Great. Thanks for the help @skybber. |
I received the following stacktrace using 1.4.1 and jbr_dcevm-17-osx-x64-b135.1
Seems related to #155
The text was updated successfully, but these errors were encountered: