RFR: JDK-8180202: -XXaltjvm is not working anymore on MacOSX
Kumar Srinivasan
kumar.x.srinivasan at oracle.com
Sun May 14 23:54:35 UTC 2017
Hi David,
Please review simple fix for JDK-8180202, recall we hard coded "server",
this is incorrect because the function CheckJvmType will determin
the correct jvmtype based on jvm.cfg *or* path/jvmtype specified by
-XXaltjvm. IMO all this needs to be cleaned up when jvm.cfg is removed.
Thanks
Kumar
PS: please also approve the removal of the test from the internal
ProblemList.txt
diff in the JBS issue.
diff --git a/src/java.base/macosx/native/libjli/java_md_macosx.c
b/src/java.base/macosx/native/libjli/java_md_macosx.c
--- a/src/java.base/macosx/native/libjli/java_md_macosx.c
+++ b/src/java.base/macosx/native/libjli/java_md_macosx.c
@@ -424,7 +424,7 @@
* macosx client library is built thin, i386 only.
* 64 bit client requests must load server library
*/
- JLI_Snprintf(jvmpath, jvmpathsize, "%s/lib/server/" JVM_DLL,
jrepath);
+ JLI_Snprintf(jvmpath, jvmpathsize, "%s/lib/%s/" JVM_DLL,
jrepath, jvmtype);
}
JLI_TraceLauncher("Does `%s' exist ... ", jvmpath);
More information about the core-libs-dev
mailing list