Project: JDT
Bug 95128 [refactoring] Inline method on class with varargs constructor
Reported: 2005-05-13 10:53:49 | Status: verified fixed

Against I20050513-0010 Attaching whole project, because I've not been able to determine exactly what the minimum feature set to expose the bug is. Using the attached project, inline the method getSides() on class Card. Inside the caller getSide(), a new undefined local variable is introduced. Interestingly, the local variable always has the same name as the name of the local variable through which getSides() is called from CardTest.test00threeSideConstructor.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_in/Test_95128.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_out/Test_95128.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java