-
Notifications
You must be signed in to change notification settings - Fork 915
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable setAccessible in JI when on Java 9.
Java 9's module system requires us to do a bit more work to set methods accessible within java.lang and other modules. If we fail to do this, the method raises InaccessibleObjectException, a Java 9-specific exception we can't catch in Java 8 code. For the moment we will disable setAccessible use on Java 9 so JRuby can start up and run correctly.
- Loading branch information
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters