< prev index next >
jdk/src/java.base/unix/classes/java/lang/ProcessImpl.java
Print this page
*** 107,123 ****
@SuppressWarnings("fallthrough")
private String helperPath(String javahome, String osArch) {
switch (this) {
case SOLARIS:
- if (osArch.equals("x86")) { osArch = "i386"; }
- else if (osArch.equals("x86_64")) { osArch = "amd64"; }
// fall through...
case LINUX:
case AIX:
- return javahome + "/lib/" + osArch + "/jspawnhelper";
-
case BSD:
return javahome + "/lib/jspawnhelper";
default:
throw new AssertionError("Unsupported platform: " + this);
--- 107,119 ----
< prev index next >