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

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

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

> Hi,
> Sorry I forgot to address the following issue. Filed a bug:
> 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).


More information about the nashorn-dev mailing list