Fix IOInputStream single-byte read #750

Merged
merged 1 commit into from May 21, 2013

Projects

None yet

2 participants

@grddev
Contributor
grddev commented May 20, 2013

Java does signed type conversions by default. Thus, any bytes above 127 resulted in negative return values, which where either illegal return values or signifying end of file.

@grddev grddev Fix IOInputStream single-byte read
Java does signed type conversions by default. Thus, any bytes above 127
resulted in negative return values, which where either illegal return
values or signifying end of file.
7e8bf33
@headius headius merged commit 7f4581b into jruby:master May 21, 2013

1 check was pending

default The Travis CI build is in progress
Details
@headius
Member
headius commented May 21, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment