netty5/buffer/src
Norman Maurer a3e5e4876c
FixedCompositeByteBuf.isDirect() may return wrong value when constructed with empty array (#10005)
Motivation:

FixedCompositeByteBuf.isDirect() should return the same value as EMPTY_BUFFER.isDirect() when constructed via an empty array

Modifications:

- Return correct value when constructed via empty array.
- Add unit test

Result:

FixedCompositeByteBuf.isDirect() returns correct value
2020-02-08 17:05:26 +01:00
..
main FixedCompositeByteBuf.isDirect() may return wrong value when constructed with empty array (#10005) 2020-02-08 17:05:26 +01:00
test/java/io/netty/buffer FixedCompositeByteBuf.isDirect() may return wrong value when constructed with empty array (#10005) 2020-02-08 17:05:26 +01:00