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 d0fb835fd NaN bypass in primitive double range validators (#1640).
d0fb835fd is described below
commit d0fb835fd93357238cbd29b0b1fbcfb84d856464
Author: Gary Gregory <[email protected]>
AuthorDate: Thu May 7 14:20:44 2026 -0400
NaN bypass in primitive double range validators (#1640).
---
src/changes/changes.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index f8a189a9c..0c4a12493 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -144,6 +144,7 @@ java.lang.NullPointerException: Cannot invoke
<action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">RandomStringUtils.random(...): A custom chars array
throws IllegalArgumentException because validation loops treat the loop index
as a char code point instead of an index into the chars array (#1638).</action>
<action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">RandomStringUtils.random(...): Can hang when the
specified [start, end) range contains ONLY rejected code points (UNASSIGNED,
PRIVATE_USE, SURROGATE). The loop increments count and retries indefinitely
(#1638).</action>
<action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">TimedSemaphore.shutdown() must wake threads blocked
in acquire() (#1639).</action>
+ <action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">NaN bypass in primitive double range validators
(#1640).</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>