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

Bug 501408

Summary: Deprecation on annotation not showing in Problems view
Product: [Eclipse Project] JDT Reporter: Rob Lucas <roblucas0>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Rob Lucas CLA 2016-09-14 05:22:53 EDT
I have come across a situation where a deprecated piece of code is showing with a strikethrough when viewing the code but this is not showing as a warning in the Problems view.

The example code is:

@CucumberOptions(format = {"json:target/cucumber/myfile.json"})

"format" is deprecated in the above code and shows as a strikethrough when viewing the code but does not show as a separate warning in the Problems view.

I have checked all the relevant preferences and they all look OK and I am getting both the strikethrough and the warning for other deprecated code, e.g.:

    public AggregationBuffer getNewAggregationBuffer() throws HiveException {

AggregationBuffer is deprecated and shows as strikethrough and in Problems view.

Suspect this is related to the code being an annotation and so suspect bug.
Comment 1 Eclipse Genie CLA 2020-01-29 15:28:45 EST
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.