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

Bug 314366

Summary: Invalid use of internal MapEntrySourceContainer
Product: [Tools] CDT Reporter: Jeff Johnston <jjohnstn>
Component: cdt-debugAssignee: cdt-debug-inbox <cdt-debug-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: cdtdoug, jonah
Version: 9.11.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug
Bug Depends on:    
Bug Blocks: 313157    

Description Jeff Johnston CLA 2010-05-25 17:55:28 EDT
org.eclipse.cdt.debug.internal.core.sourcelookup.MapEntrySourceContainer which is internal is instantiated by:

org.eclipse.linuxtools.binutils.link2source.STCSourceNotFoundEditor.addSourceMappingToDirector(IPath, IPath, AbstractSourceLookupDirector)
Comment 1 Andrew Overholt CLA 2011-09-30 15:17:54 EDT
Updating Xavier's email address for existing bugs.
Comment 2 Eclipse Genie CLA 2014-05-29 17:11:03 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Eclipse Genie CLA 2016-05-19 02:04:44 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2018-05-10 11:04:35 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Eclipse Genie CLA 2020-04-30 14:39:43 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Jeff Johnston CLA 2020-04-30 17:36:43 EDT
Moving this bug to CDT.  Linux Tools is using the public MappingSourceContainer but it has public APIs that require a MapEntrySourceContainer which is internal.

There are a few possible solutions:

1. create new public class that extends MapEntrySourceContainer
2. make MapEntrySourceContainer public
3. hide API that uses MapEntrySourceContainer in MappingSourceContainer and
   add new API to allow access to same functionality (e.g. calling with
   arguments to instantiate a new MapEntrySourceContainer and pass back
   some interface the user can use later to remove, etc..)