Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322671

Summary: CMainTab duplicates CAbstractMainTab members
Product: [Tools] CDT Reporter: Nobody - feel free to take it <nobody>
Component: cdt-debugAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: pawel.1.piech
Version: 8.0Flags: nobody: iplog-
Target Milestone: 7.0.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nobody - feel free to take it CLA 2010-08-13 12:08:45 EDT
org.eclipse.cdt.launch.ui.CMainTab has the following members:

protected Label fCoreLabel;
protected Text fCoreText;
protected Button fCoreButton;

These members hide the similar protected members of CAbstractMainTab. They are not initialized, fCoreLabel and fCoreButton are not used at all. But fCoreText is used to validate and save the content of the postmortem file fields. Because it's always null, no validation is done and no core file information is saved.
This doesn't affect the DSF implementation because it has it's own CMainTab.
Comment 1 Nobody - feel free to take it CLA 2010-08-13 12:12:49 EDT
Fixed in HEAD.
Comment 2 CDT Genie CLA 2010-08-13 12:23:03 EDT
*** cdt cvs genie on behalf of mkhodjai ***
Bug 322671 -  CMainTab duplicates CAbstractMainTab members

[*] CMainTab.java 1.86 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java?root=Tools_Project&r1=1.85&r2=1.86
Comment 3 Nobody - feel free to take it CLA 2010-08-13 14:35:51 EDT
Fixed in 7.0.x branch.
Comment 4 CDT Genie CLA 2010-08-13 15:23:03 EDT
*** cdt cvs genie on behalf of mkhodjai ***
Bug 322671 -  CMainTab duplicates CAbstractMainTab members

[*] CMainTab.java 1.85.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java?root=Tools_Project&r1=1.85&r2=1.85.2.1