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
I get the following warning when doing
gem install psych
on my M1 Macbook Pro with JDK 17:Sounds like it could be a similar issue to this one: https://github.com/jruby/jruby/issues/6721