On Wed, 5 Nov 2025 20:48:08 GMT, Coleen Phillimore <[email protected]> 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. This pull request has now been integrated. Changeset: a680c717 Author: Coleen Phillimore <[email protected]> URL: https://git.openjdk.org/valhalla/commit/a680c717f3204d2f878944b724c4a78560e4f913 Stats: 13 lines in 1 file changed: 6 ins; 6 del; 1 mod 8370886: [lworld] 8369296 partially reverted for resolving static get/put field Reviewed-by: matsaave ------------- PR: https://git.openjdk.org/valhalla/pull/1723
