src/os/solaris/vm/os_solaris.cpp

changeset 2584
da091bb67459
parent 2507
d70fe6ab4436
child 2586
23ae54207126
     1.1 --- a/src/os/solaris/vm/os_solaris.cpp	Sat Feb 26 13:33:23 2011 -0500
     1.2 +++ b/src/os/solaris/vm/os_solaris.cpp	Mon Feb 28 14:19:52 2011 +0100
     1.3 @@ -2507,7 +2507,7 @@
     1.4    assert(ret != 0, "cannot locate libjvm");
     1.5    realpath((char *)dlinfo.dli_fname, buf);
     1.6  
     1.7 -  if (strcmp(Arguments::sun_java_launcher(), "gamma") == 0) {
     1.8 +  if (Arguments::created_by_gamma_launcher()) {
     1.9      // Support for the gamma launcher.  Typical value for buf is
    1.10      // "<JAVA_HOME>/jre/lib/<arch>/<vmtype>/libjvm.so".  If "/jre/lib/" appears at
    1.11      // the right place in the string, then assume we are installed in a JDK and

mercurial