-
Bug
-
Resolution: Fixed
-
P2
-
6
-
None
-
b11
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2121291 | 5.0u2 | Vijayan Jayaraman | P2 | Resolved | Fixed | b03 |
There are large number of jdi/jdb failures on linux-amd64/windows-amd64
platforms. Jim reported in email with following problem.
The problem is this code added to the JDI SunCommandLineLauncher:
sccsdiff -r 1.31 -r 1.32 SCCS/s.SunCommandLineLauncher.java
------- SunCommandLineLauncher.java -------
183c183
< * 64-bit executables are stored under $JAVA_HOME/bin/sparcv9
---
>> * 64-bit executables are stored under $JAVA_HOME/bin/os_arch
186c186,187
< if ("sparcv9".equals(System.getProperty("os.arch"))) {
---
>> String os_arch = System.getProperty("os.arch");
>> if ("sparcv9".equals(os_arch) || "amd64".equals(os_arch)) {
188,189c189
< System.getProperty("os.arch") + File.separator +
< exe;
---
>> os_arch + File.separator + exe;
This causes the path jre/bin/amd64/java to be used for both
solaris and linux:
/*
* A wrinkle in the environment:
* 64-bit executables are stored under $JAVA_HOME/bin/os_arch
* 32-bit executables are stored under $JAVA_HOME/bin
*/
String os_arch = System.getProperty("os.arch");
if ("sparcv9".equals(os_arch) || "amd64".equals(os_arch)) {
exePath = home + File.separator + "bin" + File.separator +
os_arch + File.separator + exe;
} else {
exePath = home + File.separator + "bin" + File.separator + exe;
}
It should only be used for solaris.
Looks like Vijay did it:
/net/jdk.sfbay/export/disk7/jdk1.6.0/j2se/src/share/classes/com/sun/tools/jdi:149 sccs prt SunCommandLineLauncher.java
SCCS/s.SunCommandLineLauncher.java:
D 1.32 04/10/26 17:54:07 vijayj 38 37 00004/00004/00229
Fixed 6184708 Enable motif21 build for solaris-amd64.
###@###.### 11/1/04 19:55 GMT
platforms. Jim reported in email with following problem.
The problem is this code added to the JDI SunCommandLineLauncher:
sccsdiff -r 1.31 -r 1.32 SCCS/s.SunCommandLineLauncher.java
------- SunCommandLineLauncher.java -------
183c183
< * 64-bit executables are stored under $JAVA_HOME/bin/sparcv9
---
>> * 64-bit executables are stored under $JAVA_HOME/bin/os_arch
186c186,187
< if ("sparcv9".equals(System.getProperty("os.arch"))) {
---
>> String os_arch = System.getProperty("os.arch");
>> if ("sparcv9".equals(os_arch) || "amd64".equals(os_arch)) {
188,189c189
< System.getProperty("os.arch") + File.separator +
< exe;
---
>> os_arch + File.separator + exe;
This causes the path jre/bin/amd64/java to be used for both
solaris and linux:
/*
* A wrinkle in the environment:
* 64-bit executables are stored under $JAVA_HOME/bin/os_arch
* 32-bit executables are stored under $JAVA_HOME/bin
*/
String os_arch = System.getProperty("os.arch");
if ("sparcv9".equals(os_arch) || "amd64".equals(os_arch)) {
exePath = home + File.separator + "bin" + File.separator +
os_arch + File.separator + exe;
} else {
exePath = home + File.separator + "bin" + File.separator + exe;
}
It should only be used for solaris.
Looks like Vijay did it:
/net/jdk.sfbay/export/disk7/jdk1.6.0/j2se/src/share/classes/com/sun/tools/jdi:149 sccs prt SunCommandLineLauncher.java
SCCS/s.SunCommandLineLauncher.java:
D 1.32 04/10/26 17:54:07 vijayj 38 37 00004/00004/00229
Fixed 6184708 Enable motif21 build for solaris-amd64.
###@###.### 11/1/04 19:55 GMT
- backported by
-
JDK-2121291 JDI/JDB tests failures on linux-amd64/windows-amd64 platform
-
- Resolved
-