potential cast error in MemberEnter

XMLWordPrintable

    • 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.

            Assignee:
            Vicente Arturo Romero Zaldivar
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: