Thanks to visit codestin.com
Credit goes to github.com

Skip to content

handle Java 9+ warnings on windows #6155

@kares

Description

@kares

JRuby already handles most annoying warnings (due accessing JVM internals) on Linux/Mac.
Windows seems left behind with these, someone should potentially port the bash launcher changes
(to read dot files https://github.com/jruby/jruby/blob/9.2.11.1/bin/.jruby.module_opts)

jruby 9.2.11.1 (2.5.7) 2020-03-25 b1f55b1a40 OpenJDK 64-Bit Server VM 11+28 on 11+28 +jit [mswin32-x86_64]
2020-03-31T02:40:37.913-07:00 [main] WARN FilenoUtil : Native subprocess control requires open access to sun.nio.ch
Pass '--add-opens java.base/sun.nio.ch=org.jruby.dist' or '=org.jruby.core' to enable.
irb(main):001:0> puts ''.encoding
Windows-1252

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions