RubyVM logic backported into Ruby 2.3 tests
For https://bugs.ruby-lang.org/issues/12517 a test was added to test/coverage/test_coverage.rb that uses RubyVM.
This test is used by JRuby (at least) which does not support the MRI-specific RubyVM module. As a result, we cannot run this test to verify that we have appropriately fixed the related issue in JRuby.
Tests and stdlib that use RubyVM should provide a fallback for implementations that do not support RubyVM.