RFR: 8344134: Use static property in SystemLookup

Alan Bateman alanb at openjdk.org
Mon Nov 18 14:10:44 UTC 2024


On Mon, 18 Nov 2024 12:40:43 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to use a static property already resolved instead of calling `System.getProperty()`.

This looks okay, makes it immune to crazy code that changes java.home.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22205#pullrequestreview-2442732099


More information about the core-libs-dev mailing list