I'm trying to use HotSwapAgent with Wildfly 16 and Eclipse Jee 2019-06.
I have already downloaded the OpenJDK Hotswap and add it to my IDE.
When I change a class i get this warning:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.hotswap.agent.util.ReflectionHelper (file:/C:/Program%20Files/Java/java%20dcevm-11.0.1+8/lib/hotswap/hotswap-agent.jar) to method com.sun.beans.WeakCache.put(java.lang.Object,java.lang.Object)
WARNING: Please consider reporting this to the maintainers of org.hotswap.agent.util.ReflectionHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
But the log shows that the class has been redefined.
When I test if changes has been done I get this error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (c:/Users/travis/build/TravaOpenJDK/trava-jdk-11-dcevm/openjdk-build/workspace/build/src/src/hotspot/share/interpreter/interpreterRuntime.cpp:884), pid=3768, tid=10448
# guarantee((retry_count++ < 100)) failed: Could not resolve to latest version of redefined method
#
# JRE version: OpenJDK Runtime Environment (11.0.1.6+8) (build 11.0.1.6+8-201904021629)
# Java VM: Dynamic Code Evolution 64-Bit Server VM (11.0.1.6
+8-201904021629, mixed mode, tiered, compressed oops, serial gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\wildfly-16.0.0.Final\bin\hs_err_pid3768.log
#
# If you would like to submit a bug report, please visit:
#
Any ideas, about how to solve this ?
Thanks