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.
[ BUILD # : Beta ] [ JDK VERSION : 1.6.* ] Let's have in a JDK-7 project: List<T> list = new ArrayList<T>(); I get a "Use diamond operator" hint. If I change the source format of the project to 1.6, this hint doesn't disappear. Additionally no error is detected on a string switch statement.
Unfortunately, there is no support for listening on the source format changes in the current SourceLevelQuery. Therefore, error badges and hints are updated on the first reparse of the document (can be initiated by typing, moving focus out and back to the document, etc.). P4 IMHO.
Makes sense, scheduling for 6.10.
Fixed jet-main 05c1ac38a4a6