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
Fix JLine module loading to eliminate native access warnings
Added --add-modules org.jline.terminal.ffm flag to ensure JLine modules are
properly loaded as named modules before applying --enable-native-access.
This eliminates the 'Unknown module' warnings that occurred when JLine
modules were loaded as automatic modules.
Key changes:
- Added --add-modules org.jline.terminal.ffm to both Unix and Windows launchers
- Moved MODULE_PATH definition earlier in scripts for version checking
- Now mvn --version runs without any native access warnings
- JLine FFM module is properly recognized for native access permissions
The implementation now provides clean JPMS module support with targeted
native access control and no warning messages.
0 commit comments