-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 7
-
Component/s: tools
-
b11
-
generic
-
generic
JavacParser qualIdent returns a JCExpression which may be an JCIdent or a JCFieldAccess.
JCImport has a JCTree for the qualid (which could be narrowed to a JCExpression).
But worse, MemberEnter.visitImport unconditionally casts qualid to a JCFieldAccess.
JCImport has a JCTree for the qualid (which could be narrowed to a JCExpression).
But worse, MemberEnter.visitImport unconditionally casts qualid to a JCFieldAccess.