Community
Participate
Working Groups
Hi I have a "The type org.eclipse.jdt.annotation.NonNull cannot be resolved. It is indirectly referenced from required .class files" in java Editor/problem view with the simple class. The error appears in line 1. I have error with IntFunction<List<?>> f = ArrayList::new; but not with IntFunction<List<?>> f = size -> new ArrayList(size); package bug_eclipse_4_10; import java.util.ArrayList; import java.util.List; import java.util.function.IntFunction; class MyTest { void test() { IntFunction<List<?>> f = ArrayList::new; // IntFunction<List<?>> f = size -> new ArrayList(size); } } Thanks -- Configuration Details -- Product: Eclipse IDE 4.10.0.20181214-0600 (org.eclipse.epp.package.modeling.product)Installed Features: org.eclipse.jdt 3.16.0.v20181206-1038 Versioning Plugin: org.eclipse.platform 4.10.0.v20181206-0815