Details
-
Bug
-
Resolution: Done
-
Major
-
1.1.1
-
None
-
None
Description
The agent premain class currently calls Transformer.isVerbose() in order to decide whether to print trace. This appears to be causing some weird classloading behaviour when running the JBossTS tests. The result is that the transformer sometimes fails to get installed correctly. In order to avoid this Main should only link to Transformer dynamically by invoking loadClass, passing the relevant classname string, after it has updated the boot and system classpaths. It should not mention nor include any other classes from the byteman jar.