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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • Windows, Cygwin

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: