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 238921 - Undeclared exception should highlight the offending expression, not whole line
Summary: Undeclared exception should highlight the offending expression, not whole line
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks: 215629
  Show dependency tree
 
Reported: 2013-11-28 10:42 UTC by Svata Dedic
Modified: 2013-11-29 15:20 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 Svata Dedic 2013-11-28 10:42:16 UTC
See original issue #215629; currently the whole line is highlighted, and the user has no chance to decide what of the 'surround with' fixes belongs to what invocation. The compiler provides rather specific location of the error, so the offending method call or expression part could be highlighted.
Comment 1 Svata Dedic 2013-11-29 15:20:53 UTC
Implemented in http://hg.netbeans.org/jet-main/rev/8c8776d03d27