See this build: https://travis-ci.org/troessner/reek/builds/611542039
I’m trying to update our build to use the xenial distribution, but any call to JRuby results in this warning:
WARNING: Unknown module: org.jruby.dist specified to --add-opens
JRuby 9.2 injects --add-opens
referring to org.jruby.dist
into JAVA_OPTS, but JRuby 9.1 shouldn’t be doing that since org.jruby.dist
doesn’t exist there. The JRuby 9.1 distribution doesn’t contain any --add-opens
, and I can’t see anything in rvm
's code that would do this.
I’ve tried setting JAVA_OPTS
myself, but it seems this is overridden in some way because it didn’t have any effect.