Bug 265307

Summary: Version 3.5.0 does not compile enums the same as version 3.4.1
Product: [Eclipse Project] JDT Reporter: Andrew Heron <andrew.heron>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 3.4.1   
Target Milestone: 3.5 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Example of enum class none

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.