Bug 6602

Summary: extract method: syntax errors after extracting a block [refactoring]
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 Keywords: investigate
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2001-12-05 12:59:35 EST
package p;
class A{
	void m(){
		int i= 1 + 1;
		if (i < 0)/*[*/{
			i += i;
			return;
		}/*]*/ else
		 m();
	}
}
Comment 1 Dirk Baeumer CLA 2002-01-29 09:57:02 EST
Everything works fine if you select the statement inside a block. Since this is 
a rare case I would like to postpone > 2.0
Comment 2 Dirk Baeumer CLA 2002-01-29 09:57:39 EST
Changed resolution to LATER
Comment 3 Dirk Baeumer CLA 2002-07-25 14:25:49 EDT
Should simply not allow this.
Comment 4 Adam Kiezun CLA 2003-02-18 13:40:38 EST
btw, still broken in 20030217
Comment 5 Dirk Baeumer CLA 2003-04-28 06:02:57 EDT
Chaning state from assigned later to resolved later. Assigned later got 
introduced by the last bug conversion and is not a supported Eclipse bug state.
Comment 6 Denis Roy CLA 2009-08-30 02:17:53 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.