forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Just cast Cleaner to Runnable in Java9+ to prevent IllegalAccessExcep…
…tion Motivation: When try to call Cleaner.run() via reflection on Java9 you may see an IllegalAccessException. Modifications: Just cast the Cleaner to Runnable to prevent IllegalAccessException to be raised. Result: Free direct buffers also work on Java9+ as expected.
- Loading branch information
1 parent
cb5f717
commit be77dfb
Showing
1 changed file
with
15 additions
and
4 deletions.
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