[lworld] Integrated: 8370886: [lworld] 8369296 partially reverted for resolving static get/put field

Coleen Phillimore coleenp at openjdk.org
Mon Nov 10 20:08:10 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.

This pull request has now been integrated.

Changeset: a680c717
Author:    Coleen Phillimore <coleenp at openjdk.org>
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


More information about the valhalla-dev mailing list