From MAILER-DAEMON Wed Jun 01 00:07:07 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdKVW-0005Qe-N3
	for mharc-classpath@gnu.org; Wed, 01 Jun 2005 00:07:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdKVT-0005Ot-5E
	for classpath@gnu.org; Wed, 01 Jun 2005 00:07:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdKVR-0005Ng-4V
	for classpath@gnu.org; Wed, 01 Jun 2005 00:07:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdKVR-0005Nd-1G
	for classpath@gnu.org; Wed, 01 Jun 2005 00:07:01 -0400
Received: from [130.237.208.17] (helo=mail2.physto.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DdKQh-00040E-76
	for classpath@gnu.org; Wed, 01 Jun 2005 00:02:07 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail2.physto.se (Postfix) with ESMTP id 38A9828258
	for <classpath@gnu.org>; Wed,  1 Jun 2005 06:00:08 +0200 (CEST)
Received: from mail2.physto.se ([127.0.0.1])
	by localhost (syslx11.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 23148-02 for <classpath@gnu.org>;
	Wed,  1 Jun 2005 06:00:06 +0200 (CEST)
Received: from qcplx01.physto.se (qcplx01.physto.se [130.242.128.121])
	by mail2.physto.se (Postfix) with ESMTP id A9D2228229
	for <classpath@gnu.org>; Wed,  1 Jun 2005 06:00:06 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: classpath@gnu.org
Content-Type: text/plain
Date: Wed, 01 Jun 2005 05:56:44 +0200
Message-Id: <1117598205.18018.11.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.3 (2.0.3-0.mozer.1) 
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at physto.se
Subject: Cleaning up Savannah (a bit)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2005 04:07:04 -0000

Hi,
I guess you all know we've got a Task list and a Patches list on
Savannah. Both of these have been used somewhat sporadically in the
past, and the follow-up hasn't been so good.

I'd like to clean it up a bit and close all bugs and patches prior to
Jan 1, 2005, since they're probably not relevant nor followed anymore.
Anyone against?

At the same time, we *REALLY* need to get this Task-list stuff
homogenized. At the moment, we've got the "Tasks" page on the Classpath
homepage, the Savannah tasks tracker, and the mediation wiki.

Perhaps we should move the remaining current items from the Savannah
tracker (Audrius' CORBA stuff, mostly) to the wiki, and close the
Savannah tracker completely and kill the task-list on the homepage, and
just have the mediation Wiki?
(http://developer.classpath.org/mediation/ClasspathOpenTasks)

And link to it from the main page, of course.

Anyone against?
-- 
Sven de Marothy <sven@physto.se>




From MAILER-DAEMON Wed Jun 01 03:35:21 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdNl3-0006I9-17
	for mharc-classpath@gnu.org; Wed, 01 Jun 2005 03:35:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdNkz-0006HV-RN
	for classpath@gnu.org; Wed, 01 Jun 2005 03:35:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdNky-0006Gv-Tl
	for classpath@gnu.org; Wed, 01 Jun 2005 03:35:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdNky-0006Fn-9u
	for classpath@gnu.org; Wed, 01 Jun 2005 03:35:16 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DdNis-0007MM-ES
	for classpath@gnu.org; Wed, 01 Jun 2005 03:33:06 -0400
Received: from dumas.thomas.planescape.com ([10.0.0.2] ident=zander)
	by namlook.thomas.planescape.com with esmtp (Exim 3.35 #1 (Debian))
	id 1DdNgr-0000vM-00
	for <classpath@gnu.org>; Wed, 01 Jun 2005 09:31:01 +0200
From: Thomas Zander <zander@kde.org>
To: classpath@gnu.org
Date: Wed, 1 Jun 2005 09:30:23 +0200
User-Agent: KMail/1.8.50
References: <1117598205.18018.11.camel@qcplx01.physto.se>
In-Reply-To: <1117598205.18018.11.camel@qcplx01.physto.se>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart4251075.n8qOFHnmuQ";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200506010930.30414.zander@kde.org>
Subject: Re: Cleaning up Savannah (a bit)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2005 07:35:18 -0000

--nextPart4251075.n8qOFHnmuQ
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 1 June 2005 05:56, Sven de Marothy wrote:
> I'd like to clean it up a bit and close all bugs and patches prior to
> Jan 1, 2005, since they're probably not relevant nor followed anymore.
> Anyone against?

Yeah me, although I don't have any classpath background this solution seems=
=20
a good way to alienate bugreporters.

What about people actually start using the bugdatabase. So when I add a=20
comment to a bug I reported that it can be closed, it will be closed by=20
someone who has the rights.
Next to that; that people stop shouting they want bugreports and when I giv=
e=20
them that nothing is done with most of them.

=2D-=20
Thomas Zander

--nextPart4251075.n8qOFHnmuQ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCnWQWCojCW6H2z/QRAkCQAJ443/PTcuL2RWNiQ2Du3nAjMezekQCdEqgS
6zxuxC50IJL/eQqZGC9Yj2s=
=+VCL
-----END PGP SIGNATURE-----

--nextPart4251075.n8qOFHnmuQ--



From MAILER-DAEMON Wed Jun 01 03:47:45 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdNwz-000334-Rp
	for mharc-classpath@gnu.org; Wed, 01 Jun 2005 03:47:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdNwp-00030H-R0
	for classpath@gnu.org; Wed, 01 Jun 2005 03:47:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdNwl-0002zD-S5
	for classpath@gnu.org; Wed, 01 Jun 2005 03:47:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdNwi-0002vj-0E
	for classpath@gnu.org; Wed, 01 Jun 2005 03:47:24 -0400
Received: from [212.126.219.82] (helo=mail.aicas.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DdNtk-00089o-Pl
	for classpath@gnu.org; Wed, 01 Jun 2005 03:44:20 -0400
Received: from aicas.com (unknown [192.168.1.72])
	by mail.aicas.de (Postfix) with ESMTP id 8873F6BC629;
	Wed,  1 Jun 2005 09:44:08 +0200 (CEST)
Message-ID: <429D66D0.1090308@aicas.com>
Date: Wed, 01 Jun 2005 09:42:08 +0200
From: Roman Kennke <kennke@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Sven de Marothy <sven@physto.se>
References: <1117598205.18018.11.camel@qcplx01.physto.se>
In-Reply-To: <1117598205.18018.11.camel@qcplx01.physto.se>
X-Enigmail-Version: 0.71.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Cleaning up Savannah (a bit)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2005 07:47:34 -0000

Sven de Marothy wrote:

>Hi,
>I guess you all know we've got a Task list and a Patches list on
>Savannah. Both of these have been used somewhat sporadically in the
>past, and the follow-up hasn't been so good.
>
>I'd like to clean it up a bit and close all bugs and patches prior to
>Jan 1, 2005, since they're probably not relevant nor followed anymore.
>Anyone against?
>
Not me.

>At the same time, we *REALLY* need to get this Task-list stuff
>homogenized. At the moment, we've got the "Tasks" page on the Classpath
>homepage, the Savannah tasks tracker, and the mediation wiki.
>
>Perhaps we should move the remaining current items from the Savannah
>tracker (Audrius' CORBA stuff, mostly) to the wiki, and close the
>Savannah tracker completely and kill the task-list on the homepage, and
>just have the mediation Wiki?
>
Sounds like a very good idea to me.

/Roman





From MAILER-DAEMON Wed Jun 01 05:15:33 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdPJn-0003Cg-6H
	for mharc-classpath@gnu.org; Wed, 01 Jun 2005 05:15:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdOvL-0001bo-Lr
	for classpath@gnu.org; Wed, 01 Jun 2005 04:50:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdOvA-0001b4-RY
	for classpath@gnu.org; Wed, 01 Jun 2005 04:49:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdOuy-0001aH-Bg
	for classpath@gnu.org; Wed, 01 Jun 2005 04:49:45 -0400
Received: from [130.237.208.17] (helo=mail2.physto.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DdOuJ-000528-Gt
	for classpath@gnu.org; Wed, 01 Jun 2005 04:48:59 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail2.physto.se (Postfix) with ESMTP id DE85228258;
	Wed,  1 Jun 2005 10:46:57 +0200 (CEST)
Received: from mail2.physto.se ([127.0.0.1])
	by localhost (syslx11.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 06969-10; Wed,  1 Jun 2005 10:46:55 +0200 (CEST)
Received: from qcplx01.physto.se (qcplx01.physto.se [130.242.128.121])
	by mail2.physto.se (Postfix) with ESMTP id 5390A28229;
	Wed,  1 Jun 2005 10:46:55 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: classpath@gnu.org
In-Reply-To: <20050601075556.BC02234007@mx2.su.se>
References: <20050601075556.BC02234007@mx2.su.se>
Content-Type: text/plain
Date: Wed, 01 Jun 2005 10:43:33 +0200
Message-Id: <1117615413.7834.64.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.3 (2.0.3-0.mozer.1) 
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at physto.se
Cc: 
Subject: Re: Cleaning up Savannah (a bit)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2005 09:15:06 -0000

Thomas Zander <zander@kde.org> wrote:
> On Wednesday 1 June 2005 05:56, Sven de Marothy wrote:
> > I'd like to clean it up a bit and close all bugs and patches prior to
> > Jan 1, 2005, since they're probably not relevant nor followed anymore.
> > Anyone against?
> 
> Yeah me, although I don't have any classpath background this solution seems 
> a good way to alienate bugreporters.
> 

Thomas,
I miswrote, this wasn't as much about the bugs tracker as the patches
and tasks list. (which have the most 'dead wood' in them, (e.g. apart
from Audrius' recent additions, the task list is mostly from 2002)

Obviously we should not and will not get rid of any bugs which are still
open, and confirmed. (Although some bugs, like #3207 are a bit
questionable)

> What about people actually start using the bugdatabase. So when I add
a 
> comment to a bug I reported that it can be closed, it will be closed by 
> someone who has the rights.
> Next to that; that people stop shouting they want bugreports and when I give 
> them that nothing is done with most of them.

Well, first off the Savannah bug database is due be completely moved
soon to a common gcj/classpath bugzilla database. Perhaps you can get
rights there (I don't know how that works with Bugzilla. Or savannah).

A comment to an unassigned bug can easily be missed. Could you tell us
which bugs you want closed? 

> Next to that; that people stop shouting they want bugreports and when I give 
> them that nothing is done with most of them.

Well, it's sad you feel that way. But this is, after all, a free
software project, where you never get guarantees things will get fixed
unless you do it yourself. It depends on the nature of the bug and the
report too.

/Sven




From MAILER-DAEMON Wed Jun 01 06:14:37 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdQFA-0004AL-9K
	for mharc-classpath@gnu.org; Wed, 01 Jun 2005 06:14:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdQF4-00048T-Sc
	for classpath@gnu.org; Wed, 01 Jun 2005 06:14:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdQE7-0003oU-CJ
	for classpath@gnu.org; Wed, 01 Jun 2005 06:13:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdQDa-0003HE-44
	for classpath@gnu.org; Wed, 01 Jun 2005 06:12:58 -0400
Received: from [217.12.12.197] (helo=smtp807.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DdQ1d-0002ez-Sq
	for classpath@gnu.org; Wed, 01 Jun 2005 06:00:38 -0400
Received: (qmail 81506 invoked from network); 1 Jun 2005 09:58:35 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp807.mail.ukl.yahoo.com with SMTP; 1 Jun 2005 09:58:34 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1DdPzR-0005Q3-NL
	for classpath@gnu.org; Wed, 01 Jun 2005 10:58:21 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1117598205.18018.11.camel@qcplx01.physto.se>
References: <1117598205.18018.11.camel@qcplx01.physto.se>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-FVhXpEeI5op2XlxlgqaS"
Date: Wed, 01 Jun 2005 10:58:33 +0100
Message-Id: <1117619914.27752.9.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: Re: Cleaning up Savannah (a bit)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2005 10:14:32 -0000


--=-FVhXpEeI5op2XlxlgqaS
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2005-06-01 at 05:56 +0200, Sven de Marothy wrote:
> Hi,
> I guess you all know we've got a Task list and a Patches list on
> Savannah. Both of these have been used somewhat sporadically in the
> past, and the follow-up hasn't been so good.
>=20
> I'd like to clean it up a bit and close all bugs and patches prior to
> Jan 1, 2005, since they're probably not relevant nor followed anymore.
> Anyone against?
>=20
> At the same time, we *REALLY* need to get this Task-list stuff
> homogenized. At the moment, we've got the "Tasks" page on the Classpath
> homepage, the Savannah tasks tracker, and the mediation wiki.
>=20
> Perhaps we should move the remaining current items from the Savannah
> tracker (Audrius' CORBA stuff, mostly) to the wiki, and close the
> Savannah tracker completely and kill the task-list on the homepage, and
> just have the mediation Wiki?
> (http://developer.classpath.org/mediation/ClasspathOpenTasks)
>=20
> And link to it from the main page, of course.
>=20
> Anyone against?

I think the bug tracker is mostly up-to-date; if there are some rotting
bugs in there that no longer apply, then I assume that the move to
Bugzilla would involve a check of the relevancy of the bugs before they
are moved across.  As with most bug databases, there are quite a few
that are still pertinent, but involve quite a bit to fix.  The ones that
tend to go are relatively trivial.  There are probably some that could
be closed that were reported a long time ago, where the original
reporter has disappeared and they can't be replicated.  I think this is
sort of what you implied, but an arbitrary date is probably not the best
way to handle all of them.

I definitely agree on the task list; both the GNU Classpath web page one
and the Savannah one are very misleading to prospective GNU Classpath
hackers.  In this case, I think we should choose the one that is most
used by the current team; if this is the wiki, then so be it, but I do
feel the Savannah one is the one that is more 'designed' for this
purpose.  Maybe there is a possibility of a similar but better feature
in Bugzilla which could be used when we moved to the GCJ system?

Thanks for bringing it up,
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-FVhXpEeI5op2XlxlgqaS
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCnYbJ+WQ2ITV9UU0RAmEcAJ0byM2EEYlJsng23TwDmgmQ1MC6twCeIHOr
+UT/PpoOI8kEvjt59osaSAs=
=ji6Y
-----END PGP SIGNATURE-----

--=-FVhXpEeI5op2XlxlgqaS--




From MAILER-DAEMON Wed Jun 01 06:26:43 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdQQt-0007mh-40
	for mharc-classpath@gnu.org; Wed, 01 Jun 2005 06:26:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdQQm-0007kR-Pq
	for classpath@gnu.org; Wed, 01 Jun 2005 06:26:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdQPe-0007b7-KH
	for classpath@gnu.org; Wed, 01 Jun 2005 06:26:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdQPY-0007Nx-2u
	for classpath@gnu.org; Wed, 01 Jun 2005 06:25:20 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DdQKS-0004EU-9z
	for classpath@gnu.org; Wed, 01 Jun 2005 06:20:04 -0400
Received: from zander by namlook.thomas.planescape.com with local (Exim 3.35
	#1 (Debian)) id 1DdQFJ-00017C-00; Wed, 01 Jun 2005 12:14:45 +0200
Date: Wed, 1 Jun 2005 12:14:45 +0200
To: Sven de Marothy <sven@physto.se>
Message-ID: <20050601101445.GA4285@planescape.com>
References: <20050601075556.BC02234007@mx2.su.se>
	<1117615413.7834.64.camel@qcplx01.physto.se>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1117615413.7834.64.camel@qcplx01.physto.se>
From: Thomas Zander <zander@kde.org>
Cc: classpath@gnu.org
Subject: Re: Cleaning up Savannah (a bit)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2005 10:26:39 -0000

On Wed, Jun 01, 2005 at 10:43:33AM +0200, Sven de Marothy wrote:
> Thomas Zander <zander@kde.org> wrote:
> > On Wednesday 1 June 2005 05:56, Sven de Marothy wrote:
> > > I'd like to clean it up a bit and close all bugs and patches prior to
> > > Jan 1, 2005, since they're probably not relevant nor followed anymore.
> > > Anyone against?
> > 
> > Yeah me, although I don't have any classpath background this solution seems 
> > a good way to alienate bugreporters.
> > 
> 
> Thomas,
> I miswrote, this wasn't as much about the bugs tracker as the patches
> and tasks list.
Ah; that explains it. I have no problems with that.

> Well, first off the Savannah bug database is due be completely moved
> soon to a common gcj/classpath bugzilla database. Perhaps you can get
> rights there

Hehe; thats "due next week" for 3 months now :)

-- 
Thomas Zander



From MAILER-DAEMON Wed Jun 01 09:26:13 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdTEZ-00025Y-0C
	for mharc-classpath@gnu.org; Wed, 01 Jun 2005 09:26:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdTER-00022m-K4
	for classpath@gnu.org; Wed, 01 Jun 2005 09:26:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdTEP-00021y-7S
	for classpath@gnu.org; Wed, 01 Jun 2005 09:26:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdTEO-0001qP-Ic
	for classpath@gnu.org; Wed, 01 Jun 2005 09:26:00 -0400
Received: from [193.189.160.40] (helo=mta1.siol.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DdT2D-0002Pz-Px
	for classpath@gnu.org; Wed, 01 Jun 2005 09:13:26 -0400
Received: from edge1.siol.net ([10.10.10.210]) by mta1.siol.net with ESMTP
	id <20050601131121.PRFE9234.mta1.siol.net@edge1.siol.net>;
	Wed, 1 Jun 2005 15:11:21 +0200
Received: from serenity.klika.si ([193.77.157.51]) by edge1.siol.net with ESMTP
	id <20050601131120.JOLF7478.edge1.siol.net@serenity.klika.si>;
	Wed, 1 Jun 2005 15:11:20 +0200
From: Ziga Mahkovec <ziga.mahkovec@klika.si>
To: tromey@redhat.com
In-Reply-To: <m364wyhnc0.fsf@localhost.localdomain>
References: <1116349733.4756.36.camel@localhost.localdomain>
	<m3br78mqnh.fsf@localhost.localdomain>
	<1116515805.5102.132.camel@localhost>
	<m364wyhnc0.fsf@localhost.localdomain>
Content-Type: text/plain
Date: Wed, 01 Jun 2005 15:11:17 +0200
Message-Id: <1117631477.5645.35.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 (2.0.4-5) 
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Classpath regexp code
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2005 13:26:05 -0000

On Tue, 2005-05-31 at 19:34 -0600, Tom Tromey wrote:
> >> I sent some email to the JRegex guy to ask how he felt about
> >> incorporating it into Classpath.
> 
> I haven't had a response.
> 
> Ziga> Since I recently wrote some Mauve tests[1] for java.util.regex, I
> Ziga> decided to run them against jregex.  It failed on 15/360 tests (results
> Ziga> attached).

I'm adding embedded flags (?idmsux-idmsux:X) to the list of features
jregex doesn't support; I'll be sending a patch for gnu.regexp soon.

> Ziga> The testlets aren't meant as a benchmark, but jregex did finish much
> Ziga> faster: 0.484s vs. 3.931s for gnu.regex (both running jamvm).
> 
> I think we should consider using jregex even without an assignment.
> Unless somebody wants to drastically speed up gnu regex, that is.

Well, I started looking into these performance problems, but I'm not
sure yet if there's any low hanging fruit here.

Anthony already showed that lots of time is spent running clone() and
garbage collection.  The culprit here is
gnu.regexp.RETokenRepeated.match(), which is used for matching a*, a?, a
+ and a{n,m} tokens.  In the worst case, it clones two
gnu.regexp.REMatch instances for *each* token of the input string.
REMatch contains two integer arrays (also cloned) and other fields as
well, so this is a killer for performance.

I'll be able to spend more time on this the coming weekend.
-- 
Ziga




From MAILER-DAEMON Wed Jun 01 12:52:27 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdWSB-0005zT-2j
	for mharc-classpath@gnu.org; Wed, 01 Jun 2005 12:52:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdWS3-0005x7-SO
	for classpath@gnu.org; Wed, 01 Jun 2005 12:52:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdWRw-0005t4-D6
	for classpath@gnu.org; Wed, 01 Jun 2005 12:52:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdWRw-0005q2-7P
	for classpath@gnu.org; Wed, 01 Jun 2005 12:52:12 -0400
Received: from [195.186.19.61] (helo=mail12.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DdWMt-0002U1-8K
	for classpath@gnu.org; Wed, 01 Jun 2005 12:46:59 -0400
Received: from Federspitz (83.77.211.181) by mail12.bluewin.ch (Bluewin
	7.2.060.1) id 429D71AE0000BE4B for classpath@gnu.org;
	Wed, 1 Jun 2005 16:44:49 +0000
Message-ID: <000f01c566c9$3af15000$2101a8c0@Federspitz>
From: "Meskauskas Audrius" <audriusa@bluewin.ch>
To: <classpath@gnu.org>
Date: Wed, 1 Jun 2005 18:44:51 +0200
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Subject: Re: Cleaning up Savannah (a bit)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Meskauskas Audrius <audriusa@bluewin.ch>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2005 16:52:23 -0000

I actually do not think that the original savannah task and bug lists are
really so bad. The worst thing with them is that on the first visit they
sort by date in the opposite order, giving the oldest, obsolete
additions first. This causes a terrible first impression, the whole
project looks like dead long time ago. I think this is just an old bug
that nobody have ever fixed.

However they have and enforce the certain structure
(importance, progress, status, category), providing web forms for that.
They also provide search by rather complicated query.
They can give us the "live" web links that display pages, returned
in response to submitting some in advanve-prepared query. They provide
a simple way to post follow ups, to attach the arbitrary files (critical
feature for bug reports). Sun links to the bug report page from the
generated documentation, probably we could also think about
something similar.

In this way they may have an advantage against the "free text"
web pages that I think are better suitable for less structured topics
like development decissions, news, documentation, implementation
status and so on.

The link
http://savannah.gnu.org/task/?group=classpath&order=planned_close_date
gives the task list, sorted in a normal order (most recent first), probably
we could use this as workaround?

As one of the possible solutions I suggest to move all tasks that
should have been finished more than half a year ago, into a single 
"obsolete"
category and do not display this category on the first visit. Bugs should
be sorted by priority, most sever bugs first (there is also a hyperlink
that gives them in that order). Also, it would help to divide bugs into
programming related and non programming related (build, documenation,
etc).

Audrius






From MAILER-DAEMON Wed Jun 01 14:07:55 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdXdC-0007WC-Ff
	for mharc-classpath@gnu.org; Wed, 01 Jun 2005 14:07:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdXd8-0007UV-R5
	for classpath@gnu.org; Wed, 01 Jun 2005 14:07:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdXd5-0007Se-Es
	for classpath@gnu.org; Wed, 01 Jun 2005 14:07:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdXd3-0007Lw-Cl
	for classpath@gnu.org; Wed, 01 Jun 2005 14:07:45 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DdXWz-00005z-FV
	for classpath@gnu.org; Wed, 01 Jun 2005 14:01:29 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j51HxMo6027408
	for <classpath@gnu.org>; Wed, 1 Jun 2005 13:59:22 -0400
Received: from opsy.redhat.com (vpn50-15.rdu.redhat.com [172.16.50.15])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j51HxLO13837; 
	Wed, 1 Jun 2005 13:59:21 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 969EC2DD45E; Wed,  1 Jun 2005 11:55:36 -0600 (MDT)
Sender: tromey@redhat.com
To: GNU Classpath Project <classpath@gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 01 Jun 2005 11:55:36 -0600
Message-ID: <m3vf4ydkrr.fsf@localhost.localdomain>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: oddity in CORBA code
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2005 18:07:52 -0000

In the CORBA code I see this:

 [...]

    catch (Exception ex)
      {
        throw new MARSHAL(ex + ":" + ex.getMessage());
      }

This is weird since Throwable.toString() (i.e. the default) includes
getMessage.  I think it would be a bit better to just use getMessage
here and add a package-private constructor to allow exception
chaining:

   throw new MARSHAL(ex.getMessage(), ex);

Comments?

Tom



From MAILER-DAEMON Wed Jun 01 15:23:51 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdYoh-0000sS-7Y
	for mharc-classpath@gnu.org; Wed, 01 Jun 2005 15:23:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdYoe-0000qG-SI
	for classpath@gnu.org; Wed, 01 Jun 2005 15:23:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdYod-0000pV-N5
	for classpath@gnu.org; Wed, 01 Jun 2005 15:23:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdYlT-0007F2-EC
	for classpath@gnu.org; Wed, 01 Jun 2005 15:20:31 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DdYde-00050a-1j
	for classpath@gnu.org; Wed, 01 Jun 2005 15:12:27 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j51J9iQ4021501;
	Wed, 1 Jun 2005 15:09:44 -0400
Received: from opsy.redhat.com (vpn50-15.rdu.redhat.com [172.16.50.15])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j51J9hO21308; 
	Wed, 1 Jun 2005 15:09:43 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 27B172DD45E; Wed,  1 Jun 2005 13:05:58 -0600 (MDT)
Sender: tromey@redhat.com
To: Sven de Marothy <sven@physto.se>
References: <20050601075556.BC02234007@mx2.su.se>
	<1117615413.7834.64.camel@qcplx01.physto.se>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 01 Jun 2005 13:05:57 -0600
In-Reply-To: <1117615413.7834.64.camel@qcplx01.physto.se>
Message-ID: <m3d5r5ew2y.fsf@localhost.localdomain>
Lines: 14
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Cleaning up Savannah (a bit)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2005 19:23:49 -0000

>>>>> "Sven" == Sven de Marothy <sven@physto.se> writes:

Sven> Well, first off the Savannah bug database is due be completely moved
Sven> soon to a common gcj/classpath bugzilla database. Perhaps you can get
Sven> rights there (I don't know how that works with Bugzilla. Or savannah).

I think if someone has commit rights they should also get
bug-modifying rights.

In the gcc bugzilla some folks get bug-modifying rights even if they
don't have commit rights.  This is important actually, we could do
this too.

Tom



From MAILER-DAEMON Thu Jun 02 12:09:56 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DdsGZ-000598-KF
	for mharc-classpath@gnu.org; Thu, 02 Jun 2005 12:09:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DdsGP-00054b-7P
	for classpath@gnu.org; Thu, 02 Jun 2005 12:09:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DdsGI-00051B-Ds
	for classpath@gnu.org; Thu, 02 Jun 2005 12:09:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DdsGH-0004re-8b
	for classpath@gnu.org; Thu, 02 Jun 2005 12:09:37 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DdsAB-0003oV-N2
	for classpath@gnu.org; Thu, 02 Jun 2005 12:03:20 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j52G0wuL016893;
	Thu, 2 Jun 2005 12:00:58 -0400
Received: from opsy.redhat.com (vpn50-76.rdu.redhat.com [172.16.50.76])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j52G0vO01992; 
	Thu, 2 Jun 2005 12:00:57 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id B82A82DD4A4; Thu,  2 Jun 2005 09:57:09 -0600 (MDT)
Sender: tromey@redhat.com
To: Meskauskas Audrius <audriusa@bluewin.ch>
References: <001101c56462$1b74f6f0$2101a8c0@Federspitz>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 02 Jun 2005 09:57:09 -0600
In-Reply-To: <001101c56462$1b74f6f0$2101a8c0@Federspitz>
Message-ID: <m3fyw03g6i.fsf@localhost.localdomain>
Lines: 28
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: CORBA tests: Can we use the former cost.omg.org?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Jun 2005 16:09:49 -0000

>>>>> "Audrius" == Meskauskas Audrius <audriusa@bluewin.ch> writes:

Audrius> The SourceForge contains a large project, called corba-cost
Audrius> (http://sourceforge.net/projects/corba-cost/). There are no releases,
Audrius>  no homepage, only one developer, but the CVS contains a large
Audrius> amount of code.

Audrius> The code looks like CORBA tests, I think, written by the different
Audrius> commercial groups. The most of the files contain no copyrigth
Audrius> headersl. The CVS tree contais several text files with the
Audrius> widely known texts of the GPL and LGPL.

Audrius> Should be believe? Before adapting tests and moving them into
Audrius> Mauve, I would like to ask for the list opinion. The
Audrius> http://cost.omg.org/ is really dead, but maybe somebody know
Audrius> details about that project or otherwise can tell me if the
Audrius> use of that strange thing could posess any danger to the
Audrius> project.

Do we need to copy it to Mauve?  Maybe you could ask the remaining
developer for write access to the sourceforge project?

I think we can take this project at its word, unless we have some
particular reason to suspect it.  Also, since it is a test suite I am
less concerned about it, as we aren't going to ship it, just use it
for testing.

Tom



From MAILER-DAEMON Fri Jun 03 08:09:12 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeAz9-0003Yh-7e
	for mharc-classpath@gnu.org; Fri, 03 Jun 2005 08:09:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeAz1-0003WY-UG
	for classpath@gnu.org; Fri, 03 Jun 2005 08:09:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeAt2-0001Sg-CV
	for classpath@gnu.org; Fri, 03 Jun 2005 08:02:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeAss-00013a-V6
	for classpath@gnu.org; Fri, 03 Jun 2005 08:02:43 -0400
Received: from [195.186.19.69] (helo=mail28.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeAUL-0000kp-Io
	for classpath@gnu.org; Fri, 03 Jun 2005 07:37:21 -0400
Received: from Federspitz (83.78.177.237) by mail28.bluewin.ch (Bluewin
	7.2.060.1) id 429D795600030473 for classpath@gnu.org;
	Fri, 3 Jun 2005 11:34:44 +0000
Message-ID: <001501c56830$3d649cd0$2101a8c0@Federspitz>
From: "Meskauskas Audrius" <audriusa@bluewin.ch>
To: <classpath@gnu.org>
Date: Fri, 3 Jun 2005 13:34:44 +0200
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Subject: Re:oddity in CORBA code: Great idea!
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Meskauskas Audrius <audriusa@bluewin.ch>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jun 2005 12:09:05 -0000

> I think it would be a bit better to just use getMessage
here and add a package-private constructor to allow exception
chaining:

   throw new MARSHAL(ex.getMessage(), ex);

Hello, Tom,

the package private constructor for exception chaining is a good idea,
and it would be excellent to do like you suggest. If the exception like
MARSHAL is caused by another exception, this will help a lot to
know the real reason of throwing it.

Adding just a message may not be enough because in some cases
the message is empty.

Audrius.







From MAILER-DAEMON Fri Jun 03 10:16:48 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeCv0-0007ME-KD
	for mharc-classpath@gnu.org; Fri, 03 Jun 2005 10:13:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeCup-0007Gk-5V
	for classpath@gnu.org; Fri, 03 Jun 2005 10:12:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeCuk-0007Cr-Hl
	for classpath@gnu.org; Fri, 03 Jun 2005 10:12:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeCuj-00077E-8l
	for classpath@gnu.org; Fri, 03 Jun 2005 10:12:45 -0400
Received: from [195.186.19.66] (helo=mail22.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeCpG-0003LX-Nr
	for classpath@gnu.org; Fri, 03 Jun 2005 10:07:06 -0400
Received: from Federspitz (83.78.177.237) by mail22.bluewin.ch (Bluewin
	7.2.060.1) id 429D78CE00033EB9 for classpath@gnu.org;
	Fri, 3 Jun 2005 14:04:30 +0000
Message-ID: <015e01c56845$2923eea0$2101a8c0@Federspitz>
From: "Meskauskas Audrius" <audriusa@bluewin.ch>
To: <classpath@gnu.org>
Date: Fri, 3 Jun 2005 16:04:30 +0200
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Subject: Re:oddity in CORBA code
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Meskauskas Audrius <audriusa@bluewin.ch>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jun 2005 14:12:56 -0000

> I think it would be a bit better to just use getMessage
here and add a package-private constructor to allow exception
chaining:

   throw new MARSHAL(ex.getMessage(), ex);

No, we cannot use the package private constructor because
the exceptions are thrown from gnu.CORBA and other package
where all our functionality is concentrated.

But  I have another idea: use the public initCause method
before throwing an exception.

I added this to Classpath tasks.

Audrius.





From MAILER-DAEMON Fri Jun 03 10:40:30 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeDCh-0006zT-UW
	for mharc-classpath@gnu.org; Fri, 03 Jun 2005 10:31:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeDCc-0006xV-Ul
	for classpath@gnu.org; Fri, 03 Jun 2005 10:31:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeDCY-0006vD-US
	for classpath@gnu.org; Fri, 03 Jun 2005 10:31:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeDCX-0006hm-IN
	for classpath@gnu.org; Fri, 03 Jun 2005 10:31:10 -0400
Received: from [195.186.19.63] (helo=mail16.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeD13-0004Gd-JP
	for classpath@gnu.org; Fri, 03 Jun 2005 10:19:17 -0400
Received: from Federspitz (83.78.177.237) by mail16.bluewin.ch (Bluewin
	7.2.060.1) id 429D749100036867 for classpath@gnu.org;
	Fri, 3 Jun 2005 14:16:41 +0000
Message-ID: <016201c56846$dd06ffb0$2101a8c0@Federspitz>
From: "Meskauskas Audrius" <audriusa@bluewin.ch>
To: <classpath@gnu.org>
Date: Fri, 3 Jun 2005 16:16:41 +0200
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Subject: Re: Re: CORBA tests: Can we use the former cost.omg.org?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Meskauskas Audrius <audriusa@bluewin.ch>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jun 2005 14:31:18 -0000

Then I accept the decission to use package, step by step integrating it into 
Mauve.
It is better to have a single test package. Like any other part of the 
system,
CORBA can be broken by future changes in java.net, java.io, java.util and so 
on.

Hence it is good to run them even if the modified class is outside the CORBA
packages.

I will include the string "cost.omg.org" in the header of all tests, derived 
from
this package, and I will state where they are from. In the case of any 
future
problems, it will be easy to discard them.

We do need these tests. They are very comprehensive, it is a great success
we found them.

Audrius.

 





From MAILER-DAEMON Fri Jun 03 11:51:14 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeERD-0003my-5k
	for mharc-classpath@gnu.org; Fri, 03 Jun 2005 11:50:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeEQx-0003ea-32
	for classpath@gnu.org; Fri, 03 Jun 2005 11:50:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeEQg-0003Ve-MF
	for classpath@gnu.org; Fri, 03 Jun 2005 11:49:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeEQJ-0003Ci-1i
	for classpath@gnu.org; Fri, 03 Jun 2005 11:49:27 -0400
Received: from [64.233.170.204] (helo=rproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeEBQ-0001Ne-Bo
	for classpath@gnu.org; Fri, 03 Jun 2005 11:34:04 -0400
Received: by rproxy.gmail.com with SMTP id y7so1040950rne
	for <classpath@gnu.org>; Fri, 03 Jun 2005 08:31:31 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=RVgZaCeESD3iDEGWI6NxAMYE1mGnXxrL84Fze9+xcC5NSJvQ/1ZUvvZABh9cweHXl0qaTtpvFx1DkPLK+kiC4e5HXDCbJEzHp1vT4dzH4yUuZwKz/Hssqb4D1KiYhSiGZutKSt8X2HhvDxMhIZSgloa2WhI7ODHQiYxE1enjlm8=
Received: by 10.38.104.43 with SMTP id b43mr839805rnc;
	Fri, 03 Jun 2005 08:31:31 -0700 (PDT)
Received: by 10.38.150.54 with HTTP; Fri, 3 Jun 2005 08:31:31 -0700 (PDT)
Message-ID: <ca33c0a3050603083172e5c1ec@mail.gmail.com>
Date: Sat, 4 Jun 2005 01:01:31 +0930
From: Tom Dunstan <tomdcc@gmail.com>
To: classpath@gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Subject: java.text.MessageFormat parsing
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Dunstan <tomdcc@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jun 2005 15:50:21 -0000

Hi folks

Before I begin, major kudos to all involved in the free java world,
it's been wonderful to see it come so far!

I have some code which depends on certain behaviour of the
java.text.MessageFormat class when parsing strings (using the
parse(String) method). Basically if I'm trying to match a pattern
"/foo/{0}" with the string "/foo/bar", then I expect to get back "bar"
as parameter zero. This works with the Sun MessageFormat class (tested
with 1.4.2 and 1.5). Classpath, however, returns an empty string. I
would hazard a guess that Classpath is settling for the first String
that matches rather than the largest one that does so, but I'm no
expert in parsing theory so I'll let someone else do a proper
diagnosis.
=20
Below is a mauve patch exhibiting the problem which succeeds for the
Sun JDKs but fails for gcj/gij/jamvm with classpath. I've just done a
cvs diff -u on the file that I modified; is there a preferred
way/place to post such things?

Cheers

Tom



Index: gnu/testlet/java/text/MessageFormat/parse.java
=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
RCS file: /cvs/mauve/mauve/gnu/testlet/java/text/MessageFormat/parse.java,v
retrieving revision 1.1
diff -u -r1.1 parse.java
--- gnu/testlet/java/text/MessageFormat/parse.java      12 Mar 1999
11:50:43 -0000      1.1
+++ gnu/testlet/java/text/MessageFormat/parse.java      3 Jun 2005
15:08:36 -0000
@@ -72,5 +72,16 @@
       harness.check (val.length, 1);
       harness.check (val[0] instanceof Number);
       harness.check (((Number) (val[0])).longValue (), 23);
+
+      harness.checkPoint ("greedy string matching at end");
+      mf.applyPattern ("/foo/{0}");
+
+      pp.setIndex(0);
+      val =3D mf.parse ("/foo/bar", pp);
+      harness.check (val.length, 1);
+      harness.check (val[0] instanceof String);
+      harness.check (val[0], "bar");
+
+
     }
 }



From MAILER-DAEMON Fri Jun 03 12:00:45 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeEbD-0000IF-QF
	for mharc-classpath@gnu.org; Fri, 03 Jun 2005 12:00:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeEb9-0000HH-Gw
	for classpath@gnu.org; Fri, 03 Jun 2005 12:00:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeEb4-0000Go-Cm
	for classpath@gnu.org; Fri, 03 Jun 2005 12:00:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeEb3-0000GV-BF
	for classpath@gnu.org; Fri, 03 Jun 2005 12:00:33 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DeEan-0003Pv-63
	for classpath@gnu.org; Fri, 03 Jun 2005 12:00:17 -0400
Received: (qmail invoked by alias); 03 Jun 2005 15:57:42 -0000
Received: from p213.54.198.200.tisdip.tiscali.de (EHLO [213.54.198.200])
	[213.54.198.200]
	by mail.gmx.net (mp019) with SMTP; 03 Jun 2005 17:57:42 +0200
X-Authenticated: #17532834
Message-ID: <42A07E63.4000508@gmx.net>
Date: Fri, 03 Jun 2005 17:59:31 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Subject: GtkImage fixes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jun 2005 16:00:41 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
Thanks to the recent fixes to GtkImage MegaMek[0], which formerly looked
like this[1], is now displaying the map and other graphics mostly
correct[2]. (The mech display was completely broken in 0.15, too)

I am not sure what is causing the problems with the unit selection. With
IBM's JDK this is displayed in this[3] way.

Nevertheless: Great work Sven!

When playing around with MegaMek I saw multiple occurances of this
exception in its logfile:

java.lang.ClassCastException: java/awt/Button
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent
(DefaultKeyboardFocusManager.java:197)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:74)

Unfortunately I do not understand much of AWT event handling. However I
could investigate this further and file a bug.

Another problem can be seen when resizing MegaMek's main window. The AWT
components within grow larger and larger when resizing the window. AFAIK
it uses the evil GridBagLayout.

cu
Robert

Btw: If you want to use MegaMek with JamVM and a CVS version of GNU
Classpath you may find this small script useful:

#!/bin/sh
PREFIX=/home/rob/INSTALL/classpath (or where you have installed it)

CP=collections.jar:TinyXML.jar:MegaMek.jar

BLP=${PREFIX}/lib/classpath:${PREFIX}/lib/classpath/security:
JLP=

CLASS=megamek.MegaMek

BCP=/usr/share/jamvm/classes.zip:${PREFIX}/share/classpath/glibj.zip

jamvm -Xbootclasspath:${BCP} -Djava.library.path=${BLP}:${JLP} -cp ${CP}
${CLASS} ${@}
#sablevm -Y -p java.library.path=${JLP} -c ${CP} ${CLASS} ${@}

[0] - megamek.sf.net
[1] - http://page.mi.fu-berlin.de/~rschuste/megamek-ingame.png
[2] - http://page.mi.fu-berlin.de/~rschuste/megamek-ingame-2.png
[3] - http://page.mi.fu-berlin.de/~rschuste/megamek-select.png
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCoH5iG9cfwmwwEtoRAg9sAJ9rKKWTPVIBMN7Xi6aPY++B4jW2bQCgjL79
K3pVR9KJwBpXQA1gGhWSQ18=
=t1dw
-----END PGP SIGNATURE-----



From MAILER-DAEMON Fri Jun 03 14:11:55 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeGeB-0002DP-05
	for mharc-classpath@gnu.org; Fri, 03 Jun 2005 14:11:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeGe3-00028U-US
	for classpath@gnu.org; Fri, 03 Jun 2005 14:11:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeGdz-00024v-Rh
	for classpath@gnu.org; Fri, 03 Jun 2005 14:11:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeGdw-00022n-Fl
	for classpath@gnu.org; Fri, 03 Jun 2005 14:11:40 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DeGWe-0002wP-Tf
	for classpath@gnu.org; Fri, 03 Jun 2005 14:04:09 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j53I1Pq8002836;
	Fri, 3 Jun 2005 14:01:25 -0400
Received: from opsy.redhat.com (vpn50-34.rdu.redhat.com [172.16.50.34])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j53I1OO04815; 
	Fri, 3 Jun 2005 14:01:24 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 6B5F12DD4A4; Fri,  3 Jun 2005 11:57:33 -0600 (MDT)
Sender: tromey@redhat.com
To: Tom Dunstan <tomdcc@gmail.com>
References: <ca33c0a3050603083172e5c1ec@mail.gmail.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 03 Jun 2005 11:57:33 -0600
In-Reply-To: <ca33c0a3050603083172e5c1ec@mail.gmail.com>
Message-ID: <m3fyvzz5ki.fsf@localhost.localdomain>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: java.text.MessageFormat parsing
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jun 2005 18:11:50 -0000

>>>>> "Tom" == Tom Dunstan <tomdcc@gmail.com> writes:

Tom> Below is a mauve patch exhibiting the problem which succeeds for the
Tom> Sun JDKs but fails for gcj/gij/jamvm with classpath. I've just done a
Tom> cvs diff -u on the file that I modified; is there a preferred
Tom> way/place to post such things?

Yes, write a ChangeLog entry and post to <mauve-patches@sources.redhat.com>

I will handle this one for you.  Thanks for the test case.
Could you file a bug report to go along with it?

Tom



From MAILER-DAEMON Sat Jun 04 02:34:45 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeSF0-0001xw-Gw
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 02:34:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeSEu-0001wH-WA
	for classpath@gnu.org; Sat, 04 Jun 2005 02:34:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeSEr-0001ux-8V
	for classpath@gnu.org; Sat, 04 Jun 2005 02:34:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeSCw-0001Fo-3y
	for classpath@gnu.org; Sat, 04 Jun 2005 02:32:34 -0400
Received: from [64.233.170.206] (helo=rproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeS2K-0001Jz-A4
	for classpath@gnu.org; Sat, 04 Jun 2005 02:21:36 -0400
Received: by rproxy.gmail.com with SMTP id y7so1518116rne
	for <classpath@gnu.org>; Fri, 03 Jun 2005 23:18:54 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=jQ4nsG+MlpiElxrrYmjcLnppUpbsLA3LbulBZJXcZY0ARLuOp2xWBXMAZ/QK+9QfAnAadB6cFWLw8LxdKsBwnBaw5mOxu2gWQAvMsv5k4+l7ntjaFGrbdQQPRoJsH5V/1rPR5hZUUHfBVEVmCluv55J6lq6k2cIouCxtufK8Kr0=
Received: by 10.38.104.43 with SMTP id b43mr1240683rnc;
	Fri, 03 Jun 2005 23:18:54 -0700 (PDT)
Received: by 10.38.150.54 with HTTP; Fri, 3 Jun 2005 23:18:54 -0700 (PDT)
Message-ID: <ca33c0a30506032318543c2d7e@mail.gmail.com>
Date: Sat, 4 Jun 2005 15:48:54 +0930
From: Tom Dunstan <tomdcc@gmail.com>
To: classpath@gnu.org
In-Reply-To: <ca33c0a3050603231714a3da66@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <ca33c0a3050603083172e5c1ec@mail.gmail.com>
	<m3fyvzz5ki.fsf@localhost.localdomain>
	<ca33c0a3050603231714a3da66@mail.gmail.com>
Subject: Re: java.text.MessageFormat parsing
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Dunstan <tomdcc@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 06:34:40 -0000

> I will handle this one for you.  Thanks for the test case.
> Could you file a bug report to go along with it?

Sure, but, uh, where? There was some discussion a while ago about
merging the classpath and libgcj bug systems, but the savannah
classpath bug system is still going strong and I can't see any
classpath project in the gcc bugzilla. I suppose it's safe to assume
that the merge either hasn't happened yet or that some other path was
taken. Into which bug system should bugs go?

Thanks

Tom



From MAILER-DAEMON Sat Jun 04 03:34:34 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeTAu-00014e-AY
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 03:34:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeTAi-0000zX-IL
	for classpath@gnu.org; Sat, 04 Jun 2005 03:34:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeTAg-0000ya-Ox
	for classpath@gnu.org; Sat, 04 Jun 2005 03:34:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeTAg-0000sZ-1M
	for classpath@gnu.org; Sat, 04 Jun 2005 03:34:18 -0400
Received: from [212.6.122.28] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeT16-0004RY-Np
	for classpath@gnu.org; Sat, 04 Jun 2005 03:24:25 -0400
Received: from asterix.konqueror.de (dyndsl-080-228-196-010.ewe-ip-backbone.de
	[80.228.196.10])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id j547Lb6q015166;
	Sat, 4 Jun 2005 09:21:38 +0200 (MEST)
Received: from mkoch by asterix.konqueror.de with local (Exim 4.50)
	id 1DeSAP-0006kK-8v; Sat, 04 Jun 2005 08:29:57 +0200
Date: Sat, 4 Jun 2005 08:29:57 +0200
From: Michael Koch <konqueror@gmx.de>
To: Tom Dunstan <tomdcc@gmail.com>
Message-ID: <20050604062957.GE19537@asterix.konqueror.de>
Mail-Followup-To: Tom Dunstan <tomdcc@gmail.com>, classpath@gnu.org
References: <ca33c0a3050603083172e5c1ec@mail.gmail.com>
	<m3fyvzz5ki.fsf@localhost.localdomain>
	<ca33c0a3050603231714a3da66@mail.gmail.com>
	<ca33c0a30506032318543c2d7e@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ca33c0a30506032318543c2d7e@mail.gmail.com>
User-Agent: mutt-ng 1.5.9-r292i (Debian)
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: java.text.MessageFormat parsing
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 07:34:22 -0000

On Sat, Jun 04, 2005 at 03:48:54PM +0930, Tom Dunstan wrote:
> > I will handle this one for you.  Thanks for the test case.
> > Could you file a bug report to go along with it?
> 
> Sure, but, uh, where? There was some discussion a while ago about
> merging the classpath and libgcj bug systems, but the savannah
> classpath bug system is still going strong and I can't see any
> classpath project in the gcc bugzilla. I suppose it's safe to assume
> that the merge either hasn't happened yet or that some other path was
> taken. Into which bug system should bugs go?

It doesn't matter. The move will be done sooner or later. There are
just some time issues.


Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/



From MAILER-DAEMON Sat Jun 04 11:03:47 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeaBf-0002td-Lo
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 11:03:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1De7kV-00007F-9d
	for classpath@gnu.org; Fri, 03 Jun 2005 04:41:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1De7kR-00006V-V8
	for classpath@gnu.org; Fri, 03 Jun 2005 04:41:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1De7kQ-000068-2C
	for classpath@gnu.org; Fri, 03 Jun 2005 04:41:46 -0400
Received: from [213.9.79.54] (helo=box7954) by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1De7kA-0004tc-4e
	for classpath@gnu.org; Fri, 03 Jun 2005 04:41:30 -0400
Received: from roman by box7954 with local (Exim 3.35 #1 (Debian))
	id 1De7go-0000C9-00
	for <classpath@gnu.org>; Fri, 03 Jun 2005 10:38:02 +0200
Date: Fri, 3 Jun 2005 10:38:02 +0200
To: classpath@gnu.org
Message-ID: <20050603083802.GA743@box7954.elkhouse.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=unknown-8bit
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.3.28i
From: Roman Kennke <roman@box7954.elkhouse.de>
X-Mailman-Approved-At: Sat, 04 Jun 2005 11:03:45 -0400
Subject: Fwd: GCJ and CORBA
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jun 2005 08:41:56 -0000

I forward this message that I sent to java@gcc.gnu.org to classpath@gnu.org.

Hi,

I try to compile GNU Classpath with GCJ (3.4 and 4.0) and stumble over
the following oddity (actually hundreds of them):

../gnu/java/rmi/RMIMarshalledObjectOutputStream.java:52: Fehler: Class
»gnu.java.rmi.RMIMarshalledObjectOutputStream« doesn't define the abstract method »void
org.omg.CORBA.portable.OutputStream.write_wstring(java.lang.String)« from class
»org.omg.CORBA.portable.OutputStream«. This method must be defined or class
»gnu.java.rmi.RMIMarshalledObjectOutputStream« must be declared abstract.
   public class RMIMarshalledObjectOutputStream extends RMIObjectOutputStream

It looks like GCJ is confusing java.io.OutputStream (that is what
gnu.java.rmi.RMIMarshalledObjectOutputStream is derived from) with org.omg.CORBA.portable.OutputStream.
How is that possible? The code looks correct to me, and jikes seems to have no problem with it. Even if I
fully qualify all ObjectOutputStream references it fails. This is very odd.

I have the following proposals how to handle this:

1. don't import CORBA stuff in the GCJ tree until GCJ is fixed for these issues and add a configure option
in GNU Classpath --without-corba for those (like me) who would like to use GCJ for compiling Classpath.

or

2. implement a workaround (oh no, not another one! ;-) ) for GCJs bugs. In this case I would think
temporarily renaming the CORBA ObjectOutputStream (and other affected clash-names) would do. This is of
course very ugly, against the specs and whatnot.


Any other suggestions?

/Roman


----- End forwarded message -----



From MAILER-DAEMON Sat Jun 04 13:30:32 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DecTe-000843-Ge
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 13:30:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DecTb-00082M-47
	for classpath@gnu.org; Sat, 04 Jun 2005 13:30:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DecTX-0007zR-Jk
	for classpath@gnu.org; Sat, 04 Jun 2005 13:30:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DecTX-0007yl-7q
	for classpath@gnu.org; Sat, 04 Jun 2005 13:30:23 -0400
Received: from [195.186.19.64] (helo=mail18.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DecSe-00066H-41
	for classpath@gnu.org; Sat, 04 Jun 2005 13:29:28 -0400
Received: from Federspitz (83.77.209.23) by mail18.bluewin.ch (Bluewin
	7.2.060.1) id 429D7515000442DB for classpath@gnu.org;
	Sat, 4 Jun 2005 17:26:20 +0000
Message-ID: <000a01c5692a$83544c90$2101a8c0@Federspitz>
From: "Meskauskas Audrius" <audriusa@bluewin.ch>
To: <classpath@gnu.org>
Date: Sat, 4 Jun 2005 19:26:16 +0200
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Subject: Re: Fwd: GCJ and CORBA
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Meskauskas Audrius <audriusa@bluewin.ch>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 17:30:28 -0000

The more I think, the less ideas I have.

The renaming operation will touch a large number of classes, as these 
streams
are really frequently used. Then probably it is better to create a separate
CORBA branch for GCJ where we could release the renamed code time
to time. Of course, having and maintaining such branches consumes a lot of 
work.

In addition, after renaming it will not be possible to use any
existing IDL to java compiler, as the code, generated by such compilers,
always refer these classes. We have no our own IDL compiler at
the moment and need to use various others.

That should really think is the GCJ development team. I hope, they
plan to fix that bug in near future? If yes, we can just temporary remove
CORBA and also some parts of Swing from the GCJ tree and wait.

Audrius.







From MAILER-DAEMON Sat Jun 04 13:58:50 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Decv4-0006Y4-7h
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 13:58:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Decv0-0006Ws-Lp
	for classpath@gnu.org; Sat, 04 Jun 2005 13:58:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Decuv-0006Tq-Gx
	for classpath@gnu.org; Sat, 04 Jun 2005 13:58:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Decuu-0006T1-6M
	for classpath@gnu.org; Sat, 04 Jun 2005 13:58:40 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Decst-0007dT-V6
	for classpath@gnu.org; Sat, 04 Jun 2005 13:56:36 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j54Hrkp5011021
	for <classpath@gnu.org>; Sat, 4 Jun 2005 13:53:46 -0400
Received: from opsy.redhat.com (vpn50-42.rdu.redhat.com [172.16.50.42])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j54HrkO06055; 
	Sat, 4 Jun 2005 13:53:46 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 7F92F2DD45E; Sat,  4 Jun 2005 11:49:52 -0600 (MDT)
Sender: tromey@redhat.com
To: GNU Classpath Project <classpath@gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 04 Jun 2005 11:49:51 -0600
Message-ID: <m3fyvyxb9c.fsf@localhost.localdomain>
Lines: 2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Swing question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 17:58:47 -0000


Tom



From MAILER-DAEMON Sat Jun 04 14:06:05 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ded23-000872-Ey
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 14:06:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Ded1r-00081I-U9
	for classpath@gnu.org; Sat, 04 Jun 2005 14:05:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Ded1h-0007wG-CG
	for classpath@gnu.org; Sat, 04 Jun 2005 14:05:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ded1g-0007tV-C4
	for classpath@gnu.org; Sat, 04 Jun 2005 14:05:40 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DeczC-000802-0a
	for classpath@gnu.org; Sat, 04 Jun 2005 14:03:06 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j54I0GdL012110
	for <classpath@gnu.org>; Sat, 4 Jun 2005 14:00:16 -0400
Received: from opsy.redhat.com (vpn50-42.rdu.redhat.com [172.16.50.42])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j54I0GO06926; 
	Sat, 4 Jun 2005 14:00:16 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 507782DD45E; Sat,  4 Jun 2005 11:56:22 -0600 (MDT)
Sender: tromey@redhat.com
To: GNU Classpath Project <classpath@gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 04 Jun 2005 11:56:22 -0600
Message-ID: <m3br6mxayh.fsf@localhost.localdomain>
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Swing question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 18:05:57 -0000

Sorry, my fingers slipped and that last message went out early...


I was looking through the JAPI results for Swing and came across this
oddity:

class javax.swing.plaf.basic.BasicInternalFrameTitlePane.TitlePaneLayout: public in jdk14, but protected in classpath


Suns' javadoc says this:

    This inner class is marked "public" due to a compiler bug. This class
    should be treated as a "protected" inner class.

So, what should we do?

For source compatibility we ought to mark these classes public and add
an @specnote to the javadoc.

Another idea would be to mark this protected and try to get users, if
there are any, to change their code if they run into this problem.
I'm less inclined to go this route as it is not really compatible.

IMO whatever we decide requires documentation in the source.

Comments?

Tom



From MAILER-DAEMON Sat Jun 04 15:17:41 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dee9M-0001zy-L2
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 15:17:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dee92-0001mk-0U
	for classpath@gnu.org; Sat, 04 Jun 2005 15:17:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dee8s-0001hq-Gg
	for classpath@gnu.org; Sat, 04 Jun 2005 15:17:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dee8r-0001cL-Rw
	for classpath@gnu.org; Sat, 04 Jun 2005 15:17:09 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dee4K-0003l0-GA
	for classpath@gnu.org; Sat, 04 Jun 2005 15:12:28 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j54J9b15022353;
	Sat, 4 Jun 2005 15:09:37 -0400
Received: from opsy.redhat.com (vpn50-42.rdu.redhat.com [172.16.50.42])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j54J9aO14579; 
	Sat, 4 Jun 2005 15:09:36 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 843C22DD45E; Sat,  4 Jun 2005 13:05:42 -0600 (MDT)
Sender: tromey@redhat.com
To: Meskauskas Audrius <audriusa@bluewin.ch>
References: <000a01c5692a$83544c90$2101a8c0@Federspitz>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 04 Jun 2005 13:05:42 -0600
In-Reply-To: <000a01c5692a$83544c90$2101a8c0@Federspitz>
Message-ID: <m33bryx7qx.fsf@localhost.localdomain>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Fwd: GCJ and CORBA
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 19:17:23 -0000

>>>>> "Audrius" == Meskauskas Audrius <audriusa@bluewin.ch> writes:

Audrius> That should really think is the GCJ development team. I hope,
Audrius> they plan to fix that bug in near future? If yes, we can just
Audrius> temporary remove CORBA and also some parts of Swing from the
Audrius> GCJ tree and wait.

Yeah, we need to fix this.  That is the best approach.  Whether it
will make it to the top of anyone's list in the very near future is
hard to say; there are some higher priority bugs at the moment.

Tom



From MAILER-DAEMON Sat Jun 04 15:17:41 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dee9N-00020R-DQ
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 15:17:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dee93-0001oS-36
	for classpath@gnu.org; Sat, 04 Jun 2005 15:17:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dee8v-0001iP-Oy
	for classpath@gnu.org; Sat, 04 Jun 2005 15:17:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dee8s-0001cL-OK
	for classpath@gnu.org; Sat, 04 Jun 2005 15:17:10 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dee3I-0003iT-2i
	for classpath@gnu.org; Sat, 04 Jun 2005 15:11:24 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j54J8SAT022131
	for <classpath@gnu.org>; Sat, 4 Jun 2005 15:08:28 -0400
Received: from opsy.redhat.com (vpn50-42.rdu.redhat.com [172.16.50.42])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j54J8SO14383; 
	Sat, 4 Jun 2005 15:08:28 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 175DA2DD45E; Sat,  4 Jun 2005 13:04:33 -0600 (MDT)
Sender: tromey@redhat.com
To: GNU Classpath Project <classpath@gnu.org>
References: <m3br6mxayh.fsf@localhost.localdomain>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 04 Jun 2005 13:04:33 -0600
In-Reply-To: <m3br6mxayh.fsf@localhost.localdomain>
Message-ID: <m37jhax7su.fsf@localhost.localdomain>
Lines: 8
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Re: Swing question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 19:17:23 -0000

Tom> For source compatibility we ought to mark these classes public and add
Tom> an @specnote to the javadoc.

On second thought I think this is definitely what we should do, and I
notice that it is in fact what we already do in some situations.  So,
I am going to check in a fix.

Tom



From MAILER-DAEMON Sat Jun 04 15:17:44 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dee9Q-00022W-8y
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 15:17:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dee97-0001rP-Hh
	for classpath@gnu.org; Sat, 04 Jun 2005 15:17:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dee94-0001ow-Ex
	for classpath@gnu.org; Sat, 04 Jun 2005 15:17:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dee92-0001cL-Sv
	for classpath@gnu.org; Sat, 04 Jun 2005 15:17:20 -0400
Received: from [66.33.198.201] (helo=jareth.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DedxW-0003TQ-TE
	for classpath@gnu.org; Sat, 04 Jun 2005 15:05:27 -0400
Received: from [192.168.0.100] (dsl2-63-249-108-128.cruzio.com
	[63.249.108.128])
	by jareth.dreamhost.com (Postfix) with ESMTP id 2A5616B632
	for <classpath@gnu.org>; Sat,  4 Jun 2005 12:02:37 -0700 (PDT)
Message-ID: <42A1FACC.2050203@gnu.org>
Date: Sat, 04 Jun 2005 12:02:36 -0700
From: Casey Marshall <csm@gnu.org>
User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: RFC: Jessie, enums, and loggers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 19:17:27 -0000

Hi,

I've started work on bringing Classpath's JSSE API (javax.net[.ssl]) up
to 1.5-level coverage, and the natural snag in doing this in mainline is
that it uses new language features -- two enums. It's easy enough to
write these two classes as pseudo-enums, but I was curious if there was
enough interest in making a PseudoEnum class that can be used by other
parts of the API. I'm not sure, but I think it should be possible to
make a mostly-binary-compatible enum class for pre-1.5 Java, but
wouldn't mind some advice if someone is more familiar with this.

I'm looking into making a patch for Classpath that merges Jessie. It is
not ready yet (IMO) to go in now, because it has direct dependencies on
GNU Crypto, which should be changed to only depend on the standard API.
Of course, if people are amenable to this, we could merge Jessie as-is
right now, and then do this work in Classpath CVS.

Lastly, I'd like to propose a standard mechanism for debug messages in
Classpath, using java.util.logging. The idea is to have
*component-level* logging, where log messages can be emitted not only by
the integer level (INFO, WARNING) but also on whether or not that exact
log level is enabled or not.

	- A global logger for Classpath, which all code should use for
	  debug messages.
	- A subclass of Level that has integer level 'FINE', with
	  specific component instances for components of Classpath,
	  such as 'AWT', 'SECURITY', etc.
	- An implementation of Filter, with a static singleton, that
	  maintains a Set of Classpath log levels -- which can be
	  changed at run-time -- and only allows logging if a
	  particular log level is in that set.

The idea here being that you can tune the filter to log a subset of
Classpath functionality (say, something like SECURITY|CRYPTO|JESSIE, if
I was debugging Jessie). This is, again, something I'm going to do
anyway in the context of Jessie, but wanted to know if there was general
interest in this.

Cheers,



From MAILER-DAEMON Sat Jun 04 15:39:50 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeeUn-0007Tl-SS
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 15:39:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeeUk-0007Rt-Ey
	for classpath@gnu.org; Sat, 04 Jun 2005 15:39:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeeUf-0007OA-Od
	for classpath@gnu.org; Sat, 04 Jun 2005 15:39:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeeUf-0007LN-Ja
	for classpath@gnu.org; Sat, 04 Jun 2005 15:39:41 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeeOs-000575-Cn
	for classpath@gnu.org; Sat, 04 Jun 2005 15:33:42 -0400
Received: from zander by namlook.thomas.planescape.com with local (Exim 3.35
	#1 (Debian)) id 1DeeLa-0006Ed-00; Sat, 04 Jun 2005 21:30:18 +0200
Date: Sat, 4 Jun 2005 21:30:18 +0200
To: Tom Tromey <tromey@redhat.com>
Message-ID: <20050604193018.GA23963@planescape.com>
References: <m3br6mxayh.fsf@localhost.localdomain>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp"
Content-Disposition: inline
In-Reply-To: <m3br6mxayh.fsf@localhost.localdomain>
From: Thomas Zander <zander@kde.org>
Cc: GNU Classpath Project <classpath@gnu.org>
Subject: Re: Swing question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 19:39:48 -0000


--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 04, 2005 at 11:56:22AM -0600, Tom Tromey wrote:
> Sorry, my fingers slipped and that last message went out early...
>=20
>=20
> I was looking through the JAPI results for Swing and came across this
> oddity:
>=20
> class javax.swing.plaf.basic.BasicInternalFrameTitlePane.TitlePaneLayout:=
 public in jdk14, but protected in classpath
>=20
>=20
> Suns' javadoc says this:
>=20
>     This inner class is marked "public" due to a compiler bug. This class
>     should be treated as a "protected" inner class.
>=20
> So, what should we do?

I'd suggest protected for the same reason we don't implement the com.sun.*
classes;  they are not in the official API.

--=20
Thomas Zander

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQFCogFKCojCW6H2z/QRAoWEAKDv4iVg+Phl4pC470cE4qsWCDng9gCfceSq
n/6L6vuDLR5pYW7WoCgok10=
=omuW
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



From MAILER-DAEMON Sat Jun 04 15:39:52 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeeUp-0007VZ-MD
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 15:39:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeeUk-0007Rv-K0
	for classpath@gnu.org; Sat, 04 Jun 2005 15:39:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeeUf-0007Mq-49
	for classpath@gnu.org; Sat, 04 Jun 2005 15:39:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeeUe-0007LN-BZ
	for classpath@gnu.org; Sat, 04 Jun 2005 15:39:40 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DeeRF-0005C1-4T
	for classpath@gnu.org; Sat, 04 Jun 2005 15:36:09 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j54JXJK5026031;
	Sat, 4 Jun 2005 15:33:19 -0400
Received: from opsy.redhat.com (vpn50-42.rdu.redhat.com [172.16.50.42])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j54JXDO17689; 
	Sat, 4 Jun 2005 15:33:13 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 7352C2DD45E; Sat,  4 Jun 2005 13:29:19 -0600 (MDT)
Sender: tromey@redhat.com
To: Thomas Zander <zander@kde.org>
References: <m3br6mxayh.fsf@localhost.localdomain>
	<20050604193018.GA23963@planescape.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 04 Jun 2005 13:29:19 -0600
In-Reply-To: <20050604193018.GA23963@planescape.com>
Message-ID: <m3u0kdx6nk.fsf@localhost.localdomain>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath Project <classpath@gnu.org>
Subject: Re: Swing question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 19:39:48 -0000

>>>>> "Thomas" == Thomas Zander <zander@kde.org> writes:

>> This inner class is marked "public" due to a compiler bug. This class
>> should be treated as a "protected" inner class.

Thomas> I'd suggest protected for the same reason we don't implement
Thomas> the com.sun.* classes; they are not in the official API.

Actually they are documented, and we already have some of them marked
public.  So I went ahead and changed them all over to public and
documented it everywhere I could find.

Tom



From MAILER-DAEMON Sat Jun 04 15:46:49 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DeebY-0000p2-B0
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 15:46:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeebV-0000nb-Ru
	for classpath@gnu.org; Sat, 04 Jun 2005 15:46:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeebS-0000mP-Uf
	for classpath@gnu.org; Sat, 04 Jun 2005 15:46:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeebR-0000hj-Ba
	for classpath@gnu.org; Sat, 04 Jun 2005 15:46:41 -0400
Received: from [207.71.226.182] (helo=ns1.religionsucks.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeeWK-0005Qu-Mp
	for classpath@gnu.org; Sat, 04 Jun 2005 15:41:25 -0400
Received: from localhost (IDENT:matt@localhost.localdomain [127.0.0.1])
	by ns1.religionsucks.com (8.11.6/8.11.6) with ESMTP id j54Jc5v20945
	for <classpath@gnu.org>; Sat, 4 Jun 2005 12:38:05 -0700
Date: Sat, 4 Jun 2005 12:38:05 -0700 (PDT)
From: Matt Van Gundy <matt@shekinahstudios.com>
X-X-Sender: matt@ns1.religionsucks.com
To: classpath@gnu.org
Message-ID: <Pine.LNX.4.44.0506041222550.15011-100000@ns1.religionsucks.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: Does J2SDK 5.0 BCL preclude contributions to Classpath?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 19:46:47 -0000

Classpath developers,

In an attempt to upgrade my the JVM on my development box to Sun's latest
release I was perusing the new version of the BCL and noticed that the
"Java Technology Restrictions" section had changed from previous BCLs.  
I quote it for reference:

> D. Java Technology Restrictions.  You may not create, 
> modify, or change the behavior of, or authorize your 
> licensees to create, modify, or change the behavior of, 
> classes, interfaces, or subpackages that are in any way 
> identified as "java", "javax", "sun" or similar convention 
> as specified by Sun in any naming convention designation.

Previous versions of the license that I have accepted prohibited creating 
additions to the java, javax, and swing namespaces which I have always 
interpreted as, we are not allowed to change the behavior of the standard 
API.  However, it appears that the current license is trying to restrict 
the ability to create any class so named.

My burning question is, does acceptance of this license effectively 
preclude a developer from participating in cleanroom efforts such as 
Classpath?  Or, am I missing something?  I searched your website, as well 
of that of Kaffe and Blackdown for commentary and failed to find anything 
that appeared to be relevant.

Thanks for your time,
Matt Van Gundy





From MAILER-DAEMON Sat Jun 04 16:27:24 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DefEp-0001zx-B0
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 16:27:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DefEk-0001xA-PY
	for classpath@gnu.org; Sat, 04 Jun 2005 16:27:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DefEf-0001tq-5W
	for classpath@gnu.org; Sat, 04 Jun 2005 16:27:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DefEf-0001tV-2i
	for classpath@gnu.org; Sat, 04 Jun 2005 16:27:13 -0400
Received: from [217.12.12.199] (helo=smtp809.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DefET-0007en-Fg
	for classpath@gnu.org; Sat, 04 Jun 2005 16:27:01 -0400
Received: (qmail 50025 invoked from network); 4 Jun 2005 20:24:10 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp809.mail.ukl.yahoo.com with SMTP; 4 Jun 2005 20:24:10 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1DefBU-0008JH-C0
	for classpath@gnu.org; Sat, 04 Jun 2005 21:23:56 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <42A1FACC.2050203@gnu.org>
References: <42A1FACC.2050203@gnu.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-0WWFGEaU92yv7pRbbWXe"
Date: Sat, 04 Jun 2005 21:24:08 +0100
Message-Id: <1117916649.27752.31.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: Re: RFC: Jessie, enums, and loggers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 20:27:21 -0000


--=-0WWFGEaU92yv7pRbbWXe
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2005-06-04 at 12:02 -0700, Casey Marshall wrote:
> Hi,
>=20
> I've started work on bringing Classpath's JSSE API (javax.net[.ssl]) up
> to 1.5-level coverage, and the natural snag in doing this in mainline is
> that it uses new language features -- two enums. It's easy enough to
> write these two classes as pseudo-enums, but I was curious if there was
> enough interest in making a PseudoEnum class that can be used by other
> parts of the API. I'm not sure, but I think it should be possible to
> make a mostly-binary-compatible enum class for pre-1.5 Java, but
> wouldn't mind some advice if someone is more familiar with this.
>=20

There is already working enum support (with a suitable compiler)
available on the generics branch of Classpath.  Thus, the general
consensus on 1.5 extensions that need 1.5 language features (generics,
annotations and enums primarily -- the rest are syntactic shortcuts) is
to add this code to the generics branch.  I've recently been using this
as my primary development environment (ecj+jamvm 1.3+classpath-generics)
and haven't experienced any major problems.  We can't add enums to HEAD
until there is more widespread support, primarily in the compiler realm
(VM support is largely reflection-based; the binaries are compatible
with the new data being stored in optional sections).

I can see your reasoning for a pseudo-enum class but I would only think
it necessary to add something to HEAD if it really can't work on the
generics branch.  The two are relatively in sync (just about to do
another merge of the two).  However, if there is a consensus that we
should have such support, may I suggest that you don't write a new
class, but instead simply drop the parametric typing from the one on the
generics branch and merge this across.   This keeps the two fairly in
sync, and means that we can just merge the two files when the time
comes.  As a binary, the compiled version works fine with a VM that only
supports 1.4 (I've used an older version of JamVM with enums simply by
adding the class onto the classpath with a HEAD build).

> I'm looking into making a patch for Classpath that merges Jessie. It is
> not ready yet (IMO) to go in now, because it has direct dependencies on
> GNU Crypto, which should be changed to only depend on the standard API.
> Of course, if people are amenable to this, we could merge Jessie as-is
> right now, and then do this work in Classpath CVS.
>=20
> Lastly, I'd like to propose a standard mechanism for debug messages in
> Classpath, using java.util.logging. The idea is to have
> *component-level* logging, where log messages can be emitted not only by
> the integer level (INFO, WARNING) but also on whether or not that exact
> log level is enabled or not.
>=20
> 	- A global logger for Classpath, which all code should use for
> 	  debug messages.
> 	- A subclass of Level that has integer level 'FINE', with
> 	  specific component instances for components of Classpath,
> 	  such as 'AWT', 'SECURITY', etc.
> 	- An implementation of Filter, with a static singleton, that
> 	  maintains a Set of Classpath log levels -- which can be
> 	  changed at run-time -- and only allows logging if a
> 	  particular log level is in that set.
>=20
> The idea here being that you can tune the filter to log a subset of
> Classpath functionality (say, something like SECURITY|CRYPTO|JESSIE, if
> I was debugging Jessie). This is, again, something I'm going to do
> anyway in the context of Jessie, but wanted to know if there was general
> interest in this.
>=20

These both sound good, particularly the logging idea.  FWIW, I've found
the logging framework very useful in my own code.

> Cheers,
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
>=20
Cheers,
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-0WWFGEaU92yv7pRbbWXe
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCog3o+WQ2ITV9UU0RAhmKAJ4kHCKO0ZvA+tjl15LG8uRB2r2/bgCgjKv1
J7A+sDAIavr6BNUhgsxT1fA=
=4JUk
-----END PGP SIGNATURE-----

--=-0WWFGEaU92yv7pRbbWXe--




From MAILER-DAEMON Sat Jun 04 17:03:55 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DefoB-0002Bo-2p
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 17:03:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Defo7-00029k-Ji
	for classpath@gnu.org; Sat, 04 Jun 2005 17:03:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Defo4-00028N-HQ
	for classpath@gnu.org; Sat, 04 Jun 2005 17:03:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Defo4-00027o-61
	for classpath@gnu.org; Sat, 04 Jun 2005 17:03:48 -0400
Received: from [130.237.93.228] (helo=smtp3.su.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Defn6-00017L-1i
	for classpath@gnu.org; Sat, 04 Jun 2005 17:02:48 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp3.su.se (Postfix) with ESMTP id 01BDB37EF9
	for <classpath@gnu.org>; Sat,  4 Jun 2005 22:59:55 +0200 (CEST)
Received: from smtp3.su.se ([127.0.0.1])
	by localhost (smtp3.su.se [127.0.0.1]) (amavisd-new,
	port 10024) with LMTP id 29368-03 for <classpath@gnu.org>;
	Sat,  4 Jun 2005 22:59:54 +0200 (CEST)
Received: from mail2.physto.se (syslx11.physto.se [130.237.208.17])
	by smtp3.su.se (Postfix) with ESMTP id 0F0B437E54
	for <classpath@gnu.org>; Sat,  4 Jun 2005 22:59:53 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by mail2.physto.se (Postfix) with ESMTP id CCDCC2822A
	for <classpath@gnu.org>; Sat,  4 Jun 2005 22:59:53 +0200 (CEST)
Received: from mail2.physto.se ([127.0.0.1])
	by localhost (syslx11.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 03423-07 for <classpath@gnu.org>;
	Sat,  4 Jun 2005 22:59:53 +0200 (CEST)
Received: from qcplx01.physto.se (qcplx01.physto.se [130.242.128.121])
	by mail2.physto.se (Postfix) with ESMTP id 7941E28229
	for <classpath@gnu.org>; Sat,  4 Jun 2005 22:59:53 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: classpath@gnu.org
In-Reply-To: <20050604175650.397E834005@mx1.su.se>
References: <20050604175650.397E834005@mx1.su.se>
Content-Type: text/plain
Date: Sat, 04 Jun 2005 22:59:53 +0200
Message-Id: <1117918793.3600.6.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.3 (2.0.3-0.mozer.1) 
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at physto.se
X-Virus-Scanned: by amavisd-new at smtp.su.se
Subject: Re: Swing question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 21:03:53 -0000

On Sat, 04 Jun 2005 11:49:51 -0600, Tom Tromey wrote:
>
> Tom
> 

Yes. I agree wholeheartedly.

/Sven




From MAILER-DAEMON Sat Jun 04 18:41:40 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DehKj-00067j-RQ
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 18:41:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DehKg-00066C-D0
	for classpath@gnu.org; Sat, 04 Jun 2005 18:41:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DehKd-00064f-5r
	for classpath@gnu.org; Sat, 04 Jun 2005 18:41:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DehKd-000645-2Z
	for classpath@gnu.org; Sat, 04 Jun 2005 18:41:31 -0400
Received: from [66.33.193.58] (helo=toby.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DehI0-0006Od-Da
	for classpath@gnu.org; Sat, 04 Jun 2005 18:38:48 -0400
Received: from [192.168.0.100] (dsl2-63-249-108-128.cruzio.com
	[63.249.108.128]) by toby.dreamhost.com (Postfix) with ESMTP
	id E774612DA10; Sat,  4 Jun 2005 15:35:55 -0700 (PDT)
Message-ID: <42A22CBF.8050902@gnu.org>
Date: Sat, 04 Jun 2005 15:35:43 -0700
From: Casey Marshall <csm@gnu.org>
User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: gnu_andrew@member.fsf.org
References: <42A1FACC.2050203@gnu.org> <1117916649.27752.31.camel@rivendell>
In-Reply-To: <1117916649.27752.31.camel@rivendell>
X-Enigmail-Version: 0.91.0.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig7DD2B2DC2D29D4E98B808F1D"
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: RFC: Jessie, enums, and loggers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jun 2005 22:41:35 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7DD2B2DC2D29D4E98B808F1D
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Andrew John Hughes wrote:
> On Sat, 2005-06-04 at 12:02 -0700, Casey Marshall wrote:
>
>>Hi,
>>
>>I've started work on bringing Classpath's JSSE API (javax.net[.ssl]) up
>>to 1.5-level coverage, and the natural snag in doing this in mainline is
>>that it uses new language features -- two enums. It's easy enough to
>>write these two classes as pseudo-enums, but I was curious if there was
>>enough interest in making a PseudoEnum class that can be used by other
>>parts of the API. I'm not sure, but I think it should be possible to
>>make a mostly-binary-compatible enum class for pre-1.5 Java, but
>>wouldn't mind some advice if someone is more familiar with this.
>>
>
>
> There is already working enum support (with a suitable compiler)
> available on the generics branch of Classpath.  Thus, the general
> consensus on 1.5 extensions that need 1.5 language features (generics,
> annotations and enums primarily -- the rest are syntactic shortcuts) is
> to add this code to the generics branch.  I've recently been using this
> as my primary development environment (ecj+jamvm 1.3+classpath-generics)
> and haven't experienced any major problems.  We can't add enums to HEAD
> until there is more widespread support, primarily in the compiler realm
> (VM support is largely reflection-based; the binaries are compatible
> with the new data being stored in optional sections).
>
> I can see your reasoning for a pseudo-enum class but I would only think
> it necessary to add something to HEAD if it really can't work on the
> generics branch.  The two are relatively in sync (just about to do
> another merge of the two).  However, if there is a consensus that we
> should have such support, may I suggest that you don't write a new
> class, but instead simply drop the parametric typing from the one on the
> generics branch and merge this across.   This keeps the two fairly in
> sync, and means that we can just merge the two files when the time
> comes.  As a binary, the compiled version works fine with a VM that only
> supports 1.4 (I've used an older version of JamVM with enums simply by
> adding the class onto the classpath with a HEAD build).
>

My motivation is that I want to implement SSLEngine, the 1.5 NIO API, in
Jessie and rewrite the SSLSocket implementation using that class. It
wouldn't make much sense to have two implementations, one for
non-blocking IO, one for blocking, and, naturally, I want Jessie to
remain compatible with existing free compilers.

--------------enig7DD2B2DC2D29D4E98B808F1D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQqIsy5qYd+kJ2iAwAQICnBAArutnQxKWflZuRW5aR22yHMYgLTyQp7+m
gwBPHvZ6G4MrwliJK8K0fOxginGHpV+hP0gUMwrt8GrN6T69+VPruRNQa0mP9v5K
n4HCz0C0QIYD7UdI9yuKRZYtjgawgKbp+Ta+/rFlim5L7ouU4LcwEot3f8J+XvSB
It4E7E6Fs5+amNfu0F45COur/Qz2Dzyl7KjuQfCuKlJIFpvc4QZFAhxWydIuf2Ue
SAZqVE2vVwzkbsXA3G6v4/jiE6wwhQQcjfup8x9Zm4Hu5M5BjtM9i6TNIAU7sClA
hqSyXPtEodzyzSdALb9Ekp0BMuyeJ89tCRpu0le9ZnypmHNt1Fx1hqLs7PFWWIWE
t+vRE/aXWoP5apwFCZqimfqBre4iUIWQkG98qslpq7UhVQTHPqZIhkBw41mb6dEb
mdfppGXjMkWG/mo5kNCQ2fr4mYVS+pIZ1IBfWI2fk3T9T4rDVWXEOSuJNiCWfDTe
3cOUF8ku9l1TaneX24vISDWg1If0b1IWe+tCyMacrcaLA++n2acYSsWL+PJ6vYf6
HNKPptvbL0d3MOh+D+b1WiLG95En+bPdZg27lv/xZoLQj3kE6l0vYpFHmoMtYm27
8dFoXwNGXFnFGwJEi9Q4oAy/pNFov/6LNVpifPOxLP56taq119a/q1ULLditiFfg
QItnUXa0uB4=
=rl1l
-----END PGP SIGNATURE-----

--------------enig7DD2B2DC2D29D4E98B808F1D--



From MAILER-DAEMON Sat Jun 04 20:14:33 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Deimd-0006xj-Ve
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 20:14:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DeimF-0006oi-RI
	for classpath@gnu.org; Sat, 04 Jun 2005 20:14:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DeimB-0006l8-Iy
	for classpath@gnu.org; Sat, 04 Jun 2005 20:14:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DeimB-0006j1-87
	for classpath@gnu.org; Sat, 04 Jun 2005 20:14:03 -0400
Received: from [193.189.160.40] (helo=mta1.siol.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Deieq-00016R-TZ
	for classpath@gnu.org; Sat, 04 Jun 2005 20:06:29 -0400
Received: from edge1.siol.net ([10.10.10.210]) by mta1.siol.net with ESMTP
	id <20050605000332.AUM9234.mta1.siol.net@edge1.siol.net>;
	Sun, 5 Jun 2005 02:03:32 +0200
Received: from [192.168.0.6] (really [193.77.159.2]) by edge1.siol.net
	with ESMTP id <20050605000332.CJBY7478.edge1.siol.net@[192.168.0.6]>;
	Sun, 5 Jun 2005 02:03:32 +0200
From: Ziga Mahkovec <ziga.mahkovec@klika.si>
To: tromey@redhat.com
In-Reply-To: <1117631477.5645.35.camel@localhost>
References: <1116349733.4756.36.camel@localhost.localdomain>
	<m3br78mqnh.fsf@localhost.localdomain>
	<1116515805.5102.132.camel@localhost>
	<m364wyhnc0.fsf@localhost.localdomain>
	<1117631477.5645.35.camel@localhost>
Content-Type: text/plain
Date: Sun, 05 Jun 2005 02:03:29 +0200
Message-Id: <1117929809.5172.35.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 (2.0.4-5) 
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Classpath regexp code
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 00:14:15 -0000

On Wed, 2005-06-01 at 15:11 +0200, Ziga Mahkovec wrote:
> On Tue, 2005-05-31 at 19:34 -0600, Tom Tromey wrote:
> > I think we should consider using jregex even without an assignment.
> > Unless somebody wants to drastically speed up gnu regex, that is.
> 
> Well, I started looking into these performance problems, but I'm not
> sure yet if there's any low hanging fruit here.
> 
> Anthony already showed that lots of time is spent running clone() and
> garbage collection.  The culprit here is
> gnu.regexp.RETokenRepeated.match(), which is used for matching a*, a?, a
> + and a{n,m} tokens.  In the worst case, it clones two
> gnu.regexp.REMatch instances for *each* token of the input string.
> REMatch contains two integer arrays (also cloned) and other fields as
> well, so this is a killer for performance.
> 
> I'll be able to spend more time on this the coming weekend.

After spending some more time profiling gnu.regexp, I'd say that short
of a major rework, its performance can't be improved significantly.
Even by getting rid of the problematic clone() calls (which is only
possible for simple expressions without backtracking), it still didn't
get near jregex.

I found another analysis[1] of the library with similar conclusions.
The analysis also includes a patch, but that only seems to improve
things for Sun's JVM -- for jamvm, gij and gcj I found the copy-
constructor to be slower than cloning.

So I think integrating jregex would make sense.  Apart from being much
faster, it also passes a lot of the Mauve tests I had previously
disabled for gnu.regexp.  With a couple of patches I got jregex to pass
463/485 tests (gnu.regexp passes 367/485).

[1] http://lists.gnu.org/archive/html/gnu-regexp-users/2003-05/msg00000.html

-- 
Ziga




From MAILER-DAEMON Sat Jun 04 21:01:25 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DejVy-00081S-F7
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 21:01:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DejVw-0007zO-0m
	for classpath@gnu.org; Sat, 04 Jun 2005 21:01:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DejVt-0007yM-KZ
	for classpath@gnu.org; Sat, 04 Jun 2005 21:01:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DejVs-0007vy-O5
	for classpath@gnu.org; Sat, 04 Jun 2005 21:01:16 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DejQH-0003d6-MT
	for classpath@gnu.org; Sat, 04 Jun 2005 20:55:30 -0400
Received: (qmail invoked by alias); 05 Jun 2005 00:52:36 -0000
Received: from p213.54.198.62.tisdip.tiscali.de (EHLO [213.54.198.62])
	[213.54.198.62]
	by mail.gmx.net (mp023) with SMTP; 05 Jun 2005 02:52:36 +0200
X-Authenticated: #17532834
Message-ID: <42A24D48.7060902@gmx.net>
Date: Sun, 05 Jun 2005 02:54:32 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <20050603155652.832.52613@classpath-dev.wildebeest.org>
In-Reply-To: <20050603155652.832.52613@classpath-dev.wildebeest.org>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Subject: Corba & Licensing questions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 01:01:22 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I got the following diff in the mediation wiki:

mediation-wiki@developer.classpath.org wrote:
> Dear Wiki user,
> 
> You have subscribed to a wiki page or wiki category on "GNU Classpath Mediation Wiki" for change notification.
> 
> The following page has been changed by 81.243.117.12:
> http://developer.classpath.org/mediation/ClasspathCurrentTopics
> 
> ------------------------------------------------------------------------------
>   
> + Note: Why isn't the LGPL used for Classpath? Isn't the LGPL exactly the GPL+Linking Exception?
> + 
> + Note2: Why wasn't JacORB used as the Classpath ORB? To me it seems to be insane to start a full CORBA implementation from scratch, while there is a Free one available already... I'm not saying that it can't be done. Surely, it can be done, but you'll waste a lot of time testing code, tracking bugs in code and optimizing code, which was already Freely available for several years. Why are you reinventing the wheel? Especially, since JacORB is a good performing, advanced implementation, providing a lot of advanced features,interoperates with other ORBs and has proved its value in several projects.
> + 
>     * References:
>       * [http://www.omg.org/cgi-bin/doc?formal/04-03-12 The OMG CORBA specifications we currently use]
>       * [http://www.omg.org/gettingstarted/corbafaq.htm That is CORBA and that does it do.]


First: Please do not use the wiki for discussion, we have the mailing
list for that (Public archival is important).

Regarding Note(1):
AFAIK use of the LGPL for Classpath has complications for users who want
to use classpath in an embedded environment. More detailed discussion of
this topic can be found here: http://developer.classpath.org/licensing

Note2: It is our idea to use JacORB for Classpath and just implement
some common code. However I am no expert on CORBA and this may be wrong.
Audrius, could you please comment on this?

cu
Robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCok1IG9cfwmwwEtoRAmHVAJ9NBt18EwmI77+gHIS0a5qlVhVkTgCfR57a
jeU3poYTr4VKRQYSOn2v5rw=
=OKY5
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Jun 04 21:01:37 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DejWA-00085o-Em
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 21:01:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DejW4-000847-0b
	for classpath@gnu.org; Sat, 04 Jun 2005 21:01:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DejW0-00082W-DP
	for classpath@gnu.org; Sat, 04 Jun 2005 21:01:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DejVz-0007vy-Hp
	for classpath@gnu.org; Sat, 04 Jun 2005 21:01:23 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DejHS-0003K6-4y
	for classpath@gnu.org; Sat, 04 Jun 2005 20:46:22 -0400
Received: (qmail invoked by alias); 05 Jun 2005 00:43:18 -0000
Received: from p213.54.198.62.tisdip.tiscali.de (EHLO [213.54.198.62])
	[213.54.198.62]
	by mail.gmx.net (mp007) with SMTP; 05 Jun 2005 02:43:18 +0200
X-Authenticated: #17532834
Message-ID: <42A24B19.4000807@gmx.net>
Date: Sun, 05 Jun 2005 02:45:13 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: Matt Van Gundy <matt@shekinahstudios.com>, 
	GNU Classpath <classpath@gnu.org>
References: <Pine.LNX.4.44.0506041222550.15011-100000@ns1.religionsucks.com>
In-Reply-To: <Pine.LNX.4.44.0506041222550.15011-100000@ns1.religionsucks.com>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: 
Subject: Re: Does J2SDK 5.0 BCL preclude contributions to Classpath?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 01:01:29 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Matt,
have you seen this:
http://developer.classpath.org/mediation/ClasspathFirstSteps#head-9d8423acc71a1bd7817642969981efd5331078d0

Is that answering your question?

cu
Robert

Matt Van Gundy wrote:
> Classpath developers,
> 
> In an attempt to upgrade my the JVM on my development box to Sun's latest
> release I was perusing the new version of the BCL and noticed that the
> "Java Technology Restrictions" section had changed from previous BCLs.  
> I quote it for reference:
> 
> 
>>D. Java Technology Restrictions.  You may not create, 
>>modify, or change the behavior of, or authorize your 
>>licensees to create, modify, or change the behavior of, 
>>classes, interfaces, or subpackages that are in any way 
>>identified as "java", "javax", "sun" or similar convention 
>>as specified by Sun in any naming convention designation.
> 
> 
> Previous versions of the license that I have accepted prohibited creating 
> additions to the java, javax, and swing namespaces which I have always 
> interpreted as, we are not allowed to change the behavior of the standard 
> API.  However, it appears that the current license is trying to restrict 
> the ability to create any class so named.
> 
> My burning question is, does acceptance of this license effectively 
> preclude a developer from participating in cleanroom efforts such as 
> Classpath?  Or, am I missing something?  I searched your website, as well 
> of that of Kaffe and Blackdown for commentary and failed to find anything 
> that appeared to be relevant.
> 
> Thanks for your time,
> Matt Van Gundy
> 
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCoksZG9cfwmwwEtoRAvQUAKCHaLRu2I0Lo9ltaHomoBhMzqcA0ACfQD7J
fu1neOOSL+UhXvBVrudWDZs=
=MtGI
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Jun 04 23:13:37 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DelZx-0007mf-AP
	for mharc-classpath@gnu.org; Sat, 04 Jun 2005 23:13:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DelZt-0007lz-EJ
	for classpath@gnu.org; Sat, 04 Jun 2005 23:13:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DelZr-0007ku-Bw
	for classpath@gnu.org; Sat, 04 Jun 2005 23:13:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DelZr-0007kk-8t
	for classpath@gnu.org; Sat, 04 Jun 2005 23:13:31 -0400
Received: from [207.71.226.182] (helo=ns1.religionsucks.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DelZy-0000lF-AX
	for classpath@gnu.org; Sat, 04 Jun 2005 23:13:38 -0400
Received: from localhost (IDENT:matt@localhost.localdomain [127.0.0.1])
	by ns1.religionsucks.com (8.11.6/8.11.6) with ESMTP id j553A2v23329;
	Sat, 4 Jun 2005 20:10:02 -0700
Date: Sat, 4 Jun 2005 20:10:02 -0700 (PDT)
From: Matt Van Gundy <matt@shekinahstudios.com>
X-X-Sender: matt@ns1.religionsucks.com
To: Robert Schuster <theBohemian@gmx.net>
In-Reply-To: <42A24B19.4000807@gmx.net>
Message-ID: <Pine.LNX.4.44.0506041952090.15011-100000@ns1.religionsucks.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Does J2SDK 5.0 BCL preclude contributions to Classpath?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 03:13:35 -0000

Thanks for the pointer Robert,

It is a similar issue, however, the information you linked to didn't quite 
answer the question.  Because, my question concerns Sun's BCL rather than 
the SCSL, there is not issue of being tainted by having seen non-free 
source code.  I'm bothered by an item in the 5.0 BCL that says:

  "You may not create ... classes, interfaces, or subpackages that are in
  any way identified as 'java', 'javax', 'sun' or similar convention as
  specified by Sun in any naming convention designation."

Compare this to the verbiage from the 1.2 license:

  "[You] may not create ... __additional__ classes, interfaces, or 
  subpackages that are contained in the "java" or "sun" packages or 
  similar as  specified by Sun in any class file naming convention."
  (emphasis mine)

Unless I'm mistaken, it seems that the omission of the word "additional" 
could cause problems for 3rd party java class library implementations.  I 
don't know if it would be defensible in court, but I'd rather not agree to 
anything that might curtail my freedoms in what I may and may not 
implement later.  I tried googling for commentary and discussion on this, 
but so far, I've come up empty handed.

Thanks,
Matt

On Sun, 5 Jun 2005, Robert Schuster wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Matt,
> have you seen this:
> http://developer.classpath.org/mediation/ClasspathFirstSteps#head-9d8423acc71a1bd7817642969981efd5331078d0
> 
> Is that answering your question?
> 
> cu
> Robert
> 




From MAILER-DAEMON Sun Jun 05 05:40:23 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Derc6-0006CB-9D
	for mharc-classpath@gnu.org; Sun, 05 Jun 2005 05:40:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Derba-0005e4-9T
	for classpath@gnu.org; Sun, 05 Jun 2005 05:39:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DerXE-0004uY-KC
	for classpath@gnu.org; Sun, 05 Jun 2005 05:35:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DerX7-0004tK-Dz
	for classpath@gnu.org; Sun, 05 Jun 2005 05:35:07 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DerWj-0001M4-Hd
	for classpath@gnu.org; Sun, 05 Jun 2005 05:34:41 -0400
Received: from dumas.thomas.planescape.com ([10.0.0.2] ident=zander)
	by namlook.thomas.planescape.com with esmtp (Exim 3.35 #1 (Debian))
	id 1DerTj-0006pI-00
	for <classpath@gnu.org>; Sun, 05 Jun 2005 11:31:35 +0200
From: Thomas Zander <zander@kde.org>
To: classpath@gnu.org
Date: Sun, 5 Jun 2005 11:31:02 +0200
User-Agent: KMail/1.8.50
References: <Pine.LNX.4.44.0506041222550.15011-100000@ns1.religionsucks.com>
In-Reply-To: <Pine.LNX.4.44.0506041222550.15011-100000@ns1.religionsucks.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1198629.AJbC6WjUNn";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200506051131.08257.zander@kde.org>
Subject: Re: Does J2SDK 5.0 BCL preclude contributions to Classpath?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 09:40:01 -0000

--nextPart1198629.AJbC6WjUNn
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I read your paste as being unable to create _new_ classes not published in=
=20
the Java Platform Interface "JPI".
Referencing the 1.4.2 version; this simply seems like a shorter version=20
saying the same things, except where the 1.4.2 version said you were=20
allowed to invent new APIs, but had to publish your API, this one does not=
=20
even allow that.

I mean; how can you argue that re-implementing the File object is a creatio=
n=20
of classes, interfaces or subpackages?

So, the license has changed; but only to make sure all API additions are=20
done via the JCP and/or by Sun.

IANAL; but I would not worry about this.

On Saturday 4 June 2005 21:38, Matt Van Gundy wrote:
> Classpath developers,
>
> In an attempt to upgrade my the JVM on my development box to Sun's latest
> release I was perusing the new version of the BCL and noticed that the
> "Java Technology Restrictions" section had changed from previous BCLs.
>
> I quote it for reference:
> > D. Java Technology Restrictions.  You may not create,
> > modify, or change the behavior of, or authorize your
> > licensees to create, modify, or change the behavior of,
> > classes, interfaces, or subpackages that are in any way
> > identified as "java", "javax", "sun" or similar convention
> > as specified by Sun in any naming convention designation.
>
> Previous versions of the license that I have accepted prohibited creating
> additions to the java, javax, and swing namespaces which I have always
> interpreted as, we are not allowed to change the behavior of the standard
> API.  However, it appears that the current license is trying to restrict
> the ability to create any class so named.
>
> My burning question is, does acceptance of this license effectively
> preclude a developer from participating in cleanroom efforts such as
> Classpath?  Or, am I missing something?  I searched your website, as well
> of that of Kaffe and Blackdown for commentary and failed to find anything
> that appeared to be relevant.
>
> Thanks for your time,
> Matt Van Gundy
>
>
>
>
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath

=2D-=20
Thomas Zander

--nextPart1198629.AJbC6WjUNn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCosZcCojCW6H2z/QRAuGwAJ4+WwOwtKeizo9isnZBWjS9TCc2pgCgsw7T
PNamTRdI2Uzl9MilZA8dtJY=
=4Jk6
-----END PGP SIGNATURE-----

--nextPart1198629.AJbC6WjUNn--



From MAILER-DAEMON Sun Jun 05 09:57:32 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Devd0-0001VD-Rz
	for mharc-classpath@gnu.org; Sun, 05 Jun 2005 09:57:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Devcq-0001LN-0W
	for classpath@gnu.org; Sun, 05 Jun 2005 09:57:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Devcn-0001K7-BF
	for classpath@gnu.org; Sun, 05 Jun 2005 09:57:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Devcn-0001JU-78
	for classpath@gnu.org; Sun, 05 Jun 2005 09:57:13 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DevbX-0008Bm-S2; Sun, 05 Jun 2005 09:55:56 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 5 Jun 2005 15:52:53 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CABDA@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Jessie, enums, and loggers
Thread-Index: AcVpOgRsLqnnEC1DQnOap7Qtbf9QpwAmtltA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Casey Marshall" <csm@gnu.org>,
	<classpath@gnu.org>
Cc: 
Subject: RE: Jessie, enums, and loggers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 13:57:22 -0000

Casey Marshall wrote:
> [...] I think it should be possible to
> make a mostly-binary-compatible enum class for pre-1.5 Java, but
> wouldn't mind some advice if someone is more familiar with this.

I've been thinking about this too (and other 1.5 classes), but so far I
haven't reached any conclusion. I agree that it should be possible to
create 1.4 classes that are binary compatible with the new 1.5 classes
and for some scenarios (like the one you describe) this would certainly
be helpful. Given that it will be a while before gjcx will be available
(and mainstream), the pressure on including 1.5 features the main branch
will increase. The issue is whether having only binary compatibility (as
opposed to also having source compatibility) is enough to justify adding
these classes, I tend to think so, but like I said, I'm not completely
sure yet.

Regards,
Jeroen



From MAILER-DAEMON Sun Jun 05 13:21:01 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Deyo0-0007TS-EH
	for mharc-classpath@gnu.org; Sun, 05 Jun 2005 13:21:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Deynu-0007Rh-IF
	for classpath@gnu.org; Sun, 05 Jun 2005 13:20:56 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Deynq-0007PE-Hk
	for classpath@gnu.org; Sun, 05 Jun 2005 13:20:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Deynp-0007Mt-93
	for classpath@gnu.org; Sun, 05 Jun 2005 13:20:49 -0400
Received: from [212.162.56.50] (helo=d59.x-mailer.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1Deyiy-00021M-6g; Sun, 05 Jun 2005 13:15:48 -0400
Received: from [38.119.128.203] (helo=[172.29.37.124])
	by d59.x-mailer.de with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.50)
	id 1Deyfz-0005DM-Q2; Sun, 05 Jun 2005 19:12:43 +0200
In-Reply-To: <42A1FACC.2050203@gnu.org>
References: <42A1FACC.2050203@gnu.org>
Mime-Version: 1.0 (Apple Message framework v622)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <273e9150643abd033f2c3582fcdcf102@brawer.ch>
Content-Transfer-Encoding: 7bit
From: Sascha Brawer <sascha@brawer.ch>
Date: Sun, 5 Jun 2005 19:12:42 +0200
To: Casey Marshall <csm@gnu.org>
X-Mailer: Apple Mail (2.622)
X-Info: valid message
X-Info: original Date
Cc: classpath@gnu.org
Subject: Re: RFC: Jessie, enums, and loggers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 17:20:57 -0000

Sounds great. But you don't need to define a custom Level for this  
purpose, it's already in the framework.

Just use java.util.logging.Logger.getLogger("java.awt") to  
create/retrieve a Logger for java.awt. The framework maintains a tree  
of Loggers, and passes up LogRecords to the parent logger by default.  
That is, a logger of "java.awt.image.jpeg" will by default forward  
LogRecords to the logger for "java.awt.image", which will in turn  
forward it to its parent, and so on.

http://developer.classpath.org/doc/java/util/logging/ 
Logger.html#getLogger(java.lang.String)

-- Sascha

On Jun 4, 2005, at 21:02, Casey Marshall wrote:

> Lastly, I'd like to propose a standard mechanism for debug messages in
> Classpath, using java.util.logging. The idea is to have
> *component-level* logging, where log messages can be emitted not only  
> by
> the integer level (INFO, WARNING) but also on whether or not that exact
> log level is enabled or not.
>
> 	- A global logger for Classpath, which all code should use for
> 	  debug messages.
> 	- A subclass of Level that has integer level 'FINE', with
> 	  specific component instances for components of Classpath,
> 	  such as 'AWT', 'SECURITY', etc.
> 	- An implementation of Filter, with a static singleton, that
> 	  maintains a Set of Classpath log levels -- which can be
> 	  changed at run-time -- and only allows logging if a
> 	  particular log level is in that set.
>
> The idea here being that you can tune the filter to log a subset of
> Classpath functionality (say, something like SECURITY|CRYPTO|JESSIE, if
> I was debugging Jessie). This is, again, something I'm going to do
> anyway in the context of Jessie, but wanted to know if there was  
> general
> interest in this.




From MAILER-DAEMON Sun Jun 05 14:36:43 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DezzH-0001YI-3E
	for mharc-classpath@gnu.org; Sun, 05 Jun 2005 14:36:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dezz8-0001UM-Ts
	for classpath@gnu.org; Sun, 05 Jun 2005 14:36:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dezz7-0001TQ-95
	for classpath@gnu.org; Sun, 05 Jun 2005 14:36:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dezz7-0001T3-1S
	for classpath@gnu.org; Sun, 05 Jun 2005 14:36:33 -0400
Received: from [66.33.193.58] (helo=toby.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dezyf-0006G8-R2
	for classpath@gnu.org; Sun, 05 Jun 2005 14:36:06 -0400
Received: from [192.168.0.100] (dsl2-63-249-108-128.cruzio.com
	[63.249.108.128]) by toby.dreamhost.com (Postfix) with ESMTP
	id 22E0B12DA10; Sun,  5 Jun 2005 11:33:02 -0700 (PDT)
Message-ID: <42A34553.3010209@gnu.org>
Date: Sun, 05 Jun 2005 11:32:51 -0700
From: Casey Marshall <csm@gnu.org>
User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Sascha Brawer <sascha@brawer.ch>
References: <42A1FACC.2050203@gnu.org>
	<273e9150643abd033f2c3582fcdcf102@brawer.ch>
In-Reply-To: <273e9150643abd033f2c3582fcdcf102@brawer.ch>
X-Enigmail-Version: 0.91.0.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig3F27689188C68C202D0CB58D"
Cc: classpath@gnu.org
Subject: Re: RFC: Jessie, enums, and loggers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 18:36:36 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3F27689188C68C202D0CB58D
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Sascha Brawer wrote:
> Sounds great. But you don't need to define a custom Level for this
> purpose, it's already in the framework.
>
> Just use java.util.logging.Logger.getLogger("java.awt") to
> create/retrieve a Logger for java.awt. The framework maintains a tree
> of Loggers, and passes up LogRecords to the parent logger by default.
> That is, a logger of "java.awt.image.jpeg" will by default forward
> LogRecords to the logger for "java.awt.image", which will in turn
> forward it to its parent, and so on.
>

Yeah, that's another way to do it. I'd only be concerned about how
over-flexible that approach is for this usage, and whether or not it
would be a burden to use -- would you have to add half a dozen -D
options, or go edit a properties file? I kind of like being able to
specify a simple comma-delineated list of components to log into one
property.

Also, what would the performance impact be if we used trees of loggers,
and not a simple filter with a bit set?

Cheers,

--------------enig3F27689188C68C202D0CB58D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQqNFXZqYd+kJ2iAwAQK5rxAAmwgOPEI3rlUwHlHSeRd7aLoh0QAj0YcX
vpyfj484Y4ef+idF/pDHsul5oVtypOLtDez9cxNEQYZYbJ/tAG93uP4GEH1TieGe
aFrAK9DfhwwT1F0y4jJ3fZJ5iNMa5xqyDF35eDEZb+vcGMF948RQkeHqsegweRa+
58KdWBs7Fs9a8BTF0PjcAnnsQ3K+9j38JL72ORcaWHkvKjYY+jAK+Q+1upZEcQDk
l7a4sbfdp/2Nxg/EEpamKoEkJ+9RjgdJui70XNc3mqgx7vdWdxjhIYoLaxZrr5YV
iMh1mfiRYaeueeVAV/jRg4Pl7BfSRfnil/PbkrzouaHiaEyA4pgdbJdYffRcS7Ov
aCZ9sLhkfJQEwoq3z42IAQXVNzUvyt0FUteAjLxL4oUgqDgoXGBAGHMZMyvW+r1s
zDxgLR/qRV6vWl2yjql/w3iQTUGkIfkjo1F+SWC1GPOK8nIavkXg80eXQmYa5Kqe
hy40MKElLeBScoNJGy3CeOFcGeRt7aRo461NN5WPflhdUf8MIW4rOL9ALpm6hAhZ
RZApEGjQFJCFMfmYGzHgHVwiSPURzN5hBYLRQQP4YdK1WTHkZLa1E0+VC+fUrDh+
eV9qkr3Y3oMgunw5UhFD9Wi/ZEhw/PE+GXudaJUuaI+8u1YNTpwWgqhG0sm0KpKL
zibTXsedryQ=
=yLkb
-----END PGP SIGNATURE-----

--------------enig3F27689188C68C202D0CB58D--



From MAILER-DAEMON Sun Jun 05 15:27:55 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Df0mm-0005wt-6E
	for mharc-classpath@gnu.org; Sun, 05 Jun 2005 15:27:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Df0mh-0005w2-SU
	for classpath@gnu.org; Sun, 05 Jun 2005 15:27:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Df0me-0005uN-HG
	for classpath@gnu.org; Sun, 05 Jun 2005 15:27:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Df0me-0005tl-Ad
	for classpath@gnu.org; Sun, 05 Jun 2005 15:27:44 -0400
Received: from [195.186.4.74] (helo=mail4.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Df0kU-0000NH-Ev
	for classpath@gnu.org; Sun, 05 Jun 2005 15:25:30 -0400
Received: from Federspitz (81.63.53.17) by mail4.bluewin.ch (Bluewin 7.2.060.1)
	id 429EF2DE000B0684 for classpath@gnu.org;
	Sun, 5 Jun 2005 19:22:22 +0000
Message-ID: <000a01c56a03$e3d17b90$2101a8c0@Federspitz>
From: "Meskauskas Audrius" <audriusa@bluewin.ch>
To: <classpath@gnu.org>
Date: Sun, 5 Jun 2005 21:22:18 +0200
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Subject: RE: Corba & Licensing questions Note1 = Note 2.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Meskauskas Audrius <audriusa@bluewin.ch>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 19:27:48 -0000

I have joined the team only recently and did not participate in discussions, 
related to the Classpath license. Of course, it was possible to choose GPL 
or LGPL. At some step, a decission was accepted to use the existing license. 
I hope, there were serious reasons for that. Also, I hope, there were some 
serious reasons to raise  the requirement of transferring the rights to the 
Free Software Foundation.

JackORB exists for a comparatively long time, but during this time, it has 
never been contributed to Classpath. The JackORB licence has never been 
changed into Classpath license, and the copyright has never been transferred 
to FSF. As a result, I have not had a possibility to reuse the JackORB code 
and reimplemented my own.

This is true not just for the public classes in omg.org.CORBA and related, 
but also for the WORKING CORE CLASSES in gnu.CORBA package. These classes 
are now - sorry - more or less complete for the version 1.2. The code is of 
course not mature, but it is covered by multiple tests from the former CORBA 
open source testing package, cost.omg.org. Classpath CORBA is fully 
interoperable with Suns implementation 1.2. And, as a side effect of the 
required compatibility, you can use the Sun 1.3 IDL compiler before somebody 
will write or adapth a Free one. Under such circumstances, I see no reason 
of using any part of JackORB under its present license a least for the 1.2 
and 1.3 releases.

Audrius Meskauskas, Lithuania.





From MAILER-DAEMON Sun Jun 05 16:04:07 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Df1Lr-00056e-IN
	for mharc-classpath@gnu.org; Sun, 05 Jun 2005 16:04:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Df1Ln-000555-Se
	for classpath@gnu.org; Sun, 05 Jun 2005 16:04:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Df1Lk-00052o-IP
	for classpath@gnu.org; Sun, 05 Jun 2005 16:04:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Df1Lj-00050p-Df
	for classpath@gnu.org; Sun, 05 Jun 2005 16:03:59 -0400
Received: from [213.9.79.54] (helo=box7954) by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Df1FR-0001oL-HI
	for classpath@gnu.org; Sun, 05 Jun 2005 15:57:29 -0400
Received: from i637f.i.strato-dslnet.de ([85.73.99.127]
	helo=moonlight.localdomain)
	by box7954 with asmtp (Exim 3.35 #1 (Debian))
	id 1Df1BK-0008Dx-00; Sun, 05 Jun 2005 21:53:14 +0200
From: Roman Kennke <roman@kennke.org>
To: tromey@redhat.com
In-Reply-To: <m3br6mxayh.fsf@localhost.localdomain>
References: <m3br6mxayh.fsf@localhost.localdomain>
Content-Type: text/plain
Date: Sun, 05 Jun 2005 21:54:03 +0200
Message-Id: <1118001243.7364.0.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1.1 
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath Project <classpath@gnu.org>
Subject: Re: Swing question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 20:04:04 -0000

Hi,

> I was looking through the JAPI results for Swing and came across this
> oddity:
> 
> class javax.swing.plaf.basic.BasicInternalFrameTitlePane.TitlePaneLayout: public in jdk14, but protected in classpath
> 
> 
> Suns' javadoc says this:
> 
>     This inner class is marked "public" due to a compiler bug. This class
>     should be treated as a "protected" inner class.
> 
> So, what should we do?
> 
> For source compatibility we ought to mark these classes public and add
> an @specnote to the javadoc.

That's the correct way IMO, and what we do in other cases too.

/Roman




From MAILER-DAEMON Sun Jun 05 17:35:36 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Df2mN-00029h-9x
	for mharc-classpath@gnu.org; Sun, 05 Jun 2005 17:35:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Df2mB-00024O-V7
	for classpath@gnu.org; Sun, 05 Jun 2005 17:35:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Df2m8-00022Y-Um
	for classpath@gnu.org; Sun, 05 Jun 2005 17:35:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Df2m6-0001tq-9G
	for classpath@gnu.org; Sun, 05 Jun 2005 17:35:19 -0400
Received: from [217.12.12.138] (helo=smtp801.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Df2gX-0006UZ-QB
	for classpath@gnu.org; Sun, 05 Jun 2005 17:29:34 -0400
Received: (qmail 65889 invoked from network); 5 Jun 2005 21:26:28 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp801.mail.ukl.yahoo.com with SMTP; 5 Jun 2005 21:26:28 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1Df2dK-0000jA-7r
	for classpath@gnu.org; Sun, 05 Jun 2005 22:26:14 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <200505301349.53358.zander@kde.org>
References: <1117228474.7448.5.camel@localhost.localdomain>
	<20050528072419.GA4508@asterix.konqueror.de>
	<1117284371.3252.35.camel@rivendell>
	<200505301349.53358.zander@kde.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-6ccNiypKQs4zbISnbP5o"
Date: Sun, 05 Jun 2005 22:26:26 +0100
Message-Id: <1118006787.27752.33.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: Re: [cp-patches] FYI: Bumped up serialVersionUIDs in javax.swing
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jun 2005 21:35:24 -0000


--=-6ccNiypKQs4zbISnbP5o
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2005-05-30 at 13:49 +0200, Thomas Zander wrote:
> On Saturday 28 May 2005 14:46, Andrew John Hughes wrote:
> >  I imagine its reasonable to suggest supporting RMI
> > (which requires serialization) for e.g. the SpinnerDateModel, but I
> > don't see why we need it for the components (perhaps someone wants to
> > enlighten me?)
>=20
> There are people that find the instantiation and startup of Java to take =
too=20
> long so they serialize the whole instantiated GUI and then write that to =
a=20
> binairy blob to the jar file.
> The client then starts the GUi by deserialising that file and showing it.
>=20
> I think its butt-ugly and feel it does not need to be supported, but ther=
e=20
> are people out there (mostly companies) that do it.  So, now you know :)

Yeh, and I can believe it...
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-6ccNiypKQs4zbISnbP5o
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCo24C+WQ2ITV9UU0RArcYAKCOH8FJhjoQGONhYsQAciThUqncnQCgjsfA
zz/zQphiomddgsuwW410eXs=
=jyCY
-----END PGP SIGNATURE-----

--=-6ccNiypKQs4zbISnbP5o--




From MAILER-DAEMON Mon Jun 06 12:46:46 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DfKkQ-0005CI-2M
	for mharc-classpath@gnu.org; Mon, 06 Jun 2005 12:46:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DfKkN-0005AM-DD
	for classpath@gnu.org; Mon, 06 Jun 2005 12:46:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DfKkK-00058z-91
	for classpath@gnu.org; Mon, 06 Jun 2005 12:46:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DfKkJ-000578-T7
	for classpath@gnu.org; Mon, 06 Jun 2005 12:46:39 -0400
Received: from [207.71.226.182] (helo=ns1.religionsucks.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DfKjK-0007CW-SV
	for classpath@gnu.org; Mon, 06 Jun 2005 12:45:39 -0400
Received: from localhost (IDENT:matt@localhost.localdomain [127.0.0.1])
	by ns1.religionsucks.com (8.11.6/8.11.6) with ESMTP id j56Gftv02761
	for <classpath@gnu.org>; Mon, 6 Jun 2005 09:41:55 -0700
Date: Mon, 6 Jun 2005 09:41:55 -0700 (PDT)
From: Matt Van Gundy <matt@shekinahstudios.com>
X-X-Sender: matt@ns1.religionsucks.com
To: classpath@gnu.org
In-Reply-To: <200506051720.j55HKrv29816@ns1.religionsucks.com>
Message-ID: <Pine.LNX.4.44.0506060934460.15011-100000@ns1.religionsucks.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: Re: Does J2SDK 5.0 BCL preclude contributions to Classpath?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jun 2005 16:46:44 -0000

Thomas,

Thank you, I think that yours is a sane interpretation of that clause.  On 
further thought, I'd have to concur that, re-implementation of a standard 
most likely doesn't imply creation... and the previous licenses seem to 
agree.

Thanks for helping me see it another way,
Matt

Thomas Zander wrote:
> I read your paste as being unable to create _new_ classes not published 
> in the Java Platform Interface "JPI".
> Referencing the 1.4.2 version; this simply seems like a shorter version 
> saying the same things, except where the 1.4.2 version said you were 
> allowed to invent new APIs, but had to publish your API, this one does 
> not even allow that.
> 
> I mean; how can you argue that re-implementing the File object is a 
> creation of classes, interfaces or subpackages?
> 
> So, the license has changed; but only to make sure all API additions are 
> done via the JCP and/or by Sun.
> 
> IANAL; but I would not worry about this.





From MAILER-DAEMON Tue Jun 07 10:17:58 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dfety-0003qo-A3
	for mharc-classpath@gnu.org; Tue, 07 Jun 2005 10:17:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dfett-0003oO-MY
	for classpath@gnu.org; Tue, 07 Jun 2005 10:17:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dfets-0003nM-90
	for classpath@gnu.org; Tue, 07 Jun 2005 10:17:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dfets-0003nJ-5F
	for classpath@gnu.org; Tue, 07 Jun 2005 10:17:52 -0400
Received: from [195.186.4.73] (helo=mail2.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dfeoi-0006bQ-C7
	for classpath@gnu.org; Tue, 07 Jun 2005 10:12:32 -0400
Received: from Federspitz (213.3.75.22) by mail2.bluewin.ch (Bluewin 7.2.060.1)
	id 429EF2220011CEAD for classpath@gnu.org;
	Tue, 7 Jun 2005 14:08:58 +0000
Message-ID: <001401c56b6a$66cec720$2101a8c0@Federspitz>
From: "Meskauskas Audrius" <audriusa@bluewin.ch>
To: <classpath@gnu.org>
Date: Tue, 7 Jun 2005 16:08:28 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0011_01C56B7B.24394690"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Subject: FYI: Listing org.omg between the Classpath components.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Meskauskas Audrius <audriusa@bluewin.ch>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jun 2005 14:17:55 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_0011_01C56B7B.24394690
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit

2005-06-07  Audrius Meskauskas <AudriusA@Bioinformatics.org>.

* doc/www.gnu.org/home.wml: Added "omg.org"


------=_NextPart_000_0011_01C56B7B.24394690
Content-Type: application/octet-stream;
	name="home.wml.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="home.wml.patch"

Index: doc/www.gnu.org/home.wml
=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
RCS file: /cvsroot/classpath/classpath/doc/www.gnu.org/home.wml,v
retrieving revision 1.45
diff -u -r1.45 home.wml
--- doc/www.gnu.org/home.wml	6 Oct 2004 16:38:19 -0000	1.45
+++ doc/www.gnu.org/home.wml	7 Jun 2005 14:01:00 -0000
@@ -53,7 +53,7 @@
 packages (and some subpackages) <code>java.applet, java.awt,
 java.beans, java.io, java.lang, java.math, java.net, java.rmi,
 java.security, java.sql, java.text, java.util, java.util.jar,
-java.util.zip</code>. Not all classes and methods are implemented yet,
+java.util.zip, org.omg</code>. Not all classes and methods are =
implemented yet,
 but most are. many of the implemented classes are already up to the
 1.2 API spec. Some are already compliant with the 1.3 and 1.4 API
 specification (there are preliminary implementations of

------=_NextPart_000_0011_01C56B7B.24394690--





From MAILER-DAEMON Wed Jun 08 08:07:56 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DfzLe-0001G2-Ry
	for mharc-classpath@gnu.org; Wed, 08 Jun 2005 08:07:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DfjHr-0003Y1-M9
	for classpath@gnu.org; Tue, 07 Jun 2005 14:58:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DfjHk-0003V3-GY
	for classpath@gnu.org; Tue, 07 Jun 2005 14:58:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DfjHk-0003Uc-4o
	for classpath@gnu.org; Tue, 07 Jun 2005 14:58:48 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DfjHI-00062F-M2
	for classpath@gnu.org; Tue, 07 Jun 2005 14:58:21 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j57IshYk018426
	for <classpath@gnu.org>; Tue, 7 Jun 2005 14:54:43 -0400
Received: from mail.boston.redhat.com (mail.boston.redhat.com [172.16.76.12])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id
	j57IshO32222; Tue, 7 Jun 2005 14:54:43 -0400
Received: from [172.16.83.135] (vpn83-135.boston.redhat.com [172.16.83.135])
	by mail.boston.redhat.com (8.12.8/8.12.8) with ESMTP id j57IseZP028792; 
	Tue, 7 Jun 2005 14:54:40 -0400
Message-ID: <42A5EDC9.5060907@redhat.com>
Date: Tue, 07 Jun 2005 14:56:09 -0400
From: Archit Shah <ashah@redhat.com>
User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <428C9A1C.6060208@redhat.com>
	<m3acmahndw.fsf@localhost.localdomain>
In-Reply-To: <m3acmahndw.fsf@localhost.localdomain>
Content-Type: multipart/mixed; boundary="------------010600040504090904010406"
X-Mailman-Approved-At: Wed, 08 Jun 2005 08:07:52 -0400
Cc: classpath@gnu.org
Subject: Re: rmic contribution
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jun 2005 18:58:56 -0000

This is a multi-part message in MIME format.
--------------010600040504090904010406
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

A patch to replace the old RMIC implementation with the new ASM-based 
one attached. The patch file modifies configure.ac and Makefile.am to 
deal with asm.jar. The 2 java files go in 
cp-tools/src/gnu/classpath/tools/rmi/rmic. The Compile*.java files in 
that directory should be deleted. asm.jar (version 1.5.x) is required 
and  can be downloaded here: 
http://download.forge.objectweb.org/asm/asm-1.5.3.jar. I'm not sure 
where that requirement should be listed (NEWS, README or INSTALL), so 
the patch doesn't mention it. The newest version of ASM, 2.0, was 
released three weeks ago and will not work as there were API changes. 
Updating to use ASM 2.0 instead of 1.5.3 would require minimal effort.

This was tested using libgcj-3.3.3-7 on a Fedora Core 2 machine.

  -- Archit

Tom Tromey wrote:
> 
> Archit> I would like to see this code integrated into Classpath and I'm happy
> Archit> to provide a patch that does this in the appropriate manner. The most
> Archit> direct option would be to replace the current RMI compiler.
> 
> I think this sounds fine.  I don't think we need more than one RMI
> compiler.  My understanding is that this would go in the tools
> repository.
> 

--------------010600040504090904010406
Content-Type: text/x-patch;
 name="build.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="build.patch"

Index: configure.ac
===================================================================
RCS file: /cvsroot/classpath/cp-tools/configure.ac,v
retrieving revision 1.4
diff -u -r1.4 configure.ac
--- configure.ac	19 Feb 2005 04:59:39 -0000	1.4
+++ configure.ac	7 Jun 2005 18:22:29 -0000
@@ -94,32 +94,26 @@
 dnl ASM bytecode library
 dnl
 AC_ARG_WITH([asm],
-  [AS_HELP_STRING(--with-asm,use asm [[default=no]])],
-  [
-    if test "x${withval}" != xno; then
-      with_asm=yes
-    else
-      with_asm=no
-    fi
-  ],
-  [
-    with_asm=no
-  ]
+  [AS_HELP_STRING(--with-asm,which asm jar to use)],
+  [ASM_JAR=${withval}]
 )
-AM_CONDITIONAL(USE_ASM, test "x${with_asm}" = xyes)
-if test "x${with_asm}" = xyes
+if test "x${ASM_JAR}" = x
 then
   for path in /usr /usr/local; do
     AC_CHECK_FILE([$path/share/java/asm.jar],
-      AC_CLASSPATH_ADD([$path/share/java/asm.jar])
       ASM_JAR=$path/share/java/asm.jar
-      export ASM_JAR
     )
   done
-  test -d src || mkdir src
-  test -d src/jars || mkdir src/jars
-  cp -f ${ASM_JAR} src/jars/
 fi
+AC_CHECK_FILE([$ASM_JAR],
+  [
+    AC_CLASSPATH_ADD([$ASM_JAR])
+    test -d src || mkdir src
+    test -d src/jars || mkdir src/jars
+    cp -f ${ASM_JAR} src/jars/asm.jar
+  ],
+  [AC_MSG_ERROR([ASM jar not found, exiting.])]
+)
 
 AC_SUBST(CLASSPATH)
 
Index: Makefile.am
===================================================================
RCS file: /cvsroot/classpath/cp-tools/Makefile.am,v
retrieving revision 1.3
diff -u -r1.3 Makefile.am
--- Makefile.am	9 Feb 2005 01:42:36 -0000	1.3
+++ Makefile.am	7 Jun 2005 18:22:29 -0000
@@ -1,9 +1,10 @@
 ## Process this file with automake to produce Makefile.in.
 
 BYTECODE_JAR=src/jars/bytecode.jar
-DISTCLEANFILES = $(BYTECODE_JAR)
+ASM_JAR=src/jars/asm.jar
+DISTCLEANFILES = $(BYTECODE_JAR) $(ASM_JAR)
 
-AM_GCJFLAGS = --classpath=$(CLASSPATH) -fassume-compiled -I$(srcdir)/src -I$(XML_JAR) -I$(BYTECODE_JAR) -I.
+AM_GCJFLAGS = --classpath=$(CLASSPATH) -fassume-compiled -I$(srcdir)/src -I$(XML_JAR) -I$(BYTECODE_JAR) -I$(ASM_JAR) -I.
 
 MY_JAVAC_FLAGS = -classpath $(CLASSPATH):$(srcdir)/src -g $(JAVAC_FLAGS)
 
@@ -19,6 +20,7 @@
 bin_PROGRAMS = javap javah serialver localegen currencygen native2ascii \
 		rmic rmiregistry
 lib_LTLIBRARIES = libcptools.la 
+lib_LTLIBRARIES += libasm.la
 if USE_GNUBYTECODE
 lib_LTLIBRARIES += libbytecode.la
 libbytecode_la_LINK = $(GCJLINK) 
@@ -85,15 +87,13 @@
 	src/gnu/currencygen/Main.java
 currencygen_LDFLAGS = --main=gnu.currencygen.Main
 
+libasm_la_LINK = $(GCJLINK) 
+nodist_libasm_la_SOURCES = $(ASM_JAR)
+rmic_LDADD = libasm.la
 rmic_SOURCES = \
-	src/gnu/classpath/tools/rmi/rmic/Compile_gcj.java \
-	src/gnu/classpath/tools/rmi/rmic/Compiler.java \
 	src/gnu/classpath/tools/rmi/rmic/RMICException.java \
-	src/gnu/classpath/tools/rmi/rmic/Compile_jikes.java \
-	src/gnu/classpath/tools/rmi/rmic/CompilerProcess.java \
 	src/gnu/classpath/tools/rmi/rmic/RMIC.java \
-	src/gnu/classpath/tools/rmi/rmic/Compile_kjc.java \
-	src/gnu/classpath/tools/rmi/rmic/TabbedWriter.java
+	src/gnu/classpath/tools/rmi/rmic/Variables.java
 rmic_LDFLAGS = --main=gnu.classpath.tools.rmi.rmic.RMIC
 
 rmiregistry_SOURCES = \
@@ -193,4 +193,3 @@
 
 test: tests/%.class $(srcdir)/src/test/%.java
 	$(JAVAC) -g -d tests $<
-	

--------------010600040504090904010406
Content-Type: text/x-java;
 name="RMIC.java"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="RMIC.java"

/* ASMRMIC.java --
   Copyright (c) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005
   Free Software Foundation, Inc.

This file is part of GNU Classpath.

GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING.  If not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */

package gnu.classpath.tools.rmi.rmic;

import gnu.java.rmi.server.RMIHashes;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.io.PrintWriter;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.rmi.MarshalException;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.rmi.UnexpectedException;
import java.rmi.UnmarshalException;
import java.rmi.server.Operation;
import java.rmi.server.RemoteCall;
import java.rmi.server.RemoteObject;
import java.rmi.server.RemoteRef;
import java.rmi.server.RemoteStub;
import java.rmi.server.Skeleton;
import java.rmi.server.SkeletonMismatchException;
import java.security.MessageDigest;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.StringTokenizer;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.CodeVisitor;
import org.objectweb.asm.Constants;
import org.objectweb.asm.Label;
import org.objectweb.asm.Type;

public class RMIC
{
  private String[] args;
  private int next;
  private Exception exception;
  private boolean keep = false;
  private boolean need11Stubs = true;
  private boolean need12Stubs = true;
  private boolean compile = true;
  private boolean verbose;
  private String destination;
  private String classpath;
  private ClassLoader loader;
  private int errorCount = 0;

  private Class clazz;
  private String classname;
  private String classInternalName;
  private String fullclassname;
  private MethodRef[] remotemethods;
  private String stubname;
  private String skelname;
  private List mRemoteInterfaces;

  private static class C
    implements Constants
  {
  }

  public RMIC(String[] a)
  {
    args = a;
  }

  public static void main(String[] args)
  {
    RMIC r = new RMIC(args);
    if (r.run() == false)
      {
	Exception e = r.getException();
	if (e != null)
	  e.printStackTrace();
	else
	  System.exit(1);
      }
  }

  public boolean run()
  {
    parseOptions();
    if (next >= args.length)
      error("no class names found");
    for (int i = next; i < args.length; i++)
      {
	try
	  {
	    if (verbose)
	      System.out.println("[Processing class " + args[i] + ".class]");
	    processClass(args[i].replace(File.separatorChar, '.'));
	  }
	catch (Exception e)
	  {
	    exception = e;
	    return (false);
	  }
      }
    return (true);
  }

  private boolean processClass(String cls) throws Exception
  {
    // reset class specific vars
    clazz = null;
    classname = null;
    classInternalName = null;
    fullclassname = null;
    remotemethods = null;
    stubname = null;
    skelname = null;
    mRemoteInterfaces = new ArrayList();

    errorCount = 0;

    analyzeClass(cls);
    if (errorCount > 0)
      System.exit(1);
    generateStub();
    if (need11Stubs)
      generateSkel();
    return (true);
  }

  private void analyzeClass(String cname) throws Exception
  {
    if (verbose)
      System.out.println("[analyze class " + cname + "]");
    int p = cname.lastIndexOf('.');
    if (p != -1)
      classname = cname.substring(p + 1);
    else
      classname = cname;
    fullclassname = cname;

    findClass();
    findRemoteMethods();
  }

  public Exception getException()
  {
    return (exception);
  }

  private void findClass()
  {
    try
      {
        ClassLoader cl = (loader == null
                          ? ClassLoader.getSystemClassLoader()
                          : loader);
        clazz = Class.forName(fullclassname, false, cl);
      }
    catch (ClassNotFoundException cnfe)
      {
        System.err.println(fullclassname + " not found in " + classpath);
        throw new RuntimeException(cnfe);
      }

    if (! Remote.class.isAssignableFrom(clazz))
      {
        logError("Class " + clazz.getName() + " is not a remote object. "
                 + "It does not implement an interface that is a "
                 + "java.rmi.Remote-interface.");
        throw new RuntimeException
          ("Class " + clazz.getName() + " is not a remote object. "
           + "It does not implement an interface that is a "
           + "java.rmi.Remote-interface.");
      }
  }

  private static Type[] typeArray(Class[] cls)
  {
    Type[] t = new Type[cls.length];
    for (int i = 0; i < cls.length; i++)
      {
        t[i] = Type.getType(cls[i]);
      }

    return t;
  }

  private static String[] internalNameArray(Type[] t)
  {
    String[] s = new String[t.length];
    for (int i = 0; i < t.length; i++)
      {
        s[i] = t[i].getInternalName();
      }

    return s;
  }

  private static String[] internalNameArray(Class[] c)
  {
    return internalNameArray(typeArray(c));
  }

  private static final String forName = "class$";

  private static Object param(Method m, int argIndex)
  {
    List l = new ArrayList();
    l.add(m);
    l.add(new Integer(argIndex));
    return l;
  }

  private static void generateClassForNamer(ClassVisitor cls)
  {
    CodeVisitor cv =
      cls.visitMethod
      (C.ACC_PRIVATE + C.ACC_STATIC + C.ACC_SYNTHETIC, forName,
       Type.getMethodDescriptor
       (Type.getType(Class.class), new Type[] { Type.getType(String.class) }),
       null, null);

    Label start = new Label();
    cv.visitLabel(start);
    cv.visitVarInsn(C.ALOAD, 0);
    cv.visitMethodInsn
      (C.INVOKESTATIC,
       Type.getInternalName(Class.class),
       "forName",
       Type.getMethodDescriptor
       (Type.getType(Class.class), new Type[] { Type.getType(String.class) }));
    cv.visitInsn(C.ARETURN);

    Label handler = new Label();
    cv.visitLabel(handler);
    cv.visitVarInsn(C.ASTORE, 1);
    cv.visitTypeInsn(C.NEW, typeArg(NoClassDefFoundError.class));
    cv.visitInsn(C.DUP);
    cv.visitVarInsn(C.ALOAD, 1);
    cv.visitMethodInsn
      (C.INVOKEVIRTUAL,
       Type.getInternalName(ClassNotFoundException.class),
       "getMessage",
       Type.getMethodDescriptor(Type.getType(String.class), new Type[] {}));
    cv.visitMethodInsn
      (C.INVOKESPECIAL,
       Type.getInternalName(NoClassDefFoundError.class),
       "<init>",
       Type.getMethodDescriptor
       (Type.VOID_TYPE, new Type[] { Type.getType(String.class) }));
    cv.visitInsn(C.ATHROW);
    cv.visitTryCatchBlock
      (start, handler, handler,
       Type.getInternalName(ClassNotFoundException.class));
    cv.visitMaxs(-1, -1);
  }

  private void generateClassConstant(CodeVisitor cv, Class cls) {
    if (cls.isPrimitive())
      {
        Class boxCls;
        if (cls.equals(Boolean.TYPE))
          boxCls = Boolean.class;
        else if (cls.equals(Character.TYPE))
          boxCls = Character.class;
        else if (cls.equals(Byte.TYPE))
          boxCls = Byte.class;
        else if (cls.equals(Short.TYPE))
          boxCls = Short.class;
        else if (cls.equals(Integer.TYPE))
          boxCls = Integer.class;
        else if (cls.equals(Long.TYPE))
          boxCls = Long.class;
        else if (cls.equals(Float.TYPE))
          boxCls = Float.class;
        else if (cls.equals(Double.TYPE))
          boxCls = Double.class;
        else if (cls.equals(Void.TYPE))
          boxCls = Void.class;
        else
          throw new IllegalArgumentException("unknown primitive type " + cls);

        cv.visitFieldInsn
          (C.GETSTATIC, Type.getInternalName(boxCls), "TYPE",
           Type.getDescriptor(Class.class));
        return;
      }
    cv.visitLdcInsn(cls.getName());
    cv.visitMethodInsn
      (C.INVOKESTATIC, classInternalName, forName,
       Type.getMethodDescriptor
       (Type.getType(Class.class),
        new Type[] { Type.getType(String.class) }));
  }

  private void generateClassArray(CodeVisitor code, Class[] classes)
  {
    code.visitLdcInsn(new Integer(classes.length));
    code.visitTypeInsn(C.ANEWARRAY, typeArg(Class.class));
    for (int i = 0; i < classes.length; i++)
      {
        code.visitInsn(C.DUP);
        code.visitLdcInsn(new Integer(i));
        generateClassConstant(code, classes[i]);
        code.visitInsn(C.AASTORE);
      }
  }

  private void fillOperationArray(CodeVisitor clinit)
  {
    // Operations array
    clinit.visitLdcInsn(new Integer(remotemethods.length));
    clinit.visitTypeInsn(C.ANEWARRAY, typeArg(Operation.class));
    clinit.visitFieldInsn
      (C.PUTSTATIC, classInternalName, "operations",
       Type.getDescriptor(Operation[].class));

    for (int i = 0; i < remotemethods.length; i++)
      {
        Method m = remotemethods[i].meth;

        StringBuffer desc = new StringBuffer();
        desc.append(getPrettyName(m.getReturnType()) + " ");
        desc.append(m.getName() + "(");

        // signature
        Class[] sig = m.getParameterTypes();
        for (int j = 0; j < sig.length; j++)
          {
            desc.append(getPrettyName(sig[j]));
            if (j + 1 < sig.length)
                desc.append(", ");
          }

        // push operations array
        clinit.visitFieldInsn
          (C.GETSTATIC, classInternalName, "operations",
           Type.getDescriptor(Operation[].class));

        // push array index
        clinit.visitLdcInsn(new Integer(i));

        // instantiate operation and leave a copy on the stack
        clinit.visitTypeInsn(C.NEW, typeArg(Operation.class));
        clinit.visitInsn(C.DUP);
        clinit.visitLdcInsn(desc.toString());
        clinit.visitMethodInsn
          (C.INVOKESPECIAL,
           Type.getInternalName(Operation.class),
           "<init>",
           Type.getMethodDescriptor
           (Type.VOID_TYPE, new Type[] { Type.getType(String.class) }));

        // store in operations array
        clinit.visitInsn(C.AASTORE);
      }
  }

  private void generateStaticMethodObjs(CodeVisitor clinit)
  {
    for (int i = 0; i < remotemethods.length; i++)
      {
        Method m = remotemethods[i].meth;

        /*
         * $method_<i>m.getName()</i>_<i>i</i> =
         *   <i>m.getDeclaringClass()</i>.class.getMethod
         *     (m.getName(), m.getParameterType())
         */
        String methodVar = "$method_" + m.getName() + "_" + i;
        generateClassConstant(clinit, m.getDeclaringClass());
        clinit.visitLdcInsn(m.getName());
        generateClassArray(clinit, m.getParameterTypes());
        clinit.visitMethodInsn
          (C.INVOKEVIRTUAL,
           Type.getInternalName(Class.class),
           "getMethod",
           Type.getMethodDescriptor
           (Type.getType(Method.class),
            new Type[] { Type.getType(String.class),
                         Type.getType(Class[].class) }));

        clinit.visitFieldInsn
          (C.PUTSTATIC, classInternalName, methodVar,
           Type.getDescriptor(Method.class));
      }
  }

  private void generateStub() throws IOException
  {
    stubname = fullclassname + "_Stub";
    String stubclassname = classname + "_Stub";
    File file = new File((destination == null ? "." : destination)
                         + File.separator
                         + stubname.replace('.', File.separatorChar)
                         + ".class");

    if (verbose)
      System.out.println("[Generating class " + stubname + "]");

    final ClassWriter stub = new ClassWriter(true);
    classInternalName = stubname.replace('.', '/');
    final String superInternalName =
      Type.getType(RemoteStub.class).getInternalName();

    String[] remoteInternalNames =
      internalNameArray((Class[]) mRemoteInterfaces.toArray(new Class[] {}));
    stub.visit
      (C.V1_2, C.ACC_PUBLIC + C.ACC_FINAL, classInternalName,
       superInternalName, remoteInternalNames, null);

    if (need12Stubs)
      {
        stub.visitField
          (C.ACC_PRIVATE + C.ACC_STATIC + C.ACC_FINAL, "serialVersionUID",
           Type.LONG_TYPE.getDescriptor(), new Long(2L), null);
      }

    if (need11Stubs)
      {
        stub.visitField
          (C.ACC_PRIVATE + C.ACC_STATIC + C.ACC_FINAL,
           "interfaceHash", Type.LONG_TYPE.getDescriptor(),
           new Long(RMIHashes.getInterfaceHash(clazz)), null);

        if (need12Stubs)
          {
            stub.visitField
              (C.ACC_PRIVATE + C.ACC_STATIC, "useNewInvoke",
               Type.BOOLEAN_TYPE.getDescriptor(), null, null);
          }

        stub.visitField
          (C.ACC_PRIVATE + C.ACC_STATIC + C.ACC_FINAL,
           "operations", Type.getDescriptor(Operation[].class), null, null);
      }

    // Set of method references.
    if (need12Stubs)
      {
        for (int i = 0; i < remotemethods.length; i++)
          {
            Method m = remotemethods[i].meth;
            String slotName = "$method_" + m.getName() + "_" + i;
            stub.visitField
              (C.ACC_PRIVATE + C.ACC_STATIC, slotName,
               Type.getDescriptor(Method.class), null, null);
          }
      }

    CodeVisitor clinit = stub.visitMethod
      (C.ACC_STATIC, "<clinit>",
       Type.getMethodDescriptor(Type.VOID_TYPE, new Type[] {}), null, null);

    if (need11Stubs)
      {
        fillOperationArray(clinit);
        if (! need12Stubs)
          clinit.visitInsn(C.RETURN);
      }

    if (need12Stubs)
      {
        // begin of try
        Label begin = new Label();

        // beginning of catch
        Label handler = new Label();
        clinit.visitLabel(begin);

        // Initialize the methods references.
        if (need11Stubs)
          {
            /*
             * RemoteRef.class.getMethod("invoke", new Class[] {
             *   Remote.class, Method.class, Object[].class, long.class })
             */
            generateClassConstant(clinit, RemoteRef.class);
            clinit.visitLdcInsn("invoke");
            generateClassArray
              (clinit, new Class[] { Remote.class, Method.class,
                                     Object[].class, long.class });
            clinit.visitMethodInsn
              (C.INVOKEVIRTUAL,
               Type.getInternalName(Class.class),
               "getMethod",
               Type.getMethodDescriptor
               (Type.getType(Method.class),
                new Type[] { Type.getType(String.class),
                             Type.getType(Class[].class) }));

            // useNewInvoke = true
            clinit.visitInsn(C.ICONST_1);
            clinit.visitFieldInsn
              (C.PUTSTATIC, classInternalName, "useNewInvoke",
               Type.BOOLEAN_TYPE.getDescriptor());
          }

        generateStaticMethodObjs(clinit);

        // jump past handler
        clinit.visitInsn(C.RETURN);
        clinit.visitLabel(handler);
        if (need11Stubs)
          {
            // useNewInvoke = false
            clinit.visitInsn(C.ICONST_0);
            clinit.visitFieldInsn
              (C.PUTSTATIC, classInternalName, "useNewInvoke",
               Type.BOOLEAN_TYPE.getDescriptor());
            clinit.visitInsn(C.RETURN);
          }
        else
          {
            // throw NoSuchMethodError
            clinit.visitTypeInsn(C.NEW, typeArg(NoSuchMethodError.class));
            clinit.visitInsn(C.DUP);
            clinit.visitLdcInsn("stub class initialization failed");
            clinit.visitMethodInsn
              (C.INVOKESPECIAL,
               Type.getInternalName(NoSuchMethodError.class),
               "<init>",
               Type.getMethodDescriptor
               (Type.VOID_TYPE,
                new Type[] { Type.getType(String.class) }));
            clinit.visitInsn(C.ATHROW);
          }

        clinit.visitTryCatchBlock
          (begin, handler, handler,
           Type.getInternalName(NoSuchMethodException.class));

      }

    clinit.visitMaxs(-1, -1);

    generateClassForNamer(stub);

    // Constructors
    if (need11Stubs)
      {
        // no arg public constructor
        CodeVisitor code = stub.visitMethod
          (C.ACC_PUBLIC, "<init>",
           Type.getMethodDescriptor(Type.VOID_TYPE, new Type[] {}),
           null, null);
        code.visitVarInsn(C.ALOAD, 0);
        code.visitMethodInsn
          (C.INVOKESPECIAL, superInternalName, "<init>",
           Type.getMethodDescriptor(Type.VOID_TYPE, new Type[] {}));
        code.visitInsn(C.RETURN);

        code.visitMaxs(-1, -1);
      }

    // public RemoteRef constructor
    CodeVisitor constructor = stub.visitMethod
      (C.ACC_PUBLIC, "<init>",
       Type.getMethodDescriptor
       (Type.VOID_TYPE, new Type[] {Type.getType(RemoteRef.class)}),
       null, null);
    constructor.visitVarInsn(C.ALOAD, 0);
    constructor.visitVarInsn(C.ALOAD, 1);
    constructor.visitMethodInsn
      (C.INVOKESPECIAL, superInternalName, "<init>",
       Type.getMethodDescriptor
       (Type.VOID_TYPE, new Type[] {Type.getType(RemoteRef.class)}));
    constructor.visitInsn(C.RETURN);
    constructor.visitMaxs(-1, -1);

    // Method implementations
    for (int i = 0; i < remotemethods.length; i++)
      {
        Method m = remotemethods[i].meth;
        Class[] sig = m.getParameterTypes();
        Class returntype = m.getReturnType();
        Class[] except = sortExceptions
          ((Class[]) remotemethods[i].exceptions.toArray(new Class[0]));

        CodeVisitor code = stub.visitMethod
          (C.ACC_PUBLIC,
           m.getName(),
           Type.getMethodDescriptor(Type.getType(returntype), typeArray(sig)),
           internalNameArray(typeArray(except)),
           null);

        final Variables var = new Variables();

        // this and parameters are the declared vars
        var.declare("this");
        for (int j = 0; j < sig.length; j++)
          var.declare(param(m, j), size(sig[j]));

        Label methodTryBegin = new Label();
        code.visitLabel(methodTryBegin);

        if (need12Stubs)
          {
            Label oldInvoke = new Label();
            if (need11Stubs)
              {
                // if not useNewInvoke jump to old invoke
                code.visitFieldInsn
                  (C.GETSTATIC, classInternalName, "useNewInvoke",
                   Type.getDescriptor(boolean.class));
                code.visitJumpInsn(C.IFEQ, oldInvoke);
              }

            // this.ref
            code.visitVarInsn(C.ALOAD, var.get("this"));
            code.visitFieldInsn
              (C.GETFIELD, Type.getInternalName(RemoteObject.class),
               "ref", Type.getDescriptor(RemoteRef.class));

            // "this" is first arg to invoke
            code.visitVarInsn(C.ALOAD, var.get("this"));

            // method object is second arg to invoke
            String methName = "$method_" + m.getName() + "_" + i;
            code.visitFieldInsn
              (C.GETSTATIC, classInternalName, methName,
               Type.getDescriptor(Method.class));

            // args to remote method are third arg to invoke
            if (sig.length == 0)
              code.visitInsn(C.ACONST_NULL);
            else
              {
                // create arg Object[] (with boxed primitives) and push it
                code.visitLdcInsn(new Integer(sig.length));
                code.visitTypeInsn(C.ANEWARRAY, typeArg(Object.class));

                var.allocate("argArray");
                code.visitVarInsn(C.ASTORE, var.get("argArray"));

                for (int j = 0; j < sig.length; j++)
                  {
                    int size = size(sig[j]);
                    int insn = loadOpcode(sig[j]);
                    Class box = sig[j].isPrimitive() ? box(sig[j]) : null;

                    code.visitVarInsn(C.ALOAD, var.get("argArray"));
                    code.visitLdcInsn(new Integer(j));

                    // put argument on stack
                    if (box != null)
                      {
                        code.visitTypeInsn(C.NEW, typeArg(box));
                        code.visitInsn(C.DUP);
                        code.visitVarInsn(insn, var.get(param(m, j)));
                        code.visitMethodInsn
                          (C.INVOKESPECIAL,
                           Type.getInternalName(box),
                           "<init>",
                           Type.getMethodDescriptor
                           (Type.VOID_TYPE,
                            new Type[] { Type.getType(sig[j]) }));
                      }
                    else
                      code.visitVarInsn(insn, var.get(param(m, j)));

                    code.visitInsn(C.AASTORE);
                  }

                code.visitVarInsn(C.ALOAD, var.deallocate("argArray"));
              }

            // push remote operation opcode
            code.visitLdcInsn(new Long(remotemethods[i].hash));
            code.visitMethodInsn
              (C.INVOKEINTERFACE,
               Type.getInternalName(RemoteRef.class),
               "invoke",
               Type.getMethodDescriptor
               (Type.getType(Object.class),
                new Type[] { Type.getType(Remote.class),
                             Type.getType(Method.class),
                             Type.getType(Object[].class),
                             Type.LONG_TYPE }));

            if (! returntype.equals(Void.TYPE))
              {
                int retcode = returnOpcode(returntype);
                Class boxCls =
                  returntype.isPrimitive() ? box(returntype) : null;
                code.visitTypeInsn
                  (C.CHECKCAST, typeArg(boxCls == null ? returntype : boxCls));
                if (returntype.isPrimitive())
                  {
                    // unbox
                    code.visitMethodInsn
                      (C.INVOKEVIRTUAL,
                       Type.getType(boxCls).getInternalName(),
                       unboxMethod(returntype),
                       Type.getMethodDescriptor
                       (Type.getType(returntype), new Type[] {}));
                  }

                code.visitInsn(retcode);
              }
            else
              code.visitInsn(C.RETURN);


            if (need11Stubs)
              code.visitLabel(oldInvoke);
          }

        if (need11Stubs)
          {

            // this.ref.newCall(this, operations, index, interfaceHash)
            code.visitVarInsn(C.ALOAD, var.get("this"));
            code.visitFieldInsn
              (C.GETFIELD,
               Type.getInternalName(RemoteObject.class),
               "ref",
               Type.getDescriptor(RemoteRef.class));

            // "this" is first arg to newCall
            code.visitVarInsn(C.ALOAD, var.get("this"));

            // operations is second arg to newCall
            code.visitFieldInsn
              (C.GETSTATIC, classInternalName, "operations",
               Type.getDescriptor(Operation[].class));

            // method index is third arg
            code.visitLdcInsn(new Integer(i));

            // interface hash is fourth arg
            code.visitFieldInsn
              (C.GETSTATIC, classInternalName, "interfaceHash",
               Type.LONG_TYPE.getDescriptor());

            code.visitMethodInsn
              (C.INVOKEINTERFACE,
               Type.getInternalName(RemoteRef.class),
               "newCall",
               Type.getMethodDescriptor
               (Type.getType(RemoteCall.class),
                new Type[] { Type.getType(RemoteObject.class),
                             Type.getType(Operation[].class),
                             Type.INT_TYPE,
                             Type.LONG_TYPE }));

            // store call object on stack and leave copy on stack
            var.allocate("call");
            code.visitInsn(C.DUP);
            code.visitVarInsn(C.ASTORE, var.get("call"));

            Label beginArgumentTryBlock = new Label();
            code.visitLabel(beginArgumentTryBlock);

            // ObjectOutput out = call.getOutputStream();
            code.visitMethodInsn
              (C.INVOKEINTERFACE,
               Type.getInternalName(RemoteCall.class),
               "getOutputStream",
               Type.getMethodDescriptor
               (Type.getType(ObjectOutput.class), new Type[] {}));

            for (int j = 0; j < sig.length; j++)
              {
                // dup the ObjectOutput
                code.visitInsn(C.DUP);

                // get j'th arg to remote method
                code.visitVarInsn(loadOpcode(sig[j]), var.get(param(m, j)));

                Class argCls =
                  sig[j].isPrimitive() ? sig[j] : Object.class;

                // out.writeFoo
                code.visitMethodInsn
                  (C.INVOKEINTERFACE,
                   Type.getInternalName(ObjectOutput.class),
                   writeMethod(sig[j]),
                   Type.getMethodDescriptor
                   (Type.VOID_TYPE,
                    new Type[] { Type.getType(argCls) }));
              }

            // pop ObjectOutput
            code.visitInsn(C.POP);

            Label iohandler = new Label();
            Label endArgumentTryBlock = new Label();
            code.visitJumpInsn(C.GOTO, endArgumentTryBlock);
            code.visitLabel(iohandler);

            // throw new MarshalException(msg, ioexception);
            code.visitVarInsn(C.ASTORE, var.allocate("exception"));
            code.visitTypeInsn(C.NEW, typeArg(MarshalException.class));
            code.visitInsn(C.DUP);
            code.visitLdcInsn("error marshalling arguments");
            code.visitVarInsn(C.ALOAD, var.deallocate("exception"));
            code.visitMethodInsn
              (C.INVOKESPECIAL,
               Type.getInternalName(MarshalException.class),
               "<init>",
               Type.getMethodDescriptor
               (Type.VOID_TYPE,
                new Type[] { Type.getType(String.class),
                             Type.getType(Exception.class) }));
            code.visitInsn(C.ATHROW);

            code.visitLabel(endArgumentTryBlock);
            code.visitTryCatchBlock
              (beginArgumentTryBlock, iohandler, iohandler,
               Type.getInternalName(IOException.class));

            // this.ref.invoke(call)
            code.visitVarInsn(C.ALOAD, var.get("this"));
            code.visitFieldInsn
              (C.GETFIELD, Type.getInternalName(RemoteObject.class),
               "ref", Type.getDescriptor(RemoteRef.class));
            code.visitVarInsn(C.ALOAD, var.get("call"));
            code.visitMethodInsn
              (C.INVOKEINTERFACE,
               Type.getInternalName(RemoteRef.class),
               "invoke",
               Type.getMethodDescriptor
               (Type.VOID_TYPE,
                new Type[] { Type.getType(RemoteCall.class) }));

            // handle return value
            boolean needcastcheck = false;

            Label beginReturnTryCatch = new Label();
            code.visitLabel(beginReturnTryCatch);

            int returncode = returnOpcode(returntype);

            if (! returntype.equals(Void.TYPE))
              {
                // call.getInputStream()
                code.visitVarInsn(C.ALOAD, var.get("call"));
                code.visitMethodInsn
                  (C.INVOKEINTERFACE,
                   Type.getInternalName(RemoteCall.class),
                   "getInputStream",
                   Type.getMethodDescriptor
                   (Type.getType(ObjectInput.class), new Type[] {}));

                Class readCls =
                  returntype.isPrimitive() ? returntype : Object.class;
                code.visitMethodInsn
                  (C.INVOKEINTERFACE,
                   Type.getInternalName(ObjectInput.class),
                   readMethod(returntype),
                   Type.getMethodDescriptor
                   (Type.getType(readCls), new Type[] {}));

                boolean castresult = false;

                if (! returntype.isPrimitive())
                  {
                    if (! returntype.equals(Object.class))
                      castresult = true;
                    else
                      needcastcheck = true;
                  }

                if (castresult)
                  code.visitTypeInsn(C.CHECKCAST, typeArg(returntype));

                // leave result on stack for return
              }

            // this.ref.done(call)
            code.visitVarInsn(C.ALOAD, var.get("this"));
            code.visitFieldInsn
              (C.GETFIELD,
               Type.getInternalName(RemoteObject.class),
               "ref",
               Type.getDescriptor(RemoteRef.class));
            code.visitVarInsn(C.ALOAD, var.deallocate("call"));
            code.visitMethodInsn
              (C.INVOKEINTERFACE,
               Type.getInternalName(RemoteRef.class),
               "done",
               Type.getMethodDescriptor
               (Type.VOID_TYPE,
                new Type[] { Type.getType(RemoteCall.class) }));

            // return; or return result;
            code.visitInsn(returncode);

            // exception handler
            Label handler = new Label();
            code.visitLabel(handler);
            code.visitVarInsn(C.ASTORE, var.allocate("exception"));

            // throw new UnmarshalException(msg, e)
            code.visitTypeInsn(C.NEW, typeArg(UnmarshalException.class));
            code.visitInsn(C.DUP);
            code.visitLdcInsn("error unmarshalling return");
            code.visitVarInsn(C.ALOAD, var.deallocate("exception"));
            code.visitMethodInsn
              (C.INVOKESPECIAL,
               Type.getInternalName(UnmarshalException.class),
               "<init>",
               Type.getMethodDescriptor
               (Type.VOID_TYPE,
                new Type[] { Type.getType(String.class),
                             Type.getType(Exception.class) }));
            code.visitInsn(C.ATHROW);

            Label endReturnTryCatch = new Label();

            // catch IOException
            code.visitTryCatchBlock
              (beginReturnTryCatch, handler, handler,
               Type.getInternalName(IOException.class));

            if (needcastcheck)
              {
                // catch ClassNotFoundException
                code.visitTryCatchBlock
                  (beginReturnTryCatch, handler, handler,
                   Type.getInternalName(ClassNotFoundException.class));
              }
          }

        Label rethrowHandler = new Label();
        code.visitLabel(rethrowHandler);
        // rethrow declared exceptions
        code.visitInsn(C.ATHROW);

        boolean needgeneral = true;
        for (int j = 0; j < except.length; j++)
          {
            if (except[j] == Exception.class)
              needgeneral = false;
          }

        for (int j = 0; j < except.length; j++)
          {
            code.visitTryCatchBlock
              (methodTryBegin, rethrowHandler, rethrowHandler,
               Type.getInternalName(except[j]));
          }

        if (needgeneral)
          {
            // rethrow unchecked exceptions
            code.visitTryCatchBlock
              (methodTryBegin, rethrowHandler, rethrowHandler,
               Type.getInternalName(RuntimeException.class));

            Label generalHandler = new Label();
            code.visitLabel(generalHandler);
            String msg = "undeclared checked exception";

            // throw new java.rmi.UnexpectedException(msg, e)
            code.visitVarInsn(C.ASTORE, var.allocate("exception"));
            code.visitTypeInsn(C.NEW, typeArg(UnexpectedException.class));
            code.visitInsn(C.DUP);
            code.visitLdcInsn(msg);
            code.visitVarInsn(C.ALOAD, var.deallocate("exception"));
            code.visitMethodInsn
              (C.INVOKESPECIAL,
               Type.getInternalName(UnexpectedException.class),
               "<init>",
               Type.getMethodDescriptor
               (Type.VOID_TYPE,
                new Type [] { Type.getType(String.class),
                              Type.getType(Exception.class) }));
            code.visitInsn(C.ATHROW);

            code.visitTryCatchBlock
              (methodTryBegin, rethrowHandler, generalHandler,
               Type.getInternalName(Exception.class));
          }

        code.visitMaxs(-1, -1);
      }

    stub.visitEnd();
    byte[] classData = stub.toByteArray();
    if (file.exists())
      file.delete();
    if (file.getParentFile() != null)
      file.getParentFile().mkdirs();
    FileOutputStream fos = new FileOutputStream(file);
    fos.write(classData);
    fos.flush();
    fos.close();
  }

  private void generateSkel() throws IOException
  {
    skelname = fullclassname + "_Skel";
    String skelclassname = classname + "_Skel";
    File file = new File(destination == null ? "" : destination
                         + File.separator
                         + skelname.replace('.', File.separatorChar)
                         + ".class");
    if (verbose)
      System.out.println("[Generating class " + skelname + "]");

    final ClassWriter skel = new ClassWriter(true);
    classInternalName = skelname.replace('.', '/');
    skel.visit
      (C.V1_1, C.ACC_PUBLIC + C.ACC_FINAL,
       classInternalName, Type.getInternalName(Object.class),
       new String[] { Type.getType(Skeleton.class).getInternalName() }, null);

    skel.visitField
      (C.ACC_PRIVATE + C.ACC_STATIC + C.ACC_FINAL, "interfaceHash",
       Type.LONG_TYPE.getDescriptor(),
       new Long(RMIHashes.getInterfaceHash(clazz)),
       null);

    skel.visitField
      (C.ACC_PRIVATE + C.ACC_STATIC + C.ACC_FINAL, "operations",
       Type.getDescriptor(Operation[].class), null, null);

    CodeVisitor clinit = skel.visitMethod
      (C.ACC_STATIC, "<clinit>",
       Type.getMethodDescriptor(Type.VOID_TYPE, new Type[] {}), null, null);

    fillOperationArray(clinit);
    clinit.visitInsn(C.RETURN);

    clinit.visitMaxs(-1, -1);

    // no arg public constructor
    CodeVisitor init = skel.visitMethod
      (C.ACC_PUBLIC, "<init>",
       Type.getMethodDescriptor(Type.VOID_TYPE, new Type[] {}), null, null);
    init.visitVarInsn(C.ALOAD, 0);
    init.visitMethodInsn
      (C.INVOKESPECIAL, Type.getInternalName(Object.class), "<init>",
       Type.getMethodDescriptor(Type.VOID_TYPE, new Type[] {}));
    init.visitInsn(C.RETURN);
    init.visitMaxs(-1, -1);

    /*
     * public Operation[] getOperations()
     * returns a clone of the operations array
     */
    CodeVisitor getOp = skel.visitMethod
      (C.ACC_PUBLIC, "getOperations",
       Type.getMethodDescriptor
       (Type.getType(Operation[].class), new Type[] {}),
       null, null);
    getOp.visitFieldInsn
      (C.GETSTATIC, classInternalName, "operations",
       Type.getDescriptor(Operation[].class));
    getOp.visitMethodInsn
      (C.INVOKEVIRTUAL, Type.getInternalName(Object.class),
       "clone", Type.getMethodDescriptor(Type.getType(Object.class),
                                         new Type[] {}));
    getOp.visitTypeInsn(C.CHECKCAST, typeArg(Operation[].class));
    getOp.visitInsn(C.ARETURN);
    getOp.visitMaxs(-1, -1);

    // public void dispatch(Remote, RemoteCall, int opnum, long hash)
    CodeVisitor dispatch = skel.visitMethod
      (C.ACC_PUBLIC,
       "dispatch",
       Type.getMethodDescriptor
       (Type.VOID_TYPE,
        new Type[] { Type.getType(Remote.class),
                     Type.getType(RemoteCall.class),
                     Type.INT_TYPE, Type.LONG_TYPE }),
       new String[] { Type.getInternalName(Exception.class) },
       null);

    Variables var = new Variables();
    var.declare("this");
    var.declare("remoteobj");
    var.declare("remotecall");
    var.declare("opnum");
    var.declareWide("hash");

    /*
     * if opnum >= 0
     * XXX it is unclear why there is handling of negative opnums
     */
    dispatch.visitVarInsn(C.ILOAD, var.get("opnum"));
    Label nonNegativeOpnum = new Label();
    Label opnumSet = new Label();
    dispatch.visitJumpInsn(C.IFGE, nonNegativeOpnum);

    for (int i = 0; i < remotemethods.length; i++)
      {
        // assign opnum if hash matches supplied hash
        dispatch.visitVarInsn(C.LLOAD, var.get("hash"));
        dispatch.visitLdcInsn(new Long(remotemethods[i].hash));
        Label notIt = new Label();
        dispatch.visitInsn(C.LCMP);
        dispatch.visitJumpInsn(C.IFNE, notIt);

        // opnum = <opnum>
        dispatch.visitLdcInsn(new Integer(i));
        dispatch.visitVarInsn(C.ISTORE, var.get("opnum"));
        dispatch.visitJumpInsn(C.GOTO, opnumSet);
        dispatch.visitLabel(notIt);
      }

    // throw new SkeletonMismatchException
    Label mismatch = new Label();
    dispatch.visitJumpInsn(C.GOTO, mismatch);

    dispatch.visitLabel(nonNegativeOpnum);

    // if opnum is already set, check that the hash matches the interface
    dispatch.visitVarInsn(C.LLOAD, var.get("hash"));
    dispatch.visitFieldInsn
      (C.GETSTATIC, classInternalName,
       "interfaceHash", Type.LONG_TYPE.getDescriptor());
    dispatch.visitInsn(C.LCMP);
    dispatch.visitJumpInsn(C.IFEQ, opnumSet);

    dispatch.visitLabel(mismatch);
    dispatch.visitTypeInsn
      (C.NEW, typeArg(SkeletonMismatchException.class));
    dispatch.visitInsn(C.DUP);
    dispatch.visitLdcInsn("interface hash mismatch");
    dispatch.visitMethodInsn
      (C.INVOKESPECIAL,
       Type.getInternalName(SkeletonMismatchException.class),
       "<init>",
       Type.getMethodDescriptor
       (Type.VOID_TYPE, new Type[] { Type.getType(String.class) }));
    dispatch.visitInsn(C.ATHROW);

    // opnum has been set
    dispatch.visitLabel(opnumSet);

    dispatch.visitVarInsn(C.ALOAD, var.get("remoteobj"));
    dispatch.visitTypeInsn(C.CHECKCAST, typeArg(clazz));
    dispatch.visitVarInsn(C.ASTORE, var.get("remoteobj"));

    Label deflt = new Label();
    Label[] methLabels = new Label[remotemethods.length];
    for (int i = 0; i < methLabels.length; i++)
      methLabels[i] = new Label();

    // switch on opnum
    dispatch.visitVarInsn(C.ILOAD, var.get("opnum"));
    dispatch.visitTableSwitchInsn
      (0, remotemethods.length - 1, deflt, methLabels);

    // Method dispatch
    for (int i = 0; i < remotemethods.length; i++)
      {
        dispatch.visitLabel(methLabels[i]);
        Method m = remotemethods[i].meth;
        generateMethodSkel(dispatch, m, var);
      }

    dispatch.visitLabel(deflt);
    dispatch.visitTypeInsn(C.NEW, typeArg(UnmarshalException.class));
    dispatch.visitInsn(C.DUP);
    dispatch.visitLdcInsn("invalid method number");
    dispatch.visitMethodInsn
      (C.INVOKESPECIAL,
       Type.getInternalName(UnmarshalException.class),
       "<init>",
       Type.getMethodDescriptor
       (Type.VOID_TYPE, new Type[] { Type.getType(String.class) }));
    dispatch.visitInsn(C.ATHROW);

    dispatch.visitMaxs(-1, -1);

    skel.visitEnd();
    byte[] classData = skel.toByteArray();
    if (file.exists())
      file.delete();
    if (file.getParentFile() != null)
      file.getParentFile().mkdirs();
    FileOutputStream fos = new FileOutputStream(file);
    fos.write(classData);
    fos.flush();
    fos.close();
  }

  private void generateMethodSkel(CodeVisitor cv, Method m, Variables var)
  {
    Class[] sig = m.getParameterTypes();

    Label readArgs = new Label();
    cv.visitLabel(readArgs);

    boolean needcastcheck = false;

    // ObjectInput in = call.getInputStream();
    cv.visitVarInsn(C.ALOAD, var.get("remotecall"));
    cv.visitMethodInsn
      (C.INVOKEINTERFACE,
       Type.getInternalName(RemoteCall.class), "getInputStream",
       Type.getMethodDescriptor
       (Type.getType(ObjectInput.class), new Type[] {}));
    cv.visitVarInsn(C.ASTORE, var.allocate("objectinput"));

    for (int i = 0; i < sig.length; i++)
      {
        // dup input stream
        cv.visitVarInsn(C.ALOAD, var.get("objectinput"));

        Class readCls = sig[i].isPrimitive() ? sig[i] : Object.class;

        // in.readFoo()
        cv.visitMethodInsn
          (C.INVOKEINTERFACE,
           Type.getInternalName(ObjectInput.class),
           readMethod(sig[i]),
           Type.getMethodDescriptor
           (Type.getType(readCls), new Type [] {}));

        if (! sig[i].isPrimitive() && ! sig[i].equals(Object.class))
          {
            needcastcheck = true;
            cv.visitTypeInsn(C.CHECKCAST, typeArg(sig[i]));
          }

        // store arg in variable
        cv.visitVarInsn
          (storeOpcode(sig[i]), var.allocate(param(m, i), size(sig[i])));
      }

    var.deallocate("objectinput");

    Label doCall = new Label();
    Label closeInput = new Label();

    cv.visitJumpInsn(C.JSR, closeInput);
    cv.visitJumpInsn(C.GOTO, doCall);

    // throw new UnmarshalException
    Label handler = new Label();
    cv.visitLabel(handler);
    cv.visitVarInsn(C.ASTORE, var.allocate("exception"));
    cv.visitTypeInsn(C.NEW, typeArg(UnmarshalException.class));
    cv.visitInsn(C.DUP);
    cv.visitLdcInsn("error unmarshalling arguments");
    cv.visitVarInsn(C.ALOAD, var.deallocate("exception"));
    cv.visitMethodInsn
      (C.INVOKESPECIAL,
       Type.getInternalName(UnmarshalException.class),
       "<init>",
       Type.getMethodDescriptor
       (Type.VOID_TYPE, new Type[] { Type.getType(String.class),
                                     Type.getType(Exception.class) }));
    cv.visitVarInsn(C.ASTORE, var.allocate("toThrow"));
    cv.visitJumpInsn(C.JSR, closeInput);
    cv.visitVarInsn(C.ALOAD, var.get("toThrow"));
    cv.visitInsn(C.ATHROW);

    cv.visitTryCatchBlock
      (readArgs, handler, handler, Type.getInternalName(IOException.class));
    if (needcastcheck)
      {
        cv.visitTryCatchBlock
          (readArgs, handler, handler,
           Type.getInternalName(ClassCastException.class));
      }

    // finally block
    cv.visitLabel(closeInput);
    cv.visitVarInsn(C.ASTORE, var.allocate("retAddress"));
    cv.visitVarInsn(C.ALOAD, var.get("remotecall"));
    cv.visitMethodInsn
      (C.INVOKEINTERFACE,
       Type.getInternalName(RemoteCall.class),
       "releaseInputStream",
       Type.getMethodDescriptor(Type.VOID_TYPE, new Type[] {}));
    cv.visitVarInsn(C.RET, var.deallocate("retAddress"));
    var.deallocate("toThrow");

    // do the call using args stored as variables
    cv.visitLabel(doCall);
    cv.visitVarInsn(C.ALOAD, var.get("remoteobj"));
    for (int i = 0; i < sig.length; i++)
      cv.visitVarInsn(loadOpcode(sig[i]), var.deallocate(param(m, i)));
    cv.visitMethodInsn
      (C.INVOKEVIRTUAL, Type.getInternalName(clazz), m.getName(),
       Type.getMethodDescriptor(m));

    Class returntype = m.getReturnType();
    if (! returntype.equals(Void.TYPE))
      {
        cv.visitVarInsn
          (storeOpcode(returntype), var.allocate("result", size(returntype)));
      }

    // write result to result stream
    Label writeResult = new Label();
    cv.visitLabel(writeResult);
    cv.visitVarInsn(C.ALOAD, var.get("remotecall"));
    cv.visitInsn(C.ICONST_1);
    cv.visitMethodInsn
      (C.INVOKEINTERFACE,
       Type.getInternalName(RemoteCall.class),
       "getResultStream",
       Type.getMethodDescriptor
       (Type.getType(ObjectOutput.class),
        new Type[] { Type.BOOLEAN_TYPE }));

    if (! returntype.equals(Void.TYPE))
      {
        // out.writeFoo(result)
        cv.visitVarInsn(loadOpcode(returntype), var.deallocate("result"));
        Class writeCls = returntype.isPrimitive() ? returntype : Object.class;
        cv.visitMethodInsn
          (C.INVOKEINTERFACE,
           Type.getInternalName(ObjectOutput.class),
           writeMethod(returntype),
           Type.getMethodDescriptor
           (Type.VOID_TYPE, new Type[] { Type.getType(writeCls) }));
      }

    cv.visitInsn(C.RETURN);

    // throw new MarshalException
    Label marshalHandler = new Label();
    cv.visitLabel(marshalHandler);
    cv.visitVarInsn(C.ASTORE, var.allocate("exception"));
    cv.visitTypeInsn(C.NEW, typeArg(MarshalException.class));
    cv.visitInsn(C.DUP);
    cv.visitLdcInsn("error marshalling return");
    cv.visitVarInsn(C.ALOAD, var.deallocate("exception"));
    cv.visitMethodInsn
      (C.INVOKESPECIAL,
       Type.getInternalName(MarshalException.class),
       "<init>",
       Type.getMethodDescriptor
       (Type.VOID_TYPE, new Type[] { Type.getType(String.class),
                                     Type.getType(Exception.class) }));
    cv.visitInsn(C.ATHROW);
    cv.visitTryCatchBlock
      (writeResult, marshalHandler, marshalHandler,
       Type.getInternalName(IOException.class));
  }

  private static String typeArg(Class cls)
  {
    if (cls.isArray())
      return Type.getDescriptor(cls);

    return Type.getInternalName(cls);
  }

  private static String readMethod(Class cls)
  {
    if (cls.equals(Void.TYPE))
      throw new IllegalArgumentException("can not read void");

    String method;
    if (cls.equals(Boolean.TYPE))
      method = "readBoolean";
    else if (cls.equals(Byte.TYPE))
      method = "readByte";
    else if (cls.equals(Character.TYPE))
      method = "readChar";
    else if (cls.equals(Short.TYPE))
      method = "readShort";
    else if (cls.equals(Integer.TYPE))
      method = "readInt";
    else if (cls.equals(Long.TYPE))
      method = "readLong";
    else if (cls.equals(Float.TYPE))
      method = "readFloat";
    else if (cls.equals(Double.TYPE))
      method = "readDouble";
    else
      method = "readObject";

    return method;
  }

  private static String writeMethod(Class cls)
  {
    if (cls.equals(Void.TYPE))
      throw new IllegalArgumentException("can not read void");

    String method;
    if (cls.equals(Boolean.TYPE))
      method = "writeBoolean";
    else if (cls.equals(Byte.TYPE))
      method = "writeByte";
    else if (cls.equals(Character.TYPE))
      method = "writeChar";
    else if (cls.equals(Short.TYPE))
      method = "writeShort";
    else if (cls.equals(Integer.TYPE))
      method = "writeInt";
    else if (cls.equals(Long.TYPE))
      method = "writeLong";
    else if (cls.equals(Float.TYPE))
      method = "writeFloat";
    else if (cls.equals(Double.TYPE))
      method = "writeDouble";
    else
      method = "writeObject";

    return method;
  }

  private static int returnOpcode(Class cls)
  {
    int returncode;
    if (cls.equals(Boolean.TYPE))
      returncode = C.IRETURN;
    else if (cls.equals(Byte.TYPE))
      returncode = C.IRETURN;
    else if (cls.equals(Character.TYPE))
      returncode = C.IRETURN;
    else if (cls.equals(Short.TYPE))
      returncode = C.IRETURN;
    else if (cls.equals(Integer.TYPE))
      returncode = C.IRETURN;
    else if (cls.equals(Long.TYPE))
      returncode = C.LRETURN;
    else if (cls.equals(Float.TYPE))
      returncode = C.FRETURN;
    else if (cls.equals(Double.TYPE))
      returncode = C.DRETURN;
    else if (cls.equals(Void.TYPE))
      returncode = C.RETURN;
    else
      returncode = C.ARETURN;

    return returncode;
  }

  private static int loadOpcode(Class cls)
  {
    if (cls.equals(Void.TYPE))
      throw new IllegalArgumentException("can not load void");

    int loadcode;
    if (cls.equals(Boolean.TYPE))
      loadcode = C.ILOAD;
    else if (cls.equals(Byte.TYPE))
      loadcode = C.ILOAD;
    else if (cls.equals(Character.TYPE))
      loadcode = C.ILOAD;
    else if (cls.equals(Short.TYPE))
      loadcode = C.ILOAD;
    else if (cls.equals(Integer.TYPE))
      loadcode = C.ILOAD;
    else if (cls.equals(Long.TYPE))
      loadcode = C.LLOAD;
    else if (cls.equals(Float.TYPE))
      loadcode = C.FLOAD;
    else if (cls.equals(Double.TYPE))
      loadcode = C.DLOAD;
    else
      loadcode = C.ALOAD;

    return loadcode;
  }

  private static int storeOpcode(Class cls)
  {
    if (cls.equals(Void.TYPE))
      throw new IllegalArgumentException("can not load void");

    int storecode;
    if (cls.equals(Boolean.TYPE))
      storecode = C.ISTORE;
    else if (cls.equals(Byte.TYPE))
      storecode = C.ISTORE;
    else if (cls.equals(Character.TYPE))
      storecode = C.ISTORE;
    else if (cls.equals(Short.TYPE))
      storecode = C.ISTORE;
    else if (cls.equals(Integer.TYPE))
      storecode = C.ISTORE;
    else if (cls.equals(Long.TYPE))
      storecode = C.LSTORE;
    else if (cls.equals(Float.TYPE))
      storecode = C.FSTORE;
    else if (cls.equals(Double.TYPE))
      storecode = C.DSTORE;
    else
      storecode = C.ASTORE;

    return storecode;
  }

  private static String unboxMethod(Class primitive)
  {
    if (! primitive.isPrimitive())
      throw new IllegalArgumentException("can not unbox nonprimitive");

    String method;
    if (primitive.equals(Boolean.TYPE))
      method = "booleanValue";
    else if (primitive.equals(Byte.TYPE))
      method = "byteValue";
    else if (primitive.equals(Character.TYPE))
      method = "charValue";
    else if (primitive.equals(Short.TYPE))
      method = "shortValue";
    else if (primitive.equals(Integer.TYPE))
      method = "intValue";
    else if (primitive.equals(Long.TYPE))
      method = "longValue";
    else if (primitive.equals(Float.TYPE))
      method = "floatValue";
    else if (primitive.equals(Double.TYPE))
      method = "doubleValue";
    else
      throw new IllegalStateException("unknown primitive class " + primitive);

    return method;
  }

  public static Class box(Class cls)
  {
    if (! cls.isPrimitive())
      throw new IllegalArgumentException("can only box primitive");

    Class box;
    if (cls.equals(Boolean.TYPE))
      box = Boolean.class;
    else if (cls.equals(Byte.TYPE))
      box = Byte.class;
    else if (cls.equals(Character.TYPE))
      box = Character.class;
    else if (cls.equals(Short.TYPE))
      box = Short.class;
    else if (cls.equals(Integer.TYPE))
      box = Integer.class;
    else if (cls.equals(Long.TYPE))
      box = Long.class;
    else if (cls.equals(Float.TYPE))
      box = Float.class;
    else if (cls.equals(Double.TYPE))
      box = Double.class;
    else
      throw new IllegalStateException("unknown primitive type " + cls);

    return box;
  }

  private static int size(Class cls) {
    if (cls.equals(Long.TYPE) || cls.equals(Double.TYPE))
      return 2;
    else
      return 1;
  }

  /**
   * Sort exceptions so the most general go last.
   */
  private Class[] sortExceptions(Class[] except)
  {
    for (int i = 0; i < except.length; i++)
      {
	for (int j = i + 1; j < except.length; j++)
	  {
	    if (except[i].isAssignableFrom(except[j]))
	      {
		Class tmp = except[i];
		except[i] = except[j];
		except[j] = tmp;
	      }
	  }
      }
    return (except);
  }

  /**
   * Process the options until we find the first argument.
   */
  private void parseOptions()
  {
    for (;;)
      {
	if (next >= args.length || args[next].charAt(0) != '-')
	  break;
	String arg = args[next];
	next++;

	// Accept `--' options if they look long enough.
	if (arg.length() > 3 && arg.charAt(0) == '-' && arg.charAt(1) == '-')
	  arg = arg.substring(1);

	if (arg.equals("-keep"))
	  keep = true;
	else if (arg.equals("-keepgenerated"))
	  keep = true;
	else if (arg.equals("-v1.1"))
	  {
	    need11Stubs = true;
	    need12Stubs = false;
	  }
	else if (arg.equals("-vcompat"))
	  {
	    need11Stubs = true;
	    need12Stubs = true;
	  }
	else if (arg.equals("-v1.2"))
	  {
	    need11Stubs = false;
	    need12Stubs = true;
	  }
	else if (arg.equals("-g"))
	  {
	  }
	else if (arg.equals("-depend"))
	  {
	  }
	else if (arg.equals("-nowarn"))
	  {
	  }
	else if (arg.equals("-verbose"))
	  verbose = true;
	else if (arg.equals("-nocompile"))
	  compile = false;
	else if (arg.equals("-classpath"))
          {
            classpath = args[next];
            next++;
            StringTokenizer st =
              new StringTokenizer(classpath, File.pathSeparator);
            URL[] u = new URL[st.countTokens()];
            for (int i = 0; i < u.length; i++)
              {
                String path = st.nextToken();
                File f = new File(path);
                try
                  {
                    u[i] = f.toURL();
                  }
                catch (java.net.MalformedURLException mue)
                  {
                    error("malformed classpath component " + path);
                  }
              }
            loader = new URLClassLoader(u);
          }
	else if (arg.equals("-help"))
	  usage();
	else if (arg.equals("-version"))
	  {
	    System.out.println("rmic (" + System.getProperty("java.vm.name")
	                       + ") " + System.getProperty("java.vm.version"));
	    System.out.println();
	    System.out.println("Copyright 2002 Free Software Foundation, Inc.");
	    System.out.println("This is free software; see the source for copying conditions.  There is NO");
	    System.out.println("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.");
	    System.exit(0);
	  }
	else if (arg.equals("-d"))
	  {
	    destination = args[next];
	    next++;
	  }
	else if (arg.charAt(1) == 'J')
	  {
	  }
	else
	  error("unrecognized option `" + arg + "'");
      }
  }

  private void findRemoteMethods() {
    List rmeths = new ArrayList();
    for (Class cur = clazz; cur != null; cur = cur.getSuperclass())
      {
        Class[] interfaces = cur.getInterfaces();
        for (int i = 0; i < interfaces.length; i++)
          {
            if (java.rmi.Remote.class.isAssignableFrom(interfaces[i]))
              {
                Class remoteInterface = interfaces[i];
                if (verbose)
                  System.out.println
                    ("[implements " + remoteInterface.getName() + "]");

                // check if the methods declare RemoteExceptions
                Method[] meths = remoteInterface.getMethods();
                for (int j = 0; j < meths.length; j++)
                  {
                    Method m = meths[j];
                    Class[] exs = m.getExceptionTypes();

                    boolean throwsRemote = false;
                    for (int k = 0; k < exs.length; k++)
                      {
                        if (exs[k].isAssignableFrom(RemoteException.class))
                          throwsRemote = true;
                      }

                    if (! throwsRemote)
                      {
                        logError("Method " + m
                                 + " does not throw a RemoteException");
                        continue;
                      }

                    rmeths.add(m);
                  }

                mRemoteInterfaces.add(remoteInterface);
              }
          }
      }

    // intersect exceptions for doubly inherited methods
    boolean[] skip = new boolean[rmeths.size()];
    for (int i = 0; i < skip.length; i++)
      skip[i] = false;
    List methrefs = new ArrayList();
    for (int i = 0; i < rmeths.size(); i++)
      {
        if (skip[i]) continue;
        Method current = (Method) rmeths.get(i);
        MethodRef ref = new MethodRef(current);
        for (int j = i+1; j < rmeths.size(); j++)
          {
            Method other = (Method) rmeths.get(j);
            if (ref.isMatch(other))
              {
                ref.intersectExceptions(other);
                skip[j] = true;
              }
          }
        methrefs.add(ref);
      }

    // Convert into a MethodRef array and sort them
    remotemethods = (MethodRef[])
      methrefs.toArray(new MethodRef[methrefs.size()]);
    Arrays.sort(remotemethods);
  }

  /**
   * Prints an error to System.err and increases the error count.
   * @param theError
   */
  private void logError(String theError)
  {
    errorCount++;
    System.err.println("error:" + theError);
  }

  private static void error(String message)
  {
    System.err.println("rmic: " + message);
    System.err.println("Try `rmic --help' for more information.");
    System.exit(1);
  }

  private static void usage()
  {
    System.out.println("Usage: rmic [OPTION]... CLASS...\n" + "\n"
                       + "	-keep *			Don't delete any intermediate files\n"
                       + "	-keepgenerated *	Same as -keep\n"
                       + "	-v1.1			Java 1.1 style stubs only\n"
                       + "	-vcompat		Java 1.1 & Java 1.2 stubs\n"
                       + "	-v1.2			Java 1.2 style stubs only\n"
                       + "	-g *			Generated debugging information\n"
                       + "	-depend *		Recompile out-of-date files\n"
                       + "	-nowarn	*		Suppress warning messages\n"
                       + "	-nocompile *		Don't compile the generated files\n"
                       + "	-verbose 		Output what's going on\n"
                       + "	-classpath <path> 	Use given path as classpath\n"
                       + "	-d <directory> 		Specify where to place generated classes\n"
                       + "	-J<flag> *		Pass flag to Java\n"
                       + "	-help			Print this help, then exit\n"
                       + "	-version		Print version number, then exit\n" + "\n"
                       + "  * Option currently ignored\n"
                       + "Long options can be used with `--option' form as well.");
    System.exit(0);
  }

  private static String getPrettyName(Class cls)
  {
    StringBuffer str = new StringBuffer();
    for (int count = 0;; count++)
      {
	if (! cls.isArray())
	  {
	    str.append(cls.getName());
	    for (; count > 0; count--)
	      str.append("[]");
	    return (str.toString());
	  }
	cls = cls.getComponentType();
      }
  }

  private static class MethodRef
    implements Comparable
  {
    Method meth;
    long hash;
    List exceptions;
    private String sig;

    MethodRef(Method m) {
      meth = m;
      sig = Type.getMethodDescriptor(meth);
      hash = RMIHashes.getMethodHash(m);
      // add exceptions removing subclasses
      exceptions = removeSubclasses(m.getExceptionTypes());
    }

    public int compareTo(Object obj) {
      MethodRef that = (MethodRef) obj;
      int name = this.meth.getName().compareTo(that.meth.getName());
      if (name == 0) {
        return this.sig.compareTo(that.sig);
      }
      return name;
    }

    public boolean isMatch(Method m)
    {
      if (!meth.getName().equals(m.getName()))
        return false;

      Class[] params1 = meth.getParameterTypes();
      Class[] params2 = m.getParameterTypes();
      if (params1.length != params2.length)
        return false;

      for (int i = 0; i < params1.length; i++)
        if (!params1[i].equals(params2[i])) return false;

      return true;
    }

    private static List removeSubclasses(Class[] classes)
    {
      List list = new ArrayList();
      for (int i = 0; i < classes.length; i++)
        {
          Class candidate = classes[i];
          boolean add = true;
          for (int j = 0; j < classes.length; j++)
            {
              if (classes[j].equals(candidate))
                continue;
              else if (classes[j].isAssignableFrom(candidate))
                add = false;
            }
          if (add) list.add(candidate);
        }

      return list;
    }

    public void intersectExceptions(Method m)
    {
      List incoming = removeSubclasses(m.getExceptionTypes());

      List updated = new ArrayList();

      for (int i = 0; i < exceptions.size(); i++)
        {
          Class outer = (Class) exceptions.get(i);
          boolean addOuter = false;
          for (int j = 0; j < incoming.size(); j++)
            {
              Class inner = (Class) incoming.get(j);

              if (inner.equals(outer) || inner.isAssignableFrom(outer))
                addOuter = true;
              else if (outer.isAssignableFrom(inner))
                updated.add(inner);
            }

          if (addOuter)
            updated.add(outer);
        }

      exceptions = updated;
    }
  }
}

--------------010600040504090904010406
Content-Type: text/x-java;
 name="Variables.java"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Variables.java"

/* Variables.java --
   Copyright (c) 2004, 2005
   Free Software Foundation, Inc.

This file is part of GNU Classpath.

GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING.  If not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */

package gnu.classpath.tools.rmi.rmic;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;

class Variables
{
  private final HashSet free = new HashSet();
  private final HashMap names = new HashMap();
  private final HashSet wides = new HashSet();
  private final HashSet declared = new HashSet();
  private boolean allocated = false;

  public void declare(Object name)
  {
    declare(name, 1);
  }

  public void declareWide(Object name)
  {
    declare(name, 2);
  }

  public void declare(Object name, int size)
  {
    if (allocated)
      throw new IllegalStateException("cannot declare after allocating");
    if (size != 1 && size != 2)
      throw new IllegalArgumentException("size must be 1 or 2");
    if (names.containsKey(name))
      throw new IllegalStateException("already allocated " + name);

    allocateNew(name, size);
    declared.add(name);
  }

  private int allocateNew(Object name, int size)
  {
    // total allocation size is first unallocated slot
    int i = free.size() + names.size() + wides.size();
    names.put(name, new Integer(i));
    if (size == 2) wides.add(name);
    return i;
  }

  public int allocate(Object name)
  {
    return allocate(name, 1);
  }

  public int allocateWide(Object name)
  {
    return allocate(name, 2);
  }

  public int allocate(Object name, int size)
  {
    allocated = true;
    if (size != 1 && size != 2)
      throw new IllegalArgumentException("size must be 1 or 2");
    if (names.containsKey(name))
      throw new IllegalStateException("already allocated " + name);

    if (size == 2)
      {
        // look for consecutive free slots
        for (Iterator it = free.iterator(); it.hasNext(); )
          {
            Integer i = (Integer) it.next();
            Integer next = new Integer(i.intValue() + 1);
            if (free.contains(next))
              {
                free.remove(i);
                free.remove(next);
                wides.add(name);
                names.put(name, i);
                return i.intValue();
              }
          }
      }
    else if (free.size() > 0)
      {
        Integer i = (Integer) free.iterator().next();
        free.remove(i);
        names.put(name, i);
        return i.intValue();
      }

    return allocateNew(name, size);
  }

  public int deallocate(Object name)
  {
    if (! names.containsKey(name))
      throw new IllegalArgumentException("no variable " + name);

    if (declared.contains(name))
      throw new IllegalStateException(name + " can't be deallocated");

    Integer i = (Integer) names.get(name);
    names.remove(name);
    free.add(i);
    if (wides.remove(name))
      free.add(new Integer(i.intValue() + 1));
    return i.intValue();
  }

  public int get(Object name)
  {
    if (! names.containsKey(name))
      throw new IllegalArgumentException("no variable " + name);

    return ((Integer) names.get(name)).intValue();
  }
}

--------------010600040504090904010406--



From MAILER-DAEMON Thu Jun 09 09:07:39 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DgMkz-0005lp-5t
	for mharc-classpath@gnu.org; Thu, 09 Jun 2005 09:07:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DgMkx-0005i1-4C
	for classpath@gnu.org; Thu, 09 Jun 2005 09:07:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DgMkv-0005fF-CP
	for classpath@gnu.org; Thu, 09 Jun 2005 09:07:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DgMjm-0004a7-HJ
	for classpath@gnu.org; Thu, 09 Jun 2005 09:06:22 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DgMNI-0008Ge-Sf
	for classpath@gnu.org; Thu, 09 Jun 2005 08:43:09 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.36
	#1 (Debian)) id 1DgMN8-00028p-00
	for <classpath@gnu.org>; Thu, 09 Jun 2005 14:42:58 +0200
Received: from mpiat2305.ag2.mpi-sb.mpg.de ([139.19.20.94] ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian))
	id 1DgMN5-00028S-00; Thu, 09 Jun 2005 14:42:55 +0200
Message-ID: <42A8394F.30202@kaffe.org>
Date: Thu, 09 Jun 2005 14:42:55 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Debian Thunderbird 1.0 (X11/20050116)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Matt Van Gundy <matt@shekinahstudios.com>
References: <Pine.LNX.4.44.0506060934460.15011-100000@ns1.religionsucks.com>
In-Reply-To: <Pine.LNX.4.44.0506060934460.15011-100000@ns1.religionsucks.com>
X-Enigmail-Version: 0.90.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org
Subject: Re: Does J2SDK 5.0 BCL preclude contributions to Classpath?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jun 2005 13:07:36 -0000

Matt Van Gundy wrote:
> Thomas,
> 
> Thank you, I think that yours is a sane interpretation of that clause.  On 
> further thought, I'd have to concur that, re-implementation of a standard 
> most likely doesn't imply creation... and the previous licenses seem to 
> agree.
> 
> Thanks for helping me see it another way,

The 1.5 BCL is easy enough to terminate, in any case. Just remove the 
BCL-covered code from your disk, and all the soft lawyeur porn in the 
license no longer affects you, afaict, so you don't have to bother 
trying to second-guess vogon poetry. :)

cheers,
dalibor topic



From MAILER-DAEMON Sat Jun 11 19:39:01 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DhFZ5-0004Qb-SX
	for mharc-classpath@gnu.org; Sat, 11 Jun 2005 19:38:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DhFYx-0004LB-VW
	for classpath@gnu.org; Sat, 11 Jun 2005 19:38:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DhFYv-0004KX-Gv
	for classpath@gnu.org; Sat, 11 Jun 2005 19:38:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DhFYv-0004JO-Ey
	for classpath@gnu.org; Sat, 11 Jun 2005 19:38:49 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DhFXW-0000E5-Nd
	for classpath@gnu.org; Sat, 11 Jun 2005 19:37:23 -0400
Received: (qmail invoked by alias); 11 Jun 2005 23:36:37 -0000
Received: from p213.54.208.236.tisdip.tiscali.de (EHLO [213.54.208.236])
	[213.54.208.236]
	by mail.gmx.net (mp024) with SMTP; 12 Jun 2005 01:36:37 +0200
X-Authenticated: #17532834
Message-ID: <42AB760C.9020605@gmx.net>
Date: Sun, 12 Jun 2005 01:38:52 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Subject: pro-linux article 1 - now in english
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Jun 2005 23:38:56 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,
I invested some time to translate my article which was published by
german free software centric newssite pro-linux.de to english. You can
find the document in OO.o format here[0].

What I am interested in is that someone who is a bit more skilled in
dealing with the english language takes a look at the paper and fixes
the wording.

When it is corrected I would like to see the document published
somewhere and permanently put to our PR stuff. Additionally everyone is
free to reuse it for their own presentations, papers, talks, whatever. I
licensed the stuff under CC Attribution-ShareAlike which is in short a
"GPL for documents"[1]

If you interested in the German version of the paper you can find it
here[2].

cu
Robert

[0] -
http://page.mi.fu-berlin.de/~rschuste/GNU%20Classpath%20-%20Pro-Linux%20-%201%20-%20english.sxw

[1] - http://creativecommons.org/licenses/by-sa/2.0/

[2] -
http://page.mi.fu-berlin.de/~rschuste/GNU%20Classpath%20-%20Pro-Linux%20-%20Artikel%201.sxw
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCq3YMG9cfwmwwEtoRApWQAJ9c8nAa8k+oFF/aSOxOLHVM6lJvZACfcA9y
gRZbbCf6IR1E02/l2I9lph0=
=gQHe
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sun Jun 12 20:58:47 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DhdHp-0000vw-EX
	for mharc-classpath@gnu.org; Sun, 12 Jun 2005 20:58:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DhdHc-0000ow-Gl
	for classpath@gnu.org; Sun, 12 Jun 2005 20:58:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DhdHZ-0000my-HG
	for classpath@gnu.org; Sun, 12 Jun 2005 20:58:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DhdHY-0000mE-WB
	for classpath@gnu.org; Sun, 12 Jun 2005 20:58:29 -0400
Received: from [193.189.160.40] (helo=mta1.siol.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhdEa-00006Y-2x
	for classpath@gnu.org; Sun, 12 Jun 2005 20:55:24 -0400
Received: from edge1.siol.net ([10.10.10.210]) by mta1.siol.net with ESMTP
	id <20050613005424.CPJE9234.mta1.siol.net@edge1.siol.net>
	for <classpath@gnu.org>; Mon, 13 Jun 2005 02:54:24 +0200
Received: from [192.168.0.6] (really [193.77.159.2]) by edge1.siol.net
	with ESMTP id <20050613005424.OAJJ7478.edge1.siol.net@[192.168.0.6]>
	for <classpath@gnu.org>; Mon, 13 Jun 2005 02:54:24 +0200
From: Ziga Mahkovec <ziga.mahkovec@klika.si>
To: classpath@gnu.org
Content-Type: text/plain
Date: Mon, 13 Jun 2005 02:54:20 +0200
Message-Id: <1118624060.2172.68.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 (2.0.4-5) 
Content-Transfer-Encoding: 7bit
Subject: Java2D tests using SVG
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jun 2005 00:58:37 -0000

Hi,

I've been working on a test suite[1] for Java2D.  It uses the Apache
Batik[2] library to render SVG images and then compares the PNG outputs
of J2SE and Classpath/Cairo/jamvm.

This ought to be a comprehensive test since Batik makes heavy use of the
Java2D API and it also has one of the most complete SVG implementations.
Here are some results for Batik's own SVG test suite:

http://bootchart.org/misc/classpath/j2dtest/batik-samples/index.html

At first, most of the tests were failing due to a couple of
unimplemented methods, so I patched those with some workarounds.  The
tests also expose some bugs; I'll be sending patches for some of those.

I think this could eventually be used as a Mauve test.  We could avoid
using Batik by generating Java source files directly from the SVG images
(using Batik in combination with FreeHEP[3]).  The testlets would then
catch exceptions and -- once the bulk of the Java2D API is implemented
-- compare PNG outputs to reference images.


Comments and ideas are welcome.
-- 
Ziga

[1] http://bootchart.org/misc/classpath/j2dtest/j2dtest.tar 
[2] http://xml.apache.org/batik/
[3] http://java.freehep.org/doc/release/v1.2.2/doc/api/org/freehep/graphicsio/java/JAVAGraphics2D.html




From MAILER-DAEMON Mon Jun 13 03:26:31 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DhjL2-0006hy-7l
	for mharc-classpath@gnu.org; Mon, 13 Jun 2005 03:26:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DhjKu-0006eH-Lq
	for classpath@gnu.org; Mon, 13 Jun 2005 03:26:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DhjKt-0006d8-94
	for classpath@gnu.org; Mon, 13 Jun 2005 03:26:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DhjKs-0006cQ-Mx
	for classpath@gnu.org; Mon, 13 Jun 2005 03:26:18 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhjKd-0003Qx-Jd
	for classpath@gnu.org; Mon, 13 Jun 2005 03:26:03 -0400
Received: from dumas.thomas.planescape.com ([10.0.0.2] ident=zander)
	by namlook.thomas.planescape.com with esmtp (Exim 3.35 #1 (Debian))
	id 1DhjJ7-00019k-00; Mon, 13 Jun 2005 09:24:29 +0200
From: Thomas Zander <zander@kde.org>
To: classpath@gnu.org,
 Ziga Mahkovec <ziga.mahkovec@klika.si>
Date: Mon, 13 Jun 2005 09:23:48 +0200
User-Agent: KMail/1.8.50
References: <1118624060.2172.68.camel@localhost>
In-Reply-To: <1118624060.2172.68.camel@localhost>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart4586275.VFFIxZ0X7O";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200506130923.55152.zander@kde.org>
Cc: 
Subject: Re: Java2D tests using SVG
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jun 2005 07:26:22 -0000

--nextPart4586275.VFFIxZ0X7O
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 13 June 2005 02:54, Ziga Mahkovec wrote:
> I think this could eventually be used as a Mauve test. =C2=A0We could avo=
id
> using Batik by generating Java source files directly from the SVG
> images (using Batik in combination with FreeHEP[3]). =C2=A0The testlets
> would then catch exceptions and -- once the bulk of the Java2D API is
> implemented -- compare PNG outputs to reference images.

I think thats a really good idea.
Since Java2D needs a Display in both cases; you could also use the Robot=20
class to screenshot the window and compare that instead of going through=20
another layer (png writing).  So tests don't break if png writing fails.

I'd love to see such a huge Java2D coverage automated testsuite.

=2D-=20
Thomas Zander

--nextPart4586275.VFFIxZ0X7O
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCrTSLCojCW6H2z/QRAtO0AJ4ps3Kx5iiWp9Zgj1HNh2YwY3mnfACgzRbI
pt5bDUeJ2x9vaVCSNloh2JY=
=uFjv
-----END PGP SIGNATURE-----

--nextPart4586275.VFFIxZ0X7O--



From MAILER-DAEMON Mon Jun 13 05:30:10 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DhlEp-00077T-OT
	for mharc-classpath@gnu.org; Mon, 13 Jun 2005 05:28:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DhlBe-0006CU-R8
	for classpath@gnu.org; Mon, 13 Jun 2005 05:24:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DhlAh-0005rz-4C
	for classpath@gnu.org; Mon, 13 Jun 2005 05:24:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dhl9y-0005H8-PI
	for classpath@gnu.org; Mon, 13 Jun 2005 05:23:11 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhlAc-0003MN-L8
	for classpath@gnu.org; Mon, 13 Jun 2005 05:23:52 -0400
Received: from dog by dinopsis.arachsys.com with local (Exim 3.35 #1)
	id 1Dhl9P-0001cJ-00; Mon, 13 Jun 2005 10:22:35 +0100
Date: Mon, 13 Jun 2005 10:22:35 +0100
From: Chris Burdess <dog@bluezoo.org>
To: Robert Schuster <theBohemian@gmx.net>
Message-ID: <20050613092234.GA2760@bluezoo.org>
Mail-Followup-To: Robert Schuster <theBohemian@gmx.net>,
	GNU Classpath <classpath@gnu.org>
References: <42AB760C.9020605@gmx.net>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="tKW2IUtsqtDRztdT"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <42AB760C.9020605@gmx.net>
User-Agent: Mutt/1.3.28i
X-URL: http://www.bluezoo.org/
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: pro-linux article 1 - now in english
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jun 2005 09:27:55 -0000


--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Robert Schuster wrote:
> I invested some time to translate my article which was published by
> german free software centric newssite pro-linux.de to english. You can
> find the document in OO.o format here[0].
> 
> What I am interested in is that someone who is a bit more skilled in
> dealing with the english language takes a look at the paper and fixes
> the wording.

See attached. Let me know if there are any points you want to discuss
about it.
-- 
Chris Burdess

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=UTF-8
Content-Disposition: attachment; filename="schuster.txt"
Content-Transfer-Encoding: 8bit

Version 1.00

Robert Schuster (thebohemian@gmx.net)

This document is licensed under the Creative Commons Attribution ShareAlike
License 2.0.

GNU Classpath - What's around the corner?

Motivation

In this article series I want to introduce you to GNU Classpath and some of
its sister projects. A short time spent reading this article should give you
a broad understanding of the state of Java in the Free Software community.

I will try to deliver the content without too much technical jargon,
although that may not be possible in all cases.

What is this all about?

To start with I will present some background information about Sun, Java and
its license problem, and go on to introduce GNU Classpath and its history.
The second section is dedicated to popular software which already runs on
our free implementation. Finally I will give you a short glimpse into the
future of GNU Classpath.

What is Java, really?

Many of you may have heard that Java is slow and not well adapted to serious
applications. This point of view, however, considers Java only in its common
implementation and not as a programming language. A programming language is
usually categorized by its capabilities and expressiveness. Java is a
language which provides strong support for a programming methodology called
object orientation, which is fundamental for today's application
development. In addition, a Java developer can benefit from a degree of type
safety. When both these concepts are applied correctly they can leverage
rapid application development by supporting the design process and can serve
to avoid programming errors. At this level we can't say anything about
speed; to do so we need programs which are capable of processing the
language.

When Java was published in 1996, one of its most stunning features was its
ability to run on different computer operating systems without having to be
recompiled. This property is obtained by using "bytecode", which is then
processed and run by a program called a virtual machine. The commands in the
bytecode cannot directly access the features of the underlying operating
system but instead use a "class library". This library provides functions
that a typical Java application needs: Strings, graphical components, a
network interface and much more. Therein lies the real secret of platform
independence, because on each and every operating system where Java programs
should be able to run, we need a specially adapted class library.

Therefore there are two things of interest in the speed of Java: on the one
hand the ability of the virtual machine to efficiently process the bytecode
and on the other hand the care in the implementation of the class library.

What are the problems the Free Software world has with Java?

Traditionally the Java class library is provided packaged with a virtual
machine and a couple of helper programs by Sun Microsystems Corporation as
the "Java Runtime Environment" (JRE) or "Java Development Kit" (JDK; for
developers) free of charge under a non-free license.

In the course of time more and more functionality was added to the library
and the virtual machines got ever more sophisticated in processing bytecode.
However it soon became apparent that Sun was overly constrained with
development: awkward programming errors slipped through their quality
assurance, long-known bugs were not fixed and some of the features which
Java application developers longed for where delayed from version to
version.

Besides these technical problems Sun was still not willing to loosen the
license restrictions for their product, so distributions such as Debian (and
latterly Ubuntu and Fedora Core) could not offer the Java platform as
distributed by Sun.

In the past Sun repeatedly mentioned the topic of relicensing and high
officials gave forth weightily on the matter. However in the end it was
always stressed that the central control of Java is a key aspect of
maintaining compatibility and the whole topic vanished in a puff of smoke.

So isn't Java free already?

In casual terms, some people (among them James Gosling, the father of the
programming language) claim that Java is 'open source'
(http://today.java.net/jag/page7.html#62).

Until now all the licenses under which Sun distritbuted their Java product
have turned out to be some kind of Read-Only Open Source: a glimpse at the
source code is allowed but no further freedoms are forthcoming.

Freedom Zero - the basis of all Free Software

Contrary to certain trends which only demand access to the source code for
software, I want to explain why the freedom to run a program for any
imaginable purpose is far more important.

Today, only a minority can imagine their computer preventing them from doing
tasks (like watching a media stream or copying an application or document)
which are normally not a problem for a computer. We are used to systems
which can solve a wide range of problems. The export regulations of the USA
on strong cryptography or the exorbitant usage prohibitions of software in
countries like Iraq, Afghanistan and others seem absurd because it is not
possible to enforce them.

In the future, technical means like "trusted computing" (TCPA) and digital
rights management (DRM) will fill this gap and control access to the
computer. In this task the Java as well as the .NET platforms are
brilliantly suited to equip software with gates and other restrictions. When
implemented correctly and applied properly a Java program cannot pass the
border of the virtual machine. What on the one hand secures your hard disk
from unwanted access from the outside, can also be turned in the opposite
direction. With a Free Software implementation we ensure that the Java
platform will always serve the needs of their users who will have full
control of it.

Another interesting "Freedom Zero" perspective can be found in the article
(http://diveintomark.org/archives/2004/05/14/freedom-0).

What's the problem with the term "Free Java"?

Many people know that the GNU/Linux operating system is based on a UNIX
system but it cannot officially be called UNIX. This is because "UNIX" is a
trade name which is assigned when a certain suite of compatibility tests are
passed. Some years ago many publications therefore wrote "Un*x" instead
which confused ingenuous people like me back then.

"Java" is also a trade name, which is assigned by Sun Microsystems to
products which conform to their specification and have been tested. Indeed,
GNU Classpath strives for such a certification but as long as this is not
completed, it is not officially Java and the label "free Java" is equally
problematic.

GNU Classpath and its history until now

In 1998 the GNU Classpath project was founded to develop a free Java-like
class library which could be used by the Japhar virtual machine. At first
Classpath was developed within this project but even at this early time the
idea was to some day have a class library which could be used by any virtual
machine. The work commenced with 5 developers at that time.

In the year 2000 the GCJ class library was gradually merged and another
bunch of developers joined the project. Three years later, the Kaffe project
became interested in Classpath and started to exchange patches. In the same
year Mark Wielaard became maintainer of GNU Classpath. He shortened the
release cycles, which where lengthy and discontinuous at this time, to 2
months, which was very much appreciated in the community. Additionally he
managed the integration of four projects which were maintained separately at
that time.

The number of patches increased dramatically in 2004. For the release 0.12
(November 2004), the ChangeLog reveals 29 contributors who added an average
of 350 lines of code every day. New developers join us approximately every
quarter of a year. The free virtual machines Kaffe, GCJ and SableVM still
maintain a derivative of GNU Classpath in their repositories but the
unification work is progressing. For JamVM, IKVM.NET and IBM's JikesRVM this
goal has already been attained.

In Fall 2004 the generics branch was opened. This minor branch of the
development is devoted to implementing the language features of Java 5. For
a while there was no free compiler available, not to mention a suitable
virtual machine. In December a special version of Eclipse's ECJ could be
extracted and used to compile the generics branch. We are confident that Tom
Tromey's GCJX, a front end to the GNU Compiler Collection (GCC) will be able
to be used for the same task by the end of 2005.

Eventually in April 2005 Andrew John Hughes got the generic branch to run
using the latest version of JamVM.

Innovative Free Software

Besides Classpath contributors, we get many patches from GCJ and Kaffe,
which help to complete the class library or fix bugs in our implementation.
While we "only" provide classic Java program execution using a virtual
machine a couple of projects based on Classpath pursue some very innovative
ideas: the spectrum ranges from translations of Java bytecode into the
machine language or the Common Intermediate Language (.NET "bytecode"), to
integrations with C++ and Oberon and an operating system which is written in
Java and assembly language only. Details about these projects will be given
in the second part of the article series.

The state of affairs

Vast areas of the J2SE 1.4 class library have been implemented already and
conform to the specification. Problems arise mainly in corner cases and the
Swing and AWT graphical toolkits. One of our strengths is that we can depend
on the functionality of other free libraries or open accessible information.
For instance, we generate internationalization data using the CLDR project
(http://www.unicode.org/cldr/) and thereby gain support for 274 languages
(the JDK currently has 134).

Applications which use the Standard Widget Toolkit (SWT) for their graphical
presentation have a good chance of running flawlessly on Classpath-based
virtual machines: since the SWT implementation does not differ between them
an application demands more non-visible correct behavior from us. Since most
work is invested here SWT-based applications run pretty well.

Hall Of Fame, or where we shine

Eclipse

Getting the famous development environment Eclipse (http://eclipse.org/) to
run on our free virtual machines is one of our greater achievements.

Eclipse has not been tied to the proprietary JDK for a while now but
repeatedly had to fight with new problems. In 2003 many changes to the IDE's
source code were necessary to get it to run, but these days you can simply
download it from their homepage and run it with GNU Classpath 0.14, a
lightweight virtual machine like JamVM and a slightly modified command from
the console. It is nearly as easy as this to create a natively compiled
version of Eclipse and run this instead.

By the way: if you open the "Tips & Tricksï¿½ in Eclipse's help menu, an
internal Apache Tomcat presents the documents while the search capability is
realised by Apache Lucene.

RssOwl

RssOwl (http://rssowl.sourceforge.net/) is a Java- and SWT-based newsreader.
That this application runs flawlessly is due to Classpath developer Sven de
Marothy who fixed problems in the class library as well as in RssOwl itself.

Apache Tomcat

Apache Tomcat (http://jakarta.apache.org/tomcat/) is a web server which can
programmatically create web pages. This technique is called Java Server
Pages (JSP) and competes with PHP, Perl and Python. The flagship of Apache
Tomcat is the current version 5 which runs equally well with Kaffe and GCJ.

JOnAS

JOnAS (http://jonas.objectweb.org/) is another representative of the Java
server world. The software is used to implement large enterprise information
systems (http://en.wikipedia.org/wiki/Enterprise_Information_System) and is
in turn an environment for applications. JOnAS is a really complex program
and we are very happy that it runs with GCJ.

BeanShell

BeanShell (http://beanshell.org/) is a small interactive shell, which can be
embedded extremely easily into applications. The syntax of the shell is
Java-like but offers loads of syntactical sugar. If you abstain from the
Swing-based interface (classes bsh.Console and bsh.util.JConsole) you can
use BeanShell flawlessly with GNU Classpath.

OpenOffice 2.0

The announcement
(http://software.newsforge.com/article.pl?sid=05/02/25/209222&tid=93) that
OOo 2.0 is markedly dependent on (proprietary) Java caused some buzz on
NewsForge (http://software.newsforge.com/article.pl?sid=05/03/22/204244) and
other sites.

Even before the Free Software Foundation's call to free OpenOffice 2.0,
Caolan McNamara (http://blogs.linux.ie/caolan/2005/05/04/70/) of Red Hat was
hunting down bugs and missing features in GCJ. The office suite is not yet
released but I am confident that major interoperatibility problems will be
fixed by the time it is.

Apache Ant

Ant is a Java-based software construction tool which uses XML files to
describe the complex intermediate steps to automate application
construction. Using only a few additional arguments the tool can be run with
a GNU Classpath-based VM and use Jikes or GCJ as its compiler. In the future
this will be integrated into Ant's shell scripts allowing the user to invoke
it in the way they are used to.

Hall of Shame, or what does not work ... yet

Gaps and bugs in our implementation of Swing make it impossible at the
moment to run huge applications like Netbeans. However others like JEdit at
least start.

Fortunately development in this area is progressing in a decent pace. What
helps most are bug reports with small test programs or real applications
that show faulty behavior. A presentation
(http://people.redhat.com/fitzsim/fosdem2005/html/img0.html) by Thomas
Fitzsimmons (Red Hat) given at FOSDEM 2005 provides a glimpse at the state
of affairs at that time.

The future

>From a user's point of view the availability and stability of Java
applications on free operating systems will increase in the coming months.
Installation and running of the application will be simplified ï¿½ although
this is an issue for the distributions themselves. When a Java applet in
your browser suddenly starts working without you having installed a
proprietary virtual machine, you know we have advanced another small step
towards a fully free stack of a Java-like system.

Furthermore users of less popular computer architectures and operating
systems will start to realise Java's promise of platform independence.

As well as criticism and suggestions, the GNU Classpath team would be very
happy to hear your success stories. If your favorite application now works
correctly, you are sincerely invited to come along on the channel #classpath
on irc.freenode.org .

What's coming up next?

In a few weeks I will publish a sequel to this article. It will target Java
developers and developers in general: I will deal with many of our sister
projects, why you should build on our platform, how our development works
and what goals we have for the next time.

Thanks for your attention.

Robert Schuster - (C) 2005 Some rights reserved.

--tKW2IUtsqtDRztdT--



From MAILER-DAEMON Mon Jun 13 11:32:11 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dhqv5-0004lG-5V
	for mharc-classpath@gnu.org; Mon, 13 Jun 2005 11:32:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DhqEi-0004y0-Lv
	for classpath@gnu.org; Mon, 13 Jun 2005 10:48:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DhqEh-0004w1-IC
	for classpath@gnu.org; Mon, 13 Jun 2005 10:48:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DhqEh-0004ui-7L
	for classpath@gnu.org; Mon, 13 Jun 2005 10:48:23 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhqFS-0001pI-IA
	for classpath@gnu.org; Mon, 13 Jun 2005 10:49:10 -0400
Received: from dog by dinopsis.arachsys.com with local (Exim 3.35 #1)
	id 1DhqEM-0000Zr-00
	for classpath@gnu.org; Mon, 13 Jun 2005 15:48:02 +0100
Received: from fencepost.gnu.org ([199.232.76.164])
	by dinopsis.arachsys.com with esmtp (Exim 3.35 #1)
	id 1Dhp7r-00035a-00
	for dog@bluezoo.org; Mon, 13 Jun 2005 14:37:15 +0100
Received: from dog by fencepost.gnu.org with local (Exim 4.34)
	id 1Dhp7I-00078Y-Hk
	for dog@bluezoo.org; Mon, 13 Jun 2005 09:36:40 -0400
Received: from monty-python.gnu.org ([199.232.76.173])
	by fencepost.gnu.org with esmtp (Exim 4.34) id 1Dhp7I-0006rM-DG
	for dog@gnu.org; Mon, 13 Jun 2005 09:36:40 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim
	4.34) id 1Dhomv-0003Dw-CB
	for dog@gnu.org; Mon, 13 Jun 2005 09:15:37 -0400
Received: from [199.232.76.165] (helo=lists.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dhomv-0003Dt-8Q
	for dog@gnu.org; Mon, 13 Jun 2005 09:15:37 -0400
Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dhom0-00006n-3j
	for dog@gnu.org; Mon, 13 Jun 2005 09:14:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DhogL-00073k-HP
	for classpathx-discuss@gnu.org; Mon, 13 Jun 2005 09:08:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DhogC-0006x4-MO
	for classpathx-discuss@gnu.org; Mon, 13 Jun 2005 09:08:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DhogB-0006gq-PQ
	for classpathx-discuss@gnu.org; Mon, 13 Jun 2005 09:08:39 -0400
Received: from [131.111.8.130] (helo=ppsw-0.csi.cam.ac.uk)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhoRK-0001ev-2c
	for classpathx-discuss@gnu.org; Mon, 13 Jun 2005 08:53:18 -0400
X-Cam-SpamDetails: Not scanned
X-Cam-AntiVirus: No virus found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from student.cusu.cam.ac.uk ([131.111.179.82]:43004
	helo=kern.srcf.societies.cam.ac.uk)
	by ppsw-0.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.130]:25)
	with esmtp id 1DhoQB-0003Ns-12 (Exim 4.51) for
	classpathx-discuss@gnu.org
	(return-path <matt@matthew.ath.cx>); Mon, 13 Jun 2005 13:52:07 +0100
Received: from localhost ([127.0.0.1] ident=mjj29)
	by kern.srcf.societies.cam.ac.uk with esmtp (Exim 3.35 #1 (Debian))
	id 1DhoQA-0006Q1-00
	for <classpathx-discuss@gnu.org>; Mon, 13 Jun 2005 13:52:07 +0100
Date: Mon, 13 Jun 2005 13:52:06 +0100 (BST)
From: Matthew Johnson <matt@matthew.ath.cx>
X-X-Sender: mjj29@kern.srcf.societies.cam.ac.uk
To: classpathx-discuss@gnu.org
Message-ID: <Pine.LNX.4.44.0506131332170.13319-100000@kern.srcf.societies.cam.ac.uk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: classpathx-discuss@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Errors-To: classpathx-discuss-bounces+dog=gnu.org@gnu.org
Sender: Chris Burdess <dog@gnu.org>
X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.16.0
Resent-From: dog@bluezoo.org
Resent-Date: Mon, 13 Jun 2005 15:48:02 +0100
Resent-To: classpath@gnu.org
Resent-Message-Id: <E1DhqEM-0000Zr-00@dinopsis.arachsys.com>
X-Mailman-Approved-At: Mon, 13 Jun 2005 11:32:09 -0400
Cc: 
Subject: [Classpathx-discuss] Java Signal Handling
X-BeenThere: classpath@gnu.org
Reply-To: matt@matthew.ath.cx
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jun 2005 14:48:25 -0000

I have just been discussing with the Kaffe team about handling Signals
in Java and the suggested I propose something here.

The background to this is that I am trying to write Unix applications in
Java because I like the language and hence I don't need portability (one
of them uses libpcap and the other is X-specific); I was trying to find
a way to handle signals because I want these applications to behave as
closely as possible to standard Unix demons.

Sun Java does not havean official way of handling signals but there are
some undocumented classes to do it (see
http://www-106.ibm.com/developerworks/ibm/library/i-signalhandling/).
Obviously these are not implemented in FOSS JVMs because they are
undocumented. There have been several attempts to write 3rd party
libraries to do signal handling
(http://www.bmsi.com/java/posix/package.html and
 http://www.basepath.com/aup/jtux/), but these are both broken. There
are also more fundamental issues with using a JNI library in that they
fail to address issues of which thread the signal is delivered to and
how they are handled when they interrupt a JVM thread. Both of these
things need handling in the JVM itself.

The Kaffe people said that while this needs JVM support maintaining
their own API (or trying to be complient with the Sun undocumented one)
would not be sensible, so they said I should email this list to see
whether a GNU classpath extension could be added with well-defined
hooks for the JVMs to implement.

The Java API used by the posix library at
http://www.bmsi.com/java/posix/package.html looks sensible and a
strategy for JVMs handling the signals suggested on #kaffe is for the
JVM to catch the signal and then run the user-defined handler in a
separate thread.

I'd be interested in comments about this, particularly from VM writers
as to how sensible this is te implement.

As as aside, the other thing I would be interested in is having the JVM
fork() and disown its TTY for proper daemon operation. Not sure if thats
a VM or merely a library issue.

Matt

-- 
Matthew Johnson
http://www.matthew.ath.cx/




_______________________________________________
Classpathx-discuss mailing list
Classpathx-discuss@gnu.org
http://lists.gnu.org/mailman/listinfo/classpathx-discuss




From MAILER-DAEMON Mon Jun 13 18:58:02 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DhxsX-0001yA-FJ
	for mharc-classpath@gnu.org; Mon, 13 Jun 2005 18:58:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DhxsR-0001wA-20
	for classpath@gnu.org; Mon, 13 Jun 2005 18:57:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DhxsH-0001qd-Hj
	for classpath@gnu.org; Mon, 13 Jun 2005 18:57:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DhxsF-0001pa-9H
	for classpath@gnu.org; Mon, 13 Jun 2005 18:57:43 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DhxoP-0003tg-Sq
	for classpath@gnu.org; Mon, 13 Jun 2005 18:53:46 -0400
Received: (qmail invoked by alias); 13 Jun 2005 22:52:33 -0000
Received: from p213.54.206.244.tisdip.tiscali.de (EHLO [213.54.206.244])
	[213.54.206.244]
	by mail.gmx.net (mp011) with SMTP; 14 Jun 2005 00:52:33 +0200
X-Authenticated: #17532834
Message-ID: <42AE0EBE.9080106@gmx.net>
Date: Tue, 14 Jun 2005 00:54:54 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: Chris Burdess <dog@bluezoo.org>, GNU Classpath <classpath@gnu.org>
References: <42AB760C.9020605@gmx.net> <20050613092234.GA2760@bluezoo.org>
In-Reply-To: <20050613092234.GA2760@bluezoo.org>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: 
Subject: Re: pro-linux article 1 - now in english
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jun 2005 22:57:57 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wow, thanks!

I like it.

cu
Robert

Chris Burdess wrote:
> Robert Schuster wrote:
> 
>>I invested some time to translate my article which was published by
>>german free software centric newssite pro-linux.de to english. You can
>>find the document in OO.o format here[0].
>>
>>What I am interested in is that someone who is a bit more skilled in
>>dealing with the english language takes a look at the paper and fixes
>>the wording.
> 
> 
> See attached. Let me know if there are any points you want to discuss
> about it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCrg6+G9cfwmwwEtoRAku5AKCdUwOi4ymUxIFRE4VbFBTheJ1qiACgmXqj
0WTrilY/+I6jPDiFa0mfWRw=
=vMzH
-----END PGP SIGNATURE-----



From MAILER-DAEMON Tue Jun 14 07:33:36 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Di9fj-0005OR-0g
	for mharc-classpath@gnu.org; Tue, 14 Jun 2005 07:33:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Di9fd-0005Lf-Pl
	for classpath@gnu.org; Tue, 14 Jun 2005 07:33:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Di9fX-0005Gn-4h
	for classpath@gnu.org; Tue, 14 Jun 2005 07:33:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Di9fV-0005BU-Vr
	for classpath@gnu.org; Tue, 14 Jun 2005 07:33:22 -0400
Received: from [64.233.184.199] (helo=wproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Di9Wb-0006NC-BE
	for classpath@gnu.org; Tue, 14 Jun 2005 07:24:09 -0400
Received: by wproxy.gmail.com with SMTP id 36so2141459wra
	for <classpath@gnu.org>; Tue, 14 Jun 2005 04:22:50 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=knnvZ1odfiajktgVRHSLojhoodwkBLQ62kMr3/kJwuyPk9RDobOxBfO5dYJLIUcZoGo/LIz6zXnAPSCbqeJlJv7dDO2XIr0XJC19pTqCl9Oaj676Eb/v1G6HaNE1kVhwrCYznd0hR0SfUd4FkAVAE6UDEyPWViKqPMYNVOX/cF0=
Received: by 10.54.14.28 with SMTP id 28mr3416444wrn;
	Tue, 14 Jun 2005 04:22:50 -0700 (PDT)
Received: by 10.54.47.25 with HTTP; Tue, 14 Jun 2005 04:22:50 -0700 (PDT)
Message-ID: <d58509a80506140422437c8996@mail.gmail.com>
Date: Tue, 14 Jun 2005 12:22:50 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: jamvm-general@lists.sourceforge.net, GNU Classpath <classpath@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Cc: 
Subject: JamVM 1.3.1 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Robert Lougher <rob.lougher@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Jun 2005 11:33:31 -0000

Hi,

I'm pleased to announce the release of JamVM 1.3.1
(http://jamvm.sourceforge.net).  This release improves object and
array allocation performance, and incorporates the generics patch
(from Andrew John Hughes) and the Classpath 0.15 boot library path
patch (from Robert Schuster).  A couple of other minor feature
enhancements have also been added, and several bugs have been fixed.=20
The full list of changes are here:

http://sourceforge.net/project/shownotes.php?release_id=3D334660

Thanks,

Rob.



From MAILER-DAEMON Thu Jun 16 06:36:31 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dirjb-0006CI-93
	for mharc-classpath@gnu.org; Thu, 16 Jun 2005 06:36:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DirjX-0006BV-Oo
	for classpath@gnu.org; Thu, 16 Jun 2005 06:36:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DirjV-0006AG-Hk
	for classpath@gnu.org; Thu, 16 Jun 2005 06:36:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dird9-0004wo-RP
	for classpath@gnu.org; Thu, 16 Jun 2005 06:29:52 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DirK5-0000VN-VS
	for classpath@gnu.org; Thu, 16 Jun 2005 06:10:10 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 16 Jun 2005 12:08:18 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAC8F@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RFC: Generics branch VM interface
Thread-Index: AcVyW1HLGUsbmGZIRNKunOKTyHL2lw==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
Cc: 
Subject: RFC: Generics branch VM interface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2005 10:36:28 -0000

Hi,

I'd like to propose a fundamental change to the VM interface on the
generics branch. In particular, I'd like the VM interface (and in this
case I mean strictly the interface between the Foo and VMFoo classes) on
the generics branch to be compatible with the main branch. That way a VM
can use the same VM interface code for both branches.

This means, for example, that in VMClass, we use Class instead of
Class<T>. In some cases this requires additional casts in the
corresponding class, but these casts are removed by the compiler so they
don't affect performance or code size.

Another example is that VMSystem.environ() would return a String[][]
instead of a List<String> (as an aside, IMO, it's always better to use
built-in types across the VM interface, e.g. manipulating an array in
JNI is easier and more efficient than manipulating a List).

Another, possibly more contentious, case is VMClass.getTypeParameters(),
this currently returns a TypeVariable<Class<T>>[], but I wonder if it
wouldn't be better to simply return a string and do the signature
decoding (which presumably is common to all VMs) in
java/lang/Class.java.

Any thoughts?

Regards,
Jeroen



From MAILER-DAEMON Thu Jun 16 15:13:16 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dizng-0000QT-Co
	for mharc-classpath@gnu.org; Thu, 16 Jun 2005 15:13:16 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Diznc-0000PL-Na
	for classpath@gnu.org; Thu, 16 Jun 2005 15:13:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DiznZ-0000Nh-NQ
	for classpath@gnu.org; Thu, 16 Jun 2005 15:13:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DiznZ-0000Ne-Ko
	for classpath@gnu.org; Thu, 16 Jun 2005 15:13:09 -0400
Received: from [217.12.12.138] (helo=smtp801.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Dizne-0000FH-8x
	for classpath@gnu.org; Thu, 16 Jun 2005 15:13:14 -0400
Received: (qmail 97518 invoked from network); 16 Jun 2005 19:11:22 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp801.mail.ukl.yahoo.com with SMTP; 16 Jun 2005 19:11:22 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1DizlZ-0000WS-H7
	for classpath@gnu.org; Thu, 16 Jun 2005 20:11:05 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CAC8F@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CAC8F@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-M0aHn6UgtvzTvhVw4YZK"
Date: Thu, 16 Jun 2005 20:11:20 +0100
Message-Id: <1118949080.459.51.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: Re: RFC: Generics branch VM interface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2005 19:13:14 -0000


--=-M0aHn6UgtvzTvhVw4YZK
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2005-06-16 at 12:08 +0200, Jeroen Frijters wrote:
> Hi,
>=20
> I'd like to propose a fundamental change to the VM interface on the
> generics branch. In particular, I'd like the VM interface (and in this
> case I mean strictly the interface between the Foo and VMFoo classes) on
> the generics branch to be compatible with the main branch. That way a VM
> can use the same VM interface code for both branches.
>=20

The VM changes on the generics branch are something I've been thinking
about myself.  In particular, I'm currently in the process of updating
the VM docs so that the new generics branch changes can be added
(something which is taking longer than I thought, due to the fact that
these seem to have been really left to die).

Keeping the VM interfaces in sync sounds like a good idea to me, but
keep a couple of things in mind:

1) A lot of VM differences between the two will be due to new methods
that just don't exist outside the generics branch e.g. cast(), isEnum().
You mention two of these below.  Thus, you'd never get exact identical
copies without introducing lots of generic library code into HEAD, which
we simply can't do at this stage.

2) I'm not sure of the benefit of dropping the type signatures, but I'm
still a bit naive as to how this works natively (I'm assuming they just
disappear, given that they only exist as optional class file sections at
run-time).  Also, on reading the new specs. for this stuff, something
seems to apply that this run-time dropping may only be temporary (i.e.
that the idea is to ween people off non-generic code).  But I'd be
really interested to hear the opinion of others on this. =20

> This means, for example, that in VMClass, we use Class instead of
> Class<T>. In some cases this requires additional casts in the
> corresponding class, but these casts are removed by the compiler so they
> don't affect performance or code size.

I don't see how much this gains, as you'd never get identical VM
interfaces because the majority is new stuff.  Unless you're proposing
that VMs implement this without having the stuff in the class library,
which seems a little strange.

> Another example is that VMSystem.environ() would return a String[][]
> instead of a List<String> (as an aside, IMO, it's always better to use
> built-in types across the VM interface, e.g. manipulating an array in
> JNI is easier and more efficient than manipulating a List).
>=20

Feel free to change this if you think an array works better. FWIW, I
don't think there is much difference between the two in JNI for this
because it's really just a conduit for the native information (you'd
have to do much the same to fill an array).  The stuff is split and
transformed into a map by Java code.  Note that this doesn't exist on
HEAD anyway, as it relates to System.getenv(), a 1.5 method.

> Another, possibly more contentious, case is VMClass.getTypeParameters(),
> this currently returns a TypeVariable<Class<T>>[], but I wonder if it
> wouldn't be better to simply return a string and do the signature
> decoding (which presumably is common to all VMs) in
> java/lang/Class.java.
>=20

A lot of the recent additions are naive first-shot attempts; there's
definitely room for improvement and simplification.  This is part of my
reasoning behind documenting these and getting discussion going.

> Any thoughts?
>=20
> Regards,
> Jeroen
>=20
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-M0aHn6UgtvzTvhVw4YZK
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCsc7Y+WQ2ITV9UU0RAgFeAJ9RQcSJTKKiSLeYcSU6zB1x0psLrwCeL/Cg
fNmt4A45Rt5s+YktaT1OBuU=
=Cf6E
-----END PGP SIGNATURE-----

--=-M0aHn6UgtvzTvhVw4YZK--




From MAILER-DAEMON Thu Jun 16 15:23:40 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dizxj-00039K-5q
	for mharc-classpath@gnu.org; Thu, 16 Jun 2005 15:23:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dizxb-00036E-AB
	for classpath@gnu.org; Thu, 16 Jun 2005 15:23:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dizxa-00035H-4i
	for classpath@gnu.org; Thu, 16 Jun 2005 15:23:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dizxa-000357-0e
	for classpath@gnu.org; Thu, 16 Jun 2005 15:23:30 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1Dizyy-0000vA-H9; Thu, 16 Jun 2005 15:24:56 -0400
Received: from 82-69-92-124.dsl.in-addr.zen.co.uk ([82.69.92.124]
	helo=bobtail.bluezoo.org)
	by dinopsis.arachsys.com with asmtp (Exim 3.35 #1)
	id 1DizxA-0006gn-00; Thu, 16 Jun 2005 20:23:04 +0100
Received: by bobtail.bluezoo.org (Postfix, from userid 501)
	id CD96D23A267; Thu, 16 Jun 2005 20:23:09 +0100 (BST)
Date: Thu, 16 Jun 2005 20:23:09 +0100
From: Chris Burdess <dog@bluezoo.org>
To: Andrew John Hughes <gnu_andrew@member.fsf.org>
Message-ID: <20050616192309.GB18719@bluezoo.org>
References: <D92197D0A6547B44A1567814F851FA680CAC8F@LEMBU.sumatrasoftware.com>
	<1118949080.459.51.camel@rivendell>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM"
Content-Disposition: inline
In-Reply-To: <1118949080.459.51.camel@rivendell>
User-Agent: Mutt/1.4i
Organization: the mireval massive
X-URL: http://bluezoo.org/
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: RFC: Generics branch VM interface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2005 19:23:34 -0000


--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Andrew John Hughes wrote:
> ...  Also, on reading the new specs. for this stuff, something
> seems to apply that this run-time dropping may only be temporary (i.e.
> that the idea is to ween people off non-generic code).  But I'd be
> really interested to hear the opinion of others on this. =20

http://www.tbray.org/ongoing/When/200x/2005/06/12/Comparable
--=20
Chris Burdess

--yrj/dFKFPuw6o+aM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFCsdGd6dl1DEqHgrgRAoR9AJ9FheHdybZJQN4mXx46SejJic6tRgCgqNeA
3+g5IWohTNV2K9EyCN3x8O0=
=ZOJW
-----END PGP SIGNATURE-----

--yrj/dFKFPuw6o+aM--



From MAILER-DAEMON Thu Jun 16 15:29:07 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dj031-0005VI-BN
	for mharc-classpath@gnu.org; Thu, 16 Jun 2005 15:29:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dj02y-0005Uh-Uy
	for classpath@gnu.org; Thu, 16 Jun 2005 15:29:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dj02u-0005SZ-Rm
	for classpath@gnu.org; Thu, 16 Jun 2005 15:29:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dj02u-0005SW-P1
	for classpath@gnu.org; Thu, 16 Jun 2005 15:29:00 -0400
Received: from [217.12.12.200] (helo=smtp810.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Dj03h-0001Se-G5
	for classpath@gnu.org; Thu, 16 Jun 2005 15:29:49 -0400
Received: (qmail 12317 invoked from network); 16 Jun 2005 19:27:58 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp810.mail.ukl.yahoo.com with SMTP; 16 Jun 2005 19:27:58 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1Dj01d-0000Xu-Dv
	for classpath@gnu.org; Thu, 16 Jun 2005 20:27:41 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-eMEoOOUlMEcvu77HSwry"
Date: Thu, 16 Jun 2005 20:27:56 +0100
Message-Id: <1118950076.459.59.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: Generics Branch Status
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2005 19:29:06 -0000


--=-eMEoOOUlMEcvu77HSwry
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi all,

A few thing recently have brought my attention to an issue I believe
still exists with the generics branch; namely, what is the status
regards the additions of 1.5 features?  I had assumed the following:

* Features requiring language features, such as generics, enums, etc. go
on the generics branch.
* Anything else goes on HEAD.

Yet there is still a body of code on the generics branch that goes in
the latter category (the valueOf() functions in the primitive classes
for instance).  Should this be merged across?  And what is the general
view on adding modified versions of some classes (e.g. Enum), as has
been proposed, so as to give temporary, primarily run-time support?

Also, re. Jeroen's e-mail, I'd be interested to hear from any VM
implementers who are looking at the generics branch and what support
they need within the class library as regards integrating new features
such as 1.5 reflection support.

Thanks,
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-eMEoOOUlMEcvu77HSwry
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCsdK8+WQ2ITV9UU0RAqaGAKCQi33JBRKugWoq5JY/azWVQXkExgCdE9TJ
qYGPbFB4EcDVJnPAdKXe6HE=
=QDNK
-----END PGP SIGNATURE-----

--=-eMEoOOUlMEcvu77HSwry--




From MAILER-DAEMON Thu Jun 16 16:13:58 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dj0kP-0007Vb-KM
	for mharc-classpath@gnu.org; Thu, 16 Jun 2005 16:13:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dj0kM-0007UK-PN
	for classpath@gnu.org; Thu, 16 Jun 2005 16:13:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dj0kJ-0007TE-UP
	for classpath@gnu.org; Thu, 16 Jun 2005 16:13:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dj0kJ-0007Qq-S5
	for classpath@gnu.org; Thu, 16 Jun 2005 16:13:51 -0400
Received: from [217.12.12.140] (helo=smtp803.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Dj0i5-0004Lr-I5
	for classpath@gnu.org; Thu, 16 Jun 2005 16:11:33 -0400
Received: (qmail 58137 invoked from network); 16 Jun 2005 20:09:41 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp803.mail.ukl.yahoo.com with SMTP; 16 Jun 2005 20:09:41 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1Dj0g0-0000bK-Ug
	for classpath@gnu.org; Thu, 16 Jun 2005 21:09:25 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <20050616192309.GB18719@bluezoo.org>
References: <D92197D0A6547B44A1567814F851FA680CAC8F@LEMBU.sumatrasoftware.com>
	<1118949080.459.51.camel@rivendell>
	<20050616192309.GB18719@bluezoo.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-r5gvd/3bnA3GCF8f4KJZ"
Date: Thu, 16 Jun 2005 21:09:40 +0100
Message-Id: <1118952580.459.61.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: Re: RFC: Generics branch VM interface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2005 20:13:56 -0000


--=-r5gvd/3bnA3GCF8f4KJZ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2005-06-16 at 20:23 +0100, Chris Burdess wrote:
> Andrew John Hughes wrote:
> > ...  Also, on reading the new specs. for this stuff, something
> > seems to apply that this run-time dropping may only be temporary (i.e.
> > that the idea is to ween people off non-generic code).  But I'd be
> > really interested to hear the opinion of others on this. =20
>=20
> http://www.tbray.org/ongoing/When/200x/2005/06/12/Comparable

Did I miss something?  How does this relate to what I said?
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-r5gvd/3bnA3GCF8f4KJZ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCsdyE+WQ2ITV9UU0RAt06AKCLW3pk8sR5drQrps3w0en/lu63ZACffrm7
fqXUztgjJAXQvKKZkKKvCOE=
=z/g+
-----END PGP SIGNATURE-----

--=-r5gvd/3bnA3GCF8f4KJZ--




From MAILER-DAEMON Thu Jun 16 16:39:17 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dj18t-00057l-Fu
	for mharc-classpath@gnu.org; Thu, 16 Jun 2005 16:39:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dj18k-00054P-I4
	for classpath@gnu.org; Thu, 16 Jun 2005 16:39:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dj18a-0004y2-DB
	for classpath@gnu.org; Thu, 16 Jun 2005 16:38:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dj18W-0004uv-LY
	for classpath@gnu.org; Thu, 16 Jun 2005 16:38:52 -0400
Received: from [217.12.12.203] (helo=smtp813.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Dj14n-0005vI-By
	for classpath@gnu.org; Thu, 16 Jun 2005 16:35:01 -0400
Received: (qmail 71396 invoked from network); 16 Jun 2005 20:33:09 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp813.mail.ukl.yahoo.com with SMTP; 16 Jun 2005 20:33:09 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1Dj12j-0000di-14
	for classpath@gnu.org; Thu, 16 Jun 2005 21:32:53 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1118950076.459.59.camel@rivendell>
References: <1118950076.459.59.camel@rivendell>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-YHMrlK9RIerYt0qxrj81"
Date: Thu, 16 Jun 2005 21:33:08 +0100
Message-Id: <1118953988.459.66.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: PS: Generics Branch Status
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2005 20:39:11 -0000


--=-YHMrlK9RIerYt0qxrj81
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2005-06-16 at 20:27 +0100, Andrew John Hughes wrote:
> Hi all,
>=20
> A few thing recently have brought my attention to an issue I believe
> still exists with the generics branch; namely, what is the status
> regards the additions of 1.5 features?  I had assumed the following:
>=20
> * Features requiring language features, such as generics, enums, etc. go
> on the generics branch.
> * Anything else goes on HEAD.
>=20
> Yet there is still a body of code on the generics branch that goes in
> the latter category (the valueOf() functions in the primitive classes
> for instance).  Should this be merged across?  And what is the general
> view on adding modified versions of some classes (e.g. Enum), as has
> been proposed, so as to give temporary, primarily run-time support?
>=20
> Also, re. Jeroen's e-mail, I'd be interested to hear from any VM
> implementers who are looking at the generics branch and what support
> they need within the class library as regards integrating new features
> such as 1.5 reflection support.
>=20
> Thanks,
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath

One other point that occurred to me; AFAICS, there is no problem with
the generics branch possibly containing the changes to the Swing
accessibility code (limited on HEAD by gcj problems) and it may also be
a good place to start looking at bringing the concurrency stuff into the
fold.
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-YHMrlK9RIerYt0qxrj81
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCseIE+WQ2ITV9UU0RAjjoAJ9HDfzIUeiii6J88NrvaSCHyLSE7wCdHPRt
u7SUEhS1iMO23kK1fOVBk/c=
=MUH1
-----END PGP SIGNATURE-----

--=-YHMrlK9RIerYt0qxrj81--




From MAILER-DAEMON Fri Jun 17 02:56:40 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DjAm8-0006xQ-E4
	for mharc-classpath@gnu.org; Fri, 17 Jun 2005 02:56:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DjAlw-0006rq-CH
	for classpath@gnu.org; Fri, 17 Jun 2005 02:56:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DjAlt-0006p9-29
	for classpath@gnu.org; Fri, 17 Jun 2005 02:56:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DjAlr-0006jq-9n
	for classpath@gnu.org; Fri, 17 Jun 2005 02:56:08 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DjAjT-0007DO-M6
	for classpath@gnu.org; Fri, 17 Jun 2005 02:53:39 -0400
Date: Fri, 17 Jun 2005 08:51:38 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Message-ID: <D92197D0A6547B44A1567814F851FA680CACA6@LEMBU.sumatrasoftware.com>
Content-class: urn:content-classes:message
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Thread-Topic: RFC: Generics branch VM interface
Thread-Index: AcVyp3IaVFzgLzEuQPCx2yl5LQx3vAAYOKow
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <gnu_andrew@member.fsf.org>,
	"GNU Classpath" <classpath@gnu.org>
Cc: 
Subject: RE: RFC: Generics branch VM interface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Jun 2005 06:56:15 -0000

Andrew John Hughes wrote:
> Keeping the VM interfaces in sync sounds like a good idea to me, but
> keep a couple of things in mind:
>=20
> 1) A lot of VM differences between the two will be due to new methods
> that just don't exist outside the generics branch e.g.=20
> cast(), isEnum().
> You mention two of these below.  Thus, you'd never get exact identical
> copies without introducing lots of generic library code into=20
> HEAD, which we simply can't do at this stage.

Sorry, I should have been more clear. What I would like to see is that
the interface between the Foo and VMFoo classes doesn't contain any
types that are not in HEAD. This way VMs that replace the VM* classes
can use one set of VM classes for both HEAD and the generics branch.

> Also, on reading the new specs. for this stuff, something
> seems to apply that this run-time dropping may only be temporary (i.e.
> that the idea is to ween people off non-generic code).  But I'd be
> really interested to hear the opinion of others on this.

If seen this sentiment too, but I don't think it is realistic. It will
break too much code.

> > This means, for example, that in VMClass, we use Class instead of
> > Class<T>. In some cases this requires additional casts in the
> > corresponding class, but these casts are removed by the=20
> > compiler so they don't affect performance or code size.
>=20
> I don't see how much this gains, as you'd never get identical VM
> interfaces because the majority is new stuff.  Unless you're proposing
> that VMs implement this without having the stuff in the class library,
> which seems a little strange.

I hope it is clearer now, given that I've explained above that my angle
is that my VM replaces all the VM* classes. Please let me know if it
isn't.

Regards,
Jeroen



From MAILER-DAEMON Fri Jun 17 03:19:34 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DjB8W-00068U-FI
	for mharc-classpath@gnu.org; Fri, 17 Jun 2005 03:19:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DjB8O-00065q-SN
	for classpath@gnu.org; Fri, 17 Jun 2005 03:19:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DjB8L-00064c-Kj
	for classpath@gnu.org; Fri, 17 Jun 2005 03:19:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DjB8K-0005qt-HX
	for classpath@gnu.org; Fri, 17 Jun 2005 03:19:20 -0400
Received: from [130.102.104.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DjB1P-0008M9-Rm; Fri, 17 Jun 2005 03:12:12 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.13.0/8.13.0) with ESMTP id j5H78xKe006052;
	Fri, 17 Jun 2005 17:08:59 +1000 (EST)
Message-Id: <200506170708.j5H78xKe006052@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: Message from "Jeroen Frijters" <jeroen@sumatra.nl> of "Fri,
	17 Jun 2005 08:51:38 +0200."
	<D92197D0A6547B44A1567814F851FA680CACA6@LEMBU.sumatrasoftware.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 17 Jun 2005 17:09:54 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.45 (DSTC)
Cc: crawley@piglet.dstc.edu.au, GNU Classpath <classpath@gnu.org>
Subject: Re: RFC: Generics branch VM interface 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Jun 2005 07:19:27 -0000


Hi Jeroen,

I'd like to second your request.

While kissme does not replace all of the VM classes, having different
VM classes in the classic and generics branches will most likely 
result in having different native calls.  That makes it harder to
transition kissme to the generics branch, and harder still to make
the kissme codebase work against both branches.

-- Steve




From MAILER-DAEMON Fri Jun 17 14:26:58 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DjLYO-0001pp-OR
	for mharc-classpath@gnu.org; Fri, 17 Jun 2005 14:26:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DjLYF-0001lX-Gf
	for classpath@gnu.org; Fri, 17 Jun 2005 14:26:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DjLYB-0001ig-Ct
	for classpath@gnu.org; Fri, 17 Jun 2005 14:26:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DjLYB-0001iO-8S
	for classpath@gnu.org; Fri, 17 Jun 2005 14:26:43 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DjLZK-0008T3-Uq
	for classpath@gnu.org; Fri, 17 Jun 2005 14:27:55 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j5HIPdG0017056;
	Fri, 17 Jun 2005 14:25:39 -0400
Received: from opsy.redhat.com (vpn50-28.rdu.redhat.com [172.16.50.28])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j5HIPcu30765; 
	Fri, 17 Jun 2005 14:25:38 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id DE1DD2DD24B; Fri, 17 Jun 2005 12:21:38 -0600 (MDT)
Sender: tromey@redhat.com
To: "Jeroen Frijters" <jeroen@sumatra.nl>
References: <D92197D0A6547B44A1567814F851FA680CAC8F@LEMBU.sumatrasoftware.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 17 Jun 2005 12:21:38 -0600
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CAC8F@LEMBU.sumatrasoftware.com>
Message-ID: <m3psuksv2l.fsf@localhost.localdomain>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: RFC: Generics branch VM interface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Jun 2005 18:26:52 -0000

>>>>> "Jeroen" == Jeroen Frijters <jeroen@sumatra.nl> writes:

Jeroen> I'd like to propose a fundamental change to the VM interface
Jeroen> on the generics branch. In particular, I'd like the VM
Jeroen> interface (and in this case I mean strictly the interface
Jeroen> between the Foo and VMFoo classes) on the generics branch to
Jeroen> be compatible with the main branch. That way a VM can use the
Jeroen> same VM interface code for both branches.

Good idea.

Jeroen> Any thoughts?

Let's give it a try and see what, if anything, breaks.

Tom



From MAILER-DAEMON Fri Jun 17 14:28:41 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DjLa5-0002eb-8B
	for mharc-classpath@gnu.org; Fri, 17 Jun 2005 14:28:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DjLa1-0002an-EA
	for classpath@gnu.org; Fri, 17 Jun 2005 14:28:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DjLZx-0002XK-1j
	for classpath@gnu.org; Fri, 17 Jun 2005 14:28:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DjLZw-0002X7-Nl
	for classpath@gnu.org; Fri, 17 Jun 2005 14:28:32 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1DjLbA-0000F1-1y; Fri, 17 Jun 2005 14:29:48 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j5HIRgha017811;
	Fri, 17 Jun 2005 14:27:42 -0400
Received: from opsy.redhat.com (vpn50-28.rdu.redhat.com [172.16.50.28])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j5HIRbu31674; 
	Fri, 17 Jun 2005 14:27:37 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 757332DD24B; Fri, 17 Jun 2005 12:23:37 -0600 (MDT)
Sender: tromey@redhat.com
To: gnu_andrew@member.fsf.org
References: <1118950076.459.59.camel@rivendell>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 17 Jun 2005 12:23:37 -0600
In-Reply-To: <1118950076.459.59.camel@rivendell>
Message-ID: <m3ll58suza.fsf@localhost.localdomain>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Generics Branch Status
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Jun 2005 18:28:38 -0000

>>>>> "Andrew" == Andrew John Hughes <gnu_andrew@member.fsf.org> writes:

Andrew> Yet there is still a body of code on the generics branch that goes in
Andrew> the latter category (the valueOf() functions in the primitive classes
Andrew> for instance).  Should this be merged across?

I think that is fine.

Andrew> And what is the general
Andrew> view on adding modified versions of some classes (e.g. Enum), as has
Andrew> been proposed, so as to give temporary, primarily run-time support?

This seems dangerous to me.  But I haven't really tried to think
through the ramifications.

Tom



From MAILER-DAEMON Sat Jun 18 07:01:43 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Djb55-0006Kh-6O
	for mharc-classpath@gnu.org; Sat, 18 Jun 2005 07:01:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Djb51-0006KI-FL
	for classpath@gnu.org; Sat, 18 Jun 2005 07:01:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Djb4i-0006FK-IR
	for classpath@gnu.org; Sat, 18 Jun 2005 07:01:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Djb4c-00069K-W0
	for classpath@gnu.org; Sat, 18 Jun 2005 07:01:17 -0400
Received: from [217.12.12.139] (helo=smtp802.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Djazy-0006Cl-TZ
	for classpath@gnu.org; Sat, 18 Jun 2005 06:56:27 -0400
Received: (qmail 15064 invoked from network); 18 Jun 2005 10:54:12 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp802.mail.ukl.yahoo.com with SMTP; 18 Jun 2005 10:54:11 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1DjaxW-0003Cp-Ln
	for classpath@gnu.org; Sat, 18 Jun 2005 11:53:54 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CACA6@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CACA6@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-MiAxCrDNz2oihpgMzIPe"
Date: Sat, 18 Jun 2005 11:54:09 +0100
Message-Id: <1119092050.15149.6.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: RE: RFC: Generics branch VM interface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Jun 2005 11:01:40 -0000


--=-MiAxCrDNz2oihpgMzIPe
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2005-06-17 at 08:51 +0200, Jeroen Frijters wrote:
> Andrew John Hughes wrote:
> > Keeping the VM interfaces in sync sounds like a good idea to me, but
> > keep a couple of things in mind:
> >=20
> > 1) A lot of VM differences between the two will be due to new methods
> > that just don't exist outside the generics branch e.g.=20
> > cast(), isEnum().
> > You mention two of these below.  Thus, you'd never get exact identical
> > copies without introducing lots of generic library code into=20
> > HEAD, which we simply can't do at this stage.
>=20
> Sorry, I should have been more clear. What I would like to see is that
> the interface between the Foo and VMFoo classes doesn't contain any
> types that are not in HEAD. This way VMs that replace the VM* classes
> can use one set of VM classes for both HEAD and the generics branch.
>=20

Yes, that does make more sense and I did start to get the feeling that
might have been your point about halfway through writing the last mail!

> > Also, on reading the new specs. for this stuff, something
> > seems to apply that this run-time dropping may only be temporary (i.e.
> > that the idea is to ween people off non-generic code).  But I'd be
> > really interested to hear the opinion of others on this.
>=20
> If seen this sentiment too, but I don't think it is realistic. It will
> break too much code.
>=20

Yes, its a unfortunate situation and not exactly a new one.  There's
always a limit on holding on to backwards compatibility when introducing
something new.  My current feeling, however, is that the current
restrictions do make the new parametric types more complicated than they
need to be.  For example, you can't do a run-time type check because
these types don't exist then.  You then get odd situations where the
solution to one warning or error causes another different warning.  The
casts you suggest are examples of this; without a cast, you get an error
but with you then have the problem that the cast will work with the raw
type instead.

> > > This means, for example, that in VMClass, we use Class instead of
> > > Class<T>. In some cases this requires additional casts in the
> > > corresponding class, but these casts are removed by the=20
> > > compiler so they don't affect performance or code size.
> >=20
> > I don't see how much this gains, as you'd never get identical VM
> > interfaces because the majority is new stuff.  Unless you're proposing
> > that VMs implement this without having the stuff in the class library,
> > which seems a little strange.
>=20
> I hope it is clearer now, given that I've explained above that my angle
> is that my VM replaces all the VM* classes. Please let me know if it
> isn't.
>=20

Yes, it does make sense and clearly it means VMs can start to have
support for the new methods without having to break compatibility with
HEAD.

> Regards,
> Jeroen
>=20
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-MiAxCrDNz2oihpgMzIPe
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCs/1R+WQ2ITV9UU0RAt9kAKCKSxv5rIi4L372V/HLDp7vCgYDpQCgg31N
1hdRnibdg8fdkRjr5PId3fc=
=vimr
-----END PGP SIGNATURE-----

--=-MiAxCrDNz2oihpgMzIPe--




From MAILER-DAEMON Sat Jun 18 20:00:27 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DjnEg-0004U6-Vc
	for mharc-classpath@gnu.org; Sat, 18 Jun 2005 20:00:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DjnDz-0004HX-Ui
	for classpath@gnu.org; Sat, 18 Jun 2005 19:59:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DjnDr-0004Bm-9Q
	for classpath@gnu.org; Sat, 18 Jun 2005 19:59:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DjnDo-00044c-Pb
	for classpath@gnu.org; Sat, 18 Jun 2005 19:59:32 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Djmqr-0007QB-0R
	for classpath@gnu.org; Sat, 18 Jun 2005 19:35:49 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Djmoh-0001wu-00
	for <classpath@gnu.org>; Sun, 19 Jun 2005 01:33:35 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-OVeySqCyv4Od4pZV8a8+"
Date: Sun, 19 Jun 2005 01:33:33 +0200
Message-Id: <1119137613.5720.73.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: New bug-classpath mailinglist
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Jun 2005 23:59:45 -0000


--=-OVeySqCyv4Od4pZV8a8+
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

Till now all automatic emails for either commit messages and
bug/task/patch reports went to the same list. We have now split this
into a automatic commit messages list and a automatic bug/patch/task
messages list.

If you want to receive email about each CVS commit message join:
http://lists.gnu.org/mailman/listinfo/commit-classpath

If you want to receive email about each bug/patch/task added join:
http://lists.gnu.org/mailman/listinfo/bug-classpath

Both lists should only receive automatic emails from the Savannah
system. Replies are set to go to the main classpath list for bug reports
and classpath-patches for commit messages.

When we switch to bugzilla all bugzilla emails will go to bug-classpath
also. Sorry, no date yet for the switch.

An overview of all the mailinglist for the GNU Classpath project can be
found at: https://savannah.gnu.org/mail/?group=3Dclasspath

Cheers,

Mark

P.S. Just before the creation of this new mailinglist a whole batch of
bug reports was added that were found through FindBugs by David
Hovemeyer. They might be interesting to look at if you are looking for
some "easy" bugs to solve.

--=-OVeySqCyv4Od4pZV8a8+
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCtK9NxVhZCJWr9QwRAljbAJwKHeOomov2IR3IbGqvvimpbFsz0QCfdecv
rDw8u4Tpi1vXei9xE+yktsk=
=Nhw7
-----END PGP SIGNATURE-----

--=-OVeySqCyv4Od4pZV8a8+--




From MAILER-DAEMON Sun Jun 19 06:59:53 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DjxWq-0002ZW-Q3
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 06:59:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DjxWl-0002Y2-1P
	for classpath@gnu.org; Sun, 19 Jun 2005 06:59:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DjxWh-0002WJ-8k
	for classpath@gnu.org; Sun, 19 Jun 2005 06:59:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DjxWg-0002OE-Ih
	for classpath@gnu.org; Sun, 19 Jun 2005 06:59:42 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DjxFv-0004n7-Q6
	for classpath@gnu.org; Sun, 19 Jun 2005 06:42:23 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 19 Jun 2005 12:39:51 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CACBF@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Anon cvs broken?
Thread-Index: AcV0uzik5dl6ox4IRHS/DP0ze+9YiA==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "GNU Classpath" <classpath@gnu.org>
Subject: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 10:59:48 -0000

Hi,

I just updated my anoncvs classpath tree and it appears to be out of
sync. Some Corba classes that Audrius checked in on Thursday are
missing. Can someone please look into this?

Regards,
Jeroen



From MAILER-DAEMON Sun Jun 19 07:30:49 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Djy0m-00056w-MO
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 07:30:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Djy0f-000545-FE
	for classpath@gnu.org; Sun, 19 Jun 2005 07:30:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Djy0Y-00050r-Tr
	for classpath@gnu.org; Sun, 19 Jun 2005 07:30:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Djy0Y-00050a-Rz
	for classpath@gnu.org; Sun, 19 Jun 2005 07:30:34 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Djxy8-0006HG-DS
	for classpath@gnu.org; Sun, 19 Jun 2005 07:28:04 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Djxvs-0006Ib-00; Sun, 19 Jun 2005 13:25:44 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CACBF@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CACBF@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-dglUZ6/SkC6tRdneuZrq"
Date: Sun, 19 Jun 2005 13:25:35 +0200
Message-Id: <1119180335.5727.3.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 11:30:44 -0000


--=-dglUZ6/SkC6tRdneuZrq
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Jeroen,

On Sun, 2005-06-19 at 12:39 +0200, Jeroen Frijters wrote:
> I just updated my anoncvs classpath tree and it appears to be out of
> sync. Some Corba classes that Audrius checked in on Thursday are
> missing. Can someone please look into this?

Could you be more specific? How precisely did you check it out?
Does it also happen with a "fresh" checkout?
export CVS_RSH=3D"ssh"
cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/classpath co classpath

It looks like at least the ChangeLog file and all files under org/omg
are similar to the working copy I have here. Are there specific files
you are missing?

Cheers,

Mark

--=-dglUZ6/SkC6tRdneuZrq
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCtVYvxVhZCJWr9QwRAlA4AJ9UQH23xz32DLVmTUMUwwAtBAMUOgCfdWrc
jFML4lC35Zq6jYUJ8E4hMyA=
=+6zx
-----END PGP SIGNATURE-----

--=-dglUZ6/SkC6tRdneuZrq--




From MAILER-DAEMON Sun Jun 19 07:57:54 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DjyQz-000862-QJ
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 07:57:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DjyQo-00083W-7C
	for classpath@gnu.org; Sun, 19 Jun 2005 07:57:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DjyQj-000812-Iq
	for classpath@gnu.org; Sun, 19 Jun 2005 07:57:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DjyQh-0007s2-ED
	for classpath@gnu.org; Sun, 19 Jun 2005 07:57:35 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Djy9I-0006tn-0f
	for classpath@gnu.org; Sun, 19 Jun 2005 07:39:36 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 19 Jun 2005 13:37:04 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Anon cvs broken?
Thread-Index: AcV0wZ0IX6nJOSM2R6iWweUhCZ/CRAAAVJiw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 11:57:44 -0000

Hi Mark,

Mark Wielaard wrote:
> On Sun, 2005-06-19 at 12:39 +0200, Jeroen Frijters wrote:
> > I just updated my anoncvs classpath tree and it appears to be out of
> > sync. Some Corba classes that Audrius checked in on Thursday are
> > missing. Can someone please look into this?
>=20
> Could you be more specific? How precisely did you check it out?
> Does it also happen with a "fresh" checkout?
> export CVS_RSH=3D"ssh"
> cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/classpath co=20
> classpath

Hmm. That solved the problem. I don't understand, isn't "cvs update"
supposed to get the new files as well?

Thanks.

Regards,
Jeroen



From MAILER-DAEMON Sun Jun 19 08:38:39 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Djz4Q-0001j0-Vy
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 08:38:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Djz1e-0001Wg-8c
	for classpath@gnu.org; Sun, 19 Jun 2005 08:35:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Djz1M-0001Nd-Pp
	for classpath@gnu.org; Sun, 19 Jun 2005 08:35:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Djz1J-0001JY-Pz
	for classpath@gnu.org; Sun, 19 Jun 2005 08:35:25 -0400
Received: from [81.103.221.47] (helo=mta07-winn.ispmail.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Djym3-0000m5-Us
	for classpath@gnu.org; Sun, 19 Jun 2005 08:19:40 -0400
Received: from aamta12-winn.ispmail.ntl.com ([81.103.221.35])
	by mta07-winn.ispmail.ntl.com with ESMTP id
	<20050619121709.OVYD6745.mta07-winn.ispmail.ntl.com@aamta12-winn.ispmail.ntl.com>
	for <classpath@gnu.org>; Sun, 19 Jun 2005 13:17:09 +0100
Received: from zapata.pink ([82.16.12.40]) by aamta12-winn.ispmail.ntl.com
	with ESMTP
	id <20050619121709.IXMK15401.aamta12-winn.ispmail.ntl.com@zapata.pink>
	for <classpath@gnu.org>; Sun, 19 Jun 2005 13:17:09 +0100
Received: from zapata.pink (localhost.localdomain [127.0.0.1])
	by zapata.pink (8.13.1/8.13.1) with ESMTP id j5JCHTDW029713;
	Sun, 19 Jun 2005 13:17:29 +0100
Received: (from aph@localhost)
	by zapata.pink (8.13.1/8.13.1/Submit) id j5JCHSvv029710;
	Sun, 19 Jun 2005 13:17:28 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17077.25175.688705.804462@zapata.pink>
Date: Sun, 19 Jun 2005 13:17:27 +0100
From: Andrew Haley <aph@redhat.com>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.19 under Emacs 21.3.1
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: RE: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 12:38:38 -0000

Jeroen Frijters writes:
 > Hi Mark,
 > 
 > Mark Wielaard wrote:
 > > On Sun, 2005-06-19 at 12:39 +0200, Jeroen Frijters wrote:
 > > > I just updated my anoncvs classpath tree and it appears to be out of
 > > > sync. Some Corba classes that Audrius checked in on Thursday are
 > > > missing. Can someone please look into this?
 > > 
 > > Could you be more specific? How precisely did you check it out?
 > > Does it also happen with a "fresh" checkout?
 > > export CVS_RSH="ssh"
 > > cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/classpath co 
 > > classpath
 > 
 > Hmm. That solved the problem. I don't understand, isn't "cvs update"
 > supposed to get the new files as well?

No, it isn't, not without "-d".

Andrew.



From MAILER-DAEMON Sun Jun 19 08:39:16 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Djz1c-0001Wu-SE
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 08:35:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Djz1P-0001Oz-Oe
	for classpath@gnu.org; Sun, 19 Jun 2005 08:35:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Djz1E-0001Kx-AI
	for classpath@gnu.org; Sun, 19 Jun 2005 08:35:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Djz1E-0001JY-44
	for classpath@gnu.org; Sun, 19 Jun 2005 08:35:20 -0400
Received: from [217.12.12.142] (helo=smtp800.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Djz0C-0001Jr-5D
	for classpath@gnu.org; Sun, 19 Jun 2005 08:34:16 -0400
Received: (qmail 60004 invoked from network); 19 Jun 2005 12:31:47 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp800.mail.ukl.yahoo.com with SMTP; 19 Jun 2005 12:31:46 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1DjyxV-0004w6-E3
	for classpath@gnu.org; Sun, 19 Jun 2005 13:31:29 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Vw0OCFcnfO4bhfHF60mn"
Date: Sun, 19 Jun 2005 13:31:45 +0100
Message-Id: <1119184305.24960.8.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: RE: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 12:35:41 -0000


--=-Vw0OCFcnfO4bhfHF60mn
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2005-06-19 at 13:37 +0200, Jeroen Frijters wrote:
> Hi Mark,
>=20
> Mark Wielaard wrote:
> > On Sun, 2005-06-19 at 12:39 +0200, Jeroen Frijters wrote:
> > > I just updated my anoncvs classpath tree and it appears to be out of
> > > sync. Some Corba classes that Audrius checked in on Thursday are
> > > missing. Can someone please look into this?
> >=20
> > Could you be more specific? How precisely did you check it out?
> > Does it also happen with a "fresh" checkout?
> > export CVS_RSH=3D"ssh"
> > cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/classpath co=20
> > classpath
>=20
> Hmm. That solved the problem. I don't understand, isn't "cvs update"
> supposed to get the new files as well?
>=20
> Thanks.
>=20
> Regards,
> Jeroen
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
>=20

Depends if you have the -d option on.

 -d      Build directories, like checkout does.

The default is without, and so files in new directories won't appear on
update.
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-Vw0OCFcnfO4bhfHF60mn
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCtWWx+WQ2ITV9UU0RAm6IAKCN19FxdXA98Dbea7SNPUBTaNFjkQCbBvvR
H4sFgzCOhS3zfszgw0Cr0+A=
=HBdQ
-----END PGP SIGNATURE-----

--=-Vw0OCFcnfO4bhfHF60mn--




From MAILER-DAEMON Sun Jun 19 08:41:14 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Djz6w-0002Dw-EJ
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 08:41:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Djz6u-0002DG-Hm
	for classpath@gnu.org; Sun, 19 Jun 2005 08:41:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Djz6r-0002Bq-FY
	for classpath@gnu.org; Sun, 19 Jun 2005 08:41:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Djz6r-0002BI-A2
	for classpath@gnu.org; Sun, 19 Jun 2005 08:41:09 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Djz7J-0001yF-Iy
	for classpath@gnu.org; Sun, 19 Jun 2005 08:41:37 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Djz52-0006hJ-00; Sun, 19 Jun 2005 14:39:16 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-N9PzT2CzmEsdRAWkD+/s"
Date: Sun, 19 Jun 2005 14:39:08 +0200
Message-Id: <1119184748.5727.9.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 12:41:13 -0000


--=-N9PzT2CzmEsdRAWkD+/s
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Jeroen,

On Sun, 2005-06-19 at 13:37 +0200, Jeroen Frijters wrote:
> I don't understand, isn't "cvs update" supposed to get the new files
> as well?

New files yes, but not new directories...
I don't know why anyone thought that was good default behavior.

In my ~/.cvrc I have the following to get more sane cvs behavior:

cvs -q -z3
diff -u
update -dP

Meaning "quiet and compress network traffic always", "unidiff by
default", "get new directories and prune empty directories on updates".

Cheers,

Mark

--=-N9PzT2CzmEsdRAWkD+/s
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCtWdsxVhZCJWr9QwRAozcAJ4wdMFbhCjrAn5fmnkKlIA8x4zTOQCfeiJS
aJdREAuDLN0iSV1kN+D9az8=
=xiuy
-----END PGP SIGNATURE-----

--=-N9PzT2CzmEsdRAWkD+/s--




From MAILER-DAEMON Sun Jun 19 08:41:22 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Djz74-0002Hc-HX
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 08:41:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Djz70-0002GT-39
	for classpath@gnu.org; Sun, 19 Jun 2005 08:41:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Djz6x-0002Eb-Pz
	for classpath@gnu.org; Sun, 19 Jun 2005 08:41:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Djz1f-0001JY-5B
	for classpath@gnu.org; Sun, 19 Jun 2005 08:35:47 -0400
Received: from [193.189.160.40] (helo=mta1.siol.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DjydA-0008NV-Ji
	for classpath@gnu.org; Sun, 19 Jun 2005 08:10:28 -0400
Received: from edge1.siol.net ([10.10.10.210]) by mta1.siol.net with ESMTP
	id <20050619120756.SAYM28041.mta1.siol.net@edge1.siol.net>;
	Sun, 19 Jun 2005 14:07:56 +0200
Received: from [192.168.0.6] (really [193.77.159.2]) by edge1.siol.net
	with ESMTP
	id <20050619120756.RWYN19108.edge1.siol.net@[192.168.0.6]>;
	Sun, 19 Jun 2005 14:07:56 +0200
From: Ziga Mahkovec <ziga.mahkovec@klika.si>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
Content-Type: text/plain
Date: Sun, 19 Jun 2005 14:07:54 +0200
Message-Id: <1119182874.2750.3.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-5) 
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 12:41:18 -0000

On Sun, 2005-06-19 at 13:37 +0200, Jeroen Frijters wrote:
> Mark Wielaard wrote:
> > Could you be more specific? How precisely did you check it out?
> > Does it also happen with a "fresh" checkout?
> > export CVS_RSH="ssh"
> > cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/classpath co 
> > classpath
> 
> Hmm. That solved the problem. I don't understand, isn't "cvs update"
> supposed to get the new files as well?

You have to use "cvs up -d", so it brings in new directories as well.
-- 
Ziga




From MAILER-DAEMON Sun Jun 19 08:57:41 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DjzMq-0004k8-Du
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 08:57:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DjzMl-0004gB-DW
	for classpath@gnu.org; Sun, 19 Jun 2005 08:57:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DjzMd-0004bg-1C
	for classpath@gnu.org; Sun, 19 Jun 2005 08:57:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DjzMc-0004XT-JJ
	for classpath@gnu.org; Sun, 19 Jun 2005 08:57:26 -0400
Received: from [217.12.12.204] (helo=smtp814.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DjzCb-0002MQ-HU
	for classpath@gnu.org; Sun, 19 Jun 2005 08:47:05 -0400
Received: (qmail 38027 invoked from network); 19 Jun 2005 12:44:36 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp814.mail.ukl.yahoo.com with SMTP; 19 Jun 2005 12:44:36 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1Djz9u-0004xN-Nu
	for classpath@gnu.org; Sun, 19 Jun 2005 13:44:18 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1119137613.5720.73.camel@localhost.localdomain>
References: <1119137613.5720.73.camel@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-aaHUXGtzA9PP053r/5h+"
Date: Sun, 19 Jun 2005 13:44:35 +0100
Message-Id: <1119185075.24960.16.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: Re: New bug-classpath mailinglist
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 12:57:37 -0000


--=-aaHUXGtzA9PP053r/5h+
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

> P.S. Just before the creation of this new mailinglist a whole batch of
> bug reports was added that were found through FindBugs by David
> Hovemeyer. They might be interesting to look at if you are looking for
> some "easy" bugs to solve.
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath

On this note, I do have some Findbugs runs available on-line:

http://fuseyism.com/japi/classpath.html
http://fuseyism.com/japi/classpath-generics.html

The first is pretty far out of date now (mid-April, e.g. it still
includes our dead locale classes) and the second, while apparently
up-to-date, may not actually be checking against an updated checkout.
This is because these aren't actually run on any of my local machines at
present, as I haven't been able to get a reliable run out of my attempts
with JamVM+Classpath.  I'll take another look over the next week, and
see if I can get anything going with that.  If I do, these will probably
be updated nightly as with the JAPI results.

Obviously, take these with a pinch of salt, just as with any compiler
warning or other auto-generated analysis, especially as I imagine these
are designed more for applications using the class libraries.  Also, be
aware that it suggests 1.5 solutions for some problems
(Boolean.valueOf() for example).  Some of these methods are on the
generics branch and could be put on HEAD.  I'm currently waiting on some
more feedback on my last e-mail about this (Tom's response was pretty
much what I expected :) )
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-aaHUXGtzA9PP053r/5h+
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCtWiz+WQ2ITV9UU0RArGbAJ9lJx0zZdvu4ye7KWXup0KKNulN+gCeIbVy
4sOhiQvGR0iJTyASRdmTNkY=
=wDKL
-----END PGP SIGNATURE-----

--=-aaHUXGtzA9PP053r/5h+--




From MAILER-DAEMON Sun Jun 19 08:57:45 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DjzMu-0004li-L3
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 08:57:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DjzMl-0004gJ-QU
	for classpath@gnu.org; Sun, 19 Jun 2005 08:57:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DjzMe-0004bd-Cf
	for classpath@gnu.org; Sun, 19 Jun 2005 08:57:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DjzMc-0004XT-Et
	for classpath@gnu.org; Sun, 19 Jun 2005 08:57:26 -0400
Received: from [81.103.221.47] (helo=mta07-winn.ispmail.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DjzCl-0002Mp-3v
	for classpath@gnu.org; Sun, 19 Jun 2005 08:47:15 -0400
Received: from aamta12-winn.ispmail.ntl.com ([81.103.221.35])
	by mta07-winn.ispmail.ntl.com with ESMTP id
	<20050619124445.PHUO6745.mta07-winn.ispmail.ntl.com@aamta12-winn.ispmail.ntl.com>
	for <classpath@gnu.org>; Sun, 19 Jun 2005 13:44:45 +0100
Received: from zapata.pink ([82.16.12.40]) by aamta12-winn.ispmail.ntl.com
	with ESMTP
	id <20050619124445.JCKU15401.aamta12-winn.ispmail.ntl.com@zapata.pink>
	for <classpath@gnu.org>; Sun, 19 Jun 2005 13:44:45 +0100
Received: from zapata.pink (localhost.localdomain [127.0.0.1])
	by zapata.pink (8.13.1/8.13.1) with ESMTP id j5JCj6k4029786;
	Sun, 19 Jun 2005 13:45:06 +0100
Received: (from aph@localhost)
	by zapata.pink (8.13.1/8.13.1/Submit) id j5JCj5CK029783;
	Sun, 19 Jun 2005 13:45:05 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17077.26832.224611.373647@zapata.pink>
Date: Sun, 19 Jun 2005 13:45:04 +0100
From: Andrew Haley <aph@redhat.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1119184748.5727.9.camel@localhost.localdomain>
References: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
	<1119184748.5727.9.camel@localhost.localdomain>
X-Mailer: VM 7.19 under Emacs 21.3.1
Cc: GNU Classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: RE: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 12:57:39 -0000

Mark Wielaard writes:
 > Hi Jeroen,
 > 
 > On Sun, 2005-06-19 at 13:37 +0200, Jeroen Frijters wrote:
 > > I don't understand, isn't "cvs update" supposed to get the new files
 > > as well?
 > 
 > New files yes, but not new directories...
 > I don't know why anyone thought that was good default behavior.

It's the only possible default behaviour.  CVS supports modules, so
that it's possible to check out a subset of a tree, and this is very
useful.  When you do "cvs update", it does not check out every module,
just the directories you already checked out.

 > In my ~/.cvrc I have the following to get more sane cvs behavior:

This is not sane bahavior in general, just for trees that don't have
many modules.

Andrew.



From MAILER-DAEMON Sun Jun 19 09:33:31 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DjzvW-0001k8-Mh
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 09:33:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DjzuE-0001JY-V6
	for classpath@gnu.org; Sun, 19 Jun 2005 09:32:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Djzu1-0001DU-69
	for classpath@gnu.org; Sun, 19 Jun 2005 09:32:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Djzu0-00018D-Si
	for classpath@gnu.org; Sun, 19 Jun 2005 09:31:56 -0400
Received: from [64.233.184.200] (helo=wproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DjziW-0003iA-Lz
	for classpath@gnu.org; Sun, 19 Jun 2005 09:20:04 -0400
Received: by wproxy.gmail.com with SMTP id 36so370270wra
	for <classpath@gnu.org>; Sun, 19 Jun 2005 06:17:35 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=KdDMx4Ip0NrED9Hys0AREbC+TDMMTADNCw+CQKe96j3EICOxbIau8hoyYywuo5xZsaBKciBa24p0ZK6Skh/R2y1t6wWLn7bbBZazsoZ9wDT0UZLKFE9UQZRT0lEHRFyVcxcGJST3xD21uy759Rx6PjnYjt9FK1L6Rr/9uWpCMDw=
Received: by 10.54.28.17 with SMTP id b17mr2009742wrb;
	Sun, 19 Jun 2005 06:17:35 -0700 (PDT)
Received: by 10.54.47.25 with HTTP; Sun, 19 Jun 2005 06:17:35 -0700 (PDT)
Message-ID: <d58509a8050619061731abf016@mail.gmail.com>
Date: Sun, 19 Jun 2005 14:17:35 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: gnu_andrew@member.fsf.org
In-Reply-To: <1119185075.24960.16.camel@rivendell>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <1119137613.5720.73.camel@localhost.localdomain>
	<1119185075.24960.16.camel@rivendell>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: New bug-classpath mailinglist
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Robert Lougher <rob.lougher@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 13:33:28 -0000

Hi,

On 6/19/05, Andrew John Hughes <gnu_andrew@member.fsf.org> wrote:
> On this note, I do have some Findbugs runs available on-line:
>=20
> http://fuseyism.com/japi/classpath.html
> http://fuseyism.com/japi/classpath-generics.html
>=20
> The first is pretty far out of date now (mid-April, e.g. it still
> includes our dead locale classes) and the second, while apparently
> up-to-date, may not actually be checking against an updated checkout.
> This is because these aren't actually run on any of my local machines at
> present, as I haven't been able to get a reliable run out of my attempts
> with JamVM+Classpath.

Could you elaborate what the problems are?  Thanks.

Rob.

> Andrew :-)



From MAILER-DAEMON Sun Jun 19 10:31:22 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dk0pW-0001zv-TE
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 10:31:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dk0pV-0001zf-Rn
	for classpath@gnu.org; Sun, 19 Jun 2005 10:31:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dk0ly-0001FW-Tj
	for classpath@gnu.org; Sun, 19 Jun 2005 10:27:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dk0lt-00014Z-DS
	for classpath@gnu.org; Sun, 19 Jun 2005 10:27:37 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dk0SF-0006dK-KS
	for classpath@gnu.org; Sun, 19 Jun 2005 10:07:19 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dk0Pm-0007Gq-00; Sun, 19 Jun 2005 16:04:46 +0200
From: Mark Wielaard <mark@klomp.org>
To: Andrew Haley <aph@redhat.com>
In-Reply-To: <17077.26832.224611.373647@zapata.pink>
References: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
	<1119184748.5727.9.camel@localhost.localdomain>
	<17077.26832.224611.373647@zapata.pink>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Zc/ykf9L9qUA2gFW8STD"
Date: Sun, 19 Jun 2005 16:04:39 +0200
Message-Id: <1119189879.5727.18.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: GNU Classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: RE: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 14:31:22 -0000


--=-Zc/ykf9L9qUA2gFW8STD
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2005-06-19 at 13:45 +0100, Andrew Haley wrote:
> CVS supports modules, so
> that it's possible to check out a subset of a tree, and this is very
> useful.  When you do "cvs update", it does not check out every module,
> just the directories you already checked out.

Wow. A whole new world opens.
http://cvsbook.red-bean.com/cvsbook.html#The%20modules%20File
https://www.cvshome.org/docs/manual/cvs-1.11.20/cvs_18.html#SEC159

Powerful. But this means my intuitive (simplistic) view of a cvs module
as a simple tree of directories under one name (where modulename =3D=3D
directory name) is completely destroyed.

(Un)fortunately I don't believe most public CVS repositories (like the
savannah system) let you arbitrarily change the files in the CVSROOT.
The savannah-hackers are pretty flexible though. So if someone thinks we
can/must/want to take advantage of any of this module system then we can
certainly ask.

Cheers,

Mark

--=-Zc/ykf9L9qUA2gFW8STD
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCtXt3xVhZCJWr9QwRAur3AJ9eBX2sg/Edn0SgVMG/x7pjAAcMoACfVliz
LnrknoVQo70hK5wXF7I9ekk=
=f7jg
-----END PGP SIGNATURE-----

--=-Zc/ykf9L9qUA2gFW8STD--




From MAILER-DAEMON Sun Jun 19 11:03:26 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dk1KV-0006WB-DL
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 11:03:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dk1KK-0006St-Nu
	for classpath@gnu.org; Sun, 19 Jun 2005 11:03:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dk1KB-0006OS-Uc
	for classpath@gnu.org; Sun, 19 Jun 2005 11:03:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dk1KB-0006F1-CL
	for classpath@gnu.org; Sun, 19 Jun 2005 11:03:03 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dk11p-0008N6-Ly
	for classpath@gnu.org; Sun, 19 Jun 2005 10:44:06 -0400
Received: from zander by namlook.thomas.planescape.com with local (Exim 3.35
	#1 (Debian)) id 1Dk0yn-0001aZ-00; Sun, 19 Jun 2005 16:40:57 +0200
Date: Sun, 19 Jun 2005 16:40:57 +0200
To: Mark Wielaard <mark@klomp.org>
Message-ID: <20050619144057.GA6093@planescape.com>
References: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
	<1119184748.5727.9.camel@localhost.localdomain>
	<17077.26832.224611.373647@zapata.pink>
	<1119189879.5727.18.camel@localhost.localdomain>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW"
Content-Disposition: inline
In-Reply-To: <1119189879.5727.18.camel@localhost.localdomain>
From: Thomas Zander <zander@kde.org>
Cc: GNU Classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 15:03:15 -0000


--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 19, 2005 at 04:04:39PM +0200, Mark Wielaard wrote:
> On Sun, 2005-06-19 at 13:45 +0100, Andrew Haley wrote:
> > CVS supports modules, so
> > that it's possible to check out a subset of a tree, and this is very
> > useful.  When you do "cvs update", it does not check out every module,
> > just the directories you already checked out.

Naturally, most CVS users use -l for that rare occasion and have the
proposed -d as default in their .cvsrc

> Wow. A whole new world opens.
> http://cvsbook.red-bean.com/cvsbook.html#The%20modules%20File
> https://www.cvshome.org/docs/manual/cvs-1.11.20/cvs_18.html#SEC159
>=20
> Powerful. But this means my intuitive (simplistic) view of a cvs module
> as a simple tree of directories under one name (where modulename =3D=3D
> directory name) is completely destroyed.

Its indeed quite usefull if you have many modules and want to share
between them.

> (Un)fortunately I don't believe most public CVS repositories (like the
> savannah system) let you arbitrarily change the files in the CVSROOT.

Sourceforge allows you to do this.
I always setup several things like emailing and acls to disallow just anyone
to create branches or tags, for example.

> The savannah-hackers are pretty flexible though. So if someone thinks we
> can/must/want to take advantage of any of this module system then we can
> certainly ask.

Modules are only usefull if you have various modules already; I was under
the impression that classpath does not have that.
The most obvious example of such a use is to move autogen and friends to
such a module and let others share that module.

--=20
Thomas Zander

--0F1p//8PRICkK4MW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQFCtYP5CojCW6H2z/QRAo+SAJ0TTcoMu7pF1uQiVS0jyrPlN4IzewCgl8/c
psdDdDx0ayrQjJwNzPYmLIY=
=Mx9C
-----END PGP SIGNATURE-----

--0F1p//8PRICkK4MW--



From MAILER-DAEMON Sun Jun 19 11:30:19 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dk1kY-0002u1-Uf
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 11:30:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dk1k1-0002mB-EM
	for classpath@gnu.org; Sun, 19 Jun 2005 11:29:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dk1jq-0002gw-KA
	for classpath@gnu.org; Sun, 19 Jun 2005 11:29:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dk1jp-0002Zw-Oe
	for classpath@gnu.org; Sun, 19 Jun 2005 11:29:33 -0400
Received: from [217.12.12.142] (helo=smtp800.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Dk1Rd-0001Oh-Ci
	for classpath@gnu.org; Sun, 19 Jun 2005 11:10:45 -0400
Received: (qmail 2004 invoked from network); 19 Jun 2005 15:08:14 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp800.mail.ukl.yahoo.com with SMTP; 19 Jun 2005 15:08:14 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1Dk1Or-00057y-UO
	for classpath@gnu.org; Sun, 19 Jun 2005 16:07:54 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1119184748.5727.9.camel@localhost.localdomain>
References: <D92197D0A6547B44A1567814F851FA680CACC0@LEMBU.sumatrasoftware.com>
	<1119184748.5727.9.camel@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-M+I0ieAU0tl00YGZoN8h"
Date: Sun, 19 Jun 2005 16:08:10 +0100
Message-Id: <1119193690.24960.17.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: RE: Anon cvs broken?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 15:30:08 -0000


--=-M+I0ieAU0tl00YGZoN8h
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2005-06-19 at 14:39 +0200, Mark Wielaard wrote:
> Hi Jeroen,
>=20
> On Sun, 2005-06-19 at 13:37 +0200, Jeroen Frijters wrote:
> > I don't understand, isn't "cvs update" supposed to get the new files
> > as well?
>=20
> New files yes, but not new directories...
> I don't know why anyone thought that was good default behavior.
>=20
> In my ~/.cvrc I have the following to get more sane cvs behavior:
>=20
> cvs -q -z3
> diff -u
> update -dP
>=20
> Meaning "quiet and compress network traffic always", "unidiff by
> default", "get new directories and prune empty directories on updates".
>=20
> Cheers,
>=20
> Mark
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath

Yep, same here.
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-M+I0ieAU0tl00YGZoN8h
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCtYpa+WQ2ITV9UU0RApLiAJ4yMG0G59b8oHv7tUQ6DtLGnGFFnwCfdJPA
VuNn+algiZEGE7yWdZl8jGg=
=YilA
-----END PGP SIGNATURE-----

--=-M+I0ieAU0tl00YGZoN8h--




From MAILER-DAEMON Sun Jun 19 11:31:38 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dk1lq-0003IZ-IJ
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 11:31:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dk1jy-0002kp-M7
	for classpath@gnu.org; Sun, 19 Jun 2005 11:29:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dk1jj-0002cV-29
	for classpath@gnu.org; Sun, 19 Jun 2005 11:29:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dk1ji-0002Zw-Pe
	for classpath@gnu.org; Sun, 19 Jun 2005 11:29:26 -0400
Received: from [193.189.160.40] (helo=mta1.siol.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dk1ZA-0001dV-R2
	for classpath@gnu.org; Sun, 19 Jun 2005 11:18:33 -0400
Received: from edge1.siol.net ([10.10.10.210]) by mta1.siol.net with ESMTP
	id <20050619151601.YWUY28041.mta1.siol.net@edge1.siol.net>
	for <classpath@gnu.org>; Sun, 19 Jun 2005 17:16:01 +0200
Received: from [192.168.0.6] (really [193.77.159.2]) by edge1.siol.net
	with ESMTP id <20050619151601.TOWL19108.edge1.siol.net@[192.168.0.6]>
	for <classpath@gnu.org>; Sun, 19 Jun 2005 17:16:01 +0200
From: Ziga Mahkovec <ziga.mahkovec@klika.si>
To: GNU Classpath <classpath@gnu.org>
Content-Type: multipart/mixed; boundary="=-wV6StJwv/+PXxCCANv9c"
Date: Sun, 19 Jun 2005 17:15:57 +0200
Message-Id: <1119194157.2750.83.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-5) 
Subject: Problem with Cairo upgrade and re-targeting
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 15:31:36 -0000


--=-wV6StJwv/+PXxCCANv9c
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

I was having problems with the recent Cairo upgrade to 0.5.0.  It was
failing to draw anything on a simple test case such as:

  BufferedImage img = new BufferedImage(10, 10, BufferedImage.TYPE_INT_ARGB);
  Graphics2D g2d = img.createGraphics();
  g2d.setColor(Color.red);
  g2d.fillRect(0, 0, 10, 10);

Note that when using a buffered image, the MODE_JAVA_ARRAY mode is used.
This means that the pixel buffer is stored in javaland and gets passed
to Cairo via JNI (see the GdkGraphics2D peer).

The first problem was an incorrect initialization with a NULL
gr->drawable, but that was easy to fix.  A bigger problem however is the
fact that the recent Cairo API shakeup got rid of the
cairo_set_target_surface call.  Looking at the API docs and this
post[1], it seems that Cairo is no longer re-targetable.

GdkGraphics2D however relies on this.  For each drawing operation, a
handle to the Java array is acquired and passed to Cairo as the new
target.  This diff shows how the API change was reflected:

===================================================================
--- native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c	12 Feb 2005 09:37:31 -0000	1.22
+++ native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c	8 Jun 2005 21:19:25 -0000	1.23
@@ -273,14 +276,15 @@ begin_drawing_operation (JNIEnv *env, st
 
     case MODE_JAVA_ARRAY:
       gr->javabuf = (*env)->GetIntArrayElements (env, gr->jarray, &gr->isCopy);
-      gr->surface = cairo_surface_create_for_image ((char *) gr->javabuf, 
+      gr->surface = cairo_image_surface_create_for_data ((unsigned char *) gr->javabuf, 
 						    CAIRO_FORMAT_ARGB32, 
 						    gr->width, 
 						    gr->height, 
 						    gr->width * 4);
       g_assert(gr->surface != NULL);
       g_assert(gr->cr != NULL);
-      cairo_set_target_surface (gr->cr, gr->surface);
+      cairo_destroy (gr->cr);
+      gr->cr = cairo_create (gr->surface);
       break;
     }
 }
===================================================================

This change results in the Cairo context being destroyed before each
drawing operation -- meaning that all graphics state is lost.  For
example, in the above test case, by the time cairo_fill gets called, the
cairo_new_path/cairo_rectangle calls are already lost.

I'm attaching a patch that ought to fix this, but wanted to check a
couple of things first.  The patch only initializes the Cairo surface
and context in initState.  It also uses the GetPrimitiveArrayCritical
JNI call instead of GetIntArrayElements, to make sure that direct access
to the Java pixel buffer is acquired.  Should this fail, it maintains a
separate native pixel buffer and performs some additional copying.  I
tried this with jamvm any some Java2D tests and it worked fine -- the
array was never copied.  Will this work with other runtimes as well?

I'm also not sure about whether it's possible for a runtime to return a
copy of the array with GetPrimitiveArrayCritical (i.e. fail to pin it
down), but *not* during the first attempt.  This case will fail
currently, since we mustn't reinitialize the Cairo context during a
drawing session.  So this patch relies on the runtime either always
providing direct access to the array, or never.

Note that this issue becomes moot once Sven's ideas[2] come to life, so
this should only be a temporary fix.


Comments appreciated,
-- 
Ziga

[1] http://lists.freedesktop.org/archives/cairo/2005-February/003054.html
[2] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20630

--=-wV6StJwv/+PXxCCANv9c
Content-Disposition: attachment; filename=cairo-target.patch
Content-Type: text/x-patch; name=cairo-target.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit

Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,v
retrieving revision 1.25
diff -u -p -r1.25 gnu_java_awt_peer_gtk_GdkGraphics2D.c
--- native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c	10 Jun 2005 03:56:01 -0000	1.25
+++ native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c	19 Jun 2005 15:02:59 -0000
@@ -275,16 +275,18 @@ begin_drawing_operation (JNIEnv *env, st
       break;
 
     case MODE_JAVA_ARRAY:
-      gr->javabuf = (*env)->GetIntArrayElements (env, gr->jarray, &gr->isCopy);
-      gr->surface = cairo_image_surface_create_for_data ((unsigned char *) gr->javabuf, 
-						    CAIRO_FORMAT_ARGB32, 
-						    gr->width, 
-						    gr->height, 
-						    gr->width * 4);
-      g_assert(gr->surface != NULL);
-      g_assert(gr->cr != NULL);
-      cairo_destroy (gr->cr);
-      gr->cr = cairo_create (gr->surface);
+      {
+        jboolean isCopy;
+        gr->javabuf = (*env)->GetPrimitiveArrayCritical (env, gr->jarray, &isCopy);
+        gr->isCopy |= isCopy;
+        if (gr->isCopy)
+          {
+	    /* Make sure that the pixel buffer copy is already initalized,
+	       i.e. we already failed to get direct access in initState. */
+	    g_assert (gr->javabuf_copy != NULL);
+	    memcpy (gr->javabuf_copy, gr->javabuf, gr->width * gr->height * 4);
+	  }
+      }
       break;
     }
 }
@@ -323,13 +325,9 @@ end_drawing_operation (JNIEnv *env, stru
       break;
       
     case MODE_JAVA_ARRAY:
-      /* 
-       * FIXME: Perhaps this should use the isCopy flag to try to avoid
-       * tearing down the cairo surface.
-       */
-      cairo_surface_destroy (gr->surface);
-      gr->surface = NULL;
-      (*env)->ReleaseIntArrayElements (env, gr->jarray, gr->javabuf, JNI_COMMIT);
+      if (gr->isCopy)
+	memcpy (gr->javabuf, gr->javabuf_copy, gr->width * gr->height * 4);
+      (*env)->ReleasePrimitiveArrayCritical (env, gr->jarray, gr->javabuf, JNI_COMMIT);
     }
 }
 
@@ -416,6 +414,7 @@ Java_gnu_java_awt_peer_gtk_GdkGraphics2D
 (JNIEnv *env, jobject obj, jintArray jarr, jint width, jint height)
 {
   struct graphics2d *gr;
+  jint *cairobuf;
 
   gdk_threads_enter();
   gr = (struct graphics2d *) malloc (sizeof (struct graphics2d));
@@ -426,13 +425,35 @@ Java_gnu_java_awt_peer_gtk_GdkGraphics2D
 
   if (gr->debug) printf ("constructing java-backed image of size (%d,%d)\n",
 			 width, height);
-  
-  gr->cr = gdk_cairo_create (gr->drawable);
-  g_assert (gr->cr != NULL);
 
   gr->width = width;
   gr->height = height;
   gr->jarray = (*env)->NewGlobalRef(env, jarr);
+  gr->javabuf = (*env)->GetPrimitiveArrayCritical (env, gr->jarray, &gr->isCopy);
+  if (gr->isCopy)
+    {
+      /* We didn't get direct access to the pixel buffer, so we'll have to
+         maintain a separate copy for Cairo. */
+      jint size = gr->width * gr->height * 4;
+      gr->javabuf_copy = (jint *) malloc (size);
+      memcpy (gr->javabuf_copy, gr->javabuf, size);
+      cairobuf = gr->javabuf_copy;
+    }
+  else
+    {
+      /* Have Cairo write directly to the Java array. */
+      cairobuf = gr->javabuf;
+    }
+  gr->surface = cairo_image_surface_create_for_data ((unsigned char *) cairobuf,
+						     CAIRO_FORMAT_ARGB32,
+						     gr->width,
+						     gr->height,
+						     gr->width * 4);
+  g_assert (gr->surface != NULL);
+  gr->cr = cairo_create (gr->surface);
+  g_assert (gr->cr != NULL);
+  (*env)->ReleasePrimitiveArrayCritical (env, gr->jarray, gr->javabuf, JNI_COMMIT);
+  
   gr->mode = MODE_JAVA_ARRAY;
 
   if (gr->debug) printf ("constructed java-backed image of size (%d,%d)\n",
@@ -612,7 +633,11 @@ Java_gnu_java_awt_peer_gtk_GdkGraphics2D
     free (gr->pattern_pixels);
 
   if (gr->mode == MODE_JAVA_ARRAY)
-    (*env)->DeleteGlobalRef(env, gr->jarray);
+    {
+      (*env)->DeleteGlobalRef(env, gr->jarray);
+      if (gr->javabuf_copy)
+        free (gr->javabuf_copy);
+    }
 
   if (gr->debug) printf ("disposed of graphics2d\n");
 
Index: native/jni/gtk-peer/gtkcairopeer.h
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/gtk-peer/gtkcairopeer.h,v
retrieving revision 1.3
diff -u -p -r1.3 gtkcairopeer.h
--- native/jni/gtk-peer/gtkcairopeer.h	26 Dec 2004 13:35:47 -0000	1.3
+++ native/jni/gtk-peer/gtkcairopeer.h	19 Jun 2005 15:02:59 -0000
@@ -86,6 +86,7 @@ struct graphics2d
   jintArray jarray;
   jint width, height;
   jint *javabuf;
+  jint *javabuf_copy;
   jboolean isCopy;
 };
 

--=-wV6StJwv/+PXxCCANv9c--




From MAILER-DAEMON Sun Jun 19 12:35:41 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dk2ln-000431-QF
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 12:35:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dk2lg-0003zR-B4
	for classpath@gnu.org; Sun, 19 Jun 2005 12:35:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dk2lZ-0003wL-OI
	for classpath@gnu.org; Sun, 19 Jun 2005 12:35:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dk2lZ-0003v4-Cz
	for classpath@gnu.org; Sun, 19 Jun 2005 12:35:25 -0400
Received: from [64.233.184.205] (helo=wproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dk2fC-0005CD-Dz
	for classpath@gnu.org; Sun, 19 Jun 2005 12:28:50 -0400
Received: by wproxy.gmail.com with SMTP id 36so415310wra
	for <classpath@gnu.org>; Sun, 19 Jun 2005 09:26:19 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=HRnGR0ASJ/4Vt5hcDPVe62ruip/1iWthAtWfIlCGoa7NsR7bv8Q3mJXG2jj7Ch/w0553nDx/scukpsoAQhxTojgKas/MELgiYpJ2O0zYOJwMVAiOq7ctDcjHMuCQ7If8/FboTyysd4WEizwUt1TEFyzr31rVWQtW6tKmXJocQUA=
Received: by 10.54.3.11 with SMTP id 11mr2066180wrc;
	Sun, 19 Jun 2005 09:26:19 -0700 (PDT)
Received: by 10.54.47.25 with HTTP; Sun, 19 Jun 2005 09:26:18 -0700 (PDT)
Message-ID: <d58509a805061909267b32444a@mail.gmail.com>
Date: Sun, 19 Jun 2005 17:26:18 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: gnu_andrew@member.fsf.org
In-Reply-To: <d58509a8050619061731abf016@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <1119137613.5720.73.camel@localhost.localdomain>
	<1119185075.24960.16.camel@rivendell>
	<d58509a8050619061731abf016@mail.gmail.com>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: New bug-classpath mailinglist
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Robert Lougher <rob.lougher@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 16:35:35 -0000

On 6/19/05, Robert Lougher <rob.lougher@gmail.com> wrote:
> Hi,
>=20
> On 6/19/05, Andrew John Hughes <gnu_andrew@member.fsf.org> wrote:
> > On this note, I do have some Findbugs runs available on-line:
> >
> > http://fuseyism.com/japi/classpath.html
> > http://fuseyism.com/japi/classpath-generics.html
> >
> > The first is pretty far out of date now (mid-April, e.g. it still
> > includes our dead locale classes) and the second, while apparently
> > up-to-date, may not actually be checking against an updated checkout.
> > This is because these aren't actually run on any of my local machines a=
t
> > present, as I haven't been able to get a reliable run out of my attempt=
s
> > with JamVM+Classpath.
>=20
> Could you elaborate what the problems are?  Thanks.
>=20

If there is a problem with JamVM I wish to know about it so that I can
fix it.  I can't fix problems if nobody provides any feedback.

Rob.

> Rob.
>=20
> > Andrew :-)
>



From MAILER-DAEMON Sun Jun 19 14:09:50 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dk4Ew-0000pP-8C
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 14:09:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dk4Eu-0000oV-BK
	for classpath@gnu.org; Sun, 19 Jun 2005 14:09:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dk4Er-0000my-Up
	for classpath@gnu.org; Sun, 19 Jun 2005 14:09:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dk49E-0006ss-DV
	for classpath@gnu.org; Sun, 19 Jun 2005 14:03:56 -0400
Received: from [217.12.12.142] (helo=smtp800.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Dk3pP-0000Y6-62
	for classpath@gnu.org; Sun, 19 Jun 2005 13:43:27 -0400
Received: (qmail 50710 invoked from network); 19 Jun 2005 17:40:54 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp800.mail.ukl.yahoo.com with SMTP; 19 Jun 2005 17:40:54 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.50)
	id 1Dk3me-0005JA-TY
	for classpath@gnu.org; Sun, 19 Jun 2005 18:40:36 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <d58509a805061909267b32444a@mail.gmail.com>
References: <1119137613.5720.73.camel@localhost.localdomain>
	<1119185075.24960.16.camel@rivendell>
	<d58509a8050619061731abf016@mail.gmail.com>
	<d58509a805061909267b32444a@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-kbn+jl1bV9VgBBCjSmWe"
Date: Sun, 19 Jun 2005 18:40:52 +0100
Message-Id: <1119202853.25367.8.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: Re: New bug-classpath mailinglist
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 18:09:49 -0000


--=-kbn+jl1bV9VgBBCjSmWe
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2005-06-19 at 17:26 +0100, Robert Lougher wrote:
> On 6/19/05, Robert Lougher <rob.lougher@gmail.com> wrote:
> > Hi,
> >=20
> > On 6/19/05, Andrew John Hughes <gnu_andrew@member.fsf.org> wrote:
> > > On this note, I do have some Findbugs runs available on-line:
> > >
> > > http://fuseyism.com/japi/classpath.html
> > > http://fuseyism.com/japi/classpath-generics.html
> > >
> > > The first is pretty far out of date now (mid-April, e.g. it still
> > > includes our dead locale classes) and the second, while apparently
> > > up-to-date, may not actually be checking against an updated checkout.
> > > This is because these aren't actually run on any of my local machines=
 at
> > > present, as I haven't been able to get a reliable run out of my attem=
pts
> > > with JamVM+Classpath.
> >=20
> > Could you elaborate what the problems are?  Thanks.
> >=20
>=20
> If there is a problem with JamVM I wish to know about it so that I can
> fix it.  I can't fix problems if nobody provides any feedback.
>=20
> Rob.
>=20
> > Rob.
> >=20
> > > Andrew :-)
> >
>=20

Sorry, I didn't mean it as a dig at JamVM and believed I had already
mentioned this on list earlier.  The problems I had (early this year --
as I say, I haven't had chance to try again yet) were related to firstly
missing methods in Classpath (java.nio constructors for the input and
output streams being used, something I believe is now fixed) and then
memory problems with JamVM.   It isn't so much a problem with JamVM, as
the amount of memory used.  findbugs uses a lot of memory, and JamVM, I
guess, doesn't garbage-collect it efficiently enough to avoid running
out (a problem I've also seen with one of my own applications).  I
repeatedly scaled up the memory given to JamVM, but failed to get a
successful run of it with Classpath without running out.  At 512mb, it
caused a kernel OOM.  It does work with smaller projects; it's a problem
with large projects like Classpath, which has a huge number of classes
(and even more now).
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }


--=-kbn+jl1bV9VgBBCjSmWe
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCta4k+WQ2ITV9UU0RAkWaAJ9p7Qk4ZNtwvu2Nf7es5cszIuZn5ACdHMMx
fVSPA5ICfbAyoquMwe8vxFk=
=ULWt
-----END PGP SIGNATURE-----

--=-kbn+jl1bV9VgBBCjSmWe--




From MAILER-DAEMON Sun Jun 19 18:57:50 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dk8jc-0005NA-9r
	for mharc-classpath@gnu.org; Sun, 19 Jun 2005 18:57:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dk8jG-0005If-D0
	for classpath@gnu.org; Sun, 19 Jun 2005 18:57:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dk8jC-0005Gk-QO
	for classpath@gnu.org; Sun, 19 Jun 2005 18:57:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dk8jB-0005El-KC
	for classpath@gnu.org; Sun, 19 Jun 2005 18:57:21 -0400
Received: from [64.233.184.203] (helo=wproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dk8bY-0004rm-UB
	for classpath@gnu.org; Sun, 19 Jun 2005 18:49:29 -0400
Received: by wproxy.gmail.com with SMTP id 36so513233wra
	for <classpath@gnu.org>; Sun, 19 Jun 2005 15:46:54 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=EZeouOg7nj6VNUIS1QrHylu5K6aKu50uFNC+LsFY9QCSiLVuK2nCKP0ivJwU+RWos99236fjFBB8Rt4nkizED3DTQNb9YTj3mDuAvJaaLtGb9zFpE31w84xYubhp2mpBs9dnGSp7xmCYuC0gJ6pyed13dZj/Y7PDIIXpiJiol4U=
Received: by 10.54.34.4 with SMTP id h4mr2174100wrh;
	Sun, 19 Jun 2005 15:46:54 -0700 (PDT)
Received: by 10.54.47.25 with HTTP; Sun, 19 Jun 2005 15:46:54 -0700 (PDT)
Message-ID: <d58509a805061915468d7e246@mail.gmail.com>
Date: Sun, 19 Jun 2005 23:46:54 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: gnu_andrew@member.fsf.org
In-Reply-To: <1119202853.25367.8.camel@rivendell>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <1119137613.5720.73.camel@localhost.localdomain>
	<1119185075.24960.16.camel@rivendell>
	<d58509a8050619061731abf016@mail.gmail.com>
	<d58509a805061909267b32444a@mail.gmail.com>
	<1119202853.25367.8.camel@rivendell>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: New bug-classpath mailinglist
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Robert Lougher <rob.lougher@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2005 22:57:28 -0000

Hi,

> Sorry, I didn't mean it as a dig at JamVM and believed I had already
> mentioned this on list earlier.

Please have a dig at JamVM if there's a problem!  I wanted to know
what the problems were because it's Sunday, and I would have had a
chance to look at it, if it was a serious issue.  Unfortunately, from
the sounds of it, it's a long running problem...

> The problems I had (early this year --
> as I say, I haven't had chance to try again yet) were related to firstly
> missing methods in Classpath (java.nio constructors for the input and
> output streams being used, something I believe is now fixed) and then
> memory problems with JamVM.   It isn't so much a problem with JamVM, as
> the amount of memory used.  findbugs uses a lot of memory, and JamVM, I
> guess, doesn't garbage-collect it efficiently enough to avoid running
> out (a problem I've also seen with one of my own applications).  I
> repeatedly scaled up the memory given to JamVM, but failed to get a
> successful run of it with Classpath without running out.  At 512mb, it
> caused a kernel OOM.  It does work with smaller projects; it's a problem
> with large projects like Classpath, which has a huge number of classes
> (and even more now).

This is really interesting.  Because JamVM doesn't use handles, heap
compaction is tricky, and I haven't implemented it yet :)  My guess
would be that the allocation pattern is leading to particularly heavy
heap fragmentation, forcing heap expansion even when sufficient memory
is available.  I've read up on the algorithms and worked out a
modified Jonkers, but in the end I wasn't sure whether fragmentation
was a big enough issue in real-life, with 256Mb+ memories.  This
proves it is.

Thanks,

Rob.

> --
> Andrew :-)
>=20
> Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
> attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
>=20
> No software patents in Europe -- http://nosoftwarepatents.com
>=20
> "Value your freedom, or you will lose it, teaches history.
> `Don't bother us with politics' respond those who don't want to learn."
> -- Richard Stallman
>=20
> Escape the Java Trap with GNU Classpath!
> http://www.gnu.org/philosophy/java-trap.html
> public class gcj extends Freedom implements Java { ... }
>=20
>=20
>=20
> BodyID:185987680.2.n.logpart (stored separately)
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
>=20
>=20
>



From MAILER-DAEMON Tue Jun 21 04:30:22 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dke9E-0001SL-E5
	for mharc-classpath@gnu.org; Tue, 21 Jun 2005 04:30:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dke97-0001QP-Sk
	for classpath@gnu.org; Tue, 21 Jun 2005 04:30:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dke8z-0001PO-90
	for classpath@gnu.org; Tue, 21 Jun 2005 04:30:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dke76-0000rB-Gr
	for classpath@gnu.org; Tue, 21 Jun 2005 04:28:08 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DkdrO-0003nc-2r
	for classpath@gnu.org; Tue, 21 Jun 2005 04:11:54 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dkdok-0007sG-00
	for <classpath@gnu.org>; Tue, 21 Jun 2005 10:09:10 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-T6Rbu9o240FM6YkraWHM"
Date: Tue, 21 Jun 2005 10:09:00 +0200
Message-Id: <1119341340.5716.18.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: LinuxTag - 2 GNU Classpath/gcj presentations on Saturday 25 June
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jun 2005 08:30:16 -0000


--=-T6Rbu9o240FM6YkraWHM
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi all,

If you are near or in Germany please don't forget to go to LinuxTag this
week http://www.linuxtag.org/ (22 - 25 June, Karlsruhe).

On Saturday 25 June there will be 2 presentations on GNU Classpath/GCJ:
http://www.linuxtag.org/typo3site/fvp-sa.html
       =20
        Robert Schuster
        GNU Classpath (in German)
        http://www.linuxtag.org/vcc/details.pl?id=3D162
       =20
        Andrew Haley
        GCJ and Classpath: A Free Implementation of the Java programming
        language (in English)
        http://www.linuxtag.org/vcc/details.pl?id=3D166

Cheers,

Mark
--=20
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/

--=-T6Rbu9o240FM6YkraWHM
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCt8scxVhZCJWr9QwRAmL0AJsG97ZdexA5TBm+X1Jk02HgUsp08ACfbPca
X34HnLJfNlVHqzOFR6zJrMk=
=uDk2
-----END PGP SIGNATURE-----

--=-T6Rbu9o240FM6YkraWHM--




From MAILER-DAEMON Tue Jun 21 05:39:09 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DkfDo-0007nW-Hx
	for mharc-classpath@gnu.org; Tue, 21 Jun 2005 05:39:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DkfDj-0007lk-5i
	for classpath@gnu.org; Tue, 21 Jun 2005 05:39:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DkfDZ-0007jS-TB
	for classpath@gnu.org; Tue, 21 Jun 2005 05:38:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DkfDZ-0007ig-7Z
	for classpath@gnu.org; Tue, 21 Jun 2005 05:38:53 -0400
Received: from [195.186.18.61] (helo=mail11.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DkfE5-0001Qo-Ay
	for classpath@gnu.org; Tue, 21 Jun 2005 05:39:25 -0400
Received: from Federspitz (83.77.208.36) by mail11.bluewin.ch (Bluewin
	7.2.060.1) id 42AEB9160015D647 for classpath@gnu.org;
	Tue, 21 Jun 2005 09:36:18 +0000
Message-ID: <000801c57644$aa0dc510$2101a8c0@Federspitz>
From: "Meskauskas Audrius" <audriusa@bluewin.ch>
To: <classpath@gnu.org>
Date: Tue, 21 Jun 2005 11:36:13 +0200
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Subject: Re: pro-linux article 1 - now in english
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Meskauskas Audrius <audriusa@bluewin.ch>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jun 2005 09:39:06 -0000

Robert> I invested some time to translate my article which was published by
german free software centric newssite pro-linux.de to english. You can
find the document in OO.o format here[0].

This article is written in a style, wel suitable for the serious technical 
environment.
Depending from the potential reader, it might be interesting to include more
details about the the structure of the Classpath team and the way the 
Classpath is
written. The absence of the formal hierarchy, the system of the patches,
the potential roles the developer could play in this project, the typical 
developer
categories, the history overview - all this would help to see the live 
people,
standing behind the project.

Audrius.





From MAILER-DAEMON Wed Jun 22 08:45:13 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dl4bQ-0001lj-LJ
	for mharc-classpath@gnu.org; Wed, 22 Jun 2005 08:45:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dl4bM-0001jw-F0
	for classpath@gnu.org; Wed, 22 Jun 2005 08:45:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dl4bJ-0001iP-Hn
	for classpath@gnu.org; Wed, 22 Jun 2005 08:45:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dl4YC-00009W-9h
	for classpath@gnu.org; Wed, 22 Jun 2005 08:41:52 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Dl4Kf-0004Pt-8A
	for classpath@gnu.org; Wed, 22 Jun 2005 08:27:53 -0400
Received: (qmail invoked by alias); 22 Jun 2005 12:24:34 -0000
Received: from p213.54.193.215.tisdip.tiscali.de (EHLO [213.54.193.215])
	[213.54.193.215]
	by mail.gmx.net (mp019) with SMTP; 22 Jun 2005 14:24:34 +0200
X-Authenticated: #17532834
Message-ID: <42B95920.4030303@gmx.net>
Date: Wed, 22 Jun 2005 14:27:12 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <1119341340.5716.18.camel@localhost.localdomain>
In-Reply-To: <1119341340.5716.18.camel@localhost.localdomain>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Subject: Re: LinuxTag - 2 GNU Classpath/gcj presentations on Saturday 25 June
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jun 2005 12:45:10 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I will depart from Berlin this evening. You can have my latest slides in
de and en now (The talk itself will be in German).

GNU Classpath Presentation Slides for LinuxTag2005

German
OpenOffice.org:
http://www.inf.fu-berlin.de/~rschuste/GNUClasspath-LinuxTag2005.sxi

Portable Document Format:
http://www.inf.fu-berlin.de/~rschuste/GNUClasspath-LinuxTag2005.pdf

English:
OpenOffice.org:
http://www.inf.fu-berlin.de/~rschuste/GNUClasspath-LinuxTag2005-English.sxi

Portable Document Format:
http://www.inf.fu-berlin.de/~rschuste/GNUClasspath-LinuxTag2005-English.pdf

Unfortunately my notebook's harddrive is faulty making it impossible for
me to show running application's :( (I am running Knoppix now)
My plan was to show a plain Eclipse from eclipse.org which is compiled
to native (using a recent GCJ snapshot) and maybe JamVM's stunning
interpreter performance using my little fosdemo (the one I had written
for FOSDEM 2005). If someone wants to fix this situation and has a
notebook to prepare the programs then please meet me at LinuxTag
(Th/Fr/Sa, 10-18 o'clock).

Btw: If you wonder about my mail address in the presentation. It's right
I am now* a fellow of the Free Software Foundation Europe :)

cu
Robert

*registration pending
> 
> On Saturday 25 June there will be 2 presentations on GNU Classpath/GCJ:
> http://www.linuxtag.org/typo3site/fvp-sa.html
>         
>         Robert Schuster
>         GNU Classpath (in German)
>         http://www.linuxtag.org/vcc/details.pl?id=162
>         
>         Andrew Haley
>         GCJ and Classpath: A Free Implementation of the Java programming
>         language (in English)
>         http://www.linuxtag.org/vcc/details.pl?id=166
> 
> Cheers,
> 
> Mark
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCuVkgG9cfwmwwEtoRAu7gAJ9KvfmpXkAg6ySaqlbo4WLEbu5oPACgkyzT
dNZbNv41dg7MClqRSOPWX2g=
=9UW4
-----END PGP SIGNATURE-----



From MAILER-DAEMON Wed Jun 22 10:56:56 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dl6eu-0006tv-BD
	for mharc-classpath@gnu.org; Wed, 22 Jun 2005 10:56:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dl6er-0006si-NS
	for classpath@gnu.org; Wed, 22 Jun 2005 10:56:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dl6en-0006qd-W2
	for classpath@gnu.org; Wed, 22 Jun 2005 10:56:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dl6en-0006qT-Rb
	for classpath@gnu.org; Wed, 22 Jun 2005 10:56:49 -0400
Received: from [81.5.129.62] (helo=tangency.co.uk)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dl6hD-0000Zo-AI
	for classpath@gnu.org; Wed, 22 Jun 2005 10:59:19 -0400
Received: from localhost (localhost [127.0.0.1]) (uid 1000)
	by tangency.co.uk with local; Wed, 22 Jun 2005 15:55:26 +0100
	id 00126DAC.42B97BDE.0000141C
Date: Wed, 22 Jun 2005 15:55:26 +0100
From: "S. Meslin-Weber" <steph@tangency.co.uk>
To: GNU Classpath ML <classpath@gnu.org>
Message-ID: <20050622145526.GA5114@tangency.co.uk>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=_tangency.co.uk-5148-1119452126-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Cc: SableVM ML <sablevm-user@sablevm.org>
Subject: VM resource loading bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jun 2005 14:56:54 -0000

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_tangency.co.uk-5148-1119452126-0001-2
Content-Type: multipart/mixed; boundary="MGYHOYXEY6WxJCY8"
Content-Disposition: inline


--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi guys,

Forwarding this to the list as I've just tested with SableVM 1.11.3 and
I get the same problem so this might be present in more VMs...

---- previous jamvm bug report ----
I have code that uses getClass().getResourceAsStream(name) in the
bootclasspath (the named file exists). The bug causes classpath to try
using the ftp provider to open the stream :)

This bug shows up easily when looking for a resource outside of a jar...
but I identified it first because it also showed before I expanded my
jars.

Here's a test case to make things easier to debug:

mkdir testdir
touch testdir/foo
=2E/bin/jamvm -Xbootclasspath/p:testdir -cp . ResourceTest
java.lang.IllegalArgumentException: address is unresolved: testdir:21
  at gnu.java.net.PlainSocketImpl.connect (PlainSocketImpl.java:243)
  at java.net.Socket.connect (Socket.java:439)
  at java.net.Socket.connect (Socket.java:397)
  at gnu.java.net.protocol.ftp.FTPConnection.<init> (FTPConnection.java:253)
  at gnu.java.net.protocol.ftp.FTPConnection.<init> (FTPConnection.java:221)
  at gnu.java.net.protocol.ftp.FTPURLConnection.connect (FTPURLConnection.j=
ava:123)
  at gnu.java.net.protocol.ftp.FTPURLConnection.getInputStream (FTPURLConne=
ction.java:167)
  at java.net.URL.openStream (URL.java:683)
  at java.lang.ClassLoader.getResourceAsStream (ClassLoader.java:711)
  at java.lang.Class.getResourceAsStream (Class.java:944)
  at ResourceTest.<init> (ResourceTest.java:7)
  at ResourceTest.main (ResourceTest.java:3)

Cheers!

Steph

--=20
=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
Stephane Meslin-Weber         Email: steph@tangency.co.uk
Senior Software Engineer      Web: http://odonata.tangency.co.uk
=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

--MGYHOYXEY6WxJCY8
Content-Type: text/x-java; charset=us-ascii
Content-Disposition: attachment; filename="ResourceTest.java"
Content-Transfer-Encoding: quoted-printable

public class ResourceTest {
  public static void main(String[] args) {
    new ResourceTest();
  }
  public ResourceTest() {
    String name =3D "foo";
    System.err.println("getResourceAsStream()=3D=3D"+getClass().getResource=
AsStream(name));=20
    System.err.println("getSystemResourceAsStream()=3D=3D"+ClassLoader.getS=
ystemResourceAsStream(name));=20
  }
}

--MGYHOYXEY6WxJCY8--

--=_tangency.co.uk-5148-1119452126-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCuXve5QGfd9PDUN0RArkVAJ9hk7LuoITh6wjozWdn/jtJQAj7cQCgsgOj
WDZoxKrDcPoAT+sdPSm4ia8=
=61oV
-----END PGP SIGNATURE-----

--=_tangency.co.uk-5148-1119452126-0001-2--



From MAILER-DAEMON Wed Jun 22 10:57:23 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dl6fI-00076C-2E
	for mharc-classpath@gnu.org; Wed, 22 Jun 2005 10:57:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dl6fA-00071q-Ea
	for classpath@gnu.org; Wed, 22 Jun 2005 10:57:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dl6f3-0006yk-7S
	for classpath@gnu.org; Wed, 22 Jun 2005 10:57:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dl6f1-0006qT-Oi
	for classpath@gnu.org; Wed, 22 Jun 2005 10:57:04 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dl6eg-0000N5-TF
	for classpath@gnu.org; Wed, 22 Jun 2005 10:56:43 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j5MErUJk001767
	for <classpath@gnu.org>; Wed, 22 Jun 2005 10:53:30 -0400
Received: from opsy.redhat.com (vpn50-95.rdu.redhat.com [172.16.50.95])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j5MErRu08547; 
	Wed, 22 Jun 2005 10:53:28 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 09ABA2DD269; Wed, 22 Jun 2005 08:48:47 -0600 (MDT)
Sender: tromey@redhat.com
To: Archit Shah <ashah@redhat.com>
References: <428C9A1C.6060208@redhat.com>
	<m3acmahndw.fsf@localhost.localdomain> <42A5EDC9.5060907@redhat.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 22 Jun 2005 08:48:47 -0600
In-Reply-To: <42A5EDC9.5060907@redhat.com>
Message-ID: <m3vf46jvlc.fsf@localhost.localdomain>
Lines: 32
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: rmic contribution
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jun 2005 14:57:16 -0000

>>>>> "Archit" == Archit Shah <ashah@redhat.com> writes:

Archit> A patch to replace the old RMIC implementation with the new ASM-based
Archit> one attached. The patch file modifies configure.ac and Makefile.am to
Archit> deal with asm.jar. The 2 java files go in
Archit> cp-tools/src/gnu/classpath/tools/rmi/rmic. The Compile*.java files in
Archit> that directory should be deleted. asm.jar (version 1.5.x) is required
Archit> and  can be downloaded here:
Archit> http://download.forge.objectweb.org/asm/asm-1.5.3.jar. I'm not sure
Archit> where that requirement should be listed (NEWS, README or INSTALL), so
Archit> the patch doesn't mention it. The newest version of ASM, 2.0, was
Archit> released three weeks ago and will not work as there were API
Archit> changes. Updating to use ASM 2.0 instead of 1.5.3 would require
Archit> minimal effort.

Nobody has reviewed this yet, and I put it off a long time too --
sorry about that.

The code itself looks good to me.  It could use a few comments; when
writing code like generateSkel() that builds up a method using some
IR, I like to have comments showing what the generated code looks like
(in java-ish pseudo code).  This usually makes it a bit simpler to
follow what is going on.

As for ASM, I think it is fine for us to use it.  We don't really have
a good model for how to handle upstream code that we use but don't
want to export.  My first inclination is to say we should handle it
like SAX, meaning it would go in external/asm, external/README would
explain what it is (and where we got it and how and when it can be
updated), and finally it would be built from source.

Tom



From MAILER-DAEMON Wed Jun 22 11:42:17 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dl7Hp-0007Jn-Kb
	for mharc-classpath@gnu.org; Wed, 22 Jun 2005 11:37:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dl7HW-00079X-CV
	for classpath@gnu.org; Wed, 22 Jun 2005 11:36:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dl7HJ-000744-Cz
	for classpath@gnu.org; Wed, 22 Jun 2005 11:36:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dl7HI-000738-H5
	for classpath@gnu.org; Wed, 22 Jun 2005 11:36:36 -0400
Received: from [212.5.29.62] (helo=isoconazol.knowledgetools.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dl7GJ-0003CN-Ej
	for classpath@gnu.org; Wed, 22 Jun 2005 11:35:35 -0400
Received: from [127.0.0.1] (helo=localhost)
	by isoconazol.knowledgetools.de with esmtp (Exim 4.50)
	id 1Dl7DB-000671-1e
	for classpath@gnu.org; Wed, 22 Jun 2005 17:32:21 +0200
Received: from isoconazol.knowledgetools.de ([127.0.0.1])
	by localhost (isoconazol.knowledgetools.de [127.0.0.1]) (amavisd-new,
	port 10024) with ESMTP id 21500-08 for <classpath@gnu.org>;
	Wed, 22 Jun 2005 17:32:14 +0200 (CEST)
Received: from [192.168.150.102] (helo=gagravarr.knowledgetools.de)
	by isoconazol.knowledgetools.de with esmtps (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.50) id 1Dl7D4-00066p-C3
	for classpath@gnu.org; Wed, 22 Jun 2005 17:32:14 +0200
Received: (qmail 14145 invoked by uid 1000); 22 Jun 2005 17:33:33 +0200
Date: Wed, 22 Jun 2005 17:33:33 +0200
From: David Lichteblau <dave@lichteblau.com>
To: GNU Classpath ML <classpath@gnu.org>
Message-ID: <20050622153333.GA14119@gargravarr.knowledgetools.de>
References: <20050622145526.GA5114@tangency.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050622145526.GA5114@tangency.co.uk>
User-Agent: Mutt/1.5.8i
X-Virus-Scanned: by amavisd-new at isoconazol.knowledgetools.de
Subject: Re: VM resource loading bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jun 2005 15:36:58 -0000

Hi,

Quoting S. Meslin-Weber (steph@tangency.co.uk):
> ---- previous jamvm bug report ----
> I have code that uses getClass().getResourceAsStream(name) in the
> bootclasspath (the named file exists). The bug causes classpath to try
> using the ftp provider to open the stream :)

this may apply to neither JamVM nor to SableVM, but since the failure
mode might be similar:

As discussed on #classpath, the reference implementation of
VMClassLoader.getResources() returns "candidate" resource URLs without
verifying their existence.  ClassLoader.getResourceAsStream() then tries
to open them (and at least catch the resulting IOException), while
ClassLoader.getResource() will return the bogus resource URL to user
code directly.

Mark mentioned other known problems with VMClassLoader.getResources().


d.



From MAILER-DAEMON Thu Jun 23 12:54:14 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DlUxy-000506-6q
	for mharc-classpath@gnu.org; Thu, 23 Jun 2005 12:54:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DlUxw-0004zx-Dx
	for classpath@gnu.org; Thu, 23 Jun 2005 12:54:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DlUxv-0004zf-PS
	for classpath@gnu.org; Thu, 23 Jun 2005 12:54:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DlUxv-0004zV-JH
	for classpath@gnu.org; Thu, 23 Jun 2005 12:54:11 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DlV0R-0002nC-Nn
	for classpath@gnu.org; Thu, 23 Jun 2005 12:56:48 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DlUxJ-0006U0-00
	for <classpath@gnu.org>; Thu, 23 Jun 2005 18:53:33 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1119449304.2778.34.camel@localhost>
References: <1119279822.3762.229.camel@tow.toronto.redhat.com>
	<42B6DEB4.9040708@aicas.com>
	<1119447382.5609.13.camel@localhost.localdomain>
	<1119449304.2778.34.camel@localhost>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-3ypqP6Ou4PUFk1CdH/Ei"
Date: Thu, 23 Jun 2005 18:53:24 +0200
Message-Id: <1119545604.5591.14.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: gtk+ and cairo versions needed
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jun 2005 16:54:12 -0000


--=-3ypqP6Ou4PUFk1CdH/Ei
Content-Type: multipart/mixed; boundary="=-UChJaaxP4iio5zQ4FyvS"


--=-UChJaaxP4iio5zQ4FyvS
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi (moved to main classpath list),

On Wed, 2005-06-22 at 16:08 +0200, Ziga Mahkovec wrote:
> I'm using jhbuild to build both, using the gtk28 moduleset
> and pinning down Cairo to the "SNAPSHOT_0_5_0" branch.

I am just unable to get any combination working. I always get:
(.:14323): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
`PANGO_IS_CAIRO_FONT (font)' failed
And nothing works, I just get some empty windows if I am lucky.

My .jhbuildrc is attached. Could you tell me how it differs from yours?

> According to a discussion I had with fitzsim:
>=20
> zigam> Yesterday's cairo changes require gtk2.6, right?
> fitzsim> they require gtk2.7 at this point
> fitzsim> but we can do a little change that makes them work back to gtk2.=
4
> fitzsim> I introduced another change recently that bumped the requirement=
 to gtk2.6
> fitzsim> but I plan to ifdef that before the next classpath release so we=
 still only require gtk 2.4
> fitzsim> still, for now it's easier to bite the bullet and build gtk CVS =
HEAD

fitzsim, my idea is to do the next release in a week (Thu Jun 30).
Will you be able to make these changes before that date?

Cheers,

Mark

--=-UChJaaxP4iio5zQ4FyvS
Content-Disposition: inline; filename=jhbuildrc
Content-Type: text/plain; name=jhbuildrc; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: base64

IyAtKi0gbW9kZTogcHl0aG9uIC0qLQ0KDQojIG1vZHVsZXMgdG8gYnVpbGQgKGRlcHMgYXJlIGFs
c28gYnVpbHQpDQptb2R1bGVzZXQgPSAnZ3RrMjgnDQptb2R1bGVzID0gWydndGsrJ10NCg0KIyBz
cGVjaWFsIGJyYW5jaGVkIGZvciB0aGUgZm9sbG93aW5nIG1vZHVsZXMNCmJyYW5jaGVzWydjYWly
byddID0gJ1NOQVBTSE9UXzBfNV8wJw0KDQojIHdoZXJlIHRoZSBzb3VyY2VzIGFyZSBjaGVja2Vk
IG91dCB0bw0KY2hlY2tvdXRyb290ID0gb3MucGF0aC5qb2luKG9zLmVudmlyb25bJ0hPTUUnXSwg
J3NvdXJjZXMnKQ0KDQojIHRoZSByb290IGJ1aWxkIGRpcmVjdG9yeSBmb3IgcGFja2FnZXMgdGhh
dCBzdXBwb3J0IG5vbi1zcmNkaXIgYnVpbGRzDQpidWlsZHJvb3QgPSBvcy5wYXRoLmpvaW4ob3Mu
ZW52aXJvblsnSE9NRSddLCAnYnVpbGQnKQ0KDQojIHRoZSBwcmVmaXggdG8gaW5zdGFsbCB0aGlu
Z3MgdG8gKHVzZXIgbXVzdCBoYXZlIHdyaXRlIGFjY2VzcykNCiMgdGhpcyBpcyB3aGVyZSB0aGUg
ZW52aXJvbm1lbnQgaXMgcG9pbnRlZCB0byBieSBhICdqaGJ1aWxkIHNoZWxsJw0KcHJlZml4ID0g
b3MucGF0aC5qb2luKG9zLmVudmlyb25bJ0hPTUUnXSwgJ2luc3RhbGwnKQ0K


--=-UChJaaxP4iio5zQ4FyvS--

--=-3ypqP6Ou4PUFk1CdH/Ei
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCuukExVhZCJWr9QwRAqKhAJ9UUZ1N6gr2WzdBNE3vinSr0SqK5gCgiYDM
GmOvuHY73/5H2l7snqh233o=
=TaJV
-----END PGP SIGNATURE-----

--=-3ypqP6Ou4PUFk1CdH/Ei--




From MAILER-DAEMON Thu Jun 23 14:11:15 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DlWAV-0007Cg-LW
	for mharc-classpath@gnu.org; Thu, 23 Jun 2005 14:11:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DlWAT-0007BL-OW
	for classpath@gnu.org; Thu, 23 Jun 2005 14:11:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DlWAR-00079u-Mm
	for classpath@gnu.org; Thu, 23 Jun 2005 14:11:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DlW6s-0005J8-1m
	for classpath@gnu.org; Thu, 23 Jun 2005 14:07:30 -0400
Received: from [193.189.160.40] (helo=mta1.siol.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DlVil-0006TC-1O
	for classpath@gnu.org; Thu, 23 Jun 2005 13:42:35 -0400
Received: from edge1.siol.net ([10.10.10.210]) by mta1.siol.net with ESMTP
	id <20050623173903.XNVT28041.mta1.siol.net@edge1.siol.net>;
	Thu, 23 Jun 2005 19:39:03 +0200
Received: from [192.168.0.6] (really [193.77.159.2]) by edge1.siol.net
	with ESMTP
	id <20050623173903.OZAH15133.edge1.siol.net@[192.168.0.6]>;
	Thu, 23 Jun 2005 19:39:03 +0200
From: Ziga Mahkovec <ziga.mahkovec@klika.si>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1119545604.5591.14.camel@localhost.localdomain>
References: <1119279822.3762.229.camel@tow.toronto.redhat.com>
	<42B6DEB4.9040708@aicas.com>
	<1119447382.5609.13.camel@localhost.localdomain>
	<1119449304.2778.34.camel@localhost>
	<1119545604.5591.14.camel@localhost.localdomain>
Content-Type: multipart/mixed; boundary="=-C+2pGH6MXm9Q4EFze1zb"
Date: Thu, 23 Jun 2005 19:39:03 +0200
Message-Id: <1119548343.3859.11.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-5) 
Cc: classpath@gnu.org
Subject: Re: gtk+ and cairo versions needed
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jun 2005 18:11:14 -0000


--=-C+2pGH6MXm9Q4EFze1zb
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Thu, 2005-06-23 at 18:53 +0200, Mark Wielaard wrote:
> On Wed, 2005-06-22 at 16:08 +0200, Ziga Mahkovec wrote:
> > I'm using jhbuild to build both, using the gtk28 moduleset
> > and pinning down Cairo to the "SNAPSHOT_0_5_0" branch.
> 
> I am just unable to get any combination working. I always get:
> (.:14323): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> And nothing works, I just get some empty windows if I am lucky.
> 
> My .jhbuildrc is attached. Could you tell me how it differs from yours?

No significant changes, but I'm attaching mine anyway.  Did you wipe out
$prefix before building?

Also, which application are you testing?  I'm mostly doing BufferedImage
work, so it's possible I never triggered that code path.

-- 
Ziga

--=-C+2pGH6MXm9Q4EFze1zb
Content-Disposition: attachment; filename=.jhbuildrc
Content-Type: text/plain; name=.jhbuildrc; charset=UTF-8
Content-Transfer-Encoding: 7bit

# -*- mode: python -*-
import glob
import re

# modules to build (deps are also built)
moduleset = 'gtk28'
modules = ['gtk+']

baseroot = os.path.join(os.environ['HOME'], 'jhbuild')

# where the sources are checked out to
checkoutroot = os.path.join(baseroot, 'sources')

# the root build directory for packages that support non-srcdir builds
buildroot = os.path.join(baseroot, 'build')

# the prefix to install things to (user must have write access)
prefix = os.path.join(baseroot, 'install')

# arguments to pass to autogen script
autogenargs = '--disable-static --disable-gtk-doc'

# module-specific autogen arguments
# GDB doesn't support --disable-static
module_autogenargs['gdb'] = ''
# build the GTK peers and the Cairo Graphics2D backend
module_autogenargs['gcj'] = '--enable-languages=java --enable-java-awt=gtk --enable-gtk-cairo'

# arguments to pass to make
makeargs = 'CFLAGS="-g -O0" CPPFLAGS="-g -O0" CXXFLAGS="-g -O0" GCJFLAGS="-g -O0"'

# module-specific make arguments
# Python doesn't support overriding CFLAGS
module_makeargs['python'] = ''
module_makeargs['gcj'] = 'CFLAGS="-g -O0" CFLAGS_FOR_TARGET="-g -O0" CPPFLAGS="-g -O0" CXXFLAGS="-g -O0" GCJFLAGS="-g -O0"'

# install-check only installs headers if they've changed
os.environ['INSTALL'] = os.path.join(os.environ['HOME'], 'bin', 'install-check')

# build CLASSPATH for Java-GNOME
#for jar in glob.glob(os.path.join(prefix, 'share', 'java', '*.jar')):
#    if not re.search("-", os.path.basename(jar)):
#        prependpath('CLASSPATH', jar)

# set the build directory pattern for those packages that support
# non-srcdir builds -- foo will be built in a directory called
# foo-bld.
builddir_pattern = '%s-bld'

# points LD_LIBRARY_PATH at the build directory, to eliminate the need
# to re-install after every rebuild.  If you're not working on x86
# linux you'll need to modify the platform string.
#prependpath('LD_LIBRARY_PATH', os.path.join(buildroot, 'gcj-bld', 'i686-pc-linux-gnu', 'libjava', '.libs'))
branches['cairo'] = 'SNAPSHOT_0_5_0'

--=-C+2pGH6MXm9Q4EFze1zb--




From MAILER-DAEMON Thu Jun 23 16:48:18 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DlYcR-0003He-2J
	for mharc-classpath@gnu.org; Thu, 23 Jun 2005 16:48:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DlYcB-00039k-My
	for classpath@gnu.org; Thu, 23 Jun 2005 16:48:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DlYc3-000345-Af
	for classpath@gnu.org; Thu, 23 Jun 2005 16:47:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DlYc3-00032o-56
	for classpath@gnu.org; Thu, 23 Jun 2005 16:47:51 -0400
Received: from [195.121.6.15] (helo=smtp19.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DlYcY-00032E-0g
	for classpath@gnu.org; Thu, 23 Jun 2005 16:48:22 -0400
Received: from [127.0.0.1] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp19.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14
	2004))
	with ESMTP id <0IIK00JGJ1MM65@smtp19.wxs.nl> for classpath@gnu.org; Thu,
	23 Jun 2005 22:44:50 +0200 (CEST)
Date: Thu, 23 Jun 2005 22:49:05 +0200
From: Ewout Prangsma <ewout@prangsma.net>
To: GNU Classpath <classpath@gnu.org>
Message-id: <42BB2041.40908@prangsma.net>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Subject: JInternalFrame's titlebar seems wrong
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jun 2005 20:48:02 -0000

Hi all,

In the latest HEAD of JInternalFrame, the title bar is located below the 
menu bar in the top-middle of the content pane.
I think it has something todo with the change in addImpl method.

Is this something others notice also?

Ewout



From MAILER-DAEMON Thu Jun 23 19:48:59 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DlbR3-0002De-5t
	for mharc-classpath@gnu.org; Thu, 23 Jun 2005 19:48:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DlbQw-00029c-2P
	for classpath@gnu.org; Thu, 23 Jun 2005 19:48:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DlbQq-00026F-HX
	for classpath@gnu.org; Thu, 23 Jun 2005 19:48:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DlbQq-0001jF-Dj
	for classpath@gnu.org; Thu, 23 Jun 2005 19:48:28 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dlb1E-0003lh-G1
	for classpath@gnu.org; Thu, 23 Jun 2005 19:22:00 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DlawQ-00012O-00; Fri, 24 Jun 2005 01:17:02 +0200
From: Mark Wielaard <mark@klomp.org>
To: Ewout Prangsma <ewout@prangsma.net>
In-Reply-To: <42BB2041.40908@prangsma.net>
References: <42BB2041.40908@prangsma.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-H1rHPbMTrLiusp/9t/rF"
Date: Fri, 24 Jun 2005 01:16:55 +0200
Message-Id: <1119568616.5591.21.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: JInternalFrame's titlebar seems wrong
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jun 2005 23:48:36 -0000


--=-H1rHPbMTrLiusp/9t/rF
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Ewout,

On Thu, 2005-06-23 at 22:49 +0200, Ewout Prangsma wrote:
> In the latest HEAD of JInternalFrame, the title bar is located below the=20
> menu bar in the top-middle of the content pane.
> I think it has something todo with the change in addImpl method.
>=20
> Is this something others notice also?

Yes. I saw this, and forgot to file a bug report.
There is one now. With a picture attached.
https://savannah.gnu.org/bugs/index.php?func=3Ddetailitem&item_id=3D13530
https://savannah.gnu.org/bugs/download.php?item_id=3D13530&item_file_id=3D2=
627

Cheers,

Mark

--=-H1rHPbMTrLiusp/9t/rF
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCu0LnxVhZCJWr9QwRAipgAJ9sWQK7KseQjHK6UndoFOL0wqq8nQCfVBhg
cwBThIyiTTgWHS8rp9XpCLE=
=I+NY
-----END PGP SIGNATURE-----

--=-H1rHPbMTrLiusp/9t/rF--




From MAILER-DAEMON Sun Jun 26 20:26:31 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DmhSI-0003nh-7o
	for mharc-classpath@gnu.org; Sun, 26 Jun 2005 20:26:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DmhRz-0003cP-1i
	for classpath@gnu.org; Sun, 26 Jun 2005 20:26:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DmhRv-0003b1-FJ
	for classpath@gnu.org; Sun, 26 Jun 2005 20:26:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DmhRu-0003WH-VU
	for classpath@gnu.org; Sun, 26 Jun 2005 20:26:06 -0400
Received: from [217.12.12.200] (helo=smtp810.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DmhGw-0005EB-VL
	for classpath@gnu.org; Sun, 26 Jun 2005 20:14:47 -0400
Received: (qmail 30238 invoked from network); 27 Jun 2005 00:10:32 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp810.mail.ukl.yahoo.com with SMTP; 27 Jun 2005 00:10:32 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1] helo=rivendell)
	by orthanc.middle-earth.co.uk with smtp (Exim 4.50)
	id 1DmhCW-0004kz-2P
	for classpath@gnu.org; Mon, 27 Jun 2005 01:10:12 +0100
Received: by rivendell (sSMTP sendmail emulation);
	Mon, 27 Jun 2005 01:10:29 +0100
From: "Andrew John Hughes" <gnu_andrew@member.fsf.org>
Date: Mon, 27 Jun 2005 01:10:29 +0100
To: classpath@gnu.org
Message-ID: <20050627001029.GA31365@middle-earth.co.uk>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="ftEhullJWpWg/VHq"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Subject: FYI: Generics Backport #01 (java.lang.Integer)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Jun 2005 00:26:16 -0000


--ftEhullJWpWg/VHq
Content-Type: multipart/mixed; boundary="KsGdsel6WgEHnImy"
Content-Disposition: inline


--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'm committing the attached patch which merges the new 1.5 features
of java.lang.Integer back into HEAD from the generics branch.  These
don't use any new language features (although methods like valueOf()
have an indirect use in autoboxing) and simply seem to have landed
on the generics branch due to their 1.5 status.  Putting them on HEAD
makes them more prominent and avoids duplication of these methods
by those who may be unaware of their presence on the generics branch.

Changelog:

2005-06-27  Tom Tromey  <tromey@redhat.com>

	* java/lang/Integer.java:
	(valueOf(int)): Implemented.
	(bitCount(int)): Implemented.
	(rotateLeft(int,int)): Implemented.
	(rotateRight(int,int)): Implemented.
	(highestOneBit(int)): Implemented.
	(numberOfLeadingZeros(int)): Implemented.
	(lowestOneBit(int)): Implemented.
	(numberOfTrailingZeros(int)): Implemented.
	(signum(int)): Implmented.
	(reverseBytes(int)): Implemented.
	(reverse(int)): Implemented.



--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachment=
s.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.=20
`Don't bother us with politics' respond those who don't want to learn."=20
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="generics_backport-01.diff"
Content-Transfer-Encoding: quoted-printable

Index: java/lang/Integer.java
=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
RCS file: /cvsroot/classpath/classpath/java/lang/Integer.java,v
retrieving revision 1.30
diff -u -3 -p -u -r1.30 Integer.java
--- java/lang/Integer.java	16 Feb 2005 11:18:37 -0000	1.30
+++ java/lang/Integer.java	26 Jun 2005 23:33:51 -0000
@@ -1,5 +1,6 @@
 /* Integer.java -- object wrapper for int
-   Copyright (C) 1998, 1999, 2001, 2002, 2005  Free Software Foundation, I=
nc.
+   Copyright (C) 1998, 1999, 2001, 2002, 2004, 2005
+   Free Software Foundation, Inc.
=20
 This file is part of GNU Classpath.
=20
@@ -49,8 +50,9 @@ package java.lang;
  * @author John Keiser
  * @author Warren Levy
  * @author Eric Blake (ebb9@email.byu.edu)
+ * @author Tom Tromey (tromey@redhat.com)
  * @since 1.0
- * @status updated to 1.4
+ * @status largely updated to 1.5
  */
 public final class Integer extends Number implements Comparable
 {
@@ -79,6 +81,19 @@ public final class Integer extends Numbe
   public static final Class TYPE =3D VMClassLoader.getPrimitiveClass('I');
=20
   /**
+   * The number of bits needed to represent an <code>int</code>.
+   * @since 1.5
+   */
+  public static final int SIZE =3D 32;
+
+  // This caches some Integer values, and is used by boxing
+  // conversions via valueOf().  We must cache at least -128..127;
+  // these constants control how much we actually cache.
+  private static final int MIN_CACHE =3D -128;
+  private static final int MAX_CACHE =3D 127;
+  private static Integer[] intCache =3D new Integer[MAX_CACHE - MIN_CACHE =
+ 1];
+
+  /**
    * The immutable value of this Integer.
    *
    * @serial the wrapped int
@@ -279,6 +294,26 @@ public final class Integer extends Numbe
   }
=20
   /**
+   * Returns an <code>Integer</code> object wrapping the value.
+   * In contrast to the <code>Integer</code> constructor, this method
+   * will cache some values.  It is used by boxing conversion.
+   *
+   * @param val the value to wrap
+   * @return the <code>Integer</code>
+   */
+  public static Integer valueOf(int val)
+  {
+    if (val < MIN_CACHE || val > MAX_CACHE)
+      return new Integer(val);
+    synchronized (intCache)
+      {
+	if (intCache[val - MIN_CACHE] =3D=3D null)
+	  intCache[val - MIN_CACHE] =3D new Integer(val);
+	return intCache[val - MIN_CACHE];
+      }
+  }
+
+  /**
    * Return the value of this <code>Integer</code> as a <code>byte</code>.
    *
    * @return the byte value
@@ -507,6 +542,137 @@ public final class Integer extends Numbe
   }
=20
   /**
+   * Return the number of bits set in x.
+   * @param x value to examine
+   * @since 1.5
+   */
+  public static int bitCount(int x)
+  {
+    // Successively collapse alternating bit groups into a sum.
+    x =3D ((x >> 1) & 0x55555555) + (x & 0x55555555);
+    x =3D ((x >> 2) & 0x33333333) + (x & 0x33333333);
+    x =3D ((x >> 4) & 0x0f0f0f0f) + (x & 0x0f0f0f0f);
+    x =3D ((x >> 8) & 0x00ff00ff) + (x & 0x00ff00ff);
+    return ((x >> 16) & 0x0000ffff) + (x & 0x0000ffff);
+  }
+
+  /**
+   * Rotate x to the left by distance bits.
+   * @param x the value to rotate
+   * @param distance the number of bits by which to rotate
+   * @since 1.5
+   */
+  public static int rotateLeft(int x, int distance)
+  {
+    // This trick works because the shift operators implicitly mask
+    // the shift count.
+    return (x << distance) | (x >>> - distance);
+  }
+
+  /**
+   * Rotate x to the right by distance bits.
+   * @param x the value to rotate
+   * @param distance the number of bits by which to rotate
+   * @since 1.5
+   */
+  public static int rotateRight(int x, int distance)
+  {
+    // This trick works because the shift operators implicitly mask
+    // the shift count.
+    return (x << - distance) | (x >>> distance);
+  }
+
+  /**
+   * Find the highest set bit in value, and return a new value
+   * with only that bit set.
+   * @param value the value to examine
+   * @since 1.5
+   */
+  public static int highestOneBit(int value)
+  {
+    value |=3D value >>> 1;
+    value |=3D value >>> 2;
+    value |=3D value >>> 4;
+    value |=3D value >>> 8;
+    value |=3D value >>> 16;
+    return value ^ (value >>> 1);
+  }
+
+  /**
+   * Return the number of leading zeros in value.
+   * @param value the value to examine
+   * @since 1.5
+   */
+  public static int numberOfLeadingZeros(int value)
+  {
+    value |=3D value >>> 1;
+    value |=3D value >>> 2;
+    value |=3D value >>> 4;
+    value |=3D value >>> 8;
+    value |=3D value >>> 16;
+    return bitCount(~value);
+  }
+
+  /**
+   * Find the lowest set bit in value, and return a new value
+   * with only that bit set.
+   * @param value the value to examine
+   * @since 1.5
+   */
+  public static int lowestOneBit(int value)
+  {
+    // Classic assembly trick.
+    return value & - value;
+  }
+
+  /**
+   * Find the number of trailing zeros in value.
+   * @param value the value to examine
+   * @since 1.5
+   */
+  public static int numberOfTrailingZeros(int value)
+  {
+    return bitCount((value & -value) - 1);
+  }
+
+  /**
+   * Return 1 if x is positive, -1 if it is negative, and 0 if it is
+   * zero.
+   * @param x the value to examine
+   * @since 1.5
+   */
+  public static int signum(int x)
+  {
+    return x < 0 ? -1 : (x > 0 ? 1 : 0);
+  }
+
+  /**
+   * Reverse the bytes in val.
+   * @since 1.5
+   */
+  public static int reverseBytes(int val)
+  {
+    return (  ((val >> 24) & 0xff)
+	    | ((val >> 8) & 0xff00)
+	    | ((val << 8) & 0xff0000)
+	    | ((val << 24) & 0xff000000));
+  }
+
+  /**
+   * Reverse the bits in val.
+   * @since 1.5
+   */
+  public static int reverse(int val)
+  {
+    // Successively swap alternating bit groups.
+    val =3D ((val >> 1) & 0x55555555) + ((val << 1) & ~0x55555555);
+    val =3D ((val >> 2) & 0x33333333) + ((val << 2) & ~0x33333333);
+    val =3D ((val >> 4) & 0x0f0f0f0f) + ((val << 4) & ~0x0f0f0f0f);
+    val =3D ((val >> 8) & 0x00ff00ff) + ((val << 8) & ~0x00ff00ff);
+    return ((val >> 16) & 0x0000ffff) + ((val << 16) & ~0x0000ffff);
+  }
+
+  /**
    * Helper for converting unsigned numbers to String.
    *
    * @param num the number

--KsGdsel6WgEHnImy--

--ftEhullJWpWg/VHq
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCv0P1+WQ2ITV9UU0RAgbtAKCVIqqjO8SWvfBMdI8UBc7SgNKeWQCggsmN
GzqEWrlJK1ePKfPFun8Ie8I=
=765s
-----END PGP SIGNATURE-----

--ftEhullJWpWg/VHq--



From MAILER-DAEMON Mon Jun 27 18:02:21 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dn1gK-0006jc-Ik
	for mharc-classpath@gnu.org; Mon, 27 Jun 2005 18:02:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dn1gI-0006it-UK
	for classpath@gnu.org; Mon, 27 Jun 2005 18:02:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dn1gH-0006i4-32
	for classpath@gnu.org; Mon, 27 Jun 2005 18:02:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dn1ev-0005hX-Ci
	for classpath@gnu.org; Mon, 27 Jun 2005 18:00:53 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dn1FH-0002Kt-Rw
	for classpath@gnu.org; Mon, 27 Jun 2005 17:34:24 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dn1B1-0007Fy-00
	for <classpath@gnu.org>; Mon, 27 Jun 2005 23:29:59 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-YnDHUJ+ns/4tJsXsYI/q"
Date: Mon, 27 Jun 2005 23:30:04 +0200
Message-Id: <1119907804.17260.5.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: ClasspathGraphicsImagesText
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Jun 2005 22:02:19 -0000


--=-YnDHUJ+ns/4tJsXsYI/q
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi all,

I asked Sven de Marothy to do a brain dump about Graphics2D, Images and
Text support in GNU Classpath. He kindly agreed and the results can be
found in our wiki on developer.classpath.org. Thanks Sven!

Please read and comment (either on list or in the wiki):
http://developer.classpath.org/mediation/ClasspathGraphicsImagesText

Cheers,

Mark

--=20
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/

--=-YnDHUJ+ns/4tJsXsYI/q
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCwG/cxVhZCJWr9QwRAnq2AJ9T/IV1O33isSC5jJcig3mY4hIM3gCglp9s
vmDA93tGoxrvKzu95XFDGDw=
=JgBX
-----END PGP SIGNATURE-----

--=-YnDHUJ+ns/4tJsXsYI/q--




From MAILER-DAEMON Mon Jun 27 19:05:43 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dn2fe-0003us-UM
	for mharc-classpath@gnu.org; Mon, 27 Jun 2005 19:05:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dn2bU-0003Ra-DP
	for classpath@gnu.org; Mon, 27 Jun 2005 19:01:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dn2bE-0003Kd-3f
	for classpath@gnu.org; Mon, 27 Jun 2005 19:01:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dn2bD-0003I1-UX
	for classpath@gnu.org; Mon, 27 Jun 2005 19:01:08 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dn2WI-0006lC-3p
	for classpath@gnu.org; Mon, 27 Jun 2005 18:56:02 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dn2S1-0007Zd-00
	for <classpath@gnu.org>; Tue, 28 Jun 2005 00:51:37 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-BW9sA6hrCjO3cR7NjZUQ"
Date: Tue, 28 Jun 2005 00:51:42 +0200
Message-Id: <1119912702.17260.25.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: Next snapshot release (Thursday) and gtk+/cairo library versions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Jun 2005 23:05:41 -0000


--=-BW9sA6hrCjO3cR7NjZUQ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi all,

I wanted to create a new GNU Classpath developer snapshot (0.16) on
Thursday. Or Friday if we find real showstoppers on Thursday, but I
believe we are doing fine. So please be a bit more conservative about
committing big changes. The development pace is very good at the moment
though, so I don't want to stop for too long. Just ask on Thursday
before committing big things.

After some trouble getting the right gtk+ and cairo dependencies we seem
to have settled on gtk+ 2.4 as the version that 0.16 should be able to
compile against --enable-gtk-peer (the default) and cairo (0.5.1) for
when --enable-gtk-cairo is set (not enabled by default). I don't have a
2.4 box at the moment, but I will make sure to test against one before
the release (Thomas might need one or two fixes to make this happen).
After 0.16 we might want to move to 2.6. For --enable-gtk-cairo we don't
need the development gtk+ 2.7 anymore (thanks Ziga!). We will follow the
cairo developer snapshot releases in the future.

If you have written cool new stuff for GNU Classpath since 0.15 make
sure to add a note to the NEWS file (bonus points if you add something
to show it off to GNU Classpath Examples). Certainly the work of Audrius
on corba/omg should be mentioned. The recent improvements in Free Swing
by Roman, Tony and Lillian. The GtkImage rewrite by Sven. And although
the jdwp stuff isn't finished yet it would be nice to have a little text
about it to ask for feedback. Even though we only produce Developer
Snapshots they do get a lot of attention, so we should make sure to
mention anything that we would like some feedback on (or that we are
just proud about).

Cheers,

Mark
--=20
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/

--=-BW9sA6hrCjO3cR7NjZUQ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCwIL+xVhZCJWr9QwRAgKqAJ9EhcxcA4NIAN174yFqUTpE0Yv1igCgsDeB
a18YkI1MMBoUGJrmVMXyYak=
=1yzl
-----END PGP SIGNATURE-----

--=-BW9sA6hrCjO3cR7NjZUQ--




From MAILER-DAEMON Mon Jun 27 19:08:06 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dn2hy-0004kQ-4e
	for mharc-classpath@gnu.org; Mon, 27 Jun 2005 19:08:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dn2bZ-0003Vs-VY
	for classpath@gnu.org; Mon, 27 Jun 2005 19:01:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dn2bN-0003Qg-Di
	for classpath@gnu.org; Mon, 27 Jun 2005 19:01:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dn2bN-0003I1-5B
	for classpath@gnu.org; Mon, 27 Jun 2005 19:01:17 -0400
Received: from [24.25.9.101] (helo=ms-smtp-02-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dn2Kn-0006I3-85
	for classpath@gnu.org; Mon, 27 Jun 2005 18:44:09 -0400
Received: from [192.168.1.3] (cpe-024-211-210-200.nc.res.rr.com
	[24.211.210.200])
	by ms-smtp-02-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	j5RMdel8020440; Mon, 27 Jun 2005 18:39:40 -0400 (EDT)
From: "C. Brian Jones" <cbj@gnu.org>
To: tromey@redhat.com
In-Reply-To: <m3vf46jvlc.fsf@localhost.localdomain>
References: <428C9A1C.6060208@redhat.com>
	<m3acmahndw.fsf@localhost.localdomain> <42A5EDC9.5060907@redhat.com>
	<m3vf46jvlc.fsf@localhost.localdomain>
Content-Type: text/plain
Message-Id: <1119911661.3450.3.camel@fencepost.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Mon, 27 Jun 2005 18:39:39 -0400
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: classpath@gnu.org, Archit Shah <ashah@redhat.com>
Subject: Re: rmic contribution
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Jun 2005 23:07:49 -0000

On Wed, 2005-06-22 at 10:48, Tom Tromey wrote:
> >>>>> "Archit" == Archit Shah <ashah@redhat.com> writes:
> 
> Archit> A patch to replace the old RMIC implementation with the new ASM-based
> Archit> one attached. The patch file modifies configure.ac and Makefile.am to
> Archit> deal with asm.jar. The 2 java files go in
> Archit> cp-tools/src/gnu/classpath/tools/rmi/rmic. The Compile*.java files in
> Archit> that directory should be deleted. asm.jar (version 1.5.x) is required
> Archit> and  can be downloaded here:
> Archit> http://download.forge.objectweb.org/asm/asm-1.5.3.jar. I'm not sure
> Archit> where that requirement should be listed (NEWS, README or INSTALL), so
> Archit> the patch doesn't mention it. The newest version of ASM, 2.0, was
> Archit> released three weeks ago and will not work as there were API
> Archit> changes. Updating to use ASM 2.0 instead of 1.5.3 would require
> Archit> minimal effort.
> 
> Nobody has reviewed this yet, and I put it off a long time too --
> sorry about that.
> 
> The code itself looks good to me.  It could use a few comments; when
> writing code like generateSkel() that builds up a method using some
> IR, I like to have comments showing what the generated code looks like
> (in java-ish pseudo code).  This usually makes it a bit simpler to
> follow what is going on.
> 
> As for ASM, I think it is fine for us to use it.  We don't really have
> a good model for how to handle upstream code that we use but don't
> want to export.  My first inclination is to say we should handle it
> like SAX, meaning it would go in external/asm, external/README would
> explain what it is (and where we got it and how and when it can be
> updated), and finally it would be built from source.

Using it should be fine.  It would be great to get everything (dealing
with bytecode) using it but I'm not hacking right now.  I believe the
cp-tools configure stuff is setup to allow you specify where to find
necessary jars.  I don't have a debian or whatever free java system
setup to know where one should look for jar files by default... but
nothing has to be perfect to start out.

Brian
-- 
Brian Jones <cbj@gnu.org>




From MAILER-DAEMON Tue Jun 28 02:01:04 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dn99Y-0004me-Or
	for mharc-classpath@gnu.org; Tue, 28 Jun 2005 02:01:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dn99K-0004jH-1o
	for classpath@gnu.org; Tue, 28 Jun 2005 02:00:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dn99G-0004iZ-Nc
	for classpath@gnu.org; Tue, 28 Jun 2005 02:00:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dn99C-0004gr-7K
	for classpath@gnu.org; Tue, 28 Jun 2005 02:00:39 -0400
Received: from [66.33.193.58] (helo=toby.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dn99t-0002kZ-Bz
	for classpath@gnu.org; Tue, 28 Jun 2005 02:01:21 -0400
Received: from [192.168.0.100] (dsl2-63-249-108-128.cruzio.com
	[63.249.108.128]) by toby.dreamhost.com (Postfix) with ESMTP
	id C554612DA1E; Mon, 27 Jun 2005 22:56:49 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v730)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <9117A77A-3208-4F50-A4ED-709207B1F89A@gnu.org>
Content-Transfer-Encoding: 7bit
From: Casey Marshall <csm@gnu.org>
Date: Mon, 27 Jun 2005 22:56:49 -0700
To: Jessie <jessie-discuss@nongnu.org>
X-Mailer: Apple Mail (2.730)
Cc: Classpath <classpath@gnu.org>
Subject: FYI: rewriting Jessie
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Jun 2005 06:00:48 -0000

I've started work on what will likely become a complete rewrite of  
Jessie, to implement the new API introduced in the J2SE version 1.5,  
which allows using SSL connections with NIO channels. The basic idea  
is to first re-implement the SSL core over the SSLEngine class, then  
to rewrite the blocking Socket implementation to use that class. I'm  
going to take this opportunity to

   - Make the dependencies cleaner, so it will no longer depend on  
GNU Crypto directly, but will rather use the Java crypto APIs  
exclusively. The only direct dependencies planned are on Classpath.
   - Write all SSL structs as "views" on ByteBuffers, to limit byte  
copying. Also, I'd like to flesh out the use of one class per SSL  
struct, and make the internal API easy to understand and extend.
   - Make extensive use of java.util.logging to provide run-time  
debugging.
   - Include a unit test suite.

I am writing this as an "external" package to GNU Classpath, so with  
a simple patch to Classpath's build configuration it can be included  
in Classpath proper. I'll be initially working on the source code in  
this Subversion repository, and anyone is welcome to join:

   http://unmodern.net/svn/repos/jessie/trunk/

Cheers!



From MAILER-DAEMON Tue Jun 28 10:56:24 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DnHVg-0002ZD-AC
	for mharc-classpath@gnu.org; Tue, 28 Jun 2005 10:56:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DnHVZ-0002Xs-Sn
	for classpath@gnu.org; Tue, 28 Jun 2005 10:56:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DnHVR-0002X0-OO
	for classpath@gnu.org; Tue, 28 Jun 2005 10:56:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DnHVQ-0002Uf-DE
	for classpath@gnu.org; Tue, 28 Jun 2005 10:56:08 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DnHXj-0004Uy-7O
	for classpath@gnu.org; Tue, 28 Jun 2005 10:58:31 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j5SErnM0032668;
	Tue, 28 Jun 2005 10:53:49 -0400
Received: from opsy.redhat.com (vpn50-78.rdu.redhat.com [172.16.50.78])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j5SErmu07453; 
	Tue, 28 Jun 2005 10:53:48 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id DDF8D2DD925; Tue, 28 Jun 2005 08:49:15 -0600 (MDT)
Sender: tromey@redhat.com
To: Mark Wielaard <mark@klomp.org>
References: <1119912702.17260.25.camel@localhost.localdomain>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 28 Jun 2005 08:49:15 -0600
In-Reply-To: <1119912702.17260.25.camel@localhost.localdomain>
Message-ID: <m38y0ucz9w.fsf@localhost.localdomain>
Lines: 8
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Next snapshot release (Thursday) and gtk+/cairo library versions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Jun 2005 14:56:20 -0000

>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> I don't have a 2.4 box at the moment, but I will make sure to
Mark> test against one before the release

I've got one, let me know when you want me to try a build.

Tom



From MAILER-DAEMON Wed Jun 29 05:17:30 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DnYhF-00058f-D5
	for mharc-classpath@gnu.org; Wed, 29 Jun 2005 05:17:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DnYhC-00055x-D2
	for classpath@gnu.org; Wed, 29 Jun 2005 05:17:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DnYfK-0004g1-DE
	for classpath@gnu.org; Wed, 29 Jun 2005 05:15:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DnYeU-0003WG-Pq
	for classpath@gnu.org; Wed, 29 Jun 2005 05:14:39 -0400
Received: from [212.126.219.82] (helo=mail.aicas.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DnYcd-0003Tw-Qg
	for classpath@gnu.org; Wed, 29 Jun 2005 05:12:44 -0400
Received: from [192.168.1.72] (unknown [192.168.1.72])
	by mail.aicas.de (Postfix) with ESMTP id 04ED96BC691
	for <classpath@gnu.org>; Wed, 29 Jun 2005 11:12:16 +0200 (CEST)
Message-ID: <42C264E7.3030202@aicas.com>
Date: Wed, 29 Jun 2005 11:07:51 +0200
From: Roman Kennke <kennke@aicas.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: RFC: AWTUtilities vs SwingUtilities
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jun 2005 09:17:27 -0000

Hi,

I notice that we used to have a class AWTUtilities in gnu.java.awt that 
mirrors the functionality of SwingUtilities for access in AWT. This 
seems to be removed and replaced by references to SwingUtilities inside 
of AWT. I don't think that this is a good idea at all. I can imagine 
that Swing is not needed in some applications (embedded systems, etc) 
and could be ripped out of the Classpath. Having dependencies from AWT 
into Swing makes this more confusing.

OTOH it is not nice to have code duplicated, so I can understand this move.

Anyway, I would like to have this cleaned up. My proposal is this:

- we revive the AWTUtilities (actually I already did, but for a 
different purpose)
- switch references to SwingUtilities into AWTUtilities
- let SwingUtilities wrap its calls into calls to AWTUtilities

Any comments on that? If there are no arguments against this, I would do 
this cleanup after the release.

/Roman




From MAILER-DAEMON Wed Jun 29 05:58:35 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DnZL0-0006IC-Df
	for mharc-classpath@gnu.org; Wed, 29 Jun 2005 05:58:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DnZKy-0006EU-KC
	for classpath@gnu.org; Wed, 29 Jun 2005 05:58:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DnZKt-0006C6-TO
	for classpath@gnu.org; Wed, 29 Jun 2005 05:58:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DnZJA-0004tl-B3
	for classpath@gnu.org; Wed, 29 Jun 2005 05:56:40 -0400
Received: from [62.13.128.184] (helo=outmail128184.authsmtp.net)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DnZBL-000708-7K
	for classpath@gnu.org; Wed, 29 Jun 2005 05:48:35 -0400
Received: from [82.5.12.93] (cpc2-hem14-6-0-cust93.lutn.cable.ntl.com
	[82.5.12.93]) (authenticated bits=0)
	by squirrel.dmpriest.net.uk (8.13.3/8.13.3/Kp) with ESMTP id
	j5T9hkwD002917; Wed, 29 Jun 2005 10:43:46 +0100 (BST)
	(envelope-from david.gilbert@object-refinery.com)
Message-ID: <42C27B63.7050309@object-refinery.com>
Date: Wed, 29 Jun 2005 10:43:47 +0000
From: David Gilbert <david.gilbert@object-refinery.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050426)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1119912702.17260.25.camel@localhost.localdomain>
In-Reply-To: <1119912702.17260.25.camel@localhost.localdomain>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:Kp
X-Powered-By: AuthSMTP - http://www.authsmtp.com - Authenticated SMTP Mail
	Relay
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own
	anti-virus system!
Cc: classpath@gnu.org
Subject: Re: Next snapshot release (Thursday) and gtk+/cairo library versions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jun 2005 09:58:33 -0000

Mark Wielaard wrote:

>Even though we only produce Developer
>Snapshots they do get a lot of attention, so we should make sure to
>mention anything that we would like some feedback on (or that we are
>just proud about).
>
>
>  
>
I see in the japi report that the 1.1 API is pretty well complete, was
that ever announced?  There is a new item on the Classpath home page
that says the 1.0 API was complete on 6-Nov-2004, but nothing for 1.1. 
Maybe there is some reason...

Regards,

Dave Gilbert



From MAILER-DAEMON Wed Jun 29 08:59:55 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DncAT-0002tL-FK
	for mharc-classpath@gnu.org; Wed, 29 Jun 2005 08:59:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DncAF-0002oZ-Oe
	for classpath@gnu.org; Wed, 29 Jun 2005 08:59:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DncA8-0002kP-Gd
	for classpath@gnu.org; Wed, 29 Jun 2005 08:59:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DncA7-0002iT-LV
	for classpath@gnu.org; Wed, 29 Jun 2005 08:59:31 -0400
Received: from [62.13.128.164] (helo=outmail128164.authsmtp.co.uk)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dnc8Z-00068k-VO
	for classpath@gnu.org; Wed, 29 Jun 2005 08:57:56 -0400
Received: from [82.5.12.93] (cpc2-hem14-6-0-cust93.lutn.cable.ntl.com
	[82.5.12.93]) (authenticated bits=0)
	by squirrel.dmpriest.net.uk (8.13.3/8.13.3/Kp) with ESMTP id
	j5TCr5sf026178
	for <classpath@gnu.org>; Wed, 29 Jun 2005 13:53:05 +0100 (BST)
	(envelope-from david.gilbert@object-refinery.com)
Message-ID: <42C2A7BD.2070106@object-refinery.com>
Date: Wed, 29 Jun 2005 13:53:01 +0000
From: David Gilbert <david.gilbert@object-refinery.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050426)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:Kp
X-Powered-By: AuthSMTP - http://www.authsmtp.com - Authenticated SMTP Mail
	Relay
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own
	anti-virus system!
Subject: StatCVS / Classpath and Mauve
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jun 2005 12:59:42 -0000

I updated the StatCVS reports for Classpath and Mauve:

http://www.object-refinery.com/classpath/statcvs/index.html

http://www.object-refinery.com/classpath/mauve/statcvs/index.html

It's the same old story: relentless progress!

Regards,

Dave Gilbert



From MAILER-DAEMON Thu Jun 30 03:26:04 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DntQx-0003vT-8d
	for mharc-classpath@gnu.org; Thu, 30 Jun 2005 03:26:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DntQn-0003s5-NT
	for classpath@gnu.org; Thu, 30 Jun 2005 03:25:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DntQg-0003o0-56
	for classpath@gnu.org; Thu, 30 Jun 2005 03:25:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DntQe-0003kn-75
	for classpath@gnu.org; Thu, 30 Jun 2005 03:25:44 -0400
Received: from [212.126.219.82] (helo=mail.aicas.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DntMd-00010t-BI
	for classpath@gnu.org; Thu, 30 Jun 2005 03:21:35 -0400
Received: from bart.aicas.burg (unknown [192.168.1.60])
	(using TLSv1 with cipher RC4-MD5 (128/128 bits))
	(No client certificate requested)
	by mail.aicas.de (Postfix) with ESMTP id EC15F6BC692;
	Thu, 30 Jun 2005 09:21:00 +0200 (CEST)
From: Ingo =?ISO-8859-1?Q?Pr=F6tel?= <proetel@aicas.com>
To: Roman Kennke <kennke@aicas.com>
In-Reply-To: <42C264E7.3030202@aicas.com>
References: <42C264E7.3030202@aicas.com>
Content-Type: text/plain; charset=ISO-8859-15
Date: Thu, 30 Jun 2005 09:16:23 +0200
Message-Id: <1120115783.11166.166.camel@bart.aicas.burg>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1 
Content-Transfer-Encoding: quoted-printable
Cc: classpath@gnu.org
Subject: Re: RFC: AWTUtilities vs SwingUtilities
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Jun 2005 07:25:56 -0000

Hi Roman,

actually I introduced the AWTUtilitis in our copy fo the classpath tree
to remove the interdependency between a pure AWT application and Swing.
So that class never existed in Classpath. But I still think it would be
a good idea to try to minimise package interdependencies from AWT to
Swing.=20

ingo

Am Mittwoch, den 29.06.2005, 11:07 +0200 schrieb Roman Kennke:
> Hi,
>=20
> I notice that we used to have a class AWTUtilities in gnu.java.awt that=
=20
> mirrors the functionality of SwingUtilities for access in AWT. This=20
> seems to be removed and replaced by references to SwingUtilities inside=
=20
> of AWT. I don't think that this is a good idea at all. I can imagine=20
> that Swing is not needed in some applications (embedded systems, etc)=20
> and could be ripped out of the Classpath. Having dependencies from AWT=20
> into Swing makes this more confusing.
>=20
> OTOH it is not nice to have code duplicated, so I can understand this m=
ove.
>=20
> Anyway, I would like to have this cleaned up. My proposal is this:
>=20
> - we revive the AWTUtilities (actually I already did, but for a=20
> different purpose)
> - switch references to SwingUtilities into AWTUtilities
> - let SwingUtilities wrap its calls into calls to AWTUtilities
>=20
> Any comments on that? If there are no arguments against this, I would d=
o=20
> this cleanup after the release.
>=20
> /Roman
>=20
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
--=20
Ingo Pr=F6tel                                          proetel@aicas.com
aicas GmbH                                        http://www.aicas.com
Haid-und-Neu-Str. 18                        phone   +49 721 663 968-32
76131 Karlsruhe                             fax     +49 721 663 968-93
Germany                                     =20





From MAILER-DAEMON Thu Jun 30 06:55:57 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dnwi2-0004V4-Bx
	for mharc-classpath@gnu.org; Thu, 30 Jun 2005 06:55:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dnwhx-0004Ub-Rs
	for classpath@gnu.org; Thu, 30 Jun 2005 06:55:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dnwhv-0004UC-E7
	for classpath@gnu.org; Thu, 30 Jun 2005 06:55:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dnwhu-0004U8-MJ
	for classpath@gnu.org; Thu, 30 Jun 2005 06:55:46 -0400
Received: from [213.9.79.54] (helo=box7954) by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DnwlS-0004O3-5X
	for classpath@gnu.org; Thu, 30 Jun 2005 06:59:26 -0400
Received: from fc68a.f.strato-dslnet.de ([195.4.198.138] helo=[192.168.0.50])
	by box7954 with asmtp (Exim 3.35 #1 (Debian))
	id 1DnwfC-0001K8-00; Thu, 30 Jun 2005 12:52:59 +0200
From: Roman Kennke <roman@kennke.org>
To: Ingo =?ISO-8859-1?Q?Pr=F6tel?= <proetel@aicas.com>
In-Reply-To: <1120115783.11166.166.camel@bart.aicas.burg>
References: <42C264E7.3030202@aicas.com>
	<1120115783.11166.166.camel@bart.aicas.burg>
Content-Type: text/plain; charset=iso-8859-15
Date: Thu, 30 Jun 2005 12:54:37 +0200
Message-Id: <1120128877.4132.23.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: quoted-printable
Cc: classpath@gnu.org
Subject: Re: RFC: AWTUtilities vs SwingUtilities
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Jun 2005 10:55:50 -0000

Am Donnerstag, den 30.06.2005, 09:16 +0200 schrieb Ingo Pr=F6tel:
> Hi Roman,
>=20
> actually I introduced the AWTUtilitis in our copy fo the classpath tree
> to remove the interdependency between a pure AWT application and Swing.
> So that class never existed in Classpath. But I still think it would be
> a good idea to try to minimise package interdependencies from AWT to
> Swing.=20

Ah, that explains it. I will do this fix after the 0.16 release of
Classpath.

/Roman





From MAILER-DAEMON Thu Jun 30 10:08:12 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dnzi7-0000Bv-Re
	for mharc-classpath@gnu.org; Thu, 30 Jun 2005 10:08:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dnzi4-00009Y-Vv
	for classpath@gnu.org; Thu, 30 Jun 2005 10:08:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dnzi2-00006P-LB
	for classpath@gnu.org; Thu, 30 Jun 2005 10:08:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dnzek-00073i-Ul
	for classpath@gnu.org; Thu, 30 Jun 2005 10:04:43 -0400
Received: from [217.12.12.204] (helo=smtp814.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DnzGy-0003zU-HD
	for classpath@gnu.org; Thu, 30 Jun 2005 09:40:09 -0400
Received: (qmail 38339 invoked from network); 30 Jun 2005 13:35:04 -0000
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(hughes2002@217.44.226.232 with plain)
	by smtp814.mail.ukl.yahoo.com with SMTP; 30 Jun 2005 13:35:02 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1] helo=rivendell)
	by orthanc.middle-earth.co.uk with smtp (Exim 4.50)
	id 1DnzBg-0002Yq-DL; Thu, 30 Jun 2005 14:34:40 +0100
Received: by rivendell (sSMTP sendmail emulation);
	Thu, 30 Jun 2005 14:34:59 +0100
From: "Andrew John Hughes" <gnu_andrew@member.fsf.org>
Date: Thu, 30 Jun 2005 14:34:59 +0100
To: classpath-patches@gnu.org
Message-ID: <20050630133459.GA2735@middle-earth.co.uk>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Cc: classpath@gnu.org
Subject: RFC; VM Integration Documentation Update
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Jun 2005 14:08:09 -0000


--zx4FCpZtqtKETZ7O
Content-Type: multipart/mixed; boundary="ew6BAiZeqk4r7MaW"
Content-Disposition: inline


--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Attached is a patch which updates the VM integration documentation
to correctly represent the current state of the VM classes.  I'd be
grateful for any comments and/or additions on this from other developers,
especially those working on a VM (hence the cc to classpath@), before
I commit.

Thanks.

Changelog:

2005-06-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* doc/vmintegration.texinfo:
	Updated 'Classpath Hooks' section.

--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachment=
s.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history.=20
`Don't bother us with politics' respond those who don't want to learn."=20
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="vmintegration-01.diff"
Content-Transfer-Encoding: quoted-printable

Index: doc/vmintegration.texinfo
=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
RCS file: /cvsroot/classpath/classpath/doc/vmintegration.texinfo,v
retrieving revision 1.17
diff -u -3 -p -u -r1.17 vmintegration.texinfo
--- doc/vmintegration.texinfo	24 Apr 2005 19:28:29 -0000	1.17
+++ doc/vmintegration.texinfo	30 Jun 2005 13:26:41 -0000
@@ -110,7 +110,7 @@ provides a Java 1.1 compatible environme
 The Electrical File VM continues to be listed as a Mozilla project
 though development has been somewhat quiet.  A number of concepts from
 EF were expected at one point to be rolled into Japhar, but that
-development has not occured as of yet.
+development has not occurred as of yet.
=20
 @item @uref{http://latte.snu.ac.kr/,LaTTe}
 This VM project so far supports only Sun UltraSparc processors using the
@@ -175,42 +175,881 @@ The initialization order is currently do
 @comment node-name, next, previous, up
 @chapter Classpath Hooks
=20
-Several core classes must be implemented by the VM for Classpath to
-work.  These classes are:
+The primary method of interaction between Classpath and the VM is via
+the helper classes, which are named after the relevant core library
+class, but include an additional `VM' prefix.  The library classes from
+Classpath call out to these to get certain VM-specific dirty work done.
+A reference copy of each VM class exists.  The majority consist of a
+series of static methods, some of which are simply declared
+@code{native}, and some which provide a default implementation.  VMs may
+either use these as is, or create their own local variations.  When
+using the default implementations, the VM is responsible for
+implementing any of the code marked as @code{native} which corresponds
+to functionality they wish their VM to provide.  When using their own
+versions of the classes, VM implementors may choose to change the mix of
+native and non-native methods from that below, so as to best suit their
+implementation.
+
+@menu
+* java.lang::
+* gnu.classpath::
+* java.util::
+* java.io::
+* java.security::
+* java.net::
+* java.nio::
+* java.nio.channels::
+* gnu.java.nio::
+* Classpath Callbacks::
+@end menu
+
+@node java.lang, gnu.classpath, Classpath Hooks, Classpath Hooks
+@comment  node-name,  next,  previous,  up
+
+@section @code{java.lang}
+
+@code{java.lang} is the core Java package, being imported automatically by=
 all
+classes.  It includes basic classes as @code{Object} and @code{String}.
+A VM must implement at least some parts of this package in order to
+become operable.
+
+@menu
+* java.lang.VMClass::
+* java.lang.VMObject::
+* java.lang.VMClassLoader::
+* java.lang.VMSystem::
+* java.lang.VMThrowable::
+* java.lang.VMCompiler::
+* java.lang.VMDouble::
+* java.lang.VMFloat::
+* java.lang.VMProcess::
+* java.lang.VMRuntime::
+* java.lang.VMString::
+* java.lang.VMThread::
+@end menu
+
+@node java.lang.VMClass, java.lang.VMObject ,java.lang,java.lang
+@subsection @code{java.lang.VMClass}
+
+The core class, @code{java.lang.Class}, and the corresponding VM class,
+@code{java.lang.VMClass}, provide two main functions within GNU Classpath.
+
+@enumerate
+@item For basic VM operation, @code{java.lang.Class} provides the link bet=
ween
+the Java-based representation of a class it embodies and the VM's own
+internal structure for a class.  @xref{VM Hooks}.
+
+@item As far as the user is concerned, the main function of
+@code{java.lang.Class} is as an entry point to the reflection
+facilities, and so it also provides this functionality, backed by the
+VM class.
+@end enumerate
+
+This VM class lists the following methods, organized by the version of the
+Java specification in which they occur.  All are @code{native}, unless
+otherwise specified, and pertain to reflection.  As a result, the VM only
+needs to implement these methods in order to provide reflection support,
+and then only to the degree required.
=20
 @itemize @bullet
-@item java.lang.Class
-@item java.lang.Runtime
-@item java.lang.Thread
-@item java.lang.reflect.Constructor
-@item java.lang.reflect.Method
-@item java.lang.reflect.Field
+@item 1.0
+@itemize @bullet
+@item @code{isInterface(Class)} -- This is simply a property test, and mat=
ches
+the presence of an appropriate flag within the class file.
+@item @code{getName(Class)} -- Returns the fully-qualified name of the cla=
ss.
+@item @code{getSuperclass(Class)} -- Returns a @code{Class} instance which
+represents the superclass.  Again, the class file contains an element dire=
ctly
+relating to this.  @code{null} is returned for primitives, interfaces and
+@code{Object}.
+@item @code{getInterfaces(Class)} -- Same as the above, but the implemented
+or extended interfaces rather than the superclass.  An empty array should
+be returned, rather than @code{null}.
+@item @code{getDeclaredClasses(Class,boolean)} -- Returns the internal cla=
sses
+this instance declares directly.  The flag determines whether or not the
+VM should filter out non-public classes.
+@item @code{getDeclaredFields(Class,boolean)} -- The same for fields.
+@item @code{getDeclaredMethods(Class,boolean)} -- And for methods.
+@item @code{getDeclaredConstructors(Class,boolean)} -- And constructors.
+@item @code{getClassLoader(Class)} -- Returns the @code{ClassLoader} insta=
nce
+which is responsible for the specified class.
+@item @code{forName(String)} -- The VM should create a @code{Class} instan=
ce
+corresponding to the named class.  As noted in @ref{VM Hooks}, the internal
+content of the instance is the responsibility of the VM.
+@item @code{isArray(Class)} -- Another property test, corresponding to a
+class file flag.
+@item @code{initialize(Class)} -- The VM should initialize the class fully,
+if it has not already done so.
+@item @code{loadArrayClass(String,ClassLoader)} -- This is called if
+@code{forName} returns @code{null} and the string specifies an array class.
+The specified array class should be loaded with the supplied class loader.
+@item @code{throwException(Throwable)} -- The VM should throw the supplied
+checked exception, without declaring it.
+@end itemize
+@item 1.1
+@itemize @bullet
+@item @code{isInstance(Class,Object)} -- This is a reflection-based equiva=
lent
+of the @code{instanceof} operator.
+@item @code{isAssignableFrom(Class,Class)} -- Mainly a shorthand for the a=
bove,
+removing the need to create an instance to test assignability. =20
+@item @code{isPrimitive(Class)} -- Returns true if this class is simply
+a representation of one of the primitive types: @code{boolean}, @code{byte=
},
+@code{char}, @code{short}, @code{int}, @code{long}, @code{float},
+@code{double} and @code{void}.
+@item @code{getComponentType(Class)} -- Produces a @code{Class} instance w=
hich
+represents the type of the members of the array the class instance represe=
nts.
+Classes which don't represent an array type return @code{null}.
+@item @code{getModifiers(Class,boolean)} -- Returns an integer which encod=
es
+the class' modifiers, such as @code{public}.  Again, this relates to
+information stored in the class file.
+@item @code{getDeclaringClass(Class)} -- Returns the class that declared
+an inner or member class, or @code{null} if the instance refers to a top-l=
evel
+class.
+@end itemize
+@end itemize
+
+@node java.lang.VMObject, java.lang.VMClassLoader, java.lang.VMClass, java=
=2Elang
+@subsection @code{java.lang.VMObject}
+
+@code{VMObject} is the bridge between the low level @code{Object} faciliti=
es
+such as making a clone, getting the class of the object and the wait/notify
+semantics.  This is accomplished using the following @code{native}
+methods.
+
+@itemize @bullet
+@item @code{getClass(Object)} -- Returns the @code{Class} instance for the
+object.  @code{Class} objects are produced by the VM, as described in
+@ref{VM Hooks}.
+@item @code{clone(Cloneable)} -- The VM should produce a low-level clone o=
f the
+specified object, creating a field-by-field shallow copy of the original.
+The only difference between the two is that the new object should still be
+@code{finalizable}, even if the original is not.
+@item @code{notify(Object)} -- The VM should choose one of the threads wai=
ting
+for a lock on the specified object arbitrarily, and wake it.  If the curre=
nt
+thread does not currently hold the lock on the object, then an
+@code{IllegalMonitorStateException} should be thrown.
+@item @code{notifyAll(Object)} -- Same as the above, but all threads are
+awakened.
+@item @code{wait(Object,long,int)} -- The VM should set the current thread
+into a waiting state, which persists until it receives a notify signal or =
the
+specified time (in milliseconds and nanoseconds) is exceeded.  The nanosec=
onds
+restriction may be ignored if such granularity is not available, and a
+@code{IllegalMonitorStateException} should be thrown if the current thread
+doesn't own the object.
+@end itemize
+
+@node java.lang.VMClassLoader, java.lang.VMSystem, java.lang.VMObject, jav=
a.lang
+@subsection @code{java.lang.VMClassLoader}
+@code{VMClassLoader} provides methods for defining and resolving core and
+primitive classes, as well as handling resources, packages and assertions.
+The class is a mixture of @code{native} methods and Java-based
+implementations, with some of the latter being @emph{stubs}.
+
+@itemize @bullet
+@item Native Methods
+@itemize @bullet
+@item @code{defineClass(ClassLoader,String,byte[],int,int,ProtectionDomain=
)}
+-- The VM should create a @code{Class} instance from the supplied byte arr=
ay.
+@item @code{resolveClass(Class)} -- Resolve references to other classes in=
 the
+supplied class.
+@item @code{loadClass(name,boolean)} -- Load a class using the bootstrap
+loader.
+@item @code{getPrimitiveClass(char)} -- The VM should provide a @code{Clas=
s}
+implementation for one of the primitive classes.  The supplied character
+matches the JNI code for the primitive class e.g. `B' for byte and
+`Z' for boolean.
+@end itemize
+@item Java Methods
+@itemize @bullet
+@item @code{getResource(String)} -- The default implementation calls
+@code{getResources} and returns the first element in the returned enumerat=
ion,
+or @code{null} if there are no elements.
+@item @code{getResources(String)} -- By default, this compiles a list of
+URLs via the boot class path.  Any matching files within a zip file are ad=
ded,
+and directories on the boot class path are automatically converted to file
+URLs that refer to join the directory with the resource name (whether or n=
ot
+it actually exists).
+@item @code{getPackage(String)} -- Always returns null, which may be suita=
ble
+if the VM does not wish to return a @code{Package} implementation. Otherwi=
se,
+it may be necessary to make this a @code{native} method.
+@item @code{getPackages()} -- As with the last, a default stub implementat=
ion
+exists (returning an empty array) which may be replaced if support is
+required.=20
+@item @code{defaultAssertionStatus()} -- A stub which can be implemented
+by VMs providing assertion support.  At present, it always returns @code{t=
rue}.
+@item @code{packageAssertionStatus()} -- Much the same status as the above.
+The method should return a map converting package names to boolean status
+values.  The stub implementation provides an empty map.
+@item @code{classAssertionStatus()} -- Same as the last, but for classes.
+@item @code{getSystemClassLoader()} -- The default calls @code{ClassLoader}
+to create a new auxillary class loader with a system and extension class
+loader.  The VM may wish to replace it if it wishes to supply its own cust=
om
+system class loader.
+@end itemize
+@end itemize
+@node java.lang.VMSystem, java.lang.VMThrowable, java.lang.VMClassLoader, =
java.lang
+@subsection @code{java.lang.VMSystem}
+@code{VMSystem} handles the default I/O streams, provides access to the
+system clock and environment variables and provides methods for
+@code{System.arraycopy} and the @code{identityHashCode} of an
+@code{Object}.  It consists of @code{native} methods, but the default
+implementation also provides some helper methods to simplify stream
+creation. =20
+
+@itemize @bullet
+@item Native Methods
+@itemize @bullet
+@item @code{arraycopy(Object,int,Object,int,int)} -- The VM should copy
+a specified number of array objects from one array to another, with=20
+appropriate checks for compatible typing, available elements and space.
+The VM should be able to perform this more efficiently using native code
+and direct memory manipulation than would have been achieved by using Java.
+@item @code{identityHashCode(Object)} -- This is the hashcode for
+@code{Object}, which relates to the actual location of the object in memor=
y.
+@item @code{setIn(InputStream)} -- Set the system input stream.
+@item @code{setOut(PrintStream)} -- Set the system output stream.
+@item @code{setErr(PrintStream)} -- Set the system error stream.
+@item @code{currentTimeMillis()} -- Gets the system time in milliseconds.
+@item @code{getenv(String)} -- Returns the value of the specified environm=
ent
+variable.
+@end itemize
+@item Java Methods
+@itemize @bullet
+@item @code{makeStandardInputStream()} -- Helps provide the functionality =
of
+@code{System.in} by wrapping the appropriate file descriptor in a buffered
+file input stream.  VMs may choose to create the stream from the descriptor
+differently rather than using this method.
+@item @code{makeStandardOutputStream()} -- Helps provide the functionality=
 of
+@code{System.out} by wrapping the appropriate file descriptor in a buffered
+file output stream.  VMs may choose to create the stream from the descript=
or
+differently rather than using this method.
+@item @code{makeStandardErrorStream()} -- Helps provide the functionality =
of
+@code{System.err} by wrapping the appropriate file descriptor in a buffered
+file output stream.  VMs may choose to create the stream from the descript=
or
+differently rather than using this method.
+@end itemize
+@end itemize
+
+Classpath also provides native implementations of
+
+@itemize @bullet
+@item @code{setIn(InputStream)}=20
+@item @code{setOut(PrintStream)}=20
+@item @code{setErr(PrintStream)}=20
+@item @code{currentTimeMillis()}=20
+@item @code{getenv(String)}
+@end itemize
+
+making a VM implementation optional.
+
+@node java.lang.VMThrowable, java.lang.VMCompiler, java.lang.VMSystem, jav=
a.lang
+@subsection @code{java.lang.VMThrowable}
+@code{VMThrowable} is used to hold the VM state of a throwable, created ei=
ther
+when a @code{Throwable} is created or the @code{fillInStackTrace()} method=
 is
+called (i.e. when the actual stack trace is needed, as a lot of exceptions=
 are
+never actually used).  The actual class has two @code{native} methods,
+one (@code{fillInStackTrace()}) being a method of the class used to obtain
+instances, and the other an instance method, @code{getStackTrace()}.
+@itemize @bullet
+@item @code{fillInStackTrace(Throwable)} -- The VM should return the curre=
nt
+execution state of the @code{Throwable} in the form of a @code{VMThrowable}
+instance.  The VM may also return @code{null} if it does not support this
+functionality.
+@item @code{getStackTrace()} -- This is used to create a real
+@code{StackTraceElement} array for the exception, using the state data
+stored during creation of the instance.
+@end itemize
+
+@node java.lang.VMCompiler, java.lang.VMDouble, java.lang.VMThrowable, jav=
a.lang
+@subsection @code{java.lang.VMCompiler}
+
+@code{VMCompiler} provides an interface for VMs which wish to provide
+JIT compilation support.  The default implementation is simply a series
+of stubs. The property, @code{java.compiler}, should point to a library
+containing the function @code{java_lang_Compiler_start()} if such support
+is to be provided.
+
+@itemize @bullet
+@item @code{compileClass(Class)} -- Invoke the compiler to compile the spe=
cific
+class, returning @code{true} if successful.
+@item @code{compileClasses(String)} -- The compiler should compile the cla=
sses
+matching the specified string, again returning @code{true} on success.
+@item @code{command(Object)} -- The object represents a command given to t=
he
+compiler, and is specific to the compiler implementation.
+@item @code{enable} -- Enable the operation of the compiler.
+@item @code{disable} -- Disable compiler operation.
+@end itemize
+
+@node java.lang.VMDouble, java.lang.VMFloat, java.lang.VMCompiler, java.la=
ng
+@subsection @code{java.lang.VMDouble}
+
+@code{VMDouble} provides native support for the conversion and parsing
+of doubles.
+
+@itemize @bullet
+@item @code{doubleToLongBits(double)} -- Converts the double to the IEEE 7=
54
+bit layout, collapsing NaNs to @code{0x7ff8000000000000L}.
+@item @code{doubleToRawLongBits(double)} -- Same as the above, but preserv=
es
+NaNs.
+@item @code{longBitsToDouble(long)} -- This is the inverse of the last met=
hod,
+preserving NaNs so that the output of one can be fed into the other without
+data loss.
+@item @code{toString(double,boolean)} -- Converts the double to a string,
+giving a shorter value if the flag @code{isFloat} is @code{true}, indicati=
ng
+that the conversion was requested by @code{java.lang.Float} rather than
+@code{java.lang.Double}.
+@item @code{initIDs} -- Used by JNI-based solutions to initialize the cache
+of the static field IDs.  The default @code{VMDouble} implementation has a
+static initializer which loads the JNI library and calls this method.
+@item @code{parseDouble} -- Turn the string into a usable double value.
+@end itemize
+
+Classpath provides native implementations of all these, making VM
+implementation optional.
+
+@node java.lang.VMFloat, java.lang.VMProcess, java.lang.VMDouble, java.lang
+@subsection @code{java.lang.VMFloat}
+
+@code{VMFloat} provides native support for the conversion of floats.
+
+@itemize @bullet
+@item @code{floatToIntBits(float)} -- Converts the float to the IEEE 754
+bit layout, collapsing NaNs to @code{0x7fc00000}.
+@item @code{floatToRawIntBits(float)} -- Same as the above, but preserves
+NaNs.
+@item @code{intBitsToFloat(int)} -- This is the inverse of the last method,
+preserving NaNs so that the output of one can be fed into the other without
+data loss.
+@end itemize
+
+Classpath provides native implementations of all these, making VM
+implementation optional.
+
+@node java.lang.VMProcess, java.lang.VMRuntime, java.lang.VMFloat, java.la=
ng
+@subsection @code{java.lang.VMProcess}
+
+@code{VMProcess} handles the execution of external processes.  In the
+default implementation, threads are spawned and reaped by @code{ProcessThr=
ead}.
+A constructor creates a new @code{VMProcess}, which extends rather than
+complements @code{Process}, using an array of arguments, an array of
+environment variables and a working directory.  The instance maintains
+system input, output and error streams linked to the external process.
+Three @code{native} methods are used, and implementations are provided
+for all three by Classpath, making VM implementation optional.  These use
+the POSIX functions, @code{fork()}, @code{waitpid()} and @code{kill()}.
+
+@itemize @bullet
+@item @code{nativeSpawn(String[],String[],File)} -- The VM should create a
+new process which uses the specified command-line arguments, environment
+variables and working directory.  Unlike the other two methods, this
+method is linked to an instance, and must call @code{setProcessInfo()} with
+the results before returning.
+@item @code{nativeReap()} -- This is called to perform a reap of any
+zombie processes, and should not block, instead returning a boolean as to
+whether reaping actually took place.
+@item @code{nativeKill(long)} -- The VM should terminate the specified PID.
+@end itemize
+
+@node java.lang.VMRuntime, java.lang.VMString, java.lang.VMProcess, java.l=
ang
+@subsection @code{java.lang.VMRuntime}
+
+The @code{VMRuntime} class provides a series of native methods
+which divulge information about the runtime or invoke certain
+operations.  This includes retrieving the amount of available memory,
+and scheduling the garbage collector.  There are two exceptions: the
+@code{enableShutdownHooks} method, which allows the VM to put in its own
+shutdown hooks when @code{Runtime.addShutdownHook()} is first invoked,
+and @code{exec(String[],String[],File)} which spawns an external process.
+These are Java-based static methods instead.  The first is simply a stub by
+default, while the second simply links to the functionality of
+@code{VMProcess} (and should be changed if a different @code{Process}
+implementation is used).
+
+@itemize @bullet
+@item @code{availableProcessors()} -- Returns the number of processors=20
+available to the VM.
+@item @code{freeMemory()} -- Returns the amount of memory the VM has avail=
able
+on the heap for allocating.
+@item @code{totalMemory()} -- Returns the size of the heap.
+@item @code{maxMemory()} -- Returns the maximum memory block the VM will
+attempt to allocate.  May be simply @code{Long.MAX_VALUE} (8 exabytes!)
+@item @code{gc()} -- Allows users to explicitly invoke the garbage collect=
or.
+This is a suggestion to the VM, rather than a command, and the garbage
+collector should run anyway @emph{without} it being invoked.
+@item @code{runFinalization()} -- Like the above, but related to the
+finalilzation of objects rather than the garbage collector.
+@item @code{runFinalizationForExit()} -- Called immediately prior to VM
+shutdown in order to finalize all objects (including `live' ones)
+@item @code{traceInstructions(boolean)} -- This turns on and off the optio=
nal
+VM functionality of printing a trace of executed bytecode instructions.
+@item @code{traceMethodCalls(boolean)} -- This turns on and off the option=
al
+VM functionality of printing a trace of methods called.
+@item @code{runFinalizersOnExit(boolean)} -- A toggleable setting for
+running the finalization process at exit.
+@item @code{exit(int)} -- The VM should shutdown with the specified exit c=
ode.
+@item @code{nativeLoad(String,ClassLoader)} -- Attempts to load a file,
+returning an integer which is non-zero for success.  Nothing happens if the
+file has already been loaded.
+@item @code{mapLibraryName(String)} -- The VM should map the system-indepe=
ndent
+library name supplied to the platform-dependent equivalent (e.g. a @code{.=
so}
+or @code{.dll} file)
+@end itemize
+
+@node java.lang.VMString, java.lang.VMThread, java.lang.VMRuntime, java.la=
ng
+@subsection @code{java.lang.VMString}
+@code{VMString} is responsible for handling interned strings.  If two stri=
ngs
+are equal (using the @code{equals()} method), then the results of calling
+the @code{intern()} method on each of them makes them equal
+(using @code{=3D=3D}).  Thus, the same string object is always returned by
+@code{intern} if the two strings are equal.  The default implementation
+is Java-based and implements @code{intern(String)} by maintaining a
+@code{WeakHashMap} which links the strings to their @code{WeakReference}.
+A new mapping is created for each new string being @code{intern}ed. =20
+A VM may implement this differently by implementing this method,
+which is @code{static} and the only one in @code{VMString}.
+
+@node java.lang.VMThread,, java.lang.VMString, java.lang
+@subsection @code{java.lang.VMThread}
+
+@code{VMThread} provides the link between Java's threads and the platform
+threading support.  A @code{VMThread} is created via a private constructor
+and linked to a @code{Thread} instance.  This occurs when the @code{Thread}
+instance is started by the static @code{create(Thread,long)} method (the s=
econd
+argument requests a certain stack size, usually zero).  The thread itself =
is
+executed via the @code{run()} method, which handles any problems with the
+running of the thread and its eventual death.
+
+@code{VMThread} provides the following accessors and mutators for accessing
+the thread state via @code{VMThread},
+
+@itemize @bullet
+@item @code{getName()}
+@item @code{setName(String)}
+@item @code{getPriority()}
+@item @code{setPriotity(int)}
+@item @code{isDaemon()}
+@end itemize
+
+all of which refer to the @code{Thread} instance. @code{setPriority(int)} =
also
+calls the appropriate native method.  @code{stop(Throwable)} similarly wra=
ps
+a native method, merely adding in a check for the state of the thread.
+
+The default implementation also provides Java-based implementations of
+@code{join(long,int)}, @code{sleep(long,int)} and
+@code{holdsLock(Object)}.  @code{join} and @code{sleep} simply wait for
+the appropriate amount of time, with @code{join} additionally waiting
+for the thread instance to become @code{null}.  @code{holdsLock} simply
+checks if an object is locked by the current thread by trying to invoke
+the @code{notify} method, and catching the failing exception if this is
+not the case.
+
+The remainder of the class is a series of @code{native} methods, some of
+which are mandatory for VM implementation and others which provide optional
+or deprecated functionality.
+
+@itemize @bullet
+@item Mandatory Instance Methods
+@itemize @bullet
+@item @code{start(long)} -- The VM should create the native thread and sta=
rt
+it running using the @code{run} method of the @code{VMThread} instance on
+which this method is called.
+@item @code{interrupt()} -- The VM should interrupt the running thread and
+throw an appropriate exception.
+@item @code{isInterrupted()} -- Checks the interrupted state of the thread.
+@item @code{suspend()} -- The thread should be suspended until resumed.
+@item @code{resume()} -- The thread should be resumed from its suspended s=
tate.
+This pair of methods are deprecated, due to the possibility of a deadlock
+occuring when a thread with locks is suspended.
+@item @code{nativeSetPriority(int)} -- Called by @code{setPriority}
+to allow the setting to flow down to the native thread.
+@item @code{nativeStop(Throwable)} -- The VM should stop the thread abnorm=
ally
+and throw the specified exception.  This is clearly deprecated, due to the
+ambiguous state an abruptly-stopped thread may leave.
+@end itemize
+@item Mandatory Class Methods
+@itemize @bullet
+@item @code{currentThread()} -- Return a reference to the thread currently
+being executed.
+@item @code{yield()} -- The VM should allow some other thread to run.
+The current thread maintains its locks even though it stops executing for
+the time being.
+@item @code{interrupted()} -- A shortcut to obtaining the interrupted state
+of the current thread.
+@end itemize
+@item Other Methods
+@itemize @bullet
+@item @code{countStackFrames()} -- Returns a count of the number of stack
+frames in the thread.  This depends on the deprecated method @code{suspend=
()}
+having returned true, and is thus deprecated as a result.
+@end itemize
+@end itemize
+
+@node gnu.classpath, java.util, java.lang, Classpath Hooks
+@section @code{gnu.classpath}
+
+The @code{gnu.classpath} package provides Classpath-specific functionality,
+primarily relating to the features in @code{java.lang}.  At present, this
+includes the context of a class (the stack) and the system properties.
+
+@menu
+* gnu.classpath.VMStackWalker::
+* gnu.classpath.VMSystemProperties::
+@end menu
+
+@node gnu.classpath.VMStackWalker,gnu.classpath.VMSystemProperties,gnu.cla=
sspath,gnu.classpath
+@subsection @code{gnu.classpath.VMStackWalker}
+
+@code{VMStackWalker} provides access to the class context or stack.  The
+default implementation consists of a @code{native} @code{static} method,
+@code{getClassContext()}, which obtains the class context, and two helper
+methods which obtain the calling class (the 3rd element in the context arr=
ay)
+and its class loader, respectively.
+
+@itemize @bullet
+@item @code{getClassContext()} -- The VM should return an array of
+@code{Class} objects, each of which relates to the method currently being
+executed at that point on the stack.  Thus, the first item (index 0) is the
+class that contains this method.
+@item @code{getCallingClass()} -- A Java-based helper method which returns
+the @code{Class} object which contains the method that called the method
+accessing @code{getCallingClass()}.=20
+@item @code{getCallingClassLoader()} -- Like the last, but returning the c=
lass
+loader of the class.
+@end itemize
+
+@node gnu.classpath.VMSystemProperties,,gnu.classpath.VMStackWalker,gnu.cl=
asspath
+@subsection @code{gnu.classpath.VMSystemProperties}
+
+@code{VMSystemProperties} allows the VM to hook into the property creation
+process, both before and after the system properties are added by GNU
+Classpath.  The default implementation assumes that the VM will add its
+properties first, by making the pre-initialisation method @code{native},
+and that the Classpath properties may then be altered by a Java-based
+post-initialisation method.
+
+As these methods are called as part of the bootstrap process, caution shou=
ld
+be used as to what classes are used, and properties should only be set
+using @code{Properties.setProperty()}.  Specifically, I/O classes should be
+avoided at this early stage.
+
+@itemize @bullet
+@item @code{preInit(Properties)} -- Allows the VM to add properties
+@emph{before} the Classpath properties are added. The default implementati=
on
+includes a full list of properties that @emph{must} be added by the VM, but
+additional VM-specific ones may also be added. =20
+@item @code{postInit(Properties)} -- Same as the last, but called after the
+Classpath properties have been added.  The main purpose of this is to allow
+the VM to alter the properties added by GNU Classpath to suit it.
+@end itemize
+
+@node java.util, java.io, gnu.classpath, Classpath Hooks
+@section java.util
+
+The @code{java.util} VM hooks provide links between the mix of functionali=
ty
+present in that package, which includes collections, date and time handling
+and parsing.  At present, there is only one hook, which connects GNU Class=
path
+to the timezone information provided by the underlying platform.
+
+@menu
+* java.util.VMTimeZone::
+@end menu
+
+@node java.util.VMTimeZone,,java.util,java.util
+@subsection @code{java.util.VMTimeZone}
+
+@code{VMTimeZone} joins @code{TimeZone} to the platform timezone informati=
on
+via the static method, @code{getDefaultTimeZoneId()}.  The VM hook is
+expected to return a @code{TimeZone} instance that represents the current
+timezone in use by the platform.  The default implementation provides
+this functionality for POSIX or GNU-like systems, and VMs that want this
+functionality can keep this implementation and implement the native
+method, @code{getSystemTimeZoneId()}.  This method is only called when
+obtaining the timezone name from the @code{TZ} environment variable,
+@code{/etc/timezone} and @code{/etc/localtime} all fail.  This fallback
+mechanism also means that a system which doesn't provide the above three
+methods, but does provide a timezone in string form, can still use this
+implementation.
+
+@node java.io, java.security, java.util, Classpath Hooks
+@section java.io
+
+The @code{java.io} package is heavily reliant on access to the I/O facilit=
ies
+of the underlying platform.  As far as its VM hooks go, they provide two
+areas of functionality to GNU Classpath, these being
+
+@itemize @bullet
+@item File and directory queries and manipulation
+@item Serialization of objects
+@end itemize
+
+The first corresponds directly to most of the @code{File} class, while
+the latter underlies the functionality provided by the
+@code{ObjectInputStream} and @code{ObjectOutputStream}.  More low-level I/O
+is provided by @ref{java.nio}.
+
+@menu
+* java.io.VMFile::
+* java.io.VMObjectInputStream::
+* java.io.VMObjectStreamClass::
+@end menu
+
+@node java.io.VMFile,java.io.VMObjectInputStream,java.io,java.io
+@subsection @code{java.io.VMFile}
+
+@code{VMFile} allows GNU Classpath's @code{File} representations to
+probe and modify the file system using the native functions of the
+platform.  The default implementation (which consists of both a
+@code{VMFile} class and the native methods) is primarily UNIX-centric,
+working with POSIX functions and assuming case-sensitive filenames,
+without the restriction of the 8.3 format.  It consists mainly of
+@code{static} @code{native} methods, with a few Java helper methods.
+The native methods represent the file as a string containing its path,
+rather than using the object itself.
+
+@itemize @bullet
+@item Native Methods
+@itemize @bullet
+@item @code{lastModified(String)} -- The native method should return a
+@code{long} value that represents the last modified date of the file.
+@item @code{setReadOnly(String)} -- Sets the file's permissions to read on=
ly,
+in whichever way this is realised by the platform.
+@item @code{create(String)} -- Create the named file.
+@item @code{list(String)} -- The native method opens the named directory,
+reads the contents and returns them as a Java @code{String} array.
+@item @code{renameTo(String,String)} -- Renames the first file to the seco=
nd.
+@item @code{length(String)} -- Returns a @code{long} value representing
+the file size.
+@item @code{exists(String)} -- Tests for the existence of the named file
+or directory.
+@item @code{delete(String)} -- Deletes the file or directory.
+@item @code{setLastModified(String,long)} -- Change the last modified time.
+@item @code{mkdir(String)} -- Creates the named directory.
+@item @code{isFile(String)} -- Tests that the named path references a file.
+@item @code{canWrite(String)} -- Tests that the file can be written to.
+This method is @code{synchronized}, so the object is locked during the che=
ck.
+@item @code{canRead(String)} -- Complement of the last method.
+@item @code{isDirectory(String)} -- Tests that the named path references
+a directory.
+@end itemize
+@item Java Helper Methods
+@itemize @bullet
+@item @code{canWriteDirectory(File)} -- Checks that the directory can be
+written to, by trying to create a temporary file in it.
+@item @code{listRoots()} -- Returns the root of a GNU filesystem i.e. `/'
+in an array.
+@item @code{isHidden(String)} -- Checks whether the file starts with `.',
+which is how files are hidden on UNIX-style systems.
+@item @code{getName(String)} -- Pulls the actual filename from the end of
+the path, by breaking off the characters after the last occurrence of the
+platform's file separator.
+@item @code{getCanonicalForm(String)} -- This converts a UNIX path to
+its canonical form by removing the `.' and `..' sections that occur within.
 @end itemize
+@end itemize
+
+@node java.io.VMObjectInputStream,java.io.VMObjectStreamClass,java.io.VMFi=
le,java.io
+@subsection @code{java.io.VMObjectInputStream}
+
+This class consists of two methods which provide functionality used in
+deserializing an object.  @code{currentClassLoader()} provides the first
+user-defined class loader from the class context
+(@xref{gnu.classpath.VMStackWalker},) via a @code{PrivilegedAction}.
+@code{allocateObject(Class,Class,Constructor)} is a @code{native} method
+(a reference implementation is provided) which creates an object but
+calls the constructor of another class, which is a superclass of the
+object's class.
+
+@node java.io.VMObjectStreamClass,,java.io.VMObjectInputStream,java.io
+@subsection @code{java.io.VMObjectStreamClass}
+
+@code{VMObjectStreamClass} is a series of @code{static} @code{native}
+methods that provide some of the groundwork for @code{ObjectStreamClass}
+and @code{ObjectStreamField}.  @code{hasClassInitializer(Class)} works
+with the former, and checks for the presence of a static initializer.
+The remaining methods are of the form @code{setXXXNative(Field,Object,XXX)}
+and support @code{ObjectStreamField}.  One exists for each of the main typ=
es
+(boolean, float, double, long, int, short, char, byte and object) and is u=
sed
+to set the specified field in the supplied instance to the given value.
+
+A default implementation is provided for all of them, so a VM implementati=
on
+is optional.
+
+@node java.security, java.net, java.io, Classpath Hooks
+@section java.security
+
+The @code{java.security} package provides support for Java's security
+architecture.  At present, @code{VMAccessController} represents the sole
+VM hook for this.
=20
-You also need to implement some helper classes in java.lang that classes
-from Classpath call out to to get certain VM-specific dirty work done:
+@menu
+* java.security.VMAccessController::
+@end menu
+
+@node java.security.VMAccessController,,java.security,java.security
+@subsection @code{java.security.VMAccessController}
+
+The @code{AccessController} is used to perform privileged actions.  Its
+hook class, @code{VMAccessController}, maintains the
+@code{AccessControlContext} and the default implementation is purely
+Java-based.  The VM may choose to replace this with their own.
+The methods in the reference version are as follows:
=20
 @itemize @bullet
-@item @code{java.lang.VMObject}
-is the bridge between the low level @code{Object} facilities such
-as making a clone, getting the class of the object and the wait/notify
-semantics.
-@item @code{java.lang.VMClassLoader}
-provides methods for defining and resolving core and primitive classes.
-@item @code{java.lang.VMSystem}
-is used to initialize the @code{System} properties, the @code{System.array=
copy}
-method and the @code{identityHashCode} of an @code{Object}.
-@item @code{java.lang.VMSecurityManager}
-provides the class context (stack trace) of the currently
-executing thread and a way to get the currently active @code{ClassLoader}.
-@item @code{java.lang.VMThrowable}
-used to hold the VM state of a throwable, created when a @code{Throwable} =
is
-created or the @code{fillInStacktrace()} method is called, when the actual=
 stack
-trace is needed (a lot of exceptions are never actually used), the
-@code{getStackTrace()} method is used to create a real @code{StackTraceEle=
ment} array
-for the exception.
+@item @code{pushContext(AccessControlContext)} -- Adds a new context to the
+stack for the current thread.  This is called before a privileged action
+takes place.
+@item @code{popContext()} -- Removes the top context from the stack.  This
+is performed after the privileged action takes place.
+@item @code{getContext()} -- Either derives a context based on the=20
+@code{ProtectionDomain}s of the call stack (see the next method) or returns
+the top of the context stack.
+@item @code{getStack()} -- Provides access to the call stack as a pair of
+arrays of classes and method names.  The actual implementation returns
+an empty array, indicating that there are no permissions.
 @end itemize
=20
+@node java.net, java.nio, java.security, Classpath Hooks
+@section java.net
+
+The @code{java.net} package is heavily reliant on access to the networking
+facilities of the underlying platform.  The VM hooks provide information
+about the available network interfaces, and access to lookup facilities
+for network addresses.
+
+@menu
+* java.net.VMInetAddress::
+* java.net.VMNetworkInterface::
+@end menu
+
+@node java.net.VMInetAddress,java.net.VMNetworkInterface,java.net,java.net
+@subsection @code{java.net.VMInetAddress}
+
+@code{VMInetAddress} is a series of @code{static} @code{native} methods
+which provide access to the platform's lookup facilities.  All the methods
+are implemented by GNU Classpath, making VM implementation optional, and
+are as follows:
+
+@itemize @bullet
+@item @code{getLocalHostname()} -- Wraps the @code{gethostname} function, =
and
+falls back on `localhost'.
+@item @code{lookupInaddrAny()} -- Returns the value of @code{INADDR_ANY}.
+@item @code{getHostByAddr(byte[])} -- Looks up the hostname based on an IP
+address.
+@item @code{getHostByName(String)} -- The reverse of the last method, it
+returns the IP addresses which the given host name resolves to.
+@end itemize
+
+@node java.net.VMNetworkInterface,,java.net.VMInetAddress,java.net
+@subsection @code{java.net.VMNetworkInterface}
+
+@code{VMNetworkInterface} currently consists of a single @code{static}
+@code{native} method, @code{getInterfaces()}, which retrieves the
+network interfaces available on the underlying platform as a @code{Vector}.
+The current GNU Classpath implementation is a native stub.
+
+@node java.nio, java.nio.channels, java.net, Classpath Hooks
+@section java.nio
+
+The @code{java.nio} package is part of the New I/O framework added in
+Java 1.4.  This splits I/O into the concepts of @emph{buffers},
+@emph{charsets}, @emph{channels} and @emph{selectors}, and
+@code{java.nio} defines the buffer classes.  As far as native and VM
+code is concerned, the new package needs support for low-level efficient
+buffer operations.
+
+@menu
+* java.nio.VMDirectByteBuffer::
+@end menu
+
+@node java.nio.VMDirectByteBuffer,,java.nio,java.nio
+@subsection @code{java.nio.VMDirectByteBuffer}
+
+A @code{ByteBuffer} maintains a buffer of bytes, and allows it to be
+manipulated using primitive operations such as @code{get}, @code{put},
+@code{allocate} and @code{free}.  A direct buffer avoids intermediate
+copying, and uses native data which shouldn't be manipulated by a
+garbage collector.  The VM class consists of @code{static} @code{native}
+methods, all of which are given default implementations by GNU
+Classpath.
+
+@itemize @bullet
+@item @code{init()} -- Creates an instance of an appropriate
+@code{gnu.classpath.RawData} class.  This class is not garbage
+collected, is created natively and is used in the other methods to referen=
ce
+the buffered data.
+@item @code{allocate(int)} -- Allocates the memory for the buffer using
+@code{malloc} and returns a reference to the @code{RawData} class.
+@item @code{free(RawData)} -- Frees the memory used by the buffer.
+@item @code{get(RawData,int)}  -- Returns the data at the specified index.
+@item @code{get(RawData,int,byte[],int,int)} -- Copies a section of the
+data into a byte array using @code{memcpy}.
+@item @code{put(RawData,int,byte)} -- Puts the given data in the buffer
+at the specified index.
+@item @code{adjustAddress(RawData,int)} -- Adjusts the pointer into the bu=
ffer.
+@item @code{shiftDown(RawData,int,int,int)} -- Moves the content of the bu=
ffer
+at an offset down to a new offset using @code{memmove}.
+@end itemize
+=20
+@node java.nio.channels, gnu.java.nio, java.nio, Classpath Hooks
+@section java.nio.channels
+
+Channels provide the data for the buffers with the New I/O packages.
+For example, a channel may wrap a file or a socket.  The VM hooks,
+at the moment, simply allow the channels to be accessed by @code{java.io}
+streams.
+
+@menu
+* java.nio.channels.VMChannels::
+@end menu
+
+@node java.nio.channels.VMChannels,,java.nio.channels,java.nio.channels
+@subsection @code{java.nio.channels.VMChannels}
+
+@code{VMChannels} provides the methods that create the channels or
+streams.  The default implementation is in pure Java and simply wraps
+the channels in standard I/O classes from @code{java.io}.
+
+@itemize @bullet
+@item @code{createStream(Class,Channel)} -- Creates a @code{FileChannel}
+which wraps an instance of the specified stream class, created by reflecti=
on.
+This method is private, and is used by the other two.
+@item @code{newInputStream(ReadableByteChannel)} -- Wraps the channel
+in a @code{FileInputStream}.
+@item @code{newOutputStream(WritableByteChannel)} -- Wraps the channel
+in a @code{FileOutputStream}.
+@end itemize
+
+@node gnu.java.nio, Classpath Callbacks, java.nio.channels, Classpath Hooks
+@section gnu.java.nio
+
+The @code{gnu.java.nio} class provides Classpath implementations of the
+interfaces provided by @code{java.nio}.  The VM classes provide the native
+support necessary to implement @emph{pipes} and @emph{selectors}.
+
+@menu
+* gnu.java.nio.VMPipe::
+* gnu.java.nio.VMSelector::
+@end menu
+
+@node gnu.java.nio.VMPipe,gnu.java.nio.VMSelector,gnu.java.nio,gnu.java.nio
+@subsection @code{gnu.java.nio.VMPipe}
+
+@code{VMPipe} provides the native functionality for a uni-directional pipe
+between a source and a destination (sink) channel.  It consists of one=20
+@code{static} @code{native} method, @code{init(PipeImpl,SelectorProvider)},
+the reference implementation of which is currently a native stub.  Ideally,
+this should initialise the pipe at the native level.
+
+@node gnu.java.nio.VMSelector,,gnu.java.nio.VMPipe,gnu.java.nio
+@subsection @code{gnu.java.nio.VMSelector}
+
+A @code{Selector} selects between multiple @code{SelectableChannel}s based
+on their readiness and a key set.  The VM hook for the Classpath implement=
ation
+of this is @code{VMSelector}, and this allows the actual @code{select()}
+operation to be performed.  This is represented by the @code{static}
+@code{native} method, @code{select(int[],int[],int[],long)}, and a default
+implementation of this is provided.
+
+@node Classpath Callbacks, , gnu.java.nio, Classpath Hooks
 Some of the classes you implement for the VM will need to call back to
 package-private methods in Classpath:
=20
@@ -221,10 +1060,8 @@ the group.
=20
 @item @code{java.lang.ThreadGroup.removeThread(Thread)}
 Call this method from @code{Thread} when a @code{Thread} is stopped or des=
troyed.
-
 @end itemize
=20
-
 @node VM Hooks, JNI Implementation, Classpath Hooks, Top
 @comment node-name, next, previous, up
 @chapter VM Hooks
@@ -234,22 +1071,51 @@ unfortunately are dependent on the inter
 classes.  This is a guide to all of the things the VM itself needs to
 know about classes.
=20
+Some of the core classes, while being implemented by GNU Classpath,
+provide space for state (in the form of a @code{vmdata} object) to be
+stored by the VM, and can not be constructed normally.
+
+@itemize @bullet
+@item java.lang.Class
+@item java.lang.ClassLoader
+@end itemize
+
+The default implementations of some VM classes also follow this methodolog=
y,
+when it is intended that most VMs will keep the default.
+
+@itemize @bullet
+@item java.lang.VMThread
+@item java.lang.VMThrowable
+@end itemize
+
+Several core classes must be completely implemented by the VM for Classpat=
h to
+work, although reference implementations are provided.  These classes are:
+
+@itemize @bullet
+@item java.lang.reflect.Constructor
+@item java.lang.reflect.Method
+@item java.lang.reflect.Field
+@end itemize
+
+The following issues are of note;
+
 @itemize @bullet
 @item @code{java.lang.Class} @*
-You, the VM, get to create this @code{Class}, so you may define the intern=
al
-structure any way you wish.  You probably have code somewhere to
-translate your internal class structure into a @code{Class} object.  That =
is
-the only known place where this matters.  Some VMs do not create the
-@code{Class} object at the point where the class is defined; instead, they=
 wait
-until a @code{Class} object is actually used.
+The GNU Classpath implementation of @code{java.lang.Class} provides an
+object for storing the internal state of the class maintained by the VM.
+This is the only known place where this matters.  The class is
+constructed with this data by the VM.  Some VMs do not create the
+@code{Class} object at the point where the class is defined; instead,
+they wait until a @code{Class} object is actually used.
=20
 @item Array Classes @*
-When you are creating an array class, you should set the @code{ClassLoader=
} of
-the array class to the @code{ClassLoader} of its component type.  Whenever=
 you
-add a class to a @code{ClassLoader}, you need to notify the @code{ClassLoa=
der} and
-add the new @code{Class} to its internal cache of classes.  To do this, ca=
ll
-@code{ClassLoader.addVMCreatedClass(Class)}.  @emph{Note: this is written =
in
-anticipation of 1.2 support and does not apply just yet.}
+When you are creating an array class, you should set the
+@code{ClassLoader} of the array class to the @code{ClassLoader} of its
+component type.  Whenever you add a class to a @code{ClassLoader}, you
+need to notify the @code{ClassLoader} and add the new @code{Class} to
+its internal cache of classes.  To do this, call
+@code{ClassLoader.addVMCreatedClass(Class)}.  @emph{Note: this is
+written in anticipation of 1.2 support and does not apply just yet.}
=20
 @item Primordial Class Loader @*
 When the primordial class loader loads a class, it needs to tell
@@ -422,3 +1288,4 @@ to the value of the @code{LD_LIBRARY_PAT
 @bye
=20
=20
+

--ew6BAiZeqk4r7MaW--

--zx4FCpZtqtKETZ7O
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCw/UD+WQ2ITV9UU0RAt2eAJ49JF8BRzEHvy9/6oi7tKyiiIAj+gCeP4nb
Y1SPm6w7c7qcI/CpUgn9GEM=
=JAsU
-----END PGP SIGNATURE-----

--zx4FCpZtqtKETZ7O--



