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

[TEST_BUG] fix failed for JDK-8005028: fix failed for JDK-8001391: Test for multiscreen mon fails on NOTmultiscreen system

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0u51
    • None
    • client-libs
    • None
    • b02
    • b01
    • generic
    • generic
    • Verified

      test java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java still failed on nonmultiscreen system, bu with new log now:

      the log is:
      c:\>C:\jdk\jdk1.8.0b67\bin\java -jar K:\regression\tools\jtreg_latest\lib\jtreg.jar -v -testjdk C:\jdk\jdk1.5.0_39b02 K:\regression\workspaces\150\1.5.0_39b02\j2se\test\java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java
      Directory "JTreport" not found: creating
      Directory "JTwork" not found: creating
      Directory "JTwork\scratch" not found: creating
      runner starting test: java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java
      runner finished test: java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java
      Failed. Unexpected exit from test [exit code: 0]
      Test results: failed: 1
      Report written to C:\JTreport\html\report.html
      Results written to C:\JTwork
      Error: Some tests failed or other problems occurred.


      As you see, JTREG thinks that exit code 0 is also an error. You should not use System.exit(0) in JTREG main tests. Write a shell wrapper for this test.

            robm Robert Mckenna
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: