< prev index next >

hotspot/src/os/aix/vm/os_aix.cpp

Print this page

        

@@ -545,17 +545,13 @@
     Arguments::set_dll_dir(buf);
 
     if (pslash != NULL) {
       pslash = strrchr(buf, '/');
       if (pslash != NULL) {
-        *pslash = '\0';          // Get rid of /<arch>.
-        pslash = strrchr(buf, '/');
-        if (pslash != NULL) {
           *pslash = '\0';        // Get rid of /lib.
         }
       }
-    }
     Arguments::set_java_home(buf);
     set_boot_path('/', ':');
   }
 
   // Where to look for native libraries.
< prev index next >