RFR: 8266320: (bf) ReadOnlyBufferException in heap buffer put(String, int, int) should not be conditional
Brian Burkhalter
bpb at openjdk.java.net
Fri Apr 30 15:07:53 UTC 2021
On Fri, 30 Apr 2021 07:20:44 GMT, Philippe Marschall <github.com+471021+marschall at openjdk.org> wrote:
> 8266320: (bf) ReadOnlyBufferException in heap buffer put(String,int,int) should not be conditional
The more recent copyright year needs to be 2021 in all files changed. `Basic$Type$.java` will need to be generated from `Basic-X.java.template` using `genBasic.sh`; these files are not automatically generated.
test/jdk/java/nio/Buffer/Basic-X.java.template line 1006:
> 1004: catchReadOnlyBuffer(b, () -> rb.append(new String(new char[rb.remaining() + 1])));
> 1005:
> 1006: // 8266320
The bug ID should be deleted here and appended to the list of bug IDs in Basic.java.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3809
More information about the nio-dev
mailing list