RFR: 8344419: Use StaticProperty in some JDK classes
Alan Bateman
alanb at openjdk.org
Mon Nov 25 15:07:14 UTC 2024
On Mon, 18 Nov 2024 17:52:04 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> This PR proposes to use `StaticProperty.javaHome()` instead of `System.getPropoerty("java.home")` in some internal classes.
Marked as reviewed by alanb (Reviewer).
Updated change looks okay. The CDS method is only invoked at dump time so probably not much benefit but change is okay.
-------------
PR Review: https://git.openjdk.org/jdk/pull/22214#pullrequestreview-2458707910
PR Comment: https://git.openjdk.org/jdk/pull/22214#issuecomment-2498270263
More information about the core-libs-dev
mailing list