Skip to content

Commit f7492dd

Browse files
Baraa-HasheeshPaul Hohensee
authored andcommitted
8312475: org.jline.util.PumpReader signed byte problem
Backport-of: bea2d48696ee2c213e475ca3aa3aa9c412b91089
1 parent 4241313 commit f7492dd

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

Lines changed: 1 addition & 1 deletion
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)