RFR 8145750: jjs fails to run simple scripts with security manager turned on
Alan Bateman
Alan.Bateman at oracle.com
Fri Dec 18 12:52:26 UTC 2015
On 18/12/2015 12:23, Sundararajan Athijegannathan wrote:
> Please review http://cr.openjdk.java.net/~sundar/8145750/webrev.00/
> for https://bugs.openjdk.java.net/browse/JDK-8145750
>
> Adding missing permissions for jdk.dynalink module. Note that it used
> to be part of jdk.scripting.nashorn module in the past and therefore
> got AllPermission.
Is it really necessary to grant it AllPermission? Just wondering how
hard it would be to figure out the permissions that it really needs.
If test/tools/jjs is new then it would be good to this test directory
into one of the test groups so that the tests are run, maybe jdk_other.
-Alan
More information about the nashorn-dev
mailing list