Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
4.1.1
-
None
-
Severity 3 - Minor
Description
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;