| Summary: | LR Parser's action class CPPBuildASTParserAction throws UnsupportedOperationException by its function consumeDeclarationSimple. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | John Liu <john_ws_liu> | ||||
| Component: | cdt-parser | Assignee: | Project Inbox <cdt-parser-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Mike Kucera <mikekucera> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | recoskie | ||||
| Version: | 7.0 | ||||||
| Target Milestone: | 7.0.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
John Liu
Created attachment 177900 [details]
A fix patch applied to org.eclipse.cdt.core.lrparser
The fix patch will target 701 and head stream. Applied to cdt_7_0 and HEAD. I think this bug has popped up a couple times now. Might be a good idea to replace all uses of Collections.emptyList() in the actions to ensure it doesn't happen again. (In reply to comment #4) > I think this bug has popped up a couple times now. Might be a good idea to > replace all uses of Collections.emptyList() in the actions to ensure it doesn't > happen again. Thanks, Mike. I check my workspace and there is no more parser action function uses it. *** cdt cvs genie on behalf of crecoskie *** Bug 324150 - LR Parser's action class CPPBuildASTParserAction throws UnsupportedOperationException by its function consumeDeclarationSimple. [*] CPPBuildASTParserAction.java 1.68 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/cpp/CPPBuildASTParserAction.java?root=Tools_Project&r1=1.67&r2=1.68 [*] CPPBuildASTParserAction.java 1.65.2.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/cpp/CPPBuildASTParserAction.java?root=Tools_Project&r1=1.65.2.2&r2=1.65.2.3 This is fixed. |