On Mon, 25 Aug 2025 22:00:06 GMT, Chen Liang <[email protected]> wrote:
> Improve access flag reflection for preview on/off. > > In this process, I noted javac is incorrectly injecting ACC_IDENTITY to 69.0 > class' `InnerClasses` attribute and fixed that. > > There is still some inconsistency, such as implying ACC_IDENTITY when preview > is on for classes. Don't know if we have discussed on this yet. > > No new test failures. test/langtools/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerAnnotationTest.java line 29: > 27: * @summary Testing InnerClasses_attribute of inner annotations in inner > annotation. > 28: * @library /tools/lib /tools/javac/lib ../lib > 29: * @enablePreview I think you should update the copyrights in these files. ------------- PR Review Comment: https://git.openjdk.org/valhalla/pull/1533#discussion_r2308570640
