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

WatchService delay with PollingWatchService causes test failures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 17, 19, 20
    • core-libs
    • None
    • generic
    • aix

    Description

      Observed on AIX, but possible with any platform that uses the PollingWatchService implementation.

      A failing compliance test highlighted issues in the PollingWatchService implementation of the WatchService API. The test was failing due to timeout after 10s. The root of the cause was found to be a delay between when the polling thread was created for a WatchKey, and when it began polling for changes. JDK-8285956 reduced this delay, however some tests continued to fail due to timeout.

      Attachments

        Issue Links

          Activity

            People

              tsteele Tyler Steele
              tsteele Tyler Steele
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: