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.

Bug 52098 - Support for JDK5.0 modules
Summary: Support for JDK5.0 modules
Status: CLOSED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-06 11:48 UTC by Jan Lahoda
Modified: 2006-03-24 10:29 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
A patch allowing apisupport projects to use JDK5.0 features. (2.36 KB, application/octet-stream)
2004-12-06 13:11 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2004-12-06 11:48:24 UTC
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).
Comment 1 Jan Lahoda 2004-12-06 13:10:07 UTC
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).
Comment 2 Jan Lahoda 2004-12-06 13:11:24 UTC
Created attachment 19153 [details]
A patch allowing apisupport projects to use JDK5.0 features.
Comment 3 Jesse Glick 2004-12-06 18:43:36 UTC
Looks fine.
Comment 4 Jesse Glick 2004-12-06 20:30:50 UTC
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
Comment 5 Jan Lahoda 2005-03-04 10:06:31 UTC
Verified.