Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 7369 invoked from network); 22 Mar 2006 20:52:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Mar 2006 20:52:36 -0000 Received: (qmail 39970 invoked by uid 500); 22 Mar 2006 20:52:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 39745 invoked by uid 500); 22 Mar 2006 20:52:34 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 39735 invoked by uid 99); 22 Mar 2006 20:52:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2006 12:52:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.34] (HELO brmea-mail-3.sun.com) (192.18.98.34) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2006 12:52:33 -0800 Received: from phys-mpk-1 ([129.146.11.81]) by brmea-mail-3.sun.com (8.12.10/8.12.9) with ESMTP id k2MKq8Qj009002 for ; Wed, 22 Mar 2006 13:52:12 -0700 (MST) Received: from conversion-daemon.mpk-mail1.sfbay.sun.com by mpk-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0IWJ00301R5VG7@mpk-mail1.sfbay.sun.com> (original mail from David.Vancouvering@Sun.COM) for derby-dev@db.apache.org; Wed, 22 Mar 2006 12:52:07 -0800 (PST) Received: from [129.150.24.24] (vpn-129-150-24-24.SFBay.Sun.COM [129.150.24.24]) by mpk-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0IWJ00EVWRAU7Q@mpk-mail1.sfbay.sun.com> for derby-dev@db.apache.org; Wed, 22 Mar 2006 12:52:06 -0800 (PST) Date: Wed, 22 Mar 2006 12:52:05 -0800 From: "David W. Van Couvering" Subject: Re: [jira] Updated: (DERBY-1075) Combine the script and the test available for upgrade testing into a java test In-reply-to: <144642927.1143050970106.JavaMail.jira@ajax> To: derby-dev@db.apache.org Message-id: <4421B8F5.5020008@sun.com> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_c96pgHkMkCI8PY1DbDMZZw)" X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) References: <144642927.1143050970106.JavaMail.jira@ajax> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --Boundary_(ID_c96pgHkMkCI8PY1DbDMZZw) Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7BIT Well that really, really sucks. It appears that my version of DerbyLoader.java on disk is corrupt, and that is my *only* copy. Don't get me started on why I don't yet have a working backup strategy. I know what I need to do and can do it again, but that was a lot of work down the drain. Sigh... Basically what I had written was a "child-first" classloader that loads from its search path *before* it loads from the parent. I don't think you really need that, Deepa, your classloader works fine. The usage of interfaces that you see in the rest of the code would work just as well for a standard URLClassLoader. David Deepa Remesh (JIRA) wrote: > [ http://issues.apache.org/jira/browse/DERBY-1075?page=all ] > > Deepa Remesh updated DERBY-1075: > -------------------------------- > > Attachment: derby-1075-v2.diff > derby-1075-v2.status > > Thanks Andreas for pointing out the new case added to phaseTester. I had not noticed the change as it was committed after I uploaded my first patch. I have added this test to UpgradeTester and also updated the master. The new patch is uploaded as 'derby-1075-v2.diff'. With this patch, I have built and run the new upgrade test on WinXP using Sun JDK 1.4.2. Once this patch gets reviewed and committed, it will replace phaseTester.java and runPhases.ksh and we can remove these files. > > David, thanks for uploading your classloader work. I extracted the jar file using jar command but I find DerbyLoader.java in unreadable format. I am curious to understand what you have done but do not plan to work on it immediately. So whenever you get time, please check the jar file to see if you are able to read DerbyLoader.java. > > >>Combine the script and the test available for upgrade testing into a java test >>------------------------------------------------------------------------------ >> >> Key: DERBY-1075 >> URL: http://issues.apache.org/jira/browse/DERBY-1075 >> Project: Derby >> Type: Sub-task >> Reporter: Deepa Remesh >> Assignee: Deepa Remesh >> Priority: Minor >> Fix For: 10.2.0.0 >> Attachments: classloader.jar, derby-1075-patch1-draft.diff, derby-1075-patch1-draft.status, derby-1075-v1.diff, derby-1075-v1.status, derby-1075-v2.diff, derby-1075-v2.status, loader.java, loader_v2.java >> >>Separating a part of DERBY-514 into a sub-task. This sub-task is to combine the script 'runphases.ksh' and the java file 'phaseTester.java' into a single java test. This will help to later add the upgrade tests into the regression suite. Also, this sub-task can be done independent of DERBY-1049 which is blocking DERBY-514. > > --Boundary_(ID_c96pgHkMkCI8PY1DbDMZZw) Content-type: text/x-vcard; charset=utf-8; name=david.vancouvering.vcf Content-transfer-encoding: BASE64 Content-disposition: attachment; filename=david.vancouvering.vcf YmVnaW46dmNhcmQNCmZuOkRhdmlkIFcgVmFuIENvdXZlcmluZw0KbjpWYW4gQ291 dmVyaW5nO0RhdmlkIFcNCm9yZzpTdW4gTWljcm9zeXN0ZW1zLCBJbmMuO0RhdGFi YXNlIFRlY2hub2xvZ3kgR3JvdXANCmVtYWlsO2ludGVybmV0OmRhdmlkLnZhbmNv dXZlcmluZ0BzdW4uY29tDQp0aXRsZTpTZW5pb3IgU3RhZmYgU29mdHdhcmUgRW5n aW5lZXINCnRlbDt3b3JrOjUxMC01NTAtNjgxOQ0KdGVsO2NlbGw6NTEwLTY4NC03 MjgxDQp4LW1vemlsbGEtaHRtbDpUUlVFDQp2ZXJzaW9uOjIuMQ0KZW5kOnZjYXJk DQoNCg== --Boundary_(ID_c96pgHkMkCI8PY1DbDMZZw)--