Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8281462 Annotation toString output for enum not reusable for source input
  3. JDK-8288689

Release Note: Make Annotation toString Output for enum Constants Usable for Source Input

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 19
    • 19
    • core-libs

      The exact `toString` format for annotations is not specified; however, the `toString` output is intended to be usable for source input. The `toString` output of enum constants was changed to two ways so that it would be usable as source input:
      * The name of the constant is used (rather than the output is its `toString` method)
      * For the name of the enum class, its canonical name rather than its binary name is used.

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

              Created:
              Updated:
              Resolved: