On Mon, 6 Feb 2023 14:13:36 GMT, Adam Sotona <asot...@openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/classfile/BufWriter.java line 40:
>> 
>>> 38:  * to the end of the buffer, as well as to create constant pool entries.
>>> 39:  */
>>> 40: public sealed interface BufWriter
>> 
>> What is the relationship between this and ClassReader? Is one the dual of 
>> the other - e.g. is the intended use for BufWriter to write custom 
>> attributes, whereas ClassReader reads custom attributes?
>
> Yes, it is an exposure of low-level API to support custom attributes.

I see this topic has moved to classfile-api-dev mailing list.

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

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

Reply via email to