Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7033677

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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: