(fs) Path.register doesn't throw IllegalArgumentException if multiple OVERFLOW events are specified

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 9
    • Affects Version/s: 7u60
    • Component/s: core-libs
    • None
    • b13

        The code doesn't handle some types of invalid input:

        For example: path.register(watcher, OVERFLOW, OVERFLOW) does not throw the exception, and instead makes sun.nio.fs.LinuxWatchService$Poller to fail.

              Assignee:
              Ivan Gerasimov
              Reporter:
              Ivan Gerasimov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: