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

"ant test" fails to complete on Windows when run under cygwin shell

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Environment:

      Windows, Cygwin

    • Subcomponent:
    • Resolved In Build:
      b72
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        "ant test" passes fine when run under Windows "cmd" shell. But it fails to run within cygwin "bash" shell. This issue is due to tests that use $EXEC fail to run. $EXEC implementation sets current directory for the spawned process from "PWD" environment variable. Cygwin passes cygwin style path like /cygdrive/d... for PWD. If "exists" check is added before setting current directory for the spawned process, $EXEC will work fine on Cygwin.

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/9e67dbba8c3b
          User: sundar
          Date: 2015-07-02 13:32:41 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/9e67dbba8c3b User: sundar Date: 2015-07-02 13:32:41 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/nashorn/rev/9e67dbba8c3b
          User: lana
          Date: 2015-07-08 22:17:30 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/nashorn/rev/9e67dbba8c3b User: lana Date: 2015-07-08 22:17:30 +0000

            People

            • Assignee:
              sundar Sundararajan Athijegannathan
              Reporter:
              sundar Sundararajan Athijegannathan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: