diff -r 996397e0a35c -r e98a3ba5d5da nashorn/test/script/error/object_literal_in_new_nse.js.EXPECTED --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nashorn/test/script/error/object_literal_in_new_nse.js.EXPECTED Tue Jun 09 14:19:57 2015 +0530 @@ -0,0 +1,9 @@ +test/script/error/object_literal_in_new_nse.js:31:33 Expected ; but found { +var r = new java.lang.Runnable() { + ^ +test/script/error/object_literal_in_new_nse.js:32:15 Expected ident but found ( + run: function() { print("hello"); } + ^ +test/script/error/object_literal_in_new_nse.js:32:36 Expected eof but found } + run: function() { print("hello"); } + ^