ClassReader and BufWriter

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Feb 9 14:37:03 UTC 2023


On 09/02/2023 14:28, Maurizio Cimadamore wrote:
> Sure, but DirectClassBuilder is an implementation class. I'm talking 
> about API usages here. It seems to me that BufWriter is an 
> implementation abstraction that "happens" to implement the interface 
> for attribute writing (which is the only place where the user needs to 
> write things by hand). 

I stand corrected - there's more usages:

https://htmlpreview.github.io/?https://raw.githubusercontent.com/openjdk/jdk-sandbox/classfile-api-javadoc-branch/doc/classfile-api/javadoc/java.base/jdk/internal/classfile/class-use/BufWriter.html

That said, I'm unsure as to what these usages refer to (my IDE shows no 
usages).

Maurizio



More information about the classfile-api-dev mailing list