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 61063 - I can not set source of javac to 1.5 !
Summary: I can not set source of javac to 1.5 !
Status: CLOSED WONTFIX
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Ryzl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-17 07:03 UTC by evzhy
Modified: 2006-10-23 16:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description evzhy 2005-07-17 07:03:46 UTC
I want to use java 1.5 feature such as generic in my j2me game programming.
But the source version is set to 1.3 and target 1.1 in the ant file default.
I had to change them, so I had to edit the build.xml's task
I edit the task pre-compile to change the ${javac.source}, but it has no function.
Why I can not change it easy in the properties of project by GUI way? 
I hope I can easy change any parameter of javac! not by edit the ant script!
Comment 1 Petr Suchomel 2005-07-17 12:30:01 UTC
As far as neither CLDC 1.0 nor CLDC 1.1 supports 1.4 and1.5 language features,
setting those source levels have no sense because application will not run at
all. -source 1.3 -target 1.1 is the only safe to provide runnable code for all
J2ME capable phones.
Note: you can use only -source 1.5 -target 1.5 or -source 1.4 -target 1.4, NOT
i.e. -source 1.5 -target 1.1
Comment 2 Lukas Hasik 2006-01-17 13:57:33 UTC
verifying all old issues