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

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


The following commit(s) were added to refs/heads/master by this push:
     new f40b64c8a [IO-873] java.lang.ArithmeticException: long overflow at 
java.lang.Math.addExact(Math.java:932) at 
org.apache.commons.io.file.attribute.FileTimes.ntfsTimeToFileTime(FileTimes.java:164)
f40b64c8a is described below

commit f40b64c8a8c34d5d9740955384585df03be7d8a0
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Mar 30 14:17:25 2025 -0400

    [IO-873] java.lang.ArithmeticException: long overflow at
    java.lang.Math.addExact(Math.java:932) at
    
org.apache.commons.io.file.attribute.FileTimes.ntfsTimeToFileTime(FileTimes.java:164)
---
 src/changes/changes.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 2e4e49792..6d45dc361 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -67,7 +67,7 @@ The <action> type attribute can be add,update,fix,remove.
       <action dev="ggregory" type="fix"                due-to="Gary 
Gregory">Improve performance of IOUtils.contentEquals(InputStream, InputStream) 
by about 13%.</action>
       <action dev="ggregory" type="fix" issue="IO-870" due-to="Gary 
Gregory">PathUtils.copyFileToDirectory() across file systems #728.</action>
       <action dev="ggregory" type="fix" issue="IO-871" due-to="Éamonn McManus, 
Gary Gregory">IOUtils.contentEquals is incorrect when InputStream.available 
under-reports.</action>
-      <action dev="ggregory" type="fix"                due-to="Gary 
Gregory">java.lang.ArithmeticException: long overflow 
java.lang.Math.addExact(Math.java:932) at 
org.apache.commons.io.file.attribute.FileTimes.ntfsTimeToFileTime(FileTimes.java:164).
 See also https://issues.apache.org/jira/browse/MDEP-978.</action>
+      <action dev="ggregory" type="fix" issue="IO-873" due-to="Gary 
Gregory">java.lang.ArithmeticException: long overflow 
java.lang.Math.addExact(Math.java:932) at 
org.apache.commons.io.file.attribute.FileTimes.ntfsTimeToFileTime(FileTimes.java:164).
 See also https://issues.apache.org/jira/browse/MDEP-978.</action>
       <!-- ADD -->
       <action dev="ggregory" type="add" issue="IO-860" due-to="Nico Strecker, 
Gary Gregory">Add ThrottledInputStream.Builder.setMaxBytes(long, 
ChronoUnit).</action>
       <action dev="ggregory" type="add"                due-to="Gary 
Gregory">Add IOIterable.</action>

Reply via email to