RFR: 8293067: (fs) Implement WatchService using system library (macOS)
Michael Hall
mik3hall at gmail.com
Wed Feb 15 23:36:14 UTC 2023
> On Feb 9, 2023, at 9:40 AM, Maxim Kartashev <mkartashev at openjdk.org> wrote:
>
> On Sat, 4 Feb 2023 11:37:39 GMT, Michael Hall <mik3hall at gmail.com> wrote:
>
>> How will your changes be tested if the PR has been closed?
>
> I guess I'll re-open it, perhaps as a new one if necessary. As you correctly noted, I can't test this fully by myself so I have to make the code available to others somehow.
>
> -------------
>
> PR: https://git.openjdk.org/jdk/pull/10140
I decided to try and do a standalone version along with my OS/X default FileSystemProvider project.
Just finished throwing something together for that.
I based it on the JetBrains runtime since the ownership status here seems still sort of undetermined.
If this isn’t the place to discuss this let me know. If that is the case, would you be interested at all in discussing it off-list @Maxim?
My first real test with no debugging is getting…
Exception in thread "FileSystemWatcher" Exception in thread "FileSystemWatcher" java.lang.InternalError: platform encoding not initialized
at us.hall.trz.osx.MacOSXWatchService.CFRunLoopRun(Native Method)
at us.hall.trz.osx.MacOSXWatchService$CFRunLoopThread.run(MacOSXWatchService.java:201)
Googling the error turns up occurrences but nothing I’m really understanding as connecting to what I’m doing.
Any thoughts on this?
More information about the nio-dev
mailing list