[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


On Fri, 26 Apr 2024 03:37:55 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 0f95abd9
Author:    Vicente Romero <vromero at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/0f95abd97528d6013c4c223aa39ff8721f3941bc
Stats:     10 lines in 2 files changed: 1 ins; 4 del; 5 mod

8331154: [lworld] javac is not adding the STRICT flag to final instance fields of value records

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

PR: https://git.openjdk.org/valhalla/pull/1083



More information about the valhalla-dev mailing list