Permissions for eval code [jjs with support for Security Manager?]

Bernd Eckenfels ecki at zusammenkunft.net
Sat Feb 8 01:37:57 PST 2014


Am Fri, 07 Feb 2014 18:19:44 +0530
schrieb "A. Sundararajan" <sundararajan.athijegannathan at oracle.com>:

> Hi,
> 
> Sorry I forgot to address the following issue. Filed a bug:
> https://bugs.openjdk.java.net/browse/JDK-8033924
> 
> It is bug that "eval" code does not get the default permissions.
> 
> Thanks for reporting. 
> 
> -Sundar

Thanks Sundar for reporting this. I wonder if it is defined what
codebase a evaluated piece of Java code should have (besides the
general permission settings). Is there anything planned or existing? If
I understand the patch correctly there is no specific code source which
can matched by policy (and no support for signing scripts).

Greetings
Bernd


More information about the nashorn-dev mailing list