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.
Created attachment 144944 [details] sample project Environment: Product Version: NetBeans IDE Dev (Build 201402040001) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b128 System: Mac OS X version 10.9.1 running on x86_64; UTF-8; en_US (nb) Steps to reproduce: 1. Configure NetBeans to use JDK8 in netbeans.conf 2. Open project which is set up to use JDK6 (project in zip attached) 3. Open file JavaApplication3 in editor Line 10 contains an error in JDK6, which is not an error in JDK7 and above anymore Expected result: The java editor points out compilation errors that would be triggered at compilation (line 10 in the file mentioned above) Actual result: The editor does not notify the user. The user only finds out upon compilation.
As you have said - your example is compilable when using JDK7 javac compiler and it is not compilable when using JDK6 javac. Since the NB 8.0 editor uses JDK8 javac for its internal compilation, no errors are reported. Sorry - closing as WONTFIX.