ibessonov commented on code in PR #6161: URL: https://github.com/apache/ignite-3/pull/6161#discussion_r2177367563
########## modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java: ########## @@ -728,6 +728,8 @@ public static void putDouble(long addr, double val) { * @return Short value from byte array. */ public static short getShortLittleEndian(byte[] arr, long off) { + assert IS_BIG_ENDIAN; Review Comment: Please read the javadoc of this method: > assuming that value should be stored in little-endian byte order and native byte order is big-endian -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org