You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
grails-cli: java.lang.System::loadLibrary has been called by org.fusesource.hawtjni.runtime.Library in Java 25 #15216
./grailsw
Updating Grails wrapper, allowed versions to update to are [RELEASE]...
... 81% (20.73 MiB/s)
...Moving remotely downloaded jar to: C:\Users\james\.grails\wrapper\7.0.1\grails-cli-7.0.1-all.jar
Updated wrapper to version: 7.0.1
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by org.fusesource.hawtjni.runtime.Library in an unnamed module (file:/C:/Users/james/.grails/wrapper/7.0.1/grails-cli-7.0.1-all.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
| Starting interactive mode...
| Enter a command name to run. Use TAB for completion:
grails>
Hello @jamesfredley, I’m interested in helping with this issue and wanted to confirm the intended approach before starting.
Is the goal here to update the Grails CLI to explicitly enable native access (for example, via --enable-native-access=ALL-UNNAMED), or is there a preferred longer-term solution such as adjusting or replacing the hawtjni usage?
Also, should the fix target the CLI startup / wrapper configuration, or is there a specific module where you’d like this handled?
Got it, thank you for the clarification. I’ll hold off on this one for now.
Happy to help test or follow up once a compatible hawtjni version is available.
Activity
sanjana2505006 commentedon Jan 20, 2026
Hello @jamesfredley, I’m interested in helping with this issue and wanted to confirm the intended approach before starting.
Is the goal here to update the Grails CLI to explicitly enable native access (for example, via --enable-native-access=ALL-UNNAMED), or is there a preferred longer-term solution such as adjusting or replacing the hawtjni usage?
Also, should the fix target the CLI startup / wrapper configuration, or is there a specific module where you’d like this handled?
jamesfredley commentedon Jan 20, 2026
This one is waiting on a new version of org.fusesource.hawtjni to resolve.
sanjana2505006 commentedon Jan 20, 2026
Got it, thank you for the clarification. I’ll hold off on this one for now.
Happy to help test or follow up once a compatible hawtjni version is available.
jamesfredley commentedon Feb 19, 2026
fix: add Java 23+/24+ compatibility JVM args and upgrade commons-lang…
fix: add Java 23+/24+ compatibility JVM args and upgrade commons-lang…