hotspot/test/runtime/Unsafe/GetPutDouble.java
changeset 40631 ed82623d7831
parent 38152 80e5da81fb2c
child 40855 3c4c913195e3
equal deleted inserted replaced
40629:514bf0744294 40631:ed82623d7831
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @summary Verify behaviour of Unsafe.get/putDouble
    26  * @summary Verify behaviour of Unsafe.get/putDouble
    27  * @library /testlibrary
    27  * @library /test/lib
    28  * @modules java.base/jdk.internal.misc
    28  * @modules java.base/jdk.internal.misc
    29  *          java.management
    29  *          java.management
    30  * @run main GetPutDouble
    30  * @run main GetPutDouble
    31  */
    31  */
    32 
    32 
    33 import java.lang.reflect.Field;
    33 import java.lang.reflect.Field;
    34 import jdk.test.lib.*;
    34 import jdk.test.lib.Utils;
    35 import jdk.internal.misc.Unsafe;
    35 import jdk.internal.misc.Unsafe;
    36 import static jdk.test.lib.Asserts.*;
    36 import static jdk.test.lib.Asserts.*;
    37 
    37 
    38 public class GetPutDouble {
    38 public class GetPutDouble {
    39     public static void main(String args[]) throws Exception {
    39     public static void main(String args[]) throws Exception {