netty5/buffer/src/main
Norman Maurer d2bd36fc4c ByteBufUtil.isText method should be safe to be called concurrently
Motivation:

ByteBufUtil.isText(...) may produce unexpected results if called concurrently on the same ByteBuffer.

Modifications:

- Don't use internalNioBuffer where it is not safe.
- Add unit test.

Result:

ByteBufUtil.isText is thread-safe.
2018-01-31 13:47:49 +01:00
..
java/io/netty/buffer ByteBufUtil.isText method should be safe to be called concurrently 2018-01-31 13:47:49 +01:00