Community
Participate
Working Groups
eclipse-gtk-linux-I20041019: JDT seems not to be able to handle enum types: E.g. class Foo { public enum DefaultCmds { ADD, DELETE, PASTE, CUT, RENAME, REFRESH } public Foo { DefaultCmds[] cmds = DefaultCmds.values(); } } In contrast to Sun's jdk 1.5.0 JDT produces the following errors: DefaultCmds[] cannot be resolved to a type DefaultCmds cannot be resolved
Enum support is being currently implemented. With HEAD's contents, it compile this scenario.
Fixed
*** Bug 77324 has been marked as a duplicate of this bug. ***
Verified for 3.1M3 with build I200411040100
I just downloaded and extracted 3.1M3 and I'm still getting the same error.
build 200411050810 still has same problem.
Nix that. I did a Build all and it's fine. Sorry.
Created attachment 19992 [details] Screenshot of error messages I get Sorry - don't know how to copy and paste compile errors - so have pasted screenshot into workd document
Sorry for bugspam (attachement) - set JDK compliance level to 5.0 and working OK now.