JCL icon indicating copy to clipboard operation
JCL copied to clipboard

Set ProtectionDomain/CodeSource

Open kamranzafar opened this issue 13 years ago • 0 comments

Some code as equinox for example makes all sort of usage of ProtectionDomain/CodeSource. So, can you please set those while defining classes? I know it cannot be done in all cases but at least for loading a jar from an URL it can be done. Take for example how to do it http://www.docjar.com/html/api/java/security/SecureClassLoader.java.html

Maybe even think on having an addition optional param on add() for specifing the code source url.

BTW, why not using github? is such an easier and better way to contribute. I could have done that and only asked you to pull.

kamranzafar avatar Mar 18 '11 19:03 kamranzafar