1 test/nashorn/script/error/JDK-8026039.js:30:9 "public" cannot be used as function name in strict mode 2 function public() {"use strict"} 3 ^ 4 test/nashorn/script/error/JDK-8026039.js:32:11 Expected ident but found public 5 function f(public) {"use strict"} 6 ^ 7 test/nashorn/script/error/JDK-8026039.js:33:0 Expected } but found eof 8 9 ^