Bug 265307 - Version 3.5.0 does not compile enums the same as version 3.4.1
Summary: Version 3.5.0 does not compile enums the same as version 3.4.1
Status: VERIFIED DUPLICATE of bug 255452
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.5 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-18 10:11 EST by Andrew Heron CLA
Modified: 2009-03-10 11:32 EDT (History)
0 users

See Also:


Attachments
Example of enum class (470 bytes, text/plain)
2009-02-18 10:13 EST, Andrew Heron CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Heron CLA 2009-02-18 10:11:51 EST
Build ID: I20090202-1535

Steps To Reproduce:
1. Create an enum class in 3.4.1 that has a non default constructor
2. Instantiate an enum with a public static final field declared after the enums
3. Copy the code into 3.5.0


More information:
Using the same JDK in both versions of eclipse, 3.4.1 compiles successfully but 3.5.0 does not
Comment 1 Andrew Heron CLA 2009-02-18 10:13:23 EST
Created attachment 126026 [details]
Example of enum class
Comment 2 Kent Johnson CLA 2009-02-18 16:58:45 EST

*** This bug has been marked as a duplicate of bug 255452 ***
Comment 3 Frederic Fusier CLA 2009-03-10 11:32:04 EDT
Verified for 3.5M6 using I20090310-0100.