HELP: Eclipse with JSR14 [message #43368] |
Thu, 29 May 2003 18:40 |
Eclipse User |
|
|
|
Originally posted by: budimlic.myrealbox.com
Hi everyone!
I am relatively new to this forum, and I have an urgent question:
Is there a (relatively) painless way to integrate JSR14 (the new prototype
from Sun for the 1.5 that uses generics, enums e.t.c.) into Eclipse?
I am fully aware that the full functionality (hovering, hierarchy browsing,
probably even syntax checking) would require a lot of
work to get it to work properly.
I am ONLY looking for simple functionality: compiling the project and
debugging it.
Thanks a lot,
Zoran.
|
|
|
|
|
|
Re: HELP: Eclipse with JSR14 [message #46093 is a reply to message #45919] |
Sun, 01 June 2003 07:32 |
Eclipse User |
|
|
|
Originally posted by: stelian.iancu.gmx.net
Johan Compagner wrote:
>> Debugging shouldn't be a problem, if you remember to put the new classes
>> into the library path. The generated bytecode is backward compatible
>> AFAIK. However, because Sun decided, to implement autoboxing of ints
>> using a new static method Integer.valueOf(int) instead of simply calling
>> "new Integer(...)", the generated code doesn't work with a normal JDK
>> 1.4.x anymore. There's a good reason for the new method, but as long as
>> it's not implemented the way the description suggests, it's an annoyance.
>
> now i am curious.
> Whats the good reason for this new method?
>
> and one thing else (i didn't test it yet and the download page is under
> maintenence now at java.sun) what happens with this:
>
> Integer a = null;
> int b = a;
>
> what do i get?
>
> johan
Well, AFAIK there were some debates whether a NPE should be thrown or the
value for b should be 0. But I don't know what's the final decision. There
was an interview with Joshua Bloch (don't remember the URL though) where he
talked a bit about all this new stuff in Tiger.
--
Stelian Iancu
Linux registered user 287835
Be different. Think.
|
|
|
|
Re: Eclipse with JSR14 [message #47096 is a reply to message #45949] |
Tue, 03 June 2003 08:44 |
Philippe Mulet Messages: 229 Registered: July 2009 |
Senior Member |
|
|
Indeed, JDT/Core is busy investigating support for Java-like languages, new
code formatter, new syntax error messages, new index infrastructure and
JavaModel cleanup... generics and other 1.5 features are queued behind
these.
"Johan Compagner" <jcompagner@j-com.nl> wrote in message
news:bbatrq$q1l$1@rogue.oti.com...
> it is in the project plan of the next release
>
> So it will be there in one of the milestone/integration builds
> But i think this will not make it for a while.
>
> johan
>
>
> "Zoran Budimlic" <budimlic@myrealbox.com> wrote in message
news:bb5k7g$dsk$1@rogue.oti.com...
> > Hi everyone!
> >
> > I am relatively new to this forum, and I have an urgent question:
> >
> > Is there a (relatively) painless way to integrate JSR14 (the new
prototype
> > from Sun for the 1.5 that uses generics, enums e.t.c.) into Eclipse?
> >
> > I am fully aware that the full functionality (hovering, hierarchy
browsing,
> > probably even syntax checking) would require a lot of
> > work to get it to work properly.
> >
> > I am ONLY looking for simple functionality: compiling the project and
> > debugging it.
> >
> > Thanks a lot,
> >
> > Zoran.
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.24401 seconds