Skip to content

Commit b3de99b

Browse files
Backport bea2d48696ee2c213e475ca3aa3aa9c412b91089
1 parent 5eb51cd commit b3de99b

File tree

1 file changed

+1
-1
lines changed
  • src/jdk.internal.le/share/classes/jdk/internal/org/jline/utils

1 file changed

+1
-1
lines changed

src/jdk.internal.le/share/classes/jdk/internal/org/jline/utils/PumpReader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ public int read() throws IOException {
413413
return EOF;
414414
}
415415

416-
return buffer.get();
416+
return buffer.get() & 0xFF;
417417
}
418418

419419
private boolean readUsingBuffer() throws IOException {

0 commit comments

Comments
 (0)