jdk-24/nashorn/test/script/basic/JDK-8043232.js.EXPECTED
Attila Szegedi 505e5097e6 8141338: Move jdk.internal.dynalink package to jdk.dynalink
Reviewed-by: hannesw, sundar
2015-11-24 10:19:34 +01:00

29 lines
1.3 KiB
Plaintext

bcd
[jdk.dynalink.beans.SimpleDynamicMethod java.lang.String(char[],int,int)]
red
TypeError: No such Java class: java.lang.NonExistent
TypeError: No such Java constructor: Object(String)
TypeError: Java constructor signature invalid: Object()xxxxx
TypeError: Java constructor signature invalid: Object(
TypeError: Java constructor signature invalid: Object)
TypeError: Java method [jdk.dynalink.beans.OverloadedDynamicMethod
String java.lang.System.getProperty(String,String)
String java.lang.System.getProperty(String)
] cannot be used as a constructor.
TypeError: Java method [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)
] cannot be used as a constructor.
TypeError: Constructor [jdk.dynalink.beans.SimpleDynamicMethod java.lang.String(char[],int,int)] requires "new".
TypeError: No such Java constructor: Runnable()
TypeError: No such Java constructor: Runnable(int)
java.lang.InstantiationException: java.io.InputStream