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

Avoid 'WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem' message #1155

Closed
abelsromero opened this issue Apr 1, 2023 · 0 comments · Fixed by #1156

Comments

@abelsromero
Copy link
Member

Running the CLI and also from builder tools displays the following Java warning:

023-04-01T22:03:19.247+02: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.

Afaik, there's nothing we can and this comes from jRuby (which requires access to JDK internals). It's up to calling libraries to add the JVM flags to make explicit that we need access to internals, making the warning dissapear.

For further reference, another interesting conversation I found FasterXML/jackson-databind#3168.

abelsromero added a commit to abelsromero/asciidoctorj that referenced this issue Apr 1, 2023
abelsromero added a commit to abelsromero/asciidoctorj that referenced this issue Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant