On Tue, 23 Feb 2021 13:23:44 GMT, Andrey Turbanov <github.com+741251+turban...@openjdk.org> wrote:
> Avoid double-read non volatile static field This looks fine to me. I created the bug for this: https://bugs.openjdk.java.net/browse/JDK-8264032 -- please change the PR synopsis to "8264032: Improve thread safety of Runtime.version()". ------------- Marked as reviewed by shade (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/2691