Save java fields to we can fix endianness using them.
Fix noptr endianness.