Re: import default package?

From: Frank Caputo (frank.caput..luster9.com)
Date: Mon Jan 24 2005 - 09:10:48 EST

  • Next message: Susanne Schneider: "Re: import default package?"

    Hi Susanne,

    Susanne Schneider wrote:
    > Hello Frank,
    >
    > thanks for your answer.
    >
    > Frank Caputo schrieb:
    >
    >> importing from the default-package is no longer supported by Java.
    >> http://forum.java.sun.com/thread.jspa?threadID=581825&messageID=2960157
    >>
    > I see, I'm in deed using JDK 1.4.2. But then it seems to be a bug in
    > Eclipse and the incremental builder, because the first demands the
    > import statement and the letter compiles fine? And how do you have to
    > handle such case (using default package classes) correct?

    Obviously you can not use the default package "correctly", because Sun
    thinks that using the default package is not correct. Simply put all
    your classes into a package.

    Ciao Frank

    >
    > Regards,
    > Susanne



    This archive was generated by hypermail 2.0.0 : Mon Jan 24 2005 - 09:10:53 EST