Summary: | [1.5] NPE in SourceTypeBinding.resolveTypesFor | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | kent_johnson |
Version: | 3.0 | ||
Target Milestone: | 3.1 M1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Adam Kiezun
2004-05-27 14:45:19 EDT
Reproduced. Problem did occur if getMethod(selector) was invoked, and attempted to resolve a method which signature had problems. Indeed, it nullified the method decl binding slot, and redid entire method resolution, and reentered same code (this time unable to find proper decl for binding). Added protection to resolution of a method so as to return null in case unable to find method decl. Added regression test ReconcilerTests.testMethodWithError14() |