Details
-
Feature Request
-
Resolution: Done
-
Optional
-
2.1.2
-
None
Description
I am learning Byteman, and i develop a little application to package the native agent ( with the original MANIFEST.MF) , the helper classes, a file of properties , and the file of script rule in one jar named mybyteman.jar
-javaagent parameter puts the jar of the agent (mybyteman.jar) available from the SystemClassloader.
Unfortunaly, my rule file is not reachable with the statement ClassLoader .getSystemResourceAsStream("bytemanpkg.btm");
It raises an Exception.
Is it possible to give a second chance in the catch clause with ClassLoader .getSystemResourceAsStream("bytemanpkg.btm")?