jruby / ruby-maven

Eclipse Public License 2.0
1 stars 5 forks source link

WARN FilenoUtil : Native subprocess control requires open access to sun.nio.ch #6

Open AndyObtiva opened 2 years ago

AndyObtiva commented 2 years ago

Run this command with https://github.com/jruby/ruby-maven/pull/2 merged in:

gem install psych -v4.0.1

Works without errors. But, you see this warning (seems harmless):

2021-10-25T15:50:17.772-04:00 [main] WARN FilenoUtil : Native subprocess control requires open access to sun.nio.ch
Pass '--add-opens java.base/sun.nio.ch=org.jruby.dist' or '=org.jruby.core' to enable.
      org.yaml:snakeyaml:1.28:compile

Just reporting as per request by @headius in https://github.com/ruby/psych/issues/520:

"@AndyObtiva The warning would be good to report separately on ruby-maven, because it indicates that it is not using module logic to load the JRuby instance it uses."