On Sun, 19 Feb 2023 18:41:18 GMT, liach <d...@openjdk.org> wrote: > 8302822: Method/Field/Constructor/RecordComponent::getGenericInfo() is not > thread safe
The field needs to be volatile for these construction races to be thread-safe, otherwise no guarantee that seeing a non-null genericInfo will mean you see any writes done by the factory methods. ------------- PR: https://git.openjdk.org/jdk/pull/12643