From b16751e52bee2b3c5c02f05d37fc53b13be08ac5 Mon Sep 17 00:00:00 2001 From: Athijegannathan Sundararajan Date: Mon, 28 Nov 2016 21:13:52 +0530 Subject: [PATCH] 8170402: Compilation warning with NashornException Reviewed-by: hannesw, jlaskey --- .../classes/jdk/nashorn/api/scripting/NashornException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java index b082076e593..b8db1b7326d 100644 --- a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java +++ b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java @@ -244,7 +244,7 @@ public abstract class NashornException extends RuntimeException { * @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! }