equal
deleted
inserted
replaced
4600 JCTypeIntersection it = (JCTypeIntersection) enclTr; |
4600 JCTypeIntersection it = (JCTypeIntersection) enclTr; |
4601 for (JCTree t : it.getBounds()) { |
4601 for (JCTree t : it.getBounds()) { |
4602 validateAnnotatedType(t, t.type); |
4602 validateAnnotatedType(t, t.type); |
4603 } |
4603 } |
4604 repeat = false; |
4604 repeat = false; |
4605 } else if (enclTr.getKind() == JCTree.Kind.PRIMITIVE_TYPE) { |
4605 } else if (enclTr.getKind() == JCTree.Kind.PRIMITIVE_TYPE || |
4606 // This happens in test TargetTypeTest52.java |
4606 enclTr.getKind() == JCTree.Kind.ERRONEOUS) { |
4607 // Is there anything to do? |
|
4608 repeat = false; |
4607 repeat = false; |
4609 } else { |
4608 } else { |
4610 Assert.error("Unexpected tree: " + enclTr + " with kind: " + enclTr.getKind() + |
4609 Assert.error("Unexpected tree: " + enclTr + " with kind: " + enclTr.getKind() + |
4611 " within: "+ errtree + " with kind: " + errtree.getKind()); |
4610 " within: "+ errtree + " with kind: " + errtree.getKind()); |
4612 } |
4611 } |