author | sundar |
Tue, 06 Oct 2015 14:31:38 +0530 | |
changeset 32896 | 1d1ff2cf5846 |
parent 32895 | 5a09b2d3d73a |
child 32897 | 4b9073bb6004 |
nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java | file | annotate | diff | comparison | revisions |
--- a/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java Mon Oct 05 18:58:21 2015 +0200 +++ b/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java Tue Oct 06 14:31:38 2015 +0530 @@ -154,6 +154,10 @@ break; } + if (source == null) { + break; + } + if (source.isEmpty()) { continue; }