[crac] RFR: Get tracing properties lazily
Anton Kozlov
akozlov at openjdk.java.net
Fri Jan 28 16:17:57 UTC 2022
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.
-------------
Commit messages:
- Get tracing properties lazily
Changes: https://git.openjdk.java.net/crac/pull/12/files
Webrev: https://webrevs.openjdk.java.net/?repo=crac&pr=12&range=00
Stats: 86 lines in 3 files changed: 60 ins; 16 del; 10 mod
Patch: https://git.openjdk.java.net/crac/pull/12.diff
Fetch: git fetch https://git.openjdk.java.net/crac pull/12/head:pull/12
PR: https://git.openjdk.java.net/crac/pull/12
More information about the crac-dev
mailing list