< prev index next >

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

Print this page
rev 52509 : [mq]: graal2

@@ -37,11 +37,11 @@
         private Class_newInstance() throws Exception {
             throw new Exception();
         }
     }
 
-    @SuppressWarnings("deprecation")
+    @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 >