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 188394 - "Warning on Current Line" does not work for Finally warning
Summary: "Warning on Current Line" does not work for Finally warning
Status: RESOLVED DUPLICATE of bug 125305
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-05 18:54 UTC by matthies
Modified: 2015-05-28 09:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2010-07-05 18:54:08 UTC
After configuring the hint "Standard Javac warnings" -> "Finally" to "Warning on Current Line" (and reopening the respective source file), the warning is still always displayed. The warning also doesn't have Configure/Disable context menu items (Alt+Enter). To reproduce the warning:

    void example()
    {
        try { } finally { throw new RuntimeException(); }
    }
Comment 1 Jan Lahoda 2010-11-04 15:43:07 UTC
P4, IMO.
Comment 2 Jiri Prox 2015-05-28 09:47:23 UTC

*** This bug has been marked as a duplicate of bug 125305 ***