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

JavaDoc for java.time.Period.negated() method

    XMLWordPrintable

Details

    • b26
    • Verified

    Description

      A DESCRIPTION OF THE PROBLEM :
      Error in description of thrown ArithmeticException. java.time.Period components are ints.

      Actual:
      ArithmeticException - if numeric overflow occurs, which only happens if one of the units has the value *Long.MIN_VALUE*

      Expected:
      ArithmeticException - if numeric overflow occurs, which only happens if one of the units has the value *Integer.MIN_VALUE*


      Attachments

        Issue Links

          Activity

            People

              naoto Naoto Sato
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: