On Mon, 2 Oct 2023 07:18:19 GMT, Adam Sotona <asot...@openjdk.org> wrote:
>> src/java.base/share/classes/java/lang/classfile/AnnotationElement.java line >> 34: >> >>> 32: import jdk.internal.javac.PreviewFeature; >>> 33: >>> 34: /** >> >> shouldn't we have the preview header applied to all these compilation units?: >> >> >> {@preview Associated with pattern matching for instanceof, a preview feature >> of the Java language. > > I'm not aware of preview javadoc tag, could you point me to an example? nvm, I was rechecking JEP 12, this javadoc should now be generated automatically so we are good ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15706#discussion_r1342825999