view test/nashorn/script/trusted/classfilter.js.EXPECTED @ 51210:08d99d33e0aa

8207765: HeapMonitorTest.java intermittent failure Summary: Lower the interval rate and check GC objects too Reviewed-by: dcubed, sspitsyn Contributed-by: jcbeyler@google.com
author jcbeyler
date Wed, 25 Jul 2018 10:51:16 -0700
parents ec4c069f9436
children
line wrap: on
line source
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 <eval> at line number 1