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 56614 - Generate Java 5.0 code where appropriate
Summary: Generate Java 5.0 code where appropriate
Status: STARTED
Alias: None
Product: ide
Classification: Unclassified
Component: Schema2Beans (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: schema2beans-issues@ide
URL: http://schema2beans.netbeans.org/serv...
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 19:02 UTC by Petr Jiricka
Modified: 2008-02-28 23:55 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2005-03-17 19:02:44 UTC
Filing on behalf of Sanjeeb.Sahoo@Sun.COM

Is there a version of schema2beans that generates JDK 1.5 compatible 
code? I am especially interested to know if it generates code that uses 
generics and enumerated types. I just downloaded version 4.0 and it does 
not appear to support any of these. What is the plan for supporting them?

Thanks,
Sahoo
Comment 1 _ markroth8 2005-04-08 19:53:41 UTC
I second this request.  I'd like to be able to compile my code without getting
"unchecked call to ..." warnings.  Suppressing these warnings masks the display
of warnings in my own code.
Comment 2 _ cliffwd 2005-08-06 23:48:58 UTC
The latest version supports this with the -target command line switch.  Use
like: -target 1.5 or -target 5.0.
Specifically, the generic types are generated.  Enumerated types are not there.
My beans now compile without the warnings and have nicer types.
Comment 3 Dongmei Cao 2008-02-28 23:55:38 UTC
Is there an option on ant task to generate 5.0 code?