| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: apache-commons-lang3 | Distribution: openSUSE Tumbleweed |
| Version: 3.22.0 | Vendor: openSUSE |
| Release: 1.1 | Build date: Fri Nov 13 17:49:58 2026 |
| Group: Development/Libraries/Java | Build host: reproducible |
| Size: 965080 | Source RPM: apache-commons-lang3-3.22.0-1.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://commons.apache.org/proper/commons-lang/ | |
| Summary: Apache Commons Lang Package | |
The standard Java libraries fail to provide enough methods for manipulation of its core classes. The Commons Lang Component provides these extra methods. The Commons Lang Component provides a host of helper utilities for the java.lang API, notably String manipulation methods, basic numerical methods, object reflection, creation and serialization, and System properties. Additionally it contains an inheritable enum type, an exception structure that supports multiple types of nested-Exceptions and a series of utilities dedicated to help with building methods, such as hashCode, toString and equals.
Apache-2.0
* Fri Nov 13 2026 Fridrich Strba <fstrba@suse.com>
- Update to 3.22.0
* New features:
+ LANG-1790: Add optional FIFO ordering for TimedSemaphore
blocking acquisitions
* Fixed Bugs:
+ Include 0x7E (~) in RandomStringUtils nextGraph and nextPrint
+ Default unbounded WildcardType upper bound to Object in
TypeUtils
+ Take FastDatePrinter era names from the locale's calendar
+ LANG-1655: Preserve Korean text in stripAccents
+ LANG-1835: Ignore synthetic methods in AnnotationUtils
+ LANG-1836: Make TypeUtils.containsTypeVariables and
unrollVariables honour the owner type of a ParameterizedType
+ Recurse into nested annotation arrays in AnnotationUtils
.hashCode
+ [javadoc] Correct CharUtils default-value conversion
descriptions
+ Preserve enclosing context and member names in ClassUtils
.getShortClassName(Class)
+ Keep RandomUtils's randomDouble() and randomFloat() below the
exclusive upper bound
+ Use standalone month names for month-only patterns in
FastDatePrinter
+ Fix TypeUtils.isAssignable rejecting Class<X> to Class<?>
assignments
+ LANG-1837: Prevent null returns from lazily initialized string
caches
+ Escape CharSequence values in ToStringStyle.JSON_STYLE
+ LANG-796: Clarify DateUtils calendar arithmetic and daylight
saving time behavior
+ Treat an unmatched quote as closed in ExtendedMessageFormat
+ Prevent StringUtils padding from splitting surrogate pairs
+ LANG-441: DateUtils Javadoc does not fully define round()
behavior
+ LANG-1838: Fix resource paths for unnamed packages
+ Keep EventCountCircuitBreaker event count from wrapping on int
overflow
+ Reject varargs candidates with too few arguments in
MemberUtils
+ LANG-1323: Align built type hashes with JDK reflection
+ Keep array encoding intact in ClassUtils.getAbbreviatedName
+ Reject leading whitespace in NumberUtils.createNumber
+ Keep StrSubstitutor from treating a value's trailing $ as an
escape
+ Fix FastDateParser normalization of out-of-range ISO
day-of-week values
+ [javadoc] Correct StringUtils example methods and overloads
+ Stop ExceptionUtils.removeCommonFrames at the first differing
frame
+ Use StackTraceElement objects to build compact root cause
stack traces, avoiding text parsing and preventing exception
message text from being mistaken for stack frames
+ Restrict LocaleUtils.toLocale to ASCII language, country, and
numeric area codes; previously accepted non-ASCII codes now
cause IllegalArgumentException
+ Deprecate ExceptionUtils.removeCommonFrames(), which is now
used only by tests. Root-cause stack trace generation compares
StackTraceElement objects directly
+ Keep DateUtils.ceiling and round inside a DST overlap hour
+ Keep RandomStringUtils.random rejection cap from failing valid
ranges
+ [javadoc] Correct hexadecimal output examples in Conversion
+ Fix Conversion hex method Javadoc
+ Make FastDatePrinter time-zone tests deterministic
+ LANG-1839: Fix recursive toString traversal cleanup
+ LANG-1341: Javadoc: Clarify superclass equality in
EqualsBuilder
+ LANG-1423: Javadoc: Include wrapping operations in StringUtils
overview
+ LANG-980: Use enum constants for duration format units in
DurationFormatUtils
+ LANG-1198: Javadoc: Clarify stripEnd character-set semantics
+ Keep FastDateFormat able to parse the '+hh:mm' offsets its own
'Z' patterns format
+ Pad BMP code points to four hex digits in UnicodeEscaper
.toUtf16Escape
* Changes:
+ Bump org.apache.commons:commons-parent from 105 to 107
* Fri Nov 13 2026 Fridrich Strba <fstrba@suse.com>
- Update to 3.21.0
* New features:
+ Add JavaVersion.JAVA_27
+ Add SystemUtils.IS_JAVA_27
+ JavaVersion.get(String) now support Java 26, 27 and 28
+ LANG-1810: Deprecate ArrayUtils.SOFT_MAX_ARRAY_LENGTH in favor
of SAFE_MAX_ARRAY_LENGTH #1559
+ Add long support to BitField
+ Add ArrayUtils.getDimensions(Object)
+ LANG-1707: Add ArrayUtils.concat() methods for concatenating
multiple arrays
+ Add FailableConsumer.accept(FailableConsumer, T)
+ Add AutoCloseables
+ LANG-1711: Make object accessibility optional with
AbstractReflection.AbstractBuilder.setForceAccessible(boolean)
+ Add ArrayFill.clear(char[])
+ Add DurationUtils.toMillisLong(Duration)
+ Add Instants.toEpochMillis(Instant)
+ Add StringUtils.trimAsciiControl(String)
+ Add Instants.toMillisSince(Instant)
+ Add CharUtils isHex(int), isAsciiNumeric(int), isOctal(int)
+ Add and use Instants.toInstant(Instant[, Instant])
+ LANG-1833: Handle ParsePosition index beyond source string
length cleanly
+ Add ClassUtils.getClassStrict(ClassLoader, String, boolean)
+ Add ClassUtils.getClassStrict(String)
+ Fix TypeUtils.isAssignable() for wildcards with multiple upper
bounds
+ Add JavaVersion.JAVA_28
+ Add SystemUtils.IS_JAVA_28
* Fixed Bugs:
+ Stop ExtendedMessageFormat seekNonWs reading past the pattern
end
+ Fix spelling and grammar in StringUtils
+ Add ConversionTest assertions to increase coverage
+ Use Class<?> instead of Class<? extends Object> in MethodUtils
+ 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),
+ 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),
+ Fix console compiler warning: TypeUtils.java:[361,33]
non-varargs call of varargs method with inexact argument type
for last parameter
+ Fix console compiler warning:
ReflectionDiffBuilderTest.java:[172,52] non-varargs call of
varargs method with inexact argument type for last parameter
+ Fix Apache RAT plugin console warnings
+ LANG-1793: Fix Javadoc description in
CharUtils.isAsciiAlphanumeric()
+ LANG-1794: Fix Javadoc for RandomUtils.secure(), it
incorrectly mentions securerandom.strongAlgorithms
+ Fix NullPointerException in
ReflectionDiffBuilder.getExcludeFieldNames() when instance
created with ReflectionDiffBuilder.ReflectionDiffBuilder(T,
T, ToStringStyle)
+ Fail-fast for a null DiffBuilder in ReflectionDiffBuilder
.ReflectionDiffBuilder(DiffBuilder, String[]) instead of
getting a NullPointerException in ReflectionDiffBuilder
instance methods
+ Fix NumberUtilsTest#testMaxDouble() and testMaxFloat()
+ LANG-1797: Fix Javadoc for IEEE754rUtils.max(float...) and
IEEE754rUtils.max(double...)
+ LANG-1798: Fix StringUtilsSubstringTest
.testCountMatches_char() to call the correct method
+ LANG-1799: Make private static variables final in
RandomStringUtils
+ Speed up StringUtils.getDigits(String)
+ Remove redundant length check in StringUtils
.isBlank(CharSequence)
+ LANG-1800: Incorrect grammar and unclear wording in
RandomStringUtils#random method
+ LANG-1802: Fix collision in CharRange.hashCode()
+ Fix race condition in Fraction.hashCode()
+ Fix race condition in Range.hashCode()
+ Document safer deserialization option in Javadoc for
SerializationUtils
+ LANG-1729: NumberUtils.isParsable(String) returns true for
full width Unicode digits for inputs with a decimal point
+ LANG-1803: Fix incorrect method invocation in
ObjectUtilsTest and Javadoc reference in RandomStringUtils
+ LANG-1695: Allow trailing decimal point in NumberUtils
.isParsable(String)
+ LANG-1804: Fix CharSet#getInstance returns null instead of
EMPTY when input setStrs is null
+ Speedup CharSequenceUtils.toCharArray(CharSequence) for
StringBuilder input: 160-205% improvement (2-3x faster),
see CharSequenceUtilsBenchmark
+ Speedup CharSequenceUtils.toCharArray(CharSequence) for
StringBuffer input: 300-4,250% improvement (4-44x faster),
see CharSequenceUtilsBenchmark
+ Speedup CharSequenceUtils.toCharArray(CharSequence) for
String input: ~1-2% improvement (essentially identical)
+ Streamline StringUtils.truncate(String, int, int)
+ Fix Javadoc comma spacing
+ LANG-1807: Make private static variables final in RandomUtils
+ LANG-1448: Javadoc: Normalize some varargs examples
+ LANG-1805: Speedup StringUtils.join(AllPrimitiveTypes[], char,
int, int), see StringUtilsJoinBenchmark. Also better
StringBuilder allocation
+ LANG-1749: TypeUtils.isAssignable returns a wrong result for
ParameterizedType when raw class is "Class"
+ LANG-1700: Improve handling of parameterized types and
variable unrolling
+ LANG-1811: ArrayUtils.shuffle() throws NullPointerException
for null array input
+ [javadoc] Fix incorrect exception type in CharUtils Javadoc
examples
+ LANG-1806: [javadoc] Fix incorrect class names in RegExUtils
Javadoc examples
+ NumberUtils.isParsable("1.f") should return true
+ Simplify literal assignments in ArrayFillTest
+ Make ArrayUtils methods implementation consistent with other
overloads
+ Fix handling of null marker in StringUtils.abbreviate(String,
String, int, int)
+ Better exception messages from FastDateParser.parse(String)
+ Simplify NumberUtils.isParsable(String)
+ RandomStringUtils.random() methods may not return when asked
to generate only letters or only numbers while provided with a
range that contains neither
+ Fix Javadoc parameter comments in StringUtils.truncate()
methods
+ Improve test coverage for TypeUtils.isAssignable()
+ Improve branch coverage for Processor (isAarch64, isRISCV);
add ProcessorTest
+ Fix ClassNotFoundException message in
ClassUtils.getClass(String)
+ Fix Javadoc in DoubleRange.of(Double, Double) to reflect
actual exception type thrown
+ LANG-1452: RecursiveToStringStyle and
MultilineRecursiveToStringStyle shouldn't recurse into a
java.math.BigDecimal
+ LANG-1814: ArrayUtils.subarray(..) may overflow index
arithmetic and violate contract for extreme index values
+ LANG-1816: ArrayUtils contains/indexOf/indexesOf with
tolerance fail to match NaN values
+ Fix StringIndexOutOfBoundsException message in StrBuilder
.append(char[], int, int)
+ LANG-1818: Fix ClassUtils.getShortClassName(Class) to
correctly handle $ in valid class names
+ ThreadUtils.sleepQuietly(Duration) now restores the current
thread's interrupt flag when catching InterruptedException
+ LANG-1817: UncheckedFutureImpl clears thread interrupt status
when wrapping InterruptedException
+ Fix StringUtils.abbreviate(String, String, int) contract
violations
+ Add test coverage for negative-day adjustment in
DurationFormatUtils
+ [Javadoc] Add usage examples to CharSet.contains(char)
+ CharSet now maintains iteration order
+ LANG-771: DateUtils.ceiling does not behave correctly for
dates on the boundaries
+ LANG-1819: [LANG-] Javadoc ArrayUtils.removeAll() null input
behavior
+ LANG-1813: ArrayUtils#hashCode() Javadoc incorrectly states
?null returns zero? (actual result is 629)
+ Deprecate Validate.Validate()
+ LANG-1820: [javadoc] Fix ObjectUtils.anyNull(Object) for empty
arrays
+ Fix StopWatch's stopInstant match stopTimeNanos when split is
called
+ Fix NullPointerException in StopWatch.getStopTime()
+ Add "ppc64le" to ArchUtils. See https://bugs.gentoo.org/972590
+ LANG-1821: NumberUtils.isCreatable(String) should match
NumberUtils.createNumber(String), exactly
+ NumberUtils.isCreatable fails for hexadecimal numbers with
long type qualifier
+ NumberUtils.createNumber() performance: Short-circuit check
based on pre-derived candidate Double
+ LANG-1823: LocaleUtils.toLocale cannot parse valid JDK Locale
string containing '#'
+ LANG-879: LocaleUtils test fails with new Locale
"ja_JP_JP_#u-ca-japanese" of JDK7
+ Fix typo in SystemProperties.JDK_XML_ENTITY_REPLACEMENT_LIMIT
+ Recompute Range cached hash codes on deserialization while
retaining endpoint and comparator validation
+ Harden Fraction.readObject() to reject bad cached hash code
+ NumberUtils.createNumber(String): Float shortcut can bypass
exact decimal parsing
+ StringUtils.joins() for primitive types can throw OOME before
index check
+ Annotation lookup in MethodUtils.getAnnotation(Method, Class,
boolean, boolean) matches unrelated overloads via
assignable-parameter resolution
+ RandomStringUtils.random(...): A custom chars array throws
IllegalArgumentException because validation loops treat the
loop index as a char code point instead of an index into the
chars array
+ 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
+ TimedSemaphore.shutdown() must wake threads blocked in
acquire()
+ NaN bypass in primitive double range validators
+ LANG-1826: StringUtils.repeat(String, [String,] int) now
throws IllegalArgumentException instead of
NegativeArraySizeException
+ LANG-1825: EqualsBuilder.reflectionAppend ttries to set
visibility on excluded fields
+ ToStringStyle.appendDetail(StringBuffer,String,Collection)
bypass cycle registry
+ ToStringStyle.appendDetail(StringBuffer,String,Map) bypass
cycle registry
+ WordUtils.wrap() zero-width wrapOn regex match causes infinite
loop
+ HashCodeBuilder.append(Object) StackOverflowError on
mutually-referential objects
+ AtomicSafeInitializer.get() busy-spin without yield burns CPU
during slow initialization
+ StrBuilder.readFrom(Readable) exposes stale internal buffer to
Readable parameter
+ EqualsBuilder.reflectionEquals() array branch missing cycle
guard causes stack overflow on self-referential Object arrays
+ WordUtils.wrap() leaves separator characters in the output
when the wrapOn regex match is longer than one character
+ StringUtils.indexOfAny(CharSequence, int, char...) should not
throw for a bad index
+ StrBuilder.deleteImpl(int, int, int) doesn't clear its unused
bytes
+ LocaleUtils.parseLocale(String) operator precedence bug allows
invalid language with numeric country
+ DurationUtils.toMillisInt() throws ArithmeticException on long
overflows before clamping
+ FastDatePrinter WeekYear rule calls Calendar.getWeekYear() may
throw UnsupportedOperationException
+ DateUtils.parseDateWithLeniency() doesn't reset its time zone
+ FormattableUtils.append re-parses literal output as format
string
+ ClassUtils.getShortClassName(String) can throw
NoClassDefFoundError on malformed inner classes
+ TimeZones.GMT is a mutable public static final field
+ CompareToBuilder lacks cycle guard on Object[] recursion
+ ClassUtils.toCleanName(String) resolves malformed array
suffixes
+ StrBuilder.setLength(int) shrink-branch leaves residual chars
in buffer tail
+ StrBuilder.replaceImpl() shrink-branch leaves residual chars
in buffer tail
+ NumericEntityUnescaper.translate() throws
IllegalArgumentException for values out of range
+ FastTimeZone.getGmtTimeZone() Javadoc promises null on
no-match; regex always matches
+ Range.readObject() does not null-check comparator, minimum, or
maximum
+ Make the StopWatch more reliable for tracking nanos, adjust
suspend test
+ LANG-1801: RandomStringUtils.random() does not strictly
validate start and end
+ Fix CharSequenceUtils.lastIndexOf for supplementary code
points
+ Range.readObject() does not re-assert the comparator/ordering
invariant
+ Fraction.readObject() does not re-assert denominator != 0
+ FastDateParser.readObject(ObjectInputStream) now validates
the same
+ Fix StringUtils.indexOfAny() matching an unpaired trailing
high surrogate
+ Fix LookupTranslator code point consumption for supplementary
keys
+ Re-assert CharRange start <= end invariant in readObject
+ FluentBitSet.readObject(ObjectInputStream) should validate
constructor invariants
+ EventListenerSupport.readObject(ObjectInputStream) should
validate constructor invariants
+ Correct JavaDoc in Strings.java concerning case-sensitivity
+ Fix case-insensitive Strings.replace() dropping
length-changing matches
+ Fix int overflow in StringUtils.midString() and StrBuilder
.midString() length handling
+ Throw IllegalArgumentException for trailing whitespace in
ExtendedMessageFormat argument index
+ Reject doubled leading sign in NumberUtils.createBigInteger
+ Fix RandomStringUtils.random() false rejection of letters and
digits
+ Fix substringAfter(Last) for supplementary code points
+ Strip L suffix for oversized hex literals in createNumber
+ Fix spurious overflow in Fraction.add/subtract for coprime
denominators
+ Drop trailing empty token from splitByWholeSeparator
+ Fix indexOfDifference splitting a surrogate pair
+ Fix int mask sign extension in BitField long methods
+ Account for duplicate values in ObjectUtils.median()
+ Fix silent int overflow in Fraction.getFraction(double)
+ Find NaN in ArrayUtils.lastIndexOf for double and float arrays
+ Reject sign characters in UnicodeUnescaper hex values
+ Keep abbreviate and truncate off surrogate pair boundaries
+ Keep initials from splitting a supplementary code point
+ Fix int overflow in DurationFormatUtils.formatPeriod
+ Fix CsvUnescaper bounds error on a single quote field
+ LANG-1824: Fix Strings.replace overflow on large replacements
+ Classify supplementary code points in StringUtils is*
predicates
+ Emit surrogate pair for supplementary code points in
UnicodeEscaper
+ Fix MethodUtils.getMatchingMethod false ambiguity on boxed
arguments
+ Fold supplementary code points in
CharSequenceUtils.regionMatches
+ Fix WordUtils.containsAllWords missing words across line
breaks
+ Handle supplementary code points in WordUtils case methods
+ Fix StringUtils.getDigits dropping supplementary digits
+ Keep StrBuilder.reverse from splitting surrogate pairs
+ Fix NumberUtils min/max varargs dropping the sign of zero
+ Handle supplementary code points in
StringUtils.splitByCharacterType()
+ LANG-1828: Fix OOM in StringUtils.leftPad/rightPad when size
is Integer.MIN_VALUE
+ Fix Strings.CI.indexOf() returning out-of-range index for
empty search
+ LANG-1827: Support escaped single quotes ('') in
DurationFormatUtils format patterns
+ Keep DurationFormatUtils.lexx() from merging repeated fields
split by a literal
+ Reject hex letters in NumericEntityUnescaper decimal scan
+ Keep FastDateParser numeric parse from throwing on int
overflow
+ Keep FastDateParser.parse error message intact for Japanese
imperial locale
+ Keep ExtendedMessageFormat from rejecting a quoted format
style
+ Match String case folding in StrBuilder.equalsIgnoreCase
+ Fix FieldUtils.getField false ambiguity on inherited interface
field
+ Skip Chuvash locale parser tests on Java 27
+ Fix ArrayUtils.reverse range underflow on Integer.MIN_VALUE
end
+ Fix sign extension in BitField.getValue for top-bit fields
+ Fix int overflow in FluentBitSet.setInclusive at
Integer.MAX_VALUE
+ Add messages when throwing NullPointerException
+ [Javadoc] Fix Failable class comment to clarify comparison of
lambda versions
+ LANG-1829: Add tests for DateUtils.truncatedCompareTo and
truncatedEquals
+ LANG-1830: Avoid repeated regex compilation in ClassUtils
.toCleanName()
+ Add missing test for ObjectUtils.isEmpty(Object) and
wait(Object, Duration)
+ Fix negative week year formatting in FastDatePrinter
+ Keep abbreviateMiddle off surrogate pair boundaries
+ LANG-1815: Fix AnnotationUtils.equals for package-private
annotations
+ Fix two Javadoc errors in StringUtils
+ Reject non-ASCII hex characters in Conversion.hexDigitToInt
+ Fix the overflow bound direction in
Instants.toMillisSince(Instant)
+ Fix spurious overflow in Fraction.multiplyBy for unreduced
operands
+ Fix low surrogate false match in StringUtils
containsAny/containsNone/indexOfAny
+ Keep StringUtils.chop from splitting a trailing surrogate
pair
+ Keep StringUtils stripStart and stripEnd off surrogate pair
boundaries
+ Fix the month/day example in DurationFormatUtils.formatPeriod
Javadoc
+ Fix typos in Javadoc and example comments
+ Fix CharRange.contains(CharRange) for negated argument ranges
+ Fix SpotBugs USO_UNSAFE_METHOD_SYNCHRONIZATION in CharSet
+ Keep StopWatch.formatSplitTime from clamping splits to int
millis
+ Keep StringUtils left, right, mid, and overlay off surrogate
pair boundaries
+ Align ReflectionDiffBuilder with AbstractReflection and add
cycle detection to prevent StackOverflowError on cyclic object
graphs
+ Fix DurationFormatUtils.formatPeriod() calculation when
pattern omits 'M'
+ FastDateParser parses 'Y' (week year) as plain calendar year;
asymmetric with FastDatePrinter and with SimpleDateFormat;
boundary dates shift by a full year, silently
+ UnicodeUnescaper.unescapeJava/EcmaScript/Json: malformed \u
sequences throw undeclared IllegalArgumentException, AND
non-ASCII digit spellings of \u escapes are silently accepted;
both arms of one missing ASCII-hex prescan
+ StringUtils.replaceEachRepeatedly derives its recursion budget
from the input itself; the documented StackOverflowError
protection fails on large tables, and expanding rules amplify
text 64x even at the default TTL
+ EventUtils.EventBindingInvocationHandler.invoke() dispatches
Object.hashCode/equals/toString into the bound business method
(empty-eventTypes default), or returns null -> NPE from hash
collections (non-empty)
+ LocaleUtils static caches no longer grows on invalid input to
LocaleUtils.countriesByLanguage(String)
+ LocaleUtils static caches no longer grows on invalid input to
LocaleUtils.countriesByLanguage(String)
+ ExtendedMessageFormat.applyPattern() is quadratic: full
pattern.toCharArray() per token
+ WordUtils.wrap(wrapLongWords=false, the 2-arg default) copies
the entire remaining string every iteration.
+ FastDateParser.parse throws undeclared
IllegalArgumentException, NullPointerException, and
IllegalStateException on crafted date strings
+ Memoizer: default caches the first failure forever, has no
size bound or eviction, and runs the user computation inside
the ConcurrentHashMap bin lock (blocking unrelated keys,
deadlocking reentrant use)
+ StringEscapeUtils.escapeEcmaScript() misses
backtick/template-literal (`, ${) and inline-script
parser-state sequences (<!--, <script) - claim 'Deals
correctly with quotes' is falsified by ES6
+ StrSubstitutor (deprecated) recursive expansion has a cycle
check but no fan-out, depth, or size bound
+ DurationFormatUtils.formatPeriod walks the calendar one year
per iteration, Long.MAX_VALUE endMillis forces ~292 million
Calendar round trips on one thread
+ JavaVersion.get() throws NumberFormatException where javadoc
promises null
+ Match Javadoc to code in SystemProperties.getProperty() and
SystemUtils.getEnvironmentVariable() and update inline
comments
+ Fix LockingVisitors Javadoc to match code
+ DoubleRange/Range accept NaN endpoints, silently producing a
half-unbounded range, contains()/fit() fail open for every
value above the minimum
+ BitField long-mask fields silently mis-answer int/short/byte
accessors: shifts masked mod 32, and sign extension makes
above-bit-31 flags read as set on any negative holder
+ ClassUtils.getClass() name normalization (whitespace stripping
+ dot-to-dollar rewriting) defeats host-side class-name string
checks
+ Fraction.getFraction(String) throws undeclared
ArithmeticException on crafted numeric strings
('9999999999.5', '1/0', mixed-number overflow)
+ StringEscapeUtils.escapeHtml4/3 apostrophe gap: single-quoted
and unquoted HTML attribute contexts are trivially breakable,
and the javadoc discloses the gap only as an HTML4
entity-legality footnote
+ ArrayUtils.addAll/insert length arithmetic overflows
(undeclared NegativeArraySizeException) while sibling concat
is overflow-checked
+ FormattableUtils.append pads right-justified output with
insert(0) per char; O(width^2); '%500000s' costs ~1.25e11 char
moves
+ Attacker-controlled exception message forges frames in
getRootCauseStackTrace output AND suppresses all real frames,
beyond cosmetic log spoofing
+ StrBuilder.indexOf materializes the whole builder as a String
per call; deleteAll/replaceAll multiply it into ~750 GB churn
on a 1 MB builder
+ ThresholdCircuitBreaker accepts negative increments and
overflows its accumulator, silently keeping the breaker closed
+ ExceptionUtils.getThrowableList() cycle check is O(n^2) over
deep cause chains; all chain-walking consumers inherit it
+ Reflection builders' cycle registry unregisters per-visit:
cycle-SAFE but DAG-exponential, a 40-level reference diamond
drives ~2^40 traversals and unbounded output
+ FastDateFormat static caches grow without bound per distinct
pattern/zone/locale, untrusted patterns pin several KB each,
forever
+ Fix Fraction.add and subtract for operands not in lowest terms
+ Fix MethodUtils.invokeMethod on instances of non-public
classes
+ Fraction.add and subtract return the reduced form when an
operand is zero
+ Return null for out-of-range offset in FastTimeZone
.getGmtTimeZone
+ Fix TypeUtils.toString() recursion and bound handling on
recursive generic types
+ LANG-1834: Fix Fraction reduction for Integer.MIN_VALUE
+ Defensively clone the TimeZone in FastDatePrinter and
FastDateParser
+ Defensively clone time zones used as FastDateFormat cache keys
to prevent caller mutations from returning formatters with
stale time zone rules
+ Fix ConstructorUtils.getMatchingAccessibleConstructor on
non-public classes
+ Fix NumberUtils.createNumber() and isCreatable() for positive
Long literals with explicit '+' sign
+ Fix StrBuilder.lastIndexOf(String) start index for an empty
search
+ Fix int overflow in Conversion count and position bounds
guards
+ Preserve serialization compatibility with 3.20.0 for Range,
IntegerRange, LongRange, and DoubleRange by retaining Range
serialVersionUID 1L
Streams written by 3.21.0 RC1 with UID 2L require reading with
RC1 and exporting endpoint and comparator values before
rebuilding ranges with this release
* Changes:
+ Bump org.apache.commons:commons-parent from 92 to 105
+ [test] Bump org.apache.commons:commons-text from 1.14.0 to
1.15.0
* Mon May 11 2026 Fridrich Strba <fstrba@suse.com>
- Update to 3.20.0
* New features:
+ Add SystemProperties.getPath(String, Supplier<Path>)
+ Add JavaVersion.JAVA_25
+ Add JavaVersion.JAVA_26
+ Add SystemUtils.IS_JAVA_25
+ Add SystemUtils.IS_JAVA_26
+ Add MutablePair.ofNonNull(Map.Entry)
+ Add TimedSemaphore.builder(), Builder, and deprecate
constructors
+ LANG-1504: Adding labels and history to split StopWatch
* Fixed Bugs:
+ Optimize ObjectToStringComparator.compare() method
+ [javadoc] Improve StringUtils Javadoc
+ Fix internal inverted logic in private isEnum() method and
correct its usage in getFirstEnum()
+ Use accessors in ToStringStyle so subclasses can effectively
override them
+ 'LocaleUtils.toLocale(String)' for a 2 letter country code
now returns a value instead of throwing an
'IllegalArgumentException'
+ Fix typo in StringUtils.trunctate() IllegalArgumentException
message and test assertion messages
+ Fix test fixture in
ReflectionDiffBuilderTest.testTransientFieldDifference()
+ LANG-1789: NullPointerException when generating
NoSuchMethodException in MethodUtils
+ LANG-1786: Map deprecated TimeZone short IDs and avoid JRE
WARNINGs to the console
+ LANG-1792: TypeUtils.toString() skips angle brackets for Class
type
+ Mention JDK 25 LTS as a tested version in the release notes
* Changes:
+ Bump org.apache.commons:commons-parent from 88 to 92
* Mon May 11 2026 Fridrich Strba <fstrba@suse.com>
- Update to 3.19.0
* New features:
+ Add ArrayUtils.SOFT_MAX_ARRAY_LENGTH
+ Add SystemUtils.IS_OS_NETWARE
+ Add MethodUtils.getAccessibleMethod(Class, Method)
+ Add documentation to site for CVE-2025-48924
ClassUtils.getClass(...) can throw a StackOverflowError on
very long inputs
+ Add StringUtils.indexOfAny(CharSequence, int, char...)
+ Add ConcurrentException.ConcurrentException(String)
+ Add DateUtils.toLocalDateTime(Date[, TimeZone])
+ Add DateUtils.toOffsetDateTime(Date[, TimeZone])
+ Add DateUtils.toZonedDateTime(Date[, TimeZone])
+ Add ByteConsumer
+ Add ByteSupplier
+ Add FailableByteConsumer
+ Add FailableByteSupplier
+ LANG-1784: Add Functions methods for null-safe mapping and
chaining
+ LANG-1784: Add Failable methods for null-safe mapping and
chaining
+ Add DoubleRange.fit(double)
+ Add IntegerRange.fit(int)
+ Add LongRange.fit(long)
+ Add DurationUtils.get(String, TemporalUnit, long)
+ Add DurationUtils.getMillis(String, long)
+ Add DurationUtils.getSeconds(String, long)
+ Add SystemProperties.getBoolean(Class, String, boolean)
+ Add SystemProperties.getInt(Class, String, int)
+ Add SystemProperties.getLong(Class, String, long)
* Fixed Bugs:
+ LANG-1778: MethodUtils.getMatchingMethod() doesn't respect the
hierarchy of methods
+ MethodUtils.getMethodObject(Class<?>, String, Class<?>...) now
returns null instead of throwing a NullPointerException, as it
does for other exception types
+ Reduce spurious failures in ArrayUtilsTest methods that test
ArrayUtils.shuffle() methods
+ MethodUtils cannot find or invoke a public method on a public
class implemented in its package-private superclass
+ AtomicSafeInitializer.get() can spin internally if the
FailableSupplier given to AbstractConcurrentInitializer
.AbstractBuilder.setInitializer(FailableSupplier) throws a
RuntimeException
+ LANG-1783: WordUtils.containsAllWords?() may throw
PatternSyntaxException
+ LANG-1782: MethodUtils cannot find or invoke vararg methods
without providing vararg types or values
+ MethodUtils cannot find or invoke vararg methods of interface
types
+ MethodUtils cannot find or invoke vararg methods when widening
primitive types following the JLS 5.1.2. Widening Primitive
Conversion
+ LANG-1597: Invocation fails because matching varargs method
found but then discarded
+ Don't check accessibility twice in MemberUtils
.setAccessibleWorkaround(T)
+ LANG-1774: Improve handling of ClassUtils
.getShortCanonicalName() for invalid input
+ LANG-1720: Improve Javadocs for Conversion
+ Fix CalendarUtils.toLocalDate() Javadoc return type
description
+ Fix the method name in Javadoc examples for CharUtils.isHex()
+ Deprecate NumberUtils.compare(byte, byte) in favor of
Byte.compare(byte, byte)
+ Deprecate NumberUtils.compare(int, int) in favor of
Integer.compare(int, int)
+ Deprecate NumberUtils.compare(long, long) in favor of
Long.compare(long, long)
+ Deprecate NumberUtils.compare(short, short) in favor of
Short.compare(short, short)
+ Deprecate obsolete system property constant
SystemProperties.AWT_TOOLKIT
+ Deprecate obsolete system property constant
SystemProperties.JAVA_AWT_FONTS
+ Deprecate obsolete system property constant
SystemProperties.JAVA_AWT_GRAPHICSENV
+ Deprecate obsolete system property const.ant
SystemProperties.JAVA_AWT_HEADLESS
+ Deprecate obsolete system property constant
SystemProperties.JAVA_AWT_PRINTERJOB
+ Deprecate obsolete system property constant
SystemProperties.JAVA_COMPILER
+ Deprecate obsolete system property constant
SystemProperties.JAVA_ENDORSED_DIRS
+ Deprecate obsolete system property constant
SystemProperties.JAVA_EXT_DIRS
+ Deprecate method for obsolete system property constant
SystemProperties.getAwtToolkit()
+ Deprecate method for obsolete system property constant
SystemProperties.getJavaAwtFonts()
+ Deprecate method for obsolete system property constant
SystemProperties.getJavaAwtGraphicsenv()
+ Deprecate method for obsolete system property constant
SystemProperties.getJavaAwtHeadless()
+ Deprecate method for obsolete system property constant
SystemProperties.getJavaAwtPrinterjob()
+ Deprecate method for obsolete system property constant
SystemProperties.getJavaCompiler()
+ Deprecate method for obsolete system property constant
SystemProperties.getJavaEndorsedDirs()
+ Deprecate method for obsolete system property constant
SystemProperties.getJavaExtDirs()
+ Deprecate method for obsolete system property constant
SystemUtils.isJavaAwtHeadless()
+ Deprecate constants for obsolete system property
SystemUtils.JAVA_AWT_FONTS
+ Deprecate constants for obsolete system property
SystemUtils.JAVA_AWT_GRAPHICSENV
+ Deprecate constants for obsolete system property
SystemUtils.JAVA_AWT_HEADLESS
+ Deprecate constants for obsolete system property
SystemUtils.JAVA_AWT_PRINTERJOB
+ Deprecate constants for obsolete system property
SystemUtils.JAVA_COMPILER
+ Deprecate constants for obsolete system property
SystemUtils.JAVA_ENDORSED_DIRS
+ Deprecate constants for obsolete system property
SystemUtils.JAVA_EXT_DIRS
+ [javadoc] General improvements
+ [javadoc] Fix thrown exception documentation for
MethodUtils.getMethodObject(Class<?>, String, Class<?>...)
+ [javadoc] Strings::equalsAny: CI doc string should show it's
insensitive
+ [javadoc] General Javadoc improvements
+ LANG-1780: [javadoc] Fix Strings Javadoc
+ [javadoc] Fix typo in Javadoc of Strings instances
+ [javadoc] Fix Javadocs in ClassUtils
+ [javadoc] Fix @deprecated link for StringUtils#startsWithAny
+ Replace old feather logotype with new oak logotype
* Changes:
+ [test] Bump org.apache.commons:commons-text from 1.13.1 to
1.14.0
+ Bump org.apache.commons:commons-parent from 85 to 88
* Tue Jul 15 2025 Fridrich Strba <fstrba@suse.com>
- Update to 3.18.0
* New features:
+ Add Strings and refactor StringUtils
+ LANG-1747: Add StopWatch.run([Failable]Runnable) and
get([Failable]Supplier)
+ Add JavaVersion.JAVA_23
+ Add JavaVersion.JAVA_24
+ Add SystemUtils.IS_JAVA_23
+ Add SystemUtils.IS_JAVA_24
+ Add IntegerRange.toIntStream()
+ Add LongRange.toLongStream()
+ Add IntStrams.of(int...)
+ Add ArrayUtils.containsAny(int[], int...)
+ Add CalendarUtils.toLocalDate() #725
+ Add SystemUtils.IS_OS_MAC_OSX_SEQUOIA
+ Add BasicThreadFactory.builder() and deprecate
BasicThreadFactory.Builder()
+ Add BasicThreadFactory.daemon()
+ Add ArrayUtils.startsWith
+ Add Predicates
+ Add RegExUtils methods typed to CharSequence input and
deprecate old versions typed to String
+ Add IterableStringTokenizer
+ Add FailableIntToFloatFunction
+ Add Validate.isTrue(boolean, Supplier<String>)
+ Add EnumUtils.getFirstEnum(Class<E>, int, ToIntFunction<E>, E)
+ Add FailableToBooleanFunction
+ Add the @FunctionalInterface annotation to
org.apache.commons.lang3.concurrent.Computable
+ Add SystemUtils.getJavaIoTmpDirPath()
+ Add SystemUtils.getJavaHomePath()
+ Add SystemUtils.getUserDirPath()
+ Add SystemUtils.getUserHomePath()
+ Add ArrayFill.fill(T[], FailableIntFunction))
+ Add SystemProperties.JAVA_SECURITY_DEBUG
+ Add SystemProperties.JAVA_SECURITY_KERBEROS_CONF
+ Add SystemProperties.JAVA_SECURITY_KERBEROS_KDC
+ Add SystemProperties.JAVA_SECURITY_KERBEROS_REAL
+ Add ArrayFill.fill(boolean[], boolean) #1386
+ Add ObjectUtils.getIfNull(Object, Object) and deprecate
defaultIfNull(Object, Object)
+ org.apache.commons.lang3.mutable.Mutable now extends Supplier
+ Add org.apache.commons.lang3.CharUtils.isHex(char)
+ Add org.apache.commons.lang3.CharUtils.isOctal(char)
+ Add org.apache.commons.lang3.concurrent.locks.LockingVisitors
.reentrantLockVisitor(Object)
+ Add org.apache.commons.lang3.concurrent.locks.LockingVisitors
.create(Object, ReentrantLock)
+ Add org.apache.commons.lang3.concurrent.locks.LockingVisitors
.ReentrantLockVisitor
+ Add builders for LockingVisitors implementations
+ Add EnumSet.stream(Class)
+ Add org.apache.commons.lang3.SystemProperties.isPropertySet(String)
* Fixed Bugs:
+ Fix flaky FileUtilsWaitForTest.testWaitForNegativeDuration()
+ Pick up exec-maven-plugin version from parent POM
+ Speed up and sanitize StopWatchTest
+ Fix handling of non-ASCII letters and numbers in
RandomStringUtils #1273
+ Rewrite ClassUtils.getClass(...) without recursion to avoid
StackOverflowError on very long inputs (bsc#1246397,
CVE-2025-48924)
+ OSS-Fuzz Issue 42522972: apache-commons-text:
StringSubstitutorInterpolatorFuzzer: Security exception in
org.apache.commons.lang3.ClassUtils.getClass
+ Remove trailing whitespace in StopWatch exception messages
+ LANG-1754: Use getAllSuperclassesAndInterfaces() in
getMatchingMethod() #1289
+ Add details to the ArrayFill Javadoc
+ Add details to the ArraySorter Javadoc
+ Fix broken URL to project location in Maven Central #1296
+ LANG-1753: StringUtils.replaceEachRepeatedly regression in
3.11+ #1297
+ Use simplified JUnit assertion methods #1298
+ LANG-1682: Javadoc and test: Use Strings.CI.startsWithAny
method instead #1299
+ Fix NullPointerException in FastDateParser.TimeZoneStrategy
.setCalendar(FastDateParser, Calendar, String) on Java 23
+ LANG-1757: Fix NullPointerException in MethodUtils
.getMatchingAccessibleMethod((Class, String, Class...))
+ LANG-1698: Fix StackOverflowError in TypeUtils
.typeVariableToString(TypeVariable), TypeUtils.toString(Type)
on Java 17 and up
+ LANG-1511: SystemUtils is missing important documentation
+ Make Failable.run(FailableRunnable) null-safe
+ Make Failable.accept(*) null-safe
+ Improve container detection by mimicking systemd #1323
+ Make LangCollectors.collect(...) null-safe
+ Make LangCollectors.collect(...) null-safe
+ Fix names of UTF-16 surrogate character test fixture
constants, see also #1326
+ Moditect plugin generates split package warnings
+ LocaleUtils.availableLocaleSet() uses predictable iteration
order
+ LANG-1759: SerializationUtils.clone(Object) throws
ClassCastException when called with a Serializable lambda
+ LANG-1759: [StringUtils::indexOfAnyBut] redesign due to
inconsistent/faulty behavior regarding UTF-16 surrogates #1327
+ Undeprecate ObjectUtils.toString(Object)
+ Fix Spotbugs [ERROR] Medium: The field org.apache.commons
.lang3.builder.DiffBuilder$SDiff.leftSupplier is transient but
isn't set by deserialization [org.apache.commons.lang3.builder
.DiffBuilder$SDiff] In DiffBuilder.java
SE_TRANSIENT_FIELD_NOT_RESTORED
+ Fix Spotbugs [ERROR] Medium: The field org.apache.commons
.lang3.builder.DiffBuilder$SDiff.rightSupplier is transient but
isn't set by deserialization [org.apache.commons.lang3.builder
.DiffBuilder$SDiff] In DiffBuilder.java
SE_TRANSIENT_FIELD_NOT_RESTORED
+ LANG-1762: StopWatch methods should not delegate to deprecated
methods
+ Don't call TypeUtils.toString(Type) on every array item in
TypeUtils.parameterize[WithOwner](Type, Class, Map, Type>)
unless required
+ Remove -nouses directive from maven-bundle-plugin. OSGi
package imports now state 'uses' definitions for package
imports, this doesn't affect JPMS
(from org.apache.commons:commons-parent:80)
+ Instead of throwing a NullPointerException,
ArrayUtils.toStringArray(Object[]) should return "null" for
null elements like ArrayUtils.toStringArray(Object[], String)
returns its valueForNullElements
+ LANG-1764: Deprecate NumericEntityUnescaper.OPTION in favor of
Apache Commons Text
+ Several hash collisions in Fraction class
+ LANG-1768: MutableLong and friends should provide better
parsing exceptions Javadocs
+ Reimplement StringUtils.toCodePoints(CharSequence) to use
java.lang.CharSequence.codePoints()
+ Reimplement StringUtils.capitalize(String) to use
java.lang.CharSequence.codePoints()
+ Reimplement StringUtils.uncapitalize(String) to use
java.lang.CharSequence.codePoints()
+ org.apache.commons.lang3.ClassUtils.getCanonicalName(String)
now throws an IllegalArgumentException for array dimensions
greater than 255
+ Fix Javadoc typo and improve clarity in defaultIfBlank method
[#1376]
+ LANG-1773: Apache Commons Lang no longer builds on Android
[#1381]
+ LANG-1772: Restrict size of cache to prevent overflow errors
[#1379]
+ LANG-1772: Reimplement
org.apache.commons.lang3.ClassUtils.hierarchy(Class,
Interfaces) using an AtomicReference
+ Fix Javadoc code examples in DiffBuilder and
ReflectionDiffBuilder #1400
+ Fix generics in org.apache.commons.lang3.stream.Streams
.toArray(Class) signature
+ LANG-1727: EventListenerSupport doesn't document ordering of
events
+ Fix edge-case NullPointerException in org.apache.commons.lang3
.SystemUtils.IS_OS_ANDROID
+ Fix edge-case NullPointerException in org.apache.commons.lang3
.SystemUtils.isJavaVersionAtLeast(JavaVersion)
+ Fix edge-case NullPointerException in org.apache.commons.lang3
.SystemUtils.isJavaVersionAtMost(JavaVersion)
+ Return the default enum if a SecurityException is caught in
getEnumSystemProperty()
+ Fix edge-case NullPointerException in org.apache.commons.lang3
.EnumUtils.getEnum(Class, String, E)
+ org.apache.commons.lang3.EnumUtils
.getFirstEnumIgnoreCase(Class, String, Function, E) now
returns the given default enum on null enumClass input
+ org.apache.commons.lang3.EnumUtils.getEnumIgnoreCase(Class,
String, E) now returns the given default enum on null
enumClass input
+ org.apache.commons.lang3.EnumUtils.getEnumIgnoreCase(Class,
String) now returns the given default enum on null enumClass
input
+ Fix NullPointerException in org.apache.commons.lang3.compare
.ComparableUtils.ComparableCheckBuilder.equalTo(A)
+ Fix NullPointerException in org.apache.commons.lang3.compare
.ComparableUtils.ComparableCheckBuilder.greaterThan(A)
+ Fix NullPointerException in org.apache.commons.lang3.compare
.ComparableUtils.ComparableCheckBuilder.greaterThanOrEqualTo(A)
+ Fix NullPointerException in org.apache.commons.lang3.compare
.ComparableUtils.ComparableCheckBuilder.lessThan(A)
+ Fix NullPointerException in org.apache.commons.lang3.compare
.ComparableUtils.ComparableCheckBuilder.lessThanOrEqualTo(A)
+ LANG-1776: Use GitHub URL in POM for improved automation
support
* Tue Apr 01 2025 Gus Kenion <gus.kenion@suse.com>
- Update to 3.17.0
* New features:
* RandomUtils.secure() now uses SecureRandom() instead of
SecureRandom.getInstanceStrong().
* RandomStringUtils.secure() now uses SecureRandom() instead of
SecureRandom.getInstanceStrong().
* Remove unused exception from deprecated
StringUtils.toString(byte[], String).
* Make RandomUtils.insecure() public.
* Add RandomUtils.secureStrong().
* Add RandomStringUtils.secureStrong().
* Add CalendarUtils.toLocalDateTime(Calendar).
* Add CalendarUtils.toLocalDateTime().
* Add CalendarUtils.toZonedDateTime(Calendar).
* Add CalendarUtils.toZonedDateTime().
* Add CalendarUtils.toOffsetDateTime(Calendar).
* Add CalendarUtils.toOffsetDateTime().
* Fixed Bugs:
+ LANG-1760: Using RandomStringUtils.insecure() still leads to
using the secure() random.
* Deprecate static RandomUtils.next*() methods in favor or
.secure() and .insecure() versions.
* Deprecate static RandomStringUtils.random*() methods in favor
or .secure() and .insecure() versions.
* Changes:
* Bump org.hamcrest:hamcrest from 2.2 to 3.0 #1255.
* Bump org.easymock:easymock from 5.3.0 to 5.4.0 #1256.
* Bump org.codehaus.mojo:exec-maven-plugin from 3.3.0 to 3.4.1
[#1262], #1264.
* Bump org.apache.commons:commons-parent from 72 to 73 #1265.
* Fri Aug 09 2024 Gus Kenion <gus.kenion@suse.com>
- Update to 3.16.0:
* New features:
+ Add StopWatch.getSplitDuration() and deprecate
getSplitTime().
+ Add StopWatch.getStartInstant() and deprecate getStartTime().
+ Add StopWatch.getStopInstant() and deprecate getStopTime().
+ Add StopWatch.getDuration() and deprecate getTime().
+ Add Javadoc links from StopWatch to DurationUtils #1249.
+ Add LangCollectors.collect(Collector, T...).
+ Add RandomStringUtils.secure().
+ Add RandomStringUtils.insecure().
* Fixed bugs:
+ Reimplement StopWatch internals to use java.time.
+ RandomStringUtils.random() with a negative character index
should throw IllegalArgumentException. Fixes LANG-1745.
+ LocaleUtils.toLocale(String) cannot parse four segments.
Fixes LANG-1741.
+ Use fewer intermediary strings in
DefaultExceptionContext.getFormattedExceptionMessage(String).
+ Fix Javadoc in StringUtils.splitPreserveAllTokens() #1251.
+ Deprecate ArraySort constructor for removal.
+ Deprecate CharEncoding constructor for removal.
+ Deprecate Conversion constructor for removal.
+ Deprecate Conversion constructor for removal.
+ Deprecate EntityArrays constructor for removal.
+ Deprecate ObjectToStringComparator constructor for removal.
+ Deprecate RuntimeEnvironment constructor for removal.
- Includes changes from 3.15.0:
* New features:
+ Customize text pattern in DiffResult#toString(). Fixes
LANG-1724.
+ Add DiffBuilder.Builder.
+ Add DiffBuilder.builder().
+ Add ReflectionDiffBuilder.Builder.
+ Add ReflectionDiffBuilder.builder().
+ Add test in TypeUtilsTest #1151.
+ Add Streams.failableStream(T), non-varargs variant.
+ Add Streams.nonNull(T), non-varargs variant.
+ Add ArrayUtils.nullTo(T[], T[]).
+ Add T ArrayUtils.arraycopy(T, int, T, int, int) fluent style.
+ Add T ArrayUtils.arraycopy(T, int, int, int, Function) fluent
style.
+ Add SystemUtils.IS_JAVA_22.
+ Add JavaVersion.JAVA_22.
+ Add SystemProperties.getUserName(Supplier<String>).
+ Add SystemProperties.getLineSeparator(Supplier<String>).
+ Add
+ SystemProperties.getJavaSpecificationVersion(Supplier<String>).
+ Add SystemProperties constants and methods for system
properties as of Java 22.
+ Add MethodUtils.getMethodObject(Class, String, Class...).
+ Add null-safe Consumers.accept() and Functions.apply() #1215.
Fixes LANG-1733.
+ Add SystemUtils.IS_OS_ANDROID.
+ Add SystemUtils.IS_OS_MAC_OSX_SONOMA.
+ Add RuntimeEnvironment.inContainer() #1241.
+ Add AppendableJoiner and refactor string joining #1244.
* Fixed bugs:
+ Improve Javadoc in ExceptionUtils #1136.
+ Fixed two non-deterministic tests in EnumUtilsTest.java
[#1131].
+ Fix wrong number check that cause
StringIndexOutOfBoundsException #1140. Fixes LANG-1721.
+ Rethrow NegativeArraySizeException as SerializationException
in SerializationUtils.deserialize(InputStream) #1141. Fixes
LANG-1722.
+ Throw NumberFormatException instead of
IndexOutOfBoundsException in NumberUtils.getMantissa(String,
int) #1145. Fixes LANG-1723.
+ Minor grammar fixes #1143.
+ ArrayUtils will return null when adding two null arrays, but
undocumented. Fixes LANG-1713.
+ Let parent POM figure out commons.spdx.version.
+ Undeprecate ExceptionUtils.rethrow(Throwable). Fixes
LANG-1726.
+ Test the Conversion class #1155. Fixes LANG-1702.
+ Address minor redundancies after code inspection #1148.
+ Allow EventListenerSupport to handle (and ignore) exception
from listeners allowing invocation of all listeners #1167.
+ Deprecate AnnotationUtils 0-argument constructor.
+ Deprecate ArchUtils 0-argument constructor.
+ Deprecate ArrayUtils 0-argument constructor.
+ Deprecate BooleanUtils 0-argument constructor.
+ Deprecate CharSequenceUtils 0-argument constructor.
+ Deprecate CharSetUtils 0-argument constructor.
+ Deprecate CharUtils 0-argument constructor.
+ Deprecate ClassLoaderUtils 0-argument constructor.
+ Deprecate ClassPathUtils 0-argument constructor.
+ Deprecate ClassUtils 0-argument constructor.
+ Deprecate ConstructorUtils 0-argument constructor.
+ Deprecate DateFormatUtils 0-argument constructor.
+ Deprecate DateUtils 0-argument constructor.
+ Deprecate Diff.getType().
+ Deprecate DiffBuilder.DiffBuilder(T, T, ToStringStyle).
+ Deprecate DiffBuilder.DiffBuilder(T, T, ToStringStyle,
boolean).
+ Deprecate DurationFormatUtils 0-argument constructor.
+ Deprecate DurationUtils 0-argument constructor.
+ Deprecate EnumUtils 0-argument constructor.
+ Deprecate EventUtils 0-argument constructor.
+ Deprecate FieldUtils 0-argument constructor.
+ Deprecate IEEE754rUtils 0-argument constructor.
+ Deprecate InheritanceUtils 0-argument constructor.
+ Deprecate IntStreams 0-argument constructor.
+ Deprecate LocaleUtils 0-argument constructor.
+ Deprecate LockingVisitors 0-argument constructor.
+ Deprecate MemberUtils 0-argument constructor.
+ Deprecate MethodUtils 0-argument constructor.
+ Deprecate NumberUtils 0-argument constructor.
+ Deprecate ObjectUtils 0-argument constructor.
+ Deprecate RandomStringUtils 0-argument constructor.
+ Deprecate RandomUtils 0-argument constructor.
+ Deprecate ReflectionDiffBuilder.ReflectionDiffBuilder(T, T,
ToStringStyle).
+ Deprecate RegExUtils 0-argument constructor.
+ Deprecate SerializationUtils 0-argument constructor.
+ Deprecate Streams 0-argument constructor.
+ Deprecate StringEscapeUtils 0-argument constructor.
+ Deprecate StringUtils 0-argument constructor.
+ Deprecate Suppliers 0-argument constructor.
+ Deprecate SystemProperties 0-argument constructor.
+ Deprecate ThreadUtils 0-argument constructor.
+ Deprecate TypeUtils 0-argument constructor.
+ Make ArrayFill null-safe.
+ Make ArraySorter null-safe.
+ Make ArrayUtils.removeAll() null-safe.
+ Fix Java version in README.md #1170.
+ StringUtils.stripAccents() should handle ligatures, UTF32
math blocks, etc. #1201.
+ TypeUtils.toString(Type) StackOverflowError for an inner
class in the inner class parameterized enclosing class #657.
Fixes LANG-1524.
+ Deprecate SystemUtils.getUserName(String) in favor of
SystemProperties.getUserName(Supplier).
+ Make LockVisitor.acceptReadLocked(FailableConsumer)
null-safe.
+ Make LockVisitor.applyWriteLocked(FailableConsumer)
null-safe.
+ Make ObjectUtils.getFirstNonNull(Supplier...) null-safe.
+ Make SystemProperties.getLineSeparator(Supplier).
+ StringUtils.stripAccents(String) doesn't handle "\u0111" and
"\u0110" (Vietnamese) #1216.
+ StringUtils.stripAccents(String) doesn't handle I with bar.
+ StringUtils.stripAccents(String) doesn't handle U with bar.
+ StringUtils.stripAccents(String) doesn't handle T with
stroke.
+ Fix Javadoc for FluentBitSet.setInclusive(int, int) #1222.
Fixes LANG-1735.
+ Same Javadoc changes as [TEXT-234] #1223.
+ Remove duplicate static data in
SerializationUtils.ClassLoaderAwareObjectInputStream.
+ Reimplement RandomUtils and RandomStringUtils on top of
SecureRandom#getInstanceStrong() #1235.
+ DiffBuilder: Type constraint for method append(...,
DiffResult) too strict #786. Fixes LANG-1657.
* Tue May 14 2024 Fridrich Strba <fstrba@suse.com>
- Update to 3.14.0:
* New features:
+ Add Functions#function(Function).
+ Add FailableFunction#function(FailableFunction).
+ Add CalendarUtils.getInstance().
+ Add syntax for optional tokens to DurationFormatUtils.
+ Add ArrayFill.
+ Add FastDateParser.TimeZoneStrategy.TzInfo.toString().
+ Add LocaleUtils.isLanguageUndetermined(Locale).
+ Add ObjectUtils.toString(Supplier<Object>, Supplier<String>).
+ Add LazyInitializer.isInitialized().
+ Add ConcurrentInitializer#isInitialized() #1120.
+ Add Streams.failableStream(T...).
+ Add FailableSupplier.nul().
+ Add Suppliers.nul().
+ Add ExceptionUtils.throwUnchecked(T) where T extends
Throwable, and deprecate Object version.
+ Add ExceptionUtils.rethrowRuntimeException(T), and deprecate
rethrow(T).
+ ConcurrentInitializer implementations can now be instantiated
and configured with allocation and release lambdas.
Fixes LANG-1716.
+ Add support for RISC-V in ArchUtils #1128. Fixes LANG-1717.
* Fixed bugs:
+ Rename variable names from 'clss' to 'clazz'.
+ [Javadoc] ComparableUtils'c1' to 'comparable1', 'c2' to
'comparable2'
+ [Javadoc] Remove 2.1 specific comment #1091.
+ [Javadoc] Fix Incorrect Description in Processor isAarch64()
[#1093]. Fixes LANG-1704.
+ [Javadoc] Point to right getShortClassName flavor in Javadoc
for relevant notes #1097.
+ Improve performance of StringUtils.isMixedCase().
+ ThreadUtils find methods should not return null items. Fixes
LANG-1706.
+ ReflectionToStringBuilder changes in version 3.13.0 has broken
the logic for overriding classes. Fixes LANG-1710.
+ Return "null" instead of NPE in
ClassLoaderUtils.toString(ClassLoader).
+ Return "null" instead of NPE in
ClassLoaderUtils.toString(URLClassLoader).
+ Return ToStringStyle.nullText instead of NPE for
ReflectionToStringBuilder.toString().
+ Fix ThresholdCircuitBreaker#checkState().
+ Use ConcurrentInitializer implementations without subclassing.
+ Update critical value for chi-square test.
+ Fix Javadoc syntax errors #1129.
- From 3.13.0 update
* New features:
+ Add GitHub coverage.yml.
+ Add EnumUtils.getEnumSystemProperty(...).
+ Add TriConsumer.
+ Add and use EnumUtils.getFirstEnumIgnoreCase(Class, String,
Function, E).
+ Add and use Suppliers.
+ Add and use ArrayUtils.getComponentType(T[]).
+ Add and use ClassUtils.getComponentType(Class>T[]>).
+ Add and use ObjectUtils.getClass(T).
+ Add and use ArrayUtils.newInstance(Class>T>, int).
+ Add and use null-safe Streams.of(T...).
+ Add ClassUtils.comparator().
+ Add and use ThreadUtils.sleepQuietly(Duration).
+ Add and use ArrayUtils.setAll(T[], IntFunction).
+ Add and use ArrayUtils.setAll(T[], Supplier).
+ Add BooleanConsumer.
+ Add IntToCharFunction.
+ Add IntStreams.
+ Add UncheckedFuture.
+ Add UncheckedException.
+ Add UncheckedExecutionException.
+ Add UncheckedTimeoutException.
+ Add UncheckedInterruptedException.
+ Add TimeZones.GMT.
+ Add ObjectUtils.identityHashCodeHex(Object).
+ Add ObjectUtils.hashCodeHex(Object).
+ Add StringUtils.removeStart(String, char).
+ Add null-safe ObjectUtils.isArray(). Fixes LANG-1659.
+ Add ComparableUtils.max(A, A) and ComparableUtils.min(A, A).
+ Add UncheckedReflectiveOperationException.
+ Add and use ClassUtils.isPublic(Class).
+ Add UncheckedIllegalAccessException.
+ Add MethodInvokers.
+ Add Streams.nullSafeStream(Collection).
+ Add Streams.toStream(Collection).
+ Add Streams.failableStream(Collection) and deprecate misnamed
stream(Collection).
+ Add Streams.failableStream(Stream) and deprecate misnamed
stream(Stream).
+ Add EnumUtils.getEnumMap(Class, Function).
+ Add FluentBitSet.
+ Add Streams.instancesOf(Class, Collection).
+ Add ImmutablePair.ofNonNull(L, R).
+ Add ImmutableTriple.ofNonNull(L, M, R).
+ Add MutablePair.ofNonNull(L, R).
+ Add MutableTriple.ofNonNull(L, M, R).
+ Add Pair.ofNonNull(L, R).
+ Add Triple.ofNonNull(L, M, R).
+ Add ArrayUtils.containsAny(Object[], Object...).
+ Add Processor.Type.AARCH_64.
+ Add Processor.isAarch64().
+ Update ArchUtils.getProcessor(String) for "aarch64".
+ Add JavaVersion.JAVA_18.
+ Add JavaVersion.JAVA_19.
+ Add JavaVersion.JAVA_20.
+ Add JavaVersion.JAVA_21.
+ Add TimeZones.toTimeZone(TimeZone).
+ Add FutureTasks.
+ Add Memoizer(Function) and Memoizer(Function, boolean).
+ Add Consumers.
+ Add github/codeql-action.
+ Add coverage.yml.
+ Add DurationUtils.since(Temporal).
+ Add DurationUtils.of(FailableConsumer|FailableRunnbale).
+ Add ExceptionUtils.forEach(Throwable, Consumer<Throwable>).
+ Add ExceptionUtils.stream(Throwable).
+ Add ExceptionUtils.getRootCauseStackTraceList(Throwable).
+ Add SystemUtils.IS_OS_WINDOWS_11.
+ Add SystemUtils.IS_JAVA_16.
+ Add SystemUtils.IS_JAVA_17.
+ Add SystemUtils.IS_JAVA_18.
+ Add SystemUtils.IS_JAVA_19.
+ Add SystemUtils.IS_JAVA_20.
+ Add SystemUtils.IS_JAVA_21.
+ Add ArrayUtils.oneHot(). Fixes LANG-1627.
+ Let ReflectionToStringBuilder only reflect given field names.
Fixes LANG-1662.
+ Add Streams.of(Enumeration<E>).
+ Add Streams.of(Iterable<E>).
+ Add Streams.of(Iterator<E>).
+ Simple support for Optional in ObjectUtils#isEmpty(). Fixes
LANG-1689.
+ Add Processor.Type.getLabel().
+ Add Processor.toString().
+ Add HashCodeBuilder.equals(Object).
+ Add BooleanUtils.values() and forEach().
+ Add ClassPathUtils.packageToPath(String) and pathToPackage(String)
+ Add CalendarUtils#getDayOfYear()
+ Add NumberRange, DoubleRange, IntegerRange, LongRange.
+ Add missing exception javadoc/tests for some null arguments.
+ Add ClassLoaderUtils.getSystemURLs() and getThreadURLs().
+ Add RegExUtils.dotAll() and dotAllMatcher().
+ Add Pair.accept(FailableBiConsumer).
+ Add Pair.apply(FailableBiFunction).
+ Add ReflectionDiffBuilder.setExcludeFieldNames(...) and
DiffExclude a... Fixes LANG-1677.
+ Add and ExceptionUtils.isChecked() and isUnchecked(). Fixes
LANG-1647.
+ Add and use ExceptionUtils.throwUnchecked(throwable).
+ Add LockingVisitors.create(O, ReadWriteLock).
* Fixed bugs:
+ NumberUtils.createNumber() to recognize hex integers prefixed
with +. Fixes LANG-1645.
+ NumberUtils.createNumber() to return requested floating point
type for zero. Fixes LANG-1646.
+ DMI: Random object created and used only once
(DMI_RANDOM_USED_ONLY_ONCE); Better multi-threaded behavior.
+ Redundant Collection operation. Use
Collections.emptyIterator(). Fixes LANG-1646.
+ Make Streams.stream(Collection) null-safe.
+ Allow tests to access java.util classes such as ArrayList in
Java 16. Fixes LANG-1667.
+ OpenJDK 16 Day Period Parsing. Fixes LANG-1669.
+ Update documentation to list correct exception for null array
parameters. Fixes LANG-1663.
+ Fixing reversed Javadoc descriptions in StopWatch.
+ Fix typos in JavaDoc. Fixes LANG-1670.
+ Simplify assertions with equivalent but more simple..
+ Avoid multiple equivalent occurrences of the same expression.
+ Remove redundant initializers.
+ Fix ObjectUtils Javadocs.
+ Make Range constructors more generic. Fixes LANG-1674.
+ Use final and Remove redundant String.
+ Use Set instead of List for checking the contains() method.
+ Javadoc for StringUtils.substringBefore(String str,
int separator) doesn't mention that the separator is an int.
+ Fix NullPointerException in ThreadUtils.getSystemThreadGroup()
when the current thread is stopped.
+ ArrayUtils.toPrimitive(Boolean...) null array elements map to
false, like Boolean.parseBoolean(null) and its callers return
false.
+ StrBuilder.StrBuilderReader.skip(long): Throw an exception
when an implicit narrowing conversion in a compound assignment
would result in information loss or a numeric error such as an
overflows.
+ Deprecate Validate#notNull(Object) in favor of using
Objects#requireNonNull(Object, String).
+ Use TimeZone from calendar in DateFormatUtils. Fixes
LANG-1462.
+ Updating javadoc for NullPointerException when
Validate.notNull() is called.
+ Fixing and adding DateUtils exception Javadocs.
+ Improve performance of StringUtils.unwrap(String, String).
Fixes LANG-1679.
+ Improve performance of StringUtils.join for primitives. Fixes
LANG-1675.
+ Fixed NPE getting Stack Trace if Throwable is null. Fixes
LANG-1675.
+ Make Validate.isAssignableFrom() check null inputs.
+ Fix Javadoc for Validate.isAssignableFrom().
+ Make final mappingFunction variable.
+ Remove unnecessary variable creations.
+ Minor changes.
+ FastDateFormat does not support the 'L'-Pattern from
SimpleDateFormat. Fixes LANG-1680.
+ Increase test coverage of ComparableUtils from 71% to 100%.
+ Increase method test coverage of
MultilineRecursiveToStringStyle.
+ Fix unstable coverage of CharSequenceUtils tests noticed
during merge of PRs 898 and 899.
+ Rewrite Conversion.binaryBeMsb0ToHexDigit to invert logic of
binaryToHexDigit.
+ Allow extension of previously final classes ImmutablePair and
ImmutableTriple.
+ Update ClassUtils Javadoc with some missing throws NPE.
+ Javadoc: StringUtils.repeat("", "x", 3) = "xx";.
+ StringUtils.join(Iterable, String) should only return null
when the Iterable is null.
+ Add tests to increase coverage.
+ Extends Object clauses are redundant.
+ Simplify conditional expression..
+ Fix some Javadoc comments.
+ Deprecate getNanosOfMiili() method with typo and create proper
getNanosOfMilli().
+ Deprecate ThreadUtils code that defines custom function
interfaces in favor of stock java.util.function.Predicate
usage.
+ Fix links in Javadoc and documentation.
+ Deprecate RandomUtils in favor of Apache Commons RNG
UniformRandomProvider. Fixes LANG-1604.
+ Added docs regarding week year support. Fixes LANG-1638.
+ ClassUtils.getShortCanonicalName doesn't use the
canonicalName. Fixes LANG-1691.
+ Validate: Get error messages without using String.format when
varargs is empty.
+ Simplify expression (length is never < 0).
+ Fix simple broken javadoc..
+ Fix typo.
+ Use Objects.requireNonNull() directly.
+ MethodUtils.getMatchingMethod() fails with "Found multiple
candidates". Fixes LANG-1694.
+ Construct ArrayList with better default size. Fixes LANG-1643.
+ ThreadUtilsTest#testThreadGroups will test failed when using
Junit5 parallel test.
+ Swap the order of assertion args (first excepted then actual).
+ Fix the comment of Failable, redundant "-".
+ Fix the comment of ComparableUtils, using "smallest", not
"largest".
+ AnnotationUtilsTest and FormattableUtilsTest Only use static
imports to import assert methods in tests.
+ [LANG-1681] Fix some FieldUtils Javadocs.
+ Remove unnecessary statement in DurationFormatUtils.
+ Corrected value of SystemUtils.JAVA_VENDOR. Fixes LANG-1699.
+ [StepSecurity] ci: Harden GitHub Actions.
+ Update Javadoc for the insert methods in ArrayUtils.
+ Deprecate ExceptionUtils.ExceptionUtils().
+ TypeUtils.getRawType() throws a NullPointerException on
Wildcard GenericArrayType. Fixes LANG-1697.
+ Throw IllegalArgumentException instead of InternalError in the
builder package.
+ Avoid NPE in MutableObject#equals() for null content.
+ SystemUtils fix and updates related to macOS.
* Wed Aug 30 2023 Fridrich Strba <fstrba@suse.com>
- Break cycle with the new bcel
- Removed patch:
* apache-commons-lang3-junit-bom.patch
+ not needed since we install the pom file using the new
%%mvn_install_pom macro which sanitizes the pom file to the
bare runtime dependencies.
* Wed Dec 29 2021 Pedro Monreal <pmonreal@suse.com>
- Remove the junit bom dependency for now as it breaks the build of
other packages like log4j.
* Add apache-commons-lang3-junit-bom.patch
/usr/share/doc/packages/apache-commons-lang3 /usr/share/doc/packages/apache-commons-lang3/RELEASE-NOTES.txt /usr/share/java/apache-commons-lang3.jar /usr/share/java/commons-lang3.jar /usr/share/licenses/apache-commons-lang3 /usr/share/licenses/apache-commons-lang3/LICENSE.txt /usr/share/licenses/apache-commons-lang3/NOTICE.txt /usr/share/maven-metadata/apache-commons-lang3.xml /usr/share/maven-poms/apache-commons-lang3.pom
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Nov 24 23:42:39 2026