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

Remove stray @deprecated in Date#getDate

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b162
    • Verification:
      Not verified

      Backports

        Description

        Let's fix this ancient mistake:

        --- a/src/java.base/share/classes/java/util/Date.java
        +++ b/src/java.base/share/classes/java/util/Date.java
        @@ -728,7 +728,6 @@
              * @see java.util.Calendar
              * @deprecated As of JDK version 1.1,
              * replaced by {@code Calendar.get(Calendar.DAY_OF_MONTH)}.
        - * @deprecated
              */
             @Deprecated
             public int getDate() {

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  martin Martin Buchholz
                  Reporter:
                  martin Martin Buchholz
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: