• 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: Package stratagies (are there some?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Package stratagies (are there some?) (From: Colin Clark <email@hidden>)

  • Prev by Date: Re: Package stratagies (are there some?)
  • Next by Date: Double value problem in D2W app
  • Previous by thread: Re: Package stratagies (are there some?)
  • Next by thread: Re: Package stratagies (are there some?)
  • Index(es):
    • Date
    • Thread