hg: jdk8/tl/langtools: 8013846: javac fails to reject semantically equivalent generic method declarations

eric.mccorkle at oracle.com eric.mccorkle at oracle.com
Thu Sep 12 18:53:25 UTC 2013


Changeset: 5d2d484a1216
Author:    emc
Date:      2013-09-12 14:52 -0400
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/5d2d484a1216

8013846: javac fails to reject semantically equivalent generic method declarations
Summary: Cause javac to consider intersection types with the same elements to be equal regardless of order.
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/neg/OrderedIntersections.java
+ test/tools/javac/generics/neg/OrderedIntersections.out




More information about the security-dev mailing list