Bug 560755 - API error reported on org.eclipse.cdt.debug.gdbjtag.core.IGDBJtagConstants.DEFAULT_JTAG_DEVICE_ID
Summary: API error reported on org.eclipse.cdt.debug.gdbjtag.core.IGDBJtagConstants.DE...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-hardware (show other bugs)
Version: Next   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: John Dallaway CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-03 20:57 EST by Jonah Graham CLA
Modified: 2020-09-28 15:52 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonah Graham CLA 2020-03-03 20:57:09 EST
Despite an api filter on the above (See Bug 560186 Comment 6) I am seeing API error on IGDBJtagConstants.DEFAULT_JTAG_DEVICE_ID.
Comment 1 Anton Bäckström CLA 2020-03-04 03:14:51 EST
I see it too. 
"The constant value  of the field org.eclipse.cdt.debug.gdbjtag.core.IGDBJtagConstants.DEFAULT_JTAG_DEVICE_ID has been changed"
Comment 2 John Dallaway CLA 2020-03-07 07:25:28 EST
Jonah, the only way I have been able to supress this API error within PDE is to increment the major version number of the plugin. The alternative would be to revert the value change and deprecate IGDBJtagConstants.DEFAULT_JTAG_DEVICE_ID in favour of a new constant. Please let me know your thoughts.
Comment 3 Jonah Graham CLA 2020-03-07 10:43:39 EST
I started looking at this yesterday in more detail, I beleive this is a bug in PDE.

However, I don't know if we should work around it in CDT or not. 

John, can you simply creat a new constant and deprecate the old one as a CDT workaround.
Comment 4 John Dallaway CLA 2020-03-07 11:50:41 EST
Jonah, I will re-open bug 560186, revert the IGDBJtagConstants.DEFAULT_JTAG_DEVICE_ID value change and deprecate that field.
Comment 5 Jonah Graham CLA 2020-03-07 11:57:56 EST
Thanks John. I will try to get a reproducible test case to PDE team.
Comment 6 John Dallaway CLA 2020-09-28 15:52:30 EDT
IGDBJtagConstants.DEFAULT_JTAG_DEVICE_ID was removed in the context of bug 566462.