Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6545295

TEST BUG: The test HatHeapDump1Test uses wrong path in exec call.

XMLWordPrintable

    • 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.

            ykantser Yekaterina Kantserova (Inactive)
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: