[
https://issues.jboss.org/browse/JBIDE-21857?page=com.atlassian.jira.plugi...
]
Thomas Mäder commented on JBIDE-21857:
--------------------------------------
Ok, this is really stupid: forcing a garbage collect makes the problem going away. In the
heap dump, when not forcing GC, multiple class objects for the "ToReload" class
show up. They are shown as beloning to the system class loader (I guess because the class
loader used for loading them has been collected). When I force the garbage collect, they
go away.
I really don't think the VM should report unreachable classes via JDWP.
Hot class reload doesn't work on OpenShift
------------------------------------------
Key: JBIDE-21857
URL:
https://issues.jboss.org/browse/JBIDE-21857
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.Beta2
Reporter: Fred Bricon
Assignee: Max Rydahl Andersen
Priority: Blocker
Fix For: 4.3.1.CR1
Attachments: HCRFailure.zip
When enabling debug mode on an EAP server deployed on OpenShift, locally changing a class
file will :
- work sometimes when only the content of the method changed, but could fail in some
other occasions with the Debugger saying the JDK is out of sync
- will always fail if a method signature changed, the debugger saying JDK is out of sync
Restarting the deployed module (with the .dodeploy flag) doesn't fixes the issue (as
opposed to the same tweak ahen running on a local EAP server)
This may be caused by running OpenJDK? Does it support the same level of debugging as
Oracle JDK?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)