8c92548793
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.