Fixed JRubyClassLoader to not require protective domain access check #817
I want to be able to load jruby with security manager but minimize
Do you know of the reason it serves? From the original commit, it looked a
On Fri, Jun 21, 2013 at 11:35 PM, Hiro Asari firstname.lastname@example.org
Passing null for the protection domain causes the classes to default to the system classloader's privileges. This prevents having sandbox child environments or environments with differing permissions in the same JVM.
We can modify the code to fall back on null if we can't acquire the protection domain, but we can't just pass null unconditionally.