Question

We are using some closed-source commercial application framework that involves a byte-code enhancer. While the byte-code enhancer can process Java 7 byte-code, it requires the use of the "-XX:-UseSplitVerifier" flag when starting the JVM.

We have just updated to using Java 7, and run into the issue that we use WebStart to run our application, and WebStart does not support this -XX:-UseSplitVerifier.

The tech support of the framework provider said that it would be "difficult to solve", which means we cannot expect a corrected version any time soon.

So, my question is: Can those stackmaps be generated somehow for existing classes? Could we plug-in some tool/plugin that re-generate those stackmaps after the application is built, but before it is deployed?

Was it helpful?

Solution

ASM bytecode framework can help with recalculating StackMap structures. The only catch is to provide your own facility to resolve common super types.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top