Details
-
Bug
-
Resolution: Fixed
-
P5
-
7
-
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
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