Summary: | NPE when asking an IMethodBinding whether it overrides itself | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Markus Keller
2004-11-27 23:09:38 EST
Jérôme, It is possible that the compilationUnitResolver on DefaultBindingResolver is null. To reproduce add this line at the end of test0081 in ASTConverter15Test. assertFalse("Doesn't override itself", methodBinding.overrides(methodBinding)); Changed DefaultBindingResolver to store the lookup environment instead of the CompilationUnitResolver. Added regression test CompatibilityRulesTests#test022() Verified for 3.1 M4 using build I200412142000 + ASTView 1.0.2. |