1
0

Compare commits

11 Commits

Author SHA256 Message Date
341eafede4 Accepting request 1290526 from Java:packages
make modular

OBS-URL: https://build.opensuse.org/request/show/1290526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-beanutils?expand=0&rev=21
2025-07-06 15:13:09 +00:00
4a8ce6f3df OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-beanutils?expand=0&rev=42 2025-07-03 15:28:01 +00:00
50d0d9a7ca OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-beanutils?expand=0&rev=41 2025-07-03 15:25:04 +00:00
6020acddcd Accepting request 1282983 from Java:packages
sync with sle

OBS-URL: https://build.opensuse.org/request/show/1282983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-beanutils?expand=0&rev=20
2025-06-05 18:34:12 +00:00
66b852f1c4 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-beanutils?expand=0&rev=39 2025-06-05 06:41:55 +00:00
4b5df6d55a OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-beanutils?expand=0&rev=38 2025-06-05 06:24:07 +00:00
86ac4cb8c4 Accepting request 1281179 from Java:packages
bsc#1243793, CVE-2025-48734

OBS-URL: https://build.opensuse.org/request/show/1281179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-beanutils?expand=0&rev=19
2025-05-30 12:38:14 +00:00
963643e5a3 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-beanutils?expand=0&rev=36 2025-05-29 16:06:46 +00:00
287531dea0 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-beanutils?expand=0&rev=35 2025-05-29 16:03:04 +00:00
c1d2b0db79 Accepting request 1265174 from Java:packages
Update to 1.10.1

OBS-URL: https://build.opensuse.org/request/show/1265174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-beanutils?expand=0&rev=18
2025-03-31 09:39:59 +00:00
c08af941d1 Upgrade to 1.10.1
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-beanutils?expand=0&rev=33
2025-03-28 10:59:12 +00:00
8 changed files with 134 additions and 37 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,95 @@
-------------------------------------------------------------------
Thu Jul 3 15:21:54 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Modified patch:
* jdk9.patch
+ Add Automatic-Module-Name commons.beanutils to be found
by modular artifacts
-------------------------------------------------------------------
Thu Jun 5 06:22:08 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Adapt the spec file, so that it can be used for building on
SLE12SP1 and Factory alike.
-------------------------------------------------------------------
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>
@@ -50,7 +142,7 @@ Fri Sep 21 07:44:23 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
-------------------------------------------------------------------
Thu Sep 20 10:45:41 UTC 2018 - pmonrealgonzalez@suse.com
- Updated to 1.9.3
- Updated to 1.9.3
* This is a bug fix release, which also improves the tests for
building on Java 8.
* Note that Java 8 and later no longer support indexed bean
@@ -59,22 +151,22 @@ Thu Sep 20 10:45:41 UTC 2018 - pmonrealgonzalez@suse.com
and PropertyUtils.getPropertyDescriptor(); their javadoc have
therefore been updated to reflect this change in the JDK.
* Changes in this version include:
- Fixed Bugs:
- Fixed Bugs:
* BEANUTILS-477: Changed log level in FluentPropertyBeanIntrospector
* BEANUTILS-492: Fixed exception when setting indexed properties
on DynaBeans.
* BEANUTILS-470: Precision lost when converting BigDecimal.
* BEANUTILS-465: Indexed List Setters fixed.
- Changes:
* BEANUTILS-433: Update dependency from JUnit 3.8.1 to 4.12.
* BEANUTILS-469: Update commons-logging from 1.1.1 to 1.2.
* BEANUTILS-433: Update dependency from JUnit 3.8.1 to 4.12.
* BEANUTILS-469: Update commons-logging from 1.1.1 to 1.2.
* BEANUTILS-474: FluentPropertyBeanIntrospector does not use the
same naming algorithm as DefaultBeanIntrospector.
* BEANUTILS-490: Update Java requirement from Java 5 to 6.
* BEANUTILS-490: Update Java requirement from Java 5 to 6.
* BEANUTILS-482: Update commons-collections from 3.2.1 to 3.2.2
(CVE-2015-4852).
* BEANUTILS-490: Update java requirement to Java 6.
* BEANUTILS-492: IndexedPropertyDescriptor tests now pass on Java 8.
* BEANUTILS-492: IndexedPropertyDescriptor tests now pass on Java 8.
* BEANUTILS-495: DateConverterTestBase fails on M/d/yy in Java 9.
* BEANUTILS-496: testGetDescriptorInvalidBoolean fails on Java 9.
- Historical list of changes:
@@ -123,7 +215,7 @@ Mon Jul 7 08:04:04 UTC 2014 - dmacvicar@suse.de
-------------------------------------------------------------------
Mon Apr 2 13:23:15 UTC 2012 - mvyskocil@suse.cz
- update to 1.8.3 and rename to apache- to follow the upstream
- update to 1.8.3 and rename to apache- to follow the upstream
- fixes in this release
* memory leak in jdk5/jdk6 BEANUTILS-291, BEANUTILS-366
* BEANUTILS-373 MethodUtils is not thread safe because WeakFastHashMap which

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
@@ -16,10 +16,11 @@
#
%{?!mvn_install_pom:%global mvn_install_pom install -pm 0644}
%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
@@ -32,8 +33,11 @@ BuildRequires: ant
BuildRequires: commons-collections
BuildRequires: commons-logging
BuildRequires: fdupes
BuildRequires: javapackages-local >= 6
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: xml-commons-apis
Requires: commons-collections >= 2.0
Requires: commons-logging >= 1.0
Provides: %{short_name} = %{version}-%{release}
Obsoletes: %{short_name} < %{version}-%{release}
Provides: jakarta-%{short_name} = %{version}-%{release}
@@ -68,7 +72,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/dWuzsuxzaAw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o5OPPy3k7mrbLBy8J4IfTPjAPzHXpXqvidPHLVGVg/T/QsXJAh
nNG0/2CQhPplJtm0fLQRkLYHA8kp4qvjACQGGu7zW8HliZNYeDdJy9M2LNdWstn6
xMWPp7UxgvFly8u4WEEk0Yox/EVT4O1Lc8kQgJF2RdU0KOQGaD4=
=yvPn
-----END PGP SIGNATURE-----

View File

@@ -1,8 +1,6 @@
Index: commons-beanutils-1.9.3-src/build.xml
===================================================================
--- commons-beanutils-1.9.3-src.orig/build.xml
+++ commons-beanutils-1.9.3-src/build.xml
@@ -62,10 +62,10 @@
--- commons-beanutils-1.11.0-src/build.xml 2025-07-03 17:15:28.898719156 +0200
+++ commons-beanutils-1.11.0-src/build.xml 2025-07-03 17:19:33.455675526 +0200
@@ -61,10 +61,10 @@
<!-- Compiler source JDK version -->
@@ -15,3 +13,12 @@ Index: commons-beanutils-1.9.3-src/build.xml
<!-- Should Java compilations set the 'debug' compiler option? -->
<property name="compile.debug" value="true"/>
@@ -228,7 +228,7 @@
<jar jarfile="${dist.home}/commons-beanutils-${component.version}.jar">
<manifest>
- <attribute name="Built-By" value="${user.name}"/>
+ <attribute name="Automatic-Module-Name" value="commons.beanutils"/>
<attribute name="Specification-Title" value="Commons BeanUtils"/>
<attribute name="Specification-Version" value="${component.version}"/>
<attribute name="Specification-Vendor" value="The Apache Software Foundation"/>