Community
Participate
Working Groups
Fup of bug 337964: While verifying said bug I was puzzled about this asymmetry line 1525: type.isArrayType() implies (typeBinding instanceof ArrayBinding) but line 1569: !type.isArrayType() does not imply !binding.isArrayType() This is because methods like ASTConverter.completeRecord(..) associate smaller DOM nodes (e.g., SimpleName "Object") with larger compiler nodes (e.g., ArrayAllocationExpression "new Object[10]"). A code comment making such tacit knowledge explicit might help to draw the line between paranoia and required checks.
Setting as 3.7RC1. This is not an emergency for M7.
Created attachment 193619 [details] proposed documentation Right when you marked this as 3.7RC1 I was drafting a few comments, capturing my current understanding :)
Released for 3.7M7. (no code change - just a small addition to code comments).
Will be verified once a build with v_B51 is available.
I verified this by code inspection, as all this involes is a documentation change in a non-public class. There is no user visible behavior associated with this bug.