JDK-8007535 : Compiler crashes on @FunctionalInterface used on interface with two inherited methods with same signatures
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-02-05
  • Updated: 2013-06-06
  • Resolved: 2013-02-15
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 b82Fixed
Related Reports
Duplicate :  
Description
Compiler crashes with java.lang.NullPointerException.

@FunctionalInterface 
interface Baz extends Foo<Integer, Integer> {}

interface Foo<T, N extends Number> {
    void m(T arg);
    void m(N arg);
}  

Works fine without @FunctionalInterface.

JCK test that fails: lang/LMBD/lmbd045/lmbd04501md/lmbd04501md.html 
Comments
verified in jdk8 b92
06-06-2013

Fixed in lambda-repo: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/6b0bcbdcabf3 Waiting to backport
12-02-2013