Bug 39663 - setSuperclass(String superclassName) API of org.eclipse.jdt.core.jdom.IDOMType interface does not work for null as Input
Summary: setSuperclass(String superclassName) API of org.eclipse.jdt.core.jdom.IDOMTy...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: 2.1.2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-05 08:14 EDT by Vijayan CLA
Modified: 2003-10-23 06:41 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 Vijayan CLA 2003-07-05 08:14:05 EDT
As per the documentation of IDOMType Interface the setSuperclass(String 
superclassName)API should remove the superClass from the Class definition when 
null is passed as the input parameter. But it is not doing so.
Comment 1 Olivier Thomann CLA 2003-07-07 12:07:58 EDT
Could you please provide an example that makes you believe it is not working as
expected?
Comment 2 Olivier Thomann CLA 2003-07-07 12:20:25 EDT
Ok, I reproduce the problem. I am working on a fix.
Comment 3 Olivier Thomann CLA 2003-07-08 11:56:03 EDT
Fixed and released in HEAD.
Regression test added.
Comment 4 Vijayan CLA 2003-07-14 10:55:25 EDT
Can a patch be released for the same for Eclipse Version 2.1.0/2.1.1 ?
Comment 5 David Audel CLA 2003-07-16 04:12:21 EDT
Verified.
Comment 6 Olivier Thomann CLA 2003-07-16 12:21:11 EDT
Backported to 2.1. maintenance stream.
Regression test added.
Comment 7 Philipe Mulet CLA 2003-09-04 12:43:58 EDT
Candidate for 2.1.2
Comment 8 Frederic Fusier CLA 2003-10-17 06:29:36 EDT
Test case verified with build 2.1.2 RC1
Comment 9 Jerome Lanneluc CLA 2003-10-23 06:41:46 EDT
Test case verified with build 2.1.2 RC2