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

TEST_BUG: test/java/io/File/Basic.java fails with cygwin

XMLWordPrintable

    • b52
    • generic
    • generic, windows_2008
    • Verified

        Here's an example:

        --------------------------------------------------
        TEST: java/io/File/Basic.java
        JDK under test: (C:\temp\jprt\P2\234116~1.MCH\TESTPR~1\WINDOW~1.1-P)
        java version "1.8.0-internal"
        Java(TM) SE Runtime Environment (build 1.8.0-internal-201108082341.mchung.jdk8-tl-repos-b00)
        Java HotSpot(TM) Client VM (build 22.0-b01, mixed mode, sharing)


        ACTION: build -- Passed. Build successful
        REASON: User specified action: run build Basic
        TIME: 0.047 seconds
        messages:
        command: build Basic
        reason: User specified action: run build Basic
        elapsed time (seconds): 0.047

        ACTION: compile -- Passed. Compilation successful
        REASON: .class file out of date or does not exist
        TIME: 0.047 seconds
        messages:
        command: compile C:\temp\jprt\P2\234116.mchung\source\jdk\test\java\io\File\Basic.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.047

        ACTION: shell -- Failed. Execution failed: exit code 1
        REASON: User specified action: run shell basic.sh
        TIME: 0.75 seconds
        messages:
        command: shell basic.sh []
        reason: User specified action: run shell basic.sh
        elapsed time (seconds): 0.75
        STDOUT:
        STDERR:
        x.Basic.non:
          exists: false
          isFile: false
          isDirectory: false
          canRead: false
          canWrite: false
          lastModified: 0
          length: 0
        x.Basic.rw:
          exists: true
          isFile: true
          isDirectory: false
          canRead: true
          canWrite: true
          lastModified: 1312865717928
          length: 6
        x.Basic.ro:
          exists: true
          isFile: true
          isDirectory: false
          canRead: true
          canWrite: true
          lastModified: 1312865735921
          length: 0
        Exception in thread "main" java.lang.Exception: x.Basic.ro is writeable
        at Basic.fail(Basic.java:83)
        at Basic.testFile(Basic.java:77)
        at Basic.main(Basic.java:98)

        TEST RESULT: Failed. Execution failed: exit code 1
        --------------------------------------------------

              ewang Eric Wang (Inactive)
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: