< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/reflect/Class_newInstance02.java
Print this page
rev 52509 : [mq]: graal
@@ -30,11 +30,11 @@
import org.graalvm.compiler.jtt.JTTTest;
public final class Class_newInstance02 extends JTTTest {
- @SuppressWarnings("deprecation")
+ @SuppressWarnings({"deprecation", "unused"})
public static boolean test(int i) throws IllegalAccessException, InstantiationException {
if (i == 0) {
// note: we rely on the other class here.
return Class_newInstance07.Class_newInstance.class.newInstance() != null;
}
< prev index next >