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

Fix conflicting use of JCTree/JCExpression

    XMLWordPrintable

Details

    • b93
    • generic
    • generic
    • Not verified

    Description

      The JCTree hierarchy makes inconsistent use of the types JCTree and JCExpression in two places:

      JCClassDecl.extendsClause() returns a JCTree, but the field has type JCExpression

      JCThrow constructor takes a JCTree, but immediately casts it to JExpression to conform to the field's type

      Attachments

        Activity

          People

            vromero Vicente Arturo Romero Zaldivar
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: