netty5/src/main/java/org/jboss/netty
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
..
bootstrap [#937] Add also a ServerBootstrap.bindAsync() method and correct the javadocs 2013-01-16 09:39:12 +01:00
buffer Remove deprecated methods and classes 2014-12-17 13:20:55 +09:00
channel Removed old JSR 166 CHM which was ported from JDK 5 to JDK 1.4 2016-03-07 15:15:14 +00:00
container Update license headers 2012-06-04 13:35:22 -07:00
example Validate cookie name and value characters 2015-05-08 09:46:53 +02:00
handler Fixes #5054: IpV4Subnet.contains() always returns true for single-address subnets. 2016-06-27 13:27:07 +02:00
logging Remove StackTraceSimplifier 2014-08-05 18:03:15 -07:00
util Use the Runnable.run method to clean direct byte buffers if avaiable. 2016-07-20 07:53:30 +02:00