< prev index next >
test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestConstantReflectionProvider.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 32,56 ****
* @run junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI jdk.vm.ci.runtime.test.TestConstantReflectionProvider
*/
package jdk.vm.ci.runtime.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
- import java.lang.reflect.Array;
- import java.util.List;
-
- import jdk.vm.ci.meta.ConstantReflectionProvider;
- import jdk.vm.ci.meta.JavaConstant;
- import jdk.vm.ci.meta.JavaKind;
-
- import org.junit.Test;
-
/**
* Tests for {@link ConstantReflectionProvider}. It assumes an implementation of the interface that
* actually returns non-null results for access operations that are possible, i.e., the tests will
* fail for an implementation that spuriously returns null (which is allowed by the specification).
*/
--- 32,55 ----
* @run junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI jdk.vm.ci.runtime.test.TestConstantReflectionProvider
*/
package jdk.vm.ci.runtime.test;
+ import jdk.vm.ci.meta.ConstantReflectionProvider;
+ import jdk.vm.ci.meta.JavaConstant;
+ import jdk.vm.ci.meta.JavaKind;
+ import org.junit.Test;
+
+ import java.lang.reflect.Array;
+ import java.util.List;
+
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
/**
* Tests for {@link ConstantReflectionProvider}. It assumes an implementation of the interface that
* actually returns non-null results for access operations that are possible, i.e., the tests will
* fail for an implementation that spuriously returns null (which is allowed by the specification).
*/
< prev index next >