Community
Participate
Working Groups
We had 2 order dependent problems deleting secondary types... in the first when a source file was compiled before the secondary type was deleted, it did not think it was missing. In the second, we aborted the build because we could not find the .class file. Both are fixed by deleting secondary types at the end of the compile loop & removing the previousLocations optimization. Start by building the following types, then turn off auto-build: AA.java: public class AA {} class AZ {} AB.java : public class AB extends AZ {} BB.java : public class BB { void foo() { System.out.println(new AB()); System.out.println(new ZA());}} ZZ.java : public class ZZ {} class ZA {} Case 1: Comment out AZ and touch the file BB. Case 2: Comment out ZA and touch the file BB.
Both problems are fixed by deleting secondary types at the end of the compile loop & removing the previousLocations optimization.
Verified