[Bug 290447] [Feature Request] OpenJDK: kqueue implementation of WatchService

[email protected]
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290447

Ronald Klop <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Ronald Klop <[email protected]> ---
(In reply to Mark Linimon from comment #3)
It is about an implementation of an interface in the OpenJDK port.

https://docs.oracle.com/javase/8/docs/api/index.html?java/nio/file/WatchService.html

You can retrieve this by calling:
https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#newWatchService--

There is also a comment about this feature wish in the source code:
https://github.com/freebsd/openjdk/blob/53641783b3cb7a6c0347ad7d595a8d12f2347986/src/java.base/bsd/classes/sun/nio/fs/BsdFileSystem.java#L47

I think the issue is best assigned to java@.

NB: Now that FreeBSD 15 has an inotify API, maybe the Linux implementation can
be considered as quick fix. Of course this is pure speculation from my side and
the details might be more complicated.
https://github.com/freebsd/openjdk/blob/53641783b3cb7a6c0347ad7d595a8d12f2347986/src/java.base/linux/classes/sun/nio/fs/LinuxWatchService.java#L37

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.