< prev index next >

test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTest.java

Print this page
rev 51958 : 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
rev 51959 : resolve JDK-8211122

*** 23,46 **** /* * @test * @bug 8141615 * @summary Tests new public methods at ConstantPool ! * @modules java.base/jdk.internal.misc * java.base/jdk.internal.reflect * @library /lib/testlibrary * @compile ConstantPoolTestDummy.jasm * @run main jdk.internal.reflect.constantPool.ConstantPoolTest */ package jdk.internal.reflect.constantPool; import java.util.HashMap; import java.util.Map; ! import jdk.internal.misc.SharedSecrets; ! import jdk.testlibrary.Asserts; import jdk.internal.reflect.ConstantPool; public class ConstantPoolTest { private static final Class<?> TEST_CLASS = ConstantPoolTestDummy.class; private static final ConstantPool CP = SharedSecrets.getJavaLangAccess() --- 23,46 ---- /* * @test * @bug 8141615 * @summary Tests new public methods at ConstantPool ! * @modules java.base/jdk.internal.access * java.base/jdk.internal.reflect * @library /lib/testlibrary * @compile ConstantPoolTestDummy.jasm * @run main jdk.internal.reflect.constantPool.ConstantPoolTest */ package jdk.internal.reflect.constantPool; import java.util.HashMap; import java.util.Map; ! import jdk.internal.access.SharedSecrets; import jdk.internal.reflect.ConstantPool; + import jdk.testlibrary.Asserts; public class ConstantPoolTest { private static final Class<?> TEST_CLASS = ConstantPoolTestDummy.class; private static final ConstantPool CP = SharedSecrets.getJavaLangAccess()
< prev index next >