-
Sub-task
-
Resolution: Delivered
-
P4
-
23
-
generic
-
generic
The `java.nio.file.WatchService` implementations buffer up to a maximum number of events before discarding events and then queuing the `OVERFLOW` event. A new system property, `jdk.nio.file.WatchService.maxEventsPerPoll`, has been added to allow someone to specify the maximum number of pending events which may be enqueued before an `OVERFLOW` event is emitted. The value of this property must be a positive integer.