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 209123 - Javac hints should be enabled to be in sync with the compiler errors/warnings
Summary: Javac hints should be enabled to be in sync with the compiler errors/warnings
Status: REOPENED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.1
Hardware: PC Windows Vista
: P3 normal with 1 vote (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-03 06:41 UTC by bht
Modified: 2016-07-10 17:18 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Shows the enablement state of javac hints (47.06 KB, image/png)
2016-07-10 17:16 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2012-03-03 06:41:44 UTC
I often forget to code it.
Comment 1 Jiri Prox 2012-03-05 12:03:59 UTC
It is already implemented
See Options -> Editor -> Hints -> Standard javac warnings 
there is hint 'Fallthrough', just turn it on
Comment 2 bht 2012-03-06 16:47:00 UTC
Sorry and thanks!
Comment 3 cezariusz 2015-04-06 16:32:59 UTC
Please consider turning this on by default. JDK 8 compiler warns about it, so you should as well. I didn't know about this option until I've found this issue.
Comment 4 Ralph Ruijs 2015-05-04 07:20:51 UTC
Reset assignee and changing to defect, as I think the warnings in the editor should be consistent with javac.
Comment 5 Martin Balin 2016-07-07 07:17:58 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 6 markiewb 2016-07-10 17:16:51 UTC
Created attachment 160332 [details]
Shows the enablement state of javac hints
Comment 7 markiewb 2016-07-10 17:18:21 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)