RFR: 8272613: CharsetDecoder.decode(ByteBuffer) throws IllegalArgumentException [v2]

Naoto Sato naoto at openjdk.org
Mon Mar 27 17:20:58 UTC 2023


> Addressing an integer overflow on decoding a large byte buffer. Now that the code only throws OOME if necessary, describing the fact with the `@throws` tag. A CSR for that is also drafted.

Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:

  Limit arch to 64

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13131/files
  - new: https://git.openjdk.org/jdk/pull/13131/files/c58054d1..31bb9701

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13131&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13131&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/13131.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13131/head:pull/13131

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


More information about the nio-dev mailing list