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

TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java fails again [mac]

XMLWordPrintable

    • b66
    • Verified


        Daniel Fuchs reports that with the changes for JDK-8003253 then this test now fails intermittently on Mac. This was not observed prior to pushing the changes, also does not duplicate in JPRT or TL nightly testing.

        The issue is that listener.close causes the listener to be closed asynchronously and its completion handler is setting failed to true for that case. This creates a race as the main thread may or may not see the new value of "failure". Easy fix.

              alanb Alan Bateman
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: