--- old/test/nashorn/script/trusted/classfilter.js.EXPECTED 2020-04-15 19:24:18.000000000 +0530 +++ /dev/null 2020-04-15 19:24:18.000000000 +0530 @@ -1,22 +0,0 @@ -typeof javax.script.ScriptContext evalutes to object -typeof javax.script.ScriptEngine evalutes to object -typeof java.util.Vector evalutes to function -typeof java.util.Map evalutes to function -typeof java.util.HashMap evalutes to function -var m = new java.util.HashMap(); m.put('foo', 42); m evalutes to {foo=42} -java.lang.System.out.println evalutes to [jdk.dynalink.beans.OverloadedDynamicMethod - void java.io.PrintStream.println() - void java.io.PrintStream.println(boolean) - void java.io.PrintStream.println(char) - void java.io.PrintStream.println(char[]) - void java.io.PrintStream.println(double) - void java.io.PrintStream.println(float) - void java.io.PrintStream.println(int) - void java.io.PrintStream.println(long) - void java.io.PrintStream.println(Object) - void java.io.PrintStream.println(String) -] -java.lang.System.exit evalutes to [jdk.dynalink.beans.SimpleDynamicMethod void java.lang.System.exit(int)] -new javax.script.SimpleBindings throws java.lang.RuntimeException: java.lang.ClassNotFoundException: javax.script.SimpleBindings -Java.type('javax.script.ScriptContext') throws java.lang.RuntimeException: java.lang.ClassNotFoundException: javax.script.ScriptContext -java.lang.Class.forName('javax.script.ScriptContext') throws javax.script.ScriptException: TypeError: Java reflection not supported when class filter is present in at line number 1