hotspot/src/os/solaris/vm/os_solaris.cpp
changeset 8478 d89e2f60ba40
parent 8330 5f6046a69677
parent 8476 7e34c2d4cf9b
child 9341 347fa5cdbd39
--- a/hotspot/src/os/solaris/vm/os_solaris.cpp	Fri Feb 25 12:46:49 2011 -0800
+++ b/hotspot/src/os/solaris/vm/os_solaris.cpp	Mon Feb 28 15:35:45 2011 -0800
@@ -2511,7 +2511,7 @@
   assert(ret != 0, "cannot locate libjvm");
   realpath((char *)dlinfo.dli_fname, buf);
 
-  if (strcmp(Arguments::sun_java_launcher(), "gamma") == 0) {
+  if (Arguments::created_by_gamma_launcher()) {
     // Support for the gamma launcher.  Typical value for buf is
     // "<JAVA_HOME>/jre/lib/<arch>/<vmtype>/libjvm.so".  If "/jre/lib/" appears at
     // the right place in the string, then assume we are installed in a JDK and