RFR: 8311175: Move BufWriter::asByteBuffer to BufWriterImpl
Chen Liang
liach at openjdk.org
Tue May 7 18:20:52 UTC 2024
On Tue, 7 May 2024 05:41:27 GMT, Adam Sotona <asotona at openjdk.org> wrote:
>> As discussed on the mailing list https://mail.openjdk.org/pipermail/classfile-api-dev/2023-June/000381.html, BufWriter::asByteBuffer has a behavior not suitable for API and is only used by internal StackMapGenerator/StackCounter, so it will be converted to an internal API.
>>
>> Somehow the ByteBuffer needs to be sliced, or StackMapGenerator encounters IOOBE. Not sure what the exact cause was.
>
> @liach Do you have any plans with this PR?
@asotona classfile tests pass, can you review this patch and its associated CSR?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14736#issuecomment-2099038162
More information about the core-libs-dev
mailing list