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

langtools repeating annotations tests depend rely on annotations toString output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • tools
    • b131
    • Verified

      Various regression tests in javac depend on the particular output of toString for annotations, in particular using [] rather than {} for annotations.

      With improvements to the output (JDK-8162817) these tests

      tools/javac/annotations/repeatingAnnotations/combo/ReflectionTest.java
      tools/javac/processing/model/element/repeatingAnnotations/MixRepeatableAndOfficialContainerBasicTest.java
      tools/javac/processing/model/element/repeatingAnnotations/MixRepeatableAndOfficialContainerInheritedA1Test.java
      tools/javac/processing/model/element/repeatingAnnotations/MixRepeatableAndOfficialContainerInheritedA2Test.java
      tools/javac/processing/model/element/repeatingAnnotations/MixRepeatableAndOfficialContainerInheritedB1Test.java
      tools/javac/processing/model/element/repeatingAnnotations/MixRepeatableAndOfficialContainerInheritedB2Test.java
      tools/javac/processing/model/element/repeatingAnnotations/MixSingularAndUnofficialContainerBasicTest.java
      tools/javac/processing/model/element/repeatingAnnotations/MixSingularAndUnofficialContainerInheritedA1Test.java
      tools/javac/processing/model/element/repeatingAnnotations/MixSingularAndUnofficialContainerInheritedA2Test.java
      tools/javac/processing/model/element/repeatingAnnotations/MixSingularAndUnofficialContainerInheritedB1Test.java
      tools/javac/processing/model/element/repeatingAnnotations/MixSingularAndUnofficialContainerInheritedB2Test.java
      tools/javac/processing/model/element/repeatingAnnotations/OfficialContainerBasicTest.java
      tools/javac/processing/model/element/repeatingAnnotations/OfficialContainerInheritedTest.java
      tools/javac/processing/model/element/repeatingAnnotations/RepeatableBasicTest.java
      tools/javac/processing/model/element/repeatingAnnotations/RepeatableInheritedTest.java
      tools/javac/processing/model/element/repeatingAnnotations/RepeatableOfficialContainerBasicTest.java
      tools/javac/processing/model/element/repeatingAnnotations/RepeatableOfficialContainerInheritedTest.java
      tools/javac/processing/model/element/repeatingAnnotations/RepeatableOverrideATest.java
      tools/javac/processing/model/element/repeatingAnnotations/RepeatableOverrideBTest.java
      tools/javac/processing/model/element/repeatingAnnotations/UnofficialContainerBasicTest.java
      tools/javac/processing/model/element/repeatingAnnotations/UnofficialContainerInheritedTest.java

      now fail and need to be updated.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: