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

These tests do not work with CYGWIN: java/lang

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • other-libs
    • None
    • b81
    • generic
    • generic

      --------------------------------------------------
      TEST: java/lang/System/finalization/FinExit.java
      JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1


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

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.031 seconds
      messages:
      command: compile C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\java\lang\System\finalization\FinExit.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.031
      direct:
      Note: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\java\lang\System\finalization\FinExit.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.

      ACTION: shell -- Failed. Execution failed: exit code 1
      REASON: User specified action: run shell FinExit.sh
      TIME: 0.25 seconds
      messages:
      command: shell FinExit.sh []
      reason: User specified action: run shell FinExit.sh
      elapsed time (seconds): 0.25
      STDOUT:
      1
      On-exit finalizer invoked twice
      STDERR:

      TEST RESULT: Failed. Execution failed: exit code 1
      --------------------------------------------------
      --------------------------------------------------
      TEST: java/lang/StringCoding/CheckEncodings.sh
      JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1


      ACTION: shell -- Failed. Execution failed: exit code 1
      REASON: User specified action: run shell/timeout=300 CheckEncodings.sh
      TIME: 0.141 seconds
      messages:
      command: shell CheckEncodings.sh []
      reason: User specified action: run shell/timeout=300 CheckEncodings.sh
      elapsed time (seconds): 0.141
      STDOUT:
      Unrecognized system!
      STDERR:

      TEST RESULT: Failed. Execution failed: exit code 1
      --------------------------------------------------
      --------------------------------------------------
      TEST: java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh
      JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1


      ACTION: shell -- Failed. Execution failed: exit code 127
      REASON: User specified action: run shell/timeout=10 TestOneWayDelegate.sh
      TIME: 0.156 seconds
      messages:
      command: shell TestOneWayDelegate.sh []
      reason: User specified action: run shell/timeout=10 TestOneWayDelegate.sh
      elapsed time (seconds): 0.156
      STDOUT:
      TESTSRC=C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/test/java/lang/ClassLoader/deadlock
      TESTCLASSES=C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/build/windows-i586/testoutput/jdk_lang/JTwork/classes/java/lang/ClassLoader/deadlock
      TESTJAVA=C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/build/WINDOW~1/J2SDK-~1

      STDERR:
      /home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh: line 65: C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/build/WINDOW~1/J2SDK-~1binjavac: No such file or directory

      TEST RESULT: Failed. Execution failed: exit code 127
      --------------------------------------------------
      --------------------------------------------------
      TEST: java/lang/annotation/loaderLeak/Main.java
      JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1


      ACTION: shell -- Failed. Execution failed: exit code 1
      REASON: User specified action: run shell LoaderLeak.sh
      TIME: 0.141 seconds
      messages:
      command: shell LoaderLeak.sh []
      reason: User specified action: run shell LoaderLeak.sh
      elapsed time (seconds): 0.141
      STDOUT:
      TESTSRC=C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/test/java/lang/annotation/loaderLeak
      TESTJAVA=C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/build/WINDOW~1/J2SDK-~1
      TESTCLASSES=C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/build/windows-i586/testoutput/jdk_lang/JTwork/classes/java/lang/annotation/loaderLeak
      CLASSPATH=
      Unrecognized system!
      STDERR:

      TEST RESULT: Failed. Execution failed: exit code 1
      --------------------------------------------------
      These tests do not work in a Windows XP CYGWIN 32bit environment, it is assumed the key issue is CYGWIN and the same fixes will solve it for all Windows and both 32bit and 64bit.

      There may be other *.sh tests that have similar issues but have been excluded from running for other reasons, so all *.sh tests should be checked. Expectation is that the same fix may apply to all of them. Some teams may choose to take the opportunity to rewrite the test in java.

      These tests will be added to the jdk/test/ProblemList.txt file.

      Most fail with the pattern "Unrecognized system!".

      FAILED: java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh
      FAILED: java/lang/StringCoding/CheckEncodings.sh
      FAILED: java/lang/System/finalization/FinExit.java
      FAILED: java/lang/annotation/loaderLeak/Main.java

            ohair Kelly Ohair (Inactive)
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: