RFR: 8344134: Use static property in SystemLookup
Eirik Bjørsnøs
eirbjo at openjdk.org
Mon Nov 18 15:27:42 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()`.
Drive by observation: In java.base, there are four similar instances in `ImageReaderFactory.JAVA_HOME`, `SystemImage::findHome`, `CDS::dumpSharedArchive` and `DomainName::getPubSuffixStream`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22205#issuecomment-2483368727
More information about the core-libs-dev
mailing list