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

Annotation toString output not reusable for source input

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      5.0
    • Resolved In Build:
      b131
    • Verification:
      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

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

                Dates

                Created:
                Updated:
                Resolved: