Bug 104371

Summary: [JDOM] JDOM should not crash on 1.5 code
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.3 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Olivier Thomann CLA 2005-07-19 12:47:20 EDT
Following of bug 104303, JDOM API getComment on JDOMType crashes when the type
contains a enum type.
Comment 1 Olivier Thomann CLA 2005-07-19 12:57:36 EDT
In this case the creation of the compilation unit should return null.
Comment 2 Olivier Thomann CLA 2007-02-15 14:27:50 EST
Added an instanceof  on the guilty line.
Released for 3.3M6.
Regression tests added in org.eclipse.jdt.tests.core.jdom.JDOMQuickTests#testEnumType
Comment 3 David Audel CLA 2007-03-20 10:54:22 EDT
Verified for 3.3 M6 using build I20070320-0010