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 254796 - False positive of warning "FinallyDiscardsException"
Summary: False positive of warning "FinallyDiscardsException"
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0.2
Hardware: All All
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 00:00 UTC by SirIntellegence
Modified: 2016-08-11 01:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Bug class (489 bytes, text/plain)
2015-08-28 00:00 UTC, SirIntellegence
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SirIntellegence 2015-08-28 00:00:26 UTC
Created attachment 155705 [details]
Bug class

The warning is marked on the continue statement on the attached java file. Oddly enough, if you uncomment the label "Bug" above the for loop, the warning goes away.
Comment 1 SirIntellegence 2015-08-28 00:01:06 UTC
For future reference, what category do false positive warning go anyway?
Comment 2 Jiri Kovalsky 2015-08-28 07:38:11 UTC
Reassigning for further evaluation.
Comment 3 Svata Dedic 2016-07-29 14:15:10 UTC
Fixed in jet-main#6ba1ba81a005
Comment 4 Quality Engineering 2016-08-11 01:55:53 UTC
Integrated into 'main-silver', will be available in build *201608110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6ba1ba81a005
User: Svata Dedic <sdedic@netbeans.org>
Log: #254796: top-level scanned statement must be also marked as "seen"