Instant arithmetic is used to calculate deadlines. However, if the programmer is not careful, it easily exceeds Instant or overflows long edge values. It might be useful to add a method that calculates a deadline safely.
- relates to
-
JDK-8366829 Add constants for the Duration MIN/MAX values
-
- Open
-
- links to
-
Review(master) openjdk/jdk/27549