RFR: 8294982: Implementation of Classfile API [v12]
Adam Sotona
asotona at openjdk.org
Fri Feb 10 11:01:58 UTC 2023
On Mon, 6 Feb 2023 14:13:36 GMT, Adam Sotona <asotona at 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
More information about the build-dev
mailing list