RFR: 8293067: (fs) Implement WatchService using system library (macOS)

Michael Hall mik3hall at gmail.com
Fri Feb 3 14:37:42 UTC 2023



> On Feb 3, 2023, at 5:53 AM, Maxim Kartashev <mkartashev at openjdk.org> wrote:
> 
> On Thu, 2 Feb 2023 15:33:40 GMT, Michael Hall <mik3hall at gmail.com> wrote:
> 
>> Is there any chance this will be made available in some other way?
> 
> [JetBrains Runtime](https://github.com/JetBrains/JetBrainsRuntime) has FSEvents-based implementation of WatchService on macOS.
> 
> -------------
> 
> PR: https://git.openjdk.org/jdk/pull/10140

Thanks,
I have code that mostly passes through to the default OS/X file system provider but includes some extensions to expose some of the OS/X native api’s. 
Not getting a lot of use I know of, but I run some other code off of it myself.
It lacks a WatchService ,my own attempt at a kqueue one for that coming up short.
So no actual native WatchService, which seemed a shame. 
I may try to make use of yours.


More information about the nio-dev mailing list