8170402: Compilation warning with NashornException
authorsundar
Mon, 28 Nov 2016 21:13:52 +0530
changeset 42379 a8fa7fec7c44
parent 42378 88f74d63d093
child 42381 a21d6681a19d
8170402: Compilation warning with NashornException Reviewed-by: hannesw, jlaskey
nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java
--- a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java	Mon Nov 28 09:57:40 2016 +0100
+++ b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java	Mon Nov 28 21:13:52 2016 +0530
@@ -244,7 +244,7 @@
      * @param global the global
      * @return initialized exception
      */
-    protected NashornException initEcmaError(final ScriptObject global) {
+    NashornException initEcmaError(final ScriptObject global) {
         if (ecmaError != null) {
             return this; // initialized already!
         }