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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 7u60
    • 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.

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

                Created:
                Updated:
                Resolved: