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

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

XMLWordPrintable

    • b26
    • Verified

      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*


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

              Created:
              Updated:
              Resolved: