RFR: 8323562: SaslInputStream.read() may return wrong value

Sergey Bylokhov serb at openjdk.org
Fri Jan 12 01:01:45 UTC 2024


SaslInputStream.read() should return a value in the range from 0 to 255 per the spec of InputStream.read() but it returns the signed byte from the inBuf as is.

-------------

Commit messages:
 - 8323562: SaslInputStream.read() may return wrong value

Changes: https://git.openjdk.org/jdk/pull/17365/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17365&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8323562
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/17365.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17365/head:pull/17365

PR: https://git.openjdk.org/jdk/pull/17365


More information about the core-libs-dev mailing list