Not sure if I’m doing things 100% right.
I tried to extend a java class java.lang.SecurityManager and then
install it for the JVM (System.setSecurityManager) - I’ve expected for
this to work
but it didn’t - same result for 1.5.6 as well as 1.6.0.RC3 !
Is this a JRuby bug or is the java support not that mature or is it just
me doing something wrong ?
what fails is the java.lang.System.setSecurityManager with the new
“jruby” manager.
if I understand correctly JRuby attempts to create a proxy for the first checkPermission call (triggered by SecurityManager.checkExit) -
while doing so another security manager check is triggered (checkRead)
and it fails …
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.