8170402: Compilation warning with NashornException

Reviewed-by: hannesw, jlaskey
This commit is contained in:
Athijegannathan Sundararajan 2016-11-28 21:13:52 +05:30
parent ae84c4233f
commit b16751e52b

View File

@ -244,7 +244,7 @@ public abstract class NashornException extends RuntimeException {
* @param global the global * @param global the global
* @return initialized exception * @return initialized exception
*/ */
protected NashornException initEcmaError(final ScriptObject global) { NashornException initEcmaError(final ScriptObject global) {
if (ecmaError != null) { if (ecmaError != null) {
return this; // initialized already! return this; // initialized already!
} }