Bug 24514

Summary: dependency analyzer is broken
Product: [Eclipse Project] JDT Reporter: Vladimir Grishchenko <vladgri>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.1   
Target Milestone: 2.1 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Vladimir Grishchenko CLA 2002-10-08 11:21:07 EDT
The following classes reside in separate files and are compiled :

public interface ITest{
 void foo();
}

public class TestImpl implements ITest{
 public void foo(){}
}

public class TestImpl1 extends TestImpl /*implements ITest*/{
}

Steps:
1. Comment out TestImpl.foo(), save, TestImpl is marked with a compilation
problem, but TestImpl1 is not, do a full project rebuild and see no
difference.
2. Make TestImpl1 implement ITest in addition to extending TestImpl, save, 
TestImpl1 is still clean according to Package
Explorer, do a full project rebuild and get compilation error in
TestImpl1 this time.
3.Uncomment TestImpl.foo(), save. TestImpl1 is still marked with a
compilation problem, somehow do a "touch" on TestImpl1 and save it,
error marker goes away...

This problem exists in both 2.0 and 2.0.1

According to Philippe (1) is expected but (2) and (3) are wrong.
Comment 1 Kent Johnson CLA 2002-10-08 14:08:51 EDT
Fix was released into the 2.1 stream a month ago.

*** This bug has been marked as a duplicate of 22635 ***