Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » problem with Java 1.5 code
problem with Java 1.5 code [message #185118] Wed, 10 November 2004 12:27 Go to next message
Eclipse UserFriend
Originally posted by: rkuropkat.objectsciences.com

Thought I would post here before submitting it as a bug. I am looking
at some Java 1.5 based code. The code compiles fine at the the command
line but shows errors in the IDE. eg.

code line:

seRow.setInteger(11, Integer.parseInt(Long.toString(sigact.getFred())));


error in Problems tab:

Severity Description Resource In Folder Location Creation Time
2 The method setInteger(int, Integer) in the type SeRow is not
applicable for the arguments (int, int) FredThread.java fred/src/fred
line 210 November 10, 2004 12:08:12 PM

In the compiler options I have the compiler compliance level set to 5.0.
Eclipse version 3.1.0 build id 200411050810.

Is this a bug? Configuration issue? Or feature yet to be?

Thanks
Robert Kuropkat
Re: problem with Java 1.5 code [message #185126 is a reply to message #185118] Wed, 10 November 2004 13:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: olivier_thomannNOSPAM.ca.ibm.com

Robert Kuropkat a écrit :
> seRow.setInteger(11,
> Integer.parseInt(Long.toString(sigact.getFred())));
>
>
> error in Problems tab:
>
> Severity Description Resource In Folder Location Creation
> Time
> 2 The method setInteger(int, Integer) in the type SeRow is not
> applicable for the arguments (int, int) FredThread.java
> fred/src/fred line 210 November 10, 2004 12:08:12 PM
> Is this a bug? Configuration issue? Or feature yet to be?
Autoboxing is not supported yet.
You can create an Integer with the result of
Integer.parseInt(Long.toString(sigact.getFred())) and it will work.
--
Olivier
Re: problem with Java 1.5 code [message #185134 is a reply to message #185126] Wed, 10 November 2004 14:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bretbb.yahoo.com

Any idea when autoboxing will be supported. It is the last milestone that
I need implemented so I can switch back to eclipse from netbeans. I had
to use NetBeans to handle enums, varargs etc..It looks like M3 handles
enums and varargs correctly now...I just need autoboxing....Can't wait
to get back to eclipse..NetBeans doesn't hold a candle to eclipse...

"Olivier Thomann" <olivier_thomannNOSPAM@ca.ibm.com> wrote in message
news:cmtlng$f05$1@eclipse.org...
> Robert Kuropkat a
Re: problem with Java 1.5 code [message #185167 is a reply to message #185134] Wed, 10 November 2004 15:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: olivier_thomannNOSPAM.ca.ibm.com

Bret Butcher a écrit :
> Any idea when autoboxing will be supported. It is the last milestone that
> I need implemented so I can switch back to eclipse from netbeans. I had
> to use NetBeans to handle enums, varargs etc..It looks like M3 handles
> enums and varargs correctly now...I just need autoboxing....Can't wait
> to get back to eclipse..NetBeans doesn't hold a candle to eclipse...
It is on the plan for the next milestone.
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt- core-home/r3.1/main.html#milestone-plan
--
Olivier
Re: problem with Java 1.5 code [message #188925 is a reply to message #185167] Wed, 08 December 2004 14:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scott.removethis.chris.gmail.com

Olivier Thomann wrote:
> Bret Butcher a écrit :
>
>> Any idea when autoboxing will be supported. It is the last milestone that
>> I need implemented so I can switch back to eclipse from netbeans. I had
>> to use NetBeans to handle enums, varargs etc..It looks like M3 handles
>> enums and varargs correctly now...I just need autoboxing....Can't wait
>> to get back to eclipse..NetBeans doesn't hold a candle to eclipse...
>
> It is on the plan for the next milestone.
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt- core-home/r3.1/main.html#milestone-plan
>
> --
> Olivier

I was recently looking to develop Java1.5 with eclipse. Seeing as it's
not nearly completed, I'd like to help. I found a page at
http://www.3plus4.de/eclipse/cheetah.html detailing cvs access to the
JAVA_1.5 branch, but I've also heard that many changes found their way
back into HEAD.

So, where do I begin? What needs the most work? Any references for an
eclipse developer newbie?

~Chris
Re: problem with Java 1.5 code [message #188934 is a reply to message #188925] Wed, 08 December 2004 14:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: olivier_thomannNOSPAM.ca.ibm.com

Chris a écrit :
> I was recently looking to develop Java1.5 with eclipse. Seeing as it's
> not nearly completed, I'd like to help. I found a page at
> http://www.3plus4.de/eclipse/cheetah.html detailing cvs access to the
> JAVA_1.5 branch, but I've also heard that many changes found their way
> back into HEAD.
In fact everything is in HEAD now.

> So, where do I begin? What needs the most work? Any references for an
> eclipse developer newbie?
We need more testing of the existing support :-). You can get the latest
code from nightly builds and write 1.5 code. If you find bugs, please
report them against the JDT/Core component.

Thanks for your help,
--
Olivier
Re: problem with Java 1.5 code [message #188941 is a reply to message #188934] Wed, 08 December 2004 14:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scott.removethis.chris.gmail.com

Olivier Thomann wrote:
> Chris a écrit :
>
>> I was recently looking to develop Java1.5 with eclipse. Seeing as
>> it's not nearly completed, I'd like to help. I found a page at
>> http://www.3plus4.de/eclipse/cheetah.html detailing cvs access to the
>> JAVA_1.5 branch, but I've also heard that many changes found their way
>> back into HEAD.
>
> In fact everything is in HEAD now.
>
>> So, where do I begin? What needs the most work? Any references for an
>> eclipse developer newbie?
>
> We need more testing of the existing support :-). You can get the latest
> code from nightly builds and write 1.5 code. If you find bugs, please
> report them against the JDT/Core component.
>
> Thanks for your help,
> --
> Olivier

Hmmm... I guess I'll do that. From the milestone link you posted it
says that autoboxing and static imports aren't complete. What about the
other 1.5 features? Is there a maintained list of currently supported
1.5 features?

Is there a test suite of code?

Perhaps, I'll also peruse the bug list.

~Chris
Re: problem with Java 1.5 code [message #188965 is a reply to message #188941] Wed, 08 December 2004 15:30 Go to previous message
Eclipse UserFriend
Originally posted by: olivier_thomannNOSPAM.ca.ibm.com

Chris a écrit :
> Hmmm... I guess I'll do that. From the milestone link you posted it
> says that autoboxing and static imports aren't complete. What about the
> other 1.5 features? Is there a maintained list of currently supported
> 1.5 features?
We don't have a complete support of autoboxing. It is partially
supported in HEAD.
Static imports don't work yet for accessing public static methods.

We know we have some issues with enum types.

> Is there a test suite of code?
You can look at the jdt.core.tests.compiler.

> Perhaps, I'll also peruse the bug list.
This is the best place to look at. All 1.5 open issues should use the
1.5 tag in the PR description.
--
Olivier
Previous Topic:is @SuppressWarnings supported in M3?
Next Topic:Corrupted Eclipse won't start
Goto Forum:
  


Current Time: Sun May 11 08:48:49 EDT 2025

Powered by FUDForum. Page generated in 0.04402 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top