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

Fix conflicting use of JCTree/JCExpression

XMLWordPrintable

    • b93
    • generic
    • generic
    • Not verified

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: