[jdk21u-dev] RFR: 8323562: SaslInputStream.read() may return wrong value

Satyen Subramaniam ssubramaniam at openjdk.org
Tue Oct 22 15:53:00 UTC 2024


Backporting JDK-8323562: SaslInputStream.read() may return wrong value. 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. Patch is clean.

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

Commit messages:
 - Backport 5cf7947

Changes: https://git.openjdk.org/jdk21u-dev/pull/1078/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1078&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/jdk21u-dev/pull/1078.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1078/head:pull/1078

PR: https://git.openjdk.org/jdk21u-dev/pull/1078


More information about the jdk-updates-dev mailing list