Any native WatchService implementation planned on Mac OS X for JDK9?

Christopher Brown christopherbrown06 at gmail.com
Fri Aug 8 06:43:27 UTC 2014


Hello,

First of all, I've just subscribed to the list and I hope this is the
correct place (if not, please advise, I tried to pick the most suitable one
from http://mail.openjdk.java.net/mailman/listinfo based on list title...).

Following on from this message:
https://www.mail-archive.com/macosx-port-dev@openjdk.java.net/msg00103.html

(on a list which is apparently no longer active as the Mac OS X "port"
project is complete and Mac OS X development is now "just one supported
platform among many")

...I am trying to find out if any native WatchService implementation
planned on Mac OS X for JDK9, and if I can help test?

I have an application that runs on Linux, Windows, and Mac OS X with many
unit tests that are dependent on file watching events.  It runs fine on
Linux and Windows, but on Mac OS X using the WatchService hardly a viable
option (I have applied the com.sun.nio.file.SensitivityWatchEventModifier
option suggested by Alan Bateman, which could be used in production on Mac
OS X despite being resource-hungry); in unit tests, they slow down to a
crawl due to the polling interval.

The application used historically TeamDev's JXFileWatcher, but it's not
sufficiently stable under load (in their 1.3 release, a heavy load causes
it to just stop creating events at an arbitrary moment, usually quite
quickly, and their 1.4 release seems to send events at the wrong time and
miss some events).

Thanks in advance for any information on this, or advice as to where I can
enquire.  As this solution would be very useful to our application, I am
more than willing to help test.

Thanks,
Christopher Brown


More information about the jdk9-dev mailing list