Community
Participate
Working Groups
When a project contains over 2000 source files (current value of MAX_AT_ONCE constant that controls how many files are compiled together) and some source files define secondary types... its possible that a full/batch build will end with errors of the form "The type X is already defined". The fix for bug 106446 is not sufficient to handle this case. To reproduce, change the MAX_AT_ONCE constant to 1 and compile these 2 files: A. java class A {} class C extends A {} ================= B.java class B { C z = new A(); // reference to secondary type C MUST come before A }
Created attachment 44039 [details] Proposed patch
Released for 3.3M1 in HEAD. Released for 3.2.1 in TARGET_321 branch.
Verified for 3.3 M1 using build I20060807-0010.
Verified for 3.2.1 using build M20060908-1655.
This bug, or something similar still occurs with 3.2.2 I have a project where, after upgrading to 3.2.2 using internal update, This problem re-surfaces.
Please enter a new bug with a reproduceable testcase.
Additional research in to our case has resolved the problem which had a big similarity to this bug: suffice it to say the problem ultimately didn't have anything to do with Eclipse. Lesson learned: be thorough in analysis before barking.