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 - Source -> Inspect does not find calls to deprecated code
Summary: Source -> Inspect does not find calls to deprecated code
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.2
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2016-10-13 18:33 UTC by electricsam
Modified: 2016-10-13 18:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


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