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 268512

Summary: Source -> Inspect does not find calls to deprecated code
Product: java Reporter: electricsam
Component: SourceAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description electricsam 2016-10-13 18:33:56 UTC
I have my editor set up to highlight calls to deprecated code.  This is fine on a file-by-file basis.  However, I would like to find all instances of deprecated code use in my project. 

I have set up Source -> Inspect with the following:
  Scope: Open Projects
  Single Inspection: Enabled, Standard Javac Warnings:Deprecated

The inspector finds no results, even though I can open a file with deprecated code use, which the editor indicates.


I have also tried inspecting with the NetBeans Java Hints Analyzer (Configuration option instead of Single Inspection) with all Standard Javac Warnings enabled with the same results.