Set ProtectionDomain/CodeSource
Brought to you by:
xeus_man
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.
I have moved the project to GitHub.
The URL is:
https://github.com/xeusman/JCL