aboutsummaryrefslogtreecommitdiff
path: root/test/com/sun/jdi/ExclusiveBind.java
diff options
context:
space:
mode:
authorksrini <none@none>2013-09-27 16:29:44 -0700
committerksrini <none@none>2013-09-27 16:29:44 -0700
commite9d8ca60e4860c0b84fd6b23da50530ad8a1ff0a (patch)
tree6404b0365fdaae6c0f50d43b06d089f85e14be8c /test/com/sun/jdi/ExclusiveBind.java
parent7331e26a2680589e6c4062eda09b51577e736bc3 (diff)
downloadjdk8u_jdk-e9d8ca60e4860c0b84fd6b23da50530ad8a1ff0a.tar.gz
8020552: [launcher] changes to support removal of Solaris 32-bit distribution
8023495: [infra] create 64-bit solaris bits with symlinks Reviewed-by: ihse, tbell, dholmes, darcy, alanb, erikj, sla, martin
Diffstat (limited to 'test/com/sun/jdi/ExclusiveBind.java')
-rw-r--r--test/com/sun/jdi/ExclusiveBind.java13
1 files changed, 2 insertions, 11 deletions
diff --git a/test/com/sun/jdi/ExclusiveBind.java b/test/com/sun/jdi/ExclusiveBind.java
index 159a7cddb6..3389ee220f 100644
--- a/test/com/sun/jdi/ExclusiveBind.java
+++ b/test/com/sun/jdi/ExclusiveBind.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -97,16 +97,7 @@ public class ExclusiveBind {
*/
private static Process launch(String address, boolean suspend, String class_name) throws IOException {
String exe = System.getProperty("java.home") + File.separator + "bin" +
- File.separator;
- String arch = System.getProperty("os.arch");
- String osname = System.getProperty("os.name");
- if (osname.equals("SunOS") && arch.equals("sparcv9")) {
- exe += "sparcv9/java";
- } else if (osname.equals("SunOS") && arch.equals("amd64")) {
- exe += "amd64/java";
- } else {
- exe += "java";
- }
+ File.separator + "java";
String cmd = exe + " " + VMConnection.getDebuggeeVMOptions() +
" -agentlib:jdwp=transport=dt_socket,server=y,suspend=";
if (suspend) {