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

test in typeAnnotations/failures do not test TYPE_USE annotations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • None
    • tools

      There are several tests in tools/javac/annotations/typeAnnotations/failures that do not use TYPE_USE as a target type. They fail as expected, but not specifically because because a type annotation is incorrectly used.

      tools/javac/annotations/typeAnnotations/failures/AnnotatedImport.java
      tools/javac/annotations/typeAnnotations/failures/AnnotatedPackage1.java
      tools/javac/annotations/typeAnnotations/failures/AnnotatedPackage2.java
      tools/javac/annotations/typeAnnotations/failures/AnnotationVersion.java
      tools/javac/annotations/typeAnnotations/failures/BadCast.java
      tools/javac/annotations/typeAnnotations/failures/IncompleteArray.java
      tools/javac/annotations/typeAnnotations/failures/IncompleteVararg.java
      tools/javac/annotations/typeAnnotations/failures/IndexArray.java
      tools/javac/annotations/typeAnnotations/failures/OldArray.java
      tools/javac/annotations/typeAnnotations/failures/StaticFields.java
      tools/javac/annotations/typeAnnotations/failures/StaticMethods.java

            Unassigned Unassigned
            ssides Steve Sides
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: