Community
Participate
Working Groups
AK (10/2/2001 6:11:32 PM) package p; class A{ protected int g; void m(){ g++; } } class B extends A{ void m(){ g= 0; } } search for occurrences of A.g - none are found NOTES: JBL (10/3/2001 7:34:42 PM) I cannot reproduce in 202a. I find 3 occurences of A.g. Do you have more details? AK (10/4/2001 12:40:22 PM) (i tried the latest STABLE jcore - not bare 202a) 1. in a new workspace create a new project 2. create a package p 3. create a class A and paste the code 4. search for pretty much anything and it'll fail: types, fields, methods (declarations, references etc.) after restarting, searching for occurrences of A.g finds 2 matches JBL (10/4/2001 12:52:56 PM) 202a and STABLE have a known problem: a ClassCastException occurs when indexing if you have proj=src=bin. That's why search fails for anything. This is fixed in SNZ's HEAD stream. When restarting, the indexes are recomputed and the ClassCastException doesn't occur. The fact that search missed the match in B.m() has also been fixed in SNZ's HEAD stream.
Ok to close?
yes
Added JavaSearchTests.testFieldReference(). Closing
PRODUCT VERSION: 202a
fsafsf