Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 17995 invoked from network); 22 May 2008 00:52:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2008 00:52:40 -0000 Received: (qmail 6580 invoked by uid 500); 22 May 2008 00:52:41 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 6392 invoked by uid 500); 22 May 2008 00:52:40 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 6381 invoked by uid 99); 22 May 2008 00:52:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2008 17:52:40 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 74.125.46.158 as permitted sender) Received: from [74.125.46.158] (HELO yw-out-1718.google.com) (74.125.46.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 00:51:54 +0000 Received: by yw-out-1718.google.com with SMTP id 9so1949506ywk.60 for ; Wed, 21 May 2008 17:52:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=OzVoI+opiVPJhSEkeIhJbNbkKpERLjyKm2tOyhijaRk=; b=S1GXOAbCNoTPf+lX38ug/D2TQedy7Io12ujpmbCd0F9h5HVhjucXibm/Pmfz+4t0PNaCC+aR2KJfHK4TDuIkUGpjXHSJdFYmdGZPHT4B1uPvxma1jUGDy8/yUt7e2Ow3RnU8DRLFxyyOjjPqQWKHYmeHZJYz8SAawR0nN4BQpnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bZ7kzWJkNCUN+EifqUlqQunxBleNbgBerVNEE/FURmCXXAMqVACQGQimBqOP25AuDZ1pQpBwfLJo+Vzygxhj9Kwkx5z6TvhizN2q5MHtMRwLNk1YWg+SnZvGcH+HTyUnrO77dMXGWzQYRjc6RLepXjeeEhR9OZxo7u0N16SWGL8= Received: by 10.150.73.41 with SMTP id v41mr1157080yba.185.1211417525533; Wed, 21 May 2008 17:52:05 -0700 (PDT) Received: by 10.150.91.10 with HTTP; Wed, 21 May 2008 17:52:05 -0700 (PDT) Message-ID: <25aac9fc0805211752j361a4f76rac084368dd915a43@mail.gmail.com> Date: Thu, 22 May 2008 01:52:05 +0100 From: sebb To: "Commons Developers List" Subject: Re: [VOTE] Release Commons Chain 1.2 based on RC1 In-Reply-To: <55afdc850805211703j418ac672pccf0a50878ccd4ae@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <55afdc850805201755x452b5056ob5311feab5d3445b@mail.gmail.com> <55afdc850805211703j418ac672pccf0a50878ccd4ae@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Not sure if this should be regarded as a problem or not, but I get a test failure when using IBM Java: java version "1.6.0" Java(TM) SE Runtime Environment (build pwi3260-20071123_01) IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260-20071121_15015 (JIT enabled) J9VM - 20071121_015015_lHdSMR JIT - r9_20071121_1330 GC - 20071031_AA) JCL - 20071118_01 [junit] Caused an ERROR [junit] org.apache.commons.chain.impl.ContextBase$MapEntryImpl incompatible with java.util.HashMap$Entry [junit] java.lang.ClassCastException: org.apache.commons.chain.impl.ContextBase$MapEntryImpl incompatible with java.util.HashMap $Entry [junit] at java.util.HashMap.writeObject(Unknown Source) [junit] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:957) [junit] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1473) [junit] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1404) [junit] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1162) [junit] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:338) [junit] at org.apache.commons.chain.impl.ContextBaseTestCase.testSeriaization(ContextBaseTestCase.java:368) [junit] Target 'internal-test' failed with message 'Test org.apache.commons.chain.impl.ContextBaseTestCase failed'. I've no idea why this error occurs, as the code in question says: "private class MapEntryImpl implements Map.Entry" There are some errors that Findbugs finds: org.apache.commons.chain.impl.ContextBase is Serializable; consider declaring a serialVersionUID Quite a few of these too: Non-serializable value stored into instance field of a serializable class: e.g. org.apache.commons.chain.web.portlet.PortletApplicationScopeMap stored into non-transient field PortletWebContext.applicationScope org.apache.commons.chain.web.portlet.PortletParamMap stored into non-transient field PortletWebContext.param Looks like the serialization tests are not picking these up. If no-one has reported any related problems then perhaps these particular classes are never serialized. These will probably be tricky to fix, so I guess they could be left for another release. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org