| Summary: | ASTConverter#retrieveEndOfRightParenthesisPosition fails for certain cases | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Jay Arthanareeswaran <jarthana> | ||||
| Component: | Core | Assignee: | Jay Arthanareeswaran <jarthana> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | srikanth_sankaran | ||||
| Version: | 3.8 | ||||||
| Target Milestone: | BETA J8 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Jay Arthanareeswaran
Created attachment 226437 [details]
Patch with test
The buggy method is causing extra dimensions to be ignored in the following case:
int foo(@Marker(\"Blah\") int z) @Marker [] @Marker [] {
return null;
}
Will release after running the tests.
Tests are green and I have pushed the fix to BETA_JAVA8. Srikanth, it's a minor fix. If you would like to review it, it's here: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=ea916b0462fec6996e619f84c30f348e2877686a |