Why getResourceAsStream (of Class or ClassLoader) always returns NULL when a java class is accessed using LS2J?
The resource being accessed (i.e. JPEG, GIF, etc.) is embedded in the jar file.
When this class is accessed from a java agent, it goes fine.
By the way, the jar file containing the said class is embedded in a Java Library.
However, if the jar file is included in jvm\lib\ext of Notes program folder (and removed from the Java Library), it works fine with LS2J.
Please help!