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

Annotation toString output not reusable for source input

XMLWordPrintable

    • 5.0
    • b131
    • Verified

      As pointed out on core-libs-dev (http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-July/042637.html, http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-July/042645.html), the toString output for annotation objects cannot be directly reused as source input if the annotation values are any of:

      Strings (no surrounding " characters)
      Class values of array classes (uses JVM name)
      Arrays (output uses brackets ("[]") rather than braces {"{}")

      These shortcomings should be addressed.

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

              Created:
              Updated:
              Resolved: