Skip to content

Commit f43a9aa

Browse files
committed
StringUtils.repeat(String, [String,] int) now throws
IllegalArgumentException instead of NegativeArraySizeException (#1644).
1 parent 4c3f1dd commit f43a9aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ java.lang.NullPointerException: Cannot invoke
145145
<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>
146146
<action type="fix" dev="ggregory" due-to="Omkhar Arasaratnam, Gary Gregory">TimedSemaphore.shutdown() must wake threads blocked in acquire() (#1639).</action>
147147
<action type="fix" dev="ggregory" due-to="Omkhar Arasaratnam, Gary Gregory">NaN bypass in primitive double range validators (#1640).</action>
148+
<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>
148149
<!-- ADD -->
149150
<action type="add" dev="ggregory" due-to="Gary Gregory">Add JavaVersion.JAVA_27.</action>
150151
<action type="add" dev="ggregory" due-to="Gary Gregory">Add SystemUtils.IS_JAVA_27.</action>

0 commit comments

Comments
 (0)