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

Annotation toString output not reusable for source input

    XMLWordPrintable

Details

    • 5.0
    • b131
    • Verified

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: