Bug 39663

Summary: setSuperclass(String superclassName) API of org.eclipse.jdt.core.jdom.IDOMType interface does not work for null as Input
Product: [Eclipse Project] JDT Reporter: Vijayan <kvijayan>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1.2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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