| Summary: | [1.7] Bad list of subclasses in Statement AST node | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
| Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Olivier_Thomann, satyam.kandula |
| Version: | 3.7 | ||
| Target Milestone: | 3.7 M7 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
I agree. This should be cleaned. Released for 3.7M7. I adapted the fix for the HEAD stream as well. Verified for 3.7M7 using build I20110421-1800 |
BETA_JAVA7 The Javadoc of Statement now says: * For JLS3, an enhanced for node type was added: * <pre> * Statement: * {@link AssertStatement}, [..] * {@link TryStatement}, * {@link TryStatementWithResources}, * {@link TypeDeclarationStatement}, [..] That's wrong. I suggest you don't repeat the whole list again and again, but just list the JLS2 types and then add this: * For JLS3: * <pre> * Statement: * <i><JLS2 statements>...</i>, * {@link EnhancedForStatement} * </pre> * For JLS4: * <pre> * Statement: * <i><JLS3 statements...></i>, * {@link TryStatementWithResources} * </pre>