Integrated: 8261404: Class.getReflectionFactory() is not thread-safe

liach duke at openjdk.java.net
Fri Dec 17 22:26:27 UTC 2021


On Thu, 16 Dec 2021 21:04:58 GMT, liach <duke at openjdk.java.net> wrote:

> Simply changes this to only read the static field once to prevent `null` on second read.

This pull request has now been integrated.

Changeset: 905b7639
Author:    liach <liach at users.noreply.github.com>
Committer: Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/905b7639424a0fa80f81f734f6fdae1b5018a14a
Stats:     7 lines in 1 file changed: 2 ins; 1 del; 4 mod

8261404: Class.getReflectionFactory() is not thread-safe

Reviewed-by: rriggs, mchung

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

PR: https://git.openjdk.java.net/jdk/pull/6870


More information about the core-libs-dev mailing list