Community
Participate
Working Groups
Attempts to find references (in workspace, project, or hierarchy) of the constructor Bug() wrongly finds zero references. I'm using M7. ---------------------- Bug.java -------------------------------- class Bug<Type> { Bug(){} } class Foo extends Bug<String>{ Foo(){super();} }
The above example is a default constructor, but the problem occurs even when the constructor has a parameter.
Moving to JDT/Core.
The above example has the two classes in the same source file, but the problem also occurs when the classes are in separate source files.
+1 for RC2
Fixed and released in HEAD. SourceIndexerRequestor may accept parameterized constructor => use erasure while accepting type. New search engine finds super constructor references in comment 0 test case. [jdt-core internal] Change done in SourceIndexRequestor.acceptConstructorReference(char[],int,int) Test case added in JavaSearchBugsTests
Verified for 3.1 RC2 using build N20050607-0010 +JDT/Core HEAD
Verified using N20050606-0010 + JDT/Core HEAD.
Verified with I20050610-0010