nashorn/test/script/basic/JDK-8043232.js.EXPECTED
author hannesw
Mon, 15 Sep 2014 17:51:11 +0200
changeset 26648 9a64e15eff37
parent 26645 876305bf6ee4
child 26652 56623a8db943
permissions -rw-r--r--
8056978: ClassCastException: cannot cast jdk.nashorn.internal.scripts.JO* Reviewed-by: jlaskey, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25252
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
diff changeset
     1
java.awt.Color[r=255,g=0,b=255]
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
diff changeset
     2
[jdk.internal.dynalink.beans.SimpleDynamicMethod Color java.awt.Color.java.awt.Color(int,int,int)]
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
diff changeset
     3
java.awt.Color[r=33,g=233,b=2]
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
diff changeset
     4
TypeError: No such Java class: java.lang.NonExistent
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
diff changeset
     5
TypeError: No such Java constructor: Object(String)
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
diff changeset
     6
TypeError: Java constructor signature invalid: Object()xxxxx
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
diff changeset
     7
TypeError: Java constructor signature invalid: Object(
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
diff changeset
     8
TypeError: Java constructor signature invalid: Object)
26645
876305bf6ee4 8057743: Single quotes must be escaped in message resource file
hannesw
parents: 25258
diff changeset
     9
TypeError: Java method [jdk.internal.dynalink.beans.OverloadedDynamicMethod java.lang.System.getProperty] cannot be used as a constructor.
876305bf6ee4 8057743: Single quotes must be escaped in message resource file
hannesw
parents: 25258
diff changeset
    10
TypeError: Java method [jdk.internal.dynalink.beans.OverloadedDynamicMethod java.io.PrintStream.println] cannot be used as a constructor.
876305bf6ee4 8057743: Single quotes must be escaped in message resource file
hannesw
parents: 25258
diff changeset
    11
TypeError: Constructor [jdk.internal.dynalink.beans.SimpleDynamicMethod Color java.awt.Color.java.awt.Color(int,int,int)] requires "new".
25258
325380d7c38c 8049242: Explicit constructor overload selection should work with StaticClass as well
sundar
parents: 25252
diff changeset
    12
TypeError: No such Java constructor: Runnable()
325380d7c38c 8049242: Explicit constructor overload selection should work with StaticClass as well
sundar
parents: 25252
diff changeset
    13
TypeError: No such Java constructor: Runnable(int)
325380d7c38c 8049242: Explicit constructor overload selection should work with StaticClass as well
sundar
parents: 25252
diff changeset
    14
java.lang.InstantiationException: java.io.InputStream