Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322671 - CMainTab duplicates CAbstractMainTab members
Summary: CMainTab duplicates CAbstractMainTab members
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 7.0.1   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-13 12:08 EDT by Nobody - feel free to take it CLA
Modified: 2010-08-13 15:23 EDT (History)
1 user (show)

See Also:
nobody: iplog-


Attachments

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