This code doesn't compile in Eclipse 4.39
package repro;
import java.util.List;
public class A {
public static void main(String[] args) {
System.out.println(List.of(BusinessExtractBuilder.create())); // Error here
}
public static class BusinessExtractBuilder<T> {
public static <U extends BusinessExtractBuilder<U>> U create() {
return null;
}
}
}
I get this :
- Type mismatch: cannot convert from A.BusinessExtractBuilder<BusinessExtract,A.BusinessExtractBuilder<BusinessExtract,U>> to E

This code doesn't compile in Eclipse 4.39
I get this :