Bug 24514 - dependency analyzer is broken
Summary: dependency analyzer is broken
Status: RESOLVED DUPLICATE of bug 22635
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M1   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-08 11:21 EDT by Vladimir Grishchenko CLA
Modified: 2003-03-23 12:29 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***