Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314366 - Invalid use of internal MapEntrySourceContainer
Summary: Invalid use of internal MapEntrySourceContainer
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 9.11.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks: 313157
  Show dependency tree
 
Reported: 2010-05-25 17:55 EDT by Jeff Johnston CLA
Modified: 2020-09-07 17:10 EDT (History)
2 users (show)

See Also:


Attachments

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