netty5/common/src
Norman Maurer 67be7c5b9f Log why it was not possible to use ByteBuffer.cleaner
Motivation:

We should log why we can not use ByteBuffer.cleaner and so maybe allow the user to fix it.

Modifications:

- Use Unsafe to access the field
- Log the exception when we can not use ByteBuffer.cleaner

Result:

Easier to debug why using cleaner is not possible.
2017-02-17 07:34:34 +01:00
..
main Log why it was not possible to use ByteBuffer.cleaner 2017-02-17 07:34:34 +01:00
test Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00