Project: JDT
Bug 201587 [quick fix] change type does not fully qualify conflicting type
Reported: 2007-08-29 11:27:08 | Status: resolved fixed

I20070828-0800 Given: package test2; public class E02 {} package test1; public class E01 { private class E02 {} private E02 e02; public E01() { e02= new test2.E02(); } } 1. Go to compile error 2. Ctrl-1 3. 'Change type of e02 to E02' Is: test2.E02 is imported Should: Field type should be fully qualified

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/TypeMismatchQuickFixTests.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/proposals/TypeChangeCorrectionProposal.java