Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mohamedhafez opened this issue Feb 23, 2022 · 1 comment

Comments

@mohamedhafez
Copy link

mohamedhafez commented Feb 23, 2022

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: jruby/jruby#6721

@mohamedhafez
Copy link
Author

running lock_jars produces the same warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant