JDK-8010387 : Javac crashes when diagnostic mentions anonymous inner class' type variables
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 7-pool,8,8-repo-lambda
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-03-20
  • Updated: 2014-07-29
  • Resolved: 2013-03-22
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 b84Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Description
The following code crashes javac:

interface F<X> { }

abstract class AbstractPipeline<X> {

    public <P> void pipeline() {
            stream(new F<P>() { });
    }


    protected abstract <T> AbstractPipeline<?> stream(F<? extends X> supplier);
}

Comments
verified in jdk8 b92
06-06-2013