test/script/basic/JDK-8019226.js

Print this page

        

@@ -28,11 +28,11 @@
  * @run
  */
 
 function func1() { func2() }
 
-function func2() { throw new Error() }
+function func2() { throw new Error("failed!") }
 
 try {
     func1()
 } catch (e) {
     print(e.stack.replace(/\\/g, '/'))