The GitHub Actions job "CI" on 
grails-core.git/fix/directory-watcher-fallback-8.0.x has succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
7cd616519b2b5c55a5a2f31a9d41b7d22380a476 / Scott Murphy Heiberg 
<[email protected]>
Require macOS for the native watcher test

Resolving the optional library is not enough to run it. 
MacOSXListeningWatchService
loads without a static initializer and its constructor touches no native
code, so spoofing os.name selects the native watcher on any platform.
CarbonAPI is not initialized until register is called, at which point
Native.loadLibrary("Carbon") fails anywhere but macOS — and that happens
inside addWatchDirectory, outside the fallbacks. The test would therefore
have failed on the Ubuntu and Windows CI legs.

The linkage test stays cross-platform: without JNA the probe fails before
any native registration, which is the behaviour it asserts.

Report URL: https://github.com/apache/grails-core/actions/runs/30862332345

With regards,
GitHub Actions via GitBox

Reply via email to