Community
Participate
Working Groups
TEST CASE: /project/src (2 files) - com/parasoft/test/Client.java : public class Client { public static void main() { Manager manager = Factory.getManager(); manager.printResults(); } } - com/parasoft/test/Factory.java : public class Factory { public static Manager getManager() { return new Manager(); } } class Manager { public void printResults() { } } When you build this project in eclipse, no error is found. However, when you open the com.parasoft.test.Client, you will find 2 errors. It looks like eclipse cannot handle more than one class in a file.
This is a known issue with secondary types fooling the editor. *** This bug has been marked as a duplicate of 36032 ***