Project: JDT
Bug 165758 [inline] Inline local in constructor with compile error does remove code
Reported: 2006-11-24 03:55:05 | Status: resolved fixed

I20061121-1845 Given: package test; public class E1 { public E1(String label) {} public E1() { String s= "foo"; this(s); } } 1. Select variable 's' 2. Inline 's' (either through quick assist or through refactor menu) Is: public E1() { this(s); } Should: public E1() { this("foo"); } No exception is thrown.

Files changed in fix:
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/InlineTempWizard.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringMessages.java