# HG changeset patch # User sundar # Date 1480347832 -19800 # Node ID a8fa7fec7c444ac700b8d51e9b8578719a687046 # Parent 88f74d63d093dd0402325bea9ca1b7c201196b48 8170402: Compilation warning with NashornException Reviewed-by: hannesw, jlaskey diff -r 88f74d63d093 -r a8fa7fec7c44 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! }