-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: tools
-
b20
Javac defines this functional interface:
public interface Filter<T> {
boolean accepts(T t);
}
This has now become a duplicate of java.util.function.Predicate; javac should be refactored to use the JDK functional interface instead, and to use lambdas instead of anonymous inner classes.
public interface Filter<T> {
boolean accepts(T t);
}
This has now become a duplicate of java.util.function.Predicate; javac should be refactored to use the JDK functional interface instead, and to use lambdas instead of anonymous inner classes.