Release Note: ValueRange.of(long, long, long) Does Not Throw IAE on Invalid Inputs

XMLWordPrintable

    • generic
    • generic
    • Verified

      ```java.time.temporal.ValueRange.of()``` methods are now correctly throwing an InvalidArgumentException on given invalid arguments. For example, ```of(5, 2, 10)``` which is invalid because the ```minimum``` is greater than the ```smallest maximum```, now throws the exception.

            Assignee:
            Naoto Sato
            Reporter:
            Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: