Summary: | NPE in AST creation | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Erich Gamma <erich_gamma> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | johan.walles |
Version: | 3.0 | ||
Target Milestone: | 3.1 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Erich Gamma
2004-09-22 06:36:04 EDT
grr... when in this state I cannot copy the source anymore... here it is (you have to disable Update imports on Paste) file InheritedTestCase.java package junit.tests; import java.util.ArrayList; import java.util.Enumeration; import java.util.Iterator; import java.util.List; import junit.framework.Test; /** * Test class used in SuiteTest */ public class InheritedTestCase extends TestCase { public InheritedTestCase(String name) { super(name); } public void test2() { List<String> l= new ArrayList<String>(); for (Iterator<String> i= l.iterator(); i.next(); ) { } } } Custom conversion were missing null checks. Added regression test: GenericTypeTest#test301 Fixed Test is actually #test302. *** Bug 74066 has been marked as a duplicate of this bug. *** Verified for 3.1 M2 with build I200409231635. |