< prev index next >
test/compiler/unsafe/UnsafeRaw.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
@@ -26,16 +26,19 @@
* @bug 8058744
* @summary Invalid pattern-matching of address computations in raw unsafe
* @library /testlibrary
* @modules java.base/jdk.internal.misc
* java.management
- * @run main/othervm -Xbatch UnsafeRaw
+ * @run main/othervm -Xbatch compiler.unsafe.UnsafeRaw
*/
+package compiler.unsafe;
+
+import jdk.internal.misc.Unsafe;
import jdk.test.lib.Utils;
+
import java.util.Random;
-import jdk.internal.misc.Unsafe;
public class UnsafeRaw {
public static class Tests {
public static int int_index(Unsafe unsafe, long base, int index) throws Exception {
return unsafe.getInt(base + (index << 2));
< prev index next >