netty5/buffer
Norman Maurer 6ac5f35077 Use Unsafe to read ByteBuffer.address field to make it work on Java9 as well.
Motivation:

Java9 does not allow changing access level via reflection by default. This lead to the situation that netty disabled Unsafe completely as ByteBuffer.address could not be read.

Modification:

Use Unsafe to read the address field as this works on all Java versions.

Result:

Again be able to use Unsafe optimisations when using Netty with Java9
2017-02-16 20:40:59 +01:00
..
src Use Unsafe to read ByteBuffer.address field to make it work on Java9 as well. 2017-02-16 20:40:59 +01:00
pom.xml Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00