// Test case for Issue 1864: // https://github.com/typetools/checker-framework/issues/1864 import java.util.List; import java.util.function.Supplier; abstract class Issue1864 { interface A {} abstract List g(); abstract void h(Supplier> s); void f() { Iterable xs = g(); h(() -> xs); } }