< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/asm/Disassembler.java

Print this page
rev 59104 : imported patch serviceability

@@ -72,21 +72,10 @@
             } else {
                libname +=  "-" + arch;
             }
             path.append(sep + "bin" + sep);
             libname += ".dll";
-         } else if (os.lastIndexOf("SunOS", 0) != -1) {
-            if (arch.equals("x86") || arch.equals("i386")) {
-               path.append(sep + "lib" + sep + "i386" + sep);
-               libname +=  "-i386" + ".so";
-            } else if (arch.equals("amd64")) {
-               path.append(sep + "lib" + sep + "amd64" + sep);
-               libname +=  "-amd64" + ".so";
-            } else {
-               path.append(sep + "lib" + sep + arch + sep);
-               libname +=  "-" + arch + ".so";
-            }
          } else if (os.lastIndexOf("Linux", 0) != -1) {
             if (arch.equals("x86") || arch.equals("i386")) {
                path.append(sep + "lib" + sep + "i386" + sep);
                libname += "-i386.so";
             } else if (arch.equals("amd64") || arch.equals("x86_64")) {
< prev index next >