Skip to content

WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem #6721

@boris-petrov

Description

@boris-petrov

Environment Information

Provide at least:

  • JRuby version - 9.2.18.0
  • Operating system and platform - Linux Boris-Desktop 5.12.10-arch1-1 #1 SMP PREEMPT Thu, 10 Jun 2021 16:34:50 +0000 x86_64 GNU/Linux

I run JRuby via the JRuby Gradle Plugin. It was fine while I was using JDK 15. Updating to JDK 16 leads to this warning:

2021-06-14T12:05:15.307+03: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.

Otherwise it works fine.

There seem to be some related issues but they concern Windows and not an update to the JDK so I decided to open a new one.

Any ideas?

Expected Behavior

No warning to be shown.

Actual Behavior

Warning shown.

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