• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Generic typing errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generic typing errors


  • Subject: Re: Generic typing errors
  • From: Fred Shurtleff <email@hidden>
  • Date: Mon, 17 Dec 2007 14:11:22 -0500

Hi Paul,

This set off an alarm for me. Eclipse reports in the Problems window 5,000+ errors, and I am not able to find a way to turn them off (also I have an app that just plain fails). So can you tell me how you switched to JVM 1.5 (as I'm sure I am running 1.4.2)?

Also do you know what tool (WO 5.3.3/Eclipse 3.3.1.1/or WOLips3.3.4705) drives the JVM version requirement?

Thanks

Paul Armitage wrote:
Hi Daniele,

I _knew_ it would be obvious. I had two projects which still had the JRE System Library [JVM 1.4.2] in them! I made these JVM 1.5 and it all went away.

Thanks for the help.

Regards,
Paul

On 14 Dec 2007, at 11:58, Daniele Corti wrote:



2007/12/14, Paul Armitage <email@hidden>:
Hi,

I've switched to Eclipse 3.3.1.1 with WOLips 3.3.4743.

I'm on Leopard but with Wonder compiled for 53 and with the WO53
frameworks installed as per current thinking. (Many thanks Mike, what
_would_ we do without you? See, it _is_ appreciated!)

Now any source which refers to an NSMutableArray or an
NSMutableDictionary is throwing an error like this:

        NSMutableDictionary bindings = new NSMutableDictionary();

                "The type Dictionary is not generic; it cannot be parameterized with
arguments <? extends K, ? extends V>"

Does it throw an error? I only have warnings. 

For the projects I'm referring to ERExtensions, ERJars and they are
not included as projects in my workspace. In the Compiler/Errors/
Warnings/Generic types section I have all set to "Ignore", which I
thought (mistakenly it seems) would address this problem.

If it is an error you cannot make Java compiler ignore it.
If it is a warning use @SuppressWarning (I don't know the exact syntax I only know that it exists, sorry)

Could someone more familiar with Eclipse please point out what simple
and obvious setting I'm missing to switch these errors off?

Thanks,
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden

--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden


--

MacOS: Tiger 10.4.11
Eclipse: 3.3.1.1
WOLips: 3.3.4705
WebObjects: 5.3.3
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Generic typing errors
      • From: Paul Armitage <email@hidden>
References: 
 >Generic typing errors (From: Paul Armitage <email@hidden>)
 >Re: Generic typing errors (From: "Daniele Corti" <email@hidden>)
 >Re: Generic typing errors (From: Paul Armitage <email@hidden>)

  • Prev by Date: Consuming web services document style
  • Next by Date: Re: Consuming web services document style
  • Previous by thread: Re: Generic typing errors
  • Next by thread: Re: Generic typing errors
  • Index(es):
    • Date
    • Thread