Hi Graham, The only problem we see here is that IDEA didn't warn that ClassTwo was package-local. In this case it is an option to suggest to make the visibility of the referenced class wider. The error described in the item 3 is the implication of the first two steps: after step 2 the import is erroneous and is simply ignored afterwards. We already have a request to address such "visibility problems" and it is planned to implement it in Ariadna.
Best regards, Eugene Zhuravlev IntelliJ Software, http://www.intellij.com/ "Develop with pleasure!" ----- Original Message ----- From: "Graham Lea" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 11, 2002 6:48 Subject: [Eap-list] Bugs in Move Class > 1. There exists ClassOne and ClassTwo, both in the same package. ClassOne > refers ClassTwo, but ClassTwo is only package-visibility. > 2. Move ClassOne only to a different package - ClassTwo is imported but the > reference is now an error (class is not public) > 3. Move ClassTwo into the same package. The import remains in ClassOne, > pointing to the old package, and appears as an error. > > Also, performing an undo on a Move doesn't seem to go too well. It appeared > to move the file but not change the package name back. > > Graham Lea > > -- > Software Engineer > Forge Research Pty Ltd > Suite 116, Bay 9, Locomotive Workshop > Australian Technology Park, Cornwallis Street > Eveleigh NSW 1430 Australia > Phone: +61 2 9209 4152 Fax: +61 2 9209 4172 > www.forge.com.au > > ---------------------------------------------------------------------- > This message contains privileged and confidential information intended > only for the use of the addressee named above. If you are not the > intended recipient of this message you must not disseminate, copy or > take any action in reliance on it. If you have received this message > in error please notify the sender immediately. Any views expressed in > this message are those of the individual sender, except where the > sender specifically states them to be the views of another (including > a Body Corporate). > ---------------------------------------------------------------------- > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
