Sync from SUSE:SLFO:Main apache-commons-beanutils revision 3532ce064551280935acefae66d31d18

This commit is contained in:
2025-06-18 21:11:21 +02:00
parent 68a1af5ff8
commit fb1f269a72
7 changed files with 96 additions and 24 deletions

View File

@@ -2,12 +2,11 @@ Index: commons-beanutils-1.9.4-src/build.xml
===================================================================
--- commons-beanutils-1.9.4-src.orig/build.xml
+++ commons-beanutils-1.9.4-src/build.xml
@@ -43,7 +43,7 @@
@@ -43,7 +43,6 @@
<property name="component.title" value="Bean Introspection Utilities"/>
<!-- The current version number of this component -->
- <property name="component.version" value="1.9.3-SNAPSHOT"/>
+ <property name="component.version" value="1.9.4"/>
<!-- The base directory for compilation targets -->
<property name="build.home" value="target"/>

View File

@@ -1,3 +1,81 @@
-------------------------------------------------------------------
Thu May 29 15:56:24 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Update to 1.11.0
* Fixed Bugs:
+ BeanComparator.compare(T, T) now throws
IllegalArgumentException instead of RuntimeException to wrap
all cases of ReflectiveOperationException.
+ MappedMethodReference.get() now throws IllegalStateException
instead of RuntimeException to wrap cases of
NoSuchMethodException.
+ ResultSetIterator.get(String) now throws
IllegalArgumentException instead of RuntimeException to wrap
cases of SQLException.
+ ResultSetIterator.hasNext() now throws IllegalStateException
instead of RuntimeException to wrap cases of SQLException.
+ ResultSetIterator.next() now throws IllegalStateException
instead of RuntimeException to wrap cases of SQLException.
+ ResultSetIterator.set(String, Object) now throws
IllegalArgumentException instead of RuntimeException to wrap
cases of SQLException.
+ ResultSetIterator.set(String, String, Object) now throws
IllegalArgumentException instead of RuntimeException to wrap
cases of SQLException.
* Changes:
+ Add org.apache.commons.beanutils
.SuppressPropertiesBeanIntrospector.SUPPRESS_DECLARING_CLASS.
Fixes bsc#1243793, CVE-2025-48734
+ Bump org.apache.commons:commons-parent from 81 to 84.
+ Bump commons-logging:commons-logging from 1.3.4 to 1.3.5.
- Modified patch:
* apache-commons-beanutils-fix-build-version.patch
+ make more generic and pass the version from command-line
-------------------------------------------------------------------
Fri Mar 28 10:41:39 UTC 2025 - Gus Kenion <gus.kenion@suse.com>
- Update to 1.10.1
* Fixed Bugs:
+ BEANUTILS-541: FluentPropertyBeanIntrospector concurrency
issue (backport to 1.X) #325.
+ Javadoc is missing its Overview page.
+ 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).
+ Deprecate BeanUtils.BeanUtils().
+ Deprecate ConstructorUtils.ConstructorUtils().
+ Deprecate LocaleBeanUtils.LocaleBeanUtils().
+ Deprecate LocaleConvertUtils.LocaleConvertUtils().
+ Deprecate ConvertUtils.ConvertUtils().
+ Deprecate MethodUtils.MethodUtils().
+ Deprecate PropertyUtils.PropertyUtils().
* Changes:
+ Bump org.apache.commons:commons-parent from 78 to 81.
- Includes changes from 1.10.0
* Fixed Bugs:
+ BEANUTILS-541: FluentPropertyBeanIntrospector caches
corrupted writeMethod (1.x backport) #69.
+ Replace internal use of Locale.ENGLISH with Locale.ROOT.
+ Replace Maven CLIRR plugin with JApiCmp.
+ Port to Java 1.4 Throwable APIs (!).
+ Fix Javadoc generation on Java 8, 17, and 21.
+ AbstractArrayConverter.parseElements(String) now returns a
List<String> instead of a raw List.
* Changes:
+ Bump org.apache.commons:commons-parent from 47 to 78.
+ Bump Java requirement from Java 6 to 8.
+ Bump junit:junit from 4.12 to 4.13.2.
+ Bump JUnit from 4.x to 5.x "vintage".
+ Bump commons-logging:commons-logging from 1.2 to 1.3.4.
+ Deprecate BeanUtilsBean.initCause(Throwable, Throwable) for
removal, use Throwable.initCause(Throwable).
+ Deprecate BeanUtils.initCause(Throwable, Throwable) for
removal, use Throwable.initCause(Throwable).
- Update apache-commons-beanutils-fix-build-version.patch to
reflect new version.
-------------------------------------------------------------------
Thu Feb 22 07:14:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package apache-commons-beanutils
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define base_name beanutils
%define short_name commons-%{base_name}
Name: apache-commons-beanutils
Version: 1.9.4
Version: 1.11.0
Release: 0
Summary: Utility methods for accessing and modifying the properties of JavaBeans
License: Apache-2.0
@@ -68,7 +68,7 @@ touch README.txt
%build
export CLASSPATH=%(build-classpath commons-collections commons-logging)
%{ant} -Dbuild.sysclasspath=first dist
ant -Dbuild.sysclasspath=first -Dcomponent.version=%{version} dist
%install
# jars

BIN
commons-beanutils-1.11.0-src.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAmgzGLIACgkQhv3H4qES
YstmyQf/dWuzsuxzaAwZpdwcm18D1GuWRO5M10mggM4lyY/Ze+3LoLU+qdE7DFpJ
yM5HDqsyG9wGd0ZvLISW7Czalc6KaDdBXp7HBeZ48Tn8PIRd5VDJ7C4tr2JeBrFR
a8lfGKJS0ezKiJqTqw88XJJFwEkWb3OZwkrb4Z4Ja+UucJqaaNDswlP3JQ3YXE0x
sh+HX+YaI0ygiQZolL5ahTa5d1sfKrUy2AlJTzn3cZKz6OYWjj5VPVkW4FnVjLT8
iXXydQuJ/frcrsCjD+EDJNYMbuF49bMcVtZJIIX9y/IS+e1Yn9fJT5pnVpMb09Xb
k9XIKlboTAG0+v8RmV3EMfHk892HYw==
=TEyy
-----END PGP SIGNATURE-----

BIN
commons-beanutils-1.9.4-src.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEtuc9hOpPzEcWYIclP6rSzV7LsxQFAl0+HtQACgkQP6rSzV7L
sxSeOA//WJ8qCJV5F3UGky4Ycp8Ihdb9j3ixZt68dLhcC0URw/aIwprn6F03/UFh
8MFbXrjZtqa2CBJ4G+Af0H7l0ZjQ6bG4VY/tALHhUUdq+jKAHD7nZq61UTkR5wDo
qDYPcazlfpjI+9pZnxe6JeoKL5O5ph3n9uzWnrt0JP56kzY8OU0Y4tNFzSFqCu1H
tKyYBFbCJAAtwMBT5dFF48ExjMGLkIGPveBnef6UtMNoGlT7TH8ixb6NmktZfj8l
oIdRI8Hk+zGpP/xiqTIhs7Z3uZ/kZJXOn6dPWTKsR3tEK8uqA+NCHVtPGMs0/trU
kcyQGtKKoHWk6W5xuEq0BJK+BEdWtEdnvwLFVkow5+i/Y/ezfvnE7bWL1MeYDrYM
pbvuuCGGRkk/XKSCkb81+6W3+ID3lF+4JS85Ny+zPfMH4CqUYNmeYJ5qE8qpRC0M
rxiA0s+nMBWsNVt3PUE36zep1JDnCwacMryITj6g88wsRY8Mo3TU5TLTkoYne4At
9PdCgdDrYMCYJlo5OPPy3k7mrbLBy8J4IfTPjAPzHXpXqvidPHLVGVg/T/QsXJAh
nNG0/2CQhPplJtm0fLQRkLYHA8kp4qvjACQGGu7zW8HliZNYeDdJy9M2LNdWstn6
xMWPp7UxgvFly8u4WEEk0Yox/EVT4O1Lc8kQgJF2RdU0KOQGaD4=
=yvPn
-----END PGP SIGNATURE-----