netty/netty — pull request #1430 by profer (2013-06-07 19:51:48+00:00)
Title: Wrong byte order on little endian platforms without unaligned memory access

I found a byte order problem when using direct buffers on a platform that supports Unsafe but not unaligned memory access. The existing fallback implementation in PlatformDependent0.java only works on big endian platforms and does not work in my test system (Raspberry Pi, Raspbian, JDK 8 Preview).