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

[TEST_BUG] Consistent failure on Unity of WarningWindowDisposeTest.java

    XMLWordPrintable

    Details

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

      Ubuntu Unity

    • Subcomponent:
    • Resolved In Build:
      b143
    • OS:
      linux_ubuntu

      Description

      Run this test (java/awt/security/WarningWindowDisposeTest/WarningWindowDisposeTest.java) on Ubuntu Unity with some build of JDK9 before b129 or after a PIT build for b141 (including). (Builds b130 -- b140 have a bug JDK-8162102).

      The test fails consistently for me with java.lang.RuntimeException: Test FAILED! The child process never exits

      It is a test bug, in my opinion. A waiting TimeoutThread sleeps for some time and then checks the status of an AtomicBoolean; if we make that sleep time twice as big, the value of that AtomicBoolean is always true and the test pass. Visually, a warning window disappears properly, too.

        Attachments

          Activity

            People

            Assignee:
            arapte Ambarish Rapte
            Reporter:
            yan Yuri Nesterenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: