> We have [recently discussed][] a possibility of adding the `Duration.MIN` and > `Duration.MAX` constants. Can we now start implementation? If and when we are > in agreement on this PR, I will file a CSR. > > I drafted a minimal specification and added some tests. I tried to phrase the > spec for `Duration.MIN` in a way that makes it clear that `Duration.MIN` is > the most negative value and not the least positive. > > [recently discussed]: > https://mail.openjdk.org/pipermail/core-libs-dev/2025-September/151098.html
Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision: Respond to feedback Apply Stephen's suggestion on wording, although modified. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/27534/files - new: https://git.openjdk.org/jdk/pull/27534/files/c5a3f228..abe01ff5 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=27534&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27534&range=01-02 Stats: 18 lines in 1 file changed: 2 ins; 1 del; 15 mod Patch: https://git.openjdk.org/jdk/pull/27534.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27534/head:pull/27534 PR: https://git.openjdk.org/jdk/pull/27534
