Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318552

Summary: NPE in ExpressionWriter for unary expression without an operand
Product: [Tools] CDT Reporter: Emanuel Graf <emanuel>
Component: cdt-refactoringAssignee: Emanuel Graf <emanuel>
Status: CLOSED FIXED QA Contact: Emanuel Graf <emanuel>
Severity: normal    
Priority: P3    
Version: 7.0   
Target Milestone: 7.0.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch with test case emanuel: iplog-

Description Emanuel Graf CLA 2010-07-01 04:01:33 EDT
void rethrow() {
	try {
		int i = 1;
		throw i;
	}
	catch(int j) {
		throw;
	}
}
Comment 1 Emanuel Graf CLA 2010-07-01 04:10:45 EDT
Created attachment 173173 [details]
patch with test case
Comment 2 Emanuel Graf CLA 2010-07-01 04:20:55 EDT
Fixed in 8.0 and 7.0 > 20100701