[crac] RFR: Get tracing properties lazily

Dan Heidinga heidinga at openjdk.java.net
Fri Jan 28 17:09:33 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.

looks reasonable to me

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

Marked as reviewed by heidinga (Committer).

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


More information about the crac-dev mailing list