This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271405

Summary: Use of a deprecated constructor doesn't get crossed out
Product: editor Reporter: nucleomancer
Component: Hints & AnnotationsAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: dtrebbien
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: Trivial implementation to show the difference.

Description nucleomancer 2017-08-30 13:10:41 UTC
Created attachment 165052 [details]
Trivial implementation to show the difference.

When a class defines a function as deprecated, that function and any references to it are shown with a strike-through.

When a constructor is deprecated, the constructor itself is decorated with a strike-through, but use of that constructor through super doesn't give any indication that you are using something that you should avoid.