8312475: org.jline.util.PumpReader signed byte problem

Backport-of: bea2d48696
This commit is contained in:
Bara' Hasheesh
2025-04-15 08:35:09 +00:00
committed by Vitaly Provodin
parent d37b3a376a
commit 63e780433d

View File

@@ -413,7 +413,7 @@ public class PumpReader extends Reader {
return EOF;
}
return buffer.get();
return buffer.get() & 0xFF;
}
private boolean readUsingBuffer() throws IOException {