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

Add @since tag to JapaneseEra.REIWA

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Withdrawn
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      This is a doc change.
    • Interface Kind:
      Java API
    • Scope:
      SE

      Description

      Summary

      Add @since tag for the field JapaneseEra.REIWA

      Problem

      Without a @since tag, users would think JapaneseEra.REIWA field had been declared public since the class' inception (JDK8).

      Solution

      Explicitly mention that the field is public since JDK13 with a @since tag.

      Specification

      Change the field description of java.time.chrono.JapaneseEra.REIWA from:

      /**
       * The singleton instance for the 'Reiwa' era (2019-05-01 - )
       * which has the value 3. The end date of this era is not specified, unless
       * the Japanese Government defines it.
       */

      to:

      /**
       * The singleton instance for the 'Reiwa' era (2019-05-01 - )
       * which has the value 3. The end date of this era is not specified, unless
       * the Japanese Government defines it.
       *
       * @since 13
       */

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                naoto Naoto Sato
                Reporter:
                naoto Naoto Sato
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: