Bug 432557 - Addr2line should be marked @noextend or fields should be changed to protected
Summary: Addr2line should be marked @noextend or fields should be changed to protected
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-other (show other bugs)
Version: Next   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-10 16:00 EDT by Greg Watson CLA
Modified: 2020-09-04 15:18 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 Greg Watson CLA 2014-04-10 16:00:40 EDT
The Addr2line class in org.eclipse.cdt.utils provides a protected method init() which allows the initialization of the class to be overridden. However as the fields are marked private, it is not possible to do any useful initialization without overriding all methods. It would be better to make the fields protected, or if this is not wanted, mark the class as @noextend.