On Fri, 26 Aug 2022 17:02:36 GMT, Сергей Цыпанов <d...@openjdk.org> wrote:
>> src/java.base/share/native/libjava/io_util.c line 82: >> >>> 80: ((*(buf + 1) & 0xFF) << 16) + >>> 81: ((*(buf + 2) & 0xFF) << 8) + >>> 82: ((*(buf + 3) & 0xFF)); >> >> What if the native byte order is little-endian? > > I don't know, sorry The spec and implementation for RandomAccessFile is big-endian *only*. (As is all of the file and networking stream support). ------------- PR: https://git.openjdk.org/jdk/pull/10031