[lworld] Integrated: 8331154: [lworld] javac is not adding the STRICT flag to final instance fields of value records
Vicente Romero
vromero at openjdk.org
Fri Apr 26 03:46:06 UTC 2024
The compiler has an internal STRICT flag that was clashing with another flag used in record fields. Due to this clash the internal STRICT flag was being interpreted as another flag. The fix here is to select another bit position for the STRICT flag avoiding the clash. There was also another issue with locals captured by anonymous classes for which the STRICT flag was not being generated. This issue has been fixed as part of this PR too.
-------------
Commit messages:
- 8331154: [lworld] javac is not adding the STRICT flag to final instance fields of value records
Changes: https://git.openjdk.org/valhalla/pull/1083/files
Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1083&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8331154
Stats: 10 lines in 2 files changed: 1 ins; 4 del; 5 mod
Patch: https://git.openjdk.org/valhalla/pull/1083.diff
Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1083/head:pull/1083
PR: https://git.openjdk.org/valhalla/pull/1083
More information about the valhalla-dev
mailing list