Skip to content

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

@mohamedhafez

Description

@mohamedhafez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions