Home » Eclipse Projects » Eclipse Platform » Java 1.5/5.0 now!
Java 1.5/5.0 now! [message #272595] |
Thu, 23 September 2004 19:18  |
Eclipse User |
|
|
|
Originally posted by: overbored.overbored.net
Is it possible to get Java 1.5/5.0 for Eclipse right now? I know it's under
development (as is Sun's JDK), but if it's stable enough, I'd like to use
it ASAP. The only things I'd use from Java 5 for now are generics, auto-
boxing, the new for loop, and maybe printf - basically, none of the
advanced/non-language-sugarcoating features. If it supports these, how do I
get it? All I've been able to find on this is
http://www.vasanthdharmaraj.com/PermaLink,guid,be41926c-4d38 -4c16-a273-
6f586c00de11.aspx, but I'm afraid to follow this as it's outdated and
provides me with no info on how well the JDT would suit my needs in its
current state. Thanks in advance.
|
|
|
Re: Java 1.5/5.0 now! [message #272596 is a reply to message #272595] |
Thu, 23 September 2004 19:52   |
Eclipse User |
|
|
|
The plan for the Eclipse support is available here:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt- core-home/r3.1/main.html#release-plan
or
Download the latest 3.1 release (M2 is coming out at the end of this week)
and try it :-). The cheetah support mentioned on the blog has been rolled in
to the main 3.1 stream and is being worked on there.
HTH
Darins
"overbored" <overbored@overbored.net> wrote in message
news:Xns956DA6B42D810yangstaoverbored@204.138.98.10...
> Is it possible to get Java 1.5/5.0 for Eclipse right now? I know it's
under
> development (as is Sun's JDK), but if it's stable enough, I'd like to use
> it ASAP. The only things I'd use from Java 5 for now are generics, auto-
> boxing, the new for loop, and maybe printf - basically, none of the
> advanced/non-language-sugarcoating features. If it supports these, how do
I
> get it? All I've been able to find on this is
> http://www.vasanthdharmaraj.com/PermaLink,guid,be41926c-4d38 -4c16-a273-
> 6f586c00de11.aspx, but I'm afraid to follow this as it's outdated and
> provides me with no info on how well the JDT would suit my needs in its
> current state. Thanks in advance.
|
|
| | | | |
Re: Java 1.5/5.0 now! [message #272628 is a reply to message #272627] |
Fri, 24 September 2004 09:00   |
Eclipse User |
|
|
|
OK, I was not clear enough. All the 1.5 constructs can be parsed (in 3.1 M1
and M2) but parsing is only part of the work. The real work (resolution,
flow analysis, code gen, etc ) to support enumeration, autoboxing, static
imports, metadata work has not yet started.
Jerome
"Steven Buroff" <sburoff@optonline.net> wrote in message
news:cj1523$grj$1@eclipse.org...
> Enums definitely don't work in 3.1M1. You can declare them OK but any
> attempt to use them results in errors. I'm hoping they will be in M2 which
> is due out today or tomorrow but I don't know.
>
> Steve
>
> "Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote in message
> news:cj0vdu$5nh$1@eclipse.org...
> > What I read from the plan is:
> > - generic support is being developed,
> > - enhanced for loops work is completed
> > - enumeration, autoboxing, static imports, metadata work has not yet
> started
> >
> > Jerome
> >
> > "overbored" <overbored@overbored.net> wrote in message
> > news:Xns956E1CD82BDCyangstaoverbored@204.138.98.10...
> > > "Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in
> > > news:civndk$86d$1@eclipse.org:
> > >
> > > > http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt- core-
> > > home/r
> > > > 3.1/main.html#release-plan
> > >
> > > Um...so, does this just not support any of the features I mentioned,
or
> > > do I have to configure something? I'm running 3.1 and I set the
compiler
> > > compliance to 1.5, but when I do:
> > >
> > > Vector<int> v;
> > >
> > > or
> > >
> > > Vector v;
> > > int x;
> > > v.add(x);
> > >
> > > I get errors.
> >
> >
>
>
|
|
|
Re: Java 1.5/5.0 now! [message #272629 is a reply to message #272614] |
Fri, 24 September 2004 09:26  |
Eclipse User |
|
|
|
overbored wrote:
[..]
> Um...so, does this just not support any of the features I mentioned, or
> do I have to configure something? I'm running 3.1 and I set the compiler
> compliance to 1.5, but when I do:
>
> Vector<int> v;
>
> or
>
> Vector v;
> int x;
> v.add(x);
>
> I get errors.
Make sure you've set up an 1.5 JRE to compile against. Furthermore, the type
Vector<int> is not valid - primitive types cannot be used as generic type
parameters.
Markus
|
|
|
Goto Forum:
Current Time: Thu May 08 22:24:51 EDT 2025
Powered by FUDForum. Page generated in 0.02986 seconds
|