Project: JDT
Bug 81084 [1.5][search]Rename field fails on field based on parameterized type with member type parameter
Reported: 2004-12-15 05:45:08 | Status: verified fixed

M4 test pass (I20041214-2000-gtk) - Have the class below - Rename fList to fElements Expected: the field and the reference in the ctor are renamed Actual: only the field is renamed; no warning in preview Note: the same operation succeeds when not a nested type is used as parameter (e.g. String). --------- snip ----------- package com.example.m4testing; import java.util.List; public class Test { static class Element{ } static class Inner { private final List<Element> fList; public Inner(List<Element> list) { fList= list; } } }

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/RenamePrivateField/test10/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/RenamePrivateField/test10/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/RenamePrivateField/test11/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/RenamePrivateField/test11/out/A.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RenamePrivateFieldTests.java