[lworld] RFR: 8370886: [lworld] 8369296 partially reverted for resolving static get/put field
Matias Saavedra Silva
matsaave at openjdk.org
Mon Nov 10 18:30:16 UTC 2025
On Wed, 5 Nov 2025 20:48:08 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Reordered the conditionals so that unresolved static final fields do not have their resolution set during <clinit> so that their strictness can be validated (write before read, no write after read).
>
> This should work with JDK-[8334898](https://bugs.openjdk.org/browse/JDK-8334898) when merged because this change will not fill in the cpCache for statics if they're strict final statics:
>
> Tested with tier1-4 (in progress). Tested command line the cds test that failed and valhalla/inlinetypes tests.
LGTM!
-------------
Marked as reviewed by matsaave (Committer).
PR Review: https://git.openjdk.org/valhalla/pull/1723#pullrequestreview-3444590565
More information about the valhalla-dev
mailing list