Article View: borland.public.jbuilder.java.language
Article #17510Re: JDK 1.2rc1 HashSet?
From: Richard Wilkman
Date: Thu, 05 Nov 1998 00:00
Date: Thu, 05 Nov 1998 00:00
38 lines
2037 bytes
2037 bytes
Tim: Make sure you are doing explicit imports (not *) for the HashSet you think you are using. JDK 1.2 has lots of places where * imports can lead to ambiguous references that you didn't have before -- esp. in the util type stuff. One that comes to mind is java.util.List and java.awt.List If you have import java.awt.* and import java.util.* you'll have a lot of fun. HashSet doesn't ring a bell, though. -Rich Tim Triemstra wrote: > > I might be out-and-out missing something here, but I keep getting an > error (80) in a block of code using get() from within HashSet. I get > the error that get(java.lang.Object) is not a method in class HashSet - > which is obviously IS. Unformtunately I get the same error in running > the compile from the command line with JDK 1.2rc1 so I don't think it is > JBuilders' fault. Is this simply a bug in JDK 1.2rc1? > > -- > Tim Triemstra ... TimTr 'at' PMGlobal 'dot' Com ... Atlanta, GA > 'com.timtr.*" Home Page: http://www.mindspring.com/~timtr/ -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<36422526.C2E572F2@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3641EEC4.8A891990@pmglobal.nospam.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,8a3d3da55c2afeab X-Google-Attributes: gidf74b3,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: JDK 1.2rc1 HashSet? Date: 1998/11/05 Message-ID: <36422526.C2E572F2@inprise.com> X-Deja-AN: 408813401 Content-Transfer-Encoding: 7bit References: <3641EEC4.8A891990@pmglobal.nospam.edu> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language