Add native implementation for java.nio.Bits.

Also improve exception details.

Change-Id: I2fdb204af734a2f9c39ce6bcecdf3f2aa0831e67
3 files changed