Wed, 30 Dec 2015 14:15:50 +0300
Merge
sundar@964 | 1 | typeof javax.script.ScriptContext evalutes to object |
sundar@964 | 2 | typeof javax.script.ScriptEngine evalutes to object |
sundar@964 | 3 | typeof java.util.Vector evalutes to function |
sundar@964 | 4 | typeof java.util.Map evalutes to function |
sundar@964 | 5 | typeof java.util.HashMap evalutes to function |
sundar@964 | 6 | var m = new java.util.HashMap(); m.put('foo', 42); m evalutes to {foo=42} |
attila@1539 | 7 | java.lang.System.out.println evalutes to [jdk.internal.dynalink.beans.OverloadedDynamicMethod |
attila@1539 | 8 | void java.io.PrintStream.println() |
attila@1539 | 9 | void java.io.PrintStream.println(boolean) |
attila@1539 | 10 | void java.io.PrintStream.println(char) |
attila@1539 | 11 | void java.io.PrintStream.println(char[]) |
attila@1539 | 12 | void java.io.PrintStream.println(double) |
attila@1539 | 13 | void java.io.PrintStream.println(float) |
attila@1539 | 14 | void java.io.PrintStream.println(int) |
attila@1539 | 15 | void java.io.PrintStream.println(long) |
attila@1539 | 16 | void java.io.PrintStream.println(Object) |
attila@1539 | 17 | void java.io.PrintStream.println(String) |
attila@1539 | 18 | ] |
sundar@964 | 19 | java.lang.System.exit evalutes to [jdk.internal.dynalink.beans.SimpleDynamicMethod void java.lang.System.exit(int)] |
sundar@964 | 20 | new javax.script.SimpleBindings throws java.lang.RuntimeException: java.lang.ClassNotFoundException: javax.script.SimpleBindings |
sundar@964 | 21 | Java.type('javax.script.ScriptContext') throws java.lang.RuntimeException: java.lang.ClassNotFoundException: javax.script.ScriptContext |
sundar@964 | 22 | 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 |