hg: jdk/jdk: 8202597: javac is not inducing a notional interface if Object appears in an intersection type

vicente.romero at oracle.com vicente.romero at oracle.com
Wed May 9 00:26:29 UTC 2018


Changeset: 20520a835f48
Author:    vromero
Date:      2018-05-08 17:12 -0700
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/20520a835f48

8202597: javac is not inducing a notional interface if Object appears in an intersection type
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/langtools/tools/javac/T8202597/NotionalInterfaceNotBeingInducedTest.java
! test/langtools/tools/javac/diags/examples/NotAnInterfaceComponent.java
! test/langtools/tools/javac/lambda/intersection/IntersectionTargetTypeTest.java



More information about the jdk-changes mailing list