You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/11/18 15:17:27 UTC

(commons-lang) 01/02: ClassUtils now throws IllegalArgumentException if a class name represents an array with more dimensions than the JVM supports, 255

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-lang.git

commit 7ef3ff36642cf9a479b369cbb8b18b9e14e1353f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Nov 18 10:09:36 2025 -0500

    ClassUtils now throws IllegalArgumentException if a class name
    represents an array with more dimensions than the JVM supports, 255
    
    - getClass(ClassLoader, String, boolean),
    - ClassUtils.getClass(ClassLoader, String),
    - ClassUtils.getClass(String, boolean),
    - ClassUtils.getClass(String)
---
 src/changes/changes.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index cb0cbb8a2..1275c0dea 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -49,6 +49,11 @@ The <action> type attribute can be add,update,fix,remove.
     <action                   type="fix" dev="ggregory" due-to="ThrawnCA">Fix spelling and grammar in StringUtils #1486.</action>
     <action                   type="fix" dev="ggregory" due-to="Michael Hausegger, Gary Gregory">Add ConversionTest assertions to increase coverage #1489.</action>
     <action                   type="fix" dev="ggregory" due-to="Boda65665, Gary Gregory">Use Class&lt;?&gt; instead of Class&lt;? extends Object&gt; in MethodUtils #1491.</action>
+    <action                   type="fix" dev="ggregory" due-to="Gary Gregory, Arnout Engelen, Piotr P. Karwasz, Vladimir Sitnikov, Gilles Sadowski">ClassUtils now throws IllegalArgumentException if a class name represents an array with more dimensions than the JVM supports, 255:
+      getClass(ClassLoader, String, boolean),
+      ClassUtils.getClass(ClassLoader, String),
+      ClassUtils.getClass(String, boolean),
+      ClassUtils.getClass(String).</action>
     <!-- ADD -->
     <!-- UPDATE -->
   </release>