On Fri, 30 Jun 2023 14:43:36 GMT, Chen Liang <li...@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.

This pull request has now been integrated.

Changeset: 414a7fdc
Author:    Chen Liang <li...@openjdk.org>
Committer: Adam Sotona <asot...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/414a7fdc5e4aae4cec25b0847bb7c163f271b4e0
Stats:     11 lines in 4 files changed: 0 ins; 7 del; 4 mod

8311175: Move BufWriter::asByteBuffer to BufWriterImpl

Reviewed-by: asotona

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

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

Reply via email to