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

Documentation in Month refers to quarters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u45
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b84
    • CPU:
      x86_64
    • OS:
      windows_7

      Backports

        Description

        A DESCRIPTION OF THE PROBLEM :
        Documentation suggests that the method adds a number of quarters, whereas it should add a number of months.


        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Returns the month-of-year that is the specified number of months after this one.

        ACTUAL -
        Returns the month-of-year that is the specified number of quarters after this one.

        URL OF FAULTY DOCUMENTATION :
        https://docs.oracle.com/javase/8/docs/api/java/time/Month.html#plus-long-

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rriggs Roger Riggs
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: