netty5/src
Carsten Varming cb071910ba Use the Runnable.run method to clean direct byte buffers if avaiable.
Motivation:

In JDK9 the Cleaner.clean method cannot be called as it is not exported
from `java.base`. `Runnable.run` should be called instead.

Modifications:
Pick Runnable.run if the cleaner implements Runnable. Otherwise try the
clean method on the class implementing the cleaner.

Result:
The cleaner for direct byte buffers is run on JDK9 as well as earlier
JDKs.
2016-07-20 07:53:30 +02:00
..
assembly Upgrade to apiviz 1.3.2.GA. See #676 2012-10-23 13:20:02 +02:00
javadoc Update license headers 2012-06-04 13:35:22 -07:00
main Use the Runnable.run method to clean direct byte buffers if avaiable. 2016-07-20 07:53:30 +02:00
site More license updates 2011-12-09 14:31:04 +09:00
test Fix race when changing channel writability 2016-01-29 08:51:40 +01:00