< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/reflect/Class_newInstance06.java

Print this page
rev 52509 : [mq]: graal

*** 38,48 **** private Class_newInstance(int i) { // do nothing. xx } } ! @SuppressWarnings("deprecation") public static boolean test(int i) throws IllegalAccessException, InstantiationException { if (i == 0) { return Class_newInstance.class.newInstance() != null; } return false; --- 38,48 ---- private Class_newInstance(int i) { // do nothing. xx } } ! @SuppressWarnings({"deprecation", "unused"}) public static boolean test(int i) throws IllegalAccessException, InstantiationException { if (i == 0) { return Class_newInstance.class.newInstance() != null; } return false;
< prev index next >