RFR: 8293067: (fs) Implement WatchService using system library (macOS)
Michael Hall
mik3hall at gmail.com
Thu Feb 16 17:54:52 UTC 2023
> On Feb 15, 2023, at 5:36 PM, Michael Hall <mik3hall at gmail.com> wrote:
>
> Exception in thread "FileSystemWatcher" Exception in thread "FileSystemWatcher" java.lang.InternalError: platform encoding not initialized
I had to add a JNI_OnLoad to resolve jvm references which seemed to work. Initializing the encoding from there also seems to work.
The code now in fact does seem to work. Not a lot of debugging required.
I’ll try to get my GitHub project updated with maybe improved markdown.
But for me, now with mine, this seems to work just fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/nio-dev/attachments/20230216/944c8d2b/attachment.htm>
More information about the nio-dev
mailing list