The GitHub Actions job "CI" on grails-core.git/fix/forge-cli-native-access has 
failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
b7ceb5375d9732018f622e0151bdb4c5c36ce6fc / Scott Murphy Heiberg 
<[email protected]>
Grant native access in CLI and wrapper start scripts

JLine loads its native terminal library via System::load, a restricted
method under JEP 472. On JDK 24+ every launch of the grails,
grails-shell-cli, grails-forge-cli, and grailsw scripts prints:

    WARNING: A restricted method in java.lang.System has been called
    WARNING: java.lang.System::load has been called by 
org.jline.nativ.JLineNativeLoader ...

and a future JDK release will block the call outright, breaking
interactive terminal support. Bake --enable-native-access=ALL-UNNAMED
into the generated start scripts (POSIX and Windows) so the launcher
grants native access explicitly, as JEP 472 prescribes for classpath
applications.

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

With regards,
GitHub Actions via GitBox

Reply via email to