Summary: | [dom] [5.0] NPE when creating AST | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> | ||||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | eclipse | ||||||
Version: | 3.0 | ||||||||
Target Milestone: | 3.1 M4 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Martin Aeschlimann
2004-12-15 08:54:41 EST
*** Bug 80949 has been marked as a duplicate of this bug. *** Simpler test case. Create an AST and resolve the following cu: public class X { <T> void foo(NonExisting arg) { } } Created attachment 16642 [details]
Proposed patch
Fix consists in nullifying the type variable bindings if there is a problem
with the argument, so that there is no backpointer to an invalid method
binding.
Created attachment 16643 [details]
Regression test
Released fix and test to HEAD Regression test is ASTConverter15Tst#test0095 Verified in 200412160010 |