Bug 335309

Summary: [formatter] FUP of bug 332843: add regression test
Product: [Eclipse Project] JDT Reporter: Ayushman Jain <amj87.iitr>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: stephan.herrmann
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description Ayushman Jain CLA 2011-01-25 08:39:47 EST
The fix for bug 332843 can be tested with test project attached in bug 332843#comment11. We should capture this test somehow in the formatter tests.
Comment 1 Olivier Thomann CLA 2011-02-14 11:55:45 EST
I tried to extract a test case using the attached project, but it doesn't fail anymore (I reverted the fix first).
Comment 2 Olivier Thomann CLA 2011-02-14 12:01:16 EST
I reproduced using 3.7M4. Investigating.
Comment 3 Olivier Thomann CLA 2011-02-14 12:47:38 EST
Created attachment 188926 [details]
Proposed fix

This test fails with 3.7M4 and passes with HEAD.
Comment 4 Olivier Thomann CLA 2011-02-14 12:48:00 EST
Released for 3.7M6.
Comment 5 Stephan Herrmann CLA 2011-03-08 11:07:09 EST
Verified for 3.7M6 by running test from HEAD in 3.7M4
(original SIOOBE is thrown as expected).