This is an automated email from the ASF dual-hosted git repository.

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 108aa571c DurationUtils.toMillisInt() throws ArithmeticException on 
long overflows before clamping (#1657)
108aa571c is described below

commit 108aa571c1d6a79773d9c92bd1ee0eb10b165528
Author: Gary Gregory <[email protected]>
AuthorDate: Mon May 18 10:23:02 2026 -0400

    DurationUtils.toMillisInt() throws ArithmeticException on long overflows
    before clamping (#1657)
---
 src/changes/changes.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 99cb3aee3..6acd37300 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -158,6 +158,7 @@ java.lang.NullPointerException: Cannot invoke
     <action                   type="fix" dev="ggregory" due-to="Omkhar 
Arasaratnam, Gary Gregory">StringUtils.indexOfAny(CharSequence, int, char...) 
should not throw for a bad index (#1656).</action>
     <action                   type="fix" dev="ggregory" due-to="Omkhar 
Arasaratnam, Gary Gregory">StrBuilder.deleteImpl(int, int, int) doesn't clear 
its unused bytes. (#1654).</action>
     <action                   type="fix" dev="ggregory" due-to="Omkhar 
Arasaratnam, Gary Gregory">LocaleUtils.parseLocale(String) operator precedence 
bug allows invalid language with numeric country (#1658).</action>
+    <action                   type="fix" dev="ggregory" due-to="Omkhar 
Arasaratnam, Gary Gregory">DurationUtils.toMillisInt() throws 
ArithmeticException on long overflows before clamping (#1657).</action>
     <!-- ADD -->
     <action                   type="add" dev="ggregory" due-to="Gary 
Gregory">Add JavaVersion.JAVA_27.</action>
     <action                   type="add" dev="ggregory" due-to="Gary 
Gregory">Add SystemUtils.IS_JAVA_27.</action>

Reply via email to