Nonsensical errors like the following occur:
error: constructor BoxingAdapter in class BoxingAdapter cannot be applied to given types;
required: Consumer<Integer>
found: Supplier<OfInt>
reason: argument mismatch; Supplier<OfInt> cannot be converted to Consumer<Integer>
1 error
Which is generated by the attached SpliteratorTestHelper.java
error: constructor BoxingAdapter in class BoxingAdapter cannot be applied to given types;
required: Consumer<Integer>
found: Supplier<OfInt>
reason: argument mismatch; Supplier<OfInt> cannot be converted to Consumer<Integer>
1 error
Which is generated by the attached SpliteratorTestHelper.java
- relates to
-
JDK-8012556 Implement lambda methods on interfaces as static
- Closed
-
JDK-8014021 TreeMaker.Params behaves inconsistently when the owning method has the same number of parameters as the number of parameter types requested
- Resolved