You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/04/30 13:57:14 UTC
[commons-pool] branch master updated: [POOL-366] Update optional
library cglib from 3.2.10 to 3.2.11.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-pool.git
The following commit(s) were added to refs/heads/master by this push:
new 0664f4d [POOL-366] Update optional library cglib from 3.2.10 to 3.2.11.
0664f4d is described below
commit 0664f4dac9ef653703624cbe67272134cf0151cb
Author: Gary Gregory <gg...@rocketsoftware.com>
AuthorDate: Tue Apr 30 09:57:11 2019 -0400
[POOL-366] Update optional library cglib from 3.2.10 to 3.2.11.
- Also specify Java version in most descriptions of releases in
changes.xml.
- TestGenericObjectPoolFactoryCreateFailure: be quiet on the console.
---
pom.xml | 2 +-
src/changes/changes.xml | 30 ++++++++++++----------
.../TestGenericObjectPoolFactoryCreateFailure.java | 6 ++---
3 files changed, 20 insertions(+), 18 deletions(-)
diff --git a/pom.xml b/pom.xml
index de5ee43..f51d910 100644
--- a/pom.xml
+++ b/pom.xml
@@ -129,7 +129,7 @@
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
- <version>3.2.10</version>
+ <version>3.2.11</version>
<optional>true</optional>
</dependency>
<dependency>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 09284bd..7b3824c 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -50,8 +50,11 @@ The <action> type attribute can be add,update,fix,remove.
<action dev="ggregory" issue="POOL-365" type="update" due-to="Gary Gregory">
Update ASM from 7.0 to 7.1
</action>
+ <action dev="ggregory" issue="POOL-366" type="update" due-to="Gary Gregory">
+ Update optional library cglib from 3.2.10 to 3.2.11.
+ </action>
</release>
- <release version="2.6.2" date="2019-03-05" description="This is a maintenance release.">
+ <release version="2.6.2" date="2019-03-05" description="This is a maintenance release (Java 7).">
<action dev="ggregory" issue="POOL-362" type="fix">
Always null out org.apache.commons.pool2.impl.BaseGenericObjectPool.evictionIterator to match org.apache.commons.pool2.impl.BaseGenericObjectPool.evictor.
</action>
@@ -62,7 +65,7 @@ The <action> type attribute can be add,update,fix,remove.
The commons-pool-evictor-thread should run as a Deamon.
</action>
</release>
- <release version="2.6.1" date="2019-02-08" description="This is a maintenance release.">
+ <release version="2.6.1" date="2019-02-08" description="This is a maintenance release (Java 7).">
<action dev="struberg" issue="POOL-340" type="fix" due-to="Pavel Kolesov">
Correct validateObject with concurrent borrowObject
</action>
@@ -94,7 +97,7 @@ The <action> type attribute can be add,update,fix,remove.
CallStackUtils mishandles security manager check (partial fix.)
</action>
</release>
- <release version="2.6.0" date="2018-07-06" description="This is a maintenance release.">
+ <release version="2.6.0" date="2018-07-06" description="This is a maintenance release (Java 7).">
<action dev="ggregory" issue="POOL-336" type="update" due-to="Wolfgang Glas">
GenericObjectPool's borrowObject lock if create() fails with Error.
</action>
@@ -120,7 +123,7 @@ The <action> type attribute can be add,update,fix,remove.
Delete repeated call startEvictor.
</action>
</release>
- <release version="2.5.0" date="2017-12-16" description="This is a minor release, updating to Java 7.">
+ <release version="2.5.0" date="2017-12-16" description="This is a minor release (Java 7).">
<action dev="ggregory" issue="POOL-331" type="update">
Update from Java 6 to 7.
</action>
@@ -145,7 +148,7 @@ The <action> type attribute can be add,update,fix,remove.
the default behavior introduced by POOL-320.
</action>
</release>
- <release version="2.4.3" date="2017-10-24" description="This is a patch release, including bug fixes only.">
+ <release version="2.4.3" date="2017-10-24" description="This is a patch release, including bug fixes only (Java 6).">
<action dev="ggregory" issue="POOL-328" type="fix" due-to="Lorenzo Solano Martinez">
Documentation with repeated words (sources, tests, and examples).
</action>
@@ -198,8 +201,7 @@ The <action> type attribute can be add,update,fix,remove.
Update optional OW2 ASM from 5.0.4 to 5.2.
</action>
</release>
- <release version="2.4.2" date="2015-08-01" description=
- "This is a patch release, including bug fixes only.">
+ <release version="2.4.2" date="2015-08-01" description="This is a patch release, including bug fixes only (Java 6).">
<action dev="psteitz" issue="POOL-298" type="fix">
Changed default jmxNameBase in BaseObjectPoolConfig to the correct (null)
default.
@@ -209,7 +211,7 @@ The <action> type attribute can be add,update,fix,remove.
</action>
</release>
<release version="2.4.1" date="2015-05-30" description=
- "This is a patch release, replacing a defective binary jar in version 2.4. Other
+ "This is a patch release (Java 6), replacing a defective binary jar in version 2.4. Other
than the build configuration, the source distribution for version 2.4.1 is identical
to version 2.4.">
<action dev="psteitz" issue="POOL-297" type="fix">
@@ -217,7 +219,7 @@ to version 2.4.">
</action>
</release>
<release version="2.4" date="2015-05-27" description=
- "This is a maintenance release that includes bug fixes and minor enhancements.">
+ "This is a maintenance release that includes bug fixes and minor enhancements (Java 6).">
<action dev="psteitz" type="fix" issue="POOL-287" due-to="Caleb Spare and Thomas Neidhart">
Fixed capacity leak when an object is offered from a GenericKeyedObjectPool while it is
being validated by the evictor.
@@ -252,7 +254,7 @@ to version 2.4.">
</action>
</release>
<release version="2.3" date="2014-12-30" description=
-"This is a maintenance release that includes bug fixes and minor enhancements.">
+"This is a maintenance release that includes bug fixes and minor enhancements (Java 6).">
<action dev="psteitz" type="fix" issue="POOL-279" due-to="Jacopo Cappellato">
Eliminated possibility that DefaultPoolObject#getIdleTimeMillis() could
return a negative value. Use by pool implementations would not hit this
@@ -323,7 +325,7 @@ to version 2.4.">
</action>
</release>
<release version="2.2" date="2014-02-24" description=
-"This is a maintenance release that adds a new testOnCreate configuration option
+"This is a maintenance release (Java 6) that adds a new testOnCreate configuration option
and fixes a small number of bugs.">
<action issue="POOL-248" dev="markt" type="fix" due-to="Warren Chen">
Ensure that if an attempt is made to return an object multiple times that
@@ -341,7 +343,7 @@ and fixes a small number of bugs.">
</action>
</release>
<release version="2.1" date="2013-12-30" description=
-"This is a maintenance release that includes a small number of new features as well as
+"This is a maintenance release (Java 6) that includes a small number of new features as well as
including bugfixes and test case improvements.">
<action issue="POOL-243" dev="psteitz" type="fix" due-to="Michal Sabo">
Added missing create counter decrement in GenericKeyedObjectPool create method on factory
@@ -377,7 +379,7 @@ including bugfixes and test case improvements.">
</action>
</release>
<release version="2.0" date="2013-11-11" description=
-"This is a major new release that provides significant performance improvements
+"This is a major new release (Java 6) that provides significant performance improvements
in high concurrency environments. Pools now provide a mechanism for tracking
objects that have been borrowed from the pool but not returned. There have been
numerous API changes to support these and other new features as well as to
@@ -505,7 +507,7 @@ JDK level 1.6 or above.">
is prevented after they have been returned to the pool.
</action>
</release>
- <release version="1.6" date="2012-01-07" description="Adds generics and requires Java 5.">
+ <release version="1.6" date="2012-01-07" description="Adds generics (Java 5).">
<action dev="ggregory" type="add" issue="POOL-208">
Support Java 1.5 Generics in version 1.x.
</action>
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPoolFactoryCreateFailure.java b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPoolFactoryCreateFailure.java
index e0cb512..c4d4d6a 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPoolFactoryCreateFailure.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPoolFactoryCreateFailure.java
@@ -64,12 +64,12 @@ public class TestGenericObjectPoolFactoryCreateFailure {
@Override
public void run() {
try {
- System.out.println("start borrowing in parallel thread");
+ println("start borrowing in parallel thread");
final Object obj = pool.borrowObject();
// wait for another thread to start borrowObject
if (!barrier.await(5, TimeUnit.SECONDS)) {
- System.out.println("Timeout waiting");
+ println("Timeout waiting");
failed.set(true);
} else {
// just to make sure, borrowObject has started waiting on queue
@@ -86,7 +86,7 @@ public class TestGenericObjectPoolFactoryCreateFailure {
}
private static void println(final String msg) {
- System.out.println(msg);
+ // System.out.println(msg);
}
private static void sleepIgnoreException(final long millis) {