Community
Participate
Working Groups
Build ID: Eclipse Java Compiler v_677_R32x, 3.2.1 release Steps To Reproduce: 1. create directory called testcase, containing the single file called MyClass.java, which should contain: public class MyClass { enum MyEnum { A }; } 2. compile with commandline: ecj -classpath testcase -g -source 1.5 -target 1.5 testcase/MyClass.java 3. observe error: ---------- 1. ERROR in testcase/MyClass.java (at line 1) public class MyClass { ^^ The type Enum is not generic; it cannot be parameterized with arguments <MyClass.MyEnum> More information: Sun's javac 1.5.0_08 compiler compiles this fine with the same commandline
This is fixed in 3.2.2. I'll check if I can find a duplicate bug.
Could not find a duplicate. Closing as WORKSFORME.
Unable to reproduce error: code compiles OK using 3.2.1, 3.2 or 3.3
Verified for 3.3 M6 using build I20070320-0010