[lworld] RFR: 8349945: Implement strict static fields (proposed JVM feature) [v3]
Matias Saavedra Silva
matsaave at openjdk.org
Thu May 29 17:05:04 UTC 2025
On Fri, 23 May 2025 20:26:57 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
>> This patch enables and implements verification for fields with the ACC_STATIC and ACC_STRICT modifiers. To enforce strictness on static fields, the reads and writes on the field are tracked dynamically to ensure that the field is written before being read and written to before.
>
> Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
>
> Chen and Dan comments and cleanup
A subtle change got swept up in the merge: `StrictStaticFieldsTest.java` remains problem listed but is now associated with the bug [JDK-8357141](https://bugs.openjdk.org/browse/JDK-8357141)
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/1465#issuecomment-2920019999
More information about the valhalla-dev
mailing list