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.

Thanks for the review Matias.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1723#issuecomment-3513702390

Reply via email to