hg: jdk7/tl/langtools: 6509042: javac rejects class literals in enum constructors

maurizio.cimadamore at sun.com maurizio.cimadamore at sun.com
Wed Apr 2 10:39:05 UTC 2008


Changeset: aeaa0f482b28
Author:    mcimadamore
Date:      2008-04-02 11:38 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/aeaa0f482b28

6509042: javac rejects class literals in enum constructors
Summary: javac now distinguish between enum class literals and static fields
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/enum/T6509042.java




More information about the core-libs-dev mailing list