Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318552 - NPE in ExpressionWriter for unary expression without an operand
Summary: NPE in ExpressionWriter for unary expression without an operand
Status: CLOSED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 7.0.1   Edit
Assignee: Emanuel Graf CLA
QA Contact: Emanuel Graf CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 04:01 EDT by Emanuel Graf CLA
Modified: 2010-07-01 04:23 EDT (History)
0 users

See Also:


Attachments
patch with test case (1.70 KB, patch)
2010-07-01 04:10 EDT, Emanuel Graf CLA
emanuel: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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