Repository: ignite Updated Branches: refs/heads/ignite-1.6.10-hadoop-debug 65b59b571 -> a435b6eb8
Fix. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/a435b6eb Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/a435b6eb Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/a435b6eb Branch: refs/heads/ignite-1.6.10-hadoop-debug Commit: a435b6eb893be80d2d40ceeebff18d79ea4bbabb Parents: 65b59b5 Author: devozerov <[email protected]> Authored: Fri Nov 18 12:51:45 2016 +0300 Committer: devozerov <[email protected]> Committed: Fri Nov 18 12:51:45 2016 +0300 ---------------------------------------------------------------------- .../src/main/java/org/apache/ignite/internal/util/GridUnsafe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/a435b6eb/modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java index 5ccf749..41a413d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java @@ -1038,7 +1038,7 @@ public abstract class GridUnsafe { public static void copyMemory(long ptr, byte[] b, int off, int len) { if (len <= 16) { for (int i = 0; i < len; i++) - GridUnsafe.putByte(b, BYTE_ARR_OFF + off + i, GridUnsafe.getByte(ptr + 1)); + GridUnsafe.putByte(b, BYTE_ARR_OFF + off + i, GridUnsafe.getByte(ptr + i)); } else UNSAFE.copyMemory(null, ptr, b, BYTE_ARR_OFF + off, len);
