-
Bug
-
Resolution: Fixed
-
P4
-
6u4, 7
-
b20
-
generic, x86
-
generic
The following test:
sun/tools/jhat/HatHeapDump1Test.java
uses wrong path in Runtime.exec(). For AMD 64 platform, it uses paths like
C:\\local\\common\\jdk\\baseline\\windows-amd64\\jre\\bin\\amd64\\java
(or)
/export/local/common/jdk/baseline/linux-amd64/jre/bin/amd64/java
depending on the OS. The extra "amd64" in above paths is wrong. The correct paths are
C:\\local\\common\\jdk\\baseline\\windows-amd64\\jre\\bin\\java
(or)
/export/local/common/jdk/baseline/linux-amd64/jre/bin/java.
Because of this the test throws java.lang.RuntimeException: Test failed - exec got IO exception.
sun/tools/jhat/HatHeapDump1Test.java
uses wrong path in Runtime.exec(). For AMD 64 platform, it uses paths like
C:\\local\\common\\jdk\\baseline\\windows-amd64\\jre\\bin\\amd64\\java
(or)
/export/local/common/jdk/baseline/linux-amd64/jre/bin/amd64/java
depending on the OS. The extra "amd64" in above paths is wrong. The correct paths are
C:\\local\\common\\jdk\\baseline\\windows-amd64\\jre\\bin\\java
(or)
/export/local/common/jdk/baseline/linux-amd64/jre/bin/java.
Because of this the test throws java.lang.RuntimeException: Test failed - exec got IO exception.