Has anyone gotten the class HotSwap feature to work on JBoss using the IBM J9 VM?
Using the Sun VM one can modify a class in memory when running in debug mode as long as you don't change the "shape" of the class. This works fine for me.
IBM's J9 goes further and allows you to make changes that modify the shape of the class, like adding a new method.
However, when I try to HotSwap a class with J9 I encounter the error stack below.
Getting this to work would be a tremendous productivity boon. I could keep the app redeployments to a minimum.
There is a rejected bug entry (JBAS-2780) that points the finger to the VM. It may very well be. Still if you have found a workaround of any sort, please do share.
IBM JVM 1.5.0
02:04:10,212 ERROR [AbstractDeploymentScanner$ScannerThread] Scanning failed; continuing
at java.lang.String.endsWith(String.java :494)
at org.jboss.deployment.DeploymentSorter.getExtensionIndex (DeploymentSorter.java:84)