Re: Package stratagies (are there some?)
Re: Package stratagies (are there some?)
- Subject: Re: Package stratagies (are there some?)
- From: David LeBer <email@hidden>
- Date: Wed, 16 Mar 2005 19:13:54 -0500
On Mar 16, 2005, at 5:18 PM, Colin Clark wrote:
I have MyEOThing.java in the default package, and want to reference
it in a packaged class. Is not this impossible? because there is no
importing a class from the default package since in JDK 1.4?
Sorry, I missed your previous mention of JDK 1.4. For various reasons,
I'm still stuck on JDK 1.3 so it's never been a problem. You're right,
1.4 doesn't allow importing from the default package. The solution is
to move your MyEOThing class into a real package.
Ancillary to the package discussion... Eclipse makes this kind of
re-factoring excruciatingly easy. Heck I move classes between packages
for fun...
;david
--
David LeBer
Senior Systems Developer
PiMedia
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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