Skip to content

Commit 91b78c5

Browse files
committed
fix aarch64 jdk8 error putLongLE
1 parent b2464d1 commit 91b78c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/alibaba/fastjson2/util/IOUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1877,7 +1877,7 @@ public static void putIntUnaligned(byte[] buf, int pos, int v) {
18771877
* @param v the long value to write
18781878
*/
18791879
public static void putLongLE(char[] buf, int pos, long v) {
1880-
buf[pos ] = (char) (v >>> 48);
1880+
buf[pos] = (char) (v >>> 48);
18811881
buf[pos + 1] = (char) (v >>> 32);
18821882
buf[pos + 2] = (char) (v >>> 16);
18831883
buf[pos + 3] = (char) (v);

0 commit comments

Comments
 (0)