From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8203 invoked by alias); 24 Sep 2009 12:42:01 -0000 Received: (qmail 8191 invoked by uid 22791); 24 Sep 2009 12:42:00 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_05,J_CHICKENPOX_21,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.126.188) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Sep 2009 12:41:56 +0000 Received: from mail.aicas.de ([195.71.148.10]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MKv1o-1Mqndw1ndE-0001Vy; Thu, 24 Sep 2009 14:41:53 +0200 Received: from mail.aicas.burg (unknown [192.168.2.1]) by mail.aicas.de (Postfix) with ESMTP id 0FC2B6AB0B5 for ; Thu, 24 Sep 2009 14:41:52 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.aicas.burg (Postfix) with ESMTP id 3F46E561710 for ; Thu, 24 Sep 2009 14:40:30 +0200 (CEST) Received: from mail.aicas.burg ([127.0.0.1]) by localhost (www.aicas.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22678-03 for ; Thu, 24 Sep 2009 14:40:26 +0200 (CEST) Received: from [192.168.1.154] (auckland.aicas.burg [192.168.1.154]) by mail.aicas.burg (Postfix) with ESMTP id 0097C56192A for ; Thu, 24 Sep 2009 14:40:25 +0200 (CEST) Message-ID: <4ABB690B.5080403@aicas.com> Date: Thu, 24 Sep 2009 12:42:00 -0000 From: Mario Torre User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: mauve-patches@sources.redhat.com Subject: FYI: remove inappropriate checks Content-Type: multipart/mixed; boundary="------------070900060503030800000708" Mailing-List: contact mauve-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-patches-owner@sourceware.org X-SW-Source: 2009/txt/msg00022.txt.bz2 This is a multi-part message in MIME format. --------------070900060503030800000708 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Content-length: 583 This test failed on JDK. This patch fixes the problem. Cheers, Mario --=20 Mario Torre, Software Developer, http://www.jroller.com/neugens/ aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Stra=DFe 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-44 pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim Gesch=E4ftsf=FChrer: Dr. James J. Hunt Please, support open standards: http://endsoftpatents.org/ --------------070900060503030800000708 Content-Type: text/x-patch; name="2009-09-24-corba1.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="2009-09-24-corba1.patch" Content-length: 3124 # This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. Index: mauve/ChangeLog --- mauve/ChangeLog Base (1.2148) +++ mauve/ChangeLog Locally Modified (Based On 1.2148) @@ -1,3 +1,8 @@ +2009-09-24 Mario Torre + + * gnu/testlet/org/omg/PortableServer/POA/TestActivate: + Remove inappropriate checks. + 2009-07-09 Mario Torre * gnu/testlet/locales/LocaleTest: Index: mauve/gnu/testlet/org/omg/PortableServer/POA/TestActivate.java --- mauve/gnu/testlet/org/omg/PortableServer/POA/TestActivate.java Base (1.1) +++ mauve/gnu/testlet/org/omg/PortableServer/POA/TestActivate.java Locally Modified (Based On 1.1) @@ -86,15 +86,13 @@ private byte[] oid_; private POA poa_; private Servant servant_; - private boolean remaining_; private boolean valid_; - void expect(byte[] oid, POA poa, Servant servant, boolean remaining) + void expect(byte[] oid, POA poa, Servant servant) { oid_ = oid; poa_ = poa; servant_ = servant; - remaining_ = remaining; valid_ = false; } @@ -116,7 +114,6 @@ TEST(TestUtil.Compare(oid_, oid)); TEST(poa_._is_equivalent(poa)); TEST(servant_ == servant); - TEST(remaining_ == remaining); valid_ = true; } } @@ -570,10 +567,11 @@ fail(ex); throw new RuntimeException(ex); } - activatorImpl.expect(id1, ether, servant1, true); + activatorImpl.expect(id1, ether, servant1); try { ether.deactivate_object(id1); + Thread.sleep(2000); } catch (ObjectNotActive ex) { @@ -585,11 +583,17 @@ fail(ex); throw new RuntimeException(ex); } + catch (InterruptedException ex) + { + fail(ex); + throw new RuntimeException(ex); + } TEST(activatorImpl.isValid(), regression_note); - activatorImpl.expect(id2, ether, servant1, false); + activatorImpl.expect(id2, ether, servant1); try { ether.deactivate_object(id2); + Thread.sleep(2000); } catch (ObjectNotActive ex) { @@ -601,11 +605,17 @@ fail(ex); throw new RuntimeException(ex); } + catch (InterruptedException ex) + { + fail(ex); + throw new RuntimeException(ex); + } TEST(activatorImpl.isValid(), regression_note); - activatorImpl.expect(id3, ether, servant2, false); + activatorImpl.expect(id3, ether, servant2); try { ether.deactivate_object(id3); + Thread.sleep(2000); } catch (ObjectNotActive ex) { @@ -617,6 +627,11 @@ fail(ex); throw new RuntimeException(ex); } + catch (InterruptedException ex) + { + fail(ex); + throw new RuntimeException(ex); + } \ No newline at end of file TEST(activatorImpl.isValid(), "Regression in 1.5"); system.destroy(true, true); --------------070900060503030800000708--