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.
It would be nice if the apisupport/project and nbbuild/templates/projectized.xml would support modules written in JDK5.0 (or, more generally, under virtually any JDK version by poviding means of customizing the source level entry).
Well, I made a patch (attached) that should provide this funtionality. If in the nbproject/project.properties is property "javac.source", it is used as the java version to use for this module (no checks whether it is >= 1.4).
Created attachment 19153 [details] A patch allowing apisupport projects to use JDK5.0 features.
Looks fine.
With another minor fix for boot.jar: committed * Up-To-Date 1.38 apisupport/project/src/org/netbeans/modules/apisupport/project/ClassPathProviderImpl.java committed * Up-To-Date 1.48 apisupport/project/src/org/netbeans/modules/apisupport/project/NbModuleProject.java committed * Up-To-Date 1.2 apisupport/project/src/org/netbeans/modules/apisupport/project/SourceLevelQueryImpl.java committed * Up-To-Date 1.20 apisupport/project/src/org/netbeans/modules/apisupport/project/UnprojectizedSourceForBinaryImpl.java committed * Up-To-Date 1.30 nbbuild/templates/projectized.xml
Verified.