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

Fix conflicting use of JCTree/JCExpression

    Details

    • Subcomponent:
    • Resolved In Build:
      b93
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: