netty5/common/src
Norman Maurer be77dfb1ca Just cast Cleaner to Runnable in Java9+ to prevent IllegalAccessException
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.
2016-08-11 08:57:20 +02:00
..
main Just cast Cleaner to Runnable in Java9+ to prevent IllegalAccessException 2016-08-11 08:57:20 +02:00
test Remove extra conditional check in retain 2016-08-05 13:09:26 +02:00