Summary: | Empty block not detected inside anonymous class | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | philippe_mulet | ||||||
Version: | 3.2 | ||||||||
Target Milestone: | 3.3 M3 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Olivier Thomann
2006-10-10 11:57:43 EDT
The problem is not detected for method inside anonymous declaration that are initializing a field declaration, because this is parsed when the diet mode is true and the problem is not reported during the diet parse. I'll investigate how to fix it. Created attachment 52364 [details]
Proposed fix
Created attachment 52365 [details]
Regression tests
Released for 3.3M3. Added regression tests org.eclipse.jdt.core.tests.compiler.parser.ParserTest#test025/26 Verified for 3.3 M3 using build I20061030-0010 |