RFR: 8171508: Remove -Dsun.java.launcher.is_altjvm option [v2]
Calvin Cheung
ccheung at openjdk.org
Thu Apr 3 22:39:07 UTC 2025
On Thu, 3 Apr 2025 07:20:34 GMT, David Holmes <dholmes at openjdk.org> wrote:
> This issue should be renamed "Remove -Dsun.java.launcher.is_altjvm option". That requires a CSR request to be filed.
>
I filed a draft CSR [JDK-8353678](https://bugs.openjdk.org/browse/JDK-8353678).
> src/hotspot/os/linux/os_linux.cpp line 2778:
>
>> 2776: char* java_home_var = ::getenv("JAVA_HOME");
>> 2777: if (java_home_var != nullptr && java_home_var[0] != 0) {
>> 2778: char* jrelib_p;
>
> Please remove jre from the name - there is no need to mention jre at all here.
Fixed.
Also removed the `-Dsun.java.launcher.is_altjvm=true` option from `gtestMain.cpp`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24310#issuecomment-2777145342
PR Review Comment: https://git.openjdk.org/jdk/pull/24310#discussion_r2027837506
More information about the hotspot-runtime-dev
mailing list