8170402: Compilation warning with NashornException
Reviewed-by: hannesw, jlaskey
This commit is contained in:
parent
ae84c4233f
commit
b16751e52b
@ -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!
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user