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

potential cast error in MemberEnter

    XMLWordPrintable

Details

    • b11
    • generic
    • generic

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: