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.
A NetBeans Module project cannot have its source level set to 1.8 at Properties -> Sources -> Source Level. A workaround is to manually set javac.source=1.8 in <project>/nbproject/project.properties, but this displays in the Source Level drop-down as "1.4". Furthermore, if a change is made to the module properties (for instance changing Build -> Compiling -> Addition Compiler Options), the javac.source property is removed from project.properties, which defaults the source level to 1.4 and makes the Java8 code in the module invalid. (Tested using 8.0 rc1.)
https://hg.netbeans.org/core-main/rev/10b08fdae4de
Martin, please backport it to release80. Thanks
Done
Integrated into 'releases/release80', will be available in build *201403032200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/b1e6caab9622 User: Martin Kozeny <mkozeny@netbeans.org> Log: #242498: Can't set source level to 1.8.
Excellent, thanks (especially for getting it into the 8.0 release).
Integrated into 'main-silver', will be available in build *201403040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/10b08fdae4de User: Martin Kozeny <mkozeny@netbeans.org> Log: #242498: Can't set source level to 1.8.