Project: JDT
Bug 11853 extract method: incorrectly allowed on constructor invocation
Reported: 2002-03-20 09:36:57 | Status: resolved fixed

tests 180 and 181 fail - disabled them for now just in case i'll put them here: public class A_test180 { public A_test180() { /*]*/this(10); foo();/*[*/ } public A_test180(int i) { super(); } public void foo() { } } public class A_test181 { public A_test181() { /*]*/super(); foo();/*[*/ } public void foo() { } }

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/A.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java