Community
Participate
Working Groups
BETA_JAVA8 For JLS8, the ASTParser gives up on multi-dimensional array references in a MethodRefParameter and leaves the whole Javadoc node without any children. Still Works fine for JLS4. /** * Hello. * @see #foo(Object[][][]) */
I needed this to continue, so I just fixed it with http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=071c3a7154f042f1dac67e366b91c1f1b510f2e9 I've also fixed the missing argument.setVarargs(isVarargs) to make the AST consistent. (Caveat: The Javadoc spec doesn't mention support for varargs in Javadoc method references. Feature: javadoc.exe supports varargs as long as the type is not an array type. ecj follows javadoc.exe.) Would be good to have a regression test as well.
First fix broke ASTs < JLS8. Fixed with http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=db9f959a935f205a7a7a5ac245a707865595ee87
Added the testcases via commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=4605f993bb123a9187b7d6cf100f3cd705b1424a
(In reply to Manoj Palat from comment #3) > Added the testcases via commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/ > ?h=BETA_JAVA8&id=4605f993bb123a9187b7d6cf100f3cd705b1424a This generates a new compile time warning, please fix.
(In reply to Srikanth Sankaran from comment #4) > This generates a new compile time warning, please fix. Thanks Srikanth. Fixed via http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=2c7a59198ef0accc78a3ea8fb276fbfe877a83c2