[lworld] RFR: 8364095: [lworld] AccessFlags location and release need futher work for Valhalla (IDENTITY and SUPER)

Coleen Phillimore coleenp at openjdk.org
Thu Aug 28 21:18:00 UTC 2025


On Mon, 25 Aug 2025 22:00:06 GMT, Chen Liang <liach at openjdk.org> 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


More information about the valhalla-dev mailing list