-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b28
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8056559 | emb-9 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | master |
JDK-8064185 | 8u45 | Attila Szegedi | P3 | Resolved | Fixed | b01 |
JDK-8055651 | 8u40 | Attila Szegedi | P3 | Resolved | Fixed | b04 |
JDK-8070422 | emb-8u47 | Attila Szegedi | P3 | Resolved | Fixed | team |
[testng] Test(compile, run): test/script/trusted/JDK-8055107.js
[testng] Exception in thread "main" java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
[testng] at java.security.AccessControlContext.checkPermission(AccessControlContext.java:457)
[testng] at java.security.AccessController.checkPermission(AccessController.java:884)
[testng] at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
[testng] at java.lang.Class.checkMemberAccess(Class.java:2335)
[testng] at java.lang.Class.getDeclaredFields(Class.java:1902)
[testng] at jdk.nashorn.internal.ir.debug.ASTWriter.enqueueChildren(ASTWriter.java:261)
[testng] at jdk.nashorn.internal.ir.debug.ASTWriter.printAST(ASTWriter.java:144)
[testng] at jdk.nashorn.internal.ir.debug.ASTWriter.toString(ASTWriter.java:80)
[testng] at java.lang.String.valueOf(String.java:2979)
[testng] at java.io.PrintWriter.println(PrintWriter.java:754)
[testng] at jdk.nashorn.internal.codegen.CompilationPhase$9.transform(CompilationPhase.java:285)
[testng] at jdk.nashorn.internal.codegen.CompilationPhase.apply(CompilationPhase.java:685)
[testng] at jdk.nashorn.internal.codegen.Compiler.compile(Compiler.java:527)
[testng] at jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.compileTypeSpecialization(RecompilableScriptFunctionData.java:451)
[testng] at jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.getBest(RecompilableScriptFunctionData.java:638)
[testng] at jdk.nashorn.internal.runtime.ScriptFunctionData.getBestInvoker(ScriptFunctionData.java:231)
[testng] at jdk.nashorn.internal.runtime.ScriptFunction.findCallMethod(ScriptFunction.java:547)
[testng] at jdk.nashorn.internal.runtime.ScriptObject.lookup(ScriptObject.java:1818)
[testng] at jdk.nashorn.internal.runtime.linker.NashornLinker.getGuardedInvocation(NashornLinker.java:100)
[testng] at jdk.nashorn.internal.runtime.linker.NashornLinker.getGuardedInvocation(NashornLinker.java:94)
[testng] at jdk.internal.dynalink.support.CompositeTypeBasedGuardingDynamicLinker.getGuardedInvocation(CompositeTypeBasedGuardingDynamicLinker.java:176)
[testng] at jdk.internal.dynalink.support.CompositeGuardingDynamicLinker.getGuardedInvocation(CompositeGuardingDynamicLinker.java:124)
[testng] at jdk.internal.dynalink.support.LinkerServicesImpl.getGuardedInvocation(LinkerServicesImpl.java:149)
[testng] at jdk.internal.dynalink.DynamicLinker.relink(DynamicLinker.java:233)
[testng] at jdk.nashorn.internal.scripts.Script$Recompilation$29$1$\^eval\_.:program(<eval>:5)
[testng] at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:635)
[testng] at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:222)
[testng] at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:376)
[testng] at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:467)
[testng] at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:431)
[testng] at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:427)
[testng] at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:160)
[testng] at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
[testng] at jdk.nashorn.internal.scripts.Script$Recompilation$17$2A$JDK_8055107.runScriptEngine(test/script/trusted/JDK-8055107.js:48)
[testng] at jdk.nashorn.internal.scripts.Script$Recompilation$27$1$JDK_8055107$cu2$restOf.:program(test/script/trusted/JDK-8055107.js:117)
[testng] at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:635)
[testng] at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:222)
[testng] at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:376)
[testng] at jdk.nashorn.tools.Shell.apply(Shell.java:390)
[testng] at jdk.nashorn.tools.Shell.runScripts(Shell.java:319)
[testng] at jdk.nashorn.tools.Shell.run(Shell.java:169)
[testng] at jdk.nashorn.tools.Shell.main(Shell.java:133)
[testng] at jdk.nashorn.tools.Shell.main(Shell.java:112)
[testng] Exception in thread "main" java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
[testng] at java.security.AccessControlContext.checkPermission(AccessControlContext.java:457)
[testng] at java.security.AccessController.checkPermission(AccessController.java:884)
[testng] at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
[testng] at java.lang.Class.checkMemberAccess(Class.java:2335)
[testng] at java.lang.Class.getDeclaredFields(Class.java:1902)
[testng] at jdk.nashorn.internal.ir.debug.ASTWriter.enqueueChildren(ASTWriter.java:261)
[testng] at jdk.nashorn.internal.ir.debug.ASTWriter.printAST(ASTWriter.java:144)
[testng] at jdk.nashorn.internal.ir.debug.ASTWriter.toString(ASTWriter.java:80)
[testng] at java.lang.String.valueOf(String.java:2979)
[testng] at java.io.PrintWriter.println(PrintWriter.java:754)
[testng] at jdk.nashorn.internal.codegen.CompilationPhase$9.transform(CompilationPhase.java:285)
[testng] at jdk.nashorn.internal.codegen.CompilationPhase.apply(CompilationPhase.java:685)
[testng] at jdk.nashorn.internal.codegen.Compiler.compile(Compiler.java:527)
[testng] at jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.compileTypeSpecialization(RecompilableScriptFunctionData.java:451)
[testng] at jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.getBest(RecompilableScriptFunctionData.java:638)
[testng] at jdk.nashorn.internal.runtime.ScriptFunctionData.getBestInvoker(ScriptFunctionData.java:231)
[testng] at jdk.nashorn.internal.runtime.ScriptFunction.findCallMethod(ScriptFunction.java:547)
[testng] at jdk.nashorn.internal.runtime.ScriptObject.lookup(ScriptObject.java:1818)
[testng] at jdk.nashorn.internal.runtime.linker.NashornLinker.getGuardedInvocation(NashornLinker.java:100)
[testng] at jdk.nashorn.internal.runtime.linker.NashornLinker.getGuardedInvocation(NashornLinker.java:94)
[testng] at jdk.internal.dynalink.support.CompositeTypeBasedGuardingDynamicLinker.getGuardedInvocation(CompositeTypeBasedGuardingDynamicLinker.java:176)
[testng] at jdk.internal.dynalink.support.CompositeGuardingDynamicLinker.getGuardedInvocation(CompositeGuardingDynamicLinker.java:124)
[testng] at jdk.internal.dynalink.support.LinkerServicesImpl.getGuardedInvocation(LinkerServicesImpl.java:149)
[testng] at jdk.internal.dynalink.DynamicLinker.relink(DynamicLinker.java:233)
[testng] at jdk.nashorn.internal.scripts.Script$Recompilation$29$1$\^eval\_.:program(<eval>:5)
[testng] at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:635)
[testng] at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:222)
[testng] at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:376)
[testng] at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:467)
[testng] at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:431)
[testng] at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:427)
[testng] at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:160)
[testng] at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
[testng] at jdk.nashorn.internal.scripts.Script$Recompilation$17$2A$JDK_8055107.runScriptEngine(test/script/trusted/
[testng] at jdk.nashorn.internal.scripts.Script$Recompilation$27$1$JDK_8055107$cu2$restOf.:program(test/script/trusted/
[testng] at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:635)
[testng] at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:222)
[testng] at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:376)
[testng] at jdk.nashorn.tools.Shell.apply(Shell.java:390)
[testng] at jdk.nashorn.tools.Shell.runScripts(Shell.java:319)
[testng] at jdk.nashorn.tools.Shell.run(Shell.java:169)
[testng] at jdk.nashorn.tools.Shell.main(Shell.java:133)
[testng] at jdk.nashorn.tools.Shell.main(Shell.java:112)
- backported by
-
JDK-8055651 [TEST_BUG] test/script/trusted/JDK-8055107.js fails with access control exception
-
- Resolved
-
-
JDK-8056559 [TEST_BUG] test/script/trusted/JDK-8055107.js fails with access control exception
-
- Resolved
-
-
JDK-8064185 [TEST_BUG] test/script/trusted/JDK-8055107.js fails with access control exception
-
- Resolved
-
-
JDK-8070422 [TEST_BUG] test/script/trusted/JDK-8055107.js fails with access control exception
-
- Resolved
-