Description
Below code cause compiler crash in build b109
import java.util.Collection;
import java.util.Comparator;
public interface MyInterface {
public default <T> void m1(Collection<T> c, Comparator<T> comp) {
}
public default <T extends Comparable> void m2(Collection<T> c) {
m1(c, T::compareTo);
}
}
import java.util.Collection;
import java.util.Comparator;
public interface MyInterface {
public default <T> void m1(Collection<T> c, Comparator<T> comp) {
}
public default <T extends Comparable> void m2(Collection<T> c) {
m1(c, T::compareTo);
}
}