Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
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 email@example.com
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.