nashorn/test/script/basic/JDK-8043232.js.EXPECTED
author sundar
Wed, 06 May 2015 20:04:42 +0530
changeset 30394 72a59e4dffea
parent 26652 56623a8db943
child 32441 8401a09d1b0d
permissions -rw-r--r--
8079470: Misleading error message when explicit signature constructor is called with wrong arguments Reviewed-by: jlaskey, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26652
56623a8db943 8057035: Some tests failed using java.awt.Color on Solaris without X11 libraries
yan
parents: 26645
diff changeset
     1
bcd
56623a8db943 8057035: Some tests failed using java.awt.Color on Solaris without X11 libraries
yan
parents: 26645
diff changeset
     2
[jdk.internal.dynalink.beans.SimpleDynamicMethod String java.lang.String.java.lang.String(char[],int,int)]
56623a8db943 8057035: Some tests failed using java.awt.Color on Solaris without X11 libraries
yan
parents: 26645
diff changeset
     3
red
25252
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.
26652
56623a8db943 8057035: Some tests failed using java.awt.Color on Solaris without X11 libraries
yan
parents: 26645
diff changeset
    11
TypeError: Constructor [jdk.internal.dynalink.beans.SimpleDynamicMethod String java.lang.String.java.lang.String(char[],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