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 9593631ca
ToStringStyle.appendDetail(StringBuffer,String,Collection|Map) bypass cycle
registry (#1648).
9593631ca is described below
commit 9593631caf8c8d89913afc8fc3d3f9a89865a392
Author: Gary Gregory <[email protected]>
AuthorDate: Sun May 17 14:12:06 2026 +0000
ToStringStyle.appendDetail(StringBuffer,String,Collection|Map) bypass
cycle registry (#1648).
Fixes Stack overflow on mutually-referential collections and maps
---
src/changes/changes.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 32a2717e7..af50a961a 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -147,6 +147,8 @@ java.lang.NullPointerException: Cannot invoke
<action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">NaN bypass in primitive double range validators
(#1640).</action>
<action issue="LANG-1826" type="fix" dev="ggregory" due-to="Cyl, Gary
Gregory, Piotr Karwasz">StringUtils.repeat(String, [String,] int) now throws
IllegalArgumentException instead of NegativeArraySizeException (#1644).</action>
<action issue="LANG-1825" type="fix" dev="ggregory" due-to="Daniel Skiles,
Gary Gregory">EqualsBuilder.reflectionAppend ttries to set visibility on
excluded fields #1647.</action>
+ <action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary
Gregory">ToStringStyle.appendDetail(StringBuffer,String,Collection) bypass
cycle registry. #1648.</action>
+ <action type="fix" dev="ggregory" due-to="Gary
Gregory">ToStringStyle.appendDetail(StringBuffer,String,Map) bypass cycle
registry. #1648.</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>