[crac] Integrated: Get tracing properties lazily

Anton Kozlov akozlov at openjdk.java.net
Mon Jan 31 09:29:48 UTC 2022


On Fri, 28 Jan 2022 16:11:13 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> A minor change to make tracing flags lazily initialized.
> 
> Without this, reading j.l.System's properties during jdk.crac.Core initialization could lead to NPE if happens too early, i.e. before j.l.System's properties are initialized.

This pull request has now been integrated.

Changeset: 51e564a5
Author:    Anton Kozlov <akozlov at openjdk.org>
URL:       https://git.openjdk.java.net/crac/commit/51e564a58cbdbf593f61fbbc8eb4adbb5cd19737
Stats:     86 lines in 3 files changed: 60 ins; 16 del; 10 mod

Get tracing properties lazily

Reviewed-by: heidinga

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

PR: https://git.openjdk.java.net/crac/pull/12


More information about the crac-dev mailing list