nashorn/test/script/basic/JDK-8043232.js.EXPECTED
author hannesw
Thu, 04 Sep 2014 15:37:14 +0200
changeset 26377 028dad61662f
parent 25258 325380d7c38c
child 26645 876305bf6ee4
permissions -rw-r--r--
8051889: Implement block scoping in symbol assignment and scope computation Reviewed-by: attila, lagergren
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)
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
diff changeset
     9
TypeError: Java method [jdk.internal.dynalink.beans.OverloadedDynamicMethod java.lang.System.getProperty] cant be used as a constructor.
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
diff changeset
    10
TypeError: Java method [jdk.internal.dynalink.beans.OverloadedDynamicMethod java.io.PrintStream.println] cant be used as a constructor.
e8bfc909db53 8043232: Index selection of overloaded java new constructors
sundar
parents:
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