< prev index next >

test/langtools/tools/javac/generics/inference/8176534/TestUncheckedCalls.java

Print this page
rev 52786 : 8210031: implementation for JVM Constants API

@@ -219,11 +219,11 @@
 
     boolean declFilter() {
         return Stream.of(decls)
                 .filter(d -> d.hasKind(DeclKind.NONE))
                 .flatMap(d -> Stream.of(d.returnKind(), d.argumentsKind(), d.typeVarsKind()))
-                .noneMatch(tk -> tk.ordinal() != 0);
+                .noneMatch((Enum<? extends Enum<?>> tk) -> tk.ordinal() != 0);
     }
 
     boolean tvarFilter() {
         return Stream.of(decls)
                 .filter(d -> !d.hasKind(DeclKind.NONE))
< prev index next >