Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Illegal Reflective Access Operation Warning #5864
Whenever running any command that starts JRuby, the following warnings are output to the terminal:
I am aware that there are other similar issues (bug reports), but @headius requested that I file this issue separately.
I see the same and more when I run JRubyArt sketches with jruby-188.8.131.52
Linux tux-PC-2163 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux java 12 2019-03-19 Java(TM) SE Runtime Environment (build 12+33) Java HotSpot(TM) 64-Bit Server VM (build 12+33, mixed mode, sharing)
I think this is probably ok on master. Running JRuby on Java 11 I do not get these warnings.
Note that there's a bunch of work for JRuby 9.2.9 that does a better job of handling modules.
Here's my output for JRuby 9.2.8 and JRuby master on Java 11:
See also GH-5826 which will add support for aggregating these