--- old/test/nashorn/script/error/JDK-8026039.js.EXPECTED 2020-04-15 19:18:41.000000000 +0530 +++ /dev/null 2020-04-15 19:18:41.000000000 +0530 @@ -1,9 +0,0 @@ -test/nashorn/script/error/JDK-8026039.js:30:9 "public" cannot be used as function name in strict mode -function public() {"use strict"} - ^ -test/nashorn/script/error/JDK-8026039.js:32:11 Expected ident but found public -function f(public) {"use strict"} - ^ -test/nashorn/script/error/JDK-8026039.js:33:0 Expected } but found eof - -^