Bug 104371 - [JDOM] JDOM should not crash on 1.5 code
Summary: [JDOM] JDOM should not crash on 1.5 code
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 12:47 EDT by Olivier Thomann CLA
Modified: 2007-03-20 10:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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