< prev index next >
test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestConstantReflectionProvider.java
Print this page
*** 28,45 ****
* @run junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI jdk.vm.ci.runtime.test.TestConstantReflectionProvider
*/
package jdk.vm.ci.runtime.test;
! import static org.junit.Assert.*;
! import java.lang.reflect.*;
! import java.util.*;
!
! import jdk.vm.ci.meta.*;
!
! import org.junit.*;
/**
* 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).
--- 28,51 ----
* @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).
< prev index next >