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


The following commit(s) were added to refs/heads/master by this push:
     new 8edc751f6 ClassUtils now throws IllegalArgumentException if a class 
name length is greater than 65,535
8edc751f6 is described below

commit 8edc751f623ec14d60113a71585ac82e3a0b9f17
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Nov 19 08:23:30 2025 -0500

    ClassUtils now throws IllegalArgumentException if a class name length is
    greater than 65,535
    
    This affects:
    - 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 535956727..2a2790fd3 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -54,6 +54,11 @@ The <action> type attribute can be add,update,fix,remove.
       ClassUtils.getClass(ClassLoader, String),
       ClassUtils.getClass(String, boolean),
       ClassUtils.getClass(String).</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 length 
is greater than 65,535:
+      getClass(ClassLoader, String, boolean),
+      ClassUtils.getClass(ClassLoader, String),
+      ClassUtils.getClass(String, boolean),
+      ClassUtils.getClass(String).</action>
     <action                   type="fix" dev="ggregory" due-to="Gary 
Gregory">Fix console compiler warning: TypeUtils.java:[361,33] non-varargs call 
of varargs method with inexact argument type for last parameter.</action>
     <action                   type="fix" dev="ggregory" due-to="Gary 
Gregory">Fix console compiler warning: ReflectionDiffBuilderTest.java:[172,52] 
non-varargs call of varargs method with inexact argument type for last 
parameter.</action>
     <!-- ADD -->

Reply via email to