JDK-8163113 : langtools repeating annotations tests depend rely on annotations toString output
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-08-03
  • Updated: 2016-08-11
  • Resolved: 2016-08-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b131Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
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.