RFR: 8171508: Remove -Dsun.java.launcher.is_altjvm option [v4]

Calvin Cheung ccheung at openjdk.org
Sun Apr 6 23:55:01 UTC 2025


> This change fixes two issues in `os::jvm_path()`:
> 
> - go back 4 instead of 5 slashes and then checking for "/jre/lib";
> - fix the hardcoded "hotspot" sub-directory before the jvm library name.
> 
> Passed tiers 1 - 3 testing.

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  fix issues related to JAVA_HOME and gtest

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24310/files
  - new: https://git.openjdk.org/jdk/pull/24310/files/33a7ad26..2de1d3a6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24310&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24310&range=02-03

  Stats: 178 lines in 6 files changed: 69 ins; 47 del; 62 mod
  Patch: https://git.openjdk.org/jdk/pull/24310.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24310/head:pull/24310

PR: https://git.openjdk.org/jdk/pull/24310


More information about the hotspot-runtime-dev mailing list