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.
While creating a Web Project I uncheck "Set Source Level to 6" but the resulting project still has the Source/Binary Format set to JDK6. I'm using a Java EE 6 application server that is supported on JDK 7 (WebLogic 12c) and only have one JDK installed (jdk1.7.0_17). The help displayed by the Help button when creating a project is missing a description for "Set Source Level to 6" but I'm assuming that it should allow my project to default to JDK7 source/binary format when unchecked. So far I can't detect that the "Set Source Level to 6" checkbox has any impact on the project.
I recently noticed this myself while updating logic of the code for EE7. If I remember well I completely changed it and it should work now as advertised in the UI. Needs to be retested in 7.3.1 release.
Just tested with Build 201304042355 and now it is even worse. The checkbox is gone and is replaced by text that says "Note: Source Level 6 will be set for Java EE 6 projects.". I use Java SE 7 features in my EE 6 apps! It doesn't matter if EE 6 originally only required SE 6. SE 6 is now EOL. I have only SE 7 installed and my server (WLS) is certified to run on SE 7. Why are you forcing my projects to SE 6 by default? It makes no sense.
Indeed, that does not make sense. The wizard should ask the selected application server whether source level is acceptable or not. I'm fixing that in #29ace2f51bbf. I tested it on GF and it works as expected now. Looking at Weblogic code base I do not see 1.7 as acceptable source level so passing to PetrH to fix that. Thanks for testing it and bringing it to our attention.
I transplanted the fix into javaee7 branch as b829c036c116. I know, I should have done it the other way around.
Fixed in javaee7 branch - web-main 3d3b0d2b9514.