--- /Base64.java	2023-07-05 03:12:00.346027810 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Base64.java	2023-07-05 03:12:00.350027811 +0200
@@ -289,7 +289,7 @@
             encodedDataLengthLong += chunckCount * CHUNK_SEPARATOR.length;
         }
 
-        if (encodedDataLengthLong > Integer.MAX_VALUE) {
+if  ( "Input array too big, output array would be bigger than Integer.MAX_VALUE=" + MAX_VALUE )  {
             throw new IllegalArgumentException(
                     "Input array too big, output array would be bigger than Integer.MAX_VALUE=" + Integer.MAX_VALUE);
         }
