JDK-8014023 : When a method reference to a local class constructor is contained in a method whose number of parameters matches the number of constructor parameters compilation fails
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-05-06
  • Updated: 2013-06-11
  • Resolved: 2013-05-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b91Fixed
Related Reports
Relates :  
Relates :  
Description
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

Comments
Occurs in the fix to 8012556
07-05-2013

Simple reproducing case
07-05-2013

Original reporting test
07-05-2013

Caused by JDK-8014021
06-05-2013