Hi everybody,

I have a question about setClassShutter(), I'm trying to filter the
access to Java classes from the scripts, and this function is blocking
successfully instructions as : print(java.lang.Math.PI) , but when I
use the importPackage function the filter doesn't work:

       importPackage(java.lang);
       print(Math.PI);

I don't know why this is happening, If the reason is that
setClassShutter() cannot handle this case then how can I deny the
access to Java classes when importPackage() is used?

Thanks in advance for your help!
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to