< prev index next >
test/runtime/Unsafe/CopyMemory.java
Print this page
*** 28,40 ****
* @modules java.base/sun.misc
* java.management
* @run main CopyMemory
*/
! import com.oracle.java.testlibrary.*;
import sun.misc.Unsafe;
! import static com.oracle.java.testlibrary.Asserts.*;
public class CopyMemory {
final static int LENGTH = 8;
public static void main(String args[]) throws Exception {
Unsafe unsafe = Utils.getUnsafe();
--- 28,40 ----
* @modules java.base/sun.misc
* java.management
* @run main CopyMemory
*/
! import jdk.test.lib.*;
import sun.misc.Unsafe;
! import static jdk.test.lib.Asserts.*;
public class CopyMemory {
final static int LENGTH = 8;
public static void main(String args[]) throws Exception {
Unsafe unsafe = Utils.getUnsafe();
< prev index next >