-
Bug
-
Resolution: Fixed
-
Low
-
3.2.2
-
None
Follow up of CLOV-1399:
I tried it with 3.2.2 same issue for every instrumented class.
[WARNING] /Users/kasperni/workspace/cake-container/cake-container/cake-container-api/target/clover/src-instrumented/org/cakeframework/container/RuntimeContainerException.java:[24,758] unchecked cast
required: I
found: java.lang.ObjectIt is this generated line that generates the warning:
return (I) java.lang.reflect.Proxy.newProxyInstance(l.getClass().getClassLoader(), l.getClass()
.getInterfaces(), h);It can be solved by adding a @SuppressWarnings("unchecked") to the instrumented file:
@SuppressWarnings("unchecked")
public static <I, T extends I> I lambdaInc(final int i, final T l, final int si)Unknown macro: {........}
- is related to
-
CLOV-1399 Java 1.8 compilation fails when lambda is passed to a generic argument
-
- Closed
-
[CLOV-1451] Fix uncheched warnings for code instrumented by Clover
Workflow | Original: New Clover Workflow [ 898024 ] | New: New Clover Workflow - Restricted [ 1474239 ] |
Workflow | Original: Clover Workflow [ 896369 ] | New: New Clover Workflow [ 898024 ] |
Workflow | Original: reviewflow [ 622912 ] | New: Clover Workflow [ 896369 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: To be reviewed [ 10026 ] | New: Resolved [ 5 ] |
Status | Original: In Progress [ 3 ] | New: To be reviewed [ 10026 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Rank | New: Ranked higher |
Sprint | Original: Sprint 2 [ 1140 ] | New: Sprint 1 [ 1112 ] |