You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2014/01/06 21:16:32 UTC

svn commit: r4057 - in /dev/commons/beanutils: ./ binaries/ source/

Author: oheger
Date: Mon Jan  6 20:16:28 2014
New Revision: 4057

Log:
Distributions for beanutils-1.9.1-rc1

Added:
    dev/commons/beanutils/RELEASE-NOTES.txt
    dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz   (with props)
    dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.asc
    dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.md5
    dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.sha1
    dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip   (with props)
    dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.asc
    dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.md5
    dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.sha1
    dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz   (with props)
    dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.asc
    dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.md5
    dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.sha1
    dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip   (with props)
    dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.asc
    dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.md5
    dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.sha1

Added: dev/commons/beanutils/RELEASE-NOTES.txt
==============================================================================
--- dev/commons/beanutils/RELEASE-NOTES.txt (added)
+++ dev/commons/beanutils/RELEASE-NOTES.txt Mon Jan  6 20:16:28 2014
@@ -0,0 +1,205 @@
+$Id: RELEASE-NOTES.txt 1555941 2014-01-06 17:45:14Z oheger $
+
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+
+                          Commons BeanUtils Package
+                               Version 1.9.1
+                               Release Notes
+
+INTRODUCTION:
+============
+
+This document contains the release notes for this version of the Commons
+BeanUtils package, and highlights changes since the previous version.
+
+For more information on Commons BeanUtils, see
+o http://commons.apache.org/beanutils/
+
+Release 1.9.1 is a bug fix release which addresses a problem with the new
+feature of custom introspection introduced with release 1.9.0. It is fully
+binary compatible with the previous release. The minimum required Java version
+is 1.5.
+
+BUGFIXES in version 1.9.1
+=========================
+* [BEANUTILS-456]
+  For PropertyDescriptors obtained via custom introspection now additional
+  information is stored to prevent that write methods are lost during
+  garbage collection.
+
+                        Release Notes for version 1.9.0
+
+Release 1.9.0 contains some bug fixes and improvements that have accumulated
+after the 1.8.3 release. The most obvious change is that the new version now
+requires JDK 1.5 or higher, and that language features introduced with Java 5
+(mainly generics) are used. A new feature has been introduced, too: the support
+for customizing bean introspection.
+
+Compatibility with 1.8.3
+========================
+Adding generics to the BeanUtils API has been done in a backwards compatible
+way. This means that after type erasure the resulting classes look the same as
+in the previous version. A drawback of this approach is that sometimes it is
+not possible to use the logically correct type parameters because then
+backwards compatibility would be broken. One example is the BeanMap class: The
+class is now a Map<Object, Object> while its keys actually are strings.
+However, implementing Map<String, Object> would change the signatures of some
+methods in an incompatible way. More details about limitations of the
+generification can be found at
+https://issues.apache.org/jira/browse/BEANUTILS-452
+
+One exception from the compatibility rule is the ResultSetIterator class which
+now implements the Iterator<DynaBean> interface. This causes a change in the
+return value of its next() method. ResultSetIterator is used internally as the
+iterator implementation within ResultSetDynaClass (it is probably a mistake that
+it is public). So chances are minimal that this change affects existing code.
+
+Another change which may affect compatibility is [BEANUTILS-379] (details can
+be found at https://issues.apache.org/jira/browse/BEANUTILS-379). Older
+versions of BeanUtils contained some classes that were copied from Commons
+Collections. These classes have now been removed, and a dependency to Commons
+Collections has been added; the collections jar now has to be contained in the
+classpath, too.
+
+Except for the change on ResultSetIterator and the additional dependency to
+Commons Collections, Commons BeanUtils 1.9.0 is fully binary compatible with
+the previous version 1.8.3.
+
+Changes on Converters
+=====================
+The convert() method in the Converter interface now uses a type parameter in
+the following way:
+
+    <T> T convert(Class<T> type, Object value);
+
+This makes it possible to access the converter's result in a type-safe way.
+Applying generics in this way revealed some inconsistencies in the Converter
+implementations. There were situations in which converters could return a
+result object of a different type as was requested. This was not a problem
+before because the result type was just Object. Now the compiler complains if
+a converter's result is not compatible with the desired target type.
+
+Because of that Converter implementations have been made more strict. A
+converter now checks the passed in target type, and if it cannot handle it,
+throws a ConversionException. This prevents unexpected results and makes
+converters more reliable (it could be considered a bug that a converter returns
+a result object of a different data type as the passed in target type). In a
+typical scenario, when converters are accessed via ConvertUtils, this change
+should not cause any problems because the converters are only called for the
+data types they have been registered for. But if converters are used directly,
+they might now throw ConversionExceptions when they did not in a previous
+version.
+
+BUGFIXES in version 1.9.0
+=========================
+* [BEANUTILS-454]
+  BeanUtilsBean.copyProperties() no longer throws a ConversionException for
+  null properties of certain data types. This fixes a regression introduced in
+  version 1.8.0. The issue is related to [BEANUTILS-387].
+* [BEANUTILS-411]
+  BeanUtilsBean.setProperty throws IllegalArgumentException if getter of nested
+  property returns null.
+* [BEANUTILS-408]
+  MethodUtils.invokeMethod() throws NullPointerException when args==null.
+* [BEANUTILS-426]
+  ConstructorUtils.invokeConstructor(Class klass, Object arg) throws
+  NullPointerException when arg==null.
+* [BEANUTILS-380]
+  BeanMap methods should initialize the root cause of exceptions that are
+  thrown when running on JDK 1.4+.
+* [BEANUTILS-379]
+  Remove copied Collection classes.
+* [BEANUTILS-378]
+  BeanMap does not work in osgi (fixed by BEANUTILS-378).
+* [BEANUTILS-381]
+  MethodUtils getMatchingAccessibleMethod() does not correctly handle
+  inheritance and method overloading.
+
+New features in version 1.9.0
+=============================
+* [BEANUTILS-425]
+  Support customization of introspection mechanism.
+* [BEANUTILS-428]
+  Provide a BeanIntrospector implementation which supports properties in a
+  fluent API.
+* [BEANUTILS-455]
+  WrapDynaBeans can now be configured to use a specific instance of
+  PropertyUtilsBean for introspection or property access.
+
+Other changes in version 1.9.0
+==============================
+* [BEANUTILS-452]
+  Add generics.
+* [BEANUTILS-449]
+  LocaleConverters do not take the target type into account.
+* [BEANUTILS-448]
+  LocaleConverters do not check their default value.
+* [BEANUTILS-447]
+  LazyDynaList.toArray() is not conform to the contract defined by the
+  Collection interface.
+* [BEANUTILS-446]
+  Some of the converters ignore the passed in target type.
+* [BEANUTILS-445]
+  Converters can return an invalid result object if a default value is set.
+* [BEANUTILS-441]
+  Replace UnmodifiableSet.decorate with Collections.unModifiableSet.
+* [BEANUTILS-436]
+  Replace package.html with package-info.java.
+* [BEANUTILS-438]
+  Add @Deprecated and @Override Annotations.
+* [BEANUTILS-437]
+  Replace Date and Revision SVN keywords with Id.
+* [BEANUTILS-431]
+  Remove @author tags and move missing authors to pom.xml.
+* [BEANUTILS-432]
+  Switch to Java 1.5.
+* [BEANUTILS-429]
+  Delete trailing white spaces and white spaces on empty lines from all files.
+* [BEANUTILS-427]
+  Configure Checkstyle to check for trailing white spaces and white spaces on
+  empty lines.
+
+
+                        Release Notes for version 1.8.3
+
+Compatibility with 1.8.2
+========================
+BeanUtils 1.8.3 is binary compatible release with Beanutils 1.8.2, containing only bug fixes.
+
+BeanUtils 1.8.3 requires a minimum of JDK 1.3.
+
+Memory Leak
+===========
+A memory leak was found in BeanUtils 1.7.0 (see BEANUTILS-291) which was fixed
+in BeanUtils 1.8.0 for JDK 1.5+.
+
+Testing of BeanUtils 1.8.1 revealed that the leak still appears to exist
+in IBM's JDK 1.6 implementation.
+
+
+see http://issues.apache.org/jira/browse/BEANUTILS-291
+    http://issues.apache.org/jira/browse/BEANUTILS-366
+
+
+BUGS FIXED:
+===========
+
+The following is a list of the bugs fixed in this release, with their Jira issue number:
+
+  * [BEANUTILS-373] - MethodUtils is not thread safe because WeakFastHashMap which uses WeakHashMap is not thread-safe
+  * [BEANUTILS-371] - Add constructors which have useColumnLabel parameter to ResultSetDynaClass and RowSetDynaClass
+

Added: dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz
==============================================================================
Binary file - no diff available.

Propchange: dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.asc
==============================================================================
--- dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.asc (added)
+++ dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.asc Mon Jan  6 20:16:28 2014
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.13 (MingW32)
+
+iEYEABECAAYFAlLK864ACgkQfEUEpNdc89w+kQCeOGK2QhA63M6LYJfHBtoxFZQ4
+y4EAniw7NgYgoyokBh0fMWOcbLwOeSGx
+=qmia
+-----END PGP SIGNATURE-----

Added: dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.md5
==============================================================================
--- dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.md5 (added)
+++ dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.md5 Mon Jan  6 20:16:28 2014
@@ -0,0 +1 @@
+9e98d7c9f02915051e6f45c264423648
\ No newline at end of file

Added: dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.sha1
==============================================================================
--- dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.sha1 (added)
+++ dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.tar.gz.sha1 Mon Jan  6 20:16:28 2014
@@ -0,0 +1 @@
+bc21453940f74be42a14c045243946c8750b9883
\ No newline at end of file

Added: dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip
==============================================================================
Binary file - no diff available.

Propchange: dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.asc
==============================================================================
--- dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.asc (added)
+++ dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.asc Mon Jan  6 20:16:28 2014
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.13 (MingW32)
+
+iEYEABECAAYFAlLK864ACgkQfEUEpNdc89xHWQCcCDS1YihxJDfxhd5iNT0jtdTA
+rUgAn00tsqSN+jNLbD7ITKPMn/jckDeU
+=MqJl
+-----END PGP SIGNATURE-----

Added: dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.md5
==============================================================================
--- dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.md5 (added)
+++ dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.md5 Mon Jan  6 20:16:28 2014
@@ -0,0 +1 @@
+dc6d25e974a87c29dbbdd1405e434652
\ No newline at end of file

Added: dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.sha1
==============================================================================
--- dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.sha1 (added)
+++ dev/commons/beanutils/binaries/commons-beanutils-1.9.1-bin.zip.sha1 Mon Jan  6 20:16:28 2014
@@ -0,0 +1 @@
+b79d77b0c2132a62b0590d74291ecd52c5602129
\ No newline at end of file

Added: dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz
==============================================================================
Binary file - no diff available.

Propchange: dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.asc
==============================================================================
--- dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.asc (added)
+++ dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.asc Mon Jan  6 20:16:28 2014
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.13 (MingW32)
+
+iEYEABECAAYFAlLK864ACgkQfEUEpNdc89xFdwCfTqUvKI+C+R2KzOXOxmv8zze/
+c0YAn3OjNyu0AFitY6HY6Lk6O53sqXmf
+=fKk1
+-----END PGP SIGNATURE-----

Added: dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.md5
==============================================================================
--- dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.md5 (added)
+++ dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.md5 Mon Jan  6 20:16:28 2014
@@ -0,0 +1 @@
+b30dd2ddaac6fe68ae0fba3db082340e
\ No newline at end of file

Added: dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.sha1
==============================================================================
--- dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.sha1 (added)
+++ dev/commons/beanutils/source/commons-beanutils-1.9.1-src.tar.gz.sha1 Mon Jan  6 20:16:28 2014
@@ -0,0 +1 @@
+1d6cc93e4ea7e132623ce63543c3ac80669f96d0
\ No newline at end of file

Added: dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip
==============================================================================
Binary file - no diff available.

Propchange: dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.asc
==============================================================================
--- dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.asc (added)
+++ dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.asc Mon Jan  6 20:16:28 2014
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.13 (MingW32)
+
+iEUEABECAAYFAlLK868ACgkQfEUEpNdc89zi3wCY1pEEbPpFwts7UBUSEIE2KAMa
+OwCfU3LkgWtikeEUvWuiY2yJ/Rsr3WA=
+=mBKU
+-----END PGP SIGNATURE-----

Added: dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.md5
==============================================================================
--- dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.md5 (added)
+++ dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.md5 Mon Jan  6 20:16:28 2014
@@ -0,0 +1 @@
+daab2b7289524cf3b6659e7002421123
\ No newline at end of file

Added: dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.sha1
==============================================================================
--- dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.sha1 (added)
+++ dev/commons/beanutils/source/commons-beanutils-1.9.1-src.zip.sha1 Mon Jan  6 20:16:28 2014
@@ -0,0 +1 @@
+22d317ce8598920eca0c048b1fbc125bea7e93cb
\ No newline at end of file