From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2173 invoked by alias); 5 Sep 2004 19:27:17 -0000 Mailing-List: contact mauve-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sources.redhat.com Received: (qmail 2166 invoked from network); 5 Sep 2004 19:27:16 -0000 Received: from unknown (HELO gnu.wildebeest.org) (82.161.94.186) by sourceware.org with SMTP; 5 Sep 2004 19:27:16 -0000 Received: from elsschot.wildebeest.org ([192.168.1.26]) by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian)) id 1C42e8-0002Rp-00; Sun, 05 Sep 2004 21:25:52 +0200 Subject: Re: Mauve patches for SpinnerListModel From: Mark Wielaard To: Andrew John Hughes Cc: classpath@gnu.org, tromey@redhat.com, mauve-discuss@sources.redhat.com, Robert Lougher In-Reply-To: <20040819003736.GA24589@middle-earth.co.uk> References: <20040819003736.GA24589@middle-earth.co.uk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Cs0vPTSJW/cAO7IHWp9Y" Message-Id: <1094412368.2117.98.camel@localhost.localdomain> Mime-Version: 1.0 Date: Sun, 05 Sep 2004 19:27:00 -0000 X-SW-Source: 2004-q3/txt/msg00017.txt.bz2 --=-Cs0vPTSJW/cAO7IHWp9Y Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 2248 Hi, On Thu, 2004-08-19 at 02:37, Andrew John Hughes wrote: > Attached is a series of Mauve tests for SpinnerListModel > to go in the directory gnu/testlet/javax/swing/SpinnerListModel. > What do I do about adding these? You post them to mauve-patches@sources.redhat.com :) And/Or you ask Tom for permission to check them in yourself. > Also, does anyone have any idea as to why Mauve only seems to test java.i= o and > java.net when I run make check? Using ant, I can get it to compile all t= he tests > but it segfaults in java.lang.reflect.Array.newInstance. For these kind of questions there is the mauve-discuss@sources.redhat.com mailinglist. Personally I don't use ant but the batch_run and runner script (see the README) which should automatically run all the tests. The README also has some more examples on how to run mauve "the traditional way" (make and autotools). The crash in Array.newInstance() is a bug in jamvm (which I assume you are using). CCed Robert. I thought I had reported it earlier, but maybe I forgot. This is in the last multi-dimensional test: val =3D 0; try { x =3D Array.newInstance(String.class, new int[] {Integer.MAX_VALUE, Integer.MAX_VALUE}); val =3D 1; } catch (OutOfMemoryError e) { val =3D 2; } catch (Throwable t) { harness.debug(t); val =3D 3; } harness.check(val, 2); gdb backtrace below. This is why I run the batch_run script since it will just ignore such crashes and go on with the next test. Cheers, Mark isInstOfArray0 (array_class=3D0x401bd440, test_elem=3D0x0, test_dim=3D2) at= cast.c:52 52 return IS_INTERFACE(CLASS_CB(array_elem)) ? (gdb) bt #0 isInstOfArray0 (array_class=3D0x401bd440, test_elem=3D0x0, test_dim=3D2) at cast.c:52 #1 0x0804ac5b in arrayStoreCheck (array_class=3D0x0, test=3D0x0) at cast.c= :85 #2 0x0805227e in executeJava () at interp.c:820 #3 0x0804e532 in executeMethodVaList (ob=3D0x0, class=3D0x0, mb=3D0x811926= 0, jargs=3D0xbfffdd40 "\034\uffff\032@\001") at execute.c:66 #4 0x0804e3c6 in executeMethodArgs (ob=3D0x0, class=3D0x0, mb=3D0x0) at ex= ecute.c:38 #5 0x080565d2 in main (argc=3D2, argv=3D0xbfffdde4) at jam.c:278 --=-Cs0vPTSJW/cAO7IHWp9Y Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBO2hQxVhZCJWr9QwRAmxoAJ9OxtCvaMBpyfLrwFMiCnxT1vB0hgCeNbeZ 7dSO8lvd+3t074L+tQFB7sE= =17SH -----END PGP SIGNATURE----- --=-Cs0vPTSJW/cAO7IHWp9Y--