Skip to content

Commit 809c91d

Browse files
datho7561mickaelistria
authored andcommitted
Fixes to array dimensions in JavacConverter
Should fix 17 test cases Signed-off-by: David Thompson <[email protected]>
1 parent 5b737de commit 809c91d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.eclipse.jdt.core.javac/src/org/eclipse/jdt/core/dom/JavacConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3024,7 +3024,7 @@ Type convertToType(JCTree javac) {
30243024
if (t instanceof ArrayType childArrayType && this.ast.apiLevel > AST.JLS4_INTERNAL) {
30253025
res = childArrayType;
30263026
res.dimensions().addFirst(this.ast.newDimension());
3027-
commonSettings(res, jcArrayType.getType());
3027+
commonSettings(res, jcArrayType);
30283028
} else {
30293029
int dims = countDimensions(jcArrayType);
30303030
res = this.ast.newArrayType(t);

0 commit comments

Comments
 (0)