Community
Participate
Working Groups
Build ID: M20060921-0945 Steps To Reproduce: 1. create Java Project "aaa" 2. create Java Class "One" in the default package with static method "one" 3. create Java Class "Two" in package "aaa" with a static method "two" 4. create Plug-in Project "bbb" 5. change the Project properties of "bbb" to add "aaa" to the Java Build Path 6. in a class in "bbb" try to reference "One" and "Two". Problem: Only the reference to "Two" will work. More information: I was talking to TJ Houghton on the Eclipse team, and he seemed to think that this might be a problem.
Depending of your compiler settings, it is forbidden to import from the default package. In step 6, is your class in the default package ?
The class I'm importing INTO in Step 6 is not in the default package.
References to types in default package are not allowed from outside the default package, since Java 1.4. If you still want to reach One, then toggle compiler settings to 1.3 compliance. Closing as Invalid. The current behavior matches expectation.
Verified for 3.4M4