Nashorn script security permissions not working for .js

Krueger, Simon krusimon at amazon.com
Tue Jul 10 23:55:40 UTC 2018


I cannot get the example at https://wiki.openjdk.java.net/display/Nashorn/Nashorn+script+security+permissions to work. Specifically, I cannot seem to get the permissions for the test.js to apply. The permissions of the .jar that loads the test.js will work. This seems to be a bug. Can anyone else verify if it is working for them or not?

Simon


More information about the nashorn-dev mailing list