Bug 29516 - SearchEngine regressions in 20030114
Summary: SearchEngine regressions in 20030114
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-GTK
: P3 major (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-15 04:27 EST by Adam Kiezun CLA
Modified: 2003-02-06 12:07 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 Adam Kiezun CLA 2003-01-15 04:27:50 EST
(these regressions are responsible for failing refactoring tests in 20030107)

package p;
class A{
   A A;
   A A(A A){
	 A:
		for (;;){
		  if (A.A(A)==A)
			 break A;
		}
	  return A;
   };
}
Comment 1 Adam Kiezun CLA 2003-01-15 04:31:30 EST
stupid bugzilla - lost the rest of the report

the rest went like this:

20030107 found (correctly) 3 references to A
20030114 found 4 more (bogus) references (marked as inexact)
Comment 2 Adam Kiezun CLA 2003-01-15 04:38:56 EST
more cases:

package p;
class A{
   boolean A = new A() instanceof A;
   A A(A A){
     A:
        for (;;){
          if (A.A(A)==A)
             break A;
        }
      return A;
   };
}
class AA extends A{
   A A = (A) new A();
   A A(A A){
     A:
        for (;;){
          if (A.A(A)==A)
             break A;
        }
      return A;
   };
}
Comment 3 Adam Kiezun CLA 2003-01-15 04:39:38 EST
(can't believe it - it lost it again!)
20030107 found (correctly) 3 references to A
20030114 found 4 more (bogus) references (marked as inexact)

Comment 4 Adam Kiezun CLA 2003-01-15 04:41:11 EST
package p;
public class A {
	A(A A){}
	A A(A A){
		A= new A(new A(A));
		return A;
	}
}
Comment 5 Adam Kiezun CLA 2003-01-15 04:42:27 EST
(it lost it again! or maybe it's the linux thing)
anyway- here's the last part of the report
20030107 found (correctly) 5 references to A
20030114 found 3 more (bogus) references (marked as inexact)


Comment 6 Adam Kiezun CLA 2003-01-15 04:58:19 EST
comment 3 should be like this
20030107 found (correctly) 10 references to A
20030114 found 8 more (bogus) references (marked as inexact)
Comment 7 Jerome Lanneluc CLA 2003-01-15 07:07:28 EST
Fixed. This will be in today's rebuild.
Comment 8 Jerome Lanneluc CLA 2003-01-15 07:24:02 EST
Added regression test JavaSearchTest.testTypeReference2()
Comment 9 David Audel CLA 2003-02-06 12:07:32 EST
Verified.