Skip to content

Commit 3a26297

Browse files
Fix ArgFileParser (JDK-8357862)
1 parent 9331918 commit 3a26297

File tree

1 file changed

+3
-0
lines changed
  • espresso/src/com.oracle.truffle.espresso.launcher/src/com/oracle/truffle/espresso/launcher

1 file changed

+3
-0
lines changed

espresso/src/com.oracle.truffle.espresso.launcher/src/com/oracle/truffle/espresso/launcher/ArgFileParser.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ private String nextToken() throws IOException {
110110
break charloop;
111111
}
112112
}
113+
if (!sb.isEmpty()) {
114+
return sb.toString();
115+
}
113116
state = FIND_NEXT;
114117
continue;
115118
}

0 commit comments

Comments
 (0)