Bug 33949

Summary: DOM: assert statement has wrong length
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 33533    

Description Dirk Baeumer CLA 2003-03-06 04:37:42 EST
RC1

In the example below the assert statement has the length 28. It should be 29 
since a statement should include the trailing ";". 

public class Assert {
	public static final void notNull(Object ref, String message)
	{
		assert ref != null : message;
	}
	
	void method(String param1, String param2, String param3)
	{
		Assert.notNull(param1, "param1 != null");
		Assert.notNull(param2, "param2 != null");
		Assert.notNull(param3, "param3 != null");
	}
}
Comment 1 Dirk Baeumer CLA 2003-03-06 04:38:32 EST
Philippe, please let me know if you can fix this for RC2. Bug 33533 depends on 
it.
Comment 2 Olivier Thomann CLA 2003-03-06 08:55:16 EST
I am investigating.
Comment 3 Olivier Thomann CLA 2003-03-06 09:44:44 EST
Fixed and released in 2.1 stream.
Regression tests added.
Comment 4 Olivier Thomann CLA 2003-03-06 09:47:28 EST
Change milestone.
Comment 5 Philipe Mulet CLA 2003-03-06 09:48:02 EST
Dirk - the fix will available in RC2.
Comment 6 Dirk Baeumer CLA 2003-03-06 10:10:29 EST
Verified