Merge pull request #4964 from dkapil/story/BAEL-7636

BAEL-7636 Add the missing plugin versions in the tutorial repo
This commit is contained in:
Loredana Crusoveanu
2018-08-21 08:33:37 +03:00
committed by GitHub
15 changed files with 88 additions and 61 deletions
@@ -1,6 +1,7 @@
package com.baeldung.unsafe;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import sun.misc.Unsafe;
@@ -56,6 +57,7 @@ public class UnsafeUnitTest {
}
@Test
@Ignore // Uncomment for local
public void givenArrayBiggerThatMaxInt_whenAllocateItOffHeapMemory_thenSuccess() throws NoSuchFieldException, IllegalAccessException {
//given
long SUPER_SIZE = (long) Integer.MAX_VALUE * 2;