-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Low
-
Affects Version/s: 4.1.1
-
Component/s: Instrumentation
-
None
-
Severity 3 - Minor
Clover seems to fail to parse Generic array constructor references, even though javac is happy to accept it.
e.g.
IntFunction<Class<?>[]> f = Class<?>[]::new;
as a workaround you can use non generic classes:
IntFunction<Class[]> f = Class[]::new;