SlickEdit Community

Archived Read Only Forums => SlickEdit 2014 v19 beta => Topic started by: Marcel on August 22, 2014, 02:15:39 pm

Title: Java incomplete symbol chain (CAS-65031-TV86)
Post by: Marcel on August 22, 2014, 02:15:39 pm
SE cannot find method references that go through an interface, even though it seems to do a brute force source file scan trying to find them.

interface if: amethod();
class impl: implements if, declares amethod()
class ref: accesses amethod() through if.


Expected search result, when looking up "amethod" from within "impl"
impl ----> if ---> ref
Got:
impl



Title: Re: Java incomplete symbol chain (CAS-65031-TV86)
Post by: Dennis on August 22, 2014, 02:25:37 pm
I'll look into it.  For the record, here is the real code I used to reproduce it.  Real code examples make reproducing bugs much easier than pseudo-code.

Code: [Select]
interface ifInterface {
    void amethod();
};
class impl: implements ifInterface {
    void amethod() {
    }
}
class ref {
    void another(ifInterface b) {
        b.amethod();
    }
}
Title: Re: Java incomplete symbol chain (CAS-65031-TV86)
Post by: Marcel on August 22, 2014, 02:55:03 pm
Yeah - but what would have meant more work for me   :)
Actually, there was a sample project attached to the case I filed. Glad you could repro the problem.
Title: Re: Java incomplete symbol chain (CAS-65031-TV86)
Post by: Dennis on August 22, 2014, 06:36:10 pm
This will be fixed in the next beta drop.  Thanks for the report.