On Thu, 29 Jun 2023 09:59:08 GMT, Chen Liang <li...@openjdk.org> wrote:
> `LocalVariable` and `LocalVariableType` includes `writeTo(BufWriter)`, which > should be implementation details. > > See > https://mail.openjdk.org/pipermail/classfile-api-dev/2023-June/000381.html > for context. > > This patch moves the implementation to `DirectCodeBuilder`'s original use > sites; the old `b.canWriteDirect` branch is redundant, as `writeIndex`'s > implementation already performs such an optimization. This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/jdk/pull/14705