mkristian / jar-dependencies

manage jar dependencies for ruby gems
MIT License
34 stars 19 forks source link

JDK 17: Native subprocess control requires open access to the JDK IO subsystem #77

Open mohamedhafez opened 2 years ago

mohamedhafez commented 2 years ago

I get the following warning when doing gem install psych on my M1 Macbook Pro with JDK 17:

  jar dependencies for psych-4.0.3-java.gemspec . . .
2022-02-22T19:59:56.015-06:00 [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
      org.yaml:snakeyaml:1.28:compile

Sounds like it could be a similar issue to this one: https://github.com/jruby/jruby/issues/6721

mohamedhafez commented 2 years ago

running lock_jars produces the same warning