Norman Maurer bf0beb772c Fix IllegalArgumentException when release a wrapped ByteBuffer on Java9
Motivation:

Unsafe.invokeCleaner(...) checks if the passed in ByteBuffer is a slice or duplicate and if so throws an IllegalArgumentException on Java9. We need to ensure we never try to free a ByteBuffer that was provided by the user directly as we not know if its a slice / duplicate or not.

Modifications:

Never try to free a ByteBuffer that was passed into UnpooledUnsafeDirectByteBuf constructor by an user (via Unpooled.wrappedBuffer(....)).

Result:

Build passes again on Java9
2017-04-20 19:19:11 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2017-04-20 04:56:09 +02:00
2009-03-04 10:33:09 +00:00
2013-03-11 09:55:43 +09:00
2009-08-28 07:15:49 +00:00
2017-04-20 04:56:09 +02:00

Netty Project

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.

How to build

For the detailed information about building and developing Netty, please visit the developer guide. This page only gives very basic information.

You require the following to build Netty:

Note that this is build-time requirement. JDK 5 (for 3.x) or 6 (for 4.0+) is enough to run your Netty-based application.

Branches to look

Development of all versions takes place in each branch whose name is identical to <majorVersion>.<minorVersion>. For example, the development of 3.9 and 4.0 resides in the branch '3.9' and the branch '4.0' respectively.

Description
No description provided
Readme 84 MiB
Languages
Java 99.8%
Shell 0.1%