netty5/common/src/test
Scott Mitchell a7f7d9c8e0 Remove unsafe char[] access in PlatformDependent
Motivation:
PlatformDependent attempts to use reflection to get the underlying char[] (or byte[]) from String objects. This is fragile as if the String implementation does not utilize the full array, and instead uses a subset of the array, this optimization is invalid. OpenJDK6 and some earlier versions of OpenJDK7 String have the capability to use a subsection of the underlying char[].

Modifications:
- PlatformDependent should not attempt to use the underlying array from String (or other data types) via reflection

Result:
PlatformDependent hash code generation for CharSequence does not depend upon specific JDK implementation details.
2016-06-30 08:58:28 -07:00
..
java/io/netty/util Remove unsafe char[] access in PlatformDependent 2016-06-30 08:58:28 -07:00
resources Add logging configuration to pom.xml 2016-05-09 15:18:01 +02:00
templates/io/netty/util/collection KObjectHashMap PrimitiveIterator NPE 2016-05-13 12:44:29 -07:00