Changeset: 8973372aedf8 Author: mcimadamore Date: 2008-07-25 12:05 +0100 URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/8973372aedf8
6500701: Enhanced for loop with generics generates faulty bytecode Summary: Lower is too strict when translating enhanced causing CCE to be thrown at runtime Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Lower.java + test/tools/javac/foreach/T6500701.java Changeset: dc4744d13247 Author: mcimadamore Date: 2008-07-25 12:22 +0100 URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/dc4744d13247 6675483: Javac rejects multiple type-variable bound declarations starting with an enum type Summary: Intersection types bounded by an enum are erroeously considered harmful by javac Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/enum/T6675483.java