test/script/basic/JDK-8049242.js.EXPECTED

Fri, 31 Oct 2014 20:19:49 +0100

author
hannesw
date
Fri, 31 Oct 2014 20:19:49 +0100
changeset 1076
73ca7a752ba1
parent 1011
3d30873e13d7
child 1538
82a41eb20242
permissions
-rw-r--r--

8062583: Throwing object with error prototype causes error proto to be caught
Reviewed-by: sundar, jlaskey

attila@963 1 java.awt.Color[r=255,g=0,b=255]
attila@963 2 [jdk.internal.dynalink.beans.SimpleDynamicMethod Color java.awt.Color.java.awt.Color(int,int,int)]
attila@963 3 java.awt.Color[r=33,g=233,b=2]
attila@963 4 TypeError: null is not a function
attila@963 5 TypeError: null is not a function
attila@963 6 TypeError: null is not a function
hannesw@1011 7 TypeError: Constructor [jdk.internal.dynalink.beans.SimpleDynamicMethod Color java.awt.Color.java.awt.Color(int,int,int)] requires "new".
attila@963 8 TypeError: null is not a function
attila@963 9 TypeError: null is not a function
attila@963 10 java.lang.InstantiationException: java.io.InputStream

mercurial