Project: JDT
Bug 86684 Infer type arguments: creates compile errors when "assume clone returns same object type" is checked
Reported: 2005-02-25 14:31:43 | Status: resolved fixed

EclipseCon build - load JUnit 3.8.1 - infer type arguments - check the clone check box - observe: you get two compile errors. Both are caused by the fact that clone on Vector returns object not Vector.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InferTypeArgumentsTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsRefactoring.java