Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 12301 invoked from network); 3 Nov 2005 11:31:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Nov 2005 11:31:18 -0000 Received: (qmail 84211 invoked by uid 500); 3 Nov 2005 11:31:17 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84178 invoked by uid 500); 3 Nov 2005 11:31:16 -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 84169 invoked by uid 99); 3 Nov 2005 11:31:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2005 03:31:16 -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; Thu, 03 Nov 2005 03:31:11 -0800 Received: from phys-epost-1 ([129.159.136.14]) by brmea-mail-3.sun.com (8.12.10/8.12.9) with ESMTP id jA3BUs3F007654 for ; Thu, 3 Nov 2005 04:30:55 -0700 (MST) Received: from conversion-daemon.epost-mail1.sweden.sun.com by epost-mail1.sweden.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0IPD00501M9GR3@epost-mail1.sweden.sun.com> (original mail from Bernt.Johnsen@Sun.COM) for derby-dev@db.apache.org; Thu, 03 Nov 2005 12:30:54 +0100 (MET) Received: from localhost (atum01.Norway.Sun.COM [129.159.112.201]) by epost-mail1.sweden.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0IPD00GHRMNHG0@epost-mail1.sweden.sun.com> for derby-dev@db.apache.org; Thu, 03 Nov 2005 12:30:53 +0100 (MET) Date: Thu, 03 Nov 2005 12:30:53 +0100 From: "Bernt M. Johnsen" Subject: Re: [PATCH]Skip unaryArithmeticDynamicParameter test under jdk13 In-reply-to: To: derby-dev@db.apache.org Message-id: <20051103113053.GE16806@atum01.norway.sun.com> Organization: Sun Microsystems MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=a2FkP9tdjPU2nyhF Content-disposition: inline User-Agent: Mutt/1.5.10i References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --a2FkP9tdjPU2nyhF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >>>>>>>>>>>> Mamta Satoor wrote (2005-11-02 23:31:41): > Hi, > I have a minor patch to skip lang/unaryArithmeticDynamicParameter.java t= est > under jdk13. The reason for skipping is metadata calls for ParameterMetaD= ata > are not available in jdk13 and the primary purpose of the test is to check > the metadata information about the unary minus/plus parameter. The test w= ill > continue to run under higher jdks. > svn stat > M > java\testing\org\apache\derbyTesting\functionTests\tests\lang\copyfiles.a= nt > A > java\testing\org\apache\derbyTesting\functionTests\tests\lang\unaryArithm= eticDynamicParameter_app.properties > thanks, When running derbylang after the patch was appiled I got: Test using parameters for unary minus and unary plus Exception in thread "main" java.lang.NullPointerException at org.apache.derbyTesting.functionTests.tests.lang.unaryArithmeticDy= namicParameter.main(unaryArithmeticDynamicParameter.java:44) for the lang/unaryArithmeticDynamicParameter test. I was running the tests on Java Version: 1.4.2_05 Java Vendor: Sun Microsystems Inc. OS name: Linux OS architecture: i386 OS version: 2.6.13-1.1532_FC4 > Mamta > Index: java/testing/org/apache/derbyTesting/functionTests/tests/lang/copy= files.ant > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- java/testing/org/apache/derbyTesting/functionTests/tests/lang/copyfil= es.ant (revision 330499) > +++ java/testing/org/apache/derbyTesting/functionTests/tests/lang/copyfil= es.ant (working copy) > @@ -228,6 +228,7 @@ > triggerStream.sql > triggerStream_app.properties > triggerStream_derby.properties > +unaryArithmeticDynamicParameter_app.properties > ungroupedAggregatesNegative.sql > union.sql > unlimited.sql > Index: java/testing/org/apache/derbyTesting/functionTests/tests/lang/unar= yArithmeticDynamicParameter_app.properties > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- java/testing/org/apache/derbyTesting/functionTests/tests/lang/unaryAr= ithmeticDynamicParameter_app.properties (revision 0) > +++ java/testing/org/apache/derbyTesting/functionTests/tests/lang/unaryAr= ithmeticDynamicParameter_app.properties (revision 0) > @@ -0,0 +1,22 @@ > +# > +# This is the default system properties file for SQL and JAVA tests. > +# > +# *** DO NOT PUT PROPERTIES FOR THE DERBY SYSTEM IN THIS FILE. =20 > +# *** THEY BELONG IN default_derby.properties. > +# > +# This file will get handed to the test on the command line in a -p > +# argument. > +# > +# This causes ij to load the driver and make an > +# initial connection to the database. > +# > +# The .java test has to call util.getPropertyArg and util.startJBMS > +# to process the property file. See any of the .java tests for this cod= e. > +# > +# If you want to alter these to use a different driver, connect to a dif= ferent > +# database, or to not be used, override this file by creating > +# a file _app.properties to be used instead of this file. > +# > + > +runwithibm13=3Dfalse > +runwithjdk13=3Dfalse >=20 > Property changes on: java/testing/org/apache/derbyTesting/functionTests/t= ests/lang/unaryArithmeticDynamicParameter_app.properties > ___________________________________________________________________ > Name: svn:eol-style > + native >=20 --=20 Bernt Marius Johnsen, Database Technology Group,=20 Sun Microsystems, Trondheim, Norway --a2FkP9tdjPU2nyhF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDafTtlFBD9TXBAPARAr/9AKDRBVzUeS8cp3ueVKMCw8dbS/cTgQCfY8yx 6PNC5f7oNMjvRnU8bxrFGtw= =ONf7 -----END PGP SIGNATURE----- --a2FkP9tdjPU2nyhF--