On Fri, 19 Jul 2024 01:55:57 GMT, Chen Liang <li...@openjdk.org> wrote:

> `TypeAnnotation` is not an annotation, as it should not be used in places 
> like `AnnotationValue.ofAnnotation`. Thus it's remodeled to contain an 
> annotation at a given location instead of to be an annotation.
> 
> Depends on #20205.

src/java.base/share/classes/jdk/internal/classfile/impl/AnnotationReader.java 
line 302:

> 300:     }
> 301: 
> 302:     public static void writeTypeAnnotation(BufWriterImpl buf, 
> TypeAnnotation ta) {

Is there any reason to move writeTypeAnnotation from UnboundAttribute?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20247#discussion_r1684390757

Reply via email to