From MAILER-DAEMON Mon Mar 01 02:46:31 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Axi8E-000800-WF
	for mharc-classpath@gnu.org; Mon, 01 Mar 2004 02:46:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Axi8B-0007zU-Nz
	for classpath@gnu.org; Mon, 01 Mar 2004 02:46:27 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Axi7b-0007kC-JC
	for classpath@gnu.org; Mon, 01 Mar 2004 02:46:22 -0500
Received: from [134.58.240.46] (helo=spoetnik.kulnet.kuleuven.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1Axi7b-0007jv-4Z
	for classpath@gnu.org; Mon, 01 Mar 2004 02:45:51 -0500
Received: from localhost (localhost [127.0.0.1])
	by spoetnik.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 2DE7834952
	for <classpath@gnu.org>; Mon,  1 Mar 2004 08:45:47 +0100 (CET)
Received: from antonius.kulnet.kuleuven.ac.be (antonius.kulnet.kuleuven.ac.be
	[134.58.240.73])
	by spoetnik.kulnet.kuleuven.ac.be (Postfix) with ESMTP id B10BB34948
	for <classpath@gnu.org>; Mon,  1 Mar 2004 08:45:46 +0100 (CET)
Received: from catamaran (10-4-112-233.kotnet.org [10.4.112.233])
	by antonius.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 4C7D34C2C5
	for <classpath@gnu.org>; Mon,  1 Mar 2004 08:45:46 +0100 (CET)
From: "Johan Peeters" <yo@johanpeeters.com>
To: classpath@gnu.org
Date: Mon, 01 Mar 2004 08:45:41 +0100
MIME-Version: 1.0
Message-ID: <4042F835.30566.31CE643F@localhost>
Priority: normal
X-mailer: Pegasus Mail for Windows (v4.12a)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
X-Virus-Scanned: by KULeuven Antivirus Cluster
Subject: security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2004 07:46:28 -0000

at FOSDEM, we discussed how I might help to improve free Java's 
security. It seems to me that, for the edifice to be secure, the 
native layer's security is absolutely essential. I scanned the native 
directory with RATS (Rough Auditing Tool for Security - 
http://securesoftware.com) and found a few potential vulnerabilities, 
e.g. regarding the use of strcpy, fprintf, getenv and sprintf. Is 
this worth investigating further, or has it been covered?

kr,

Yo
-- 
Johan Peeters bvba
software architecture services
tel:+32 16 64900
http://www.johanpeeters.com



From MAILER-DAEMON Mon Mar 01 03:03:19 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AxiOU-0007Gt-PK
	for mharc-classpath@gnu.org; Mon, 01 Mar 2004 03:03:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AxiLB-0005WL-TE
	for classpath@gnu.org; Mon, 01 Mar 2004 02:59:53 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AxiKe-00058m-3j
	for classpath@gnu.org; Mon, 01 Mar 2004 02:59:52 -0500
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AxiKd-00058X-H6
	for classpath@gnu.org; Mon, 01 Mar 2004 02:59:19 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-95-047.ewetel.net
	[80.228.95.47])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id i217xEVA007092;
	Mon, 1 Mar 2004 08:59:15 +0100 (MET)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1AxiKX-0000rf-00; Mon, 01 Mar 2004 08:59:13 +0100
From: Michael Koch <konqueror@gmx.de>
To: "Johan Peeters" <yo@johanpeeters.com>, classpath@gnu.org
Date: Mon, 1 Mar 2004 08:59:12 +0100
User-Agent: KMail/1.5.4
References: <4042F835.30566.31CE643F@localhost>
In-Reply-To: <4042F835.30566.31CE643F@localhost>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200403010859.12474.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail2.ewetel.de id
	i217xEVA007092
Cc: 
Subject: Re: security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2004 07:59:55 -0000

Am Montag, 1. M=E4rz 2004 08:45 schrieb Johan Peeters:
> at FOSDEM, we discussed how I might help to improve free Java's
> security. It seems to me that, for the edifice to be secure, the
> native layer's security is absolutely essential. I scanned the native
> directory with RATS (Rough Auditing Tool for Security -
> http://securesoftware.com) and found a few potential vulnerabilities,
> e.g. regarding the use of strcpy, fprintf, getenv and sprintf. Is
> this worth investigating further, or has it been covered?

No. this hasnt been covered yet in the past but its needed to get more=20
secure and find coding bugs. Please let us discuss your results of=20
running this tool. I will try to run the RATS software on libgcj too to=20
see how both compare in this (and libgcj is more important for my=20
plugin anyway ;-).


Michael




From MAILER-DAEMON Mon Mar 01 03:58:34 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AxjEu-0001uM-TG
	for mharc-classpath@gnu.org; Mon, 01 Mar 2004 03:57:28 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Axiz6-0003of-S8
	for classpath@gnu.org; Mon, 01 Mar 2004 03:41:08 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Axix4-0002ml-Uz
	for classpath@gnu.org; Mon, 01 Mar 2004 03:39:34 -0500
Received: from [212.227.126.183] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1Axix4-0002jC-DV
	for classpath@gnu.org; Mon, 01 Mar 2004 03:39:02 -0500
Received: from [212.227.126.209] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1Axiwq-00044h-00
	for classpath@gnu.org; Mon, 01 Mar 2004 09:38:48 +0100
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 1Axiwp-0002AX-00
	for classpath@gnu.org; Mon, 01 Mar 2004 09:38:47 +0100
Message-ID: <4042F696.3090109@aicas.com>
Date: Mon, 01 Mar 2004 09:38:46 +0100
From: =?ISO-8859-1?Q?Ingo_Pr=F6tel?= <proetel@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
References: <BAY10-F37ymPHpzwLua00002264@hotmail.com>
In-Reply-To: <BAY10-F37ymPHpzwLua00002264@hotmail.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	auth:ebd3e0372cc3ac236a2e2611be1a8528
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2004 08:41:23 -0000

Hi,

we also have a preallocated OutOfMemoryException with I think speace for about 20 stack frames in our internal representation. To throw this exception 
from the native code (where memory allocation ocurres) we use a function call that fills in the stack trace. Further we have the 
printStackTrace-Method overwritten to print the internal representation without further memory allocation.
The resulting stack trace looks somewhat different than a regular stack trace, but it helps in many cases.

ingo

Robert Lougher wrote:
> Well, if it's of any interest, JamVM takes advantage of this.  When 
> VMThrowable.fillInStackTrace() is called I store the backtrace in a 
> compact, internal format.  Then, if and when getStackTrace() is called I 
> convert this into StackTraceElements.  Remember, unless you do something 
> like printStackTrace in your catch block the StackTraceElements will 
> never be needed.  Creating them up front will greatly increase the cost 
> of throwing/catching exceptions as Andrew stated.
> 
> As to your point about out of memory.  Surely you _want_ the stacktrace 
> if it all possible?  You may not be able to satisfy an allocation 
> request but still be able to construct an OutOfMemoryException.  If you 
> use the scheme above, constructing the backtrace shouldn't use much 
> memory.  If the stacktrace is printed, _lots_ of memory will be required 
> but by this stage it's been caught, (or more likely printed as an 
> uncaught exception) so lots of frames have been popped, enabling lots of 
> memory to be collected.
> 
> If we can't construct an OutOfMemoryException, as a last resort, JamVM 
> throws an "empty" OutOfMemoryException pre-allocated at VM startup.
> 
> Hope this helps,
> 
> Rob.
> 
> P.S.  What is your system?
> 
> ----Original Message Follows----
> From: "David Holmes" <dholmes@dltech.com.au>
> To: "Andrew Haley" <aph@redhat.com>
> CC: classpath <classpath@gnu.org>
> Subject: RE: Query on stacktrace management logic
> Date: Sat, 28 Feb 2004 10:59:01 +1000
> 
> Andrew Haley wrote:
>  > Well consider what happens in a VM.  VMThrowable.fillInStackTrace() is
>  > very fast -- it's just a chain of addresses.
>  > VMThrowable.getStackTrace() is very slow, because it has to convert
>  > all those addresses into StackTraceElements.  I suspect that you can
>  > get the trace for the whole stack in less time than it takes to create
>  > a single StackTraceElement.  For this reason, the vmState is stored
>  > and lazily converted to a StackTraceElement[].
> 
> Thanks - I see now. Unfortunately in our system (at present) this is not 
> the
> case. But now I have an idea of how to change that.
> 
> I still need a hook to not get the stacktrace filled in for
> OutOfMemoryError - though perhaps I can do something without requiring
> allocation using a different approach.
> 
> Thanks again.
> 
> David Holmes
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
> 
> _________________________________________________________________
> Express yourself with cool new emoticons 
> http://www.msn.co.uk/specials/myemo
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
> 



From MAILER-DAEMON Mon Mar 01 05:24:33 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AxkMG-00055y-TU
	for mharc-classpath@gnu.org; Mon, 01 Mar 2004 05:09:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AxkCW-0003k7-MW
	for classpath@gnu.org; Mon, 01 Mar 2004 04:59:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AxkBn-0003fB-Ve
	for classpath@gnu.org; Mon, 01 Mar 2004 04:58:51 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AxkBn-0003ez-GI
	for classpath@gnu.org; Mon, 01 Mar 2004 04:58:19 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 7227E6233A; Mon,  1 Mar 2004 09:58:15 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 33843-04; Mon,  1 Mar 2004 09:58:14 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-83-236.adsl.solnet.ch
	[212.41.83.236]) by mail01.solnet.ch (Postfix) with ESMTP
	id 6F5DF62314; Mon,  1 Mar 2004 09:58:09 +0000 (GMT)
Received: from nbprr (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id 4E9BD3EAE9; Mon,  1 Mar 2004 10:57:08 +0100 (CET)
Date: Mon, 01 Mar 2004 10:59:05 +0100
From: Patrik Reali <reali@acm.org>
To: Johan Peeters <yo@johanpeeters.com>, classpath@gnu.org
Message-ID: <6147699.1078138745@[192.168.1.3]>
In-Reply-To: <4042F835.30566.31CE643F@localhost>
References: <4042F835.30566.31CE643F@localhost>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Virus-Scanned: by SolNet
Cc: 
Subject: Re: security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2004 09:59:06 -0000

Hi Johan,

thanks a lot for this report. It is obviously important to get those things =

right. Not every JVM uses those C routines (some like JNode and Jaos don't=20
even have C available), but since the code is released, it should also be=20
secure.

-Patrik

--------------------------------
Patrik Reali
http://www.reali.ch/~patrik/


--On Montag, 1. M=E4rz 2004 08:45 +0100 Johan Peeters <yo@johanpeeters.com> =

wrote:

> at FOSDEM, we discussed how I might help to improve free Java's
> security. It seems to me that, for the edifice to be secure, the
> native layer's security is absolutely essential. I scanned the native
> directory with RATS (Rough Auditing Tool for Security -
> http://securesoftware.com) and found a few potential vulnerabilities,
> e.g. regarding the use of strcpy, fprintf, getenv and sprintf. Is
> this worth investigating further, or has it been covered?
>
> kr,
>
> Yo
> --
> Johan Peeters bvba
> software architecture services
> tel:+32 16 64900
> http://www.johanpeeters.com
>
>
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
>





From MAILER-DAEMON Mon Mar 01 05:58:59 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Axkyj-0004Kx-TD
	for mharc-classpath@gnu.org; Mon, 01 Mar 2004 05:48:53 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Axkwy-00040Z-Hd
	for classpath@gnu.org; Mon, 01 Mar 2004 05:47:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AxkwQ-0003tG-Fq
	for classpath@gnu.org; Mon, 01 Mar 2004 05:47:01 -0500
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1AxkVI-0006Pw-L8
	for classpath@gnu.org; Mon, 01 Mar 2004 05:18:28 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by mx20.gnu.org with esmtp (Exim 4.30) id 1AxkOh-0003FH-Jj
	for classpath@gnu.org; Mon, 01 Mar 2004 05:11:39 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i21ADqGf020168;
	Mon, 1 Mar 2004 11:13:53 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403011013.i21ADqGf020168@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris.gray@kiffer.be>
To: Ingo =?iso-8859-1?q?Pr=F6tel?= <proetel@aicas.com>, classpath@gnu.org
Date: Mon, 1 Mar 2004 11:13:52 +0100
X-Mailer: KMail [version 1.3]
References: <BAY10-F37ymPHpzwLua00002264@hotmail.com>
	<4042F696.3090109@aicas.com>
In-Reply-To: <4042F696.3090109@aicas.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: 
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2004 10:47:05 -0000

Hi all,

I found one gotcha with using a pre-allocated OutOfMemoryError : if several 
threads throw OOME at the same time, the stack traces can get mixed up.  So 
thread A creates a structure, thread B overwrites A's pointer, and then 
whatever happens next will be bad news.

This situation is less improbable than you might think, since if one thread 
encounters an OOM situation, all other threads should encounter one too.  
With some forms of co-operative multi-threading you may get away with it, but 
in the general pre-emptive case you could be living dangerously.

-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Mon Mar 01 07:10:20 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Axlst-0005tN-8p
	for mharc-classpath@gnu.org; Mon, 01 Mar 2004 06:46:55 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AxlTx-00012J-OI
	for classpath@gnu.org; Mon, 01 Mar 2004 06:21:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AxlTO-0000uG-Ew
	for classpath@gnu.org; Mon, 01 Mar 2004 06:21:06 -0500
Received: from [62.253.162.48] (helo=mta08-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AxlGQ-0007F9-PX
	for classpath@gnu.org; Mon, 01 Mar 2004 06:07:10 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta08-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040301110702.WFYE21785.mta08-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Mon, 1 Mar 2004 11:07:02 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i21B69CL024510; Mon, 1 Mar 2004 11:06:19 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i21B5jtg024506;
	Mon, 1 Mar 2004 11:05:45 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16451.6409.76771.874742@cuddles.cambridge.redhat.com>
Date: Mon, 1 Mar 2004 11:05:45 +0000
To: "Johan Peeters" <yo@johanpeeters.com>
In-Reply-To: <4042F835.30566.31CE643F@localhost>
References: <4042F835.30566.31CE643F@localhost>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath@gnu.org
Subject: security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2004 11:21:12 -0000

Johan Peeters writes:
 > at FOSDEM, we discussed how I might help to improve free Java's 
 > security. It seems to me that, for the edifice to be secure, the 
 > native layer's security is absolutely essential. I scanned the native 
 > directory with RATS (Rough Auditing Tool for Security - 
 > http://securesoftware.com) and found a few potential vulnerabilities, 
 > e.g. regarding the use of strcpy, fprintf, getenv and sprintf. Is 
 > this worth investigating further, or has it been covered?

I would have thought this very much worth investigating.  However,
Classpath is used with a number of native layers, all very different.

Andrew.



From MAILER-DAEMON Mon Mar 01 21:50:50 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Axzzd-00064v-Kp
	for mharc-classpath@gnu.org; Mon, 01 Mar 2004 21:50:49 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AxuIy-0007MQ-Sg
	for classpath@gnu.org; Mon, 01 Mar 2004 15:46:24 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AxuIL-00070n-Tz
	for classpath@gnu.org; Mon, 01 Mar 2004 15:46:18 -0500
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AxuIL-0006zc-4N
	for classpath@gnu.org; Mon, 01 Mar 2004 15:45:45 -0500
Received: from fleche.redhat.com (tf0206.peakpeak.com [204.144.239.206])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id NAA18036;
	Mon, 1 Mar 2004 13:45:33 -0700
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id BA6174F82B0; Mon,  1 Mar 2004 13:34:19 -0700 (MST)
To: "Grzegorz B. Prokopski" <gadek@debian.org>
References: <1078027891.1097.157.camel@gadek.homelinux.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: ..  my NOSE is NUMB!
Date: 01 Mar 2004 13:34:19 -0700
In-Reply-To: <1078027891.1097.157.camel@gadek.homelinux.org>
Message-ID: <87oergi9x0.fsf@fleche.redhat.com>
Lines: 21
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: SableVM-devel ML <sablevm-developer@lists.sourceforge.net>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Fixing 'make distcheck' w/ newer tar - autotools usage problem?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2004 20:47:03 -0000

>>>>> "Grzegorz" == Grzegorz B Prokopski <gadek@debian.org> writes:

Grzegorz> Thanks to help from Bdale the problem seems to boil down to
Grzegorz> using "o" option in 'tar chof' which turns on old, v7 mode,
Grzegorz> which doesn't allow for paths longer than 100 chars. Old tar
Grzegorz> worked because it forced usage of POSIX tar settings even
Grzegorz> when asked otherwise (it was a bug).

Could you submit an automake bug report?

As I recall, way back around when automake first started, we added -o
here because GNU tar would make archives which couldn't be read by any
other form of "tar".  Perhaps now we need `tar --posix' or something
along those lines, perhaps depending on configury.

Grzegorz> Is there some way to persuade
Grzegorz> automake not to enforce old compatibility mode when using tar?

Nope.

Tom



From MAILER-DAEMON Mon Mar 01 22:52:53 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Ay0us-0006Uu-Nc
	for mharc-classpath@gnu.org; Mon, 01 Mar 2004 22:49:58 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Axw4r-0006SH-2g
	for classpath@gnu.org; Mon, 01 Mar 2004 17:39:57 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Axw4I-0006Ed-7w
	for classpath@gnu.org; Mon, 01 Mar 2004 17:39:53 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1Axw4H-0006Bv-9w
	for classpath@gnu.org; Mon, 01 Mar 2004 17:39:21 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i21MbnTD071195
	for <classpath@gnu.org>; Tue, 2 Mar 2004 09:37:49 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Tue, 2 Mar 2004 08:38:13 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCAECCDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <200403011013.i21ADqGf020168@pigsty.cats.cradle>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2004 22:39:58 -0000

Chris Gray wrote:
> I found one gotcha with using a pre-allocated OutOfMemoryError :
> if several threads throw OOME at the same time, the stack traces
> can get mixed up.

This is one of our issues too. With no stacktrace you can share an OOME
instance with no problem and require no runtime allocation. With a
stacktrace you need at least a per-thread OOME and pre-allocated stacktrace
space. As it stands our OOME does have a stacktrace but its created at
system startup when running out of memory is not an issue - but of course
the stacktrace is meaningless for any actual circumstance where the OOME is
thrown.

We encounter OOME much more often than others might because we are dealing
with RTSJ scoped memory areas - which introduces some added twists to
things. :)

David Holmes




From MAILER-DAEMON Mon Mar 01 23:11:57 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Ay1G8-0001PG-6m
	for mharc-classpath@gnu.org; Mon, 01 Mar 2004 23:11:56 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Axwmm-0002Xz-Nn
	for classpath@gnu.org; Mon, 01 Mar 2004 18:25:20 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AxwmA-0002Nc-GX
	for classpath@gnu.org; Mon, 01 Mar 2004 18:25:13 -0500
Received: from [32.97.182.106] (helo=e6.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1Axwm9-0002NJ-Su
	for classpath@gnu.org; Mon, 01 Mar 2004 18:24:41 -0500
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com
	[9.56.224.206])
	by e6.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id i21NOb4i248018
	for <classpath@gnu.org>; Mon, 1 Mar 2004 18:24:37 -0500
Received: from d01ml604.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id
	i21NOkqG095396
	for <classpath@gnu.org>; Mon, 1 Mar 2004 18:24:46 -0500
To: classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
Message-ID: <OF59B2F7CC.27D54E04-ON85256E4A.007E64FE-85256E4A.007F36D3@us.ibm.com>
Date: Mon, 1 Mar 2004 18:09:30 -0500
X-MIMETrack: Serialize by Router on D01ML604/01/M/IBM(Release 6.51HF17 |
	February 6, 2004) at 03/01/2004 18:24:36,
	Serialize complete at 03/01/2004 18:24:36
Content-Type: multipart/alternative;
	boundary="=_alternative 007EDB0A85256E4A_="
Subject: plans for classpath 0.08?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2004 23:25:22 -0000

This is a multipart message in MIME format.
--=_alternative 007EDB0A85256E4A_=
Content-Type: text/plain; charset="US-ASCII"

Hi,

        We're planning on releasing the next version of Jikes RVM in the 
next 1-2 weeks.  If classpath 0.08 was going to come out soon, we would 
probably stall  the Jikes RVM release a few days to wait for it.  If not, 
we'll catch classpath 0.08 on the Jikes RVM release after this one.  No 
big deal either way, I just wanted to check to see what the timing was 
likely to be like so we can plan accordingly.

thanks,

--dave
--=_alternative 007EDB0A85256E4A_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; We're
planning on releasing the next version of Jikes RVM in the next 1-2 weeks.
&nbsp;If classpath 0.08 was going to come out soon, we would probably stall
&nbsp;the Jikes RVM release a few days to wait for it. &nbsp;If not, we'll
catch classpath 0.08 on the Jikes RVM release after this one. &nbsp;No
big deal either way, I just wanted to check to see what the timing was
likely to be like so we can plan accordingly.</font>
<br>
<br><font size=2 face="sans-serif">thanks,</font>
<br>
<br><font size=2 face="sans-serif">--dave</font>
--=_alternative 007EDB0A85256E4A_=--



From MAILER-DAEMON Tue Mar 02 03:16:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Ay54j-0005gz-Bi
	for mharc-classpath@gnu.org; Tue, 02 Mar 2004 03:16:25 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Ay2rk-0003AG-Dk
	for classpath@gnu.org; Tue, 02 Mar 2004 00:54:52 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Ay2pH-0002jx-Aj
	for classpath@gnu.org; Tue, 02 Mar 2004 00:52:50 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1Ay2nV-000276-Ms
	for classpath@gnu.org; Tue, 02 Mar 2004 00:50:29 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i225oBS155018; Tue, 2 Mar 2004 00:50:11 -0500
Received: from meriadoc.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004)
	with ESMTP id i225oAH61642; Tue, 2 Mar 2004 00:50:10 -0500
Received: from watson.ibm.com (sig-9-65-205-10.mts.ibm.com [9.65.205.10])
	by meriadoc.watson.ibm.com (8.11.6/8.11.6/2001/12/13) with ESMTP id
	i225o9l16546; Tue, 2 Mar 2004 00:50:10 -0500
Message-ID: <4044208C.3010908@watson.ibm.com>
Date: Tue, 02 Mar 2004 00:50:04 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: it, en-us, en
MIME-Version: 1.0
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCKEADDOAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCKEADDOAA.dholmes@dltech.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2004 05:55:01 -0000

David Holmes wrote:
> I still need a hook to not get the stacktrace filled in for
> OutOfMemoryError - though perhaps I can do something without requiring
> allocation using a different approach.

In Jikes RVM, we override a few of Classpath's implementations; we 
have our own Object.java and (relevant to your case) Throwable.java, 
for instance.  Hope this helps.

The biggest ugliness here is that the version the rest of Classpath 
sees is not the same one as will actually be loaded at run time.  One 
day this will probably bite us when Classpath adds some new (Java 1.5 
or 1.6?) method or field to a class we override before we do it 
ourselves, and some other Classpath class uses the new method or field.

--Steve Augart

-- 
Steven Augart

Jikes RVM, open source Research Virtual Machine:
http://oss.software.ibm.com/jikesrvm

Office: +1 914/784-6743
T.J. Watson Research Center, IBM



From MAILER-DAEMON Tue Mar 02 03:27:39 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Ay5Fb-00071Y-1X
	for mharc-classpath@gnu.org; Tue, 02 Mar 2004 03:27:39 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Ay31h-0005DD-MO
	for classpath@gnu.org; Tue, 02 Mar 2004 01:05:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Ay31A-00051U-Hz
	for classpath@gnu.org; Tue, 02 Mar 2004 01:05:07 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1Ay319-00050D-LY
	for classpath@gnu.org; Tue, 02 Mar 2004 01:04:35 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2261ocA093290;
	Tue, 2 Mar 2004 17:01:50 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Steven Augart" <augart@watson.ibm.com>
Date: Tue, 2 Mar 2004 16:02:13 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEDFDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <4044208C.3010908@watson.ibm.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2004 06:05:10 -0000

Steven Augart wrote:
> In Jikes RVM, we override a few of Classpath's implementations; we
> have our own Object.java and (relevant to your case) Throwable.java,
> for instance.  Hope this helps.
>
> The biggest ugliness here is that the version the rest of Classpath
> sees is not the same one as will actually be loaded at run time.  One
> day this will probably bite us when Classpath adds some new (Java 1.5
> or 1.6?) method or field to a class we override before we do it
> ourselves, and some other Classpath class uses the new method or field.

Right. We try to abide by the XXX vs. VMXXX split and not customise any
class that isn't specifically listed as being VM-specific. So far we've only
had to override System to change the initialization sequence, but the
further we get the more classes we want to be able to customise outside the
normal set. :( This isn't great from a maintenance perspective as I'd like
to be able to just 'cvs up' the latest classpath and having everything just
work. That said, our support of RTSJ will mandate a number of library
changes to make more of the core classes "async exception" safe in the face
of the potential memory access errors that the RTSJ scoped-memory and
no-heap threads introduce.

We do ensure that we compile all the classpath classes against our
customised versions though, to ensure compatability. And I should point out
that at present we only use a subset of Classpath.

Cheers,
David Holmes




From MAILER-DAEMON Tue Mar 02 04:15:15 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Ay591-0006FG-7x
	for mharc-classpath@gnu.org; Tue, 02 Mar 2004 03:20:51 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Ay2zu-0004eg-1w
	for classpath@gnu.org; Tue, 02 Mar 2004 01:03:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Ay2zN-0004VU-14
	for classpath@gnu.org; Tue, 02 Mar 2004 01:03:16 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1Ay2vF-0003tn-I1
	for classpath@gnu.org; Tue, 02 Mar 2004 00:58:29 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i225wGS121634; Tue, 2 Mar 2004 00:58:16 -0500
Received: from meriadoc.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004)
	with ESMTP id i225wFF38580; Tue, 2 Mar 2004 00:58:16 -0500
Received: from watson.ibm.com (sig-9-65-205-10.mts.ibm.com [9.65.205.10])
	by meriadoc.watson.ibm.com (8.11.6/8.11.6/2001/12/13) with ESMTP id
	i225wFl16556; Tue, 2 Mar 2004 00:58:15 -0500
Message-ID: <40442272.40508@watson.ibm.com>
Date: Tue, 02 Mar 2004 00:58:10 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: it, en-us, en
MIME-Version: 1.0
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCAECCDOAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCAECCDOAA.dholmes@dltech.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2004 06:03:24 -0000

David Holmes wrote:
> Chris Gray wrote:
> 
>>I found one gotcha with using a pre-allocated OutOfMemoryError :
>>if several threads throw OOME at the same time, the stack traces
>>can get mixed up.
> 
> 
> This is one of our issues too. 

Here's our approach:

         if (VM.debugOOM || Options.verbose >= 5)
           VM.sysWriteln("triggerCollection(): About to try \"new 
OutOfMemoryError()\"");
         MM_Interface.emergencyGrowHeap(512 * (1 << 10));  // 512K 
should be plenty to make an exn
         OutOfMemoryError oome = new OutOfMemoryError();
         MM_Interface.emergencyGrowHeap(- (512 * (1 << 10)));
         if (VM.debugOOM || Options.verbose >= 5)
           VM.sysWriteln("triggerCollection(): Allocated the new 
OutOfMemoryError().");
         throw oome;

Of course, we have the advantage of not targeting the embedded space.

--Steve Augart

-- 
Steven Augart

Jikes RVM, open source Research Virtual Machine:
http://oss.software.ibm.com/jikesrvm

Office: +1 914/784-6743
T.J. Watson Research Center, IBM



From MAILER-DAEMON Tue Mar 02 09:19:40 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AyAhr-0004fS-Bf
	for mharc-classpath@gnu.org; Tue, 02 Mar 2004 09:17:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Ay6O6-0006pU-EU
	for classpath@gnu.org; Tue, 02 Mar 2004 04:40:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Ay6NR-0006A5-DK
	for classpath@gnu.org; Tue, 02 Mar 2004 04:40:20 -0500
Received: from [212.6.122.96] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1Ay6NQ-00068l-TH
	for classpath@gnu.org; Tue, 02 Mar 2004 04:39:49 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-95-058.ewetel.net
	[80.228.95.58])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i229dgow018855;
	Tue, 2 Mar 2004 10:39:42 +0100 (MET)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1Ay6NK-0007va-00; Tue, 02 Mar 2004 10:39:42 +0100
From: Michael Koch <konqueror@gmx.de>
To: java@gcc.gnu.org
Date: Tue, 2 Mar 2004 10:39:45 +0100
User-Agent: KMail/1.5.4
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200403021039.45045.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Announcement: ew release of gcjwebplugin
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2004 09:40:36 -0000

Hi lists,


I have just releast a new version of gcjwebplugin, 0.1.2. This version 
includes some more build system fixes and the start of a java console.

It works with Mozilla 1.7a and GCC trunk CVS (3.4.0 branch works 
probably too but I havent prooved yet). The only missing things in 
libgcj are: Missing security audit and AWT/Swing implementation.

You can found a tarball at my site here:
http://www.konqueror.de/gcjwebplugin/gcjwebplugin-0.1.2.tar.gz


Have fun with it.

Michael




From MAILER-DAEMON Tue Mar 02 09:27:25 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AyAoL-0006JZ-QU
	for mharc-classpath@gnu.org; Tue, 02 Mar 2004 09:23:53 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Ay6b2-0006CY-Ns
	for classpath@gnu.org; Tue, 02 Mar 2004 04:53:52 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Ay6aV-000666-ND
	for classpath@gnu.org; Tue, 02 Mar 2004 04:53:51 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1Ay6Wz-0005C5-Nl
	for classpath@gnu.org; Tue, 02 Mar 2004 04:49:41 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i229qHGf021499;
	Tue, 2 Mar 2004 10:52:19 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403020952.i229qHGf021499@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: "David Holmes" <dholmes@dltech.com.au>, "classpath" <classpath@gnu.org>
Date: Tue, 2 Mar 2004 10:52:17 +0100
X-Mailer: KMail [version 1.3]
References: <NFBBKALFDCPFIDBNKAPCAECCDOAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCAECCDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: 
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2004 09:53:53 -0000

On Monday 01 March 2004 23:38, David Holmes wrote:
> Chris Gray wrote:
> > I found one gotcha with using a pre-allocated OutOfMemoryError :
> > if several threads throw OOME at the same time, the stack traces
> > can get mixed up.
>
> This is one of our issues too. With no stacktrace you can share an OOME
> instance with no problem and require no runtime allocation. With a
> stacktrace you need at least a per-thread OOME and pre-allocated stacktrace
> space. As it stands our OOME does have a stacktrace but its created at
> system startup when running out of memory is not an issue - but of course
> the stacktrace is meaningless for any actual circumstance where the OOME is
> thrown.
>
> We encounter OOME much more often than others might because we are dealing
> with RTSJ scoped memory areas - which introduces some added twists to
> things. :)

On the bright side, it does make it more likely that the OOM problem will be 
confined to one thread.

One OOME per thread, allocated at thread creation time, should be safe.  
Ensuring that one can always find memory "somewhere" to store a stack trace 
is left as an exercise for the reader (and the answer is likely to be 
VM-specific).

Chris
 

-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Tue Mar 02 16:05:18 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AyH4o-0006LF-A1
	for mharc-classpath@gnu.org; Tue, 02 Mar 2004 16:05:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyBmY-0007EO-Va
	for classpath@gnu.org; Tue, 02 Mar 2004 10:26:06 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyBm2-00077Y-7v
	for classpath@gnu.org; Tue, 02 Mar 2004 10:26:05 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AyBm1-00077N-PJ
	for classpath@gnu.org; Tue, 02 Mar 2004 10:25:33 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP id AA22662338
	for <classpath@gnu.org>; Tue,  2 Mar 2004 15:25:29 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 98630-09 for <classpath@gnu.org>;
	Tue,  2 Mar 2004 15:25:26 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-83-236.adsl.solnet.ch
	[212.41.83.236])
	by mail01.solnet.ch (Postfix) with ESMTP id D296962195
	for <classpath@gnu.org>; Tue,  2 Mar 2004 15:23:15 +0000 (GMT)
Received: from pcprr.elca.ch (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP id E34028B682
	for <classpath@gnu.org>; Tue,  2 Mar 2004 16:22:13 +0100 (CET)
Date: Tue, 02 Mar 2004 16:23:11 +0100
From: Patrik Reali <reali@acm.org>
To: classpath@gnu.org
Message-ID: <28526579.1078244591@[10.40.10.54]>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Virus-Scanned: by SolNet
Subject: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2004 15:26:08 -0000

Although I'm pretty sure that everybody already read the articles, here's 
the sequel of the free java story from slashdot:

26 Feb: IBM Offers to Help Sun Open Up Java: 
<http://slashdot.org/article.pl?sid=04/02/26/1532254&mode=thread>

27 Feb: Sun Agrees to Talk to IBM over Open Sourcing Java: 
<http://developers.slashdot.org/article.pl?sid=04/02/27/1610245&mode=thread>

Open letters seems to be quite trendy nowadays...

-Patrik

------------------------
Patrik Reali
http://www.reali.ch/~patrik/




From MAILER-DAEMON Tue Mar 02 16:51:43 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AyHnh-0001Yi-QZ
	for mharc-classpath@gnu.org; Tue, 02 Mar 2004 16:51:41 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyC54-00056A-JZ
	for classpath@gnu.org; Tue, 02 Mar 2004 10:45:14 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyC42-0004nd-QR
	for classpath@gnu.org; Tue, 02 Mar 2004 10:44:43 -0500
Received: from [209.225.28.222] (helo=mxsf22.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AyC2C-0004Jf-QZ
	for classpath@gnu.org; Tue, 02 Mar 2004 10:42:16 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf22.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id
	i22FU3bA006905; Tue, 2 Mar 2004 10:30:03 -0500 (EST)
	(envelope-from archie@dellroad.org)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id JAA45551;
	Tue, 2 Mar 2004 09:24:14 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i22FOC1o038182; 
	Tue, 2 Mar 2004 09:24:12 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i22FOCKi038181;
	Tue, 2 Mar 2004 09:24:12 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403021524.i22FOCKi038181@arch20m.dellroad.org>
In-Reply-To: <4044208C.3010908@watson.ibm.com>
To: Steven Augart <augart@watson.ibm.com>
Date: Tue, 2 Mar 2004 09:24:12 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2004 15:48:20 -0000

Steven Augart wrote:
> > I still need a hook to not get the stacktrace filled in for
> > OutOfMemoryError - though perhaps I can do something without requiring
> > allocation using a different approach.
> 
> In Jikes RVM, we override a few of Classpath's implementations; we 
> have our own Object.java and (relevant to your case) Throwable.java, 
> for instance.  Hope this helps.

In JC I've taken the approach of keeping the last little bit of heap
memory reserved for OOM exceptions. If an allocation fails, we set the
"out of memory" flag for that thread, then throw an OOM. Subsequent
allocations (while "out of memory" is set) are allowed to dip into the
reserved memory. Once the exception is fully constructed, we reset the
"out of memory" flag.

Finally, there is one global "stackless" exception created at VM startup
for each possible exception type that the VM itself throws. These are
used as a last resort (this idea is from SableVM), where "last resort"
means another exception of the same type is thrown while trying to
create the first exception (i.e., recursively thrown).

> The biggest ugliness here is that the version the rest of Classpath 
> sees is not the same one as will actually be loaded at run time.  One 
> day this will probably bite us when Classpath adds some new (Java 1.5 
> or 1.6?) method or field to a class we override before we do it 
> ourselves, and some other Classpath class uses the new method or field.

I've "overridden" a few of the non VMXXX classses and JC is installed
as an "overlay" on top of a stock classpath installation. This means that
the bootstrap classpath must always include "jc.zip" before "glibj.zip",
but on the positive side upgrading is easy.

FYI, when I started working with Classpath I tried to respect the
Foo-VMFoo split and not modify any Foo classes but eventually decided
that it was too costly. E.g., every loaded class already has a Class
object (I don't create them on-demand), but you double that number
if you also have a VMClass object for each class. Fortunately with
Classpath it's easy to go either way as things are pretty well
documented.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Wed Mar 03 00:31:39 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AyOyo-0005HX-S1
	for mharc-classpath@gnu.org; Wed, 03 Mar 2004 00:31:38 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyGUf-0007M1-8Z
	for classpath@gnu.org; Tue, 02 Mar 2004 15:27:57 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyGUc-0007L3-QK
	for classpath@gnu.org; Tue, 02 Mar 2004 15:27:55 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AyGUc-0007Jx-5L
	for classpath@gnu.org; Tue, 02 Mar 2004 15:27:54 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AyGUM-0001DM-00
	for <classpath@gnu.org>; Tue, 02 Mar 2004 21:27:38 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <OF59B2F7CC.27D54E04-ON85256E4A.007E64FE-85256E4A.007F36D3@us.ibm.com>
References: <OF59B2F7CC.27D54E04-ON85256E4A.007E64FE-85256E4A.007F36D3@us.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-jB3hjvyG8qoq3yjJPASo"
Message-Id: <1078259268.1351.45.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Tue, 02 Mar 2004 21:27:49 +0100
Subject: Re: plans for classpath 0.08?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2004 20:27:58 -0000


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

Hi,

On Tue, 2004-03-02 at 00:09, David P Grove wrote:
>         We're planning on releasing the next version of Jikes RVM in
> the next 1-2 weeks.  If classpath 0.08 was going to come out soon, we
> would probably stall  the Jikes RVM release a few days to wait for it.

We are a bit late with 0.08. FOSDEM took much time. But it was fun!
I prepare a release for Friday. Test it during the weekend. And release
on Monday. After that we should return to our three month schedule for
releases.

For 0.08 I have the following issues:
- The audit after the savannah compromise was never completely finished.
  (I do not expect to find anything, but would feel better if all code
   was gone over at most once. Will do this on Thursday and Friday.)
- make distcheck was broken because of newer tar versions.
  (Grzegorz found out what precisely went wrong so we can now fix this.)
- Paperwork for gnu.regexp was completed so I will import it this week.
  There are already some Mauve tests, more will follow. It works for the
  more simpler cases already (for example what the Eclipse 3.0M-builds
  need), but there is some work to be done to have a syntax-compatibly
  with java.util.regex. But that can wait till the next release.
- ServerSocket.accept() doesn't work when EINTR is returned by the
  system call. I think I know how to fix that. It prevents some network
  applications to work reliably at the moment.

Anything else?

If there are Classpath branches for particular VMs that have small fixes
then now is the time to get them into the main tree again!

Cheers,

Mark

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

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

iD8DBQBARO5DxVhZCJWr9QwRAtLGAJ97GI2XHhd7a6JTqYRKNyHX5mUmvACeNs2t
phhwmK+YpWkvcv9CzzN2WzE=
=H++V
-----END PGP SIGNATURE-----

--=-jB3hjvyG8qoq3yjJPASo--




From MAILER-DAEMON Wed Mar 03 23:21:49 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AykMm-00007S-TZ
	for mharc-classpath@gnu.org; Wed, 03 Mar 2004 23:21:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyOic-00084d-4Y
	for classpath@gnu.org; Wed, 03 Mar 2004 00:14:54 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyOi5-0007zx-QJ
	for classpath@gnu.org; Wed, 03 Mar 2004 00:14:52 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1AyOi5-0007xC-3x
	for classpath@gnu.org; Wed, 03 Mar 2004 00:14:21 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i235DbEd018488;
	Wed, 3 Mar 2004 16:13:38 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Archie Cobbs" <archie@dellroad.org>
Date: Wed, 3 Mar 2004 15:14:01 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCIEELDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <200403021524.i22FOCKi038181@arch20m.dellroad.org>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2004 05:14:54 -0000

Archie Cobbs wrote:
> FYI, when I started working with Classpath I tried to respect the
> Foo-VMFoo split and not modify any Foo classes but eventually decided
> that it was too costly. E.g., every loaded class already has a Class
> object (I don't create them on-demand), but you double that number
> if you also have a VMClass object for each class.

Ouch! I hadn't seen the VMClass split as we're still on 0.05. I have to
agree there is no way I will use this version of things. Class is pretty
much guaranteed to be VM specific. I can see the benefit of having the class
initialization process spelt out in VMClass, but I'd be inclined to use
VMClass as a helper, with static methods that take a Class instance, rather
than having a VMClass shadow per Class object. (Just like VMClassloader is a
helper and there is not a VMClassloader per Classloader).

Whilst on the subject of class Class, I've mentioned before that it really
should not have any static initialization in it. class Class is the first
class that must be initialized and trying to set up protection domains as
the first thing the VM does seems implausible to me. At a minimum you have
defer processing of Class's <clinit> until later in the bootstrapping
process. We moved that code into a method for lazy initialization later in
the bootstrap process.

Cheers,
David Holmes




From MAILER-DAEMON Thu Mar 04 06:27:09 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Ayr0P-0004Wu-3k
	for mharc-classpath@gnu.org; Thu, 04 Mar 2004 06:27:09 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyRwd-0005vb-S7
	for classpath@gnu.org; Wed, 03 Mar 2004 03:41:35 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyRw5-0005p5-1b
	for classpath@gnu.org; Wed, 03 Mar 2004 03:41:32 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AyRw4-0005oQ-C8
	for classpath@gnu.org; Wed, 03 Mar 2004 03:41:00 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i238U6Ha000294;
	Wed, 3 Mar 2004 03:30:08 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004030303310921913 ; Wed, 03 Mar 2004 03:31:09 -0500
Received: from 125.29.internet.uqam.ca (125.29.internet.uqam.ca
	[132.208.29.125])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i238PBkC018637; Wed, 3 Mar 2004 03:25:11 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1078259268.1351.45.camel@elsschot.wildebeest.org>
References: <OF59B2F7CC.27D54E04-ON85256E4A.007E64FE-85256E4A.007F36D3@us.ibm.com>
	<1078259268.1351.45.camel@elsschot.wildebeest.org>
Content-Type: text/plain; charset=iso-8859-2
Organization: Debian GNU/Linux http://www.debian.org
Message-Id: <1078302308.5560.147.camel@gadek.homelinux.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Wed, 03 Mar 2004 03:25:09 -0500
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by anis.telecom.uqam.ca id
	i238U6Ha000294
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: plans for classpath 0.08?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2004 08:41:38 -0000

W li=B6cie z wto, 02-03-2004, godz. 15:27, Mark Wielaard pisze:=20
> - make distcheck was broken because of newer tar versions.
>   (Grzegorz found out what precisely went wrong so we can now fix this.=
)

I am not sure about it. I filled a bugreport for automake as Tom
requested, but in fact we need to wait for new _automake_ that has
it fixed. Or if Tom had a patch - we could at least ask Debian
automake maintainer to apply it quickly.

I understood that it cannot be effectively fixed in classpath sources.
I think the best workaround to create "dist" tar.gz is like previously
- just use the old version of tar.

HTH

				GBP

--=20
Grzegorz B. Prokopski <gadek@debian.org>
Debian GNU/Linux      http://www.debian.org
SableVM - LGPLed JVM  http://www.sablevm.org
Why SableVM ?!?       http://devel.sablevm.org/wiki/WhySableVM




From MAILER-DAEMON Thu Mar 04 10:26:33 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Ayujy-0005nG-QT
	for mharc-classpath@gnu.org; Thu, 04 Mar 2004 10:26:26 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyTAT-00069q-49
	for classpath@gnu.org; Wed, 03 Mar 2004 04:59:57 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyT9v-0005zz-C1
	for classpath@gnu.org; Wed, 03 Mar 2004 04:59:54 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1AyT9u-0005yw-Cc
	for classpath@gnu.org; Wed, 03 Mar 2004 04:59:22 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i23A1uGf023110;
	Wed, 3 Mar 2004 11:01:57 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403031001.i23A1uGf023110@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris.gray@kiffer.be>
To: Patrik Reali <reali@acm.org>, classpath@gnu.org
Date: Wed, 3 Mar 2004 11:01:56 +0100
X-Mailer: KMail [version 1.3]
References: <28526579.1078244591@[10.40.10.54]>
In-Reply-To: <28526579.1078244591@[10.40.10.54]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: 
Subject: Re: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2004 09:59:59 -0000

On Tuesday 02 March 2004 16:23, Patrik Reali wrote:
> Although I'm pretty sure that everybody already read the articles, here's
> the sequel of the free java story from slashdot:
>
> 26 Feb: IBM Offers to Help Sun Open Up Java:
> <http://slashdot.org/article.pl?sid=04/02/26/1532254&mode=thread>
>
> 27 Feb: Sun Agrees to Talk to IBM over Open Sourcing Java:
> <http://developers.slashdot.org/article.pl?sid=04/02/27/1610245&mode=thread

This is bizarre.  IBM already has an open source version of Java (JikesVM), 
but perhaps Rod Smith is not aware of that.

If they want Sun to open up the Java testing and certification process to 
free and open source VMs then they should say so.  Instead they seem to be 
talking of starting a new initiative, apparently oblivious to all existing 
efforts.  It's as if Sun or someone would choose this moment to challenge 
AT&T to open up the source code of Unix.

Maybe we should write an open letter to the open letter writers?

Confused,

-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Thu Mar 04 15:33:05 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AyzGD-00015W-Df
	for mharc-classpath@gnu.org; Thu, 04 Mar 2004 15:16:01 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyVlr-0007nD-JL
	for classpath@gnu.org; Wed, 03 Mar 2004 07:46:43 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyVg6-0006jr-Im
	for classpath@gnu.org; Wed, 03 Mar 2004 07:41:17 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AyVT5-0004ky-Pz
	for classpath@gnu.org; Wed, 03 Mar 2004 07:27:19 -0500
Received: from [217.8.199.4] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1036626 for classpath@gnu.org;
	Wed, 03 Mar 2004 13:27:17 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Wed, 3 Mar 2004 13:27:12 +0100
Message-Id: <20040303122712.30750@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: 0.08 NEWS
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2004 12:49:11 -0000

Hi,

for the forthcoming release 0.08, we'll need a NEWS entry. Based on the
current NEWS file and my own bug fixes, I'd propose to start with the
following; please send your additions.

* Split native methods in java.lang.Runtime into java.lang.VMRuntime.
* Working implementation of javax.swing.undo.
* java.awt.geom.CubicCurve2D/QuadCurve2D: Can now solve cubic and quadratic
  equations; implementation adapted from the GNU Scientific Library.
* Fixed Classpath bugs:
  #6095 java.awt.geom.QuadCurve2D.solveQuadratic sometimes gives
        wrong results
  #7099 EventListenerList.getListenerCount should accept null argument
  #7104 EventListenerList.add does not work
  #7105 EventListenerList.remove does not work
  #7107 DefaultBoundedRangeModel.setValue and friends should not throw
  #7109 UndoableEditSupport.beginUpdate not nestable
  #7119 Infinite recursion in UndoableEditSupport.toString

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 





From MAILER-DAEMON Fri Mar 05 02:37:31 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Az9tj-0007rI-6A
	for mharc-classpath@gnu.org; Fri, 05 Mar 2004 02:37:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyXx9-00016m-5U
	for classpath@gnu.org; Wed, 03 Mar 2004 10:06:31 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyXwV-0000zd-Qc
	for classpath@gnu.org; Wed, 03 Mar 2004 10:06:23 -0500
Received: from [209.225.28.222] (helo=mxsf22.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AyXwV-0000zH-5K
	for classpath@gnu.org; Wed, 03 Mar 2004 10:05:51 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf22.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id
	i23F03bA031975; Wed, 3 Mar 2004 10:00:05 -0500 (EST)
	(envelope-from archie@dellroad.org)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA63682;
	Wed, 3 Mar 2004 08:48:04 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i23Em3KQ004403; 
	Wed, 3 Mar 2004 08:48:03 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i23Em3cl004402;
	Wed, 3 Mar 2004 08:48:03 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403031448.i23Em3cl004402@arch20m.dellroad.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCIEELDOAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Date: Wed, 3 Mar 2004 08:48:03 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2004 15:07:20 -0000

David Holmes wrote:
> Whilst on the subject of class Class, I've mentioned before that it really
> should not have any static initialization in it. class Class is the first

It definitely makes things more interesting. FWIW here's how JC handles it..

    http://jcvm.sourceforge.net/doc/jc.html#Bootstrap%20Process

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Fri Mar 05 21:37:20 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AzRgm-0007Wo-0d
	for mharc-classpath@gnu.org; Fri, 05 Mar 2004 21:37:20 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AybqQ-0002w0-Ix
	for classpath@gnu.org; Wed, 03 Mar 2004 14:15:50 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Aybpc-0001uj-38
	for classpath@gnu.org; Wed, 03 Mar 2004 14:15:31 -0500
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1Aybpa-0001h1-OI
	for classpath@gnu.org; Wed, 03 Mar 2004 14:14:58 -0500
Received: from fleche.redhat.com (tf0206.peakpeak.com [204.144.239.206])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id MAA30834
	for <classpath@gnu.org>; Wed, 3 Mar 2004 12:14:45 -0700
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id B42754F82AF; Wed,  3 Mar 2004 12:03:27 -0700 (MST)
To: GNU Classpath Project <classpath@gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Everybody is going somewhere!!  It's probably a garage sale
	or a disaster Movie!!
Date: 03 Mar 2004 12:03:27 -0700
Message-ID: <87ad2xda80.fsf@fleche.redhat.com>
Lines: 144
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: java.security expert?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2004 19:16:07 -0000

While debugging gcjx, I ran across some strange code in Prime.java.
I think the intention was for the code to resemble the result of the
appended patch.  The patch looks big, but it just wraps the body in a
`while (true)' and changes a `break' to `continue'.

Any comments on this?  I didn't look up the IEEE spec that this
references, for all I know the comments are the only part that are
wrong.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* gnu/java/security/util/Prime.java (generateRandomPrime): Loop
	as intended.

Index: gnu/java/security/util/Prime.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/security/util/Prime.java,v
retrieving revision 1.3
diff -u -r1.3 Prime.java
--- gnu/java/security/util/Prime.java 11 Aug 2002 16:34:44 -0000 1.3
+++ gnu/java/security/util/Prime.java 3 Mar 2004 19:12:40 -0000
@@ -1,5 +1,5 @@
 /* Prime.java --- Prime number generation utilities
-   Copyright (C) 1999 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -105,60 +105,64 @@
   /*
     See IEEE P1363 A.15.5 (10/05/98 Draft)
   */
-  public static BigInteger generateRandomPrime( BigInteger r, BigInteger a, int pmin, int pmax, BigInteger f )
+  public static BigInteger generateRandomPrime( BigInteger r, BigInteger a,
+						int pmin, int pmax,
+						BigInteger f )
   {
     BigInteger d, w;
 
     //Step 1 - generate prime
     BigInteger p = new BigInteger( (pmax + pmin)/2, new Random() );
 
-  steptwo:{ //Step 2
-      w = p.mod( r.multiply( BigInteger.valueOf(2) ));
+  steptwo:
+    while (true)
+      {
+	//Step 2
+	w = p.mod( r.multiply( BigInteger.valueOf(2) ));
+
+	//Step 3
+	p = p.add( r.multiply( BigInteger.valueOf(2) ) );
+	p = p.subtract( w );
+	p = p.add(a);
+
+	//Step 4 - test for even
+	if( p.mod( BigInteger.valueOf(2) ).compareTo( BigInteger.valueOf( 0 ))
+	    == 0)
+	  p.add( r );
+
+	for(;;)
+	  {
+	    //Step 5
+	    if( p.compareTo( BigInteger.valueOf( 1 ).shiftLeft( pmax)) > 0)
+	      {
+		//Step 5.1
+		p = p.subtract( BigInteger.valueOf( 1 ).shiftLeft( pmax) );
+		p = p.add( BigInteger.valueOf( 1 ).shiftLeft( pmin) );
+		p = p.subtract( BigInteger.valueOf( 1 ) );
+
+		//Step 5.2 - goto to Step 2
+		continue steptwo;
+	      }
+
+	    //Step 6
+	    d = p.subtract( BigInteger.valueOf(1) );
+	    d = d.gcd( f );
 
-      //Step 3
-      p = p.add( r.multiply( BigInteger.valueOf(2) ) );
-      p = p.subtract( w );
-      p = p.add(a);
-
-      //Step 4 - test for even
-      if( p.mod( BigInteger.valueOf(2) ).compareTo( BigInteger.valueOf( 0 )) == 0)
-	p.add( r );
-
-      for(;;)
-	{
-	  //Step 5
-	  if( p.compareTo( BigInteger.valueOf( 1 ).shiftLeft( pmax)) > 0)
-	    {
-	      //Step 5.1
-	      p = p.subtract( BigInteger.valueOf( 1 ).shiftLeft( pmax) );
-	      p = p.add( BigInteger.valueOf( 1 ).shiftLeft( pmin) );
-	      p = p.subtract( BigInteger.valueOf( 1 ) );
-
-	      //Step 5.2 - goto to Step 2
-	      break steptwo;
-	    }
-
-	  //Step 6
-	  d = p.subtract( BigInteger.valueOf(1) );
-	  d = d.gcd( f );
-
-	  //Step 7 - test d
-	  if( d.compareTo( BigInteger.valueOf( 1 ) ) == 0)
-	    {
-	      //Step 7.1 - test primality
-	      if( p.isProbablePrime( 1 ) == true )
-		{
-				//Step 7.2;
-		  return p;
-		}
-	    }
-	  //Step 8
-	  p = p.add( r.multiply( BigInteger.valueOf(2) ) );
-
-	  //Step 9
-	}
-    }
-    //Should never reach here but makes the compiler happy
-    return BigInteger.valueOf(0);	
+	    //Step 7 - test d
+	    if( d.compareTo( BigInteger.valueOf( 1 ) ) == 0)
+	      {
+		//Step 7.1 - test primality
+		if( p.isProbablePrime( 1 ) == true )
+		  {
+		    //Step 7.2;
+		    return p;
+		  }
+	      }
+	    //Step 8
+	    p = p.add( r.multiply( BigInteger.valueOf(2) ) );
+
+	    //Step 9
+	  }
+      }
   }
 }



From MAILER-DAEMON Sat Mar 06 04:02:50 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AzXhp-00082c-LC
	for mharc-classpath@gnu.org; Sat, 06 Mar 2004 04:02:49 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Ayevv-0004S3-2N
	for classpath@gnu.org; Wed, 03 Mar 2004 17:33:43 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyevO-00043S-96
	for classpath@gnu.org; Wed, 03 Mar 2004 17:33:41 -0500
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AyevN-00043G-PG
	for classpath@gnu.org; Wed, 03 Mar 2004 17:33:09 -0500
Received: (qmail 3068 invoked by uid 504); 3 Mar 2004 23:33:04 +0100
Received: from arnaud.vandyck@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501
	with qmail-scanner-1.16 
	(clamscan: 0.60. spamassassin: 2.55.  Clear:. 
	Processed in 0.726002 secs); 03 Mar 2004 22:33:04 -0000
Received: from unknown (HELO oz.fapse.ulg.ac.be) ([139.165.201.66])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 3 Mar 2004 23:33:03 +0100
Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.30)
	id 1AyevE-0003rE-Kt; Wed, 03 Mar 2004 23:33:00 +0100
To: classpath@gnu.org
References: <OF59B2F7CC.27D54E04-ON85256E4A.007E64FE-85256E4A.007F36D3@us.ibm.com>
	<1078259268.1351.45.camel@elsschot.wildebeest.org>
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
X-Face: >U]gI'=hKRtZE@~Svh"mU,aS"">yCT*dBkVAFl'!]!&k@R8fEr{-)Ql6{xhuXKb+!>}x;
	^2ck7Ytr'EABxt~)3q?AO}$:wwSva.$uNN9x.w4+uVmMMSB1~EbJgo|9E0yQXONuM'~c*20^
Date: Wed, 03 Mar 2004 23:32:58 +0100
In-Reply-To: <1078259268.1351.45.camel@elsschot.wildebeest.org> (Mark
	Wielaard's message of "Tue, 02 Mar 2004 21:27:49 +0100")
Message-ID: <871xo94l45.fsf_-_@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Cc: classpathx-discuss@gnu.org
Subject: gnujaxp audit [was: Re: plans for classpath 0.08?]
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2004 22:33:43 -0000

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

Mark Wielaard <mark@klomp.org> writes:

> For 0.08 I have the following issues:
> - The audit after the savannah compromise was never completely finished.
>   (I do not expect to find anything, but would feel better if all code
>    was gone over at most once. Will do this on Thursday and Friday.)

Hi Mark, Hi all,

I don't know if I already send a mail about the audit but I had a cvs
checkout of jaxp from a long time on my machine and made an update after
the compromise and there was no difference between my local repository
and the Savannah one. I suppose this way I can be sure classpathx is not
compromise?

Cheers,

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

iD8DBQFARl0c4vzFZu62tMIRAjoYAKCHYejECRGJI8ZFNHrSqOnQzvPxQwCgjUfJ
4R7mskVgrL+gXQL8mm09z1M=
=DeUo
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Mar 06 20:33:51 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AznAs-0003X4-71
	for mharc-classpath@gnu.org; Sat, 06 Mar 2004 20:33:50 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Aynnw-00029q-EG
	for classpath@gnu.org; Thu, 04 Mar 2004 03:02:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AynnO-0001qG-7t
	for classpath@gnu.org; Thu, 04 Mar 2004 03:02:02 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AynnD-0001fK-Ax
	for classpath@gnu.org; Thu, 04 Mar 2004 03:01:19 -0500
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 4 Mar 2004 09:01:03 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0AD9AF@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Query on stacktrace management logic
Thread-Index: AcQBoMsQSf8FMJcnReqGU1ZUsgXziwAHZ+bg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2004 08:02:20 -0000

David Holmes wrote:
> class Class is the first class that must be initialized [...]

Given the wide variety of VMs that use Classpath, I'd be careful with
statements like these. For almost every such assumption there will be a
VM for which it isn't true.

Regards,
Jeroen



From MAILER-DAEMON Sun Mar 07 03:48:49 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Aztxo-00046y-HH
	for mharc-classpath@gnu.org; Sun, 07 Mar 2004 03:48:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyqH2-0007qA-CQ
	for classpath@gnu.org; Thu, 04 Mar 2004 05:40:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyqGx-0007nS-DC
	for classpath@gnu.org; Thu, 04 Mar 2004 05:40:13 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AyqGJ-0007Us-7R
	for classpath@gnu.org; Thu, 04 Mar 2004 05:39:31 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AyqG1-0005mu-00; Thu, 04 Mar 2004 11:39:13 +0100
From: Mark Wielaard <mark@klomp.org>
To: "Grzegorz B. Prokopski" <gadek@debian.org>
In-Reply-To: <1078302308.5560.147.camel@gadek.homelinux.org>
References: <OF59B2F7CC.27D54E04-ON85256E4A.007E64FE-85256E4A.007F36D3@us.ibm.com>
	<1078259268.1351.45.camel@elsschot.wildebeest.org>
	<1078302308.5560.147.camel@gadek.homelinux.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-SU3Aj/m5T703WSafCGby"
Message-Id: <1078396765.1643.10.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 04 Mar 2004 11:39:25 +0100
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: plans for classpath 0.08?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2004 10:40:17 -0000


--=-SU3Aj/m5T703WSafCGby
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: quoted-printable

Hi,

On Wed, 2004-03-03 at 09:25, Grzegorz B. Prokopski wrote:
> W li=B6cie z wto, 02-03-2004, godz. 15:27, Mark Wielaard pisze:=20
> > - make distcheck was broken because of newer tar versions.
> >   (Grzegorz found out what precisely went wrong so we can now fix this.=
)
>=20
> I am not sure about it. I filled a bugreport for automake as Tom
> requested, but in fact we need to wait for new _automake_ that has
> it fixed. Or if Tom had a patch - we could at least ask Debian
> automake maintainer to apply it quickly.

Just read the 'Making tar Archives More Portable' chapter from GNU tar.
This is a bit of a mess :{ The obvious 'fix' for Automake, use --posix
also doesn't seem to be a real solution since that means that older
versions of GNU tar won't be able to read it. But it is a long and
confusing chapter, hopefully the Automake maintainers have more insight
into these issues. Let me know when/if they reply.

> I understood that it cannot be effectively fixed in classpath sources.
> I think the best workaround to create "dist" tar.gz is like previously
> - just use the old version of tar.

Seems like that is the way to go for this release. And then place a big
WARNING in the README/NEWS for people wanting to recreate the dist
tar.gz file or run make distcheck.

Thanks,

Mark

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

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

iD8DBQBARwdcxVhZCJWr9QwRArq3AJ4gMlrHQC6PP/gKD6JnGg5FJrW8mQCfbpTR
aOhPwty7nFooiGOj7Lw+A8Q=
=n2QO
-----END PGP SIGNATURE-----

--=-SU3Aj/m5T703WSafCGby--




From MAILER-DAEMON Sun Mar 07 05:43:04 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1AzvkN-0006m7-Il
	for mharc-classpath@gnu.org; Sun, 07 Mar 2004 05:43:03 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Ayrc6-0004il-VA
	for classpath@gnu.org; Thu, 04 Mar 2004 07:06:06 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Ayrc2-0004i4-8i
	for classpath@gnu.org; Thu, 04 Mar 2004 07:06:04 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1Ayrc1-0004hs-8I
	for classpath@gnu.org; Thu, 04 Mar 2004 07:06:01 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1Ayrbl-0005zw-00
	for <classpath@gnu.org>; Thu, 04 Mar 2004 13:05:45 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Eagp8snCWFvliK3iZbFU"
Message-Id: <1078401956.1643.92.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 04 Mar 2004 13:05:56 +0100
Subject: AWT and Swing progress
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2004 12:06:08 -0000


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

Hi all,

The following is an email I send to some people wanting to help out with
Swing. It is probably a good idea to post it to the list so others also
know about the current status of the current efforts with respect to
getting a free Swing implementation for GNU Classpath, gcj and other
free runtimes. If you are looking for things to help out with then this
email will contain lots of hints!

I do want to add that even though I am extremely happy we are now making
real progress on this front, it is still a lot of work. Even if we can
keep the current rapid progress it will take many months before we will
have something people can reliably use (for Swing, AWT is in a pretty
good shape now). And as noted below not all of AWT and Swing is covered
yet. Please don't recommend Swing to anybody except to say that if they
already have free software written that currently uses non-free Swing
implementation to contact us to see how we can help migrate the
application to what we are working on. (For new applications that need a
GUI, I would recommend the java-gnome bindings that will be part of the
next Gnome 2.6 release.
(http://www.gnome.org/start/2.5/bindings/ and http://java-gnome.sf.net/)

The approach we are taking is making sure that we have a AWT build
upon GTK+ peers (which is the most important peer implementation we want
at the moment since it integrates so nicely with the rest of the GNU
system). The AWT (peer) Components are mostly functional already.
Testing is done with the visual-tester in Mauve
(http://sources.redhat.com/mauve/). There is also a simple TestAWT
program in the classpath source tree of which you can see a screenshot:
http://www.klomp.org/mark/classpath/awt-04-03-2004.png

Other non-component parts of AWT are not yet implemented completely, or
have some stubs at the moment. These are java.awt.color,
java.awt.datatransfer, java.awt.dnd, java.awt.im.*. Help on these is
really appreciated. GTK+/freedesktop.org has libraries for cut & paste,
drag & drop, and internationalization that can/should probably be used
for some of these. The other big problem area is java.awt.image.*. If
you want to work on that package please ask on the list what the current
plans are (Thomas Fitzsimmons will probably coordinate this).

Swing is implemented on top of AWT and the java 2D (java.awt.geom)
classes that Graydon Hoare previously created (on top of the cairo
library from freedesktop.org). Although our current Swing implementation
doesn't really use java 2D at all.
http://people.redhat.com/~graydon/native-java2d-aug28-2003.png

Some parts (JList, JProgressBar, JSeparator, JButton and
JLabel) are starting to work, there is still a lot to do. But we are now
seeing daily progress. See for example the following two screenshots:
http://people.redhat.com/~graydon/free-swing-feb-09-2004.png
http://people.redhat.com/~graydon/free-swing-feb-25-2004.png

(Graydon, it would be nice if you could put the sample programs to
produce the above pictures online so others can directly play with it.)

Red Hat has recently been helping with working on the java GUI
technology (AWT and Swing). To make it easier for the Red Hat hackers to
work together on this without disrupting the other developers, which are
concentrating on other parts of the library, we have setup a CVS branch
for gcc/libjava (which hosts the libgcj library that gcj uses). This
work will be integrated into the main libgcj and GNU Classpath tree once
parts are finished and the code has been checked to make sure it
complies with our coding standards. This will happen aprox once a month.
The first merge will probably take place on March 12, after the 0.08
release.

For more detailed info and what to check out when you want to help with
this effort please see the following two mailinglist threads:
http://gcc.gnu.org/ml/java/2004-02/msg00063.html
http://mail.gnu.org/archive/html/classpath/2004-02/msg00022.html

Sascha Brawer has, independent from the above effort, implemented the
javax.swing.border and javax.swing.undo frameworks. He also created a
big test-suite for this package which has been added to the Mauve, a
collaborative effort to write a free test suite for the java core class
libraries (http://sources.redhat.com/mauve/).

We currently don't have people working on the javax.swing.text package
or the html and rtf subpackages which provide support for advanced text
components and working with html and rtf documents. Although Michael
Koch has some javax.swing.text fixes to at least get some simpler
programs using it compiling/running.

To get a wider perspective on GNU Classpath please take a look at the
presentation that Sascha Brawer and I gave at FOSDEM last week when you
want to get a more detailed understanding of the current status and
goals. "GNU Classpath: Core Classes for a Diversity of Java Virtual
Machines" http://dandelis.ch/people/brawer/articles/classpathFeb2004/

Finally Patrik Reali has put together a GNU Classpath Task List which
can be found at http://www.gnu.org/software/classpath/tasks.html. We
hope the task list will help people pick up both smaller and larger
things to work on when they want to help with GNU Classpath.

Cheers,

Mark

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

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

iD8DBQBARxukxVhZCJWr9QwRAtU/AJ9pXBD87/m8k49/jYhIl0OHSciewgCeLcZ+
4uJ1zIzT0tleZXVOHIcMAY8=
=dNKl
-----END PGP SIGNATURE-----

--=-Eagp8snCWFvliK3iZbFU--




From MAILER-DAEMON Sun Mar 07 06:36:33 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1Azwa8-0005NL-BP
	for mharc-classpath@gnu.org; Sun, 07 Mar 2004 06:36:32 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AysJi-0003ir-4b
	for classpath@gnu.org; Thu, 04 Mar 2004 07:51:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AysG3-0002yC-Fn
	for classpath@gnu.org; Thu, 04 Mar 2004 07:47:55 -0500
Received: from [64.4.37.66] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AysG2-0002y8-Uj
	for classpath@gnu.org; Thu, 04 Mar 2004 07:47:23 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Thu, 4 Mar 2004 03:41:49 -0800
Received: from 195.224.225.50 by by10fd.bay10.hotmail.msn.com with HTTP;
	Thu, 04 Mar 2004 11:41:49 GMT
X-Originating-IP: [195.224.225.50]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: dholmes@dltech.com.au, archie@dellroad.org
Bcc: 
Date: Thu, 04 Mar 2004 11:41:49 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY10-F66rQa7kaHvHJ00014549@hotmail.com>
X-OriginalArrivalTime: 04 Mar 2004 11:41:49.0366 (UTC)
	FILETIME=[AE1B9560:01C401DD]
Cc: classpath@gnu.org
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2004 12:56:07 -0000

Hi,

Don't forget about the Thread/VMThread split introduced in Classpath 0.07!

Moving from 0.04 through to 0.07 I've had the same dilemma -- change the VM 
to go along with the changes or modify the classes.  In the end, I've 
decided to stick with the split, mainly because of future maintenance 
issues.  Hopefully at some point the VMFoo/Foo interface will become stable. 
  I can then be pretty confident that no matter what changes are made in 
Classpath it should still work.  If I modified the classes, on every release 
I'd need to check if any changes had been made that breaks JamVM, and do a 
merge if they had.  Obviously the Foo classes should stabalise anyway so 
maybe it's pointless - it was a close call.

Rob.


----Original Message Follows----
From: "David Holmes" <dholmes@dltech.com.au>
To: "Archie Cobbs" <archie@dellroad.org>
CC: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
Date: Wed, 3 Mar 2004 15:14:01 +1000

Archie Cobbs wrote:
 > FYI, when I started working with Classpath I tried to respect the
 > Foo-VMFoo split and not modify any Foo classes but eventually decided
 > that it was too costly. E.g., every loaded class already has a Class
 > object (I don't create them on-demand), but you double that number
 > if you also have a VMClass object for each class.

Ouch! I hadn't seen the VMClass split as we're still on 0.05. I have to
agree there is no way I will use this version of things. Class is pretty
much guaranteed to be VM specific. I can see the benefit of having the class
initialization process spelt out in VMClass, but I'd be inclined to use
VMClass as a helper, with static methods that take a Class instance, rather
than having a VMClass shadow per Class object. (Just like VMClassloader is a
helper and there is not a VMClassloader per Classloader).

Whilst on the subject of class Class, I've mentioned before that it really
should not have any static initialization in it. class Class is the first
class that must be initialized and trying to set up protection domains as
the first thing the VM does seems implausible to me. At a minimum you have
defer processing of Class's <clinit> until later in the bootstrapping
process. We moved that code into a method for lazy initialization later in
the bootstrap process.

Cheers,
David Holmes



_______________________________________________
Classpath mailing list
Classpath@gnu.org
http://mail.gnu.org/mailman/listinfo/classpath

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger




From MAILER-DAEMON Sun Mar 07 14:52:36 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B04KB-0003UZ-0o
	for mharc-classpath@gnu.org; Sun, 07 Mar 2004 14:52:35 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyvHp-0002od-4b
	for classpath@gnu.org; Thu, 04 Mar 2004 11:01:25 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AyvHF-0002V0-Bb
	for classpath@gnu.org; Thu, 04 Mar 2004 11:01:21 -0500
Received: from [207.203.42.3] (helo=STVAVAPPL1.BHMSTV)
	by monty-python.gnu.org with smtp (Exim 4.30) id 1AyvHE-0002RD-AA
	for classpath@gnu.org; Thu, 04 Mar 2004 11:00:48 -0500
Received: from unknown(10.104.180.64) by STVAVAPPL1.BHMSTV via csmap 
	id 2795a5d4_6df4_11d8_8418_00304811e8c8_29354;
	Thu, 04 Mar 2004 09:54:01 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i24G0TQp000650
	for <classpath@gnu.org>; Thu, 4 Mar 2004 10:00:29 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i24G0T4M000649
	for classpath@gnu.org; Thu, 4 Mar 2004 10:00:29 -0600 (CST)
	(envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
To: classpath@gnu.org
Date: Thu, 4 Mar 2004 10:00:29 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Subject: Runtime.exec() implementation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2004 16:01:26 -0000

FYI,

I wrote an implementation of Runtime.exec() (including a new class
java.lang.VMProcess which extends java.lang.Process and native code)
for JC. This can be easily merged into Classpath if people want it.
It seems like a pretty glaring omission.

This uses the usual Unix functions of fork(), exec(), waitpid(), etc.
and should be as portable as the existing native code.  I'd have to
rewrite my JCNI native code in JNI but that would be easy.

Let me know if people are interested.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Sun Mar 07 16:10:43 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B05Xn-0004ih-90
	for mharc-classpath@gnu.org; Sun, 07 Mar 2004 16:10:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Ayw4u-0007ug-Pv
	for classpath@gnu.org; Thu, 04 Mar 2004 11:52:08 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Ayw4C-0007jd-Nf
	for classpath@gnu.org; Thu, 04 Mar 2004 11:51:56 -0500
Received: from [216.102.199.253] (helo=bothner.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1Ayw4B-0007iK-NI
	for classpath@gnu.org; Thu, 04 Mar 2004 11:51:23 -0500
Received: from bothner.com (persmac [192.168.1.10])
	by bothner.com (8.12.10/8.12.10) with ESMTP id i24GrTRt005314;
	Thu, 4 Mar 2004 08:53:29 -0800
Message-ID: <40475E7B.4050901@bothner.com>
Date: Thu, 04 Mar 2004 08:51:07 -0800
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Chris Gray <chris.gray@kiffer.be>
References: <28526579.1078244591@[10.40.10.54]>
	<200403031001.i23A1uGf023110@pigsty.cats.cradle>
In-Reply-To: <200403031001.i23A1uGf023110@pigsty.cats.cradle>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2004 16:55:09 -0000

Chris Gray wrote:

> This is bizarre.  IBM already has an open source version of Java (JikesVM), 
> but perhaps Rod Smith is not aware of that.

The VM is only a small part of Java.  There are many open-source
VMs, so that is not the main problem, but there is not one complete
open-source implementation of the JDK 1.2 libraries, let along 1.4
or 1.5.  There is also no open-source compiler that (as far as I
know) implements the new 1.5 language, and few VMs that implement the
debugging/profiling hooks.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



From MAILER-DAEMON Sun Mar 07 20:36:08 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B09gd-0005Pb-BR
	for mharc-classpath@gnu.org; Sun, 07 Mar 2004 20:36:07 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AyxzC-0002Nu-LC
	for classpath@gnu.org; Thu, 04 Mar 2004 13:54:22 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Ayxye-0001vN-Lp
	for classpath@gnu.org; Thu, 04 Mar 2004 13:54:20 -0500
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1Ayxyc-0001pn-HR
	for classpath@gnu.org; Thu, 04 Mar 2004 13:53:46 -0500
Received: from fleche.redhat.com (tf0206.peakpeak.com [204.144.239.206])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id LAA13828;
	Thu, 4 Mar 2004 11:53:31 -0700
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 6BEEC4F82B3; Thu,  4 Mar 2004 11:42:10 -0700 (MST)
To: Chris Gray <chris.gray@kiffer.be>
References: <28526579.1078244591@[10.40.10.54]>
	<200403031001.i23A1uGf023110@pigsty.cats.cradle>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: As a FAD follower, my BEVERAGE choices are rich and fulfilling!
Date: 04 Mar 2004 11:42:10 -0700
In-Reply-To: <200403031001.i23A1uGf023110@pigsty.cats.cradle>
Message-ID: <87u1148nel.fsf@fleche.redhat.com>
Lines: 17
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: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2004 18:54:23 -0000

>>>>> "Chris" == Chris Gray <chris.gray@kiffer.be> writes:

Chris> This is bizarre.  IBM already has an open source version of
Chris> Java (JikesVM), but perhaps Rod Smith is not aware of that.

Yeah.

Chris> Maybe we should write an open letter to the open letter writers?

If only we had some useful distribution channel.  Unfortunately I
think it is too late to give a JavaOne talk.

It would be great to get our desires on the agenda though.  This is
what Mark was getting at with the "SCSL and FSF" thread a week or so
ago...

Tom



From MAILER-DAEMON Mon Mar 08 02:00:58 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B0Ekz-0003tX-PV
	for mharc-classpath@gnu.org; Mon, 08 Mar 2004 02:00:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Az17o-0002At-Bh
	for classpath@gnu.org; Thu, 04 Mar 2004 17:15:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Az17E-0001nt-LY
	for classpath@gnu.org; Thu, 04 Mar 2004 17:15:25 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1Az17D-0001kc-Vc
	for classpath@gnu.org; Thu, 04 Mar 2004 17:14:52 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i24MDKEd052066;
	Fri, 5 Mar 2004 09:13:21 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Fri, 5 Mar 2004 08:13:47 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCIEGMDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0AD9AF@LEMBU.sumatrasoftware.com>
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2004 22:15:29 -0000

> David Holmes wrote:
> > class Class is the first class that must be initialized [...]

Jeroen Frijters replied:
> Given the wide variety of VMs that use Classpath, I'd be careful with
> statements like these. For almost every such assumption there will be a
> VM for which it isn't true.

I meant in a JLS sense. Before you can initialize any class you must have a
Class instance. Before you can have an instance of any class the class must
be initialized. Therefore before you can initialize any class you must have
initialized class Class.

Of course each VM will do its own contorted bootstrapping to effect the
above, but putting static initialization into class Class certainly doesn't
help. In particular now there is the Class/VMClass split there's an
implication that VM's shouldn't need to customise Class - but the static
initialization issue would thwart that in many cases.

As previously mentioned I think VMClass would be better defined as a helper
with static methods rather than a shadow object attached to each Class
instance.

Just my 25c.

Cheers,
David Holmes




From MAILER-DAEMON Mon Mar 08 02:22:16 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B0F5b-0006lx-RW
	for mharc-classpath@gnu.org; Mon, 08 Mar 2004 02:22:15 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Az1LE-0000zH-OI
	for classpath@gnu.org; Thu, 04 Mar 2004 17:29:20 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Az1Kg-0000sb-Uj
	for classpath@gnu.org; Thu, 04 Mar 2004 17:29:19 -0500
Received: from [207.203.42.3] (helo=STVAVAPPL1.BHMSTV)
	by monty-python.gnu.org with smtp (Exim 4.30) id 1Az1Kg-0000sX-Dm
	for classpath@gnu.org; Thu, 04 Mar 2004 17:28:46 -0500
Received: from unknown(10.104.180.64) by STVAVAPPL1.BHMSTV via csmap 
	id 188f7be8_6e29_11d8_8254_00304811e8c8_7693;
	Thu, 04 Mar 2004 16:12:59 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i24MJPQp002353; 
	Thu, 4 Mar 2004 16:19:26 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i24MJPMN002352;
	Thu, 4 Mar 2004 16:19:25 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403042219.i24MJPMN002352@arch20m.dellroad.org>
In-Reply-To: <20040303122712.30750@smtp.mail.ch.easynet.net>
To: Sascha Brawer <brawer@dandelis.ch>
Date: Thu, 4 Mar 2004 16:19:25 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: 0.08 NEWS
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2004 22:29:21 -0000

Sascha Brawer wrote:
> for the forthcoming release 0.08, we'll need a NEWS entry. Based on the
> current NEWS file and my own bug fixes, I'd propose to start with the
> following; please send your additions.

I've filed a couple of bugs which should be easy to fix but
have not been. It would be nice to get them fixed for 0.08.
If somebody gives me CVS write access I'll do it :-)

    6938 SystemClassLoader ignores java.class.path property for classfiles
    6967 ZipFile() constructor should verify ZIP file signature
    7084 Runtime.nativeLoad() needs a ClassLoader parameter 

#6938 is the most important but potentiall the most "dangerous" to fix.

By the way, how come everyone else isn't complaining about #6938?
Why am I the only one who notices it? Does everybody else have a
bootstrap class path that contains the java class path as a subset?

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Mon Mar 08 02:43:52 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B0FQV-0000L3-Ru
	for mharc-classpath@gnu.org; Mon, 08 Mar 2004 02:43:51 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Az1VH-0003EU-FV
	for classpath@gnu.org; Thu, 04 Mar 2004 17:39:43 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Az1Ug-00033H-6W
	for classpath@gnu.org; Thu, 04 Mar 2004 17:39:37 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1Az1Uf-00031O-0Z
	for classpath@gnu.org; Thu, 04 Mar 2004 17:39:05 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i24MarEd072356;
	Fri, 5 Mar 2004 09:36:53 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Robert Lougher" <robert_lougher@hotmail.com>
Date: Fri, 5 Mar 2004 08:37:20 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCIEGNDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
In-Reply-To: <BAY10-F66rQa7kaHvHJ00014549@hotmail.com>
Cc: classpath@gnu.org
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2004 22:39:45 -0000

> Robert Lougher wrote:
> Don't forget about the Thread/VMThread split introduced in Classpath 0.07!
>
> Moving from 0.04 through to 0.07 I've had the same dilemma --
> change the VM to go along with the changes or modify the classes.

And the Runtime/VMRuntime split.

We have to use our own Thread for a number of reasons so I won't be
utilising that split - but I'm also not concerned about future changes in
the Thread class, so merging isn't an issue.

The Runtime split probably mirrors a split we already had, so now I guess
I'll just have to rename my local class (JavaVirtualMachine) to become
VMRuntime otherwise there are too many levels of redirection. Though again
I'm not concerned with merging in this case.

The other problem with customising classes rather than using the Classpath
version is remebering to delete them from the Classpath source tree so that
things compile properly. :)

Cheers,
David Holmes




From MAILER-DAEMON Mon Mar 08 21:21:42 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B0WsI-0003DN-8U
	for mharc-classpath@gnu.org; Mon, 08 Mar 2004 21:21:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AzBkr-0008Jh-Uf
	for classpath@gnu.org; Fri, 05 Mar 2004 04:36:29 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AzBkE-0007Ye-00
	for classpath@gnu.org; Fri, 05 Mar 2004 04:36:22 -0500
Received: from [80.91.224.249] (helo=main.gmane.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AzBjs-00070v-Cf
	for classpath@gnu.org; Fri, 05 Mar 2004 04:35:28 -0500
Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian))
	id 1AzBjn-0000qm-00
	for <classpath@gnu.org>; Fri, 05 Mar 2004 10:35:23 +0100
Received: from pd9eb3796.dip.t-dialin.net ([217.235.55.150])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <classpath@gnu.org>; Fri, 05 Mar 2004 10:35:23 +0100
Received: from jens.lehmann by pd9eb3796.dip.t-dialin.net with local (Gmexim
	0.1 (Debian)) id 1AlnuQ-0007hv-00
	for <classpath@gnu.org>; Fri, 05 Mar 2004 10:35:23 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: classpath@gnu.org
From: Jens Lehmann <jens.lehmann@goldmail.de>
Date: Fri, 05 Mar 2004 10:35:42 +0100
Lines: 32
Message-ID: <c29hkp$1pg$1@sea.gmane.org>
References: <28526579.1078244591@[10.40.10.54]>
	<200403031001.i23A1uGf023110@pigsty.cats.cradle>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: pd9eb3796.dip.t-dialin.net
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.5) Gecko/20031107 Debian/1.5-3
X-Accept-Language: de-de, en-us, en
In-Reply-To: <200403031001.i23A1uGf023110@pigsty.cats.cradle>
Sender: news <news@sea.gmane.org>
Subject: Re: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Mar 2004 09:36:33 -0000

Chris Gray wrote:
> On Tuesday 02 March 2004 16:23, Patrik Reali wrote:
> 
>>Although I'm pretty sure that everybody already read the articles, here's
>>the sequel of the free java story from slashdot:
>>
>>26 Feb: IBM Offers to Help Sun Open Up Java:
>><http://slashdot.org/article.pl?sid=04/02/26/1532254&mode=thread>
>>
>>27 Feb: Sun Agrees to Talk to IBM over Open Sourcing Java:
>><http://developers.slashdot.org/article.pl?sid=04/02/27/1610245&mode=thread
> 
> 
> This is bizarre.  IBM already has an open source version of Java (JikesVM), 
> but perhaps Rod Smith is not aware of that.

The question is, if IBM is allowed to open source their Java 
implementation. According to some articles they are not allowed to do 
this. Does anyone know why? Do they have Sun code in their JRE? Even if 
this is the case, they could still hand their existing code over to 
classpath, if they want.

Apparently Sun isn't taking IBM's suggestions very seriously yet:

http://www.linuxworld.com/story/43913.htm
http://www.newsforge.com/programming/04/02/28/0022246.shtml

You never know what Sun does next. Maybe an open letter to IBM could 
help classpath.(?) Open letters are quite common these days.

Jens





From MAILER-DAEMON Mon Mar 08 23:18:58 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B0Yhh-0005Ny-1J
	for mharc-classpath@gnu.org; Mon, 08 Mar 2004 23:18:53 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AzCjF-0003DI-0R
	for classpath@gnu.org; Fri, 05 Mar 2004 05:38:53 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AzCii-00032z-Ip
	for classpath@gnu.org; Fri, 05 Mar 2004 05:38:51 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1AzCdY-00021E-On
	for classpath@gnu.org; Fri, 05 Mar 2004 05:33:01 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i25AZmGf025910;
	Fri, 5 Mar 2004 11:35:49 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403051035.i25AZmGf025910@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris.gray@kiffer.be>
To: Per Bothner <per@bothner.com>
Date: Fri, 5 Mar 2004 11:35:48 +0100
X-Mailer: KMail [version 1.3]
References: <28526579.1078244591@[10.40.10.54]>
	<200403031001.i23A1uGf023110@pigsty.cats.cradle>
	<40475E7B.4050901@bothner.com>
In-Reply-To: <40475E7B.4050901@bothner.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: classpath@gnu.org
Subject: Re: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Mar 2004 10:38:53 -0000

On Thursday 04 March 2004 17:51, Per Bothner wrote:
> Chris Gray wrote:
> > This is bizarre.  IBM already has an open source version of Java
> > (JikesVM), but perhaps Rod Smith is not aware of that.
>
> The VM is only a small part of Java.  There are many open-source
> VMs, so that is not the main problem, but there is not one complete
> open-source implementation of the JDK 1.2 libraries, let along 1.4
> or 1.5. 

No, but there is an existing project to do just that, and IBM are already 
involved.  There is nothing to stop them putting 40 engineers on the case 
tomorrow.

> There is also no open-source compiler that (as far as I
> know) implements the new 1.5 language, and few VMs that implement the
> debugging/profiling hooks.

Again, IBM can update Jikes to support 1.5 without starting any new 
initiatives.

I'm just worried that the top brass at IBM and Sun will announce some great 
project, probably operating under a licence which is neither GNUish enough to 
please people like Mark nor liberal enough to interest me, and which will 
serve only to undermine existing efforts.  Then either they succeed and we 
have a new "free" Java which is not actually all that much freer than SCSL, 
or they lose interest and we are back where we are now, but with one more 
overhyped flop on Java's report card.

It's as if  IBM would call on AT&T to "open up Unix" when GNU, the BSD 
projects, and Linux already existed.  Either they're totally out of touch, or 
their understanding of "opening up" differs from ours.

Cheers

-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Tue Mar 09 00:06:59 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B0ZSF-0006r0-JH
	for mharc-classpath@gnu.org; Tue, 09 Mar 2004 00:06:59 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AzDAG-00019y-DQ
	for classpath@gnu.org; Fri, 05 Mar 2004 06:06:48 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AzD9j-00015L-2C
	for classpath@gnu.org; Fri, 05 Mar 2004 06:06:46 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1AzD9i-00015E-7T
	for classpath@gnu.org; Fri, 05 Mar 2004 06:06:14 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i25B97Gf025936;
	Fri, 5 Mar 2004 12:09:07 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403051109.i25B97Gf025936@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris.gray@kiffer.be>
To: tromey@redhat.com
Date: Fri, 5 Mar 2004 12:09:07 +0100
X-Mailer: KMail [version 1.3]
References: <28526579.1078244591@[10.40.10.54]>
	<200403031001.i23A1uGf023110@pigsty.cats.cradle>
	<87u1148nel.fsf@fleche.redhat.com>
In-Reply-To: <87u1148nel.fsf@fleche.redhat.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: classpath@gnu.org
Subject: Re: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Mar 2004 11:06:50 -0000

On Thursday 04 March 2004 19:42, Tom Tromey wrote:
> >>>>> "Chris" == Chris Gray <chris.gray@kiffer.be> writes:
>
> Chris> This is bizarre.  IBM already has an open source version of
> Chris> Java (JikesVM), but perhaps Rod Smith is not aware of that.
>
> Yeah.
>
> Chris> Maybe we should write an open letter to the open letter writers?
>
> If only we had some useful distribution channel.  Unfortunately I
> think it is too late to give a JavaOne talk.

There must be other ways to get attention though.  Let Sun and IBM have their 
keynote speeches, but in the corridors people should be talking about us.

> It would be great to get our desires on the agenda though.  This is
> what Mark was getting at with the "SCSL and FSF" thread a week or so
> ago...
>
> Tom

-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Tue Mar 09 20:36:11 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B0sdm-0001ss-Ui
	for mharc-classpath@gnu.org; Tue, 09 Mar 2004 20:36:10 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AzOF3-0008Ax-4k
	for classpath@gnu.org; Fri, 05 Mar 2004 17:56:29 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AzOEx-00089u-4u
	for classpath@gnu.org; Fri, 05 Mar 2004 17:56:24 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AzOEw-00089K-CD
	for classpath@gnu.org; Fri, 05 Mar 2004 17:56:22 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AzOEf-0001eC-00
	for <classpath@gnu.org>; Fri, 05 Mar 2004 23:56:05 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-GILaKo02pHLcROQi6xqk"
Message-Id: <1078527377.1643.429.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 05 Mar 2004 23:56:17 +0100
Subject: 0.08 test-release later
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Mar 2004 22:56:30 -0000


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

Hi all,

I didn't make enough time to finish rolling a test release.
Besides that it seems the gnu.org mailservers have been heavily hit with
the latest spam/virus thing. Postings to the list seem to take more then
24 hours now to arrive :{
So it might actually be that there is some test release already by the
time you read this. If so look at ftp://alpha.gnu.org/gnu/classpath/

Real (non-test) releases will show up at
ftp://ftp.gnu.org/gnu/classpath/

Cheers,

Mark

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

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

iD8DBQBASQWQxVhZCJWr9QwRAh6VAJ0Yt//L7LZGW8FCHT3/hQu2NtoLYQCcCkIh
Ejbdg1/o5pFv4g1RogNWEgI=
=Ky0s
-----END PGP SIGNATURE-----

--=-GILaKo02pHLcROQi6xqk--




From MAILER-DAEMON Wed Mar 10 01:24:27 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B0x8k-0007t5-S3
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 01:24:26 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AzTRi-0006q6-6K
	for classpath@gnu.org; Fri, 05 Mar 2004 23:29:54 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AzTQc-0006VL-T1
	for classpath@gnu.org; Fri, 05 Mar 2004 23:29:18 -0500
Received: from [66.33.197.200] (helo=willum.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AzTQc-0006Qo-Ei
	for classpath@gnu.org; Fri, 05 Mar 2004 23:28:46 -0500
Received: from dexter (c-24-6-46-122.client.comcast.net [24.6.46.122])
	by willum.dreamhost.com (Postfix) with ESMTP
	id 592022C0F4; Fri,  5 Mar 2004 20:28:35 -0800 (PST)
Received: by dexter (Postfix, from userid 1000)
	id C3E57C2; Fri,  5 Mar 2004 20:28:34 -0800 (PST)
To: tromey@redhat.com
References: <87ad2xda80.fsf@fleche.redhat.com>
From: Casey Marshall <rsdio@metastatic.org>
Date: Fri, 05 Mar 2004 20:28:34 -0800
In-Reply-To: <87ad2xda80.fsf@fleche.redhat.com> (Tom Tromey's message of "03
	Mar 2004 12:03:27 -0700")
Message-ID: <871xo67g5p.fsf@metastatic.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath Project <classpath@gnu.org>
Subject: Re: java.security expert?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Mar 2004 04:32:48 -0000

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

>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom>     //Step 1 - generate prime
Tom>     BigInteger p = new BigInteger( (pmax + pmin)/2, new Random() );

This uses a simple linear congruential PRNG seeded with the current
time to generate the number, which really isn't secure.

Tom> +		//Step 7.1 - test primality
Tom> +		if( p.isProbablePrime( 1 ) == true )
Tom> +		  {

This is almost certainly wrong. isProbablePrime(n) will return `true'
correctly (i.e. when the number is actually prime) with a probability
of 1 - 1 / 2^n, meaning that the above lies about a prime 1/2 the
time. This is bad, especially when the security of your system depends
on large prime. 

Where is this used? It is probably a better idea to use just the
constructor of BigInteger that generates random primes, and to use a
well-seeded instance of SecureRandom to pass it. The prime test in
BigInteger (probably Miller-Rabin) is good enough.

Also `== true' is just silly. I say we dust off and nuke the site from
orbit. It's the only way to be sure.

- -- 
Casey Marshall || rsdio@metastatic.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQFASVMvgAuWMgRGsWsRAh+OAJ4nxOj1AkYtLm/3HXIq4Ll34z5zVQCfUCbL
Tjb5JmrVGNYwJn44OqRn0FI=
=N0T3
-----END PGP SIGNATURE-----



From MAILER-DAEMON Wed Mar 10 06:41:00 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1256-0004I1-5t
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 06:41:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AzYhz-0006kg-3H
	for classpath@gnu.org; Sat, 06 Mar 2004 05:07:03 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AzYht-0006jY-QU
	for classpath@gnu.org; Sat, 06 Mar 2004 05:06:58 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AzYht-0006jS-Bm
	for classpath@gnu.org; Sat, 06 Mar 2004 05:06:57 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AzYgy-0002y9-00; Sat, 06 Mar 2004 11:06:00 +0100
From: Mark Wielaard <mark@klomp.org>
To: Charles Fry <gnu@frogcircus.org>
In-Reply-To: <20040227154907.GB5139@frogcircus.org>
References: <20040226182038.GA1525@frogcircus.org>
	<1077878688.1327.43.camel@elsschot.wildebeest.org>
	<20040227154907.GB5139@frogcircus.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-c1sTs6Gn3SvrNPmCjDu9"
Message-Id: <1078567573.1643.465.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sat, 06 Mar 2004 11:06:13 +0100
Cc: classpath@gnu.org
Subject: RMI and/or other tasks (Was: join classspath project)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Mar 2004 10:07:04 -0000


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

Hi Charles,

Thanks for going through the paperwork and apologies for the late reply.
I have CCed the classpath mailinglist so others can chip in with advise
and help (and hopefully do it in a more timely matter then I did!).

On Fri, 2004-02-27 at 16:49, Charles Fry wrote:
> RMI sounds fun. I always wished I could work on java.util also, although
> I suppose that your main needs are on more esoteric components.

RMI was just one suggestion, there are other things you can work on (see
below). But someone that wants to become our RMI expert is badly needed.
We do have lots of code for RMI and even some people who actually use it
with their programs, but nobody that really maintains it.

If you want a simple entry point in the RMI code and want to know what
kind of things are broken then you can look at the work that Norbert
Frese did a while ago. (His paperwork had also cleared now).
http://gcc.gnu.org/ml/java-patches/2004-q1/msg00080.html
http://gcc.gnu.org/ml/java-patches/2004-q1/msg00081.html
http://gcc.gnu.org/ml/java-patches/2004-q1/msg00082.html
He also made some interop tests that can be found at
http://www.scheinwelt.at/~norbertf/gcj/tests/
and that are described in the following thread:
http://gcc.gnu.org/ml/java/2004-01/msg00022.html

Note that gcj (GNU Compiler for Java) is one of the main users of the
GNU Classpath library. Make sure you contact Norbert to ask whether or
not he still has time to work on this and/or whether you can work
together on this.

Other RMI related issues are described in the following thread:
http://mail.gnu.org/archive/html/classpath/2004-02/msg00025.html
The concern Getting the Jonas Carol framework working with our
implementation (http://carol.objectweb.org/) and/or the Cajo framework
from John Catherina, who is eager to get the Cajo working on free
runtimes.) https://cajo.dev.java.net/

If you are looking for other things to work on for GNU Classpath then
Patrik Reali made a list of tasks for people that want to work on GNU
Classpath. See http://www.gnu.org/software/classpath/tasks.html
There are certainly other things people can help with that are not yet
listed there. (Updates for smaller and bigger tasks for that list are
really appreciated!)

Cheers,

Mark

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

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

iD8DBQBASaKTxVhZCJWr9QwRAhnzAKCNDYawjHNiDHMTizpFsNoAFCFKxACfQ+LI
HmwDTN0KR93kZ3lZq6MD/YQ=
=exSE
-----END PGP SIGNATURE-----

--=-c1sTs6Gn3SvrNPmCjDu9--




From MAILER-DAEMON Wed Mar 10 09:11:42 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B14Qw-0002zU-Ds
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 09:11:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Aza9q-00062D-H8
	for classpath@gnu.org; Sat, 06 Mar 2004 06:39:54 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Aza9H-0005ln-JI
	for classpath@gnu.org; Sat, 06 Mar 2004 06:39:51 -0500
Received: from [62.253.162.46] (helo=mta06-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1Aza9F-0005ii-UT
	for classpath@gnu.org; Sat, 06 Mar 2004 06:39:18 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta06-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040306113910.UOAH19383.mta06-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Sat, 6 Mar 2004 11:39:10 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i26BcVCL004229; Sat, 6 Mar 2004 11:38:41 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i26BcUC4004225;
	Sat, 6 Mar 2004 11:38:30 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16457.47158.592562.305586@cuddles.cambridge.redhat.com>
Date: Sat, 6 Mar 2004 11:38:30 +0000
To: Tom Tromey <tromey@redhat.com>
In-Reply-To: <87ad2xda80.fsf@fleche.redhat.com>
References: <87ad2xda80.fsf@fleche.redhat.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath Project <classpath@gnu.org>
Subject: java.security expert?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Mar 2004 11:39:57 -0000

Tom Tromey writes:
 > While debugging gcjx, I ran across some strange code in Prime.java.
 > I think the intention was for the code to resemble the result of the
 > appended patch.  The patch looks big, but it just wraps the body in a
 > `while (true)' and changes a `break' to `continue'.
--text follows this line--
`diff -w' is your friend.

Index: Prime.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/security/util/Prime.java,v
retrieving revision 1.3
diff -u -w -r1.3 Prime.java
--- Prime.java  11 Aug 2002 16:34:44 -0000      1.3
+++ Prime.java  6 Mar 2004 11:24:58 -0000
@@ -1,5 +1,5 @@
 /* Prime.java --- Prime number generation utilities
-   Copyright (C) 1999 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -105,14 +105,19 @@
   /*
     See IEEE P1363 A.15.5 (10/05/98 Draft)
   */
-  public static BigInteger generateRandomPrime( BigInteger r, BigInteger a, int pmin, int pmax, BigInteger f )
+  public static BigInteger generateRandomPrime( BigInteger r, BigInteger a,
+                                               int pmin, int pmax,
+                                               BigInteger f )
   {
     BigInteger d, w;
 
     //Step 1 - generate prime
     BigInteger p = new BigInteger( (pmax + pmin)/2, new Random() );
 
-  steptwo:{ //Step 2
+  steptwo:
+    while (true)
+      {
+       //Step 2
       w = p.mod( r.multiply( BigInteger.valueOf(2) ));
 
       //Step 3
@@ -121,7 +126,8 @@
       p = p.add(a);
 
       //Step 4 - test for even
-      if( p.mod( BigInteger.valueOf(2) ).compareTo( BigInteger.valueOf( 0 )) == 0)
+       if( p.mod( BigInteger.valueOf(2) ).compareTo( BigInteger.valueOf( 0 ))
+           == 0)
        p.add( r );
 
       for(;;)
@@ -135,7 +141,7 @@
              p = p.subtract( BigInteger.valueOf( 1 ) );
 
              //Step 5.2 - goto to Step 2
-             break steptwo;
+               continue steptwo;
            }
 
          //Step 6
@@ -158,7 +164,5 @@
          //Step 9
        }
     }
-    //Should never reach here but makes the compiler happy
-    return BigInteger.valueOf(0);
   }
 }

 > Any comments on this?  I didn't look up the IEEE spec that this
 > references, for all I know the comments are the only part that are
 > wrong.

Your patch looks right to me.

Andrew.



From MAILER-DAEMON Wed Mar 10 15:47:04 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1AbY-00062m-96
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 15:47:04 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Azfvv-0007YE-CK
	for classpath@gnu.org; Sat, 06 Mar 2004 12:49:55 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Azfvm-0007HT-O2
	for classpath@gnu.org; Sat, 06 Mar 2004 12:49:50 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30)
	id 1Azfvi-0007Fd-5F; Sat, 06 Mar 2004 12:49:42 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AzfvA-0003oo-00; Sat, 06 Mar 2004 18:49:08 +0100
From: Mark Wielaard <mark@klomp.org>
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <871xo94l45.fsf_-_@oz.fapse.ulg.ac.be>
References: <OF59B2F7CC.27D54E04-ON85256E4A.007E64FE-85256E4A.007F36D3@us.ibm.com>
	<1078259268.1351.45.camel@elsschot.wildebeest.org>
	<871xo94l45.fsf_-_@oz.fapse.ulg.ac.be>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-wsDQ9ItO4vwYEtjhdcM3"
Message-Id: <1078595361.20298.30.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sat, 06 Mar 2004 18:49:21 +0100
Cc: classpathx-discuss@gnu.org, classpath@gnu.org
Subject: Re: gnujaxp audit [was: Re: plans for classpath 0.08?]
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Mar 2004 17:49:59 -0000


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

Hi,

On Wed, 2004-03-03 at 23:32, Arnaud Vandyck wrote:
> Mark Wielaard <mark@klomp.org> writes:
>=20
> > For 0.08 I have the following issues:
> > - The audit after the savannah compromise was never completely finished=
.
> >   (I do not expect to find anything, but would feel better if all code
> >    was gone over at most once. Will do this on Thursday and Friday.)
>
> I don't know if I already send a mail about the audit but I had a cvs
> checkout of jaxp from a long time on my machine and made an update after
> the compromise and there was no difference between my local repository
> and the Savannah one. I suppose this way I can be sure classpathx is not
> compromise?

Thanks for that report. I didn't know about it yet.
Did you send an email to savannah-compromise@gnu.org as described in
http://savannah.gnu.org/statements/changesets-available.txt.asc
It is a good idea to report it so they know about the status of the
project.

Cheers,

Mark

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

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

iD8DBQBASg8gxVhZCJWr9QwRAjDNAJ46zQ4a05luC1G3TBHB/6MZjGC8PACfaLzA
hn4M4lqspE3hrtK3WcOdEV8=
=ht+r
-----END PGP SIGNATURE-----

--=-wsDQ9ItO4vwYEtjhdcM3--




From MAILER-DAEMON Wed Mar 10 16:29:33 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1B8F-00027w-5M
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 16:20:51 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AzgcA-0008JE-Ue
	for classpath@gnu.org; Sat, 06 Mar 2004 13:33:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1Azgbe-0008CZ-37
	for classpath@gnu.org; Sat, 06 Mar 2004 13:33:33 -0500
Received: from [213.228.0.44] (helo=postfix3-1.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1Azgbd-0008CU-J7
	for classpath@gnu.org; Sat, 06 Mar 2004 13:33:01 -0500
Received: from kaffe.org (cachan-3-82-66-125-112.fbx.proxad.net
	[82.66.125.112])
	by postfix3-1.free.fr (Postfix) with ESMTP id 7CC02C41A3
	for <classpath@gnu.org>; Sat,  6 Mar 2004 19:32:56 +0100 (CET)
Message-ID: <404A1955.5000802@kaffe.org>
Date: Sat, 06 Mar 2004 19:32:53 +0100
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath List <classpath@gnu.org>
X-Enigmail-Version: 0.76.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig9B0E912A632C31E0F760DB8B"
Subject: BufferedInputStream.mark()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Mar 2004 18:33:35 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9B0E912A632C31E0F760DB8B
Content-Type: multipart/mixed; boundary="------------030509000203080209030908"

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

Hi,

I've been trying to make azureus work with kaffe and apparently they use 
an hidden feature of sun's jdk: it is capable to do 
mark(Integer.MAX_VALUE). So I modified the mark() logic to be able to 
allocate buffers incrementally.

Please review.

Here is the changelog:

2004-03-06  Guilhem Lavaux <guilhem@kaffe.org>
 
        * libraries/javalib/java/io/BufferedInputStream.java
        (mark, refill) Make an incremental mark buffer allocation.
        New field marktarget, CHUNKSIZE.
 
Cheers,
Guilhem.

--------------030509000203080209030908
Content-Type: text/plain;
 name="buf_patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="buf_patch"

Index: java/io/BufferedInputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/BufferedInputStream.java,v
retrieving revision 1.10
diff -u -r1.10 BufferedInputStream.java
--- java/io/BufferedInputStream.java	22 Jan 2002 22:26:59 -0000	1.10
+++ java/io/BufferedInputStream.java	6 Mar 2004 18:29:28 -0000
@@ -103,6 +103,19 @@
   protected int marklimit = 0;
 
   /**
+   * This is the maximum size we have to allocate for the mark buffer.
+   * This number may be huge (Integer.MAX_VALUE). The class will continue
+   * to allocate new chunks (specified by <code>CHUNKSIZE</code>) until the
+   * the size specified by this field is achieved.
+   */
+  protected int marktarget = 0;
+
+  /**
+   * This is the number of bytes to allocate to reach marktarget.
+   */
+  static final protected int CHUNKSIZE = 1024;
+
+  /**
    * This method initializes a new <code>BufferedInputStream</code> that will
    * read from the specified subordinate stream with a default buffer size
    * of 2048 bytes
@@ -183,7 +196,9 @@
    */
   public synchronized void mark(int readlimit)
   {
-    marklimit = readlimit;
+    marktarget = marklimit = readlimit;
+    if (marklimit > CHUNKSIZE)
+	marklimit = CHUNKSIZE;
     markpos = pos;
   }
 
@@ -337,13 +352,16 @@
 	pos -= markpos;
 	markpos = 0;
       }
-    else if (marklimit >= buf.length)	// BTW, markpos == 0
+    else if (marktarget >= buf.length && marklimit < marktarget)	// BTW, markpos == 0
       {
 	// Need to grow the buffer now to have room for marklimit bytes.
 	// Note that the new buffer is one greater than marklimit.
 	// This is so that there will be one byte past marklimit to be read
 	// before having to call refill again, thus allowing marklimit to be
 	// invalidated.  That way refill doesn't have to check marklimit.
+	marklimit += CHUNKSIZE;
+	if (marklimit >= marktarget)
+	  marklimit = marktarget;
 	byte[] newbuf = new byte[marklimit + 1];
 	System.arraycopy(buf, 0, newbuf, 0, count);
 	buf = newbuf;

--------------030509000203080209030908--

--------------enig9B0E912A632C31E0F760DB8B
Content-Type: application/pgp-signature

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

iD8DBQFAShlYWRk4qbNiTwgRAktJAJ4yL4PBEnKak4sqP5G9ZRJ4X5pOJwCfVD++
jhSY9yYkenn63i7d77/c6Q0=
=+QYa
-----END PGP SIGNATURE-----

--------------enig9B0E912A632C31E0F760DB8B--




From MAILER-DAEMON Wed Mar 10 17:11:02 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1Bun-0008AY-7n
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 17:11:01 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1AzhND-0002ra-SF
	for classpath@gnu.org; Sat, 06 Mar 2004 14:22:11 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AzhMe-0002g8-Je
	for classpath@gnu.org; Sat, 06 Mar 2004 14:22:07 -0500
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1AzhMe-0002g4-2B
	for classpath@gnu.org; Sat, 06 Mar 2004 14:21:36 -0500
Received: (qmail 11256 invoked by uid 504); 6 Mar 2004 20:21:31 +0100
Received: from arnaud.vandyck@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501
	with qmail-scanner-1.16 
	(clamscan: 0.60. spamassassin: 2.55.  Clear:. 
	Processed in 0.734579 secs); 06 Mar 2004 19:21:31 -0000
Received: from unknown (HELO oz.fapse.ulg.ac.be) ([139.165.201.54])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <mark@klomp.org>; 6 Mar 2004 20:21:30 +0100
Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.30)
	id 1AzhMN-0002w9-0g; Sat, 06 Mar 2004 20:21:19 +0100
To: Mark Wielaard <mark@klomp.org>
References: <OF59B2F7CC.27D54E04-ON85256E4A.007E64FE-85256E4A.007F36D3@us.ibm.com>
	<1078259268.1351.45.camel@elsschot.wildebeest.org>
	<871xo94l45.fsf_-_@oz.fapse.ulg.ac.be>
	<1078595361.20298.30.camel@elsschot.wildebeest.org>
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
X-Face: >U]gI'=hKRtZE@~Svh"mU,aS"">yCT*dBkVAFl'!]!&k@R8fEr{-)Ql6{xhuXKb+!>}x;
	^2ck7Ytr'EABxt~)3q?AO}$:wwSva.$uNN9x.w4+uVmMMSB1~EbJgo|9E0yQXONuM'~c*20^
Date: Sat, 06 Mar 2004 20:21:15 +0100
In-Reply-To: <1078595361.20298.30.camel@elsschot.wildebeest.org> (Mark
	Wielaard's message of "Sat, 06 Mar 2004 18:49:21 +0100")
Message-ID: <87brn96atw.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Cc: classpathx-discuss@gnu.org, classpath@gnu.org
Subject: Re: gnujaxp audit
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Mar 2004 19:22:13 -0000

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

Mark Wielaard <mark@klomp.org> writes:

> Thanks for that report. I didn't know about it yet.  Did you send an
> email to savannah-compromise@gnu.org as described in
> http://savannah.gnu.org/statements/changesets-available.txt.asc It is
> a good idea to report it so they know about the status of the project.

Done.

- -- 
Debian Hint #21: If your Debian box is behind a slow network connection,
but you have access to a fast one as well, check out the apt-zip package.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD4DBQFASiSu4vzFZu62tMIRAiUpAKCmR8fP9w8HeLa5egtI4m7jc5XsegCWLVF3
lognnlLHv7Ew2qgiNdo5ig==
=UeE8
-----END PGP SIGNATURE-----



From MAILER-DAEMON Wed Mar 10 20:43:31 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1FCg-0004dP-M8
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 20:41:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1Azzku-0007aZ-OE
	for classpath@gnu.org; Sun, 07 Mar 2004 09:59:52 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1AzzkM-0007Ip-VR
	for classpath@gnu.org; Sun, 07 Mar 2004 09:59:50 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1AzzkM-0007HO-1c
	for classpath@gnu.org; Sun, 07 Mar 2004 09:59:18 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i27F2EGf043524;
	Sun, 7 Mar 2004 16:02:14 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403071502.i27F2EGf043524@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris.gray@kiffer.be>
To: "Jeroen Frijters" <jeroen@sumatra.nl>,
	"David Holmes" <dholmes@dltech.com.au>
Date: Sun, 7 Mar 2004 16:02:14 +0100
X-Mailer: KMail [version 1.3]
References: <788B535AB1F9CB49BB9C229372B50ACC0AD9AF@LEMBU.sumatrasoftware.com>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0AD9AF@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: classpath <classpath@gnu.org>
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Mar 2004 14:59:58 -0000

On Thursday 04 March 2004 09:01, Jeroen Frijters wrote:
> David Holmes wrote:
> > class Class is the first class that must be initialized [...]
>
> Given the wide variety of VMs that use Classpath, I'd be careful with
> statements like these. For almost every such assumption there will be a
> VM for which it isn't true.

Amen.  Wonka [doesn't use Classbath [yet], but] currently loads five other 
classes before java.lang.Class; java.lang.Object, java.lang.Cloneable, 
java.lang.Serializable, java.lang.Throwable, and the mysterious "array" class.

-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Wed Mar 10 20:43:45 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1FDm-0004qJ-S6
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 20:42:50 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B00Tj-00008f-01
	for classpath@gnu.org; Sun, 07 Mar 2004 10:46:11 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B00TC-0008PN-BP
	for classpath@gnu.org; Sun, 07 Mar 2004 10:46:10 -0500
Received: from [134.58.240.41] (helo=nibbel.kulnet.kuleuven.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B00TB-0008OV-OY
	for classpath@gnu.org; Sun, 07 Mar 2004 10:45:37 -0500
Received: from localhost (localhost [127.0.0.1])
	by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 553194C6F5
	for <classpath@gnu.org>; Sun,  7 Mar 2004 16:45:33 +0100 (CET)
Received: from octavianus.kulnet.kuleuven.ac.be
	(octavianus.kulnet.kuleuven.ac.be [134.58.240.71])
	by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id B0FDC4C6F7
	for <classpath@gnu.org>; Sun,  7 Mar 2004 16:45:32 +0100 (CET)
Received: from catamaran (10-4-112-233.kotnet.org [10.4.112.233])
	by octavianus.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 889D5AF007
	for <classpath@gnu.org>; Sun,  7 Mar 2004 16:45:32 +0100 (CET)
From: "Johan Peeters" <yo@johanpeeters.com>
To: GNU Classpath Project <classpath@gnu.org>
Date: Sun, 07 Mar 2004 16:45:23 +0100
MIME-Version: 1.0
Message-ID: <404B51A4.8748.AC044FC@localhost>
Priority: normal
In-reply-to: <87ad2xda80.fsf@fleche.redhat.com>
X-mailer: Pegasus Mail for Windows (v4.12a)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
X-Virus-Scanned: by KULeuven Antivirus Cluster
Subject: Re: java.security expert?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Mar 2004 15:46:12 -0000

I am no cryptographer, so please take my comments for what they are 
worth. I am also not sure what Tom's specific concern is.

The use of the looping construct is ugly. However, it seems to me to 
faithfully implement the algorithm described. I believe the algorithm 
could be refactored so that it would not result in such ugly code, 
but I am not sure of the wisdom of that. There seems to be merit in 
sticking closely to a published and readily available algorithm.
I fail to see why the while loop was put in though. It does not alter 
the behavior of the code (if I understand 'continue steptwo', that 
is) and, in my opinion, it does not make the code any less ugly, on 
the contrary.

I am surprised that the pmin and pmax parameters are interpreted as 
only conveying information about the desired bitlength of the result. 
I don't think that is the intention of the original algorithm. It 
also seems to offer strange guarantees: the result will not be 
greater than 2^n - 1 where n is the number of bits in pmax. Surely it 
would be more intuitive either to guarantee
- that the result is no greater than pmax
- or that the result is no greater than 2^pmax - 1.
If the latter path were chosen, I assume that pmax could be an int (or perhaps a long).
Similar considerations obviously apply to pmin.

The guarantee that the result is prime seems rather weak considering 
that isProbablePrime() is called with argument 1. Assuming that the 
likelihood that steps 1 to 6 comes up with a prime is about 1/2, it 
seems to me that isProbablePrime() should be called with argument 100 
if the guarantee that the result of the function is prime should be 
the same as that of BigInteger.probablePrime(), i.e. 1 - 2^(-100). As 
it is, if isProbablePrime()'s implementation's guarantee is no 
stronger than documented in Javadoc and, again, assuming that steps 1 
to 6 generate a prime in 1 out of 2 cases, I think that 
generateRandomPrime() yields a prime in 2 out of 3 cases. Has anyone 
tested this?
I have a hunch that, unfortunately, the assumption that steps 1 to 6 
generate a prime 1 in 2 cases is overoptimistic. If so, the 
guarantees of the current implementation are even weaker and the 
argument to isProbablePrime() would need to be increased further to 
make them reasonable.
 
kr,

Yo

On 3 Mar 2004 at 12:03, Tom Tromey wrote:

> While debugging gcjx, I ran across some strange code in Prime.java.
> I think the intention was for the code to resemble the result of the
> appended patch.  The patch looks big, but it just wraps the body in 
a
> `while (true)' and changes a `break' to `continue'.
> 
> Any comments on this?  I didn't look up the IEEE spec that this
> references, for all I know the comments are the only part that are
> wrong.
> 
> Tom
> 
> Index: ChangeLog
> from  Tom Tromey  <tromey@redhat.com>
> 
> 	* gnu/java/security/util/Prime.java (generateRandomPrime): Loop
> 	as intended.
> 
> Index: gnu/java/security/util/Prime.java
> ===================================================================
> RCS file: /cvs/gcc/gcc/libjava/gnu/java/security/util/Prime.java,v
> retrieving revision 1.3
> diff -u -r1.3 Prime.java
> --- gnu/java/security/util/Prime.java 11 Aug 2002 16:34:44 -0000 
1.3
> +++ gnu/java/security/util/Prime.java 3 Mar 2004 19:12:40 -0000
> @@ -1,5 +1,5 @@
>  /* Prime.java --- Prime number generation utilities
> -   Copyright (C) 1999 Free Software Foundation, Inc.
> +   Copyright (C) 1999, 2004 Free Software Foundation, Inc.
>  
>  This file is part of GNU Classpath.
>  
> @@ -105,60 +105,64 @@
>    /*
>      See IEEE P1363 A.15.5 (10/05/98 Draft)
>    */
> -  public static BigInteger generateRandomPrime( BigInteger r, 
BigInteger a, int pmin, int pmax, BigInteger f )
> +  public static BigInteger generateRandomPrime( BigInteger r, 
BigInteger a,
> +						int pmin, int pmax,
> +						BigInteger f )
>    {
>      BigInteger d, w;
>  
>      //Step 1 - generate prime
>      BigInteger p = new BigInteger( (pmax + pmin)/2, new Random() 
);
>  
> -  steptwo:{ //Step 2
> -      w = p.mod( r.multiply( BigInteger.valueOf(2) ));
> +  steptwo:
> +    while (true)
> +      {
> +	//Step 2
> +	w = p.mod( r.multiply( BigInteger.valueOf(2) ));
> +
> +	//Step 3
> +	p = p.add( r.multiply( BigInteger.valueOf(2) ) );
> +	p = p.subtract( w );
> +	p = p.add(a);
> +
> +	//Step 4 - test for even
> +	if( p.mod( BigInteger.valueOf(2) ).compareTo( BigInteger.valueOf( 
0 ))
> +	    == 0)
> +	  p.add( r );
> +
> +	for(;;)
> +	  {
> +	    //Step 5
> +	    if( p.compareTo( BigInteger.valueOf( 1 ).shiftLeft( pmax)) > 
0)
> +	      {
> +		//Step 5.1
> +		p = p.subtract( BigInteger.valueOf( 1 ).shiftLeft( pmax) );
> +		p = p.add( BigInteger.valueOf( 1 ).shiftLeft( pmin) );
> +		p = p.subtract( BigInteger.valueOf( 1 ) );
> +
> +		//Step 5.2 - goto to Step 2
> +		continue steptwo;
> +	      }
> +
> +	    //Step 6
> +	    d = p.subtract( BigInteger.valueOf(1) );
> +	    d = d.gcd( f );
>  
> -      //Step 3
> -      p = p.add( r.multiply( BigInteger.valueOf(2) ) );
> -      p = p.subtract( w );
> -      p = p.add(a);
> -
> -      //Step 4 - test for even
> -      if( p.mod( BigInteger.valueOf(2) ).compareTo( 
BigInteger.valueOf( 0 )) == 0)
> -	p.add( r );
> -
> -      for(;;)
> -	{
> -	  //Step 5
> -	  if( p.compareTo( BigInteger.valueOf( 1 ).shiftLeft( pmax)) > 0)
> -	    {
> -	      //Step 5.1
> -	      p = p.subtract( BigInteger.valueOf( 1 ).shiftLeft( pmax) );
> -	      p = p.add( BigInteger.valueOf( 1 ).shiftLeft( pmin) );
> -	      p = p.subtract( BigInteger.valueOf( 1 ) );
> -
> -	      //Step 5.2 - goto to Step 2
> -	      break steptwo;
> -	    }
> -
> -	  //Step 6
> -	  d = p.subtract( BigInteger.valueOf(1) );
> -	  d = d.gcd( f );
> -
> -	  //Step 7 - test d
> -	  if( d.compareTo( BigInteger.valueOf( 1 ) ) == 0)
> -	    {
> -	      //Step 7.1 - test primality
> -	      if( p.isProbablePrime( 1 ) == true )
> -		{
> -				//Step 7.2;
> -		  return p;
> -		}
> -	    }
> -	  //Step 8
> -	  p = p.add( r.multiply( BigInteger.valueOf(2) ) );
> -
> -	  //Step 9
> -	}
> -    }
> -    //Should never reach here but makes the compiler happy
> -    return BigInteger.valueOf(0);	
> +	    //Step 7 - test d
> +	    if( d.compareTo( BigInteger.valueOf( 1 ) ) == 0)
> +	      {
> +		//Step 7.1 - test primality
> +		if( p.isProbablePrime( 1 ) == true )
> +		  {
> +		    //Step 7.2;
> +		    return p;
> +		  }
> +	      }
> +	    //Step 8
> +	    p = p.add( r.multiply( BigInteger.valueOf(2) ) );
> +
> +	    //Step 9
> +	  }
> +      }
>    }
>  }
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
> 


-- 
Johan Peeters bvba
software architecture services
tel:+32 16 64900
http://www.johanpeeters.com



From MAILER-DAEMON Wed Mar 10 20:56:41 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1FRA-00061o-Hf
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 20:56:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B055g-0001oM-7B
	for classpath@gnu.org; Sun, 07 Mar 2004 15:41:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B055e-0001n3-8U
	for classpath@gnu.org; Sun, 07 Mar 2004 15:41:38 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B055d-0001n0-VI
	for classpath@gnu.org; Sun, 07 Mar 2004 15:41:38 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B055H-00078u-00; Sun, 07 Mar 2004 21:41:15 +0100
From: Mark Wielaard <mark@klomp.org>
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
References: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-d6M0oplHB9RJmpIjBmXL"
Message-Id: <1078692088.1736.27.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 07 Mar 2004 21:41:28 +0100
Cc: classpath@gnu.org
Subject: Re: Runtime.exec() implementation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Mar 2004 20:41:41 -0000


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

Hi,

On Thu, 2004-03-04 at 17:00, Archie Cobbs wrote:
> I wrote an implementation of Runtime.exec() (including a new class
> java.lang.VMProcess which extends java.lang.Process and native code)
> for JC. This can be easily merged into Classpath if people want it.
> It seems like a pretty glaring omission.
>=20
> This uses the usual Unix functions of fork(), exec(), waitpid(), etc.
> and should be as portable as the existing native code.  I'd have to
> rewrite my JCNI native code in JNI but that would be easy.
>=20
> Let me know if people are interested.

Yes! Very much interested.
If it can be expressed in standard JNI and a C/GNU/Posix like
implementation is possible then we would love to provide it with GNU
Classpath. Since almost every VM seems to provide this itself already it
never seemed like a high priority, but it is very much wanted to make
GNU Classpath itself more complete.

Cheers,

Mark

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

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

iD8DBQBAS4j3xVhZCJWr9QwRAiF7AJ0Y68jUl8Wh7JeX5Lo7GJEnDfMj+QCfXg/5
SC+3LEERtGLeBy4XSBpUo20=
=9N85
-----END PGP SIGNATURE-----

--=-d6M0oplHB9RJmpIjBmXL--




From MAILER-DAEMON Wed Mar 10 21:04:24 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1FYd-00070s-LB
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 21:04:23 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B08Gm-0004Dv-TR
	for classpath@gnu.org; Sun, 07 Mar 2004 19:05:21 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B08GX-00044j-1O
	for classpath@gnu.org; Sun, 07 Mar 2004 19:05:06 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B08CS-0002oA-4Q
	for classpath@gnu.org; Sun, 07 Mar 2004 19:00:52 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B08C9-0007Tf-00; Mon, 08 Mar 2004 01:00:33 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Yst0hRGjY0DsLdhwQ+VT"
Message-Id: <1078704046.1736.59.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Mon, 08 Mar 2004 01:00:46 +0100
Cc: Wes Biggs <wes@cacas.org>
Subject: Imported gnu.regexp and java.util.regex wrappers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 00:05:42 -0000


--=-Yst0hRGjY0DsLdhwQ+VT
Content-Type: multipart/mixed; boundary="=-zeQaZWCT/+EFYHg8g3Hi"


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

Hi all,

I finally imported gnu.regexp and added java.util.regex wrappers for it.
At the moment our gnu.regexp is the same as the original gnu.regexp
version, except for a few files and added copyright notices.

If this doesn't break things then I want to ship this as is with the
0.08 release. Then we can see how it works in practice. Some thing to
consider is that Wes might want to have a separate release of this, then
we have to think about how to avoid name/classloading-clashes (since the
integration means it is now part of the core/bootclasspath). Wes, do you
have ideas about how we can coordinate releases? And/Or do you want to
make releases from/in combination with new classpath releases?

Since this took longer then expected I didn't make a real or test 0.08
release (sorry). I really want someone to check this out first and see
if the Mauve tests work. With jamvm (plus a hack to get VMClassLoader
getResource() working [*]) I get:

$ (echo gnu.testlet.java.util.regex.CharacterClasses; echo gnu.testlet.java=
.util.regex.PatternSplit) | jamvm gnu.testlet.SimpleTestHarness
FAIL: gnu.testlet.java.util.regex.PatternSplit: test: (?=3D[a-z]) (number 1=
)
1 of 2295 tests failed

I have some more tests, which aren't checked in yet, that show some
other areas where out java.util.regex isn't syntax compatible yet. So we
need to do some work here. But for simple things this implementation
works OK. For example the Eclipse 3.0 regex use seems to be satisfied
with this installed and Anthony Green played with this implementation
and the regex use of freetts, which also seemed to work. So it is
certainly a real step forward.

Attached is the ChangeLog (full patch omitted since it contains mostly
new files).

Cheers,

Mark

[*] gnu.regexp tries to load a ResourceBundle to get localized messages.
Since these classes are now part of the bootclasspath they will be
loaded through VMClassLoader.getResource(), so make sure your VM
supports that.

--=-zeQaZWCT/+EFYHg8g3Hi
Content-Description: 
Content-Disposition: inline; filename=regex.ChangeLog
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset=ISO-8859-1

MjAwNC0wMy0wNyAgTWFyayBXaWVsYWFyZCAgPG1hcmtAa2xvbXAub3JnPg0KDQoJKiBjb25maWd1
cmUuYWM6IEFkZCBnbnUvcmVnZXhwL01ha2VmaWxlIGFuZA0KCXJlc291cmNlL2dudS9yZWdleHAv
TWFrZWZpbGUNCgkqIGdudS9NYWtlZmlsZS5hbSAoU1VCRElSUyk6IEFkZCByZWdleHAuDQoJKiBn
bnUvcmVnZXhwL01ha2VmaWxlLmFtOiBOZXcgZmlsZS4NCgkqIGdudS9yZWdleHAvQ2hhckluZGV4
ZWQuamF2YTogSW1wb3J0ZWQuDQoJKiBnbnUvcmVnZXhwL0NoYXJJbmRleGVkQ2hhckFycmF5Lmph
dmE6IExpa2V3aXNlLg0KCSogZ251L3JlZ2V4cC9DaGFySW5kZXhlZElucHV0U3RyZWFtLmphdmE6
IExpa2V3aXNlLg0KCSogZ251L3JlZ2V4cC9DaGFySW5kZXhlZFN0cmluZy5qYXZhOiBMaWtld2lz
ZS4NCgkqIGdudS9yZWdleHAvQ2hhckluZGV4ZWRTdHJpbmdCdWZmZXIuamF2YTogTGlrZXdpc2Uu
DQoJKiBnbnUvcmVnZXhwL1JFLmphdmE6IExpa2V3aXNlLg0KCSogZ251L3JlZ2V4cC9SRUV4Y2Vw
dGlvbi5qYXZhOiBMaWtld2lzZS4NCgkqIGdudS9yZWdleHAvUkVGaWx0ZXJJbnB1dFN0cmVhbS5q
YXZhOiBMaWtld2lzZS4NCgkqIGdudS9yZWdleHAvUkVNYXRjaC5qYXZhOiBMaWtld2lzZS4NCgkq
IGdudS9yZWdleHAvUkVNYXRjaEVudW1lcmF0aW9uLmphdmE6IExpa2V3aXNlLg0KCSogZ251L3Jl
Z2V4cC9SRVN5bnRheC5qYXZhOiBMaWtld2lzZS4NCgkqIGdudS9yZWdleHAvUkVUb2tlbi5qYXZh
OiBMaWtld2lzZS4NCgkqIGdudS9yZWdleHAvUkVUb2tlbkFueS5qYXZhOiBMaWtld2lzZS4NCgkq
IGdudS9yZWdleHAvUkVUb2tlbkJhY2tSZWYuamF2YTogTGlrZXdpc2UuDQoJKiBnbnUvcmVnZXhw
L1JFVG9rZW5DaGFyLmphdmE6IExpa2V3aXNlLg0KCSogZ251L3JlZ2V4cC9SRVRva2VuRW5kLmph
dmE6IExpa2V3aXNlLg0KCSogZ251L3JlZ2V4cC9SRVRva2VuRW5kU3ViLmphdmE6IExpa2V3aXNl
Lg0KCSogZ251L3JlZ2V4cC9SRVRva2VuT25lT2YuamF2YTogTGlrZXdpc2UuDQoJKiBnbnUvcmVn
ZXhwL1JFVG9rZW5QT1NJWC5qYXZhOiBMaWtld2lzZS4NCgkqIGdudS9yZWdleHAvUkVUb2tlblJh
bmdlLmphdmE6IExpa2V3aXNlLg0KCSogZ251L3JlZ2V4cC9SRVRva2VuUmVwZWF0ZWQuamF2YTog
TGlrZXdpc2UuDQoJKiBnbnUvcmVnZXhwL1JFVG9rZW5TdGFydC5qYXZhOiBMaWtld2lzZS4NCgkq
IGdudS9yZWdleHAvUkVUb2tlbldvcmRCb3VuZGFyeS5qYXZhOiBMaWtld2lzZS4NCgkqIGdudS9y
ZWdleHAvVW5jaGVja2VkUkUuamF2YTogTGlrZXdpc2UuDQoJKiBqYXZhL3V0aWwvcmVnZXgvTWF0
Y2hlci5qYXZhOiBBZGQgZ251LnJlZ2V4cCB3cmFwcGVycy4NCgkqIGphdmEvdXRpbC9yZWdleC9Q
YXR0ZXJuLmphdmE6IExpa2V3aXNlLg0KCSogcmVzb3VyY2UvZ251L01ha2VmaWxlLmFtIChTVUJE
SVJTKTogQWRkIHJlZ2V4cC4NCgkqIHJlc291cmNlL2dudS9yZWdleHAvTWFrZWZpbGUuYW06IE5l
dyBmaWxlLg0KCSogcmVzb3VyY2UvZ251L3JlZ2V4cC9NZXNzYWdlc0J1bmRsZS5wcm9wZXJ0aWVz
OiBJbXBvcnRlZC4NCgkqIHJlc291cmNlL2dudS9yZWdleHAvTWVzc2FnZXNCdW5kbGVfZnIucHJv
cGVydGllczogTGlrZXdpc2UuDQo=

--=-zeQaZWCT/+EFYHg8g3Hi--

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

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

iD8DBQBAS7euxVhZCJWr9QwRAiatAJ9f9we5stC/9zmw1GZkGz3+LGLY5gCeOhc9
10k8VGSrjr3Dc1vazxnQ6N0=
=DfhN
-----END PGP SIGNATURE-----

--=-Yst0hRGjY0DsLdhwQ+VT--




From MAILER-DAEMON Wed Mar 10 21:38:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1FtC-0002zS-CI
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 21:25:38 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0FXk-0002Si-Gk
	for classpath@gnu.org; Mon, 08 Mar 2004 02:51:20 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0FXD-0001zV-8n
	for classpath@gnu.org; Mon, 08 Mar 2004 02:51:18 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0FX7-0001yx-HW
	for classpath@gnu.org; Mon, 08 Mar 2004 02:50:41 -0500
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Date: Mon, 8 Mar 2004 08:50:20 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADA0B@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: 0.08 NEWS
Thread-Index: AcQE3tPkoAzbJHh4SPqA01wt7qE6tQAAteng
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Archie Cobbs" <archie@dellroad.org>, "Sascha Brawer" <brawer@dandelis.ch>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: 0.08 NEWS
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 07:51:23 -0000

Archie Cobbs wrote:
>     6938 SystemClassLoader ignores java.class.path property=20
> for classfiles
[...]
> By the way, how come everyone else isn't complaining about #6938?
> Why am I the only one who notices it? Does everybody else have a
> bootstrap class path that contains the java class path as a subset?

I think you're the only using it. Most VMs seem to have their own system
(aka application) class loader. It would be nice to get the one in
Classpath to a usable level. I'm willing to work with you on that when
0.08 is released.

Regards,
Jeroen



From MAILER-DAEMON Wed Mar 10 21:42:41 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1G4S-0005B8-GC
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 21:37:16 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0J2Y-0000i7-LP
	for classpath@gnu.org; Mon, 08 Mar 2004 06:35:22 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0J1z-0000eb-7X
	for classpath@gnu.org; Mon, 08 Mar 2004 06:35:20 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0J1x-0000br-Ua
	for classpath@gnu.org; Mon, 08 Mar 2004 06:34:46 -0500
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Date: Mon, 8 Mar 2004 12:33:29 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADA10@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Query on stacktrace management logic
Thread-Index: AcQE+lrAoFFnmZ8tREiyUndAI+aMeAAAdl5Q
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Chris Gray" <chris@kiffer.eunet.be>,
	"David Holmes" <dholmes@dltech.com.au>
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 11:35:24 -0000

Chris Gray wrote:
> Oops my bad - I confused initialisation with loading.  Then I=20
> see that Wonka actually initialises both ThreadGroup and
> Thread before Class, but OTOH I also know that the
> initialisation of our ThreadGroup and Thread are subject=20
> to special restrictions (because at that moment there is no=20
> current Thread, and no Class instance can be created).
> So David's statement is probably pretty close to being true
> in a practical sense, as well as a JLS sense.

I don't necessarily agree or disagree, but I think it is important to
keep an open mind about these things. On IKVM, I don't have any of the
usual bootstrapping issues, so static initialization basically just
happens whenever it is needed. For example, here is what my
initialization looks like for "Hello, World!":

C:\>ikvm -Xmethodtrace:clinit -Xtrace:*=3Doff hello
[11:56:26.75996 main] java.lang.System.<clinit>()V
[11:56:26.76998 main] java.lang.Runtime.<clinit>()V
[11:56:26.76998 main] java.lang.VMRuntime.<clinit>()V
[11:56:26.77999 main] java.lang.StringHelper.<clinit>()V
[11:56:26.80002 main] java.io.FileDescriptor.<clinit>()V
[11:56:26.80002 main] java.io.PrintWriter.<clinit>()V
[11:56:26.81004 main] gnu.java.io.EncodingManager.<clinit>()V
[11:56:26.81004 main] java.lang.Class.<clinit>()V
[11:56:26.88014 main] gnu.java.io.decode.Decoder.<clinit>()V
[11:56:26.88014 main] gnu.java.io.decode.Decoder8859_1.<clinit>()V
[11:56:26.90016 main] gnu.java.io.encode.Encoder.<clinit>()V
[11:56:26.90016 main] gnu.java.io.encode.Encoder8859_1.<clinit>()V
[11:56:26.90016 main] java.lang.ClassLoader.<clinit>()V
[11:56:26.95024 main] java.io.File.<clinit>()V
[11:56:26.95024 main] gnu.java.io.PlatformHelper.<clinit>()V
[11:56:26.95024 main] java.lang.Character.<clinit>()V
[11:56:26.95024 main] java.net.URL.<clinit>()V
[11:56:26.96025 main] java.util.Locale.<clinit>()V
[11:56:27.00031 main] java.net.URLClassLoader.<clinit>()V
[11:56:27.00031 main] java.security.Policy.<clinit>()V
[11:56:27.00031 main]
gnu.java.security.provider.DefaultPolicy.<clinit>()V
[11:56:27.01032 main] java.lang.ExceptionHelper.<clinit>()V
[11:56:27.01032 main] java.util.WeakHashMap.<clinit>()V
[11:56:27.02034 main] java.io.FilePermission.<clinit>()V
[11:56:27.05038 main] java.lang.Number.<clinit>()V
[11:56:27.05038 main] java.lang.Integer.<clinit>()V
[11:56:27.19058 main] java.lang.Void.<clinit>()V
Hello, World!
[11:56:27.20060 ] java.lang.Thread.<clinit>()V
[11:56:27.20060 ] java.lang.VMThread.<clinit>()V
[11:56:27.21061 ] java.lang.ThreadGroup.<clinit>()V
[11:56:27.21061 ] java.lang.ThreadLocal.<clinit>()V
[11:56:27.21061 ] java.lang.InheritableThreadLocal.<clinit>()V
[11:56:27.21061 ] java.util.Collections.<clinit>()V

(As an aside, I just noticed the incredibly lame static initializer we
have in Thread (to initialize a field to zero) and the fact that I have
a static initializer in VMRuntime that isn't really needed.)

Now having said all that, I'm certainly not opposed to making the
unknownProtectionDomain initialization in Class lazy. In fact, it looks
like a good optimization.

Regards,
Jeroen



From MAILER-DAEMON Wed Mar 10 21:45:28 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1G1F-0004dC-E9
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 21:33:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0ICV-0003C5-EM
	for classpath@gnu.org; Mon, 08 Mar 2004 05:41:35 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0IBj-0002Cq-O3
	for classpath@gnu.org; Mon, 08 Mar 2004 05:41:19 -0500
Received: from [80.91.224.249] (helo=main.gmane.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0IBj-0002Cb-DM
	for classpath@gnu.org; Mon, 08 Mar 2004 05:40:47 -0500
Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian))
	id 1B0IBe-0000NQ-00
	for <classpath@gnu.org>; Mon, 08 Mar 2004 11:40:42 +0100
Received: from inet-netcache2-o.oracle.com ([148.87.1.171])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <classpath@gnu.org>; Mon, 08 Mar 2004 11:40:42 +0100
Received: from rmathew by inet-netcache2-o.oracle.com with local (Gmexim 0.1
	(Debian)) id 1AlnuQ-0007hv-00
	for <classpath@gnu.org>; Mon, 08 Mar 2004 11:40:42 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: classpath@gnu.org
From: Ranjit Mathew <rmathew@hotmail.com>
Date: Mon, 08 Mar 2004 16:01:57 +0530
Lines: 22
Message-ID: <404C4B9D.40905@hotmail.com>
References: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: inet-netcache2-o.oracle.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
	rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
In-Reply-To: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
Sender: news <news@sea.gmane.org>
Subject: Re: Runtime.exec() implementation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 10:41:42 -0000

Archie Cobbs wrote:
> I wrote an implementation of Runtime.exec() (including a new class
> java.lang.VMProcess which extends java.lang.Process and native code)
> for JC. This can be easily merged into Classpath if people want it.
> It seems like a pretty glaring omission.
> 
> This uses the usual Unix functions of fork(), exec(), waitpid(), etc.
> and should be as portable as the existing native code.  I'd have to
> rewrite my JCNI native code in JNI but that would be easy.
> 
> Let me know if people are interested.

libgcj, the runtime library of GCJ based on Classpath
already has a native java.lang.Process implementation
for POSIX and Win32.

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/




From MAILER-DAEMON Wed Mar 10 21:56:27 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1GHh-00083x-Pq
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 21:50:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0MBX-0007yj-SG
	for classpath@gnu.org; Mon, 08 Mar 2004 09:56:51 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0MAw-0007KB-KC
	for classpath@gnu.org; Mon, 08 Mar 2004 09:56:46 -0500
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0MAv-0007Hl-7e
	for classpath@gnu.org; Mon, 08 Mar 2004 09:56:13 -0500
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1B0MAp-0006Hp-00
	for <classpath@gnu.org>; Mon, 08 Mar 2004 15:56:07 +0100
Received: from data ([139.19.90.238] helo=mpi-sb.mpg.de)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B0M9X-0005dQ-00; Mon, 08 Mar 2004 15:54:47 +0100
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i28EsfLT012132;
	Mon, 8 Mar 2004 15:54:41 +0100 (MET)
Message-ID: <404C8931.8030004@kaffe.org>
Date: Mon, 08 Mar 2004 15:54:41 +0100
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040218
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: mailing list kaffe <kaffe@kaffe.org>, GNU Classpath <classpath@gnu.org>,
	Mark Wielaard <mark@klomp.org>, Ito Kazumitsu <kaz@maczuka.gcd.org>,
	Guilhem Lavaux <guilhem@kaffe.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: 
Subject: Current unsynced patches between kaffe and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 14:59:16 -0000

Hi all,

I resynced Kaffe from GNU Classpath today, so I created a list of
differences, that should be helpful in deciding what to merge back into
GNU Classpath.

a) gnu/java/io/EncodingManager.java

	Ito's fixes for the Classpath encoding manager to use Kaffe's libiconv
based setup. See
http://www.kaffe.org/pipermail/kaffe/2004-January/045038.html

	2004-01-30  Ito Kazumitsu <kaz@maczuka.gcd.org>

         * libraries/javalib/gnu/java/io/EncodingManager.java:
         Don't use static initializers because it causes stack overflow.

	2004-01-19  Ito Kazumitsu <kaz@maczuka.gcd.org>

         * kaffe/libraries/javalib/gnu/java/io/EncodingManager.java:
         Copied froGNClasspath and modified for use with kaffe.

b) gnu/java/locale/LocaleInformation_en.java,
gnu/java/locales/LocaleInformation_nl.java

	Small single line differences.

	2004-01-11  Guilhem Lavaux <guilhem@kaffe.org>

         * libraries/javalib/gnu/java/locale/LocaleInformation_en.java,
         libraries/javalib/gnu/java/locales/LocaleInformation_nl.java:
Updated
         date symbols.

c) gnu/java/net/protocol/file/Handler.java

	We are using the file handler from gcj, afaik. That explains the huge diff.

d) gnu/java/nio/SelectorImpl.java, gnu/java/nio/FileLockImpl.java

	Trivial differences due to different names of native libraries. Using a
runtime dependant VMLibNames interface of public static final Strings
would be a simple way to solve this for all VMs.

e) java/awt/Color.java

	Differences since Color needs to interface with Kaffe's own AWT
implementation.

f) java/beans/BeanDescriptor.java

	Should be merged into GNU Classpath.

	2004-01-22  Mark Wielaard  <mark@klomp.org>

         Fix for Maven 1.0-rc1.

         * libraries/javalib/java/beans/BeanDescriptor.java
         (BeanDescriptor): Set the FeatureDescriptor programmatic name.

g) java/io/BufferedInputStream.java

	Fix for Azureus bit torrent client. It wants to mark(Integer.MAX_VALUE)
on a stream, so instead of increasing the buffer to the mark size
instantly, we increase the buffer as necessary.

	2004-03-06  Guilhem Lavaux <guilhem@kaffe.org>

         * libraries/javalib/java/io/BufferedInputStream.java
         (mark, refill) Make an incremental mark buffer allocation.
         New field marktarget, CHUNKSIZE.

h) java/io/File.java

	Native library naming differences. Kaffe also has a  File(URI uri),
toURI and a delete on Exit implementation, that could go into GNU
Classpath. There is also a difference in the  File(File directory,
String name) constructor that Guilhem may be more familiar with.

i) java/io/FileDescriptor.java,
java/io/ObjectInputStream.java,
java/io/ObjectOutputStream.java,
java/nio/channels/FileChannelImpl.java,
java/nio/ByteOrder.java,
java/nio/DirectByteBufferImpl.java,
java/util/TimeZone.java

	Native library naming differences.

j) java/io/ObjectStreamClass.java

	Some security provider weirdness.

k) java/lang/Boolean.java
java/lang/Character.java
java/lang/reflect/Proxy.java

	Kaffe doesn't use VMClassLoader interface from GNU Classpath yet.

l) java/net/InetAddress.java
java/net/InetSocketAddress.java

	Various patches by Guilhem

m) java/text/DecimalFormatSymbols.java

	Small typo correction.

n) java/text/AttributedString.java

	Small fix for FOP

o) java/text/DecimalFormat.java,
java/text/FormatCharacterIterator.java,
java/text/MessageFormat.java,
java/text/SimpleDateFormat.java,

	Various patches by Guilhem

That's about it. I'll check in some small stuff (n, m, g, f). The text 
changes should be synchronized between Michael Koch and Guilhem, the 
networking changes may need more work before they are ready for GNU 
Classpath.

cheers,
dalibor topic



From MAILER-DAEMON Wed Mar 10 22:01:58 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1G1L-0004eF-Cb
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 21:34:03 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0IG3-0005bP-47
	for classpath@gnu.org; Mon, 08 Mar 2004 05:45:15 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0IFT-0005P5-Vf
	for classpath@gnu.org; Mon, 08 Mar 2004 05:45:11 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B0IFS-0005ND-VN
	for classpath@gnu.org; Mon, 08 Mar 2004 05:44:39 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i28AlgGf044624;
	Mon, 8 Mar 2004 11:47:43 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403081047.i28AlgGf044624@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: "David Holmes" <dholmes@dltech.com.au>,
	"Jeroen Frijters" <jeroen@sumatra.nl>
Date: Mon, 8 Mar 2004 11:47:41 +0100
X-Mailer: KMail [version 1.3]
References: <NFBBKALFDCPFIDBNKAPCIEGMDOAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCIEGMDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: classpath <classpath@gnu.org>
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 10:45:17 -0000

On Thursday 04 March 2004 23:13, David Holmes wrote:
> > David Holmes wrote:
> > > class Class is the first class that must be initialized [...]
>
> Jeroen Frijters replied:
> > Given the wide variety of VMs that use Classpath, I'd be careful with
> > statements like these. For almost every such assumption there will be a
> > VM for which it isn't true.
>
> I meant in a JLS sense. Before you can initialize any class you must have a
> Class instance. Before you can have an instance of any class the class must
> be initialized. Therefore before you can initialize any class you must have
> initialized class Class.

Oops my bad - I confused initialisation with loading.  Then I see that Wonka 
actually initialises both ThreadGroup and Thread before Class, but OTOH I 
also know that the initialisation of our ThreadGroup and Thread are subject 
to special restrictions (because at that moment there is no current Thread, 
and no Class instance can be created).  So David's statement is probably 
pretty close to being true in a practical sense, as well as a JLS sense.


-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Wed Mar 10 22:04:25 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1GUi-00020m-Qv
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:04:24 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0OvI-00028B-IC
	for classpath@gnu.org; Mon, 08 Mar 2004 12:52:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0Ouj-0001zf-7e
	for classpath@gnu.org; Mon, 08 Mar 2004 12:52:12 -0500
Received: from [213.228.0.169] (helo=postfix3-2.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0Oui-0001y3-NB
	for classpath@gnu.org; Mon, 08 Mar 2004 12:51:40 -0500
Received: from kaffe.org (cachan-3-82-66-125-112.fbx.proxad.net
	[82.66.125.112])
	by postfix3-2.free.fr (Postfix) with ESMTP id E7C67C3CB
	for <classpath@gnu.org>; Mon,  8 Mar 2004 18:51:34 +0100 (CET)
Message-ID: <404CB2A2.1090302@kaffe.org>
Date: Mon, 08 Mar 2004 18:51:30 +0100
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath List <classpath@gnu.org>
X-Enigmail-Version: 0.76.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig989CB68296A70F1A52FE5DF4"
Subject: [Fwd: BufferedInputStream.mark()]
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 17:52:19 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig989CB68296A70F1A52FE5DF4
Content-Type: multipart/mixed; boundary="------------080008010705060207030104"

This is a multi-part message in MIME format.
--------------080008010705060207030104
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I'm sending it again as it didn't reach the mailing list apparently...

Guilhem.

--------------080008010705060207030104
Content-Type: message/rfc822;
 name="BufferedInputStream.mark()"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="BufferedInputStream.mark()"

Message-ID: <404A1955.5000802@kaffe.org>
Date: Sat, 06 Mar 2004 19:32:53 +0100
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath List <classpath@gnu.org>
Subject: BufferedInputStream.mark()
X-Enigmail-Version: 0.76.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig9B0E912A632C31E0F760DB8B"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9B0E912A632C31E0F760DB8B
Content-Type: multipart/mixed; boundary="------------030509000203080209030908"

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

Hi,

I've been trying to make azureus work with kaffe and apparently they use 
an hidden feature of sun's jdk: it is capable to do 
mark(Integer.MAX_VALUE). So I modified the mark() logic to be able to 
allocate buffers incrementally.

Please review.

Here is the changelog:

2004-03-06  Guilhem Lavaux <guilhem@kaffe.org>
 
        * libraries/javalib/java/io/BufferedInputStream.java
        (mark, refill) Make an incremental mark buffer allocation.
        New field marktarget, CHUNKSIZE.
 
Cheers,
Guilhem.

--------------030509000203080209030908
Content-Type: text/plain;
 name="buf_patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="buf_patch"

Index: java/io/BufferedInputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/BufferedInputStream.java,v
retrieving revision 1.10
diff -u -r1.10 BufferedInputStream.java
--- java/io/BufferedInputStream.java	22 Jan 2002 22:26:59 -0000	1.10
+++ java/io/BufferedInputStream.java	6 Mar 2004 18:29:28 -0000
@@ -103,6 +103,19 @@
   protected int marklimit = 0;
 
   /**
+   * This is the maximum size we have to allocate for the mark buffer.
+   * This number may be huge (Integer.MAX_VALUE). The class will continue
+   * to allocate new chunks (specified by <code>CHUNKSIZE</code>) until the
+   * the size specified by this field is achieved.
+   */
+  protected int marktarget = 0;
+
+  /**
+   * This is the number of bytes to allocate to reach marktarget.
+   */
+  static final protected int CHUNKSIZE = 1024;
+
+  /**
    * This method initializes a new <code>BufferedInputStream</code> that will
    * read from the specified subordinate stream with a default buffer size
    * of 2048 bytes
@@ -183,7 +196,9 @@
    */
   public synchronized void mark(int readlimit)
   {
-    marklimit = readlimit;
+    marktarget = marklimit = readlimit;
+    if (marklimit > CHUNKSIZE)
+	marklimit = CHUNKSIZE;
     markpos = pos;
   }
 
@@ -337,13 +352,16 @@
 	pos -= markpos;
 	markpos = 0;
       }
-    else if (marklimit >= buf.length)	// BTW, markpos == 0
+    else if (marktarget >= buf.length && marklimit < marktarget)	// BTW, markpos == 0
       {
 	// Need to grow the buffer now to have room for marklimit bytes.
 	// Note that the new buffer is one greater than marklimit.
 	// This is so that there will be one byte past marklimit to be read
 	// before having to call refill again, thus allowing marklimit to be
 	// invalidated.  That way refill doesn't have to check marklimit.
+	marklimit += CHUNKSIZE;
+	if (marklimit >= marktarget)
+	  marklimit = marktarget;
 	byte[] newbuf = new byte[marklimit + 1];
 	System.arraycopy(buf, 0, newbuf, 0, count);
 	buf = newbuf;

--------------030509000203080209030908--

--------------enig9B0E912A632C31E0F760DB8B
Content-Type: application/pgp-signature

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

iD8DBQFAShlYWRk4qbNiTwgRAktJAJ4yL4PBEnKak4sqP5G9ZRJ4X5pOJwCfVD++
jhSY9yYkenn63i7d77/c6Q0=
=+QYa
-----END PGP SIGNATURE-----

--------------enig9B0E912A632C31E0F760DB8B--


--------------080008010705060207030104--

--------------enig989CB68296A70F1A52FE5DF4
Content-Type: application/pgp-signature

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

iD8DBQFATLKnWRk4qbNiTwgRAj01AJ45uVJf7G/+N1vEsvSS29D0gb3KCACfVOrK
RZV2cshyMu/UE/aQl7hal1A=
=8CvL
-----END PGP SIGNATURE-----

--------------enig989CB68296A70F1A52FE5DF4--




From MAILER-DAEMON Wed Mar 10 22:09:10 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1GPC-0000wH-K8
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 21:58:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0Nnw-0005HH-CO
	for classpath@gnu.org; Mon, 08 Mar 2004 11:40:36 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0NnN-00056Q-Q5
	for classpath@gnu.org; Mon, 08 Mar 2004 11:40:33 -0500
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B0NnM-00054O-Mp
	for classpath@gnu.org; Mon, 08 Mar 2004 11:40:00 -0500
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by mx20.gnu.org with esmtp (Exim 4.30) id 1B0NV3-0008Qf-SF
	for classpath@gnu.org; Mon, 08 Mar 2004 11:21:05 -0500
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1B0NUN-00087M-00
	for <classpath@gnu.org>; Mon, 08 Mar 2004 17:20:23 +0100
Received: from data ([139.19.90.238] helo=mpi-sb.mpg.de)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B0NUK-00086c-00; Mon, 08 Mar 2004 17:20:20 +0100
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i28GKKLT001608;
	Mon, 8 Mar 2004 17:20:20 +0100 (MET)
Message-ID: <404C9D41.6070208@kaffe.org>
Date: Mon, 08 Mar 2004 17:20:17 +0100
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040218
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Archie Cobbs <archie@dellroad.org>
References: <200403042219.i24MJPMN002352@arch20m.dellroad.org>
In-Reply-To: <200403042219.i24MJPMN002352@arch20m.dellroad.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>, Sascha Brawer <brawer@dandelis.ch>
Subject: Re: 0.08 NEWS
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 16:40:37 -0000

Archie Cobbs wrote:
> Sascha Brawer wrote:
> 
>>for the forthcoming release 0.08, we'll need a NEWS entry. Based on the
>>current NEWS file and my own bug fixes, I'd propose to start with the
>>following; please send your additions.
> 
> 
> I've filed a couple of bugs which should be easy to fix but
> have not been. It would be nice to get them fixed for 0.08.
> If somebody gives me CVS write access I'll do it :-)
> 
>     6938 SystemClassLoader ignores java.class.path property for classfiles
>     6967 ZipFile() constructor should verify ZIP file signature
>     7084 Runtime.nativeLoad() needs a ClassLoader parameter 
> 
> #6938 is the most important but potentiall the most "dangerous" to fix.
> 
> By the way, how come everyone else isn't complaining about #6938?
> Why am I the only one who notices it? Does everybody else have a
> bootstrap class path that contains the java class path as a subset?

We haven"t merged the VMClassLoader code from GNU CLasspath, and are 
using our own code in Kaffe.

cheers,
dalibor topic



From MAILER-DAEMON Wed Mar 10 22:17:21 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1GhF-0004HV-3i
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:17:21 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0Pvr-00037D-8z
	for classpath@gnu.org; Mon, 08 Mar 2004 13:56:55 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0Ps2-0002Mr-Hi
	for classpath@gnu.org; Mon, 08 Mar 2004 13:53:30 -0500
Received: from [62.59.194.227] (helo=mx.tryllian.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0Pr3-00020s-8y
	for classpath@gnu.org; Mon, 08 Mar 2004 13:51:57 -0500
Received: from localhost (localhost [127.0.0.1])
	by mx.tryllian.com (Postfix) with ESMTP
	id 3B98F93C13; Mon,  8 Mar 2004 19:51:45 +0100 (CET)
Received: from mx.tryllian.com ([62.59.194.227]) by localhost (mx.tryllian.com
	[127.0.0.1]) (amavisd-new) with ESMTP id 31800-07;
	Mon, 8 Mar 2004 19:51:44 -0000 (CET)
Received: by mx.tryllian.com (Postfix, from userid 500)
	id 918DF93C44; Mon,  8 Mar 2004 19:51:44 +0100 (CET)
Received: from dogx200-015.intra.tryllian.net (office.tryllian.com
	[62.59.194.226]) by mx.tryllian.com (Postfix) with ESMTP
	id 2237893C13; Mon,  8 Mar 2004 19:51:32 +0100 (CET)
From: Mark Wielaard <mark@klomp.org>
To: Dalibor Topic <robilad@kaffe.org>
In-Reply-To: <404C8931.8030004@kaffe.org>
References: <404C8931.8030004@kaffe.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 (1.0.8-11) 
Date: 08 Mar 2004 19:51:35 +0100
Message-Id: <1078771895.1257.112.camel@dogx200-015>
Mime-Version: 1.0
X-Virus-Scanned: by amavisd-new amavisd-new-20020630
Cc: GNU Classpath <classpath@gnu.org>, mailing list kaffe <kaffe@kaffe.org>
Subject: Re: Current unsynced patches between kaffe and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 18:56:58 -0000

Hi Dalibor,

On Mon, 2004-03-08 at 15:54, Dalibor Topic wrote:
> That's about it. I'll check in some small stuff (n, m, g, f). The text 
> changes should be synchronized between Michael Koch and Guilhem, the 
> networking changes may need more work before they are ready for GNU 
> Classpath.

Thanks for the list! Please check in the small stuff you mentioned (I am
embarrassed to see one of my own patches not being in GNU Classpath...)
But please CC me the patch/diff when you do. And please send me an email
when you are done. The classpath mailinglist seems to have a delay of
48+ hours so it is not very useful for coordinating the release. I do
finally want to make a test-release tonight though.

Cheers,

Mark




From MAILER-DAEMON Wed Mar 10 22:19:51 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1GLM-0000BW-3t
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 21:54:44 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0MaF-0001A0-DW
	for classpath@gnu.org; Mon, 08 Mar 2004 10:22:23 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0MZY-0000j3-RH
	for classpath@gnu.org; Mon, 08 Mar 2004 10:22:13 -0500
Received: from [209.225.28.205] (helo=mxsf05.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0MYZ-0008T0-6l
	for classpath@gnu.org; Mon, 08 Mar 2004 10:20:39 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf05.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id
	i28FF8nD078907; Mon, 8 Mar 2004 10:15:09 -0500 (EST)
	(envelope-from archie@dellroad.org)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id JAA13490;
	Mon, 8 Mar 2004 09:13:51 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i28FDosw006939; 
	Mon, 8 Mar 2004 09:13:50 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i28FDo3o006938;
	Mon, 8 Mar 2004 09:13:50 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403081513.i28FDo3o006938@arch20m.dellroad.org>
In-Reply-To: <1078692088.1736.27.camel@elsschot.wildebeest.org>
To: Mark Wielaard <mark@klomp.org>
Date: Mon, 8 Mar 2004 09:13:50 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Runtime.exec() implementation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 15:24:10 -0000

Mark Wielaard wrote:
> > I wrote an implementation of Runtime.exec() (including a new class
> > java.lang.VMProcess which extends java.lang.Process and native code)
> > for JC. This can be easily merged into Classpath if people want it.
> > It seems like a pretty glaring omission.
> > 
> > This uses the usual Unix functions of fork(), exec(), waitpid(), etc.
> > and should be as portable as the existing native code.  I'd have to
> > rewrite my JCNI native code in JNI but that would be easy.
> > 
> > Let me know if people are interested.
> 
> Yes! Very much interested.
> If it can be expressed in standard JNI and a C/GNU/Posix like
> implementation is possible then we would love to provide it with GNU
> Classpath. Since almost every VM seems to provide this itself already it
> never seemed like a high priority, but it is very much wanted to make
> GNU Classpath itself more complete.

Great, this will make my life a little easier too :-) Should be able
to port it over in the next week or two.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Wed Mar 10 22:20:41 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1FtE-0002zh-1y
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 21:25:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0FZP-0004g7-KL
	for classpath@gnu.org; Mon, 08 Mar 2004 02:53:03 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0FZL-0004dv-1q
	for classpath@gnu.org; Mon, 08 Mar 2004 02:53:00 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0FZK-0004dH-Bi
	for classpath@gnu.org; Mon, 08 Mar 2004 02:52:58 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B0FYx-0008OO-00; Mon, 08 Mar 2004 08:52:35 +0100
From: Mark Wielaard <mark@klomp.org>
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <200403042219.i24MJPMN002352@arch20m.dellroad.org>
References: <200403042219.i24MJPMN002352@arch20m.dellroad.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-anlvDNUiQu1iIZd9hURu"
Message-Id: <1078732369.1736.71.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Mon, 08 Mar 2004 08:52:49 +0100
Cc: GNU Classpath <classpath@gnu.org>, Sascha Brawer <brawer@dandelis.ch>
Subject: Re: 0.08 NEWS
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 07:53:05 -0000


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

Hi,

On Thu, 2004-03-04 at 23:19, Archie Cobbs wrote:
> I've filed a couple of bugs which should be easy to fix but
> have not been. It would be nice to get them fixed for 0.08.
> If somebody gives me CVS write access I'll do it :-)

Thanks. I will gladly take you up on that offer! I see you already have
paperwork on file with the FSF for all your past and future work so all
I need is your savannah account (which I assume is archie172). Please
send me a private (preferably signed) email and I will make you a
developer of the savannah classpath project.

Sadly communication about what to fix before 0.08 has been difficult
because the mailinglist seems to have a delay of 48+ hours currently :(
I have done most things I wanted for 0.08 (except get the
ServerSocket.accept() fix for jamVM in), but haven't made any (test)
release yet.

> By the way, how come everyone else isn't complaining about #6938?
> Why am I the only one who notices it? Does everybody else have a
> bootstrap class path that contains the java class path as a subset?

As far as I have seen most VMs have their own System/Application
classloader. The SableVM developers were also rewriting it (to make sure
ProtectionDomains were set correctly). So I guess everybody works around
it instead of collaborating on the version in CVS. Probably only the Orp
developers used this class as is for their VM.

Cheers,

Mark

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

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

iD8DBQBATCZQxVhZCJWr9QwRAnyrAJ9FW6me3yAysv8O/4pdfiWhYeUmEQCeLhUh
C7oAmOQrcSDBIIDiLg1khJE=
=DSW6
-----END PGP SIGNATURE-----

--=-anlvDNUiQu1iIZd9hURu--




From MAILER-DAEMON Wed Mar 10 22:30:11 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1Gte-0006ZL-Lc
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:30:10 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0RtL-0005do-Qp
	for classpath@gnu.org; Mon, 08 Mar 2004 16:02:27 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0Rsl-0005I6-SD
	for classpath@gnu.org; Mon, 08 Mar 2004 16:02:23 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0RrN-0004xH-21
	for classpath@gnu.org; Mon, 08 Mar 2004 16:00:25 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 4563962249; Mon,  8 Mar 2004 21:00:20 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 69990-05; Mon,  8 Mar 2004 21:00:19 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-91-27.adsl.solnet.ch [212.41.91.27])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 39C0262223; Mon,  8 Mar 2004 21:00:18 +0000 (GMT)
Received: from nbprr (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id 6F9E73EB8F; Mon,  8 Mar 2004 21:59:00 +0100 (CET)
Date: Mon, 08 Mar 2004 22:01:05 +0100
From: Patrik Reali <reali@acm.org>
To: David Holmes <dholmes@dltech.com.au>
Message-ID: <8124642.1078783265@[192.168.1.3]>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCIEGMDOAA.dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCIEGMDOAA.dholmes@dltech.com.au>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Virus-Scanned: by SolNet
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 21:02:29 -0000



--On Freitag, 5. M=E4rz 2004 08:13 +1000 David Holmes =
<dholmes@dltech.com.au>=20
wrote:
> As previously mentioned I think VMClass would be better defined as a
> helper with static methods rather than a shadow object attached to each
> Class instance.

>From my own experience, I can only agree with this...

(not much to say, but I really wanted to say it)


-Patrik



From MAILER-DAEMON Wed Mar 10 22:36:49 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1H05-00084z-68
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:36:49 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0TaU-0007f9-DR
	for classpath@gnu.org; Mon, 08 Mar 2004 17:51:06 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0TaO-0007cH-Qw
	for classpath@gnu.org; Mon, 08 Mar 2004 17:51:02 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0TWN-0006zm-DL
	for classpath@gnu.org; Mon, 08 Mar 2004 17:46:51 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B0TVx-0001j0-00; Mon, 08 Mar 2004 23:46:25 +0100
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <87u1148nel.fsf@fleche.redhat.com>
References: <28526579.1078244591@[10.40.10.54]>
	<200403031001.i23A1uGf023110@pigsty.cats.cradle>
	<87u1148nel.fsf@fleche.redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-UiE8Fm9hHj/BhaO5nC4q"
Message-Id: <1078785999.1358.67.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Mon, 08 Mar 2004 23:46:39 +0100
Cc: classpath@gnu.org, Chris Gray <chris.gray@kiffer.be>
Subject: Re: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 22:51:08 -0000


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

Hi,

On Thu, 2004-03-04 at 19:42, Tom Tromey wrote:
> Chris> Maybe we should write an open letter to the open letter writers?
>=20
> If only we had some useful distribution channel.  Unfortunately I
> think it is too late to give a JavaOne talk.

It might be a good idea to express some of our concerns and hopes again
publicly to people. Although I doubt people who really care don't know
what the issues are with the way Sun and the JCP keep the main
proprietary implementation and "standards" under control and out of
reach of any free software developer. Luckily as you said we don't
really need Sun anymore. And I actually got asked on irc if we really
have to bother responding and doing "marketing" of our position instead
of producing more free code and making sure Classpath gets finished :)

That is btw what Bruce Perens told Dalibor and Chris when they explained
the open letters vs our free runtime environments.
He literally said: "Keep working on GNU Classpath."
http://lists.userlinux.com/pipermail/discuss/2004-February/004203.html

> It would be great to get our desires on the agenda though.  This is
> what Mark was getting at with the "SCSL and FSF" thread a week or so
> ago...

Sorry for not yet following up on that publicly yet. I said two weeks,
but I really want to get the 0.08 release out of the way first so I can
really concentrate on it (any day now!).

I actually started a discussion already about the way util.concurrent ->
java.util.concurrent (JSR166) worked and how/why cooperation with the
free systems didn't work out. This is really an interesting case since
Doug Lea who was the spec lead for that group really worked hard to do
it all in the open and in a way that the results would hopefully also be
usable for things outside the JCP/Sun JDK1.5 implementation.
http://altair.cs.oswego.edu/pipermail/concurrency-interest/2004-March/00088=
8.html
(I also emailed with Doug in private about it already and in the past
both of us emailed Sun/FSF legal to try to work something out.)

Hope to turn some of the lessons learned from that into guidelines for
working with/without the JCP on standards. And analyze how/why the
JSR166 group and the results (public domain TCK!) was clearly so much
different (better) from much of the other JSR spec groups but still
didn't connect with the Free Software world.

We did drop the ball a bit in this case, since it is the closest I have
ever seen a JSR spec group work inside the JCP, but with free software
in mind. The licensing issues (interaction Public Domain/SCSL code
mixing) and the fact that some core results depended on one particular
proprietary VM implementation and the use of new language features, for
which no free implementations existed yet, did make it hard for us to
cooperate. Looking back we could have tried harder though. But it is
also a matter of trust, and I think some of us didn't really trust that
the results would be usable in free implementations in the end.

I am interested in other experiences of people who have (tried to) work
inside the JCP system on standards and/or implementations that could be
used with our free software systems. If you have stories about that
please email me or the list about it.

Cheers,

Mark

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

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

iD8DBQBATPfOxVhZCJWr9QwRAgMGAJwPGwXu9p2rihkxFOx9VSMjftdSMgCglKV+
0/zEgYDUF4UGNpGOXgQhOL0=
=Evli
-----END PGP SIGNATURE-----

--=-UiE8Fm9hHj/BhaO5nC4q--




From MAILER-DAEMON Wed Mar 10 22:46:44 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1Gsp-0006Ps-Ma
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:29:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0Rgt-0000d8-De
	for classpath@gnu.org; Mon, 08 Mar 2004 15:49:35 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0RgE-0008AS-QN
	for classpath@gnu.org; Mon, 08 Mar 2004 15:49:27 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0RgB-00083b-C6
	for classpath@gnu.org; Mon, 08 Mar 2004 15:48:51 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i28IKIOv021290;
	Mon, 8 Mar 2004 13:41:04 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004030813380920820 ; Mon, 08 Mar 2004 13:38:09 -0500
Received: from 57.28.internet.uqam.ca (57.28.internet.uqam.ca [132.208.28.57])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i287YLdx019538; Mon, 8 Mar 2004 02:34:21 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
References: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
Content-Type: text/plain; charset=iso-8859-2
Organization: Debian GNU/Linux http://www.debian.org
Message-Id: <1078731259.14655.1486.camel@gadek.homelinux.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Mon, 08 Mar 2004 02:34:20 -0500
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by anis.telecom.uqam.ca id
	i28IKIOv021290
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Runtime.exec() implementation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 20:49:38 -0000

W li=B6cie z czw, 04-03-2004, godz. 11:00, Archie Cobbs pisze:=20
> FYI,
>=20
> I wrote an implementation of Runtime.exec() (including a new class
> java.lang.VMProcess which extends java.lang.Process and native code)
> for JC. This can be easily merged into Classpath if people want it.
> It seems like a pretty glaring omission.
>=20
> This uses the usual Unix functions of fork(), exec(), waitpid(), etc.
> and should be as portable as the existing native code.  I'd have to
> rewrite my JCNI native code in JNI but that would be easy.

I think sure, it'd be very good idea, especially as AFAIK GNU CP has no
working implementation. I glanced thru your code and it seems nice and
clean, however it's also JCVM-specific (yet).

I also wonder, but I got impression that some of this stuff could be
done in Java, not natively, which might save a lot of troubles
when trying to make it work on variety of VMs, which ex. might not
implement all of the JNI functions.

IMHO it'd be best if the native part was as dumb, simple and small as
possible: fed with possibly ready to use data, doing only minimal job
and returning error codes based on which Java counterpart could take an
action (like throwin an Exception, etc.). That would assume very little
about VM's capabilities.

What do you think?

				Grzegorz B. Prokopski

--=20
Grzegorz B. Prokopski <gadek@debian.org>
Debian GNU/Linux      http://www.debian.org
SableVM - LGPLed JVM  http://www.sablevm.org
Why SableVM ?!?       http://devel.sablevm.org/wiki/WhySableVM




From MAILER-DAEMON Wed Mar 10 23:13:12 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1HZE-0005xN-GM
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 23:13:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0ePN-0003R5-Ms
	for classpath@gnu.org; Tue, 09 Mar 2004 05:24:21 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0eOp-000395-ND
	for classpath@gnu.org; Tue, 09 Mar 2004 05:24:20 -0500
Received: from [64.4.37.102] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0eOo-00037k-Tx
	for classpath@gnu.org; Tue, 09 Mar 2004 05:23:47 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Tue, 9 Mar 2004 02:23:42 -0800
Received: from 195.224.225.50 by by10fd.bay10.hotmail.msn.com with HTTP;
	Tue, 09 Mar 2004 10:23:41 GMT
X-Originating-IP: [195.224.225.50]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: jens.lehmann@goldmail.de, classpath@gnu.org
Bcc: 
Date: Tue, 09 Mar 2004 10:23:41 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY10-F102ydQPW6Ft500019ffc@hotmail.com>
X-OriginalArrivalTime: 09 Mar 2004 10:23:42.0072 (UTC)
	FILETIME=[98540780:01C405C0]
Cc: 
Subject: Re: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Mar 2004 10:24:22 -0000

IBM have a number of virtual machines.  Their main virtual machines for AIX, 
Windows (IA32 and IA64), OS390, OS/2 and Linux are done in Hursley, UK.  
These were initially based on Sun's classic (i.e. pre-Hotspot) VM, but 
they've been heavily modified to include new GC, memory management, 
synchronisation, new (assembler) interpreters and JITs.  However, they also 
have J9 originally from OTI, which I believe was written from scratch.

Rob.

----Original Message Follows----
From: Jens Lehmann <jens.lehmann@goldmail.de>
To: classpath@gnu.org
Subject: Re: Free Java, the sequel
Date: Fri, 05 Mar 2004 10:35:42 +0100

Chris Gray wrote:
>On Tuesday 02 March 2004 16:23, Patrik Reali wrote:
>
>>Although I'm pretty sure that everybody already read the articles, here's
>>the sequel of the free java story from slashdot:
>>
>>26 Feb: IBM Offers to Help Sun Open Up Java:
>><http://slashdot.org/article.pl?sid=04/02/26/1532254&mode=thread>
>>
>>27 Feb: Sun Agrees to Talk to IBM over Open Sourcing Java:
>><http://developers.slashdot.org/article.pl?sid=04/02/27/1610245&mode=thread
>
>
>This is bizarre.  IBM already has an open source version of Java (JikesVM), 
>but perhaps Rod Smith is not aware of that.

The question is, if IBM is allowed to open source their Java implementation. 
According to some articles they are not allowed to do this. Does anyone know 
why? Do they have Sun code in their JRE? Even if this is the case, they 
could still hand their existing code over to classpath, if they want.

Apparently Sun isn't taking IBM's suggestions very seriously yet:

http://www.linuxworld.com/story/43913.htm
http://www.newsforge.com/programming/04/02/28/0022246.shtml

You never know what Sun does next. Maybe an open letter to IBM could help 
classpath.(?) Open letters are quite common these days.

Jens




_______________________________________________
Classpath mailing list
Classpath@gnu.org
http://mail.gnu.org/mailman/listinfo/classpath

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger




From MAILER-DAEMON Wed Mar 10 23:16:04 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1HEI-0002ky-0t
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:51:30 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0Z9W-0000ZH-Ib
	for classpath@gnu.org; Mon, 08 Mar 2004 23:47:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0Z8z-0000Ly-PT
	for classpath@gnu.org; Mon, 08 Mar 2004 23:47:36 -0500
Received: from [209.225.28.216] (helo=mxsf16.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0Z8z-0000Lv-Hl
	for classpath@gnu.org; Mon, 08 Mar 2004 23:47:05 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf16.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id
	i294j3MQ016165; Mon, 8 Mar 2004 23:45:03 -0500 (EST)
	(envelope-from archie@dellroad.org)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id WAA20825;
	Mon, 8 Mar 2004 22:39:33 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i294dXxS001340; 
	Mon, 8 Mar 2004 22:39:33 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i294dXFG001339;
	Mon, 8 Mar 2004 22:39:33 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403090439.i294dXFG001339@arch20m.dellroad.org>
In-Reply-To: <87ad2q20l2.fsf@fleche.redhat.com>
To: tromey@redhat.com
Date: Mon, 8 Mar 2004 22:39:33 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Runtime.exec() implementation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Mar 2004 04:47:39 -0000

Tom Tromey wrote:
> Archie> I wrote an implementation of Runtime.exec() (including a new class
> Archie> java.lang.VMProcess which extends java.lang.Process and native code)
> Archie> for JC. This can be easily merged into Classpath if people want it.
> Archie> It seems like a pretty glaring omission.
> 
> I think that would be excellent.
> 
> I'm interested in seeing your implementation, in particular whether it
> suffers from the problems described here:
> 
>     http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11801

My implementation would have the same problem regarding problem #2
(only on Linux of course; FreeBSD's N:1 threading would not have
that problem). It also doesn't reap a child killed via destroy() but
that should be easy to fix.

However for #1 I was under the impression that the correct behavior
in the case where exitValue() is called before waitFor() is to throw
an IllegalThreadStateException so that's what my code does; see:

  http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Process.html#exitValue()

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Wed Mar 10 23:18:58 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1H0J-00087T-Ef
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:37:03 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0Tb2-0007qf-EG
	for classpath@gnu.org; Mon, 08 Mar 2004 17:51:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0TaU-0007f5-8m
	for classpath@gnu.org; Mon, 08 Mar 2004 17:51:37 -0500
Received: from [207.203.42.3] (helo=STVAVAPPL1.BHMSTV)
	by monty-python.gnu.org with smtp (Exim 4.30) id 1B0TYP-0007Eo-0w
	for classpath@gnu.org; Mon, 08 Mar 2004 17:48:57 -0500
Received: from unknown(10.104.180.64) by STVAVAPPL1.BHMSTV via csmap 
	id 510af076_7151_11d8_8c7e_00304811e8c8_31155;
	Mon, 08 Mar 2004 16:38:27 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i28MlR9G042940; 
	Mon, 8 Mar 2004 16:47:27 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i28MlRFV042939;
	Mon, 8 Mar 2004 16:47:27 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403082247.i28MlRFV042939@arch20m.dellroad.org>
In-Reply-To: <1078731259.14655.1486.camel@gadek.homelinux.org>
To: "Grzegorz B. Prokopski" <gadek@debian.org>
Date: Mon, 8 Mar 2004 16:47:27 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Runtime.exec() implementation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 22:51:42 -0000

Grzegorz B. Prokopski wrote:
> > I wrote an implementation of Runtime.exec() (including a new class
> > java.lang.VMProcess which extends java.lang.Process and native code)
> > for JC. This can be easily merged into Classpath if people want it.
> > It seems like a pretty glaring omission.
> > 
> > This uses the usual Unix functions of fork(), exec(), waitpid(), etc.
> > and should be as portable as the existing native code.  I'd have to
> > rewrite my JCNI native code in JNI but that would be easy.
> 
> I think sure, it'd be very good idea, especially as AFAIK GNU CP has no
> working implementation. I glanced thru your code and it seems nice and
> clean, however it's also JCVM-specific (yet).
> 
> I also wonder, but I got impression that some of this stuff could be
> done in Java, not natively, which might save a lot of troubles
> when trying to make it work on variety of VMs, which ex. might not
> implement all of the JNI functions.

Yes, I agree the native part should be as minimal as possible. The only
bit that looks like it can be moved up into Java code is the call
to dirFile.toString() near the beginning of Runtime.execInternal()...
did you have more in mind, and if so how would you move it into Java?

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Wed Mar 10 23:23:02 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1HEc-0002qM-OM
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:51:50 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0ZLE-0004nG-MX
	for classpath@gnu.org; Mon, 08 Mar 2004 23:59:44 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0ZKg-0004TY-5M
	for classpath@gnu.org; Mon, 08 Mar 2004 23:59:42 -0500
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0ZKf-0004Sq-NQ
	for classpath@gnu.org; Mon, 08 Mar 2004 23:59:09 -0500
Received: from [10.0.0.2] (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i294x3Sm027122; Mon, 8 Mar 2004 23:59:04 -0500 (EST)
From: "C. Brian Jones" <cbj@gnu.org>
To: Jens Lehmann <jens.lehmann@goldmail.de>
In-Reply-To: <c29hkp$1pg$1@sea.gmane.org>
References: <28526579.1078244591@[10.40.10.54]>
	<200403031001.i23A1uGf023110@pigsty.cats.cradle>
	<c29hkp$1pg$1@sea.gmane.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Mvq7UE6po46S0Mr1u5e8"
Message-Id: <1078808342.14535.24.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Mon, 08 Mar 2004 23:59:03 -0500
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: classpath@gnu.org
Subject: Re: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Mar 2004 04:59:45 -0000


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

On Fri, 2004-03-05 at 04:35, Jens Lehmann wrote:
> Chris Gray wrote:
> >=20
> >=20
> > This is bizarre.  IBM already has an open source version of Java (Jikes=
VM),=20
> > but perhaps Rod Smith is not aware of that.
>=20
> The question is, if IBM is allowed to open source their Java=20
> implementation.=20

Their AIX/Linux/etc. JVM is Sun's source code ported to their operating
systems.  In some cases there is no port, the only change is that
instead of using hotspot IBM uses instead their own JIT technology.  The
licensing must be fairly strict, otherwise they would have not purchased
the other clean-room Java implementation that the JikesRVM initially
used before using Classpath. =20

I'm of the opinion that no one is making a great deal of money off of
the work one puts forth on the core language and libraries.  It's like
spending money on creating a new C compiler when what you really want to
do is build a wireless router.  That is sort of how I became involved
with Classpath actually.  I wanted to use Java but at every turn I was
greeted with bugs and problems I was not allowed to fix, and even if I
did I couldn't give my friends those fixes so my applications would work
on their systems.

Brian

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

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

iD8DBQBATU8VcEcmdY33uzYRAubXAJ9RSlyr+3l+BlY7CXzCKMq8NSvU6ACeP01+
+/Fw9yhSLDWhA3WJVT0TemY=
=2dz+
-----END PGP SIGNATURE-----

--=-Mvq7UE6po46S0Mr1u5e8--




From MAILER-DAEMON Wed Mar 10 23:26:17 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1HBH-00022d-SE
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:48:23 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0XYp-0003PY-1V
	for classpath@gnu.org; Mon, 08 Mar 2004 22:05:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0XYH-0003Gw-W3
	for classpath@gnu.org; Mon, 08 Mar 2004 22:05:37 -0500
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0XYH-0003Dg-9S
	for classpath@gnu.org; Mon, 08 Mar 2004 22:05:05 -0500
Received: from fleche.redhat.com (tf0229.peakpeak.com [204.144.239.229])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id UAA11790;
	Mon, 8 Mar 2004 20:04:44 -0700
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 626794F82A2; Mon,  8 Mar 2004 19:52:57 -0700 (MST)
To: Archie Cobbs <archie@dellroad.org>
References: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: I'm reporting for duty as a modern person.  I want to do
	the Latin Hustle now!
Date: 08 Mar 2004 19:52:57 -0700
In-Reply-To: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
Message-ID: <87ad2q20l2.fsf@fleche.redhat.com>
Lines: 17
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: Runtime.exec() implementation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Mar 2004 03:05:40 -0000

>>>>> "Archie" == Archie Cobbs <archie@dellroad.org> writes:

Archie> I wrote an implementation of Runtime.exec() (including a new class
Archie> java.lang.VMProcess which extends java.lang.Process and native code)
Archie> for JC. This can be easily merged into Classpath if people want it.
Archie> It seems like a pretty glaring omission.

I think that would be excellent.

I'm interested in seeing your implementation, in particular whether it
suffers from the problems described here:

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11801

We've been meaning to rewrite this stuff in libgcj for a while...

Tom



From MAILER-DAEMON Wed Mar 10 23:30:23 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1Gs6-0006N8-Fi
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:28:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0RUV-0002C7-Ap
	for classpath@gnu.org; Mon, 08 Mar 2004 15:36:47 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0RRU-000195-Qp
	for classpath@gnu.org; Mon, 08 Mar 2004 15:34:13 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0RRT-00018l-UX
	for classpath@gnu.org; Mon, 08 Mar 2004 15:33:40 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i28IAHLT016158;
	Mon, 8 Mar 2004 13:12:52 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004030813135517361 ; Mon, 08 Mar 2004 13:13:55 -0500
Received: from 57.28.internet.uqam.ca (57.28.internet.uqam.ca [132.208.28.57])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2862Cdx027985; Mon, 8 Mar 2004 01:02:13 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <404BA672.2050102@debian.org>
References: <4044AE43.9030107@debian.org>
	<1078251958.5560.66.camel@gadek.homelinux.org>
	<40466666.1020409@debian.org>
	<1078376185.5560.327.camel@gadek.homelinux.org>
	<40484ECC.3010701@debian.org>
	<1078542481.14655.57.camel@gadek.homelinux.org>
	<404BA672.2050102@debian.org>
Content-Type: text/plain; charset=ISO-8859-2
Organization: Debian GNU/Linux http://www.debian.org
Message-Id: <1078725730.14655.1443.camel@gadek.homelinux.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Mon, 08 Mar 2004 01:02:11 -0500
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by anis.telecom.uqam.ca id
	i28IAHLT016158
Cc: Stefan Gybas <sgybas@debian.org>
Subject: DeflaterOutputStream.deflate [was: Re: Problems with SableVM and
	Ant]
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 20:36:50 -0000

Cc:ing GNU Classpath ML.

May be somebody would be willing to help squashing this (apparently)
Classpath's bug? Or maybe it's been fixed in 0.08 already? Don't know.

W li=B6cie z nie, 07-03-2004, godz. 17:47, Stefan Gybas pisze:=20
> I have just uploaded a new version of libant1.5-java which now partly=20
> works with SableVM. I have added the boot class path to the call to the=
=20
> Java compiler so building classes with Jikes now works.

Thanks a lot, indeed compilation now works well :-)

> The main problem with SableVM and Ant is now that creating JARs does no=
t=20
> work. Ant has its own implementation of a ZipOutputStream (in=20
> org.apache.tools.zip) which is used to create .zip and .jar archives=20
> which consumes all CPU power but does not create the JAR.

Once upon a time SableVM was contributed a nice patch for stack/trace
dump. All one has to do is to 'kill -SIGQUIT $PID'. Here's what I got:

(DeflaterOutputStream.java:91)=20
java/util/zip/DeflaterOutputStream.deflate  =20
(ZipOutputStream.java:284)=20
org/apache/tools/zip/ZipOutputStream.closeEntry  =20
(ZipOutputStream.java:323)=20
org/apache/tools/zip/ZipOutputStream.putNextEntry  =20
(Zip.java:869)  org/apache/tools/ant/taskdefs/Zip.zipDir  =20
(Zip.java:1025)  org/apache/tools/ant/taskdefs/Zip.addParentDirs  =20
(Zip.java:575)  org/apache/tools/ant/taskdefs/Zip.addResources  =20
(Zip.java:415)  org/apache/tools/ant/taskdefs/Zip.execute  =20
(Task.java:341)  org/apache/tools/ant/Task.perform  =20
(Target.java:309)  org/apache/tools/ant/Target.execute  =20
(Target.java:336)  org/apache/tools/ant/Target.performTasks  =20
(Project.java:1339)  org/apache/tools/ant/Project.executeTarget  =20
(Ant.java:397)  org/apache/tools/ant/taskdefs/Ant.execute  =20
(CallTarget.java:143)=20
org/apache/tools/ant/taskdefs/CallTarget.execute  =20
(Task.java:341)  org/apache/tools/ant/Task.perform  =20
(Target.java:309)  org/apache/tools/ant/Target.execute  =20
(Target.java:336)  org/apache/tools/ant/Target.performTasks  =20
(Project.java:1339)  org/apache/tools/ant/Project.executeTarget  =20
(Project.java:1255)  org/apache/tools/ant/Project.executeTargets  =20
(Main.java:609)  org/apache/tools/ant/Main.runBuild  =20
(Main.java:196)  org/apache/tools/ant/Main.start  =20
(Main.java:235)  org/apache/tools/ant/Main.main  =20
(VirtualMachine.java:-1)  java/lang/VirtualMachine.invokeMain  n
(VirtualMachine.java:88)  java/lang/VirtualMachine.main  =20

The interesting thing is that
java/util/zip/DeflaterOutputStream is GNU Classpath's class.
This is not even included in ANT's source.

If I try to send SIGQUIT a few times, alternatively I see such top
of the stack:

(DeflaterEngine.java:694)  java/util/zip/DeflaterEngine.needsInput  =20
(Deflater.java:307)  java/util/zip/Deflater.needsInput  =20
(DeflaterOutputStream.java:91)=20
java/util/zip/DeflaterOutputStream.deflate  =20
....

So I guess it's running in circles somewhere inside the deflate or
closeEntry method.

Any ideas?

				Grzegorz B. Prokopski

--=20
Grzegorz B. Prokopski <gadek@debian.org>
Debian GNU/Linux      http://www.debian.org
SableVM - LGPLed JVM  http://www.sablevm.org
Why SableVM ?!?       http://devel.sablevm.org/wiki/WhySableVM




From MAILER-DAEMON Wed Mar 10 23:35:07 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1H4U-0000i6-Em
	for mharc-classpath@gnu.org; Wed, 10 Mar 2004 22:41:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0UXM-0007dl-Rb
	for classpath@gnu.org; Mon, 08 Mar 2004 18:51:56 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0UWj-0007Ds-6c
	for classpath@gnu.org; Mon, 08 Mar 2004 18:51:48 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B0UWi-0007C4-Kh
	for classpath@gnu.org; Mon, 08 Mar 2004 18:51:16 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i28NsOGf047272;
	Tue, 9 Mar 2004 00:54:25 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403082354.i28NsOGf047272@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris.gray@kiffer.be>
To: Mark Wielaard <mark@klomp.org>, tromey@redhat.com
Date: Tue, 9 Mar 2004 00:54:24 +0100
X-Mailer: KMail [version 1.3]
References: <28526579.1078244591@[10.40.10.54]>
	<87u1148nel.fsf@fleche.redhat.com>
	<1078785999.1358.67.camel@elsschot.wildebeest.org>
In-Reply-To: <1078785999.1358.67.camel@elsschot.wildebeest.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: classpath@gnu.org
Subject: Re: Free Java, the sequel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 23:51:58 -0000

On Monday 08 March 2004 23:46, Mark Wielaard wrote:
> Hi,
>
> On Thu, 2004-03-04 at 19:42, Tom Tromey wrote:
> > Chris> Maybe we should write an open letter to the open letter writers?
> >
> > If only we had some useful distribution channel.  Unfortunately I
> > think it is too late to give a JavaOne talk.
>
> It might be a good idea to express some of our concerns and hopes again
> publicly to people. Although I doubt people who really care don't know
> what the issues are with the way Sun and the JCP keep the main
> proprietary implementation and "standards" under control and out of
> reach of any free software developer. 

I do doubt it.  Some people who care, like Bruce, now (also) know.  A lot of 
people who care a lot about free software hate Java, because they believe it 
is inherently un-free.  A huge amount of people care, but think Java is 
already free because they can download the JDK from Sun's website.  Just look 
at the follow-ups on /..

> Luckily as you said we don't
> really need Sun anymore. And I actually got asked on irc if we really
> have to bother responding and doing "marketing" of our position instead
> of producing more free code and making sure Classpath gets finished :)
>
> That is btw what Bruce Perens told Dalibor and Chris when they explained
> the open letters vs our free runtime environments.
> He literally said: "Keep working on GNU Classpath."
> http://lists.userlinux.com/pipermail/discuss/2004-February/004203.html
>
> > It would be great to get our desires on the agenda though.  This is
> > what Mark was getting at with the "SCSL and FSF" thread a week or so
> > ago...
>
> Sorry for not yet following up on that publicly yet. I said two weeks,
> but I really want to get the 0.08 release out of the way first so I can
> really concentrate on it (any day now!).
>
> I actually started a discussion already about the way util.concurrent ->
> java.util.concurrent (JSR166) worked and how/why cooperation with the
> free systems didn't work out. This is really an interesting case since
> Doug Lea who was the spec lead for that group really worked hard to do
> it all in the open and in a way that the results would hopefully also be
> usable for things outside the JCP/Sun JDK1.5 implementation.
> http://altair.cs.oswego.edu/pipermail/concurrency-interest/2004-March/00088
 >8.html (I also emailed with Doug in private about it already and in the past
> both of us emailed Sun/FSF legal to try to work something out.)

This reads like a textbook case of why Public Domain is not the right way to 
make free software, even if the concept exists in your jurisdiction (SFAICS 
in the countries where Mark and I and many other developers live, the only 
way for a work to go PD is by the passage of time).  IMO a Reference 
Implementation should have a rather liberal licence - the BSD network stack 
and X11 are good examples - but they need to have _something_ in order to 
avoid this kind of hi-jackjng.

Re-visiting the /. threads after an interval of some weeks, I have the 
impression that there is more awareness now Out There of the existence of 
open-source implementations of (various aspects of) Java. So some progress is 
already being made; I just think that we need to do all we can to capitalise 
on this awareness.  Otherwise, IBM's(*) posturing just serves to bolster the 
illusion that there is only one Java show in town, and it's owned by Sun.

(*) And ESR's for that matter.

Cheers

Chris

-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Thu Mar 11 03:44:31 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1Lnr-0005GO-AF
	for mharc-classpath@gnu.org; Thu, 11 Mar 2004 03:44:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B0Fgc-0000EA-LF
	for classpath@gnu.org; Mon, 08 Mar 2004 03:00:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B0Ffn-0008Bl-4b
	for classpath@gnu.org; Mon, 08 Mar 2004 03:00:10 -0500
Received: from [69.20.13.148] (helo=utopia14.tralfamadore.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0Ffl-0008BC-Dl
	for classpath@gnu.org; Mon, 08 Mar 2004 02:59:37 -0500
Received: from tralfamadore.com
	(lsanca2-ar31-4-33-245-146.lsanca2.dsl-verizon.net [4.33.245.146])
	(authenticated)
	by utopia14.tralfamadore.com (8.11.6/8.11.6) with ESMTP id i287xSF05798;
	Mon, 8 Mar 2004 02:59:28 -0500
Message-ID: <404C2916.5070706@tralfamadore.com>
Date: Mon, 08 Mar 2004 00:04:38 -0800
From: Wes Biggs <wes@tralfamadore.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
	rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1078704046.1736.59.camel@elsschot.wildebeest.org>
In-Reply-To: <1078704046.1736.59.camel@elsschot.wildebeest.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Thu, 11 Mar 2004 03:44:22 -0500
Cc: classpath@gnu.org, Wes Biggs <wes@cacas.org>
Subject: Re: Imported gnu.regexp and java.util.regex wrappers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2004 08:00:32 -0000

Mark Wielaard wrote:

>Hi all,
>
>I finally imported gnu.regexp and added java.util.regex wrappers for it.
>At the moment our gnu.regexp is the same as the original gnu.regexp
>version, except for a few files and added copyright notices.
>
>If this doesn't break things then I want to ship this as is with the
>0.08 release. Then we can see how it works in practice. Some thing to
>consider is that Wes might want to have a separate release of this, then
>we have to think about how to avoid name/classloading-clashes (since the
>integration means it is now part of the core/bootclasspath). Wes, do you
>have ideas about how we can coordinate releases? And/Or do you want to
>make releases from/in combination with new classpath releases?
>  
>
Mark -- thanks again for doing all this.

I don't foresee myself doing any active development on gnu.regexp in the 
near future, so I'd prefer to slave to your changes.  The development 
has been relatively quiet in terms of patches coming in, etc., for the 
last couple of years.  So maybe if you and Dalibor get to a good release 
point for Classpath, I can sync up with your sources at that point and 
do a release on savannah.

Wes



From MAILER-DAEMON Fri Mar 12 06:22:40 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1kkS-0008H2-1A
	for mharc-classpath@gnu.org; Fri, 12 Mar 2004 06:22:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B1kkN-0008Gc-Qg
	for classpath@gnu.org; Fri, 12 Mar 2004 06:22:35 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1kjr-0008Br-Ia
	for classpath@gnu.org; Fri, 12 Mar 2004 06:22:34 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1kfv-0007hg-9b
	for classpath@gnu.org; Fri, 12 Mar 2004 06:18:00 -0500
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Date: Fri, 12 Mar 2004 12:17:45 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADA86@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Query on stacktrace management logic
Thread-Index: AcQHgxd1GqAd+RWyTkSn0DMPBzFCBQAm8fxw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Patrik Reali" <reali@acm.org>,
	"David Holmes" <dholmes@dltech.com.au>
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Mar 2004 11:22:37 -0000

Patrik Reali wrote:
> --On Freitag, 5. M=E4rz 2004 08:13 +1000 David Holmes=20
> <dholmes@dltech.com.au>=20
> wrote:
> > As previously mentioned I think VMClass would be better defined as a
> > helper with static methods rather than a shadow object=20
> attached to each
> > Class instance.
>=20
> >From my own experience, I can only agree with this...
>=20
> (not much to say, but I really wanted to say it)

Since I seem to be the only one that actually wants a VMClass instance, =
maybe we can agree on a slightly different interface. How about keep a =
reference to a VMClass instance in Class, but not calling any instance =
methods on VMClass, but using static methods instead (always passing the =
Class reference along).

Does that make sense?

Regards,
Jeroen



From MAILER-DAEMON Fri Mar 12 12:41:41 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1qfF-0003Wo-Ev
	for mharc-classpath@gnu.org; Fri, 12 Mar 2004 12:41:41 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B1fRg-0007nv-9w
	for classpath@gnu.org; Fri, 12 Mar 2004 00:42:56 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1UNr-0001KH-8E
	for classpath@gnu.org; Thu, 11 Mar 2004 12:54:46 -0500
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1RAL-0007HA-RG
	for classpath@gnu.org; Thu, 11 Mar 2004 09:28:06 -0500
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i2BERmEA011783;
	Fri, 12 Mar 2004 00:27:48 +1000 (EST)
Message-Id: <200403111427.i2BERmEA011783@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: Message from Mark Wielaard <mark@klomp.org> of "Mon,
	08 Mar 2004 08:52:49 +0100."
	<1078732369.1736.71.camel@elsschot.wildebeest.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 12 Mar 2004 00:27:50 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.39
Cc: Sascha Brawer <brawer@dandelis.ch>, crawley@dstc.edu.au,
	GNU Classpath <classpath@gnu.org>
Subject: Re: 0.08 NEWS 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Mar 2004 17:41:39 -0000


Hi Mark,

mark@klomp.org said:
> As far as I have seen most VMs have their own System/Application
> classloader. The SableVM developers were also rewriting it (to make
> sure ProtectionDomains were set correctly). So I guess everybody works
> around it instead of collaborating on the version in CVS. Probably
> only the Orp developers used this class as is for their VM.

Funny you should mention this ...

I've just submitted a patch (via the savannah website) that provides
the VM hooks for obtaining the current protection domain and for setting 
it in the class currently being loaded.

-- Steve





From MAILER-DAEMON Fri Mar 12 15:04:16 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1siX-00072C-8R
	for mharc-classpath@gnu.org; Fri, 12 Mar 2004 14:53:13 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B1siI-000710-PL
	for classpath@gnu.org; Fri, 12 Mar 2004 14:52:58 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1siD-000704-Pe
	for classpath@gnu.org; Fri, 12 Mar 2004 14:52:55 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1sgw-0006or-3L
	for classpath@gnu.org; Fri, 12 Mar 2004 14:51:34 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B1sgn-0007wp-00
	for <classpath@gnu.org>; Fri, 12 Mar 2004 20:51:25 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-K6ZlfxHebIZ3THBA3R0u"
Message-Id: <1079121085.1645.128.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 12 Mar 2004 20:51:25 +0100
Subject: Request to update NEWS file
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Mar 2004 19:53:10 -0000


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

Hi,

It would be nice if people could add a little description to the NEWS
file when something major has been finished. I am updating the NEWS file
now for the 0.08 release and I am afraid I am forgetting lots of
newsworthy things. In the last 100 days since 0.07 we saw 256 commits
(that is 2.5+ each and every day!) so summarizing it is not that easy.
Please help by adding a little thing you were proud of finishing to the
file from time to time.

Thanks,

Mark

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

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

iD8DBQBAUhS8xVhZCJWr9QwRAhrkAKCsv7N5Htr7yQkcN0a7vBDgKz07cgCcCyiq
jtw4/SCDgZBGHcmYCdS+5wg=
=x8aJ
-----END PGP SIGNATURE-----

--=-K6ZlfxHebIZ3THBA3R0u--




From MAILER-DAEMON Fri Mar 12 18:16:20 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1vt5-0008Ps-Um
	for mharc-classpath@gnu.org; Fri, 12 Mar 2004 18:16:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B1sj4-00076V-UE
	for classpath@gnu.org; Fri, 12 Mar 2004 14:53:46 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1rY1-00051T-BR
	for classpath@gnu.org; Fri, 12 Mar 2004 13:38:20 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30)
	id 1B1RWo-0002XK-Nx; Thu, 11 Mar 2004 09:51:18 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B1RWi-0003u7-00; Thu, 11 Mar 2004 15:51:12 +0100
From: Mark Wielaard <mark@klomp.org>
To: cbj@gnu.org
In-Reply-To: <1079012283.14535.34.camel@lyta.haphazard.org>
References: <1078704046.1736.59.camel@elsschot.wildebeest.org>
	<1079012283.14535.34.camel@lyta.haphazard.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-lBBQDdAqrRZZhxYr3d6w"
Message-Id: <1079016672.1645.52.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 11 Mar 2004 15:51:13 +0100
Cc: classpath@gnu.org, Wes Biggs <wes@cacas.org>
Subject: Re: Imported gnu.regexp and java.util.regex wrappers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Mar 2004 23:16:17 -0000


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

Hi,

On Thu, 2004-03-11 at 14:38, C. Brian Jones wrote:
> Maybe I should have mentioned it earlier (list is slow)
It is slow... :{
It makes coordinating the classpath release almost impossible...
Almost done though. Release candidate today (Thursday for those
receiving this email somewhere next week...), final tommorrow (Friday).

> but Dalibor
> Topic submitted wrappers for gnu.regexp to the list a year or so ago you
> could have used since Kaffe has been doing this for a while.  Maybe they
> have fixed the 'bugs' already.

I actually used those and wrote Mauve tests to test against kaffe while
waiting for the paperwork to clear. I actually submitted patches to fix
some of the bugs I found, which are now also in GNU Classpath. The GNU
Classpath versions are now better then what was in Kaffe previously
since ours have API documentation. Also our SyntaxPatternException is
nicer since it has a toString() method that visually shows where in the
regex a failure occurred. So Kaffe should now resync with us again :)

Cheers,

Mark

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

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

iD8DBQBAUHzgxVhZCJWr9QwRAvT6AJ4kZLqqnm+xcs3HdA2+Ly4LjNbaUwCfQqPr
tdmKmp31ymohmxIEfhPhue4=
=VzMs
-----END PGP SIGNATURE-----

--=-lBBQDdAqrRZZhxYr3d6w--




From MAILER-DAEMON Fri Mar 12 20:09:18 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1xeQ-0003ek-AD
	for mharc-classpath@gnu.org; Fri, 12 Mar 2004 20:09:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B1xU2-0002Z0-Hu
	for classpath@gnu.org; Fri, 12 Mar 2004 19:58:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1xTM-0002Pm-Nb
	for classpath@gnu.org; Fri, 12 Mar 2004 19:58:23 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1xTL-0002PG-13
	for classpath@gnu.org; Fri, 12 Mar 2004 19:57:52 -0500
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Date: Sat, 13 Mar 2004 01:57:41 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADA9A@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Query on stacktrace management logic
Thread-Index: AcQIkfYwVlBKf5giQj+k4xNBSgJBvQAAhA6A
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>,
	"Patrik Reali" <reali@acm.org>
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 01:09:16 -0000

David Holmes wrote:
> > Since I seem to be the only one that actually wants a VMClass
> > instance, maybe we can agree on a slightly different interface.
> > How about keep a reference to a VMClass instance in Class, but
> > not calling any instance methods on VMClass, but using static
> > methods instead (always passing the Class reference along).
>=20
> I don't understand the purpose of holding a reference to an=20
> instance of a class that only has static methods invoked on it.

The reference implementation of VMClass will not have any instance
members, but VMs might choose to add instance state. However, after
thinking about it some more, I think it would be better to just add an
instance member to Class, called vmState (or whatever) of type Object.
That is more flexible (at the cost of additional downcasts).

The only overhead for you is the unused vmState reference field in each
Class instance.

Regards,
Jeroen



From MAILER-DAEMON Fri Mar 12 20:13:09 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1xi4-0004N3-I4
	for mharc-classpath@gnu.org; Fri, 12 Mar 2004 20:13:04 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B1xi0-0004MP-Pl
	for classpath@gnu.org; Fri, 12 Mar 2004 20:13:00 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1NyM-0001HK-NY
	for classpath@gnu.org; Thu, 11 Mar 2004 06:04:02 -0500
Received: from [62.253.162.46] (helo=mta06-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1NyM-0001F2-0u
	for classpath@gnu.org; Thu, 11 Mar 2004 06:03:30 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta06-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040311110320.YFIT19383.mta06-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Thu, 11 Mar 2004 11:03:20 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2BB2QCL031594; Thu, 11 Mar 2004 11:02:36 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2BB2Pb5031590;
	Thu, 11 Mar 2004 11:02:25 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16464.18241.868831.166765@cuddles.cambridge.redhat.com>
Date: Thu, 11 Mar 2004 11:02:25 +0000
To: "Johan Peeters" <yo@johanpeeters.com>
In-Reply-To: <404B51A4.8748.AC044FC@localhost>
References: <87ad2xda80.fsf@fleche.redhat.com>
	<404B51A4.8748.AC044FC@localhost>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath Project <classpath@gnu.org>
Subject: Re: java.security expert?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 01:13:02 -0000

Johan Peeters writes:
 > 
 > The guarantee that the result is prime seems rather weak considering 
 > that isProbablePrime() is called with argument 1. Assuming that the 
 > likelihood that steps 1 to 6 comes up with a prime is about 1/2,

It isn't.  Ron Rivest conjectures [1] that the probablility of finding
a randomly chosen 256-bit pseudoprime is less than 1 in 10^22.  

However, the Miller-Rabin test that we use in BigInteger.java isn't
fooled by psuedoprimes in any case.  The code there uses Miller-Rabin
to provide an error probability of less than 1 in 2^80.  (Which
doesn't meet the spec, as the doc says.)

There isn't any need to pass isProbablePrime() anything other than 1.

The comment "See IEEE P1363" really won't do.  We need some
description of the algorithm here.

Andrew.


[1] http://theory.lcs.mit.edu/~rivest/Rivest-FindingFourMillionLargeRandomPrimes.ps



From MAILER-DAEMON Fri Mar 12 21:28:33 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1yt6-0001Wt-OV
	for mharc-classpath@gnu.org; Fri, 12 Mar 2004 21:28:32 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B1yp9-0000cL-A5
	for classpath@gnu.org; Fri, 12 Mar 2004 21:24:27 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1nVH-0000jB-A6
	for classpath@gnu.org; Fri, 12 Mar 2004 09:19:11 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1n3U-0005Js-SF
	for classpath@gnu.org; Fri, 12 Mar 2004 08:50:29 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B1n3K-00078F-00; Fri, 12 Mar 2004 14:50:18 +0100
From: Mark Wielaard <mark@klomp.org>
To: Casey Marshall <rsdio@metastatic.org>
In-Reply-To: <87smhivj3p.fsf@metastatic.org>
References: <87smhivj3p.fsf@metastatic.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-d/utyl0P5v5bfpXDUCnz"
Message-Id: <1079099418.1645.99.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 12 Mar 2004 14:50:18 +0100
Cc: classpath@gnu.org
Subject: Re: Access control contexts (silly idea)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 02:28:29 -0000


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

Hi,

On Tue, 2004-02-10 at 20:18, Casey Marshall wrote:
> I was looking into ways to implement the AccessController.getContext
> method, and devised a way to do it without dipping into native
> methods. In short, it uses the getStackTrace method of Throwable to
> obtain the current stack, fetches each Class named in the stack, then
> gets the ProtectionDomain for that Class.
>=20
> This is a kludge, and I would not be surprised that certain conditions
> cause this to fail.

The idea is fun, but since you cannot get at the ClassLoader of the
Class it just doesn't work. (Except for classes loaded through the
application/system and/or bootstrap classloader which isn't that
interesting.) But you did fill in almost all of the logic that we were
missing. Thanks!

I just saw that Stephen Crawley posted a patch for a real
VMAccessController entry point. Combining that with your fixes should
give us everything needed.
https://savannah.gnu.org/patch/index.php?func=3Ddetailitem&item_id=3D2788

Cheers,

Mark

P.S. Sorry for not replying earlier. Some of this could have gone in for
0.08, but I don't want to change to much just before the release.

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

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

iD8DBQBAUcAaxVhZCJWr9QwRAlSwAKCXMi8UgN9P9XO/h6ChdSrdMKuKigCdEtZs
PAGnXpVWamaxxIIyX7teHGA=
=mnbx
-----END PGP SIGNATURE-----

--=-d/utyl0P5v5bfpXDUCnz--




From MAILER-DAEMON Fri Mar 12 22:59:19 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B200l-0005X3-Q8
	for mharc-classpath@gnu.org; Fri, 12 Mar 2004 22:40:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B1xx8-0007T6-Gg
	for classpath@gnu.org; Fri, 12 Mar 2004 20:28:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1xwU-0007Gp-A7
	for classpath@gnu.org; Fri, 12 Mar 2004 20:28:29 -0500
Received: from [64.172.11.17] (helo=younglogic.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1xwT-0007GE-Ph
	for classpath@gnu.org; Fri, 12 Mar 2004 20:27:57 -0500
Received: from [10.10.2.90] (helo=younglogic.com ident=adam)
	by younglogic.com with esmtp (Exim 3.35 #1 (Debian))
	id 1B1x0v-0001zM-00
	for <classpath@gnu.org>; Fri, 12 Mar 2004 16:28:29 -0800
Message-ID: <4052628E.9040903@younglogic.com>
Date: Fri, 12 Mar 2004 17:23:26 -0800
From: Adam Young <adam@younglogic.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <200403111427.i2BERmEA011783@piglet.dstc.edu.au>
In-Reply-To: <200403111427.i2BERmEA011783@piglet.dstc.edu.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Is this approach Valid
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 03:40:23 -0000

Hi, I'm the guys that joined recently and claimed he woulld implmenet 
the javax.security.auth packages.  As I've dug through the volumes of 
info, the public Java docs, and the messages about what wqas or wasn't a 
good way to approach coding I've come up with a plan.  Before I go down 
this path, I'd like a little validation.
Since I can't look at the Sun code, I'm trying to find a way to make a 
test that the new Classes I implement do the same thing as the 
original.   I've started with

javax.security.auth.Subject.

 Along with this is implmenetations of AuthPermission and 
SubjectDomainCombiner, all writine just refering to the official 
Javadocs  and a couple books I have on Java Security.  I would like to 
write a test ala JUnit or Mauve.  If I write this Trest in Eclipse, and 
use its automatic code generation facility to read the Sun Version of 
the Subject class and writie delegation code withi n a class, I will at 
least have a comprehensive list of all the public methods in the 
interface.  This simplifies my test to making sure that all these 
methodss work.  Is this Kosher? 

If I write a Test against the Sun implementation, and then rewrite my 
implmeentation until that Test runs,  should this test then be added to 
Mauve?


Has anyone used the Mauve framework to write unit test other than for 
Classpath?  Is there a Test framework portion of the code sepreate from 
the Testlets defined for testing Classpath?

Any suggestions on avoiding both legal and technical hassles here would 
be appreciated.

And yes, I've deleted the Sun source code from my installs of the JDK.  Heh.

Adam



From MAILER-DAEMON Fri Mar 12 22:59:53 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B1zn5-0002ho-Nd
	for mharc-classpath@gnu.org; Fri, 12 Mar 2004 22:26:23 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B1fwL-0003Sq-D3
	for classpath@gnu.org; Fri, 12 Mar 2004 01:14:37 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1eX0-0005mU-UB
	for classpath@gnu.org; Thu, 11 Mar 2004 23:44:55 -0500
Received: from [207.203.42.3] (helo=STVAVAPPL1.BHMSTV)
	by monty-python.gnu.org with smtp (Exim 4.30) id 1B1TRd-0007mT-Dm
	for classpath@gnu.org; Thu, 11 Mar 2004 11:54:05 -0500
Received: from unknown(10.104.180.64) by STVAVAPPL1.BHMSTV via csmap 
	id 593a878a_737b_11d8_8258_00304811e8c8_12039;
	Thu, 11 Mar 2004 10:44:22 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i2BGrFRa030828; 
	Thu, 11 Mar 2004 10:53:15 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i2BGrEJ0030827;
	Thu, 11 Mar 2004 10:53:15 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403111653.i2BGrEJ0030827@arch20m.dellroad.org>
In-Reply-To: <16464.31783.107648.307308@cuddles.cambridge.redhat.com>
To: Andrew Haley <aph@redhat.com>
Date: Thu, 11 Mar 2004 10:53:14 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Runtime.exec() implementation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 03:26:21 -0000

Andrew Haley wrote:
>  > I wrote an implementation of Runtime.exec() (including a new class
>  > java.lang.VMProcess which extends java.lang.Process and native code)
>  > for JC. This can be easily merged into Classpath if people want it.
>  > It seems like a pretty glaring omission.
>  > 
>  > This uses the usual Unix functions of fork(), exec(), waitpid(), etc.
>  > and should be as portable as the existing native code.  I'd have to
>  > rewrite my JCNI native code in JNI but that would be easy.
>  > 
>  > Let me know if people are interested.
> 
> This sounds good.  However, the precise implementation of this class
> is very delicate and error-prone, and we found a number of bugs in
> gcj's implementation.  The trouble is that our bugs were only noticed
> after some time.  I guess you may write fewer bugs than we did, but
> there still might be one or two in yours.  :-)

I'm certain there are bugs in mine :-) I just implemented things in
the "obvious" way.

> Would you be interested in having a look at the libgcj implementation
> and comparing?  Rather than having to download or check out all of
> libgcj, I could just send you the few files.

Yes, please do send me the files as I'd be interested to see them.

One thing I noticed is that waitFor() can throw InterruptedException,
which to me implies that they are implementing it via Object.wait()
or Thread.join().

For example, creating a new thread to fork() and then waitpid() on
each process would be heavyweight but might work well. Then you just
join() the thread in waitFor(), plus problem #2 goes away.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Fri Mar 12 23:16:55 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B20Zy-0002bM-Vi
	for mharc-classpath@gnu.org; Fri, 12 Mar 2004 23:16:54 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B20Zu-0002Zh-3w
	for classpath@gnu.org; Fri, 12 Mar 2004 23:16:50 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B20Zr-0002YK-3V
	for classpath@gnu.org; Fri, 12 Mar 2004 23:16:48 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1zyS-00059u-Qe
	for classpath@gnu.org; Fri, 12 Mar 2004 22:38:08 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B1zyL-0000Rq-00
	for <classpath@gnu.org>; Sat, 13 Mar 2004 04:38:01 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-vbNKlj2VPLHoK+F4ubo7"
Message-Id: <1079149082.1645.188.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sat, 13 Mar 2004 04:38:02 +0100
Subject: GNU Classpath 0.08 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 04:16:51 -0000


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

We are pleased to announce a new development release of GNU Classpath.

GNU Classpath, Essential Libraries for Java, is a project to create free
core class libraries for use with virtual machines and compilers for the
java programming language.

GNU Classpath 0.08 can be downloaded from
ftp://ftp.gnu.org/pub/gnu/classpath/
or one of the ftp.gnu.org mirrors
http://www.gnu.org/order/ftp.html

File: classpath-0.08.tar.gz
MD5sum: 17f200744c31f36fdbe15347745562fb

New in GNU Classpath 0.08:

* java.util.regexp implementation through gnu.regexp wrappers.
* java.net.URI implementation.
* Working implementation of javax.swing.undo.
* java.awt.geom.CubicCurve2D/QuadCurve2D: Can now solve cubic and
  quadratic equations; implementation adapted from the GNU Scientific
  Library.
* Lots of java.awt and gtk+ peer improvements. Also more Swing work.
  Start of EmbeddedWindow support.
* BufferedReader speed improvements.
* Improved useabilty of java.text implementation for several
  applications.
* ObjectInputStream is much faster and more compatible with other
  implementations.
* Fix handling of alias methods, where a method has been deprecated in
  favour of a new one with the same funtion but a different name.
  (See Deprecated Methods section in the GNU Classpath Hacking Guide.)
* javax.print.attribute.standard added.
* Lots of java.nio, java.net, java.io fixes and updates.
* Depend on autoconf 2.59+ and automake 1.7+, GCJ 3.3+, jikes 1.18+.
=20
VM Interface changes:
* Split native methods in java.lang.Runtime into java.lang.VMRuntime.
* Resources are now also loaded/needed through the bootstrap classloader
  (gnu.regexp needs MessageBundle included in glibj.zip
=20
Fixed Classpath bugs:
  #6095 java.awt.geom.QuadCurve2D.solveQuadratic sometimes gives
        wrong results
  #7099 EventListenerList.getListenerCount should accept null argument
  #7104 EventListenerList.add does not work
  #7105 EventListenerList.remove does not work
  #7107 DefaultBoundedRangeModel.setValue and friends should not throw
  And lots more.

Here are answers to some questions you might have about this project and
this release.

1). What is required to build/install/run?

GNU Classpath requires a working GNU build environment and a byte code
compiler such as jikes, gcj or kjc. When creating native code you will
also need a working C compiler and up to date Gnome development
libraries (gtk+, libart and gdk-pixbuf). More information on the
precise version numbers for the tools and libraries can be found in
the INSTALL file.

A list of virtual machines and compilers known to work with GNU
Classpath can be found at our website:
http://www.gnu.org/software/classpath/stories.htm

2). What platforms are supported?

GNU/Linux is the only platform that has been tested.
We plan to eventually support many others.

3). Who should use this software?

Although GNU Classpath is already capable of supporting many
applications written in the java programming language, this is a
development release. As such, there are still some unfinished
components, and some problems are to be expected. You should install it
if you are interested in GNU Classpath development or reporting bugs.
We appreciate both.

A good overview of the current status can be found on the GNU Classpath
at FOSDEM'04 page which describes the last GNU Classpath hacker meeting.
It includes reports and presentations on the current status and future
plans: http://www.gnu.org/software/classpath/events/fosdem04.html

4). Where do I go for more information?

The project home page with information on our mailing list can be
found http://www.gnu.org/software/classpath/.


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

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

iD8DBQBAUoIZxVhZCJWr9QwRAkenAJsGFcoqg8YzMY52tQUfqZFH9kqvlwCdH6/q
NEHXOJeKqak2QFhMKA3yrPY=
=UL1d
-----END PGP SIGNATURE-----

--=-vbNKlj2VPLHoK+F4ubo7--




From MAILER-DAEMON Sat Mar 13 01:24:20 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B22ZI-0001Jm-C0
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 01:24:20 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B22ZE-0001Ik-83
	for classpath@gnu.org; Sat, 13 Mar 2004 01:24:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B22Io-0006UE-Bw
	for classpath@gnu.org; Sat, 13 Mar 2004 01:07:49 -0500
Received: from [66.33.197.200] (helo=willum.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B21EH-0002Ja-Uy
	for classpath@gnu.org; Fri, 12 Mar 2004 23:58:34 -0500
Received: from dexter (c-24-6-46-122.client.comcast.net [24.6.46.122])
	by willum.dreamhost.com (Postfix) with ESMTP
	id C9D2B2BE70; Fri, 12 Mar 2004 20:58:26 -0800 (PST)
Received: by dexter (Postfix, from userid 1000)
	id 4520FC2; Fri, 12 Mar 2004 20:58:26 -0800 (PST)
To: Adam Young <adam@younglogic.com>
References: <200403111427.i2BERmEA011783@piglet.dstc.edu.au>
	<4052628E.9040903@younglogic.com>
From: Casey Marshall <rsdio@metastatic.org>
Date: Fri, 12 Mar 2004 20:58:26 -0800
In-Reply-To: <4052628E.9040903@younglogic.com> (Adam Young's message of
	"Fri, 12 Mar 2004 17:23:26 -0800")
Message-ID: <87y8q59wct.fsf@metastatic.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Is this approach Valid
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 06:24:17 -0000

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

>>>>> "Adam" == Adam Young <adam@younglogic.com> writes:

Adam> Has anyone used the Mauve framework to write unit test other
Adam> than for Classpath?  Is there a Test framework portion of the
Adam> code sepreate from the Testlets defined for testing Classpath?

GNU Crypto's test suite is written using Mauve, as is the beginnings
of a free implementation of NIST's PKITS test suite I am writing. All
you need from Mauve if you're writing new tests is the gnu.testlet
package (and no subpackages) and some utility scripts.

- -- 
Casey Marshall || rsdio@metastatic.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQFAUpTsgAuWMgRGsWsRAqFFAJ9337DJD+IY7s05kbY6JUSUToFgPgCePbTi
vgG6JzBOhrUV+5Wxis9ZEZA=
=L40K
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Mar 13 02:28:17 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B22EC-0005yM-Ky
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 01:02:32 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B22E6-0005vW-Q8
	for classpath@gnu.org; Sat, 13 Mar 2004 01:02:26 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1zmx-0002ff-QS
	for classpath@gnu.org; Fri, 12 Mar 2004 22:26:47 -0500
Received: from [200.44.33.13] (helo=rs25s12.datacenter.cha.cantv.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1rct-0005Lm-Iu
	for classpath@gnu.org; Fri, 12 Mar 2004 13:43:19 -0500
Received: from [192.168.1.51] (dC85412E2.dslam-19-7-7-10-1-01.cha.dsl.cantv.net
	[200.84.18.226])
	by rs25s12.datacenter.cha.cantv.net (8.12.9/8.12.6/3.0) with ESMTP id
	i2CIh9fN004906
	for <classpath@gnu.org>; Fri, 12 Mar 2004 14:43:12 -0400
X-Matched-Lists: []
From: Robert Marcano <robert@marcanoonline.com>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1079116985.5661.17.camel@pcrobert.intranet.promca.com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Fri, 12 Mar 2004 14:43:09 -0400
Content-Transfer-Encoding: 7bit
Subject: Howto integrate recent classpath with gcj?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 06:02:29 -0000

I have built the cvs head release of classpath in order to know in what
could i help implementing the AWT/Swing classes

I am trying to launch a small test application with a Frame and a Button
inside it, but "gij" has problems locating the correct toolkit
implementation (or entire classpath library)

I am running:

	gij -Dsun.boot.class.path=/home/robert/dev/share/classpath -Dawt.toolkit=gnu.java.awt.peer.gtk.GtkToolkit -cp . Test

I have configured de CLASSPATH, and LD_LIBRAY_PATH environment variables
as documented on INSTALL file

	LD_LIBRARY_PATH=/home/robert/dev/lib:/home/robert/dev/lib/classpath::/home/db2inst1/sqllib/lib
	CLASSPATH=/home/robert/dev/share/classpath/glibj.zip:.

I used "-cp ." because the "." on CLASSPATH environment variable is not
being seen. I have tried with different values of "sun.boot.class.path"
even pointing it to /home/robert/dev/share/classpath/glibj.zip

The exception is:

Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit not found in [file:./, core:/]
   at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.4.0.0)
   at java.awt.Window.getToolkit() (/usr/lib/libgcj.so.4.0.0)
   at java.awt.Container.addImpl(java.awt.Component, java.lang.Object, int) (/usr/lib/libgcj.so.4.0.0)
   at java.awt.Container.add(java.awt.Component) (/usr/lib/libgcj.so.4.0.0)
   at Test.main(java.lang.String[]) (Unknown Source)

TIA
_________________________________
Robert Marcano

web: http://www.marcanoonline.com
_________________________________





From MAILER-DAEMON Sat Mar 13 04:13:48 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B25DH-0005MS-HB
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 04:13:47 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B25DC-0005Kr-KW
	for classpath@gnu.org; Sat, 13 Mar 2004 04:13:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B25Cb-0005Al-FX
	for classpath@gnu.org; Sat, 13 Mar 2004 04:13:37 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B25Ca-0005AK-UV
	for classpath@gnu.org; Sat, 13 Mar 2004 04:13:05 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id ED76B60C64; Sat, 13 Mar 2004 09:12:59 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 00892-03; Sat, 13 Mar 2004 09:12:59 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-91-27.adsl.solnet.ch [212.41.91.27])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 4E75F62200; Sat, 13 Mar 2004 09:12:52 +0000 (GMT)
Received: from nbprr (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id 9C2A0581CB; Sat, 13 Mar 2004 10:11:29 +0100 (CET)
Date: Sat, 13 Mar 2004 10:13:41 +0100
From: Patrik Reali <reali@acm.org>
To: Chris Gray <chris.gray@kiffer.be>, Jeroen Frijters <jeroen@sumatra.nl>,
	David Holmes <dholmes@dltech.com.au>
Message-ID: <2878569.1079172821@[192.168.1.3]>
In-Reply-To: <200403071502.i27F2EGf043524@pigsty.cats.cradle>
References: <788B535AB1F9CB49BB9C229372B50ACC0AD9AF@LEMBU.sumatrasoftware.com
	> <200403071502.i27F2EGf043524@pigsty.cats.cradle>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Virus-Scanned: by SolNet
Cc: classpath <classpath@gnu.org>
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 09:13:44 -0000



--On Sonntag, 7. M=E4rz 2004 16:02 +0100 Chris Gray <chris.gray@kiffer.be>=20
wrote:
> On Thursday 04 March 2004 09:01, Jeroen Frijters wrote:
>> David Holmes wrote:
>> > class Class is the first class that must be initialized [...]
>>
>> Given the wide variety of VMs that use Classpath, I'd be careful with
>> statements like these. For almost every such assumption there will be a
>> VM for which it isn't true.
>
> Amen.  Wonka [doesn't use Classbath [yet], but] currently loads five
> other  classes before java.lang.Class; java.lang.Object,
> java.lang.Cloneable,  java.lang.Serializable, java.lang.Throwable, and
> the mysterious "array" class.
>

You don't need java.lang.String from the beginning?

Jaos is more exigent:
* java.lang.Object
* java.lang.String (also initialized)
* java.lang.RuntimeException
* java.lang.NullPointerException
* java.lang.ClassCastException
* java.lang.ArrayOutOfBoundariesException
* java.lang.OutOfMemoryException
* java.io.IOException
* java.lang.AbstractMethodException
* java.lang.Throwable (also initialized)
* java.lang.StackTraceElement (also initialized)
* java.lang.VMThrowable (also initialized)
* java.lang.Thread (also initialized)
* java.lang.ThreadGroup (also initialized)
* java.lang.System (also initialized)

And obviously, many other follow implicitly when a class is initialized.

You may ask why so many classes? Well, there are mainly two reasons. First, =

I try to use as much java code as possible (I'm lazy), thus parts of the=20
JVM rely on the code in the libraries. A beautiful example are threads,=20
which rely on the Runnable interface: during the first implementation of=20
Jaos, the Oberon language didn't have interfaces, thus the threads where=20
started by invoking the Java code in java.lang.Thread; only later I did=20
integrate Jaos interface support in the Oberon Kernel and added them to the =

language :-) . Of course, some functions must be duplicated for bootstrap=20
purposes, because they are needed before they become available.

Second, the exceptions are handled by Oberon's exception handler, which is=20
not able to load classes. All Exceptions that are generated by the compiler =

or the CPU as interrupts must be already available in Throwable. And=20
obviously Throwable, StackTraceElement, and VMThrowable.


-Patrik




From MAILER-DAEMON Sat Mar 13 04:28:36 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B25Rc-0007bB-Gs
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 04:28:36 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B25RZ-0007a6-7e
	for classpath@gnu.org; Sat, 13 Mar 2004 04:28:33 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B25R1-0007U4-Rj
	for classpath@gnu.org; Sat, 13 Mar 2004 04:28:31 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1Plg-0004Uq-Mq
	for classpath@gnu.org; Thu, 11 Mar 2004 07:58:32 -0500
Received: from [217.8.220.192] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1177965 for classpath@gnu.org;
	Thu, 11 Mar 2004 13:58:23 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Thu, 11 Mar 2004 13:58:19 +0100
Message-Id: <20040311125819.6583@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Debugging acronyms
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 09:28:34 -0000

Hi all,

I was thinking a bit about how we could support debugging in a way that
would be common to several free VMs. For an introduction to the "Java
Platform Debugger Architecture" (JPDA), please refer to [1].

In particular, I am wondering whether it might be possible to implement a
parser for the "Java Debug Wire Protocol" [JDWP, 2] -- in Java. The
implementation would use the services of a delegate. Each VM could choose
to implement the debugging delegate according to their own need.

GNU Classpath would provide a JNI-based reference implementation of this
debugging delegate, using the Java VM Tool Interface [JVMTI, 3]. (For
those in love with acronyms, JVMTI is sort of a unification of JVMDI and
JVMPI, which both have been deprecated in JDK1.5). Currently, no free VM
implements JVMTI, so that would mean some work for the VM people.
However, I guess the VMs will eventually want to support JVMTI anyway
(there exist free tools that use its predecessors JVMPI and JVMDI).

"Exotic" (non-C) VMs like Jaos or JNode, maybe also IKVM.NET, would have
to provide their own implementations of the debugging delegate. Still,
the JDWP parser would be the same.

To make it more fun, I wonder whether the interface to the debugging
delegate could be based on JDI [4]. JDI is a client-side Java API for the
JDWP protocol. Basically, the JDWP front-end would then post JDI requests
to a weird JDI VirtualMachine. (Weird because it was representing the
local VM, not a remote one).

Mark said he doesn't see a problem with JDI being in the com.sun.jdi
namespace. I think it might be nice to support JDI, even if it just was
for the client side -- although this is certainly not the most pressing
need we have in free Java...

I have no idea what this would mean for gcj and JC. One could imagine a
hack that forks out a gdb process and translates JDI invocations to gdb
commands, but this seems very kludgy. Directly adding JDWP support to gdb
would probably be a lot cleaner.

My proposal seems like an excellent way to shoot oneself into the foot.
On the other hand, it would be nice if the debugging stuff could at least
partially be common between free VMs.

What do people think?

[1] http://java.sun.com/j2se/1.5.0/docs/guide/jpda/
[2] http://java.sun.com/j2se/1.5.0/docs/guide/jpda/jdwp-spec.html
[3] http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html
[4] http://java.sun.com/j2se/1.5.0/docs/guide/jpda/jdi/

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 





From MAILER-DAEMON Sat Mar 13 04:48:20 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B25Th-00084s-R1
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 04:30:45 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B25Tf-00084D-3S
	for classpath@gnu.org; Sat, 13 Mar 2004 04:30:43 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B25T7-0007ur-Lt
	for classpath@gnu.org; Sat, 13 Mar 2004 04:30:41 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B25T6-0007uL-Nt
	for classpath@gnu.org; Sat, 13 Mar 2004 04:30:08 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 06B4360C6A; Sat, 13 Mar 2004 09:30:03 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 01632-01; Sat, 13 Mar 2004 09:30:02 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-91-27.adsl.solnet.ch [212.41.91.27])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 40B7E60C64; Sat, 13 Mar 2004 09:29:46 +0000 (GMT)
Received: from nbprr (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id F237D581CB; Sat, 13 Mar 2004 10:28:30 +0100 (CET)
Date: Sat, 13 Mar 2004 10:30:43 +0100
From: Patrik Reali <reali@acm.org>
To: Mark Wielaard <mark@klomp.org>,
	Archie Cobbs <archie@dellroad.org>
Message-ID: <3899927.1079173843@[192.168.1.3]>
In-Reply-To: <1078732369.1736.71.camel@elsschot.wildebeest.org>
References: <200403042219.i24MJPMN002352@arch20m.dellroad.org>
	<1078732369.1736.71.camel@elsschot.wildebeest.org>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Virus-Scanned: by SolNet
Cc: Sascha Brawer <brawer@dandelis.ch>, GNU Classpath <classpath@gnu.org>
Subject: Re: 0.08 NEWS
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 09:30:43 -0000



--On Montag, 8. M=E4rz 2004 08:52 +0100 Mark Wielaard <mark@klomp.org> =
wrote:
>> By the way, how come everyone else isn't complaining about #6938?
>> Why am I the only one who notices it? Does everybody else have a
>> bootstrap class path that contains the java class path as a subset?
>
> As far as I have seen most VMs have their own System/Application
> classloader. The SableVM developers were also rewriting it (to make sure
> ProtectionDomains were set correctly). So I guess everybody works around
> it instead of collaborating on the version in CVS. Probably only the Orp
> developers used this class as is for their VM.


For Jaos, I can confirm Mark assertion. The classloader is one of the few=20
classes that must be available at bootstrap.

In fact, I assume that only a JVM written in Java is able to use this class =

for the bootstrap of the VM. (Correct me if wrong)

-Patrik



From MAILER-DAEMON Sat Mar 13 05:57:57 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B26q4-0003Fv-JK
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 05:57:56 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B26pq-0003Em-UY
	for classpath@gnu.org; Sat, 13 Mar 2004 05:57:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B26pK-00039Z-IP
	for classpath@gnu.org; Sat, 13 Mar 2004 05:57:41 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B26pJ-00039D-RI
	for classpath@gnu.org; Sat, 13 Mar 2004 05:57:10 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i2DB0XGf056055;
	Sat, 13 Mar 2004 12:00:34 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403131100.i2DB0XGf056055@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris.gray@kiffer.be>
To: Patrik Reali <reali@acm.org>, Jeroen Frijters <jeroen@sumatra.nl>,
	David Holmes <dholmes@dltech.com.au>
Date: Sat, 13 Mar 2004 12:00:33 +0100
X-Mailer: KMail [version 1.3]
References: <788B535AB1F9CB49BB9C229372B50ACC0AD9AF@LEMBU.sumatrasoftware.com
	> <200403071502.i27F2EGf043524@pigsty.cats.cradle>
	<2878569.1079172821@[192.168.1.3]>
In-Reply-To: <2878569.1079172821@[192.168.1.3]>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by pigsty.cats.cradle id
	i2DB0XGf056055
Cc: classpath <classpath@gnu.org>
Subject: Re: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 10:57:43 -0000

On Saturday 13 March 2004 10:13, Patrik Reali wrote:
> --On Sonntag, 7. M=E4rz 2004 16:02 +0100 Chris Gray <chris.gray@kiffer.=
be>
>
> wrote:
> > On Thursday 04 March 2004 09:01, Jeroen Frijters wrote:
> >> David Holmes wrote:
> >> > class Class is the first class that must be initialized [...]
> >>
> >> Given the wide variety of VMs that use Classpath, I'd be careful wit=
h
> >> statements like these. For almost every such assumption there will b=
e a
> >> VM for which it isn't true.
> >
> > Amen.  Wonka [doesn't use Classbath [yet], but] currently loads five
> > other  classes before java.lang.Class; java.lang.Object,
> > java.lang.Cloneable,  java.lang.Serializable, java.lang.Throwable, an=
d
> > the mysterious "array" class.
>
> You don't need java.lang.String from the beginning?

No.  Our java.lang.String is just a wrapper for a w_string, and the VM us=
es=20
w_string's internally: e.g. a Utf8 Constant is stored as a pointer to a=20
w_string.  So java.lang.String currently gets loaded a bit later, as part=
 of=20
the "core-classes.in" code.  (This code also generates a global variable(=
!)=20
called clazzString, so that native code can very easily generate instance=
s of=20
String, etc.).

> Jaos is more exigent:
> * java.lang.Object
> * java.lang.String (also initialized)
> * java.lang.RuntimeException
> * java.lang.NullPointerException
> * java.lang.ClassCastException
> * java.lang.ArrayOutOfBoundariesException
> * java.lang.OutOfMemoryException
> * java.io.IOException
> * java.lang.AbstractMethodException
> * java.lang.Throwable (also initialized)
> * java.lang.StackTraceElement (also initialized)
> * java.lang.VMThrowable (also initialized)
> * java.lang.Thread (also initialized)
> * java.lang.ThreadGroup (also initialized)
> * java.lang.System (also initialized)
>
> And obviously, many other follow implicitly when a class is initialized.

We also had rather a long list in the past, but the code was so ugly and =
so=20
fragile that I set about reducing it. I prefer to keep special-case code =
to a=20
minimum.

> You may ask why so many classes? Well, there are mainly two reasons. Fi=
rst,
> I try to use as much java code as possible (I'm lazy), thus parts of th=
e
> JVM rely on the code in the libraries. A beautiful example are threads,
> which rely on the Runnable interface: during the first implementation o=
f
> Jaos, the Oberon language didn't have interfaces, thus the threads wher=
e
> started by invoking the Java code in java.lang.Thread; only later I did
> integrate Jaos interface support in the Oberon Kernel and added them to=
 the
> language :-) . Of course, some functions must be duplicated for bootstr=
ap
> purposes, because they are needed before they become available.

Yes, I like using Java code too. :) Currently we hack like hell to wrap u=
p=20
the first native thread in a java.lang.Thread, but the rest is fairly cle=
an. =20
This stuff will probably get a going-over soon when I do some work on JNI=
=20
Activation, and I will be looking to use more Java not less.

BTW there is another reason for "duplicate" code during bootstrap: you ar=
e=20
often dealing with a more restricted case, and the execution time is=20
reflected directly in the startup time for the VM.  Initial class loading=
 is=20
a case in point.

> Second, the exceptions are handled by Oberon's exception handler, which=
 is
> not able to load classes. All Exceptions that are generated by the comp=
iler
> or the CPU as interrupts must be already available in Throwable. And
> obviously Throwable, StackTraceElement, and VMThrowable.

We also used to pre-load all exception classes, once upon a time.  But it=
 was=20
a helluva lot of stuff to be pre-loading, so now we only do it for a very=
 few=20
- basically the ones which can be thrown by the execution engine itself. =
 So=20
if the system class loader throws e.g. a FileNotFoundException we load th=
at=20
on the spot; if it also can't find FileNotFoundException.class then we ju=
st=20
crash. :)

What do you do if a class loaded by a user-defined class loader throws an=
=20
exception which also has to be loaded by that user-defined class loader?

Best wishes

--=20
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Sat Mar 13 06:25:22 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B27Gc-0007e0-2S
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 06:25:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B27GY-0007dc-AC
	for classpath@gnu.org; Sat, 13 Mar 2004 06:25:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B27G1-0007YN-CL
	for classpath@gnu.org; Sat, 13 Mar 2004 06:25:16 -0500
Received: from [62.253.162.44] (helo=mta04-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B27G0-0007XC-U6
	for classpath@gnu.org; Sat, 13 Mar 2004 06:24:45 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta04-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040313112418.IYFV4168.mta04-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Sat, 13 Mar 2004 11:24:18 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2DBNgCL013668; Sat, 13 Mar 2004 11:23:52 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2DBNghq013664;
	Sat, 13 Mar 2004 11:23:42 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16466.61245.569713.134543@cuddles.cambridge.redhat.com>
Date: Sat, 13 Mar 2004 11:23:41 +0000
To: Adam Young <adam@younglogic.com>
In-Reply-To: <4052628E.9040903@younglogic.com>
References: <200403111427.i2BERmEA011783@piglet.dstc.edu.au>
	<4052628E.9040903@younglogic.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: Is this approach Valid
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 11:25:19 -0000

Adam Young writes:
 > Hi, I'm the guys that joined recently and claimed he would implement 
 > the javax.security.auth packages.  As I've dug through the volumes of 
 > info, the public Java docs, and the messages about what was or wasn't a 
 > good way to approach coding I've come up with a plan.  Before I go down 
 > this path, I'd like a little validation.
 > Since I can't look at the Sun code, I'm trying to find a way to make a 
 > test that the new Classes I implement do the same thing as the 
 > original.   I've started with
 > 
 > javax.security.auth.Subject.
 > 
 > Along with this is implementations of AuthPermission and
 > SubjectDomainCombiner, all written just referring to the official
 > Javadocs and a couple books I have on Java Security.  I would like
 > to write a test ala JUnit or Mauve.  If I write this Test in
 > Eclipse, and use its automatic code generation facility to read the
 > Sun Version of the Subject class and write delegation code within a
 > class, I will at least have a comprehensive list of all the public
 > methods in the interface.  This simplifies my test to making sure
 > that all these methods work.  Is this Kosher?

It seems to me that the list of public methods in a class file is part
of its published interface, and thus is probably legit.

However, I question the need to do this.  You have online Javadocs for
all the public methods.

 > If I write a Test against the Sun implementation, and then rewrite my 
 > implementation until that Test runs,  should this test then be added to 
 > Mauve?

Yes.  But please don't simply assume that Sun's implementation is
correct: we code to the specification. not the implementation.

 > Has anyone used the Mauve framework to write unit test other than for 
 > Classpath?  Is there a Test framework portion of the code separate from 
 > the Testlets defined for testing Classpath?

I don't understand this question.  Mauve works with any Java library.

Andrew.



From MAILER-DAEMON Sat Mar 13 08:11:40 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B25bz-0001b5-33
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 04:39:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B25bl-0001YP-UV
	for classpath@gnu.org; Sat, 13 Mar 2004 04:39:05 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B25Sq-0007qG-MH
	for classpath@gnu.org; Sat, 13 Mar 2004 04:30:23 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B25Sq-0007pZ-28
	for classpath@gnu.org; Sat, 13 Mar 2004 04:29:52 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i2D9XIGf055981;
	Sat, 13 Mar 2004 10:33:19 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403130933.i2D9XIGf055981@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris.gray@kiffer.be>
To: Casey Marshall <rsdio@metastatic.org>, Adam Young <adam@younglogic.com>
Date: Sat, 13 Mar 2004 10:33:18 +0100
X-Mailer: KMail [version 1.3]
References: <200403111427.i2BERmEA011783@piglet.dstc.edu.au>
	<4052628E.9040903@younglogic.com> <87y8q59wct.fsf@metastatic.org>
In-Reply-To: <87y8q59wct.fsf@metastatic.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Is this approach Valid
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 09:39:14 -0000

On Saturday 13 March 2004 05:58, Casey Marshall wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> >>>>> "Adam" == Adam Young <adam@younglogic.com> writes:
>
> Adam> Has anyone used the Mauve framework to write unit test other
> Adam> than for Classpath?  Is there a Test framework portion of the
> Adam> code sepreate from the Testlets defined for testing Classpath?
>
> GNU Crypto's test suite is written using Mauve, as is the beginnings
> of a free implementation of NIST's PKITS test suite I am writing. All
> you need from Mauve if you're writing new tests is the gnu.testlet
> package (and no subpackages) and some utility scripts.

Wonka also uses Mauve.  One of the reasons to choose Mauve during the early 
stages of development was the extreme simplicity of its "framework" - we 
could run it when all we had was an interpreter, a few dozen classes and a 
very simple class loader.  The other reason was of course the thousands of 
tests already written. :)

Mauve is very much a hacker's framework - you can do anything with it, all 
you have to do is write the code.  Other frameworks are more sophisticated 
(and complex), so you end up posting "how do I make FooFramework do X?" 
questions instead. 

Good luck

Chris


-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Sat Mar 13 11:31:50 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2C3C-0004Lb-B1
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 11:31:50 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2C36-0004K5-Rl
	for classpath@gnu.org; Sat, 13 Mar 2004 11:31:44 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1OfI-00074Q-5w
	for classpath@gnu.org; Thu, 11 Mar 2004 06:48:23 -0500
Received: from [62.253.162.43] (helo=mta03-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1OWC-0006Hs-PG
	for classpath@gnu.org; Thu, 11 Mar 2004 06:38:28 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta03-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040311113751.RTDX5865.mta03-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Thu, 11 Mar 2004 11:37:51 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2BBbVCL031703; Thu, 11 Mar 2004 11:37:42 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2BBbVkn031699;
	Thu, 11 Mar 2004 11:37:31 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16464.20347.180239.131669@cuddles.cambridge.redhat.com>
Date: Thu, 11 Mar 2004 11:37:31 +0000
To: "Johan Peeters" <yo@johanpeeters.com>,
	GNU Classpath Project <classpath@gnu.org>
In-Reply-To: <16464.18241.868831.166765@cuddles.cambridge.redhat.com>
References: <87ad2xda80.fsf@fleche.redhat.com>
	<404B51A4.8748.AC044FC@localhost>
	<16464.18241.868831.166765@cuddles.cambridge.redhat.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: 
Subject: Re: java.security expert?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 16:31:47 -0000

Andrew Haley writes:
 > Johan Peeters writes:
 >  > 
 >  > The guarantee that the result is prime seems rather weak considering 
 >  > that isProbablePrime() is called with argument 1. Assuming that the 
 >  > likelihood that steps 1 to 6 comes up with a prime is about 1/2,
 > 
 > It isn't.  Ron Rivest conjectures [1] that the probablility of finding
 > a randomly chosen 256-bit pseudoprime is less than 1 in 10^22.  

Oh, silly me.  Steps 1 to 6 are all before the primality test.  Sorry.

Andrew.



From MAILER-DAEMON Sat Mar 13 11:33:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2C4j-0004k8-Ln
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 11:33:25 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2C4Z-0004ie-Eb
	for classpath@gnu.org; Sat, 13 Mar 2004 11:33:15 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B27j4-0003At-9J
	for classpath@gnu.org; Sat, 13 Mar 2004 06:55:17 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B25Gf-0005tG-4M
	for classpath@gnu.org; Sat, 13 Mar 2004 04:17:17 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id B6B5562153; Sat, 13 Mar 2004 09:17:12 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 00879-08; Sat, 13 Mar 2004 09:17:11 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-91-27.adsl.solnet.ch [212.41.91.27])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 55613620FA; Sat, 13 Mar 2004 09:17:11 +0000 (GMT)
Received: from nbprr (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id 2544D581CB; Sat, 13 Mar 2004 10:15:56 +0100 (CET)
Date: Sat, 13 Mar 2004 10:18:08 +0100
From: Patrik Reali <reali@acm.org>
To: Jeroen Frijters <jeroen@sumatra.nl>, David Holmes <dholmes@dltech.com.au>
Message-ID: <3145182.1079173088@[192.168.1.3]>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADA9A@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADA9A@LEMBU.sumatrasoftware.co m>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Virus-Scanned: by SolNet
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 16:33:16 -0000



--On Samstag, 13. M=E4rz 2004 01:57 +0100 Jeroen Frijters =
<jeroen@sumatra.nl>=20
wrote:
> David Holmes wrote:
>> > Since I seem to be the only one that actually wants a VMClass
>> > instance, maybe we can agree on a slightly different interface.
>> > How about keep a reference to a VMClass instance in Class, but
>> > not calling any instance methods on VMClass, but using static
>> > methods instead (always passing the Class reference along).
>>
>> I don't understand the purpose of holding a reference to an
>> instance of a class that only has static methods invoked on it.
>
> The reference implementation of VMClass will not have any instance
> members, but VMs might choose to add instance state. However, after
> thinking about it some more, I think it would be better to just add an
> instance member to Class, called vmState (or whatever) of type Object.
> That is more flexible (at the cost of additional downcasts).
>
> The only overhead for you is the unused vmState reference field in each
> Class instance.


This seems a sound idea to me.

I think the downcasts are not a big problem, as those calls are mostly used =

by the reflection, thus not time-critical.


-Patrik



From MAILER-DAEMON Sat Mar 13 12:24:27 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2Cs7-0004xg-8V
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 12:24:27 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2Cs3-0004wl-L2
	for classpath@gnu.org; Sat, 13 Mar 2004 12:24:23 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2CrW-0004sI-Gb
	for classpath@gnu.org; Sat, 13 Mar 2004 12:24:21 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B2CrV-0004sB-Qz
	for classpath@gnu.org; Sat, 13 Mar 2004 12:23:50 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i2DHRNGf056402;
	Sat, 13 Mar 2004 18:27:23 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403131727.i2DHRNGf056402@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris.gray@kiffer.be>
To: Sascha Brawer <brawer@dandelis.ch>, GNU Classpath <classpath@gnu.org>
Date: Sat, 13 Mar 2004 18:27:23 +0100
X-Mailer: KMail [version 1.3]
References: <20040311125819.6583@smtp.mail.ch.easynet.net>
In-Reply-To: <20040311125819.6583@smtp.mail.ch.easynet.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: 
Subject: Re: Debugging acronyms
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 17:24:25 -0000

On Thursday 11 March 2004 13:58, Sascha Brawer wrote:
> Hi all,
>
> I was thinking a bit about how we could support debugging in a way that
> would be common to several free VMs. For an introduction to the "Java
> Platform Debugger Architecture" (JPDA), please refer to [1].
>
> In particular, I am wondering whether it might be possible to implement a
> parser for the "Java Debug Wire Protocol" [JDWP, 2] -- in Java. The
> implementation would use the services of a delegate. Each VM could choose
> to implement the debugging delegate according to their own need.

This seems a very natural implementation. Go for it.

> GNU Classpath would provide a JNI-based reference implementation of this
> debugging delegate, using the Java VM Tool Interface [JVMTI, 3]. (For
> those in love with acronyms, JVMTI is sort of a unification of JVMDI and
> JVMPI, which both have been deprecated in JDK1.5). Currently, no free VM
> implements JVMTI, so that would mean some work for the VM people.
> However, I guess the VMs will eventually want to support JVMTI anyway
> (there exist free tools that use its predecessors JVMPI and JVMDI).

Yes, supporting JVMTI would be effort well spent.

> "Exotic" (non-C) VMs like Jaos or JNode, maybe also IKVM.NET, would have
> to provide their own implementations of the debugging delegate. Still,
> the JDWP parser would be the same.

If you ask me C is a lot more exotic than (say) Oberon.  But I digress. :)

> To make it more fun, I wonder whether the interface to the debugging
> delegate could be based on JDI [4]. JDI is a client-side Java API for the
> JDWP protocol. Basically, the JDWP front-end would then post JDI requests
> to a weird JDI VirtualMachine. (Weird because it was representing the
> local VM, not a remote one).

It's not totally crazy. However it is quite a "big" interface, which could be 
a problem for memory-constrained embedded environments - which would be a 
pity, because in these environments a Java-level debugger would be really 
neat. (On a desktop you can often use brute-forces approaches such as 
generating huge logfiles and filtering them.  Than doesn't work too well over 
a 9600 bps serial port.)

> Mark said he doesn't see a problem with JDI being in the com.sun.jdi
> namespace. I think it might be nice to support JDI, even if it just was
> for the client side -- although this is certainly not the most pressing
> need we have in free Java...
>
> I have no idea what this would mean for gcj and JC. One could imagine a
> hack that forks out a gdb process and translates JDI invocations to gdb
> commands, but this seems very kludgy. Directly adding JDWP support to gdb
> would probably be a lot cleaner.

JDWP-over-gdb must be possible.

> My proposal seems like an excellent way to shoot oneself into the foot.
> On the other hand, it would be nice if the debugging stuff could at least
> partially be common between free VMs.
>
> What do people think?
>
> [1] http://java.sun.com/j2se/1.5.0/docs/guide/jpda/
> [2] http://java.sun.com/j2se/1.5.0/docs/guide/jpda/jdwp-spec.html
> [3] http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html
> [4] http://java.sun.com/j2se/1.5.0/docs/guide/jpda/jdi/

I think that's a nice set of references anyway. :)

On the whole I think it's a good idea.  I'm just a little nervous of the size 
of the JDI stuff - it's all very nicely object-oriented, but it could end up 
using a fair amount of RAM (by embedded standards).

The other thing to worry about is the issue of using the VM to debug itself. 
When you request notification of a ClassPrepareEvent, the first thing you see 
may well be the preparation of class ClassPrepareEvent. :) This gets me 
thinking about the possibility of running two VMs in one address space, one 
for the "real" VM and one for JPDA ...

Chris
 

-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Sat Mar 13 12:37:44 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2D4x-0007Sz-O9
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 12:37:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2D4v-0007Sa-Ka
	for classpath@gnu.org; Sat, 13 Mar 2004 12:37:41 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2D4J-0007M0-P1
	for classpath@gnu.org; Sat, 13 Mar 2004 12:37:34 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2D4J-0007Lk-Cu
	for classpath@gnu.org; Sat, 13 Mar 2004 12:37:03 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2DHVQL1017530;
	Sat, 13 Mar 2004 12:31:36 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004031312324104478 ; Sat, 13 Mar 2004 12:32:41 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2DHTfbE004043; Sat, 13 Mar 2004 12:29:41 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B2CxA-0002MD-PF; Sat, 13 Mar 2004 12:29:40 -0500
Message-ID: <405343E5.7050405@uqam.ca>
Date: Sat, 13 Mar 2004 12:24:53 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040122 Debian/1.6-1
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1079149082.1645.188.camel@elsschot.wildebeest.org>
	<40533FF6.5060905@uqam.ca>
In-Reply-To: <40533FF6.5060905@uqam.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.08 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 17:37:42 -0000

Here is the complete list of resuscitated files:

configure.in
doc/www.gnu.org/docs/license.wml
doc/www.gnu.org/docs/redistribution.wml
gnu/java/awt/image/GdkPixbufDecoder.java
gnu/java/awt/image/GtkOffScreenDecoder.java
gnu/java/net/SocketInputStream.java
gnu/java/net/SocketOutputStream.java
gnu/java/net/protocol/file/FileURLConnection.java
gnu/java/net/protocol/http/HttpURLConnection.java
gnu/java/net/protocol/jar/JarURLConnection.java
gnu/java/nio/GenericBuffer.cpp
gnu/java/nio/GenericMappedByteFileBuffer.cpp
java/nio/GenericBuffer.cpp
javax/swing/ToggleButtonModel.java
javax/swing/plaf/basic/BasicDefaults.java
lib/gen_nio.sh.in
native/jni/gtk-peer/gnu_java_awt_image_GdkPixbufDecoder.c
vm/reference/java/lang/Runtime.java

Etienne

Etienne Gagnon wrote:
> Hi Mark,
> 
> While importing Classpath into sablevm-classpath, using the
> "classpath-0_08-release" tag, I notice that you are resuscitating
> some files such as ./configure.in.  Why isn't this file left
> into the Attic?  Maybe it's just a tagging mistake.
> 
> A good test, for a tag, is to do:
>  cvs export -r tagname -d test classpath
> then compare:
>  diff -r classpath test | sort | less
> 
> So, maybe a thing to fix in 0.09?  ;-)  [It's considered bad
> practice (and it is painful in CVS) to change an existing tag.
> So, I recommend not changing the release-0_08-release tag.]
> 
> Have fun!
> 
> Etienne
> 
> Mark Wielaard wrote:
> 
>> We are pleased to announce a new development release of GNU Classpath.
>> ...
> 
> 


-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Sat Mar 13 13:16:50 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2CzC-0006Tg-45
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 12:31:46 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2Bk1-0001OX-2g
	for classpath@gnu.org; Sat, 13 Mar 2004 11:12:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B25Pa-0007E4-Db
	for classpath@gnu.org; Sat, 13 Mar 2004 04:27:01 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B1wzu-00054r-4s
	for classpath@gnu.org; Fri, 12 Mar 2004 19:27:26 -0500
Received: from dholmeslaptop (233-130.ip.internex.net.au [210.9.233.130])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2D0PJnF029684;
	Sat, 13 Mar 2004 11:25:21 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>, "Patrik Reali" <reali@acm.org>
Date: Sat, 13 Mar 2004 10:25:52 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEENLDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADA86@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 17:31:35 -0000

> Since I seem to be the only one that actually wants a VMClass
> instance, maybe we can agree on a slightly different interface.
> How about keep a reference to a VMClass instance in Class, but
> not calling any instance methods on VMClass, but using static
> methods instead (always passing the Class reference along).

I don't understand the purpose of holding a reference to an instance of a
class that only has static methods invoked on it.

What I don't want is to have a different VMClass instance per Class object.

Cheers,
David Holmes




From MAILER-DAEMON Sat Mar 13 13:28:51 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2DsR-000836-2O
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 13:28:51 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2DsN-00082K-Op
	for classpath@gnu.org; Sat, 13 Mar 2004 13:28:47 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2DsL-00081e-Cp
	for classpath@gnu.org; Sat, 13 Mar 2004 13:28:45 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2DsL-00081W-23
	for classpath@gnu.org; Sat, 13 Mar 2004 13:28:45 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B2Ds8-0002JN-00; Sat, 13 Mar 2004 19:28:32 +0100
From: Mark Wielaard <mark@klomp.org>
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
In-Reply-To: <40533FF6.5060905@uqam.ca>
References: <1079149082.1645.188.camel@elsschot.wildebeest.org>
	<40533FF6.5060905@uqam.ca>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-L6ze/nFr+4/rkZmOnVaY"
Message-Id: <1079202513.1645.381.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sat, 13 Mar 2004 19:28:33 +0100
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.08 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 18:28:48 -0000


--=-L6ze/nFr+4/rkZmOnVaY
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi, Etienne,

On Sat, 2004-03-13 at 18:08, Etienne Gagnon wrote:
> While importing Classpath into sablevm-classpath, using the
> "classpath-0_08-release" tag, I notice that you are resuscitating
> some files such as ./configure.in.  Why isn't this file left
> into the Attic?  Maybe it's just a tagging mistake.
>=20
> A good test, for a tag, is to do:
>   cvs export -r tagname -d test classpath
> then compare:
>   diff -r classpath test | sort | less
>=20
> So, maybe a thing to fix in 0.09?  ;-)  [It's considered bad
> practice (and it is painful in CVS) to change an existing tag.
> So, I recommend not changing the release-0_08-release tag.]

Drat. Sorry about that. Yes, I made a mistake while tagging. I had
tested everything, up to and including a complete make distcheck and a
mauve and vte test run on another clean machine, but then went back to
my development machine for the final cvs tag. And of course did it in
the wrong working directory... I had hoped that I had done the
re-tagging correctly, but forgot about the old files. I should have send
a warning to the list.

Thanks for the list of files erroneously tagged.
I looked at the cvs documentation and it seems that you can remove tags
from Attic files using rtag -a but I am a bit afraid that might mess up
the tagging even more. I promise to do better for 0.09. For now please
check a cvs checkout against the official classpath-0.08.tar.gz file.
Or does someone know the magic command to make it all right in the
repository?

Thanks,

Mark

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

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

iD8DBQBAU1LRxVhZCJWr9QwRAnQtAJ428X5jPqq15oxW4JXBH5VR+Lt+pgCaAuFU
lw30aA9otK9r1vLB51DSKtM=
=tgFc
-----END PGP SIGNATURE-----

--=-L6ze/nFr+4/rkZmOnVaY--




From MAILER-DAEMON Sat Mar 13 14:03:35 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2DQh-0003GF-8Z
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 13:00:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2DQX-0003F2-GS
	for classpath@gnu.org; Sat, 13 Mar 2004 13:00:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2DQV-0003EY-LZ
	for classpath@gnu.org; Sat, 13 Mar 2004 13:00:00 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2DHv-0001cn-FM
	for classpath@gnu.org; Sat, 13 Mar 2004 12:51:07 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B2DHo-0002CD-00
	for <classpath@gnu.org>; Sat, 13 Mar 2004 18:51:00 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1079149082.1645.188.camel@elsschot.wildebeest.org>
References: <1079149082.1645.188.camel@elsschot.wildebeest.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-MHnH/AqwJEC6JhVs5j+2"
Message-Id: <1079200261.1645.366.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sat, 13 Mar 2004 18:51:01 +0100
Subject: GNU Classpath 0.08 - How to use it
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 18:00:02 -0000


--=-MHnH/AqwJEC6JhVs5j+2
Content-Type: multipart/mixed; boundary="=-H0lVJgam4/jA0us0VUIy"


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

Hi all,

On Sat, 2004-03-13 at 04:38, Mark Wielaard wrote:
> We are pleased to announce a new development release of GNU Classpath.

So you downloaded it all from ftp://ftp.gnu.org/gnu/classpath/ checked
the signature, unpacked it, made sure you had all pre-requirements
described in the INSTALL file, did a configure, make and make install.
Then you took a look at http://www.gnu.org/software/classpath/tasks.html
decided what you would like to hack on and thought: "Hmmmm, now what?"

Glad, you asked!

Normally developers that just look for a java-like environment for the
GNU platform would install GCC which comes with lots of different
programming language support, including gcj and gij which provide a
(native and byte code) compiler and a byte code interpreter for the java
programming language (and [grep]jar, gcjh, jcf-dump, jv-convert,
jv-scan, rmic and other tools). Since GCC 3.3 I believe gcj is mature
enough to recommend it as the preferred way to write free software for
the GNU platform using the java programming language and the GNU
Classpath core libraries. Another popular option is of course kaffe
which is now also (partially) based on GNU Classpath core libraries (and
comes with even more tools then gcj at the moment).

But you are probably asking because you want to hack on the GNU
Classpath core libraries directly, even though in practice you would use
a whole programming environment for development and not just the core
libraries. The fact that GNU Classpath is used by such a wide variety of
compilers and runtime environments is both its strength and its
weakness. Our strength is that we get ideas, bug fixes and improvements
from a whole lot of projects based on GNU Classpath (see the huge list
at http://www.gnu.org/software/classpath/stories.html). I believe this
has made GNU Classpath a very rich and robust library. GNU Classpath is
now a cornerstone of a lot of innovative free software development and
it will bring us, combined with gcc, gcj, gij, emacs, java-gnome, etc, a
powerful java-like environment for the GNU system, while also helping
out other free software projects. But our weakness is that it doesn't
actually make much sense to hack on GNU Classpath directly. We provide
just one of the building blocks, you need compilers, editors, runtime
environments, extension libraries and programs to make it useful.

So one of the things to do when you want to contribute to GNU Classpath
is to do it through one of the projects that already combines GNU
Classpath with other tools like GCJ or Kaffe (or IKVM.NET, Kissme,
SableVM, ...) and just hack on those and/or make other free software
libraries and programs work with them. Your contributions will slowly
flow to GNU Classpath and the other environments in that case.

For the 0.08 release I made sure that at least one environment was
capable of running (more or less) out of the box with GNU Classpath and
Mauve. So you can now actually work on the core classes directly and
test against the main major textual and graphical test-suites we use.=20
Or compare the test results of a more or less pure GNU Classpath
against another integrated development environment based on it.
Below are the instructions to do that if you wish.

INSTALL GNU CLASSPATH 0.08
--------------------------
- Download ftp://ftp.gnu.org/gnu/classpath/classpath-0.08.tar.gz
  (and ftp://ftp.gnu.org/gnu/classpath/classpath-0.08.tar.gz.sig
   if you want to do a gpg --verify classpath-0.08.tar.gz.sig)
- tar zxf classpath-0.08.tar.gz
- cd classpath-0.08
- Read the INSTALL file to make sure you have all pre-requirements.
- ./configure && make && make install
  (Read ./configure --help for some of the options you can give,
   for example --prefix=3D/some/other/install/dir and --disable-gtk-peer
   if you don't have all the required gtk+/gnome libs)

INSTALL JAMVM 1.1.1
-------------------
- Download
http://heanet.dl.sourceforge.net/sourceforge/jamvm/jamvm-1.1.1.tar.gz
- tar zxf jamvm-1.1.1.tar.gz
- cd jamvm-1.1.1
- patch -p0 < VMClassLoader.patch (attached to this email)
  [This step is only necessary if you want to try out the new regex
   support. It makes sure the bootstrap classloader can load some
   property files needed by gnu.regex. It isn't the nicest solution, but
   it works for now. Robert will probably come up with a better patch.
   The patch assumes that classpath is installed in the default
   location, please edit VMClassLoader.java if you used a --prefix
   argument while installing classpath above.]
- ./configure && make && make install
  (Read the INSTALL file for configure options like
   --classpath_install_dir=3D/some/dir when you installed GNU Classpath
   with a non-default --prefix)

Now don't forget to UNZIP the GNU Classpath glibj.zip file.
[This is only necessary for runtime environments like jamvm that don't
support zip files for their bootstrap classes. YOU WILL FORGET THIS ONE
TIME DURING DEVELOPMENT. Be prepared!]

- cd /usr/local/classpath/share/classpath/
- unzip glibj.zip

Make sure /usr/local/bin is in your path and you should be able to write
a simple
- echo 'public class Hello { public static void main(String[] args) { Syste=
m.out.println("Hello World!"); } }' > Hello.java
Compile it with
- gcj -C Hello.java
or
- jikes --bootclasspath /usr/local/classpath/share/classpath/glibj.zip Hell=
o.java
And run it with
- jamvm Hello

INSTALL MAUVE
-------------

- export CVSROOT=3D:pserver:anoncvs@sources.redhat.com:/cvs/mauve
- cvs login (password anoncvs)
- cvs checkout mauve
- cd mauve
- ./configure
  (The main thing this does is creating the gnu/testlet/config.java
   You could also do this by hand from the config.java.in file)
- Edit the script 'batch_runner' to set the variable COMPILER correctly
  (there are a couple of example settings)
- Edit script 'runner' to set the variable RUNTIME correctly
  (there are a couple of example settings)
- run ./batch_run and look at the results.
  (11135 PASSes and 227 FAILs)

Full results (60K gzipped) for my system can be found at
http://www.klomp.org/mark/classpath/jamvm-1.1.1-cp-0.08.results.gz

You can also run individual tests by:
- echo gnu.testlet.java.lang.String.getBytes | jamvm gnu.testlet.SimpleTest=
Harness
(Option flags are -verbose and -debug)

[NOTE. This is an alternative method of running Mauve tests. The README
in the mauve directory explains another method.]

INSTALL VISUAL TEST ENGINE (AWT)
--------------------------------

Almost the same as above (export CVSROOT and cvs login should be done
already).
- cvs checkout wonka
- cd wonka
- Read the README
- jikes -bootclasspath /usr/local/classpath/share/classpath/glibj.zip \
        `find com -name \*.java`
- jamvm com.acunia.wonka.test.awt.VisualTestEngine `cat tests.list`
- Click around! [Yes, I know the colors are painful to the eyes...]

Happy Hacking!

Mark

P.S. I am a bit behind email. The 0.08 release took much time. I am
taking the rest of the day off now. So please be patient if you are
waiting on some email related to GNU Classpath from be. I try to catch
up as quick as I can starting tomorrow.

--=-H0lVJgam4/jA0us0VUIy
Content-Disposition: attachment; filename=VMClassLoader.patch
Content-Type: text/x-patch; name=VMClassLoader.patch; charset=iso-8859-1
Content-Transfer-Encoding: base64

LS0tIGxpYi9qYXZhL2xhbmcvVk1DbGFzc0xvYWRlci5qYXZhLm9yaWcJMjAwMy0xMi0yMSAxMToz
NjoyNC4wMDAwMDAwMDAgKzAxMDANCisrKyBsaWIvamF2YS9sYW5nL1ZNQ2xhc3NMb2FkZXIuamF2
YQkyMDA0LTAzLTEzIDE4OjAxOjQ5LjAwMDAwMDAwMCArMDEwMA0KQEAgLTQ2LDYgKzQ2LDggQEAN
CiANCiBpbXBvcnQgamF2YS5zZWN1cml0eS5Qcm90ZWN0aW9uRG9tYWluOw0KIGltcG9ydCBqYXZh
Lm5ldC5VUkw7DQoraW1wb3J0IGphdmEubmV0Lk1hbGZvcm1lZFVSTEV4Y2VwdGlvbjsNCitpbXBv
cnQgamF2YS5pby5GaWxlOw0KIGltcG9ydCBqYXZhLmlvLklPRXhjZXB0aW9uOw0KIGltcG9ydCBq
YXZhLnV0aWwuRW51bWVyYXRpb247DQogaW1wb3J0IGphdmEudXRpbC5NYXA7DQpAQCAtMTM4LDYg
KzE0MiwxOSBAQA0KICAgICovDQogICBzdGF0aWMgVVJMIGdldFJlc291cmNlKFN0cmluZyBuYW1l
KQ0KICAgew0KKyAgICBTdHJpbmcgbG9jYXRpb24gPSAiL3Vzci9sb2NhbC9jbGFzc3BhdGgvc2hh
cmUvY2xhc3NwYXRoLyIgKyBuYW1lOw0KKyAgICBGaWxlIHJlc291cmNlID0gbmV3IEZpbGUobG9j
YXRpb24pOw0KKyAgICB0cnkNCisgICAgICB7DQorCWlmIChyZXNvdXJjZS5leGlzdHMoKSAmJiAh
cmVzb3VyY2UuaXNEaXJlY3RvcnkoKSkNCisJICByZXR1cm4gcmVzb3VyY2UudG9VUkwoKTsNCisg
ICAgICB9DQorICAgIGNhdGNoIChNYWxmb3JtZWRVUkxFeGNlcHRpb24gbXVlKQ0KKyAgICAgIHsN
CisJLy8gU2hvdWxkIG5ldmVyIGhhcHBlbi4uLg0KKwl0aHJvdyAoSW50ZXJuYWxFcnJvcikgKG5l
dyBJbnRlcm5hbEVycm9yKCkuaW5pdENhdXNlKG11ZSkpOw0KKyAgICAgIH0NCisNCiAgICAgcmV0
dXJuIG51bGw7DQogICB9DQogDQo=

--=-H0lVJgam4/jA0us0VUIy--

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

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

iD8DBQBAU0oFxVhZCJWr9QwRAq4yAJ47ETJQKpvKNxoS5qedAQMxj+B6dgCfRXl1
C2AVbOe1js5JM0nPmGBgEn8=
=H5Pe
-----END PGP SIGNATURE-----

--=-MHnH/AqwJEC6JhVs5j+2--




From MAILER-DAEMON Sat Mar 13 14:27:56 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2Enb-0004Cb-UL
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 14:27:55 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2Ej0-0003GR-NK
	for classpath@gnu.org; Sat, 13 Mar 2004 14:23:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2DkD-00075J-FC
	for classpath@gnu.org; Sat, 13 Mar 2004 13:20:52 -0500
Received: from [64.172.11.17] (helo=younglogic.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2DhP-0006W1-7v
	for classpath@gnu.org; Sat, 13 Mar 2004 13:17:27 -0500
Received: from [10.10.2.90] (helo=younglogic.com ident=adam)
	by younglogic.com with esmtp (Exim 3.35 #1 (Debian))
	id 1B2Clw-0002p6-00
	for <classpath@gnu.org>; Sat, 13 Mar 2004 09:18:04 -0800
Message-ID: <40534F2B.8020509@younglogic.com>
Date: Sat, 13 Mar 2004 10:12:59 -0800
From: Adam Young <adam@younglogic.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <200403111427.i2BERmEA011783@piglet.dstc.edu.au>
	<4052628E.9040903@younglogic.com>
	<20040313170915.GA6172@bluezoo.org>
In-Reply-To: <20040313170915.GA6172@bluezoo.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: Is this approach Valid
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 19:27:53 -0000

Yeah I've looked.  I'm just working on the stuff that they haven't 
done.  Definitely no need to duplicate effort.





From MAILER-DAEMON Sat Mar 13 14:30:58 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2EQk-00077G-Lr
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 14:04:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2EQW-00073E-DX
	for classpath@gnu.org; Sat, 13 Mar 2004 14:04:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2EPz-0006u8-Ld
	for classpath@gnu.org; Sat, 13 Mar 2004 14:04:02 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2Cnf-00045D-3Y
	for classpath@gnu.org; Sat, 13 Mar 2004 12:19:51 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2DHF9LP007885;
	Sat, 13 Mar 2004 12:15:45 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004031312165003811 ; Sat, 13 Mar 2004 12:16:50 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2DHCrbE005306; Sat, 13 Mar 2004 12:12:54 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B2Cgv-0002L4-70; Sat, 13 Mar 2004 12:12:53 -0500
Message-ID: <40533FF6.5060905@uqam.ca>
Date: Sat, 13 Mar 2004 12:08:06 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040122 Debian/1.6-1
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1079149082.1645.188.camel@elsschot.wildebeest.org>
In-Reply-To: <1079149082.1645.188.camel@elsschot.wildebeest.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.08 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 19:04:05 -0000

Hi Mark,

While importing Classpath into sablevm-classpath, using the
"classpath-0_08-release" tag, I notice that you are resuscitating
some files such as ./configure.in.  Why isn't this file left
into the Attic?  Maybe it's just a tagging mistake.

A good test, for a tag, is to do:
  cvs export -r tagname -d test classpath
then compare:
  diff -r classpath test | sort | less

So, maybe a thing to fix in 0.09?  ;-)  [It's considered bad
practice (and it is painful in CVS) to change an existing tag.
So, I recommend not changing the release-0_08-release tag.]

Have fun!

Etienne

Mark Wielaard wrote:
> We are pleased to announce a new development release of GNU Classpath.
> ...

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Sat Mar 13 15:19:54 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2Fbt-00059A-G9
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 15:19:53 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2Fbo-00056j-F2
	for classpath@gnu.org; Sat, 13 Mar 2004 15:19:48 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2FbD-0004vI-VF
	for classpath@gnu.org; Sat, 13 Mar 2004 15:19:43 -0500
Received: from [24.25.9.101] (helo=ms-smtp-02-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2FOb-0002eT-G7
	for classpath@gnu.org; Sat, 13 Mar 2004 15:06:09 -0500
Received: from [10.0.0.2] (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i2DK5vkF004403; Sat, 13 Mar 2004 15:05:58 -0500 (EST)
From: "C. Brian Jones" <cbj@gnu.org>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1079202513.1645.381.camel@elsschot.wildebeest.org>
References: <1079149082.1645.188.camel@elsschot.wildebeest.org>
	<40533FF6.5060905@uqam.ca>
	<1079202513.1645.381.camel@elsschot.wildebeest.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-mpfO8c6/JRh0cXXsayZP"
Message-Id: <1079208357.14535.38.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Sat, 13 Mar 2004 15:05:57 -0500
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>, classpath@gnu.org
Subject: Re: GNU Classpath 0.08 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 20:19:50 -0000


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

On Sat, 2004-03-13 at 13:28, Mark Wielaard wrote:
> Hi, Etienne,
>=20
> On Sat, 2004-03-13 at 18:08, Etienne Gagnon wrote:
> > While importing Classpath into sablevm-classpath, using the
> > "classpath-0_08-release" tag, I notice that you are resuscitating
> > some files such as ./configure.in.  Why isn't this file left
> > into the Attic?  Maybe it's just a tagging mistake.
> >=20
> > A good test, for a tag, is to do:
> >   cvs export -r tagname -d test classpath
> > then compare:
> >   diff -r classpath test | sort | less
> >=20
> > So, maybe a thing to fix in 0.09?  ;-)  [It's considered bad
> > practice (and it is painful in CVS) to change an existing tag.
> > So, I recommend not changing the release-0_08-release tag.]
>=20
> Drat. Sorry about that. Yes, I made a mistake while tagging. I had
> tested everything, up to and including a complete make distcheck and a
> mauve and vte test run on another clean machine, but then went back to
> my development machine for the final cvs tag. And of course did it in
> the wrong working directory... I had hoped that I had done the
> re-tagging correctly, but forgot about the old files. I should have send
> a warning to the list.
>=20
> Thanks for the list of files erroneously tagged.
> I looked at the cvs documentation and it seems that you can remove tags
> from Attic files using rtag -a but I am a bit afraid that might mess up
> the tagging even more. I promise to do better for 0.09. For now please
> check a cvs checkout against the official classpath-0.08.tar.gz file.
> Or does someone know the magic command to make it all right in the
> repository?
>=20
> Thanks,

I would probably go ahead with the rtag -a.  I think just make sure in
the future to use rtag to avoid tagging local working directory files.

Brian

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

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

iD8DBQBAU2mlcEcmdY33uzYRAmIdAJ4rSWkIB/44HzEFuErumoZCzUZnjgCgp9Hd
olzJZR85zWY47xL8AmnVJc4=
=6LU3
-----END PGP SIGNATURE-----

--=-mpfO8c6/JRh0cXXsayZP--




From MAILER-DAEMON Sat Mar 13 15:35:24 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2FjO-0007FU-9U
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 15:27:38 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2EDi-00049x-Uc
	for classpath@gnu.org; Sat, 13 Mar 2004 13:50:50 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1Qky-0002y7-Lo
	for classpath@gnu.org; Thu, 11 Mar 2004 09:02:25 -0500
Received: from [24.25.9.101] (helo=ms-smtp-02-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1QOB-0007r5-N5
	for classpath@gnu.org; Thu, 11 Mar 2004 08:38:20 -0500
Received: from [10.0.0.2] (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i2BDc4kF016190; Thu, 11 Mar 2004 08:38:04 -0500 (EST)
From: "C. Brian Jones" <cbj@gnu.org>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1078704046.1736.59.camel@elsschot.wildebeest.org>
References: <1078704046.1736.59.camel@elsschot.wildebeest.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-g2synRlC5Nsfryy5Ko2S"
Message-Id: <1079012283.14535.34.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Thu, 11 Mar 2004 08:38:03 -0500
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: classpath@gnu.org, Wes Biggs <wes@cacas.org>
Subject: Re: Imported gnu.regexp and java.util.regex wrappers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 20:27:35 -0000


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

On Sun, 2004-03-07 at 19:00, Mark Wielaard wrote:
> Hi all,
>=20
> I finally imported gnu.regexp and added java.util.regex wrappers for it.
> At the moment our gnu.regexp is the same as the original gnu.regexp
> version, except for a few files and added copyright notices.

Maybe I should have mentioned it earlier (list is slow), but Dalibor
Topic submitted wrappers for gnu.regexp to the list a year or so ago you
could have used since Kaffe has been doing this for a while.  Maybe they
have fixed the 'bugs' already.

Brian

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

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

iD8DBQBAUGu7cEcmdY33uzYRAhx5AJ9s80wp1CIiIJOLZtuQo4aYz2UdmACeL5fO
//OabttOjjGzodousJ7LbvQ=
=xjkq
-----END PGP SIGNATURE-----

--=-g2synRlC5Nsfryy5Ko2S--




From MAILER-DAEMON Sat Mar 13 17:16:50 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2HAu-0005YS-Cz
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 17:00:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2HAk-0005Vq-62
	for classpath@gnu.org; Sat, 13 Mar 2004 16:59:58 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2ETF-0007ve-4x
	for classpath@gnu.org; Sat, 13 Mar 2004 14:07:24 -0500
Received: from [212.74.117.6] (helo=dinopsis.arachsys.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2Cdc-0002Ad-UF
	for classpath@gnu.org; Sat, 13 Mar 2004 12:09:29 -0500
Received: from dog by dinopsis.arachsys.net with local (Exim 3.35 #1)
	id 1B2CdP-0002gg-00; Sat, 13 Mar 2004 17:09:15 +0000
Date: Sat, 13 Mar 2004 17:09:15 +0000
From: Chris Burdess <dog@bluezoo.org>
To: Adam Young <adam@younglogic.com>
Message-ID: <20040313170915.GA6172@bluezoo.org>
Mail-Followup-To: Adam Young <adam@younglogic.com>,
	GNU Classpath <classpath@gnu.org>
References: <200403111427.i2BERmEA011783@piglet.dstc.edu.au>
	<4052628E.9040903@younglogic.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4052628E.9040903@younglogic.com>
User-Agent: Mutt/1.3.28i
X-URL: http://www.bluezoo.org/
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Is this approach Valid
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 22:00:05 -0000

Adam Young wrote:
> Hi, I'm the guys that joined recently and claimed he woulld implmenet 
> the javax.security.auth packages.

GNU Crypto (http://savannah.gnu.org/projects/gnu-crypto/) has already
implemented the javax.security.auth.callback and javax.security.sasl
packages. It might be an idea to make sure nobody in that project is
currently working on javax.security.auth, to avoid duplication.
-- 
Chris Burdess



From MAILER-DAEMON Sat Mar 13 18:13:32 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2HwC-0000WU-6i
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 17:49:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2GD1-0007Aw-2T
	for classpath@gnu.org; Sat, 13 Mar 2004 15:58:15 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2GCJ-0006xL-Tq
	for classpath@gnu.org; Sat, 13 Mar 2004 15:58:03 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2Fxh-0002wV-Ll
	for classpath@gnu.org; Sat, 13 Mar 2004 15:42:25 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2DKe8L1017059;
	Sat, 13 Mar 2004 15:40:13 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004031315411811861 ; Sat, 13 Mar 2004 15:41:18 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2DKZJbE009007; Sat, 13 Mar 2004 15:35:19 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B2Fqo-0002VD-GU; Sat, 13 Mar 2004 15:35:18 -0500
Message-ID: <40536F67.20001@uqam.ca>
Date: Sat, 13 Mar 2004 15:30:31 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040122 Debian/1.6-1
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1079149082.1645.188.camel@elsschot.wildebeest.org>	<40533FF6.5060905@uqam.ca>
	<1079202513.1645.381.camel@elsschot.wildebeest.org>
In-Reply-To: <1079202513.1645.381.camel@elsschot.wildebeest.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.08 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 22:48:57 -0000

Mark Wielaard wrote:
> Or does someone know the magic command to make it all right in the
> repository?

  cvs co classpath   # no tags
works fine, and does not export the dead files.  In other words, the
files *are* in the Attic; what you need to do is to get a clean working
copy with no dead files so that next time you make a tag, no dead file
gets tagged along the living files.

It's so much easier with Subversion... ;-P  You know: Subversion is now
officially released (1.0.0)!  Maybe it's time for Classpath to consider
migrating?

Etienne

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Sat Mar 13 20:00:36 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2Jda-0002MD-8u
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 19:37:54 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2JdP-0002K0-1D
	for classpath@gnu.org; Sat, 13 Mar 2004 19:37:43 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2Ily-0005NG-Io
	for classpath@gnu.org; Sat, 13 Mar 2004 18:43:02 -0500
Received: from [66.33.197.200] (helo=willum.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2IeC-0003Wu-D6
	for classpath@gnu.org; Sat, 13 Mar 2004 18:34:28 -0500
Received: from dexter (c-24-6-46-122.client.comcast.net [24.6.46.122])
	by willum.dreamhost.com (Postfix) with ESMTP
	id BC25B2C053; Sat, 13 Mar 2004 15:34:23 -0800 (PST)
Received: by dexter (Postfix, from userid 1000)
	id 352E6C2; Sat, 13 Mar 2004 15:34:19 -0800 (PST)
To: Adam Young <adam@younglogic.com>
References: <200403111427.i2BERmEA011783@piglet.dstc.edu.au>
	<4052628E.9040903@younglogic.com> <20040313170915.GA6172@bluezoo.org>
From: Casey Marshall <rsdio@metastatic.org>
Date: Sat, 13 Mar 2004 15:34:19 -0800
In-Reply-To: <20040313170915.GA6172@bluezoo.org> (Chris Burdess's message of
	"Sat, 13 Mar 2004 17:09:15 +0000")
Message-ID: <87y8q4s4n8.fsf@metastatic.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Is this approach Valid
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2004 00:37:45 -0000

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

>>>>> "Chris" == Chris Burdess <dog@bluezoo.org> writes:

Chris> Adam Young wrote:
>> Hi, I'm the guys that joined recently and claimed he woulld
>> implmenet the javax.security.auth packages.

Chris> GNU Crypto (http://savannah.gnu.org/projects/gnu-crypto/) has
Chris> already implemented the javax.security.auth.callback and
Chris> javax.security.sasl packages. It might be an idea to make sure
Chris> nobody in that project is currently working on
Chris> javax.security.auth, to avoid duplication.

Nope, we aren't. I have a start on the JGSS API (org.ietf.jgss) that
is somewhat related, but probably won't be working on
javax.security.auth anytime soon.

Of course, I'd recommend using GNU Crypto's
javax.security.auth.callback implementation, so there is at least no
duplication there.

- -- 
Casey Marshall || rsdio@metastatic.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQFAU5ppgAuWMgRGsWsRAu5FAJ49pWBDMH/JfByIDSurBoPt+7gMaQCfdqxN
amvMEr0or9OquRgCeaZoFWw=
=EJ3M
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Mar 13 20:03:09 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2Jku-0004qE-AB
	for mharc-classpath@gnu.org; Sat, 13 Mar 2004 19:45:28 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2J4e-0001Zj-SP
	for classpath@gnu.org; Sat, 13 Mar 2004 19:01:48 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B1RlG-0004sQ-J2
	for classpath@gnu.org; Thu, 11 Mar 2004 10:06:47 -0500
Received: from [62.253.162.43] (helo=mta03-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1RUe-0002Ix-H5
	for classpath@gnu.org; Thu, 11 Mar 2004 09:49:04 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta03-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040311144827.GTUZ5865.mta03-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Thu, 11 Mar 2004 14:48:27 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2BEm7CL032360; Thu, 11 Mar 2004 14:48:18 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2BEm7v3032356;
	Thu, 11 Mar 2004 14:48:07 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16464.31783.107648.307308@cuddles.cambridge.redhat.com>
Date: Thu, 11 Mar 2004 14:48:07 +0000
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
References: <200403041600.i24G0T4M000649@arch20m.dellroad.org>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath@gnu.org
Subject: Runtime.exec() implementation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2004 00:45:24 -0000

Archie Cobbs writes:
 > I wrote an implementation of Runtime.exec() (including a new class
 > java.lang.VMProcess which extends java.lang.Process and native code)
 > for JC. This can be easily merged into Classpath if people want it.
 > It seems like a pretty glaring omission.
 > 
 > This uses the usual Unix functions of fork(), exec(), waitpid(), etc.
 > and should be as portable as the existing native code.  I'd have to
 > rewrite my JCNI native code in JNI but that would be easy.
 > 
 > Let me know if people are interested.

This sounds good.  However, the precise implementation of this class
is very delicate and error-prone, and we found a number of bugs in
gcj's implementation.  The trouble is that our bugs were only noticed
after some time.  I guess you may write fewer bugs than we did, but
there still might be one or two in yours.  :-)

Would you be interested in having a look at the libgcj implementation
and comparing?  Rather than having to download or check out all of
libgcj, I could just send you the few files.

Andrew.




From MAILER-DAEMON Sun Mar 14 04:15:19 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2RiI-0003SY-QL
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 04:15:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2FZV-0004Tf-VX
	for classpath@gnu.org; Sat, 13 Mar 2004 15:17:26 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2F2g-0006pt-Gz
	for classpath@gnu.org; Sat, 13 Mar 2004 14:44:02 -0500
Received: from [141.45.4.9] (helo=blackhole.ipv6.fhtw-berlin.de)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B2DfE-0005yY-Qn
	for classpath@gnu.org; Sat, 13 Mar 2004 13:15:13 -0500
Received: from threejane.lichteblau.com ([141.45.32.5])
	by blackhole.ipv6.fhtw-berlin.de with smtp (Exim 3.31 #15)
	id 1B2Df8-000OHK-00
	for classpath@gnu.org; Sat, 13 Mar 2004 19:15:06 +0100
Received: (qmail 14287 invoked by uid 1000); 13 Mar 2004 18:15:07 -0000
Resent-Message-ID: <20040313181507.14286.qmail@threejane.lichteblau.com>
Date: Sat, 13 Mar 2004 13:38:08 +0100
To: Sascha Brawer <brawer@dandelis.ch>
Message-ID: <20040313123808.GB12667@lichteblau.com>
References: <20040311125819.6583@smtp.mail.ch.easynet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX"
Content-Disposition: inline
In-Reply-To: <20040311125819.6583@smtp.mail.ch.easynet.net>
User-Agent: Mutt/1.3.28i
Resent-From: dave@threejane.lichteblau.com
Resent-Date: Sat, 13 Mar 2004 19:15:07 +0100
Resent-To: classpath@gnu.org
X-Mailman-Approved-At: Sun, 14 Mar 2004 04:15:13 -0500
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Debugging acronyms
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 20:17:28 -0000


--IiVenqGWf+H9Y6IX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Quoting Sascha Brawer (brawer@dandelis.ch):
> I was thinking a bit about how we could support debugging in a way that
> would be common to several free VMs. For an introduction to the "Java
> Platform Debugger Architecture" (JPDA), please refer to [1].

After just having implemented JDWP encoding and a JDI-like API in Lisp,
I have briefly thought about properly implementing JDI in Java for
Classpath.  But I was not sure whether there (a) really is no such
implementation yet, and I did not want to duplicate work, and (b) which
virtual machines or applications could currently make use of it anyway.

> In particular, I am wondering whether it might be possible to implement a
> parser for the "Java Debug Wire Protocol" [JDWP, 2] -- in Java. The
> implementation would use the services of a delegate. Each VM could choose
> to implement the debugging delegate according to their own need.

Well, the client side will be written in Java, of course.
Are you suggesting to write the JDWP server side in Java?

That would require the virtual machine to run this code in a Java thread
(thus executing real Java code) during debugging.  I would expect that
to be problematic.
  - How is that thread handled when the virtual machine is suspended?
    The VM would have to ignore the suspension request and carry on
    running this one thread.
  - The debugging thread must probably not generate debugging events
    itself.
  - The code in this thread must never try to seize a lock which any
    other thread has access to, otherwise deadlock can occur.
Sounds tricky to me!

(Note that the JDWP client can always lock up threads in the VM, since
it can call Java methods in arbitrary threads.  Protection against that
cannot be provided by the VM.  But all ordinary JDWP commands should be
guaranteed to be safe by the VM.)

[...]
> To make it more fun, I wonder whether the interface to the debugging
> delegate could be based on JDI [4]. JDI is a client-side Java API for the
> JDWP protocol. Basically, the JDWP front-end would then post JDI requests
> to a weird JDI VirtualMachine. (Weird because it was representing the
> local VM, not a remote one).

Well, that is what I am doing in my toy VM here...  JDI seemed like the
right abstraction; the JDWP server in really a kind of proxy which
gateways between JDI and JDWP.  It's a nice idea if you ask me. :-)

But note that my "JDI" is not written in Java, it is just a JDI-like
interface written in the native language, so it does not involve running
Java code at all.

[...]
> My proposal seems like an excellent way to shoot oneself into the foot.
> On the other hand, it would be nice if the debugging stuff could at least
> partially be common between free VMs.

I would plead for a client side written in Java and a server side
written in C.  Exotic VMs (which have something other than C as their
native language) will need to implement the server side in that native
language.


David

--IiVenqGWf+H9Y6IX
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAUwCviGoiD4YyHUgRAmVTAJ9mp6HeMOqWhgWxUXlHaYPheQAiQwCgjn7M
wSnEZCRxegWwndgMjKJmrBQ=
=xoAF
-----END PGP SIGNATURE-----

--IiVenqGWf+H9Y6IX--



From MAILER-DAEMON Sun Mar 14 04:15:19 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2RiJ-0003Sj-Ch
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 04:15:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2F8R-0008DC-Px
	for classpath@gnu.org; Sat, 13 Mar 2004 14:49:27 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2F00-0006Fz-91
	for classpath@gnu.org; Sat, 13 Mar 2004 14:41:15 -0500
Received: from [141.45.4.9] (helo=blackhole.ipv6.fhtw-berlin.de)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B28PA-0008Du-7X
	for classpath@gnu.org; Sat, 13 Mar 2004 07:38:16 -0500
Received: from threejane.lichteblau.com ([141.45.32.5])
	by blackhole.ipv6.fhtw-berlin.de with smtp (Exim 3.31 #15)
	id 1B28P3-000OCQ-00
	for classpath@gnu.org; Sat, 13 Mar 2004 13:38:09 +0100
Received: (qmail 13683 invoked by uid 1000); 13 Mar 2004 12:38:09 -0000
From: "David Lichteblau" <david@lichteblau.com>
Date: Sat, 13 Mar 2004 13:38:09 +0100
To: Sascha Brawer <brawer@dandelis.ch>
Message-ID: <20040313123808.GB12667@lichteblau.com>
References: <20040311125819.6583@smtp.mail.ch.easynet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX"
Content-Disposition: inline
In-Reply-To: <20040311125819.6583@smtp.mail.ch.easynet.net>
User-Agent: Mutt/1.3.28i
X-Mailman-Approved-At: Sun, 14 Mar 2004 04:15:13 -0500
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Debugging acronyms
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2004 21:03:07 -0000


--IiVenqGWf+H9Y6IX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Quoting Sascha Brawer (brawer@dandelis.ch):
> I was thinking a bit about how we could support debugging in a way that
> would be common to several free VMs. For an introduction to the "Java
> Platform Debugger Architecture" (JPDA), please refer to [1].

After just having implemented JDWP encoding and a JDI-like API in Lisp,
I have briefly thought about properly implementing JDI in Java for
Classpath.  But I was not sure whether there (a) really is no such
implementation yet, and I did not want to duplicate work, and (b) which
virtual machines or applications could currently make use of it anyway.

> In particular, I am wondering whether it might be possible to implement a
> parser for the "Java Debug Wire Protocol" [JDWP, 2] -- in Java. The
> implementation would use the services of a delegate. Each VM could choose
> to implement the debugging delegate according to their own need.

Well, the client side will be written in Java, of course.
Are you suggesting to write the JDWP server side in Java?

That would require the virtual machine to run this code in a Java thread
(thus executing real Java code) during debugging.  I would expect that
to be problematic.
  - How is that thread handled when the virtual machine is suspended?
    The VM would have to ignore the suspension request and carry on
    running this one thread.
  - The debugging thread must probably not generate debugging events
    itself.
  - The code in this thread must never try to seize a lock which any
    other thread has access to, otherwise deadlock can occur.
Sounds tricky to me!

(Note that the JDWP client can always lock up threads in the VM, since
it can call Java methods in arbitrary threads.  Protection against that
cannot be provided by the VM.  But all ordinary JDWP commands should be
guaranteed to be safe by the VM.)

[...]
> To make it more fun, I wonder whether the interface to the debugging
> delegate could be based on JDI [4]. JDI is a client-side Java API for the
> JDWP protocol. Basically, the JDWP front-end would then post JDI requests
> to a weird JDI VirtualMachine. (Weird because it was representing the
> local VM, not a remote one).

Well, that is what I am doing in my toy VM here...  JDI seemed like the
right abstraction; the JDWP server in really a kind of proxy which
gateways between JDI and JDWP.  It's a nice idea if you ask me. :-)

But note that my "JDI" is not written in Java, it is just a JDI-like
interface written in the native language, so it does not involve running
Java code at all.

[...]
> My proposal seems like an excellent way to shoot oneself into the foot.
> On the other hand, it would be nice if the debugging stuff could at least
> partially be common between free VMs.

I would plead for a client side written in Java and a server side
written in C.  Exotic VMs (which have something other than C as their
native language) will need to implement the server side in that native
language.


David

--IiVenqGWf+H9Y6IX
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAUwCviGoiD4YyHUgRAmVTAJ9mp6HeMOqWhgWxUXlHaYPheQAiQwCgjn7M
wSnEZCRxegWwndgMjKJmrBQ=
=xoAF
-----END PGP SIGNATURE-----

--IiVenqGWf+H9Y6IX--



From MAILER-DAEMON Sun Mar 14 06:16:35 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2Tbf-0005Qp-5V
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 06:16:35 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2Tbc-0005QK-G7
	for classpath@gnu.org; Sun, 14 Mar 2004 06:16:32 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2Tba-0005Q6-Ih
	for classpath@gnu.org; Sun, 14 Mar 2004 06:16:31 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2Tba-0005Q0-43
	for classpath@gnu.org; Sun, 14 Mar 2004 06:16:30 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B2TbT-0004Zc-00
	for <classpath@gnu.org>; Sun, 14 Mar 2004 12:16:23 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <40536F67.20001@uqam.ca>
References: <1079149082.1645.188.camel@elsschot.wildebeest.org>
	<40533FF6.5060905@uqam.ca>
	<1079202513.1645.381.camel@elsschot.wildebeest.org>
	<40536F67.20001@uqam.ca>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-r1aM+ykoTQOgVQ/ALVEg"
Message-Id: <1079262984.10713.12.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 14 Mar 2004 12:16:24 +0100
Subject: Re: GNU Classpath 0.08 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2004 11:16:33 -0000


--=-r1aM+ykoTQOgVQ/ALVEg
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Sat, 2004-03-13 at 21:30, Etienne Gagnon wrote:
> It's so much easier with Subversion... ;-P  You know: Subversion is now
> officially released (1.0.0)!  Maybe it's time for Classpath to consider
> migrating?

No kidding :) I did a 'cvs rtag -aR classpath-0_08-release classpath'
which seems to have done the trick. So you get a 'clean' 0.08 release
with 'cvs export -r classpath-0_08-release classpath' now.
(But I recommend the release tar.gz file for normal devs since it also
contains the generated auto* file, including a configure script.)

Having subversion as a better CVS would be nice indeed. Hope Savannah
will support it in the future. But I was actually hoping Graydon would
tell us a bit more about his Monotone <http://www.venge.net/monotone/>
experiment. Of which he is the main author and which he was using to
sync the gcj head and gui branches. Since we have multiple
non-centralized development trees (classpath, gcc/libjava,
sablevm-classpath, kaffe/libraries/javalib, etc) each with their own
branches it seems a distributed version control system might be a real
win for making collaborating easier.

Cheers,

Mark

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

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

iD8DBQBAVD8HxVhZCJWr9QwRAtEbAJsF8JAmexGrG2CUPtAi4DWsd5m4RwCcCaoc
Qb6fqenTKx2E+iqkQCktcFE=
=X5l/
-----END PGP SIGNATURE-----

--=-r1aM+ykoTQOgVQ/ALVEg--




From MAILER-DAEMON Sun Mar 14 06:35:28 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2Ttv-0003YE-S0
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 06:35:27 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2Ttr-0003Xj-KI
	for classpath@gnu.org; Sun, 14 Mar 2004 06:35:23 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2Tto-0003Wl-JE
	for classpath@gnu.org; Sun, 14 Mar 2004 06:35:21 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2TtF-0003QN-WF
	for classpath@gnu.org; Sun, 14 Mar 2004 06:34:46 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B2Tt9-0004aH-00
	for <classpath@gnu.org>; Sun, 14 Mar 2004 12:34:39 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1079200261.1645.366.camel@elsschot.wildebeest.org>
References: <1079149082.1645.188.camel@elsschot.wildebeest.org>
	<1079200261.1645.366.camel@elsschot.wildebeest.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-VQmo1WKt9szhG8Nm5ljP"
Message-Id: <1079264080.10713.30.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 14 Mar 2004 12:34:40 +0100
Subject: Re: GNU Classpath 0.08 - How to use it
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2004 11:35:25 -0000


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

On Sat, 2004-03-13 at 18:51, Mark Wielaard wrote:
> [...]
> INSTALL JAMVM 1.1.1
> -------------------
> - Download
> http://heanet.dl.sourceforge.net/sourceforge/jamvm/jamvm-1.1.1.tar.gz
> - tar zxf jamvm-1.1.1.tar.gz
> - cd jamvm-1.1.1
> - patch -p0 < VMClassLoader.patch (attached to this email)
>   [This step is only necessary if you want to try out the new regex
>    support. It makes sure the bootstrap classloader can load some
>    property files needed by gnu.regex. It isn't the nicest solution, but
>    it works for now. Robert will probably come up with a better patch.
>    The patch assumes that classpath is installed in the default
>    location, please edit VMClassLoader.java if you used a --prefix
>    argument while installing classpath above.]

Forgot to add that you need to
- rm lib/classes.tar

Jamvm comes with precompiled classes and won't recompile your changed
sources except when you explicitly remove the classes.tar file first.=20

> - ./configure && make && make install
>   (Read the INSTALL file for configure options like
>    --classpath_install_dir=3D/some/dir when you installed GNU Classpath
>    with a non-default --prefix)
>=20
> Now don't forget to UNZIP the GNU Classpath glibj.zip file.
> [This is only necessary for runtime environments like jamvm that don't
> support zip files for their bootstrap classes. YOU WILL FORGET THIS ONE
> TIME DURING DEVELOPMENT. Be prepared!]
>=20
> - cd /usr/local/classpath/share/classpath/
> - unzip glibj.zip
>=20
> Make sure /usr/local/bin is in your path and you should be able to write
> a simple
> - echo 'public class Hello { public static void main(String[] args) { Sys=
tem.out.println("Hello World!"); } }' > Hello.java
> Compile it with
> - gcj -C Hello.java
> or
> - jikes --bootclasspath /usr/local/classpath/share/classpath/glibj.zip He=
llo.java
> And run it with
> - jamvm Hello

> INSTALL MAUVE
> -------------
> [...]
>   (11135 PASSes and 227 FAILs)
>
> Full results (60K gzipped) for my system can be found at
> http://www.klomp.org/mark/classpath/jamvm-1.1.1-cp-0.08.results.gz

Since I did actually forget the rm lib/classes.tar before creating these
results the old version had FAILs for the new regex tests. I uploaded a
new version of the results file (13202 PASSes and 226 FAILs).

> INSTALL VISUAL TEST ENGINE (AWT)
> --------------------------------
>=20
> Almost the same as above (export CVSROOT and cvs login should be done
> already).
> - cvs checkout wonka
> - cd wonka
> - Read the README
> - jikes -bootclasspath /usr/local/classpath/share/classpath/glibj.zip \
>         `find com -name \*.java`
> - jamvm com.acunia.wonka.test.awt.VisualTestEngine `cat tests.list`
> - Click around! [Yes, I know the colors are painful to the eyes...]

I should have mentioned that there is a Test.java and TestAWT.java in
Classpath CVS (gnu/java/awt/peer/gtk) which also show some simpler AWT
things (without setting the colors to all kind of interesting values, so
it looks more like your normal Gnome/Gtk+ applications).

Cheers,

Mark

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

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

iD8DBQBAVENQxVhZCJWr9QwRAnrwAJ9bYioyt/7+63VUSuT+ToOujlGxtwCfZ8F0
LixQZ1buqwv5BOAP2c0xm0M=
=M4Fs
-----END PGP SIGNATURE-----

--=-VQmo1WKt9szhG8Nm5ljP--




From MAILER-DAEMON Sun Mar 14 07:40:45 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2UeP-0001cE-Kx
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 07:23:29 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2UUO-0000J7-4Q
	for classpath@gnu.org; Sun, 14 Mar 2004 07:13:08 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2UTf-0000DN-QN
	for classpath@gnu.org; Sun, 14 Mar 2004 07:12:55 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2UTe-0000CD-OV
	for classpath@gnu.org; Sun, 14 Mar 2004 07:12:22 -0500
Received: from [217.8.196.127] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1219690; Sun, 14 Mar 2004 13:12:20 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Sun, 14 Mar 2004 13:12:13 +0100
Message-Id: <20040314121213.2610@smtp.mail.ch.easynet.net>
In-Reply-To: <20040313123808.GB12667@lichteblau.com>
References: <20040313123808.GB12667@lichteblau.com>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: Vincent Partington <vinny@klomp.org>
Subject: Re: Debugging acronyms
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2004 12:23:27 -0000

David Lichteblau <david@lichteblau.com> wrote on Sat, 13 Mar 2004 13:38:
09 +0100:

>I have briefly thought about properly implementing JDI in Java for
>Classpath.  But I was not sure whether there (a) really is no such
>implementation yet, and I did not want to duplicate work, and (b) which
>virtual machines or applications could currently make use of it anyway.

(a): I haven't found any free JDI implementation. But of course, there
may well exist one without my knowledge.

(b): As a client-side API, any JDI implementation should run on all VMs.
A free application that depends on JDI is JSwat, a GPL-ed graphical
debugger. Right now, there are also other things missing from Classpath
that would prevent JSwat from running on a free JVM, but with Swing
coming, JDI will probably be the largest missing part.

  <http://www.bluemarsh.com/java/jswat/>

David, would you be interested in working on JDI? I've recently started
with an implementation for Classpath, but it would be nice to work together!

>Are you suggesting to write the JDWP server side in Java?

Yes, that was my proposal. VMs like JNodeOS, where everything is in Java
(or assembly), would need this anyway.

>  - The code in this thread must never try to seize a lock which any
>    other thread has access to, otherwise deadlock can occur.

That seems the trickiest point.

Chris Gray <chris.gray@kiffer.be> wrote on Sat, 13 Mar 2004 18:27:23 +0100:

>On the whole I think it's a good idea.  I'm just a little nervous of the
size 
>of the JDI stuff - it's all very nicely object-oriented, but it could end up 
>using a fair amount of RAM (by embedded standards).

I see, this is a problem.

>The other thing to worry about is the issue of using the VM to debug itself. 
>When you request notification of a ClassPrepareEvent, the first thing
you see 
>may well be the preparation of class ClassPrepareEvent. :)

I think this could be avoided by resolving all needed classes early in
the debugger thread, before accepting any JDWP connections. (Also, for
the reason pointed out by David, we couldn't acquire a lock on the
classloader while debugging).

>I would plead for a client side written in Java and a server side
>written in C.  Exotic VMs (which have something other than C as their
>native language) will need to implement the server side in that native
>language.

Maybe you're right. The hassle of doing the JDWP server in Java might not
be that worthwile, since JDWP is a fairly small layer compared to what
else is needed for supporting debuggers.

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 





From MAILER-DAEMON Sun Mar 14 09:08:21 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2W3O-0006ki-RN
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 08:53:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2W2I-0006Gl-Ak
	for classpath@gnu.org; Sun, 14 Mar 2004 08:52:14 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2Vrc-0003ai-VF
	for classpath@gnu.org; Sun, 14 Mar 2004 08:41:13 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2Vlo-0002JQ-BH
	for classpath@gnu.org; Sun, 14 Mar 2004 08:35:12 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B2VlU-0004mz-00; Sun, 14 Mar 2004 14:34:52 +0100
From: Mark Wielaard <mark@klomp.org>
To: Patrik Reali <reali@acm.org>
In-Reply-To: <3899927.1079173843@[192.168.1.3]>
References: <200403042219.i24MJPMN002352@arch20m.dellroad.org>
	<1078732369.1736.71.camel@elsschot.wildebeest.org>
	<3899927.1079173843@[192.168.1.3]>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-hZOrKuQebHRc6Nhgn3Cr"
Message-Id: <1079271294.10713.51.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 14 Mar 2004 14:34:54 +0100
Cc: Sascha Brawer <brawer@dandelis.ch>, GNU Classpath <classpath@gnu.org>
Subject: Re: 0.08 NEWS
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2004 13:53:17 -0000


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

Hi,

On Sat, 2004-03-13 at 10:30, Patrik Reali wrote:
> In fact, I assume that only a JVM written in Java is able to use this cla=
ss=20
> for the bootstrap of the VM. (Correct me if wrong)

Yes for bootstrap. But it is meant as Application/SystemClassloader [*]
which gets invoked to load the actual program as soon as the rest of the
VM is bootstraped. If used then the thing a VM would do is parse the
command line arguments to set java.class.path correctly and get the main
class to start up. Then it would just call getSystemClassLoader() on
java.lang.ClassLoader which returns an instance of
gnu.java.lang.SystemClassLoader on which it can then call loadClass()
for the main (application) class and invoke the main() method of that
class. At least that is the theory. And if our SystemClassLoader
actually extended URLClassLoader and our example VMClassLoader would set
the given ProtectionDomain on the resulting Class instance (and the pd
ProtectionDomain of Class was package private, not protected) then the
VM would get lots things working nicely without to much work.
(In theory...)

Cheers,

Mark

[*] Or Classpath API documentation does explain the difference btw.
http://www.klomp.org/mark/classpath/doc/api/html/java/lang/ClassLoader.html

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

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

iD8DBQBAVF99xVhZCJWr9QwRAlFeAKCs7EZoYxmdjz+AOUaUs6lLtZL4VQCggNYK
J5KdW4rJTaXqDGVAvTP+nGc=
=lWzg
-----END PGP SIGNATURE-----

--=-hZOrKuQebHRc6Nhgn3Cr--




From MAILER-DAEMON Sun Mar 14 09:33:09 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2Wft-0006Z3-ET
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 09:33:09 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2Wfq-0006YN-U0
	for classpath@gnu.org; Sun, 14 Mar 2004 09:33:06 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2WaU-0005NX-Up
	for classpath@gnu.org; Sun, 14 Mar 2004 09:28:06 -0500
Received: from [24.25.9.102] (helo=ms-smtp-03-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2WaT-0005Ls-0x
	for classpath@gnu.org; Sun, 14 Mar 2004 09:27:33 -0500
Received: from [10.0.0.2] (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i2EERKs1028356; Sun, 14 Mar 2004 09:27:20 -0500 (EST)
From: "C. Brian Jones" <cbj@gnu.org>
To: Sascha Brawer <brawer@dandelis.ch>
In-Reply-To: <20040314121213.2610@smtp.mail.ch.easynet.net>
References: <20040313123808.GB12667@lichteblau.com>
	<20040314121213.2610@smtp.mail.ch.easynet.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-2Y+y57ShhU7frcSeJpGq"
Message-Id: <1079274439.18590.6.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Sun, 14 Mar 2004 09:27:19 -0500
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: Vincent Partington <vinny@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: Debugging acronyms
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2004 14:33:07 -0000


--=-2Y+y57ShhU7frcSeJpGq
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2004-03-14 at 07:12, Sascha Brawer wrote:

> (b): As a client-side API, any JDI implementation should run on all VMs.
> A free application that depends on JDI is JSwat, a GPL-ed graphical
> debugger. Right now, there are also other things missing from Classpath
> that would prevent JSwat from running on a free JVM, but with Swing
> coming, JDI will probably be the largest missing part.
>=20
>   <http://www.bluemarsh.com/java/jswat/>
>=20

It may be easier to test/work with JMP, http://www.khelekore.org/jmp/,
since it is written in C and uses GTK for a GUI interface.  Of course at
some point working with jswat would be sweet.  Assuming gdb could work
with some sort of plugin then that would make ddd work as well though I
think you could write a 'jdb' type program to make that work as well if
getting gdb to work is a complete pain.

Brian

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

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

iD8DBQBAVGvHcEcmdY33uzYRAgbMAJkBn1s0B0s5kfqUqljMyXkPS+m79ACeJ6Tz
mNAlIMCoN26npgJOUcCpDtE=
=9v+C
-----END PGP SIGNATURE-----

--=-2Y+y57ShhU7frcSeJpGq--




From MAILER-DAEMON Sun Mar 14 10:44:49 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2Xms-0006Z5-FY
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 10:44:26 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2Xmd-00063r-3F
	for classpath@gnu.org; Sun, 14 Mar 2004 10:44:11 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2XlN-0004Vb-3f
	for classpath@gnu.org; Sun, 14 Mar 2004 10:43:25 -0500
Received: from [62.131.71.108] (helo=server.intern.prangsma.net)
	by monty-python.gnu.org with smtp (Exim 4.30) id 1B2Xl5-00041Z-TZ
	for classpath@gnu.org; Sun, 14 Mar 2004 10:42:36 -0500
Received: (qmail 17048 invoked from network); 14 Mar 2004 10:18:58 -0000
Received: from unknown (HELO lt1epr) (192.168.253.96)
	by 192.168.253.110 with SMTP; 14 Mar 2004 10:18:58 -0000
Message-ID: <006201c409ad$56f2a030$60fda8c0@lt1epr>
From: "Ewout Prangsma" <ewout@prangsma.net>
To: <classpath@gnu.org>
Date: Sun, 14 Mar 2004 11:15:56 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Subject: Java Security classes available
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2004 15:44:19 -0000

Hi all,

In JNode (a Java OS using a derived classpath version) we've implemented the
Java Security architecture. During the implementation several bugs in
classpath have been fixed. If you need them, feel free to get them from our
CVS server (http://cvs.sourceforge.net/viewcvs.py/jnode after a SF delay) or
contact me.

The following classes have been fixed / created

gnu.java.security.PolicyFile
gnu.java.security.actions.GetBooleanAction
gnu.java.security.actions.GetIntegerAction
gnu.java.security.actions.GetPropertiesAction
gnu.java.security.actions.GetPropertyAction
gnu.java.security.actions.GetPolicyAction
gnu.java.security.actions.InvokeAction
gnu.java.security.actions.SetPropertyAction

java.awt.Toolkit
java.io.FilePermission
java.net.SocketPermission
java.security.CodeSource
java.util.TimeZone
java.util.Locale
java.util.PropertyPermission

The implementation of the access control itself can be found in:

org.jnode.vm.VmAccessController
org.jnode.vm.VmAccessControlContext

Regards
Ewout





From MAILER-DAEMON Sun Mar 14 17:29:24 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2e6k-0000gI-Tv
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 17:29:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2e6h-0000dp-GS
	for classpath@gnu.org; Sun, 14 Mar 2004 17:29:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2e68-00005h-VV
	for classpath@gnu.org; Sun, 14 Mar 2004 17:29:16 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B2e68-0008RZ-3y
	for classpath@gnu.org; Sun, 14 Mar 2004 17:28:44 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2EMP0nF042682;
	Mon, 15 Mar 2004 09:25:02 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>, "Patrik Reali" <reali@acm.org>
Date: Mon, 15 Mar 2004 08:24:59 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCKEOKDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADA9A@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2004 22:29:20 -0000

> Jeroen Frijters wrote:
> The reference implementation of VMClass will not have any instance
> members, but VMs might choose to add instance state. However, after
> thinking about it some more, I think it would be better to just add an
> instance member to Class, called vmState (or whatever) of type Object.
> That is more flexible (at the cost of additional downcasts).
>
> The only overhead for you is the unused vmState reference field in each
> Class instance.

That sounds like a better general design. But to be frank we're not likely
to use Class/VMClass in this way. Our Class already requires an "opaque"
reference to a VM internal "type mirror", and we chose our own strategy for
populating the reflective information for a Class instance. On top of that
there's the static initializer in Class that we can't have. Hence we'll most
likely stick with providing our own version of java.lang.Class.

David Holmes




From MAILER-DAEMON Sun Mar 14 20:17:15 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2gj9-00030C-OX
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 20:17:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2gj5-0002yG-3M
	for classpath@gnu.org; Sun, 14 Mar 2004 20:17:07 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2giX-0002uN-UM
	for classpath@gnu.org; Sun, 14 Mar 2004 20:17:05 -0500
Received: from [32.97.182.104] (helo=e4.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B2ghR-0002l8-26
	for classpath@gnu.org; Sun, 14 Mar 2004 20:15:25 -0500
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com
	[9.56.224.150])
	by e4.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id i2F1FBG9845402
	for <classpath@gnu.org>; Sun, 14 Mar 2004 20:15:11 -0500
Received: from d01ml604.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by northrelay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id
	i2F1FAnr126870
	for <classpath@gnu.org>; Sun, 14 Mar 2004 20:15:10 -0500
In-Reply-To: <NFBBKALFDCPFIDBNKAPCKEOKDOAA.dholmes@dltech.com.au>
To: classpath <classpath@gnu.org>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
Message-ID: <OF327BDBC3.929F7A43-ON85256E58.0006857C-85256E58.0006D3E6@us.ibm.com>
Date: Sun, 14 Mar 2004 20:15:01 -0500
X-MIMETrack: Serialize by Router on D01ML604/01/M/IBM(Release 6.51HF87 | March
	11, 2004) at 03/14/2004 20:15:10,
	Serialize complete at 03/14/2004 20:15:10
Content-Type: multipart/alternative;
	boundary="=_alternative 0006D20285256E58_="
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Mar 2004 01:17:08 -0000

This is a multipart message in MIME format.
--=_alternative 0006D20285256E58_=
Content-Type: text/plain; charset="US-ASCII"

> Jeroen Frijters wrote:
> The reference implementation of VMClass will not have any instance
> members, but VMs might choose to add instance state. However, after
> thinking about it some more, I think it would be better to just add an
> instance member to Class, called vmState (or whatever) of type Object.
> That is more flexible (at the cost of additional downcasts).
>
> The only overhead for you is the unused vmState reference field in each
> Class instance.

This sounds like a reasonable approach to me too.  Jikes RVM currently 
uses its own implementation of java.lang.Class, but we might be able to 
switch over to something like this.  Having the vmstate be of type Object 
having  VMClass be all static methods will be easier for us to migrate to 
than the current design.

--dave
--=_alternative 0006D20285256E58_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2><tt>&gt; Jeroen Frijters wrote:<br>
&gt; The reference implementation of VMClass will not have any instance<br>
&gt; members, but VMs might choose to add instance state. However, after<br>
&gt; thinking about it some more, I think it would be better to just add
an<br>
&gt; instance member to Class, called vmState (or whatever) of type Object.<br>
&gt; That is more flexible (at the cost of additional downcasts).<br>
&gt;<br>
&gt; The only overhead for you is the unused vmState reference field in
each<br>
&gt; Class instance.</tt></font>
<br>
<br><font size=2 face="sans-serif">This sounds like a reasonable approach
to me too. &nbsp;Jikes RVM currently uses its own implementation of java.lang.Class,
but we might be able to switch over to something like this. &nbsp;Having
the vmstate be of type Object having &nbsp;VMClass be all static methods
will be easier for us to migrate to than the current design.</font>
<br>
<br><font size=2 face="sans-serif">--dave</font>
--=_alternative 0006D20285256E58_=--



From MAILER-DAEMON Sun Mar 14 20:35:56 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2h0O-0004xA-1S
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 20:35:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2gzL-0004FC-K3
	for classpath@gnu.org; Sun, 14 Mar 2004 20:33:55 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2gyA-0003Qg-9R
	for classpath@gnu.org; Sun, 14 Mar 2004 20:33:14 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B2guo-000052-2o
	for classpath@gnu.org; Sun, 14 Mar 2004 20:29:14 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2F1Q5Gc021171;
	Mon, 15 Mar 2004 12:26:06 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Mon, 15 Mar 2004 11:26:03 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMEPADOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
In-Reply-To: <NFBBKALFDCPFIDBNKAPCIEGMDOAA.dholmes@dltech.com.au>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Cc: classpath <classpath@gnu.org>
Subject: RE: Query on stacktrace management logic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Mar 2004 01:34:55 -0000

A while back I wrote:
> In particular now there is the
> Class/VMClass split there's an implication that VM's shouldn't
> need to customise Class - but the static initialization issue
> would thwart that in many cases.

I take this back. We had a cyclic dependency that forced us to treat Class
as special during the initialization sequence. That dependency was
unecessary and was actually broken a while back - but I hadn't realized it.
All we need is to disable class initialization early in the boostrap
process, but still construct Class objects as needed. Once class
initialization is enabled then Class can be initialized just like any other
class.

Cheers,
David Holmes




From MAILER-DAEMON Sun Mar 14 23:44:24 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2jxW-0002rp-61
	for mharc-classpath@gnu.org; Sun, 14 Mar 2004 23:44:14 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2jxS-0002jN-3c
	for classpath@gnu.org; Sun, 14 Mar 2004 23:44:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2jwt-0001lG-Ao
	for classpath@gnu.org; Sun, 14 Mar 2004 23:44:06 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B2jws-0001df-4O
	for classpath@gnu.org; Sun, 14 Mar 2004 23:43:34 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2F4fobB092852
	for <classpath@gnu.org>; Mon, 15 Mar 2004 15:41:51 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Mon, 15 Mar 2004 14:41:48 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMEPDDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Subject: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Mar 2004 04:44:12 -0000

I'm having a lot of trouble trying to understand what needs to be done to
correctly set up class loaders in Classpath.

Present point of confusion is SecurityManager.currentClassLoader and its
helper VMSecurityManager.currentClassLoader.

The docs for SecurityManager.currentClassLoader states that it returns:

   ClassLoader of the first non-system class on the execution
   stack. A non-system class is one whose ClassLoader is not equal to
   {@link ClassLoader#getSystemClassLoader()} or its ancestors.

and it simply returns VMSecurityManager.currentClassLoader() *but* the docs
for VMSecurityManager.currentClassLoader state that it returns:

     This is the first non-null class loader
   * on the stack, if one exists, stopping either at the end of the stack
   * or the first instance of a PrivilegedAction. In other words, this call
   * automatically unwinds past all classes loaded by the bootstrap loader,
   * where getClassLoader() returns null, to get to the user class that
   * really invoked the call that needs a classloader.

These two descriptions do not match, so the delegation from SecurityManager
to VMSecurityManager is incorrect as the latter would return the
system/application classloader, while the former should not return that.
There seems to be confusion between the bootstrap loader (which is often
null) and the system/application loader (as returned by
getSystemClassLoader()) which is never null.

David Holmes




From MAILER-DAEMON Mon Mar 15 05:40:42 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B2pWU-0002Gb-29
	for mharc-classpath@gnu.org; Mon, 15 Mar 2004 05:40:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B2pWR-0002F1-87
	for classpath@gnu.org; Mon, 15 Mar 2004 05:40:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B2pVt-0001yx-Kk
	for classpath@gnu.org; Mon, 15 Mar 2004 05:40:37 -0500
Received: from [62.253.162.46] (helo=mta06-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2pVt-0001v8-6b
	for classpath@gnu.org; Mon, 15 Mar 2004 05:40:05 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta06-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040315103957.KQCZ19383.mta06-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Mon, 15 Mar 2004 10:39:57 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2FAcuCL031762; Mon, 15 Mar 2004 10:39:06 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2FAcsvx031756;
	Mon, 15 Mar 2004 10:38:54 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16469.34750.336691.229090@cuddles.cambridge.redhat.com>
Date: Mon, 15 Mar 2004 10:38:54 +0000
To: "David Holmes" <dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCMEPDDOAA.dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCMEPDDOAA.dholmes@dltech.com.au>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath <classpath@gnu.org>
Subject: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Mar 2004 10:40:39 -0000

David Holmes writes:
 > I'm having a lot of trouble trying to understand what needs to be done to
 > correctly set up class loaders in Classpath.
 > 
 > Present point of confusion is SecurityManager.currentClassLoader and its
 > helper VMSecurityManager.currentClassLoader.
 > 
 > The docs for SecurityManager.currentClassLoader states that it returns:
 > 
 >    ClassLoader of the first non-system class on the execution
 >    stack. A non-system class is one whose ClassLoader is not equal to
 >    {@link ClassLoader#getSystemClassLoader()} or its ancestors.
 > 
 > and it simply returns VMSecurityManager.currentClassLoader() *but* the docs
 > for VMSecurityManager.currentClassLoader state that it returns:
 > 
 >      This is the first non-null class loader
 >    * on the stack, if one exists, stopping either at the end of the stack
 >    * or the first instance of a PrivilegedAction. In other words, this call
 >    * automatically unwinds past all classes loaded by the bootstrap loader,
 >    * where getClassLoader() returns null, to get to the user class that
 >    * really invoked the call that needs a classloader.
 > 
 > These two descriptions do not match, so the delegation from SecurityManager
 > to VMSecurityManager is incorrect as the latter would return the
 > system/application classloader, while the former should not return that.
 > There seems to be confusion between the bootstrap loader (which is often
 > null) and the system/application loader (as returned by
 > getSystemClassLoader()) which is never null.

What we do at the moment is wrong.  I've needed to make quite a few
changes, and I'm sorry that I haven't folded them back into the main
sources.

Andrew.


Index: java/lang/ClassLoader.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/ClassLoader.java,v
retrieving revision 1.31
diff -c -2 -p -r1.31 ClassLoader.java
*** java/lang/ClassLoader.java	9 Oct 2003 16:24:55 -0000	1.31
--- java/lang/ClassLoader.java	15 Mar 2004 09:54:49 -0000
*************** public abstract class ClassLoader
*** 729,733 ****
        {
  	Class c = VMSecurityManager.getClassContext()[1];
! 	ClassLoader cl = c.getClassLoader();
  	if (cl != null && cl != systemClassLoader)
  	  sm.checkPermission(new RuntimePermission("getClassLoader"));
--- 742,746 ----
        {
  	Class c = VMSecurityManager.getClassContext()[1];
! 	ClassLoader cl = getClassLoader0(c);
  	if (cl != null && cl != systemClassLoader)
  	  sm.checkPermission(new RuntimePermission("getClassLoader"));
*************** public abstract class ClassLoader
*** 950,952 ****
--- 963,967 ----
      return false;
    }
+ 
+     static private final native ClassLoader getClassLoader0(Class c);
  }
Index: java/lang/natClassLoader.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/natClassLoader.cc,v
retrieving revision 1.63
diff -c -2 -p -r1.63 natClassLoader.cc
*** java/lang/natClassLoader.cc	9 Jan 2004 17:10:43 -0000	1.63
--- java/lang/natClassLoader.cc	15 Mar 2004 09:54:56 -0000
*************** java::lang::VMClassLoader::loadClass(jst
*** 147,150 ****
--- 147,158 ----
  }
  
+ // Return the true ClassLoader for a class, without doing security checks
+ ::java::lang::ClassLoader *
+ ::java::lang::ClassLoader::getClassLoader0 (::java::lang::Class *c)
+ {
+   return c->loader;
+ }
+ 
+ 
  void
  _Jv_WaitForState (jclass klass, int state)
Index: java/lang/VMSecurityManager.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/VMSecurityManager.java,v
retrieving revision 1.2
diff -c -2 -p -r1.2 VMSecurityManager.java
*** java/lang/VMSecurityManager.java	5 Dec 2002 00:49:29 -0000	1.2
--- java/lang/VMSecurityManager.java	15 Mar 2004 09:54:54 -0000
*************** class VMSecurityManager
*** 55,63 ****
      // FIXME this implementation is a bit wrong too -- the docs say we
      // must also consider ancestors of the system class loader.
      Class[] classStack = getClassContext ();
      for (int i = 0; i < classStack.length; i++)
        {
  	ClassLoader loader = classStack[i].getClassLoader();
! 	if (loader != null)
  	  return loader;
        }
--- 55,64 ----
      // FIXME this implementation is a bit wrong too -- the docs say we
      // must also consider ancestors of the system class loader.
+     ClassLoader systemClassLoader = VMClassLoader.getSystemClassLoader();
      Class[] classStack = getClassContext ();
      for (int i = 0; i < classStack.length; i++)
        {
  	ClassLoader loader = classStack[i].getClassLoader();
! 	if (loader != null && loader != systemClassLoader)
  	  return loader;
        }



From MAILER-DAEMON Mon Mar 15 17:22:31 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B30Te-0004rL-NZ
	for mharc-classpath@gnu.org; Mon, 15 Mar 2004 17:22:30 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B30PQ-0003IP-RH
	for classpath@gnu.org; Mon, 15 Mar 2004 17:18:08 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B30My-0002PD-5U
	for classpath@gnu.org; Mon, 15 Mar 2004 17:16:08 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B30Mw-0002OR-Jh
	for classpath@gnu.org; Mon, 15 Mar 2004 17:15:34 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id DE82E62238; Mon, 15 Mar 2004 22:15:29 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 05872-10; Mon, 15 Mar 2004 22:15:28 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-91-27.adsl.solnet.ch [212.41.91.27])
	by mail01.solnet.ch (Postfix) with ESMTP
	id E896D6227B; Mon, 15 Mar 2004 22:15:27 +0000 (GMT)
Received: from nbprr (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id AA6F861064; Mon, 15 Mar 2004 23:14:09 +0100 (CET)
Date: Mon, 15 Mar 2004 23:16:25 +0100
From: Patrik Reali <reali@acm.org>
To: Ewout Prangsma <ewout@prangsma.net>, classpath@gnu.org
Message-ID: <112123024.1079392585@[192.168.1.3]>
In-Reply-To: <006201c409ad$56f2a030$60fda8c0@lt1epr>
References: <006201c409ad$56f2a030$60fda8c0@lt1epr>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Virus-Scanned: by SolNet
Cc: 
Subject: Re: Java Security classes available
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Mar 2004 22:22:23 -0000

Hi,

I'll take care of this.

-Patrik

--------------------------------
Patrik Reali
http://www.reali.ch/~patrik/


--On Sonntag, 14. M=E4rz 2004 11:15 +0100 Ewout Prangsma =
<ewout@prangsma.net>=20
wrote:

> Hi all,
>
> In JNode (a Java OS using a derived classpath version) we've implemented
> the Java Security architecture. During the implementation several bugs in
> classpath have been fixed. If you need them, feel free to get them from
> our CVS server (http://cvs.sourceforge.net/viewcvs.py/jnode after a SF
> delay) or contact me.
>
> The following classes have been fixed / created
>
> gnu.java.security.PolicyFile
> gnu.java.security.actions.GetBooleanAction
> gnu.java.security.actions.GetIntegerAction
> gnu.java.security.actions.GetPropertiesAction
> gnu.java.security.actions.GetPropertyAction
> gnu.java.security.actions.GetPolicyAction
> gnu.java.security.actions.InvokeAction
> gnu.java.security.actions.SetPropertyAction
>
> java.awt.Toolkit
> java.io.FilePermission
> java.net.SocketPermission
> java.security.CodeSource
> java.util.TimeZone
> java.util.Locale
> java.util.PropertyPermission
>
> The implementation of the access control itself can be found in:
>
> org.jnode.vm.VmAccessController
> org.jnode.vm.VmAccessControlContext
>
> Regards
> Ewout
>
>
>
>
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
>





From MAILER-DAEMON Mon Mar 15 18:48:00 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B31oN-0002Wf-Ok
	for mharc-classpath@gnu.org; Mon, 15 Mar 2004 18:47:59 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B31oK-0002W0-Rj
	for classpath@gnu.org; Mon, 15 Mar 2004 18:47:56 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B31nn-0002Op-Vb
	for classpath@gnu.org; Mon, 15 Mar 2004 18:47:55 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B31ge-0001NX-L5
	for classpath@gnu.org; Mon, 15 Mar 2004 18:40:00 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2FNalDC006686;
	Tue, 16 Mar 2004 10:36:49 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Andrew Haley" <aph@redhat.com>
Date: Tue, 16 Mar 2004 09:36:47 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCKEPIDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <16469.34750.336691.229090@cuddles.cambridge.redhat.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Cc: classpath <classpath@gnu.org>
Subject: RE: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Mar 2004 23:47:57 -0000

Thanks for the response Andrew.

> Index: java/lang/ClassLoader.java
> ===================================================================
> +     static private final native ClassLoader getClassLoader0(Class c);

Shouldn't this be a VMClassLoader method rather than a new native method in
ClassLoader?

Thanks,
David Holmes




From MAILER-DAEMON Mon Mar 15 18:58:34 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B31yX-0005VS-54
	for mharc-classpath@gnu.org; Mon, 15 Mar 2004 18:58:29 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B31yP-0005Sa-Ti
	for classpath@gnu.org; Mon, 15 Mar 2004 18:58:21 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B31xs-0005LO-IN
	for classpath@gnu.org; Mon, 15 Mar 2004 18:58:19 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B31xr-0005LA-QJ
	for classpath@gnu.org; Mon, 15 Mar 2004 18:57:48 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2FNswDC023895;
	Tue, 16 Mar 2004 10:54:59 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Andrew Haley" <aph@redhat.com>
Date: Tue, 16 Mar 2004 09:54:58 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCCEPJDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <16469.34750.336691.229090@cuddles.cambridge.redhat.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Cc: classpath <classpath@gnu.org>
Subject: RE: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Mar 2004 23:58:23 -0000

Andrew,

I just realized that this code isn't in the Classpath version at all.

David 

> Index: java/lang/VMSecurityManager.java
> ===================================================================
> RCS file: /cvs/gcc/gcc/libjava/java/lang/VMSecurityManager.java,v
> retrieving revision 1.2
> diff -c -2 -p -r1.2 VMSecurityManager.java
> *** java/lang/VMSecurityManager.java	5 Dec 2002 00:49:29 -0000	1.2
> --- java/lang/VMSecurityManager.java	15 Mar 2004 09:54:54 -0000
> *************** class VMSecurityManager
> *** 55,63 ****
>       // FIXME this implementation is a bit wrong too -- the docs say we
>       // must also consider ancestors of the system class loader.
>       Class[] classStack = getClassContext ();
>       for (int i = 0; i < classStack.length; i++)
>         {
>   	ClassLoader loader = classStack[i].getClassLoader();
> ! 	if (loader != null)
>   	  return loader;
>         }
> --- 55,64 ----
>       // FIXME this implementation is a bit wrong too -- the docs say we
>       // must also consider ancestors of the system class loader.
> +     ClassLoader systemClassLoader = 
> VMClassLoader.getSystemClassLoader();
>       Class[] classStack = getClassContext ();
>       for (int i = 0; i < classStack.length; i++)
>         {
>   	ClassLoader loader = classStack[i].getClassLoader();
> ! 	if (loader != null && loader != systemClassLoader)
>   	  return loader;
>         }
> 



From MAILER-DAEMON Mon Mar 15 19:30:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B32Km-0004ca-0r
	for mharc-classpath@gnu.org; Mon, 15 Mar 2004 19:21:28 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B32Ka-0004ab-R2
	for classpath@gnu.org; Mon, 15 Mar 2004 19:21:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B32JN-0004BT-Rs
	for classpath@gnu.org; Mon, 15 Mar 2004 19:20:33 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B32J6-00046T-65
	for classpath@gnu.org; Mon, 15 Mar 2004 19:19:44 -0500
Received: from [217.8.220.104] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1242815; Tue, 16 Mar 2004 01:19:38 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Tue, 16 Mar 2004 01:19:36 +0100
Message-Id: <20040316001936.1058@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: Brian Gough <bjg@network-theory.co.uk>
Subject: Bugs #7123, Bad results for QuadCurve2D.solveQuadratic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 00:21:24 -0000

Hi all,

any opinions about what to do about Classpath Bug #7123?

  Bad results for QuadCurve2D.solveQuadratic
  https://savannah.gnu.org/bugs/?func=detailitem&item_id=7123

Would it be correct to amend the API documentation, saying that correct
results cannot be expected for input coefficients that have no exact
representation in IEEE 754?

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 





From MAILER-DAEMON Mon Mar 15 19:32:28 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B32VQ-0007Wd-5e
	for mharc-classpath@gnu.org; Mon, 15 Mar 2004 19:32:28 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B32LZ-0004x8-4a
	for classpath@gnu.org; Mon, 15 Mar 2004 19:22:17 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B32Hx-0003ew-LE
	for classpath@gnu.org; Mon, 15 Mar 2004 19:19:04 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B32Hw-0003dD-IY
	for classpath@gnu.org; Mon, 15 Mar 2004 19:18:32 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2G0HVDC047008
	for <classpath@gnu.org>; Tue, 16 Mar 2004 11:17:31 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Tue, 16 Mar 2004 10:17:31 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCAEPKDOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Subject: More ClassLoader problems
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 00:32:27 -0000

There seems to be some general confusion, concerning the bootstrap
classloader, which is often represented as null, and the "system" or
application classloader - as returned by ClassLoader.getSystemClassLoader -
which is never null.  For example, the class docs for java.lang.Class
states:

"Arrays with identical type and number of dimensions share the same class
(and null "system" ClassLoader, incidentally)."

First the system classloader is not null.

Second, arrays have the same classloader as their element type which is null
only if the element type is a primitive of itself loaded by the bootstrap
loader.

Then in the docs for Class.getClassLoader() it again incorrectly states
  "If it was loaded by the system classloader this method will return null".

"system" should be "bootstrap".

Cheers,
David Holmes





From MAILER-DAEMON Mon Mar 15 19:50:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B32mL-000210-Ug
	for mharc-classpath@gnu.org; Mon, 15 Mar 2004 19:49:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B32lT-0001ZP-1N
	for classpath@gnu.org; Mon, 15 Mar 2004 19:49:03 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B32k1-0008Va-4G
	for classpath@gnu.org; Mon, 15 Mar 2004 19:48:07 -0500
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B32iw-0007TI-67
	for classpath@gnu.org; Mon, 15 Mar 2004 19:46:26 -0500
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i2G0k8EA002561;
	Tue, 16 Mar 2004 10:46:08 +1000 (EST)
Message-Id: <200403160046.i2G0k8EA002561@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Sascha Brawer <brawer@dandelis.ch>
In-Reply-To: Message from Sascha Brawer <brawer@dandelis.ch> of "Tue,
	16 Mar 2004 01:19:36 +0100."
	<20040316001936.1058@smtp.mail.ch.easynet.net> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 16 Mar 2004 10:46:08 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.39
Cc: crawley@dstc.edu.au, Brian Gough <bjg@network-theory.co.uk>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Bugs #7123, Bad results for QuadCurve2D.solveQuadratic 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 00:49:56 -0000


> Would it be correct to amend the API documentation, saying that correct
> results cannot be expected for input coefficients that have no exact
> representation in IEEE 754?

That would be reasonable IMO.  I'm pretty sure that some of the QuadCurve2D
testcases fail with Sun's J2SE 1.4.2 on my Intel / Linux machine at home.
[I'll recheck ... ]

-- Steve





From MAILER-DAEMON Mon Mar 15 22:22:32 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B359z-00021E-WB
	for mharc-classpath@gnu.org; Mon, 15 Mar 2004 22:22:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B359w-0001z6-Nu
	for classpath@gnu.org; Mon, 15 Mar 2004 22:22:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B359Q-0001uW-DO
	for classpath@gnu.org; Mon, 15 Mar 2004 22:22:27 -0500
Received: from [64.172.11.17] (helo=younglogic.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B356B-0001SG-7w
	for classpath@gnu.org; Mon, 15 Mar 2004 22:18:35 -0500
Received: from [10.10.2.90] (helo=younglogic.com ident=adam)
	by younglogic.com with esmtp (Exim 3.35 #1 (Debian))
	id 1B34Ah-0005ZF-00
	for <classpath@gnu.org>; Mon, 15 Mar 2004 18:19:11 -0800
Message-ID: <405670F4.2050004@younglogic.com>
Date: Mon, 15 Mar 2004 19:13:56 -0800
From: Adam Young <adam@younglogic.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <200403160046.i2G0k8EA002561@piglet.dstc.edu.au>
In-Reply-To: <200403160046.i2G0k8EA002561@piglet.dstc.edu.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Dumb build error
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 03:22:29 -0000


Just tried to build 0.8.  After a minor .configure problem I got around 
by install libgtk2.0devel  running make caused the following problem:

adam@frenzy:~/devel/classpath/classpath-0.08$ make
Making all in lib
make[1]: Entering directory `/home/adam/devel/classpath/classpath-0.08/lib'
top_builddir=.. /bin/sh ./gen-classlist.sh standard
/usr/bin/gcj --bootclasspath '' -classpath 
..:../external/jaxp/source:../vm/current:.: -C -d . @classes
../java/security/cert/X509Certificate.java:143: error: Class 
`java.security.cert.X509Certificate' can't subclass interface 
`java.security.Certificate'.
   public abstract class X509Certificate extends Certificate implements 
X509Extension
                                                 ^

gcj --version
gcj (GCC) 3.3.3 (Debian)

The rest of the output from .configure follows:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/config.h usability... no
checking sys/config.h presence... no
checking for sys/config.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking asm/ioctls.h usability... yes
checking asm/ioctls.h presence... yes
checking for asm/ioctls.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking for ftruncate... yes
checking for fsync... yes
checking for select... yes
checking for gethostname... yes
checking for socket... yes
checking for strerror... yes
checking for fork... yes
checking for pipe... yes
checking for execve... yes
checking for open... yes
checking for close... yes
checking for lseek... yes
checking for fstat... yes
checking for read... yes
checking for write... yes
checking for htonl... yes
checking for memset... yes
checking for htons... yes
checking for connect... yes
checking for getsockname... yes
checking for sizeof... no
checking for getpeername... yes
checking for bind... yes
checking for listen... yes
checking for accept... yes
checking for recvfrom... yes
checking for send... yes
checking for sendto... yes
checking for setsockopt... yes
checking for getsockopt... yes
checking for time... yes
checking for mktime... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.2 gthread-2.0 >= 2.2 libart-2.0... yes
checking GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/libart-2.0
checking GTK_LIBS... -Wl,--export-dynamic -pthread -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 
-lart_lgpl_2
checking for gcjh... /usr/bin/gcjh
checking "jni_md.h support"... "yes"
checking for java... /usr/java/bin/java
checking for gcj... /usr/bin/gcj
checking gcj version... gcj (GCC) 3.3.3 (Debian)




From MAILER-DAEMON Tue Mar 16 02:41:47 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B39Ct-0006br-GJ
	for mharc-classpath@gnu.org; Tue, 16 Mar 2004 02:41:47 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B39Cm-0006ZN-05
	for classpath@gnu.org; Tue, 16 Mar 2004 02:41:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B39Ck-0006Z0-Le
	for classpath@gnu.org; Tue, 16 Mar 2004 02:41:38 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B39Cj-0006YQ-Tg
	for classpath@gnu.org; Tue, 16 Mar 2004 02:41:38 -0500
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B39CV-0001At-00; Tue, 16 Mar 2004 08:41:23 +0100
From: Mark Wielaard <mark@klomp.org>
To: Adam Young <adam@younglogic.com>
In-Reply-To: <405670F4.2050004@younglogic.com>
References: <200403160046.i2G0k8EA002561@piglet.dstc.edu.au>
	<405670F4.2050004@younglogic.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-vBBOIE6fugGhX8TFeVzI"
Message-Id: <1079422884.951.5.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Tue, 16 Mar 2004 08:41:25 +0100
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Dumb build error
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 07:41:40 -0000


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

Hi Adam,

On Tue, 2004-03-16 at 04:13, Adam Young wrote:
> /usr/bin/gcj --bootclasspath '' -classpath=20
> ..:../external/jaxp/source:../vm/current:.: -C -d . @classes
> ../java/security/cert/X509Certificate.java:143: error: Class=20
> `java.security.cert.X509Certificate' can't subclass interface=20
> `java.security.Certificate'.
>    public abstract class X509Certificate extends Certificate implements=20
> X509Extension
>                                                  ^
> gcj --version
> gcj (GCC) 3.3.3 (Debian)

That is strange. I have gcj (GCC) 3.3.3 (Debian 20040306) which doesn't
show that error. Somehow your gcj version gets java.security.Certificate
and java.security.cert.Certificate confused. Could you try rewriting it
to X509Certificate extends java.security.cert.Certificate explicitly?

Cheers,

Mark


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

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

iD8DBQBAVq+jxVhZCJWr9QwRAkJxAJ9z96ptjnX34aPyu82MQspmdhLVIACdHyhP
U4f7P4k5vdpYr3H6XlbBUqA=
=4BKF
-----END PGP SIGNATURE-----

--=-vBBOIE6fugGhX8TFeVzI--




From MAILER-DAEMON Tue Mar 16 02:57:31 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B39Pl-0005QR-O5
	for mharc-classpath@gnu.org; Tue, 16 Mar 2004 02:55:05 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B39PK-000596-Kx
	for classpath@gnu.org; Tue, 16 Mar 2004 02:54:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B39Ok-0004cg-Ml
	for classpath@gnu.org; Tue, 16 Mar 2004 02:54:35 -0500
Received: from [212.6.122.141] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B39OH-00047A-W2
	for classpath@gnu.org; Tue, 16 Mar 2004 02:53:34 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-95-195.ewetel.net
	[80.228.95.195])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i2G7qjqb027209;
	Tue, 16 Mar 2004 08:52:46 +0100 (MET)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B39NV-0000PJ-00; Tue, 16 Mar 2004 08:52:45 +0100
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>, Adam Young <adam@younglogic.com>
Date: Tue, 16 Mar 2004 08:52:30 +0100
User-Agent: KMail/1.5.4
References: <200403160046.i2G0k8EA002561@piglet.dstc.edu.au>
	<405670F4.2050004@younglogic.com>
	<1079422884.951.5.camel@localhost>
In-Reply-To: <1079422884.951.5.camel@localhost>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Disposition: inline
Message-Id: <200403160852.30172.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail4.ewetel.de id
	i2G7qjqb027209
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Dumb build error
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 07:54:47 -0000
X-List-Received-Date: Tue, 16 Mar 2004 07:54:47 -0000

Am Dienstag, 16. M=E4rz 2004 08:41 schrieb Mark Wielaard:
> Hi Adam,
>
> On Tue, 2004-03-16 at 04:13, Adam Young wrote:
> > /usr/bin/gcj --bootclasspath '' -classpath
> > ..:../external/jaxp/source:../vm/current:.: -C -d . @classes
> > ../java/security/cert/X509Certificate.java:143: error: Class
> > `java.security.cert.X509Certificate' can't subclass interface
> > `java.security.Certificate'.
> >    public abstract class X509Certificate extends Certificate
> > implements X509Extension
> >                                                  ^
> > gcj --version
> > gcj (GCC) 3.3.3 (Debian)
>
> That is strange. I have gcj (GCC) 3.3.3 (Debian 20040306) which
> doesn't show that error. Somehow your gcj version gets
> java.security.Certificate and java.security.cert.Certificate
> confused. Could you try rewriting it to X509Certificate extends
> java.security.cert.Certificate explicitly?

yeah, I just tried with gcj 3.3.3 and 3.5.0 here too and all was fine.


Michael




From MAILER-DAEMON Tue Mar 16 06:19:49 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3Cbs-0005TI-PW
	for mharc-classpath@gnu.org; Tue, 16 Mar 2004 06:19:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3Cbk-0005Qy-4y
	for classpath@gnu.org; Tue, 16 Mar 2004 06:19:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3CbC-0005FI-OZ
	for classpath@gnu.org; Tue, 16 Mar 2004 06:19:38 -0500
Received: from [62.253.162.45] (helo=mta05-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3CbC-0005BI-8N
	for classpath@gnu.org; Tue, 16 Mar 2004 06:19:06 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta05-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040316111756.TBEK27661.mta05-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Tue, 16 Mar 2004 11:17:56 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2GBHsCL021649; Tue, 16 Mar 2004 11:18:04 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2GBHr0u021645;
	Tue, 16 Mar 2004 11:17:53 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16470.57953.182748.543436@cuddles.cambridge.redhat.com>
Date: Tue, 16 Mar 2004 11:17:53 +0000
To: "David Holmes" <dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCKEPIDOAA.dholmes@dltech.com.au>
References: <16469.34750.336691.229090@cuddles.cambridge.redhat.com>
	<NFBBKALFDCPFIDBNKAPCKEPIDOAA.dholmes@dltech.com.au>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath <classpath@gnu.org>
Subject: RE: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 11:19:40 -0000

David Holmes writes:
 > Thanks for the response Andrew.
 > 
 > > Index: java/lang/ClassLoader.java
 > > ===================================================================
 > > +     static private final native ClassLoader getClassLoader0(Class c);
 > 
 > Shouldn't this be a VMClassLoader method rather than a new native method in
 > ClassLoader?

I suppose so.  It makes little difference to libgcj, but that would be
better for classpath.  Wheatver you do here it's non-portable, so ...

Andrew.



From MAILER-DAEMON Tue Mar 16 08:50:14 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3Etw-0004tn-MD
	for mharc-classpath@gnu.org; Tue, 16 Mar 2004 08:46:36 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3Esv-0004RN-De
	for classpath@gnu.org; Tue, 16 Mar 2004 08:45:33 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3Erw-00044o-QL
	for classpath@gnu.org; Tue, 16 Mar 2004 08:45:04 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3EqZ-0003cR-00
	for classpath@gnu.org; Tue, 16 Mar 2004 08:43:07 -0500
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C40B5C.990B071B"
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Date: Tue, 16 Mar 2004 14:42:55 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADAD7@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: Proposed URI patch
Thread-Index: AcQLXJYgfhsxrjJYS8ODbnIhjE2SZg==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "classpath" <classpath@gnu.org>
Subject: Proposed URI patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 13:46:27 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C40B5C.990B071B
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I wanted to use URI for resource loading, but found out the hard way
that that wouldn't work (URI depends on regex, which depends on resource
loading) ;-)

As a side effect, I added (partial) support for escaping/unescaping to
URI.

Please review.

Regards,
Jeroen

------_=_NextPart_001_01C40B5C.990B071B
Content-Type: application/octet-stream;
	name="uri.patch"
Content-Transfer-Encoding: base64
Content-Description: uri.patch
Content-Disposition: attachment;
	filename="uri.patch"

SW5kZXg6IGphdmEvbmV0L1VSSS5qYXZhDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jvb3Qv
Y2xhc3NwYXRoL2NsYXNzcGF0aC9qYXZhL25ldC9VUkkuamF2YSx2DQpyZXRyaWV2aW5nIHJldmlz
aW9uIDEuNA0KZGlmZiAtdSAtcjEuNCBVUkkuamF2YQ0KLS0tIGphdmEvbmV0L1VSSS5qYXZhCTEx
IE1hciAyMDA0IDIzOjI5OjQ3IC0wMDAwCTEuNA0KKysrIGphdmEvbmV0L1VSSS5qYXZhCTE2IE1h
ciAyMDA0IDEzOjM5OjE4IC0wMDAwDQpAQCAtNjUsNiArNjUsMjEgQEANCiAgICAgIl4oKFteOi8/
I10rKTopPygoLy8oW14vPyNdKikpPyhbXj8jXSopKFxcPyhbXiNdKikpPyk/KCMoLiopKT8iOw0K
IA0KICAgLyoqDQorICAgKiBWYWxpZCBjaGFyYWN0ZXJzICh0YWtlbiBmcm9tIHJmYzIzOTYpDQor
ICAgKi8NCisgIHByaXZhdGUgc3RhdGljIGZpbmFsIFN0cmluZyBSRkMyMzk2X0RJR0lUID0gIjAx
MjM0NTY3ODkiOw0KKyAgcHJpdmF0ZSBzdGF0aWMgZmluYWwgU3RyaW5nIFJGQzIzOTZfTE9XQUxQ
SEEgPSAiYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoiOw0KKyAgcHJpdmF0ZSBzdGF0aWMgZmlu
YWwgU3RyaW5nIFJGQzIzOTZfVVBBTFBIQSA9ICJBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWiI7
DQorICBwcml2YXRlIHN0YXRpYyBmaW5hbCBTdHJpbmcgUkZDMjM5Nl9BTFBIQSA9IFJGQzIzOTZf
TE9XQUxQSEEgKyBSRkMyMzk2X1VQQUxQSEE7DQorICBwcml2YXRlIHN0YXRpYyBmaW5hbCBTdHJp
bmcgUkZDMjM5Nl9BTFBIQU5VTSA9IFJGQzIzOTZfRElHSVQgKyBSRkMyMzk2X0FMUEhBOw0KKyAg
cHJpdmF0ZSBzdGF0aWMgZmluYWwgU3RyaW5nIFJGQzIzOTZfTUFSSyA9ICItXy4hfionKCkiOw0K
KyAgcHJpdmF0ZSBzdGF0aWMgZmluYWwgU3RyaW5nIFJGQzIzOTZfVU5SRVNFUlZFRCA9IFJGQzIz
OTZfQUxQSEFOVU0gKyBSRkMyMzk2X01BUks7DQorICBwcml2YXRlIHN0YXRpYyBmaW5hbCBTdHJp
bmcgUkZDMjM5Nl9SRUdfTkFNRSA9IFJGQzIzOTZfVU5SRVNFUlZFRCArICIkLDs6QCY9KyI7DQor
ICBwcml2YXRlIHN0YXRpYyBmaW5hbCBTdHJpbmcgUkZDMjM5Nl9QQ0hBUiA9IFJGQzIzOTZfVU5S
RVNFUlZFRCArICI6QCY9KyQsIjsNCisgIHByaXZhdGUgc3RhdGljIGZpbmFsIFN0cmluZyBSRkMy
Mzk2X1NFR01FTlQgPSBSRkMyMzk2X1BDSEFSICsgIjsiOw0KKyAgcHJpdmF0ZSBzdGF0aWMgZmlu
YWwgU3RyaW5nIFJGQzIzOTZfUEFUSF9TRUdNRU5UUyA9IFJGQzIzOTZfU0VHTUVOVCArICIvIjsN
CisNCisgIC8qKg0KICAgICogSW5kZXggb2Ygc2NoZW1lIGNvbXBvbmVudCBpbiBwYXJzZWQgVVJJ
Lg0KICAgICovDQogICBwcml2YXRlIHN0YXRpYyBmaW5hbCBpbnQgU0NIRU1FX0dST1VQID0gMjsN
CkBAIC05NSwxMyArMTEwLDIwIEBADQogICBwcml2YXRlIHN0YXRpYyBmaW5hbCBpbnQgRlJBR01F
TlRfR1JPVVAgPSAxMDsNCiANCiAgIHByaXZhdGUgU3RyaW5nIHNjaGVtZTsNCisgIHByaXZhdGUg
U3RyaW5nIHJhd1NjaGVtZVNwZWNpZmljUGFydDsNCiAgIHByaXZhdGUgU3RyaW5nIHNjaGVtZVNw
ZWNpZmljUGFydDsNCisgIHByaXZhdGUgU3RyaW5nIHJhd0F1dGhvcml0eTsNCiAgIHByaXZhdGUg
U3RyaW5nIGF1dGhvcml0eTsNCisgIHByaXZhdGUgU3RyaW5nIHJhd1VzZXJJbmZvOw0KICAgcHJp
dmF0ZSBTdHJpbmcgdXNlckluZm87DQorICBwcml2YXRlIFN0cmluZyByYXdIb3N0Ow0KICAgcHJp
dmF0ZSBTdHJpbmcgaG9zdDsNCiAgIHByaXZhdGUgaW50IHBvcnQ7DQorICBwcml2YXRlIFN0cmlu
ZyByYXdQYXRoOw0KICAgcHJpdmF0ZSBTdHJpbmcgcGF0aDsNCisgIHByaXZhdGUgU3RyaW5nIHJh
d1F1ZXJ5Ow0KICAgcHJpdmF0ZSBTdHJpbmcgcXVlcnk7DQorICBwcml2YXRlIFN0cmluZyByYXdG
cmFnbWVudDsNCiAgIHByaXZhdGUgU3RyaW5nIGZyYWdtZW50Ow0KIA0KICAgcHJpdmF0ZSB2b2lk
IHJlYWRPYmplY3QgKE9iamVjdElucHV0U3RyZWFtIGlzKQ0KQEAgLTEzNCwxNSArMTU2LDYzIEBA
DQogICAgIGlmIChtYXRjaGVyLm1hdGNoZXMoKSkNCiAgICAgICB7DQogCXNjaGVtZSA9IGdldFVS
SUdyb3VwKG1hdGNoZXIsIFNDSEVNRV9HUk9VUCk7DQotCXNjaGVtZVNwZWNpZmljUGFydCA9IGdl
dFVSSUdyb3VwKG1hdGNoZXIsIFNDSEVNRV9TUEVDX1BBUlRfR1JPVVApOyANCi0JYXV0aG9yaXR5
ID0gZ2V0VVJJR3JvdXAobWF0Y2hlciwgQVVUSE9SSVRZX0dST1VQKTsNCi0JcGF0aCA9IGdldFVS
SUdyb3VwKG1hdGNoZXIsIFBBVEhfR1JPVVApOw0KLQlxdWVyeSA9IGdldFVSSUdyb3VwKG1hdGNo
ZXIsIFFVRVJZX0dST1VQKTsNCi0JZnJhZ21lbnQgPSBnZXRVUklHcm91cChtYXRjaGVyLCBGUkFH
TUVOVF9HUk9VUCk7DQorCXJhd1NjaGVtZVNwZWNpZmljUGFydCA9IGdldFVSSUdyb3VwKG1hdGNo
ZXIsIFNDSEVNRV9TUEVDX1BBUlRfR1JPVVApOyANCisJcmF3QXV0aG9yaXR5ID0gZ2V0VVJJR3Jv
dXAobWF0Y2hlciwgQVVUSE9SSVRZX0dST1VQKTsNCisJcmF3UGF0aCA9IGdldFVSSUdyb3VwKG1h
dGNoZXIsIFBBVEhfR1JPVVApOw0KKwlyYXdRdWVyeSA9IGdldFVSSUdyb3VwKG1hdGNoZXIsIFFV
RVJZX0dST1VQKTsNCisJcmF3RnJhZ21lbnQgPSBnZXRVUklHcm91cChtYXRjaGVyLCBGUkFHTUVO
VF9HUk9VUCk7DQogICAgICAgfQ0KICAgICBlbHNlDQogICAgICAgdGhyb3cgbmV3IFVSSVN5bnRh
eEV4Y2VwdGlvbihzdHIsDQogCQkJCSAgICJkb2Vzbid0IG1hdGNoIFVSSSByZWd1bGFyIGV4cHJl
c3Npb24iKTsNCisgICAgLy8gV2UgbXVzdCBlYWdlcmx5IHVucXVvdGUgdGhlIHBhcnRzLCBiZWNh
dXNlIHRoaXMgaXMgdGhlIG9ubHkgdGltZQ0KKyAgICAvLyB3ZSBtYXkgdGhyb3cgYW4gZXhjZXB0
aW9uLg0KKyAgICBzY2hlbWVTcGVjaWZpY1BhcnQgPSB1bnF1b3RlKHJhd1NjaGVtZVNwZWNpZmlj
UGFydCk7DQorICAgIGF1dGhvcml0eSA9IHVucXVvdGUocmF3QXV0aG9yaXR5KTsNCisgICAgcGF0
aCA9IHVucXVvdGUocmF3UGF0aCk7DQorICAgIHF1ZXJ5ID0gdW5xdW90ZShyYXdRdWVyeSk7DQor
ICAgIGZyYWdtZW50ID0gdW5xdW90ZShyYXdGcmFnbWVudCk7DQorICB9DQorDQorICAvKioNCisg
ICAqIFVucXVvdGUgIiUiICsgaGV4IHF1b3RlcyBjaGFyYWN0ZXJzDQorICAgKg0KKyAgICogQHBh
cmFtIHN0ciBUaGUgc3RyaW5nIHRvIHVucXVvdGUgb3IgbnVsbC4NCisgICAqDQorICAgKiBAcmV0
dXJuIFRoZSB1bnF1b3RlZCBzdHJpbmcgb3IgbnVsbCBpZiBzdHIgd2FzIG51bGwuDQorICAgKg0K
KyAgICogQGV4Y2VwdGlvbiBVUklTeW50YXhFeGNlcHRpb24gSWYgdGhlIGdpdmVuIHN0cmluZyBj
b250YWlucyBpbnZhbGlkDQorICAgKiBlc2NhcGUgc2VxdWVuY2VzLg0KKyAgICovDQorICBwcml2
YXRlIHN0YXRpYyBTdHJpbmcgdW5xdW90ZSAoU3RyaW5nIHN0cikNCisgICAgdGhyb3dzIFVSSVN5
bnRheEV4Y2VwdGlvbg0KKyAgew0KKyAgICBpZiAoc3RyID09IG51bGwpDQorICAgICAgcmV0dXJu
IG51bGw7DQorICAgIGJ5dGVbXSBidWYgPSBuZXcgYnl0ZVtzdHIubGVuZ3RoKCldOw0KKyAgICBp
bnQgcG9zID0gMDsNCisgICAgZm9yIChpbnQgaSA9IDA7IGkgPCBzdHIubGVuZ3RoKCk7IGkrKykg
ew0KKyAgICAgIGNoYXIgYyA9IHN0ci5jaGFyQXQoaSk7DQorICAgICAgaWYgKGMgPiAxMjcpDQor
CSAgdGhyb3cgbmV3IFVSSVN5bnRheEV4Y2VwdGlvbihzdHIsICJJbnZhbGlkIGNoYXJhY3RlciIp
Ow0KKyAgICAgIGlmIChjID09ICclJykgew0KKyAgICAgICAgaWYgKGkgKyAyID49IHN0ci5sZW5n
dGgoKSkNCisJICB0aHJvdyBuZXcgVVJJU3ludGF4RXhjZXB0aW9uKHN0ciwgIkludmFsaWQgcXVv
dGVkIGNoYXJhY3RlciIpOw0KKwlTdHJpbmcgaGV4ID0gIjAxMjM0NTY3ODlBQkNERUYiOw0KKyAg
ICAgICAgaW50IGhpID0gaGV4LmluZGV4T2Yoc3RyLmNoYXJBdCgrK2kpKTsNCisgICAgICAgIGlu
dCBsbyA9IGhleC5pbmRleE9mKHN0ci5jaGFyQXQoKytpKSk7DQorICAgICAgICBpZiAobG8gPCAw
IHx8IGhpIDwgMCkNCisJICB0aHJvdyBuZXcgVVJJU3ludGF4RXhjZXB0aW9uKHN0ciwgIkludmFs
aWQgcXVvdGVkIGNoYXJhY3RlciIpOw0KKwlidWZbcG9zKytdID0gKGJ5dGUpKGhpICogMTYgKyBs
byk7DQorICAgICAgfSBlbHNlIHsNCisJYnVmW3BvcysrXSA9IChieXRlKWM7DQorICAgICAgfQ0K
KyAgICB9DQorICAgIHRyeSB7DQorICAgICAgcmV0dXJuIG5ldyBTdHJpbmcoYnVmLCAwLCBwb3Ms
ICJ1dGYtOCIpOw0KKyAgICB9IGNhdGNoIChqYXZhLmlvLlVuc3VwcG9ydGVkRW5jb2RpbmdFeGNl
cHRpb24geDIpIHsNCisgICAgICB0aHJvdyAoRXJyb3IpbmV3IEludGVybmFsRXJyb3IoKS5pbml0
Q2F1c2UoeDIpOw0KKyAgICB9DQogICB9DQogDQogICAvKioNCkBAIC0xNzMsOCArMjQzLDUyIEBA
DQogICAgKiBAcmV0dXJuIFRoZSBxdW90ZWQgc3RyaW5nLg0KICAgICovDQogICBwcml2YXRlIHN0
YXRpYyBTdHJpbmcgcXVvdGVBdXRob3JpdHkgKFN0cmluZyBzdHIpIHsNCi0gICAgLy8gRklYTUU6
IHVuaW1wbGVtZW50ZWQuDQotICAgIHJldHVybiBzdHI7DQorICAgIC8vIFRlY2huaWNhbGx5LCB3
ZSBzaG91bGQgYmUgdXNpbmcgUkZDMjM5Nl9BVVRIT1JJVFksIGJ1dA0KKyAgICAvLyBpdCBjb250
YWlucyBubyBhZGRpdGlvbmFsIGNoYXJhY3RlcnMuDQorICAgIHJldHVybiBxdW90ZShzdHIsIFJG
QzIzOTZfUkVHX05BTUUpOw0KKyAgfQ0KKw0KKyAgLyoqDQorICAgKiBRdW90ZSBjaGFyYWN0ZXJz
IGluIHN0ciB0aGF0IGFyZSBub3QgcGFydCBvZiBsZWdhbENoYXJhY3RlcnMuDQorICAgKg0KKyAg
ICogUmVwbGFjZSBpbGxlZ2FsIGNoYXJhY3RlcnMgYnkgZW5jb2RpbmcgdGhlaXIgVVRGLTgNCisg
ICAqIHJlcHJlc2VudGF0aW9uIGFzICIlIiArIGhleCBjb2RlIGZvciBlYWNoIHJlc3VsdGluZw0K
KyAgICogVVRGLTggY2hhcmFjdGVyLg0KKyAgICoNCisgICAqIEBwYXJhbSBzdHIgVGhlIHN0cmlu
ZyB0byBxdW90ZQ0KKyAgICogQHBhcmFtIGxlZ2FsQ2hhcmFjdGVycyBUaGUgc2V0IG9mIGxlZ2Fs
IGNoYXJhY3RlcnMNCisgICAqIA0KKyAgICogQHJldHVybiBUaGUgcXVvdGVkIHN0cmluZy4NCisg
ICAqLw0KKyAgcHJpdmF0ZSBzdGF0aWMgU3RyaW5nIHF1b3RlIChTdHJpbmcgc3RyLCBTdHJpbmcg
bGVnYWxDaGFyYWN0ZXJzKQ0KKyAgew0KKyAgICBTdHJpbmdCdWZmZXIgc2IgPSBuZXcgU3RyaW5n
QnVmZmVyKHN0ci5sZW5ndGgoKSk7DQorICAgIGZvciAoaW50IGkgPSAwOyBpIDwgc3RyLmxlbmd0
aCgpOyBpKyspIHsNCisgICAgICBjaGFyIGMgPSBzdHIuY2hhckF0KGkpOw0KKyAgICAgIGlmIChs
ZWdhbENoYXJhY3RlcnMuaW5kZXhPZihjKSA9PSAtMSkgew0KKwlTdHJpbmcgaGV4ID0gIjAxMjM0
NTY3ODlBQkNERUYiOw0KKwlpZiAoYyA8PSAxMjcpIHsNCisJICBzYi5hcHBlbmQoJyUnKQ0KKwkg
ICAgLmFwcGVuZChoZXguY2hhckF0KGMgLyAxNikpDQorCSAgICAuYXBwZW5kKGhleC5jaGFyQXQo
YyAlIDE2KSk7DQorCX0gZWxzZSB7DQorCSAgdHJ5IHsNCisJICAgIC8vIHRoaXMgaXMgZmFyIGZy
b20gb3B0aW1hbCwgYnV0IGl0IHdvcmtzDQorCSAgICBieXRlW10gdXRmOCA9IHN0ci5zdWJzdHJp
bmcoaSwgaSArIDEpLmdldEJ5dGVzKCJ1dGYtOCIpOw0KKwkgICAgZm9yIChpbnQgaiA9IDA7IGog
PCB1dGY4Lmxlbmd0aDsgaisrKSB7DQorCQlzYi5hcHBlbmQoJyUnKQ0KKwkJLmFwcGVuZChoZXgu
Y2hhckF0KCh1dGY4W2pdICYgMHhmZikgLyAxNikpDQorCQkuYXBwZW5kKGhleC5jaGFyQXQoKHV0
Zjhbal0gJiAweGZmKSAlIDE2KSk7DQorCSAgICB9DQorCSAgfSBjYXRjaCAoamF2YS5pby5VbnN1
cHBvcnRlZEVuY29kaW5nRXhjZXB0aW9uIHgpIHsNCisJICAgIHRocm93IChFcnJvciluZXcgSW50
ZXJuYWxFcnJvcigpLmluaXRDYXVzZSh4KTsNCisJICB9DQorCX0NCisgICAgICB9IGVsc2Ugew0K
KwlzYi5hcHBlbmQoYyk7DQorICAgICAgfQ0KKyAgICB9DQorICAgIHJldHVybiBzYi50b1N0cmlu
ZygpOw0KICAgfQ0KIA0KICAgLyoqDQpAQCAtMjA1LDggKzMxOSw5IEBADQogICAgKiBAcmV0dXJu
IFRoZSBxdW90ZWQgc3RyaW5nLg0KICAgICovDQogICBwcml2YXRlIHN0YXRpYyBTdHJpbmcgcXVv
dGVQYXRoIChTdHJpbmcgc3RyKSB7DQotICAgIC8vIEZJWE1FOiB1bmltcGxlbWVudGVkLg0KLSAg
ICByZXR1cm4gc3RyOw0KKyAgICAvLyBUZWNobmljYWxseSwgd2Ugc2hvdWxkIGJlIHVzaW5nIFJG
QzIzOTZfUEFUSCwgYnV0DQorICAgIC8vIGl0IGNvbnRhaW5zIG5vIGFkZGl0aW9uYWwgY2hhcmFj
dGVycy4NCisgICAgcmV0dXJuIHF1b3RlKHN0ciwgUkZDMjM5Nl9QQVRIX1NFR01FTlRTKTsNCiAg
IH0NCiANCiAgIC8qKg0KQEAgLTQ5OSw3ICs2MTQsNyBAQA0KICAgICovDQogICBwdWJsaWMgU3Ry
aW5nIGdldFJhd1NjaGVtZVNwZWNpZmljUGFydCAoKQ0KICAgew0KLSAgICByZXR1cm4gc2NoZW1l
U3BlY2lmaWNQYXJ0Ow0KKyAgICByZXR1cm4gcmF3U2NoZW1lU3BlY2lmaWNQYXJ0Ow0KICAgfQ0K
IA0KICAgLyoqDQpAQCAtNTA3LDcgKzYyMiw2IEBADQogICAgKi8NCiAgIHB1YmxpYyBTdHJpbmcg
Z2V0U2NoZW1lU3BlY2lmaWNQYXJ0ICgpDQogICB7DQotICAgIC8vIEZJWE1FOiB1bmltcGxlbWVu
dGVkLg0KICAgICByZXR1cm4gc2NoZW1lU3BlY2lmaWNQYXJ0Ow0KICAgfQ0KIA0KQEAgLTUxNiw3
ICs2MzAsNyBAQA0KICAgICovDQogICBwdWJsaWMgU3RyaW5nIGdldFJhd0F1dGhvcml0eSAoKQ0K
ICAgew0KLSAgICByZXR1cm4gYXV0aG9yaXR5Ow0KKyAgICByZXR1cm4gcmF3QXV0aG9yaXR5Ow0K
ICAgfQ0KIA0KICAgLyoqDQpAQCAtNTI0LDcgKzYzOCw2IEBADQogICAgKi8NCiAgIHB1YmxpYyBT
dHJpbmcgZ2V0QXV0aG9yaXR5ICgpDQogICB7DQotICAgIC8vIEZJWE1FOiB1bmltcGxlbWVudGVk
Lg0KICAgICByZXR1cm4gYXV0aG9yaXR5Ow0KICAgfQ0KIA0KQEAgLTUzMyw3ICs2NDYsNyBAQA0K
ICAgICovDQogICBwdWJsaWMgU3RyaW5nIGdldFJhd1VzZXJJbmZvICgpDQogICB7DQotICAgIHJl
dHVybiB1c2VySW5mbzsNCisgICAgcmV0dXJuIHJhd1VzZXJJbmZvOw0KICAgfQ0KIA0KICAgLyoq
DQpAQCAtNTQxLDcgKzY1NCw2IEBADQogICAgKi8NCiAgIHB1YmxpYyBTdHJpbmcgZ2V0VXNlcklu
Zm8gKCkNCiAgIHsNCi0gICAgLy8gRklYTUU6IHVuaW1wbGVtZW50ZWQuDQogICAgIHJldHVybiB1
c2VySW5mbzsNCiAgIH0NCiANCkBAIC01NjYsNyArNjc4LDcgQEANCiAgICAqLw0KICAgcHVibGlj
IFN0cmluZyBnZXRSYXdQYXRoICgpDQogICB7DQotICAgIHJldHVybiBwYXRoOw0KKyAgICByZXR1
cm4gcmF3UGF0aDsNCiAgIH0NCiANCiAgIC8qKg0KQEAgLTU3NCw3ICs2ODYsNiBAQA0KICAgICov
DQogICBwdWJsaWMgU3RyaW5nIGdldFBhdGggKCkNCiAgIHsNCi0gICAgLy8gRklYTUU6IHVuaW1w
bGVtZW50ZWQuDQogICAgIHJldHVybiBwYXRoOw0KICAgfQ0KIA0KQEAgLTU4Myw3ICs2OTQsNyBA
QA0KICAgICovDQogICBwdWJsaWMgU3RyaW5nIGdldFJhd1F1ZXJ5ICgpDQogICB7DQotICAgIHJl
dHVybiBxdWVyeTsNCisgICAgcmV0dXJuIHJhd1F1ZXJ5Ow0KICAgfQ0KIA0KICAgLyoqDQpAQCAt
NTkxLDcgKzcwMiw2IEBADQogICAgKi8NCiAgIHB1YmxpYyBTdHJpbmcgZ2V0UXVlcnkgKCkNCiAg
IHsNCi0gICAgLy8gRklYTUU6IHVuaW1wbGVtZW50ZWQuDQogICAgIHJldHVybiBxdWVyeTsNCiAg
IH0NCiANCkBAIC02MDAsNyArNzEwLDcgQEANCiAgICAqLw0KICAgcHVibGljIFN0cmluZyBnZXRS
YXdGcmFnbWVudCAoKQ0KICAgew0KLSAgICByZXR1cm4gZnJhZ21lbnQ7DQorICAgIHJldHVybiBy
YXdGcmFnbWVudDsNCiAgIH0NCiANCiAgIC8qKg0KQEAgLTYwOCw3ICs3MTgsNiBAQA0KICAgICov
DQogICBwdWJsaWMgU3RyaW5nIGdldEZyYWdtZW50ICgpDQogICB7DQotICAgIC8vIEZJWE1FOiB1
bmltcGxlbWVudGVkLg0KICAgICByZXR1cm4gZnJhZ21lbnQ7DQogICB9DQogDQo=

------_=_NextPart_001_01C40B5C.990B071B--



From MAILER-DAEMON Tue Mar 16 09:14:49 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3FLE-0001nB-OO
	for mharc-classpath@gnu.org; Tue, 16 Mar 2004 09:14:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3EXm-0007yt-AA
	for classpath@gnu.org; Tue, 16 Mar 2004 08:23:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3EXE-0007rl-95
	for classpath@gnu.org; Tue, 16 Mar 2004 08:23:40 -0500
Received: from [217.158.120.143] (helo=mail.ukfsn.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3EXD-0007rL-Pe
	for classpath@gnu.org; Tue, 16 Mar 2004 08:23:07 -0500
Received: from localhost (lucy.ukfsn.org [127.0.0.1])
	by mail.ukfsn.org (Postfix) with ESMTP
	id 4524AE6A87; Tue, 16 Mar 2004 13:22:20 +0000 (GMT)
Received: from mail.ukfsn.org ([127.0.0.1])
	by localhost (lucy.ukfsn.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 09118-16; Tue, 16 Mar 2004 13:22:20 +0000 (GMT)
Received: from localhost (dsl-80-42-35-215.access.uk.tiscali.com
	[80.42.35.215]) by mail.ukfsn.org (Postfix) with ESMTP
	id 1A86FE6D58; Tue, 16 Mar 2004 13:22:20 +0000 (GMT)
Received: by localhost with local (Exim 3.35 #1 (Debian))
	id 1B3ETc-0001dC-00; Tue, 16 Mar 2004 13:19:24 +0000
From: Brian Gough <bjg@network-theory.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16470.65244.544884.880080@debian.local>
Date: Tue, 16 Mar 2004 13:19:24 +0000
To: Sascha Brawer <brawer@dandelis.ch>
In-Reply-To: <20040316001936.1058@smtp.mail.ch.easynet.net>
References: <20040316001936.1058@smtp.mail.ch.easynet.net>
X-Mailer: VM 7.03 under Emacs 20.7.2
X-Mailman-Approved-At: Tue, 16 Mar 2004 09:14:46 -0500
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Bugs #7123, Bad results for QuadCurve2D.solveQuadratic
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 13:23:43 -0000

Sascha Brawer writes:
 > any opinions about what to do about Classpath Bug #7123?
 > 
 >   Bad results for QuadCurve2D.solveQuadratic
 >   https://savannah.gnu.org/bugs/?func=detailitem&item_id=7123
 > 
 > Would it be correct to amend the API documentation, saying that correct
 > results cannot be expected for input coefficients that have no exact
 > representation in IEEE 754?

Ideally gcj should provide a way to avoid the use of extended 80-bit
precision on the x86.

-- 
Brian Gough



From MAILER-DAEMON Tue Mar 16 09:36:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3FgT-0000Bl-Ml
	for mharc-classpath@gnu.org; Tue, 16 Mar 2004 09:36:45 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3FgR-0000B2-CW
	for classpath@gnu.org; Tue, 16 Mar 2004 09:36:43 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3Fft-0008Sz-TT
	for classpath@gnu.org; Tue, 16 Mar 2004 09:36:42 -0500
Received: from [62.253.162.47] (helo=mta07-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3Fft-0008Sk-JH
	for classpath@gnu.org; Tue, 16 Mar 2004 09:36:09 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta07-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040316143609.WOCM25572.mta07-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Tue, 16 Mar 2004 14:36:09 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2GEZ7CL022889; Tue, 16 Mar 2004 14:35:17 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2GEZ5AK022885;
	Tue, 16 Mar 2004 14:35:05 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16471.4249.445684.653186@cuddles.cambridge.redhat.com>
Date: Tue, 16 Mar 2004 14:35:05 +0000
To: "David Holmes" <dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCCEPJDOAA.dholmes@dltech.com.au>
References: <16469.34750.336691.229090@cuddles.cambridge.redhat.com>
	<NFBBKALFDCPFIDBNKAPCCEPJDOAA.dholmes@dltech.com.au>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath <classpath@gnu.org>
Subject: RE: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 14:36:44 -0000

David Holmes writes:
 > Andrew,
 > 
 > I just realized that this code isn't in the Classpath version at all.

You would not expect it to be, would you?  VMSecurityManager is part
of the VM-specific layer.  It's a good deal more helpful than

  static native ClassLoader currentClassLoader();

Andrew.

 > 
 > David 
 > 
 > > Index: java/lang/VMSecurityManager.java
 > > ===================================================================
 > > RCS file: /cvs/gcc/gcc/libjava/java/lang/VMSecurityManager.java,v
 > > retrieving revision 1.2
 > > diff -c -2 -p -r1.2 VMSecurityManager.java
 > > *** java/lang/VMSecurityManager.java	5 Dec 2002 00:49:29 -0000	1.2
 > > --- java/lang/VMSecurityManager.java	15 Mar 2004 09:54:54 -0000
 > > *************** class VMSecurityManager
 > > *** 55,63 ****
 > >       // FIXME this implementation is a bit wrong too -- the docs say we
 > >       // must also consider ancestors of the system class loader.
 > >       Class[] classStack = getClassContext ();
 > >       for (int i = 0; i < classStack.length; i++)
 > >         {
 > >   	ClassLoader loader = classStack[i].getClassLoader();
 > > ! 	if (loader != null)
 > >   	  return loader;
 > >         }
 > > --- 55,64 ----
 > >       // FIXME this implementation is a bit wrong too -- the docs say we
 > >       // must also consider ancestors of the system class loader.
 > > +     ClassLoader systemClassLoader = 
 > > VMClassLoader.getSystemClassLoader();
 > >       Class[] classStack = getClassContext ();
 > >       for (int i = 0; i < classStack.length; i++)
 > >         {
 > >   	ClassLoader loader = classStack[i].getClassLoader();
 > > ! 	if (loader != null && loader != systemClassLoader)
 > >   	  return loader;
 > >         }
 > > 



From MAILER-DAEMON Tue Mar 16 10:02:43 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3Fu4-0006aq-UU
	for mharc-classpath@gnu.org; Tue, 16 Mar 2004 09:50:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3Ftw-0006Wm-PQ
	for classpath@gnu.org; Tue, 16 Mar 2004 09:50:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3Fsv-0005yX-QS
	for classpath@gnu.org; Tue, 16 Mar 2004 09:50:10 -0500
Received: from [209.225.28.219] (helo=mxsf19.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3Fsp-0005u9-EP
	for classpath@gnu.org; Tue, 16 Mar 2004 09:49:31 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf19.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id
	i2GEj7vS053393; Tue, 16 Mar 2004 09:45:07 -0500 (EST)
	(envelope-from archie@dellroad.org)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA85761;
	Tue, 16 Mar 2004 08:38:41 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2GEcdcH002848; 
	Tue, 16 Mar 2004 08:38:39 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i2GEcdES002847;
	Tue, 16 Mar 2004 08:38:39 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403161438.i2GEcdES002847@arch20m.dellroad.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCAEPKDOAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Date: Tue, 16 Mar 2004 08:38:39 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>
Subject: Re: More ClassLoader problems
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 14:50:47 -0000

David Holmes wrote:
> There seems to be some general confusion, concerning the bootstrap
> classloader, which is often represented as null, and the "system" or
> application classloader - as returned by ClassLoader.getSystemClassLoader -
> which is never null.  For example, the class docs for java.lang.Class

These erroneous comments got me all confused me when I was starting on JC.
After getting my head straight I wrote down what I had learned in case
I forgot it someday.. :-)

http://jcvm.sourceforge.net/doc/jc.html#Types%20of%20Class%20Loaders

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Tue Mar 16 16:23:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3M2L-0001mi-RA
	for mharc-classpath@gnu.org; Tue, 16 Mar 2004 16:23:45 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3M2J-0001mC-Sr
	for classpath@gnu.org; Tue, 16 Mar 2004 16:23:43 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3M1m-0001ZK-TO
	for classpath@gnu.org; Tue, 16 Mar 2004 16:23:42 -0500
Received: from [64.172.11.17] (helo=younglogic.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3LzW-00013F-Gn
	for classpath@gnu.org; Tue, 16 Mar 2004 16:20:50 -0500
Received: from [10.10.2.90] (helo=younglogic.com ident=adam)
	by younglogic.com with esmtp (Exim 3.35 #1 (Debian))
	id 1B3L49-0006SX-00
	for <classpath@gnu.org>; Tue, 16 Mar 2004 12:21:33 -0800
Message-ID: <40576E96.6010701@younglogic.com>
Date: Tue, 16 Mar 2004 13:16:06 -0800
From: Adam Young <adam@younglogic.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <200403160046.i2G0k8EA002561@piglet.dstc.edu.au>
	<405670F4.2050004@younglogic.com>
	<1079422884.951.5.camel@localhost>
	<200403160852.30172.konqueror@gmx.de>
In-Reply-To: <200403160852.30172.konqueror@gmx.de>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: Dumb build error
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 21:23:44 -0000

I 've got the same:

ii  gcj-3.3        3.3.3-1        The GNU compiler for Java(TM)


Could it be somewhere else in the build tools?

/usr/bin/ld --version
GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux


do have the Sun JDK in my path:

/usr/java/bin:/usr/java/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/adam/bin:/home/adam/apps/ant/bin:/home/adam/bin 


Nothing in LD_LIBRARY_PATH,  no CLASSPATH variable set.  I'll try 
removing the JDK references and see what happens.


Actually, just tried it with not references to the Sun JDK, so no 
confusion there.






From MAILER-DAEMON Tue Mar 16 18:24:44 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3NvQ-0000Ql-Dj
	for mharc-classpath@gnu.org; Tue, 16 Mar 2004 18:24:44 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3NvN-0000QV-Rr
	for classpath@gnu.org; Tue, 16 Mar 2004 18:24:41 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3Nur-0000LF-59
	for classpath@gnu.org; Tue, 16 Mar 2004 18:24:40 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B3Nuq-0000L1-CJ
	for classpath@gnu.org; Tue, 16 Mar 2004 18:24:08 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2GNMg8M002352;
	Wed, 17 Mar 2004 10:22:43 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Andrew Haley" <aph@redhat.com>
Date: Wed, 17 Mar 2004 09:22:42 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCKEAKDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
In-Reply-To: <16471.4249.445684.653186@cuddles.cambridge.redhat.com>
Cc: classpath <classpath@gnu.org>
Subject: RE: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 23:24:42 -0000

> David Holmes writes:
>  > Andrew,
>  >
>  > I just realized that this code isn't in the Classpath version at all.
>
> You would not expect it to be, would you?  VMSecurityManager is part
> of the VM-specific layer.  It's a good deal more helpful than
>
>   static native ClassLoader currentClassLoader();

I originally thought the patch was something that you were suggesting I
apply to my version of VMSecurityManager. But obviously this was just a gcj
patch.

David




From MAILER-DAEMON Wed Mar 17 02:17:52 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3VJI-0006ME-C9
	for mharc-classpath@gnu.org; Wed, 17 Mar 2004 02:17:52 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3VJF-0006Kz-O4
	for classpath@gnu.org; Wed, 17 Mar 2004 02:17:49 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3VJ7-0006Hd-1a
	for classpath@gnu.org; Wed, 17 Mar 2004 02:17:41 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3VJ6-0006Gi-ML
	for classpath@gnu.org; Wed, 17 Mar 2004 02:17:40 -0500
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B3VIm-0003zK-00; Wed, 17 Mar 2004 08:17:20 +0100
From: Mark Wielaard <mark@klomp.org>
To: Adam Young <adam@younglogic.com>
In-Reply-To: <40576E96.6010701@younglogic.com>
References: <200403160046.i2G0k8EA002561@piglet.dstc.edu.au>
	<405670F4.2050004@younglogic.com> <1079422884.951.5.camel@localhost>
	<200403160852.30172.konqueror@gmx.de> <40576E96.6010701@younglogic.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-mzhOYs0KF6IHi/d+yW3U"
Message-Id: <1079507842.897.22.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Wed, 17 Mar 2004 08:17:23 +0100
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Dumb build error
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2004 07:17:50 -0000


--=-mzhOYs0KF6IHi/d+yW3U
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Tue, 2004-03-16 at 22:16, Adam Young wrote:
> Could it be somewhere else in the build tools?

Unlikely. Have you tried the change I suggested?
If that doesn't help I suggest installing jikes and configure
--with-jikes to see if that helps.

Cheers,

Mark

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

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

iD8DBQBAV/uCxVhZCJWr9QwRAtA3AJ9LAG3j4U3KY4nirGRvHO9WT/l+yQCfThIl
6oSJZY/ptjhhgGsr1+nonUM=
=eub4
-----END PGP SIGNATURE-----

--=-mzhOYs0KF6IHi/d+yW3U--




From MAILER-DAEMON Wed Mar 17 02:39:22 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3Vdo-00025f-Gl
	for mharc-classpath@gnu.org; Wed, 17 Mar 2004 02:39:04 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3VdX-0001r7-JW
	for classpath@gnu.org; Wed, 17 Mar 2004 02:38:47 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3VYL-0008AE-7Z
	for classpath@gnu.org; Wed, 17 Mar 2004 02:33:56 -0500
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3VXp-0007Ha-5X
	for classpath@gnu.org; Wed, 17 Mar 2004 02:32:53 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-076.ewetel.net
	[80.228.94.76])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id i2H7WBVA018593;
	Wed, 17 Mar 2004 08:32:12 +0100 (MET)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B3VX9-0000SV-00; Wed, 17 Mar 2004 08:32:11 +0100
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>, Adam Young <adam@younglogic.com>
Date: Wed, 17 Mar 2004 08:31:50 +0100
User-Agent: KMail/1.5.4
References: <200403160046.i2G0k8EA002561@piglet.dstc.edu.au>
	<40576E96.6010701@younglogic.com>
	<1079507842.897.22.camel@localhost>
In-Reply-To: <1079507842.897.22.camel@localhost>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Disposition: inline
Message-Id: <200403170831.50631.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail2.ewetel.de id
	i2H7WBVA018593
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Dumb build error
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2004 07:39:01 -0000

Am Mittwoch, 17. M=E4rz 2004 08:17 schrieb Mark Wielaard:
> Hi,
>
> On Tue, 2004-03-16 at 22:16, Adam Young wrote:
> > Could it be somewhere else in the build tools?
>
> Unlikely. Have you tried the change I suggested?
> If that doesn't help I suggest installing jikes and configure
> --with-jikes to see if that helps.

He wrote me personally that this fixed his problem. I really wonder why=20
this fails for him and not for us when same environment ... I will do=20
some more testing on this issue.


Michael




From MAILER-DAEMON Wed Mar 17 05:35:01 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3YO5-0001rf-5h
	for mharc-classpath@gnu.org; Wed, 17 Mar 2004 05:35:01 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3YNz-0001pi-GR
	for classpath@gnu.org; Wed, 17 Mar 2004 05:34:55 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3YNM-0001bl-9D
	for classpath@gnu.org; Wed, 17 Mar 2004 05:34:47 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3YNH-0001bN-Ld
	for classpath@gnu.org; Wed, 17 Mar 2004 05:34:11 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP id CCDA6623E4
	for <classpath@gnu.org>; Wed, 17 Mar 2004 10:34:06 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 58920-01 for <classpath@gnu.org>;
	Wed, 17 Mar 2004 10:34:05 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-91-27.adsl.solnet.ch [212.41.91.27])
	by mail01.solnet.ch (Postfix) with ESMTP id 0F9B1622C5
	for <classpath@gnu.org>; Wed, 17 Mar 2004 10:34:02 +0000 (GMT)
Received: from pcprr.elca.ch (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP id 8342061DA4
	for <classpath@gnu.org>; Wed, 17 Mar 2004 11:32:41 +0100 (CET)
Date: Wed, 17 Mar 2004 11:33:58 +0100
From: Patrik Reali <reali@acm.org>
To: classpath@gnu.org
Message-ID: <67472890.1079523238@[10.40.10.54]>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Virus-Scanned: by SolNet
Subject: [Article] The Future of OSS Desktop Development: Java, Mono, or C++?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2004 10:34:57 -0000

Sorry for keeping you from your productive work, but one recent article 
"Java, Mono, or C++" referenced in OSNews is quite interesting and 
detailed. It mentions GNU Classpath, GCJ, and IKVM.

The article "Java, Mono, or C++":
<http://ometer.com/desktop-language.html>

The OSNews news item and discussion around it:
<http://www.osnews.com/story.php?news_id=6379>

Cheers,
  Patrik

------------------------
Patrik Reali
http://www.reali.ch/~patrik/




From MAILER-DAEMON Wed Mar 17 06:19:21 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3Z4z-0000ik-7E
	for mharc-classpath@gnu.org; Wed, 17 Mar 2004 06:19:21 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3Z4w-0000hd-8f
	for classpath@gnu.org; Wed, 17 Mar 2004 06:19:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3Z4H-0000G1-CV
	for classpath@gnu.org; Wed, 17 Mar 2004 06:19:08 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3Z4G-0008Vg-RR
	for classpath@gnu.org; Wed, 17 Mar 2004 06:18:36 -0500
Received: from [217.8.197.233] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1274394; Wed, 17 Mar 2004 12:18:26 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: Havoc Pennington <hp@pobox.com>
Date: Wed, 17 Mar 2004 12:18:21 +0100
Message-Id: <20040317111822.26744@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: "Java, Mono, or C++?"
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2004 11:19:19 -0000

Hello Havoc,

a very interesting article! I write this mail without having asked the
others who work on GNU Classpath, but I think I can speak for everyone
when I say that we all are glad about such thoughtful writings!

Just a minor comment: There actually exist quite a variety of open-source
JVMs, many more than were mentioned in your text. For an overview
(basically a few "bullet points" for each VM), see e.g. the Classpath
talk at last FOSDEM:

  http://www.dandelis.ch/people/brawer/articles/classpathFeb2004/

(The VM overview starts at page 24. Before, the talk tries to explain why
we think that Java is a reasonable choice for free software, and tells
about the current state of implementation).

Personally, I'm not sure whether having so many VMs is good. But as you
noted in your text, it doesn't really matter that much, because most
development gets shared via GNU Classpath.

Best regards,

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 





From MAILER-DAEMON Wed Mar 17 15:01:36 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3hEO-00057T-6Q
	for mharc-classpath@gnu.org; Wed, 17 Mar 2004 15:01:36 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3hEK-00055x-FL
	for classpath@gnu.org; Wed, 17 Mar 2004 15:01:32 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3hDl-0004v0-I8
	for classpath@gnu.org; Wed, 17 Mar 2004 15:01:28 -0500
Received: from [207.189.223.52] (helo=email3.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B3hDl-0004uI-2O
	for classpath@gnu.org; Wed, 17 Mar 2004 15:00:57 -0500
Received: (qmail 10341 invoked from network); 17 Mar 2004 20:07:07 -0000
Received: from tf0229.peakpeak.com (HELO fleche.redhat.com) ([204.144.239.229])
	(envelope-sender <tromey@redhat.com>)
	by email3.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <dholmes@dltech.com.au>; 17 Mar 2004 20:07:07 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 82CED4F82B0; Wed, 17 Mar 2004 12:48:38 -0700 (MST)
To: "David Holmes" <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCMEPDDOAA.dholmes@dltech.com.au>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: HELLO, everybody, I'm a HUMAN!!
Date: 17 Mar 2004 12:48:38 -0700
In-Reply-To: <NFBBKALFDCPFIDBNKAPCMEPDDOAA.dholmes@dltech.com.au>
Message-ID: <87hdwn2r1l.fsf@fleche.redhat.com>
Lines: 43
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 <classpath@gnu.org>
Subject: Re: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2004 20:01:34 -0000

On the subject of VMClassLoader, I had to make some changes to
VMClassLoader.getSystemClassLoader to make it more correct.  At least, 
according to my reading of the spec.

In particular, I think a class loader specified by
java.system.class.loader has to be loaded with the default system
class loader, but Classpath doesn't do this.

I've appended my version of VMClassLoader.getSystemClassLoader.
It has some gcj-specific bits in it.  I'd be curious to hear what
other people think...

Tom

  static native ClassLoader getSystemClassLoaderInternal();

  static ClassLoader getSystemClassLoader()
  {
    // This method is called as the initialization of systemClassLoader,
    // so if there is a null value, this is the first call and we must check
    // for java.system.class.loader.
    String loader = System.getProperty("java.system.class.loader");
    ClassLoader default_sys = getSystemClassLoaderInternal();
    if (loader != null)
      {
	try
	  {
	    Class load_class = Class.forName(loader, true, default_sys);
	    Constructor c
	      = load_class.getConstructor(new Class[] { ClassLoader.class });
	    default_sys
	      = (ClassLoader) c.newInstance(new Object[] { default_sys });
	  }
	catch (Exception e)
	  {
	    System.err.println("Requested system classloader "
			       + loader + " failed, using "
			       + "gnu.gcj.runtime.VMClassLoader");
	    e.printStackTrace();
	  }
      }
    return default_sys;
  }



From MAILER-DAEMON Wed Mar 17 17:47:33 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3joz-0003AD-46
	for mharc-classpath@gnu.org; Wed, 17 Mar 2004 17:47:33 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3jol-000379-O6
	for classpath@gnu.org; Wed, 17 Mar 2004 17:47:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3joF-0002rn-ID
	for classpath@gnu.org; Wed, 17 Mar 2004 17:47:18 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B3joE-0002nj-LK
	for classpath@gnu.org; Wed, 17 Mar 2004 17:46:46 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2HMj3TI061671;
	Thu, 18 Mar 2004 09:45:05 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: <tromey@redhat.com>
Date: Thu, 18 Mar 2004 08:45:05 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCGECADPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <87hdwn2r1l.fsf@fleche.redhat.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Cc: classpath <classpath@gnu.org>
Subject: RE: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2004 22:47:20 -0000

Tom,

> In particular, I think a class loader specified by
> java.system.class.loader has to be loaded with the default system
> class loader, but Classpath doesn't do this.

Your reading is correct. In our system the externally defined "system" class
loader must have our default system class loader as a parent otherwise it
could never load a class in our system. I'm doing this by simply by passing
the default loader as the parent in the constructor because at this stage of
initialization Class.forName wouldn't work for us.

David Holmes




From MAILER-DAEMON Wed Mar 17 17:51:20 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3jse-0004HE-Ig
	for mharc-classpath@gnu.org; Wed, 17 Mar 2004 17:51:20 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3jsc-0004Gr-Bw
	for classpath@gnu.org; Wed, 17 Mar 2004 17:51:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3js6-000458-GC
	for classpath@gnu.org; Wed, 17 Mar 2004 17:51:17 -0500
Received: from [219.160.177.9] (helo=asao.gcd.org)
	by monty-python.gnu.org with smtp (Exim 4.30) id 1B3js5-00043K-OU
	for classpath@gnu.org; Wed, 17 Mar 2004 17:50:46 -0500
Received: (qmail 15665 invoked by uid 10); 18 Mar 2004 07:50:38 +0900
Received: (qmail 2000 invoked by uid 1000); 17 Mar 2004 22:50:23 -0000
Message-ID: <20040317225023.1999.qmail@maczuka.gcd.org>
From: Ito Kazumitsu <kaz@maczuka.gcd.org>
To: classpath@gnu.org
User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.2
	(i386-unknown-freebsd4.7) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu")
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 18 Mar 2004 07:50:23 +0900
Sender: kaz@maczuka.gcd.org
Subject: Sockets remain unclosed
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2004 22:51:18 -0000

With reference to
http://www.kaffe.org/pipermail/kaffe/2004-March/045645.html

I suggest the following patch, which I committed in Kaffe.

ChangeLog entry:
2004-03-17  Ito Kazumitsu <kaz@maczuka.gcd.org>

        * libraries/javalib/java/net/ServerSocket.java
        (accept): Close the socket when error occured.

--- java/net/ServerSocket.java.orig	Wed Feb 25 06:38:46 2004
+++ java/net/ServerSocket.java	Thu Mar 18 07:34:01 2004
@@ -323,7 +323,21 @@
       sm.checkListen (impl.getLocalPort ());
 
     Socket socket = new Socket();
-    implAccept (socket);
+    try
+      {
+        implAccept (socket);
+      }
+    catch (IOException e)
+      {
+	try
+	  {
+	    socket.close ();
+	  }
+	catch (IOException e)
+	  {
+	  }
+	throw e;
+      }
     return socket;
   }
 



From MAILER-DAEMON Wed Mar 17 18:41:10 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3kes-0000SJ-82
	for mharc-classpath@gnu.org; Wed, 17 Mar 2004 18:41:10 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3kep-0000R7-Jx
	for classpath@gnu.org; Wed, 17 Mar 2004 18:41:07 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3keG-0000AW-3j
	for classpath@gnu.org; Wed, 17 Mar 2004 18:41:03 -0500
Received: from [207.203.42.3] (helo=STVAVAPPL1.BHMSTV)
	by monty-python.gnu.org with smtp (Exim 4.30) id 1B3keF-000083-GP
	for classpath@gnu.org; Wed, 17 Mar 2004 18:40:31 -0500
Received: from unknown(10.104.180.64) by STVAVAPPL1.BHMSTV via csmap 
	id 17c8a8be_786b_11d8_88e2_00304811e8c8_5949;
	Wed, 17 Mar 2004 17:30:36 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i2HNdTHs036224; 
	Wed, 17 Mar 2004 17:39:29 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i2HNdSdY036223;
	Wed, 17 Mar 2004 17:39:28 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403172339.i2HNdSdY036223@arch20m.dellroad.org>
In-Reply-To: <87hdwn2r1l.fsf@fleche.redhat.com>
To: tromey@redhat.com
Date: Wed, 17 Mar 2004 17:39:28 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>
Subject: Re: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2004 23:41:08 -0000

Tom Tromey wrote:
> On the subject of VMClassLoader, I had to make some changes to
> VMClassLoader.getSystemClassLoader to make it more correct.  At least, 
> according to my reading of the spec.
> 
> In particular, I think a class loader specified by
> java.system.class.loader has to be loaded with the default system
> class loader, but Classpath doesn't do this.
> 
> I've appended my version of VMClassLoader.getSystemClassLoader.
> It has some gcj-specific bits in it.  I'd be curious to hear what
> other people think...

Your analysis seems correct to me.. ie, Classpath is erroneously
using the bootstrap loader instead of the default system class loader
as the loader and parent for the user-specified class loader.

Is is correct that getSystemClassLoaderInternal() is a gcj-specific
method? And why is native code needed, i.e., why can't you just
load an instance of gnu.java.lang.SystemClassLoader (or
gnu.gcj.runtime.VMClassLoader in gcj's case) using the bootstrap
loader, and then use it to load the user-specified class loader?

E.g. something like this (not handling exceptions here):

  static ClassLoader getSystemClassLoader()
  {
    // Get default system class loader.
    // Load class using bootstrap class loader.
    String defaultLoaderClass = "gnu.java.lang.SystemClassLoader");
    ClassLoader systemClassLoader = Class.forName(defaultLoaderClass,
      true, null).getConstructor(new Class[] { ClassLoader.class })
      .newInstance(new Object[1]);

    // Get user-specified system class loader class, if any
    String loaderClass = System.getProperty("java.system.class.loader",
      defaultLoaderClass);

    // Replace system class loader with user-specified loader if different.
    // Load class using default system class loader.
    if (!loaderClass.equals(defaultLoaderClass))
    {
      systemClassLoader = Class.forName(loaderClass, true, systemClassLoader)
	.getConstructor(new Class[] { ClassLoader.class })
	.newInstance(new Object[] { systemClassLoader });
    }

    // Done
    return systemClassLoader;
  }

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Wed Mar 17 18:52:08 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3kpU-0006LS-HV
	for mharc-classpath@gnu.org; Wed, 17 Mar 2004 18:52:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3kng-0005Wv-Tn
	for classpath@gnu.org; Wed, 17 Mar 2004 18:50:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3kmy-0004Yo-68
	for classpath@gnu.org; Wed, 17 Mar 2004 18:50:03 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B3kmt-0004Lx-TG
	for classpath@gnu.org; Wed, 17 Mar 2004 18:49:28 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2HNm2TI023943;
	Thu, 18 Mar 2004 10:48:02 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Archie Cobbs" <archie@dellroad.org>, <tromey@redhat.com>
Date: Thu, 18 Mar 2004 09:48:03 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCAECDDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <200403172339.i2HNdSdY036223@arch20m.dellroad.org>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Cc: classpath <classpath@gnu.org>
Subject: RE: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2004 23:52:06 -0000

Archie Cobbs wrote:
> Is is correct that getSystemClassLoaderInternal() is a gcj-specific
> method? And why is native code needed, i.e., why can't you just
> load an instance of gnu.java.lang.SystemClassLoader (or
> gnu.gcj.runtime.VMClassLoader in gcj's case) using the bootstrap
> loader, and then use it to load the user-specified class loader?

Given that this all occurs at bootstrap time when the only pre-existing
loader is the "null" bootstrap loader why not just instantiate the default
system loader directly rather than using Class.forName? The construction
will implicitly load the class using the internal VM mechanism associated
with doing "new".

As I mentioned before I don't think Class.forName would actually work in our
system at this stage of the game.

David Holmes




From MAILER-DAEMON Wed Mar 17 19:50:02 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3ljV-0007An-Va
	for mharc-classpath@gnu.org; Wed, 17 Mar 2004 19:50:01 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3ljQ-000767-VC
	for classpath@gnu.org; Wed, 17 Mar 2004 19:49:56 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3lit-0006vn-W4
	for classpath@gnu.org; Wed, 17 Mar 2004 19:49:55 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B3lhB-0006Rq-Mn
	for classpath@gnu.org; Wed, 17 Mar 2004 19:47:37 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2I0kJTI079131
	for <classpath@gnu.org>; Thu, 18 Mar 2004 11:46:21 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Thu, 18 Mar 2004 10:46:20 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCIECEDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Subject: Use of VMSecurityManager.getClassContext()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2004 00:49:57 -0000

I filed a documentation bug against this method because it implied that it
was only called by SecurityManager.getClassContext() when in fact it is also
calld by Class and ClassLoader directly. This makes it awkward for
VMSecurityManager.getClassContext() to know how many stack frames it needs
to pop to return the "true" caller.

But looking at how Class and ClassLoader use this method we have code of the
form:

	Class c = VMSecurityManager.getClassContext()[1];
	ClassLoader cl = c.getClassLoader();

getClassContext() is only being used to find the class of the immediate
caller. This is horrendously inefficient in terms of time and space. Might I
suggest that a method be added to Class/VMClass or VMClassLoader or
VMSecurityManager to simply return a single Class from the current calling
context:

   /**
    * Return the Class of the method at the given position on the call
stack. This is
    * logically equivalent to
<tt>VMSecurityManager.getClassContext()[pos]</tt> but does
    * not need to traverse the whole call stack nor construct an array.
    * @param pos the position in the callstack: 0 is the caller of this
method, 1 the
    * caller of that method, etc.
    * @return the Class of the method at the given position in the callstack
    * @throws IllegalArgumentException if <tt>pos</tt> is negative or
greater than the
    * depth of the call stack.
    */
   static native Class getClassFromContext(int pos);

That also simplifies VMSecurityManager.getClassContext() because it now
knows that its caller is always SecurityManager.getClassContext().

Cheers,
David Holmes





From MAILER-DAEMON Thu Mar 18 05:58:38 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3vES-0001ix-D6
	for mharc-classpath@gnu.org; Thu, 18 Mar 2004 05:58:36 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3vED-0001Z9-PM
	for classpath@gnu.org; Thu, 18 Mar 2004 05:58:21 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3vDf-0000zJ-Dw
	for classpath@gnu.org; Thu, 18 Mar 2004 05:58:18 -0500
Received: from [62.253.162.47] (helo=mta07-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3vDe-0000y6-S8
	for classpath@gnu.org; Thu, 18 Mar 2004 05:57:47 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta07-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040318105742.VTOW325.mta07-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Thu, 18 Mar 2004 10:57:42 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2IAueCL001283; Thu, 18 Mar 2004 10:56:50 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2IAucF1001277;
	Thu, 18 Mar 2004 10:56:38 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16473.32870.283166.189365@cuddles.cambridge.redhat.com>
Date: Thu, 18 Mar 2004 10:56:38 +0000
To: "David Holmes" <dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCIECEDPAA.dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCIECEDPAA.dholmes@dltech.com.au>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath <classpath@gnu.org>
Subject: Use of VMSecurityManager.getClassContext()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2004 10:58:23 -0000

David Holmes writes:
 > I filed a documentation bug against this method because it implied that it
 > was only called by SecurityManager.getClassContext() when in fact it is also
 > calld by Class and ClassLoader directly. This makes it awkward for
 > VMSecurityManager.getClassContext() to know how many stack frames it needs
 > to pop to return the "true" caller.
 > 
 > But looking at how Class and ClassLoader use this method we have code of the
 > form:
 > 
 > 	Class c = VMSecurityManager.getClassContext()[1];
 > 	ClassLoader cl = c.getClassLoader();
 > 
 > getClassContext() is only being used to find the class of the immediate
 > caller. This is horrendously inefficient in terms of time and space. Might I
 > suggest that a method be added to Class/VMClass or VMClassLoader or
 > VMSecurityManager to simply return a single Class from the current calling
 > context:
 > 
 >    /**
 >     * Return the Class of the method at the given position on the call
 > stack. This is
 >     * logically equivalent to
 > <tt>VMSecurityManager.getClassContext()[pos]</tt> but does
 >     * not need to traverse the whole call stack nor construct an array.
 >     * @param pos the position in the callstack: 0 is the caller of this
 > method, 1 the
 >     * caller of that method, etc.
 >     * @return the Class of the method at the given position in the callstack
 >     * @throws IllegalArgumentException if <tt>pos</tt> is negative or
 > greater than the
 >     * depth of the call stack.
 >     */
 >    static native Class getClassFromContext(int pos);
 > 
 > That also simplifies VMSecurityManager.getClassContext() because it now
 > knows that its caller is always SecurityManager.getClassContext().

This seems like a reasonable idea.  In several cases we need to say
"who is our caller?" and some VM assistance is useful here.

Andrew.



From MAILER-DAEMON Thu Mar 18 06:08:22 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3vNu-0006PT-5W
	for mharc-classpath@gnu.org; Thu, 18 Mar 2004 06:08:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3vNq-0006M9-O1
	for classpath@gnu.org; Thu, 18 Mar 2004 06:08:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3vNI-0005gk-7c
	for classpath@gnu.org; Thu, 18 Mar 2004 06:08:15 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3vLF-0004wh-PB
	for classpath@gnu.org; Thu, 18 Mar 2004 06:05:38 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.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, 18 Mar 2004 12:05:27 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADB29@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Use of VMSecurityManager.getClassContext()
Thread-Index: AcQM2DAfhPWfXwn+RIeQyPfB1bv09QAADgsw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Andrew Haley" <aph@redhat.com>,
	"David Holmes" <dholmes@dltech.com.au>
Cc: classpath <classpath@gnu.org>
Subject: RE: Use of VMSecurityManager.getClassContext()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2004 11:08:20 -0000

Andrew Haley wrote:
> David Holmes writes:
>  >    static native Class getClassFromContext(int pos);
>=20
> This seems like a reasonable idea.  In several cases we need to say
> "who is our caller?" and some VM assistance is useful here.

I'd like to have a special case getCallerClass. If you grep through the
Classpath source, virtually all uses of getClassContext are interested
in the immediate caller.

Regards,
Jeroen



From MAILER-DAEMON Thu Mar 18 06:10:29 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3vPw-00073S-JC
	for mharc-classpath@gnu.org; Thu, 18 Mar 2004 06:10:28 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3vPt-000732-OC
	for classpath@gnu.org; Thu, 18 Mar 2004 06:10:25 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3vPJ-0006sl-Ll
	for classpath@gnu.org; Thu, 18 Mar 2004 06:10:20 -0500
Received: from [62.253.162.45] (helo=mta05-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3vPJ-0006sa-4j
	for classpath@gnu.org; Thu, 18 Mar 2004 06:09:49 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta05-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040318110846.NZMG27661.mta05-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Thu, 18 Mar 2004 11:08:46 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2IB8KCL001365; Thu, 18 Mar 2004 11:08:30 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2IB8JtH001359;
	Thu, 18 Mar 2004 11:08:19 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16473.33570.945359.146862@cuddles.cambridge.redhat.com>
Date: Thu, 18 Mar 2004 11:08:18 +0000
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADB29@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADB29@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath <classpath@gnu.org>
Subject: RE: Use of VMSecurityManager.getClassContext()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2004 11:10:26 -0000

Jeroen Frijters writes:
 > Andrew Haley wrote:
 > > David Holmes writes:
 > >  >    static native Class getClassFromContext(int pos);
 > > 
 > > This seems like a reasonable idea.  In several cases we need to say
 > > "who is our caller?" and some VM assistance is useful here.
 > 
 > I'd like to have a special case getCallerClass. If you grep through the
 > Classpath source, virtually all uses of getClassContext are interested
 > in the immediate caller.

Seems reasonable.

Andrew.



From MAILER-DAEMON Thu Mar 18 10:24:12 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B3zNT-0001qt-PH
	for mharc-classpath@gnu.org; Thu, 18 Mar 2004 10:24:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B3zNO-0001ow-4D
	for classpath@gnu.org; Thu, 18 Mar 2004 10:24:06 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B3zMr-0001iY-KN
	for classpath@gnu.org; Thu, 18 Mar 2004 10:24:04 -0500
Received: from [209.225.28.205] (helo=mxsf05.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3zMr-0001iS-Al
	for classpath@gnu.org; Thu, 18 Mar 2004 10:23:33 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf05.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id
	i2IFF23P016815; Thu, 18 Mar 2004 10:15:03 -0500 (EST)
	(envelope-from archie@dellroad.org)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA12268;
	Thu, 18 Mar 2004 08:59:58 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2IExwlP002080; 
	Thu, 18 Mar 2004 08:59:58 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i2IExvXq002079;
	Thu, 18 Mar 2004 08:59:57 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403181459.i2IExvXq002079@arch20m.dellroad.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCAECDDPAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Date: Thu, 18 Mar 2004 08:59:57 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: tromey@redhat.com, classpath <classpath@gnu.org>
Subject: Re: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2004 15:24:07 -0000

David Holmes wrote:
> > Is is correct that getSystemClassLoaderInternal() is a gcj-specific
> > method? And why is native code needed, i.e., why can't you just
> > load an instance of gnu.java.lang.SystemClassLoader (or
> > gnu.gcj.runtime.VMClassLoader in gcj's case) using the bootstrap
> > loader, and then use it to load the user-specified class loader?
> 
> Given that this all occurs at bootstrap time when the only pre-existing
> loader is the "null" bootstrap loader why not just instantiate the default
> system loader directly rather than using Class.forName? The construction
> will implicitly load the class using the internal VM mechanism associated
> with doing "new".

Good point.. that would be a lot simpler.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Thu Mar 18 14:13:28 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B42wZ-0000Ke-Kz
	for mharc-classpath@gnu.org; Thu, 18 Mar 2004 14:12:39 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B42wC-0008Ml-Pt
	for classpath@gnu.org; Thu, 18 Mar 2004 14:12:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B42uD-0006yh-IB
	for classpath@gnu.org; Thu, 18 Mar 2004 14:10:44 -0500
Received: from [207.189.223.52] (helo=email3.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B42uC-0006uY-U8
	for classpath@gnu.org; Thu, 18 Mar 2004 14:10:13 -0500
Received: (qmail 18695 invoked from network); 18 Mar 2004 19:16:37 -0000
Received: from tf0229.peakpeak.com (HELO fleche.redhat.com) ([204.144.239.229])
	(envelope-sender <tromey@redhat.com>)
	by email3.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <archie@dellroad.org>; 18 Mar 2004 19:16:37 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 876794F82AF; Thu, 18 Mar 2004 11:57:43 -0700 (MST)
To: Archie Cobbs <archie@dellroad.org>
References: <200403172339.i2HNdSdY036223@arch20m.dellroad.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Will it improve my CASH FLOW?
Date: 18 Mar 2004 11:57:43 -0700
In-Reply-To: <200403172339.i2HNdSdY036223@arch20m.dellroad.org>
Message-ID: <87u10mx9so.fsf@fleche.redhat.com>
Lines: 17
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 <classpath@gnu.org>
Subject: Re: currentClassLoader problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2004 19:12:36 -0000

>>>>> "Archie" == Archie Cobbs <archie@dellroad.org> writes:

Archie> Is is correct that getSystemClassLoaderInternal() is a gcj-specific
Archie> method? And why is native code needed, i.e., why can't you just
Archie> load an instance of gnu.java.lang.SystemClassLoader (or
Archie> gnu.gcj.runtime.VMClassLoader in gcj's case) using the bootstrap
Archie> loader, and then use it to load the user-specified class loader?

In gcj's case, this class only has a private constructor; from the
native code we can circumvent the language-level access checks.  I.e.,
it is an implementation detail.

I think this is a situation of wanting to be cautious and not expose
potentially unsafe code at the user level.  Our gnu.gcj.runtime.VMClassLoader
understands how to dlopen() .so files.

Tom



From MAILER-DAEMON Thu Mar 18 17:00:30 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B45Yz-0007Jy-Ty
	for mharc-classpath@gnu.org; Thu, 18 Mar 2004 17:00:29 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B45Yv-0007HM-KL
	for classpath@gnu.org; Thu, 18 Mar 2004 17:00:25 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B45YJ-00076c-AJ
	for classpath@gnu.org; Thu, 18 Mar 2004 17:00:19 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B45YI-00075e-IQ
	for classpath@gnu.org; Thu, 18 Mar 2004 16:59:46 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2ILtitW007089;
	Fri, 19 Mar 2004 08:55:45 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>, "Andrew Haley" <aph@redhat.com>
Date: Fri, 19 Mar 2004 07:55:46 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCKEDGDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADB29@LEMBU.sumatrasoftware.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Cc: classpath <classpath@gnu.org>
Subject: RE: Use of VMSecurityManager.getClassContext()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2004 22:00:27 -0000

> Jeroen Frijters wrote:
> Andrew Haley wrote:
> > David Holmes writes:
> >  >    static native Class getClassFromContext(int pos);
> >
> > This seems like a reasonable idea.  In several cases we need to say
> > "who is our caller?" and some VM assistance is useful here.
>
> I'd like to have a special case getCallerClass. If you grep through the
> Classpath source, virtually all uses of getClassContext are interested
> in the immediate caller.

That was my initial thought but the generalization is trivial and useful.
For example, given the XXX/VMxxx split having only getCallerClass wouldn't
allow XXX to defer to VMxxx and have VMxxx find the real caller.

David Holmes




From MAILER-DAEMON Thu Mar 18 18:17:21 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B46lN-0002Bv-4f
	for mharc-classpath@gnu.org; Thu, 18 Mar 2004 18:17:21 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B46lF-00028j-1M
	for classpath@gnu.org; Thu, 18 Mar 2004 18:17:13 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B46jE-0001R8-Ee
	for classpath@gnu.org; Thu, 18 Mar 2004 18:15:39 -0500
Received: from [212.6.122.96] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B46hU-0000ZT-Hm
	for classpath@gnu.org; Thu, 18 Mar 2004 18:14:41 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-95-219.ewetel.net
	[80.228.95.219])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i2IJR1ow018620;
	Thu, 18 Mar 2004 20:27:01 +0100 (MET)
Received: from mkoch by majestix.konqueror.de with local (Exim 3.35 #1
	(Debian)) id 1B43AS-0001xu-00; Thu, 18 Mar 2004 20:27:00 +0100
Date: Thu, 18 Mar 2004 20:27:00 +0100
From: Michael Koch <konqueror@gmx.de>
To: Jeroen Frijters <jeroen@sumatra.nl>
Message-ID: <20040318192700.GB7015@mail.konqueror.de>
Mail-Followup-To: Michael Koch <konqueror@gmx.de>,
	Jeroen Frijters <jeroen@sumatra.nl>, classpath <classpath@gnu.org>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADAD7@LEMBU.sumatrasoftware.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADAD7@LEMBU.sumatrasoftware.com>
User-Agent: Mutt/1.3.28i
Sender: Michael Koch <mkoch@mail.konqueror.de>
X-CheckCompat: OK
Cc: classpath <classpath@gnu.org>
Subject: Re: Proposed URI patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2004 23:17:19 -0000

On Tue, Mar 16, 2004 at 02:42:55PM +0100, Jeroen Frijters wrote:
> Hi,
> 
> I wanted to use URI for resource loading, but found out the hard way
> that that wouldn't work (URI depends on regex, which depends on resource
> loading) ;-)
> 
> As a side effect, I added (partial) support for escaping/unescaping to
> URI.
> 
> Please review.


Looks very good. And from what I read in the RFC it makes us more
compliant to it. Now only support for IDN (international domain names)
is missing. But thats not part of this RFC and another story ...


Michael



From MAILER-DAEMON Thu Mar 18 22:26:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4Aek-0001KS-7v
	for mharc-classpath@gnu.org; Thu, 18 Mar 2004 22:26:46 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4Aeg-0001Jf-Gd
	for classpath@gnu.org; Thu, 18 Mar 2004 22:26:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4AeA-00018S-LP
	for classpath@gnu.org; Thu, 18 Mar 2004 22:26:41 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B4AdZ-0000ur-SZ
	for classpath@gnu.org; Thu, 18 Mar 2004 22:25:34 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2J3OYmd013315
	for <classpath@gnu.org>; Fri, 19 Mar 2004 14:24:35 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Fri, 19 Mar 2004 13:24:35 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCCEDPDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Subject: Vmxxx method vs. native method
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 03:26:43 -0000

Just revisiting the split between using a VMxxx method for XXX to forward to
versus declaring a native method. I thought, from past discussions the
intent was to use VMxxx methods in preference to native methods. I just
noticed that Object.getClass is still a native method rather than being a
VMObject method (or even VMClass).

David Holmes




From MAILER-DAEMON Fri Mar 19 03:38:40 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4FWa-0003QS-7F
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 03:38:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4FWX-0003QH-HP
	for classpath@gnu.org; Fri, 19 Mar 2004 03:38:37 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4FW0-0003NU-DD
	for classpath@gnu.org; Fri, 19 Mar 2004 03:38:35 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4FW0-0003NQ-2Q
	for classpath@gnu.org; Fri, 19 Mar 2004 03:38:04 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 19 Mar 2004 09:37:55 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADB3A@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Vmxxx method vs. native method
Thread-Index: AcQNYh1wDpCj2CJHSniTZxwYb7odMgAKwhVA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>,
	"classpath" <classpath@gnu.org>
Cc: 
Subject: RE: Vmxxx method vs. native method
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 08:38:38 -0000

David Holmes wrote:
> Just revisiting the split between using a VMxxx method for=20
> XXX to forward to versus declaring a native method. I thought,
> from past discussions the intent was to use VMxxx methods in
> preference to native methods. I just noticed that
> Object.getClass is still a native method rather than being a
> VMObject method (or even VMClass).

It's the intent, but intent doesn't automatically turn into code
(unfortunately) ;-)

I don't use java.lang.Object, so for me this one doesn't have any
priority.

Regards,
Jeroen



From MAILER-DAEMON Fri Mar 19 04:47:40 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4GbL-0007IP-Ri
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 04:47:39 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4GbJ-0007I9-0K
	for classpath@gnu.org; Fri, 19 Mar 2004 04:47:37 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4Gam-00072d-5N
	for classpath@gnu.org; Fri, 19 Mar 2004 04:47:36 -0500
Received: from [62.253.162.48] (helo=mta08-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4Gal-0006er-Pv
	for classpath@gnu.org; Fri, 19 Mar 2004 04:47:03 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta08-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040319094649.FRBP5004.mta08-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Fri, 19 Mar 2004 09:46:49 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2J9jFCL005566; Fri, 19 Mar 2004 09:45:25 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2J9jDSr005562;
	Fri, 19 Mar 2004 09:45:13 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16474.49449.644037.778189@cuddles.cambridge.redhat.com>
Date: Fri, 19 Mar 2004 09:45:13 +0000
To: "David Holmes" <dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCKEDGDPAA.dholmes@dltech.com.au>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADB29@LEMBU.sumatrasoftware.com>
	<NFBBKALFDCPFIDBNKAPCKEDGDPAA.dholmes@dltech.com.au>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: RE: Use of VMSecurityManager.getClassContext()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 09:47:37 -0000

David Holmes writes:
 > > Jeroen Frijters wrote:
 > > Andrew Haley wrote:
 > > > David Holmes writes:
 > > >  >    static native Class getClassFromContext(int pos);
 > > >
 > > > This seems like a reasonable idea.  In several cases we need to say
 > > > "who is our caller?" and some VM assistance is useful here.
 > >
 > > I'd like to have a special case getCallerClass. If you grep through the
 > > Classpath source, virtually all uses of getClassContext are interested
 > > in the immediate caller.
 > 
 > That was my initial thought but the generalization is trivial and useful.
 > For example, given the XXX/VMxxx split having only getCallerClass wouldn't
 > allow XXX to defer to VMxxx and have VMxxx find the real caller.

Perhaps we don't need to defer to VMxxx if we have a portable way to
do getCallerClass.

Andrew.



From MAILER-DAEMON Fri Mar 19 04:54:40 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4Gi3-0008Np-0V
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 04:54:35 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4Gi0-0008NE-5r
	for classpath@gnu.org; Fri, 19 Mar 2004 04:54:32 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4GhT-0008Eu-Mt
	for classpath@gnu.org; Fri, 19 Mar 2004 04:54:30 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4GhT-0008Ef-46
	for classpath@gnu.org; Fri, 19 Mar 2004 04:53:59 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 19 Mar 2004 10:53:51 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADB44@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Use of VMSecurityManager.getClassContext()
Thread-Index: AcQNl1PUVmMmtnxiTo6nGS8qpZ1YgAAAHL5w
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Andrew Haley" <aph@redhat.com>,
	"David Holmes" <dholmes@dltech.com.au>
Cc: classpath <classpath@gnu.org>
Subject: RE: Use of VMSecurityManager.getClassContext()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 09:54:33 -0000

Andrew Haley wrote:
> David Holmes writes:
>  > That was my initial thought but the generalization is=20
> trivial and useful.
>  > For example, given the XXX/VMxxx split having only=20
> getCallerClass wouldn't
>  > allow XXX to defer to VMxxx and have VMxxx find the real caller.
>=20
> Perhaps we don't need to defer to VMxxx if we have a portable way to
> do getCallerClass.

I don't see how. My desire to have a getCallerClass is because I want to
be able to support method inlining properly. If the JIT knows about
getCallerClass, it can do the right thing. The generalization is not
inline proof.

I don't particularly care where it lives though, because I'm likely to
ignore the implementation and let the JIT emit some magic when this
method is called.

Regards,
Jeroen



From MAILER-DAEMON Fri Mar 19 05:10:58 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4Gxt-00069z-RJ
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 05:10:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4Gxq-00069E-PN
	for classpath@gnu.org; Fri, 19 Mar 2004 05:10:54 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4GxJ-000620-TO
	for classpath@gnu.org; Fri, 19 Mar 2004 05:10:53 -0500
Received: from [62.253.162.46] (helo=mta06-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4GtC-0005Y0-TA
	for classpath@gnu.org; Fri, 19 Mar 2004 05:06:07 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta06-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040319100603.ZXVP19383.mta06-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Fri, 19 Mar 2004 10:06:03 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2JA4dCL005630; Fri, 19 Mar 2004 10:04:59 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2JA4b3p005624;
	Fri, 19 Mar 2004 10:04:37 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16474.50613.451833.38862@cuddles.cambridge.redhat.com>
Date: Fri, 19 Mar 2004 10:04:37 +0000
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADB44@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADB44@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath <classpath@gnu.org>
Subject: RE: Use of VMSecurityManager.getClassContext()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 10:10:55 -0000

Jeroen Frijters writes:
 > Andrew Haley wrote:
 > > David Holmes writes:
 > >  > That was my initial thought but the generalization is 
 > > trivial and useful.
 > >  > For example, given the XXX/VMxxx split having only
 > >  > getCallerClass wouldn't allow XXX to defer to VMxxx and have
 > >  > VMxxx find the real caller.
 > > 
 > > Perhaps we don't need to defer to VMxxx if we have a portable way to
 > > do getCallerClass.
 > 
 > I don't see how.

Well, if the only reason for the VMxxx method in some cases it to find
the caller's class, and we have a well-defined getCallerClass(), then
we don't in that particular case need a VMxxx method.

 > My desire to have a getCallerClass is because I want to be able to
 > support method inlining properly. If the JIT knows about
 > getCallerClass, it can do the right thing. The generalization is
 > not inline proof.

I don't think the generalization can be used reliably in the presence
of optimization.  It'll only work with the simplest VM designs unless
we keep a lot of extra information around.

Andrew.



From MAILER-DAEMON Fri Mar 19 05:16:53 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4H3c-0007kW-CB
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 05:16:52 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4H3Z-0007jc-9E
	for classpath@gnu.org; Fri, 19 Mar 2004 05:16:49 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4H2y-0007ct-CS
	for classpath@gnu.org; Fri, 19 Mar 2004 05:16:43 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4H2y-0007cD-0m
	for classpath@gnu.org; Fri, 19 Mar 2004 05:16:12 -0500
Received: from [217.8.215.243] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1312794; Fri, 19 Mar 2004 11:16:05 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: graydon hoare <graydon@redhat.com>
Date: Fri, 19 Mar 2004 11:16:01 +0100
Message-Id: <20040319101601.30026@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: stsf
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 10:16:50 -0000

Hi Graydon

have you happen to come across <http://stsf.sourceforge.net/>? (BSD-
licensed font library on top of the X11 rendering extension; by Sun).
IMHO it looks nice from a coarse view, and the documentation is
interesting to read.

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 





From MAILER-DAEMON Fri Mar 19 06:06:43 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4Hpq-0004jD-O5
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 06:06:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4Hpm-0004ew-4p
	for classpath@gnu.org; Fri, 19 Mar 2004 06:06:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4HpF-0004PZ-5y
	for classpath@gnu.org; Fri, 19 Mar 2004 06:06:36 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4HpD-0004Mz-Vk
	for classpath@gnu.org; Fri, 19 Mar 2004 06:06:04 -0500
Received: from [217.8.215.243] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1313946 for classpath@gnu.org;
	Fri, 19 Mar 2004 12:05:59 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Fri, 19 Mar 2004 12:05:55 +0100
Message-Id: <20040319110555.31552@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="==_20040319110555.13805-1_=="
Subject: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 11:06:39 -0000

--==_20040319110555.13805-1_==
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi all,

there's several places in the Java API where users can write custom plug-
ins, or "service providers". Examples include java.nio.charset,
javax.print, javax.imageio, com.sun.jdi (the client side API for
connecting to remote debugging targets), and some other packages. Plug-
ins are usually deployed as JAR files whose "META-INF/services" directory
contains text files listing the fully qualified names of classes that
implement the respective service.

Attached is an implementation of a new utility class,
gnu.classpath.ServiceFactory. Its lookupProviders methods are intended
for Classpath code that needs to load service providers. I've tried to
explain everything in the Javadoc, so please refer to the code for details. 

I have several questions:

1. It would be great if someone experienced with Java security could
review the implementation.

2. Which namespace? The JDK actually defines a public API for loading
service providers, namely javax.image
io.spi.ServiceRegistry.lookupProviders. Since some people on IRC didn't
like the idea that packages like java.nio.charset would call into
javax.imageio, I've put my implementation into the gnu.classpath
namespace. Personally, I don't really care about the name.

3. The unit tests (see attached ForMauve.tar.gz) run checks on
gnu.classpath.ServiceFactory. This seems a bit unclean, since Mauve was
once meant to be independent of Classpath. A possibility would be to
change the tests so that they check the public API
javax.imageio.spi.ServiceRegistry.lookupProviders. We could easily write
an imageio ServiceRegistry in Classpath that would delegate
lookupProviders to gnu.classpath.ServiceFactory. However, we recently had
agreed to stop committing mostly stubbed implementations. Do people think
this would warrant an exception to the rule?

4. The Mauve tests #5 and #8 fail both on JamVM and on gcj. (Thanks to
Michael Koch for testing on gcj, by the way). Basically, what happens is
something like the following:

  Class c = myClassLoader.loadClass("name");
  harness.check(c.getClassLoader() == myClassLoader);

Can anyone explain why this fails? myClassLoader is an instance of
gnu.testlet.gnu.classpath.ServiceFact
ory.lookupProviders.CustomClassLoader, which doesn't override loadClass.

5. Feel free to tell me if the documentation needs to be improved.

Best regards,

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 

--==_20040319110555.13805-1_==
Content-Type: multipart/mixed; boundary="==_20040319110555.13805-2_=="

--==_20040319110555.13805-2_==
Content-Type: application/x-gzip; name="ForClasspath.tar.gz";
	x-mac-type="00000000"; x-mac-creator="00000000"
Content-Disposition: attachment
Content-Transfer-Encoding: base64

H4sIAEG7WkAAA+08aXMbN5b+zF+ByFUZ0kO3DifOJrRdoTWyh1OyrJXkdbl2tragJkh21Oxm
+pDE8ei/7zsANNAHJTvZ1O4Uuyqx2A084N0HjnlS7oaxzPOVLBa75yq7jkL1RoZFmq2DX+S1
fPTbn739vb3nz797tAfPD7V/9/a+++6H/f1H0OTg+ffPDp7t/QDtn//ww8Ejsfc7jH3vU+aF
zIR4dJnJG5V1t7vv+//TZ/eJaGG6ePpU6N9ilmZiFZfzp1Eicm6aBz0hxGG6WmfRfFGI/uFA
HAAnhXiTKSXO01lxIzMl3qRlMpVFlCa93sUiysUsipWAf1cyK0Q6E29PPohDI31Br+f9xoYz
hJdreCOxTksRykRkahrlRRZdlgXAK4RMprswzWU6jWbrHryAcVUmioUShcqWOY6FPxD+W5Wo
TMbitLyMo1AcAz5JroSEWeGbfKGm4nLdw+Zd2IyEiuB7Jq5VlsNvcTAUMHxfFjjDTKQrbDXo
yWQtYllUDdtQrDCZCiAxjrtIVzDxBYADVG6iOBaXSpS5mpXxUEDL3sfJxV/ff7gQ45NP4uP4
7Gx8cvFpBC2LRVoWQl0rhhMtV3EEYGH6mUyKNZCh9+7o7PCv0H78enI8ufiE834zuTg5Oj8X
b96fibE4HZ9dTA4/HI/PxOmHs9P350eBABlRhoC9DgLOiAFAp6kqZBSDjPQ+AbtymFI8FQt5
rYBtoYquYUJShCA893OlJ+M0mRNivqyMQBR5RiRSh+9PP01O3sJEJzORpMVQ3GQRiEaRYpte
Fx+HYpKEwVB8/6O4UEArJU5jGaqhOC+x97Nne0PxOs0LbPlu3Ns72N/ff7oPJkp8OB8DfsdR
chXB/AqU7TgCEwH6AvakiEIZx2uk7XSdyKX+SWikJDggqWWscuB/bykJBpJkeRklyK40uxKX
Moc/08QDDgheLMp86Eg2iH4vTJNphAg9RNDD9Fqrxs0ijVWPhyV6AEpjgCjylQoj6KluQ7Vi
QmH70Co8dAT90qM5uM+Bu6gCvRXMLcpJN4AHMdDJb0ikiEBJVwr+lxSWINB6lcHfIWhk0lO3
KiwLeRkDTzI1l9kU2lgkY42Rq+Lw0wHb02CHSCaETWKHfzv2A0FlKi/jAvlQDclGpGehk2qH
izRCCYFJXkdT4BCpKdolGeepWCoFwoeqoGS4IMTVtNdEtMZB0eSgQY5+SoMJCMA4aSEcGhJp
/r5ZRCGZFtAE0MaMVG6WpcsezKtLriaEoDah3schf5BroE0Bo/boo5UNJCuRxhhDi4DuDURm
AoHuwYx6KYjjXKK5g57TFMx7NTz8xEnfgBm2X4eAQ6yIUaAu1bioaGqJNEDcvDkE4slur9db
yfBKzpWYJ2Vgg5xRrwd2MQUHhJ4uiNJgkqzK4rzIlFyOGt/eH5kBG99el7OZAld0piRQudm1
AtvRou11oorgw9mx/zIHmQSDtg7GIXjf/DBNiiyN8R9gyUOaxvVhbLNTEA8woXM1HYeIZQe6
ZRHFwSEColZ5y9ejpFyCwenoOynwW5q1fDpJz8twcRQTMzeNH6fzOehocAweLt70Hf6tI1xv
cKbCNJuCMPR2nzzpiSfg+WbNiCdn/Qb1hJdLFElpgiBjAjLsHAEnMugPCkqBDqnjXBvgpQoX
MonyJQObqyJHb45hBrQCql0yEFAcLbG5iQT+hsHY+HQSgNfK4CXIfILm5/PPaFqwEwsNCBOM
keUgPPkqCg7571M9wzswTnF6Q9aVHWMIYS/YA+ivkjAlW05WUekfSAIECBQBZwGg8vqYt0G0
hJnCwDjgBP9mcT5fRe54ebkiJvCIgjohDKSnLLRlZtAa7ioDaqJcJoUOTe/A+lwhUQqxSsGr
oHEuUoTiYiOoI0x3ihYvwyCVGPti9eoCSGk5inYIGBpmaFMwRCK5k5711TzG7obNFY+HlYWd
qhm5bIn0q1qg54ff8hKcDJAQwZD9Qemoj8lfALslYIGB3or9NdKFoiap3xAUmGORlSinLEwF
ESYBuczmJcJ00T51US7zkqIQcB1xuuZg828Q5GEABRMb0w+CqTHOEQpi5U8XKFTpAM0ZpCbG
EcgvAFSJ7hSsccjRGfFpkYIvg1CIPBXFbSVO5leYUzTDGNVApDaIO3eJ05ATCFQy7jmNII4k
RX2B0vrq3dHF+Onk5M2uyU5e7NJ7rYofLt48/Tct5lMEgzaTw0aI9lEC0ZcoSEnAnaDHVjq+
qs8QZ4YCQjAW3TIU6BgtTZQlMGUtmq4Y2CBls8uooGCILQASti6NMy1HtmkIsWuh51C3Q5X4
uTLw4vLV0a1EuC92L19V79GeKP4AOkgTXVJsZ2ZZ3KQd2rF5cM2VNJsHszQNgAfJldZjzZgh
AkBqxoaFEIMGMlyq4N/LKLyiLirTrSnCxTn7Lf+i1MpvyMqFfxLduH0LQJLHtJyCbKVXqLmz
lKzVT5Y4GTcy4YMZc6QbfPv49mA2Yq/xRJCRBZqjVpQQ9z79FYfksAdjGTBFqHRq1aJILnEC
AsewaXQ2A2QdhIsGfhQVMOBKC6mx0Wdu6U5XwH+HxobglBN14wFnIhruGo/YNwbPwDAJvPVR
KrmOsjTBCQ0Epjs5m4MkfWosk2u8DJybBaSqYNaRFeAUVwQQ4EUxReAt8tcgmRAWs2/jYrT6
dl6MTtJCJ9CoPSvIgtmKaBH/tUSewCSroQwIF7wV7py5CT5b/IIGDzWbkV8SvTIFAqeGBobF
k/K6xLptkwuDjSehAFNzC2F8Dt6K/bvRRwMIrCqIH+SqIFoEsATDaqCkCagPgEJXG1I4TcSs
eS8EA0xk028jD0O4StqEkTdXGPoD/qQF6a5nSF0XqTMFU0vYPEPyiAmGzgw9elJQk5bAglys
KK7AvMdMRowrRuVkMCHZQh8glykl2a5k1O2PlUw/v7mWcak2YDtNS4QGhDnHadcQFuDIEDHx
bP+7/e9/DA6ef//d6D5anHL6isqlkQ3ExwX6AE40ESDljZoQOi0ikTAw0FyQE1rTZw4kdYGI
RAdkABSwiJabkLvgIZASyVUXagl4OQcn/t+LXW0DnfipZlg3GGJ01LGaFRwVUZB5q7Iwyk1B
BsbGSNHxUmOAhBjs7f84yvUILZ7DFiJJkm0kIzlUsd42EK9VjhEMDXa5LiispajCRCbkWyu3
0uF39NcmikOqOkLGr4OyQkZa/G10UQFvBCi7G5xjwws9FuNN9rDL+Le6VO+Dg1UbzyFwuFgg
o8S5nKli7YcPkwK5nMMX5ClaRsbVLyYbUlKCvsQKyyrWs0sg/8zQKxQ0SF5VL28hkEggbcrX
SbgAnxL9Qxen3KmRhUdp/ABE9SyHP0/6LF3DQm7hRuLIKfgdwM9mBtqyUtmEgsyYNLLCzisk
BK24gqtQocQuZICotQ5eyWI7zi1puE49O9R5a8ew5Ipe2w4rJuBPgGQkgwAWJpoul1gO0tWo
soEzOmSKCDakcBqbMzXH0tj6MbrkcmVSyLxPExjc6agaclKNlfUublWKYlmMnSa77znF47lW
2ANmypg8hwKGyz/LEsQBjI0UIB+zlztL6FikP/EyzM9TAKkgfIesd+fVucwhVxWv6dOLXYns
3+1pIwj5GcgSR1E+w3pgCgUl/+R8RExVAydHjyjpN461SnroI0qOmmLdv1dFMljb1bU4cEyA
5pIrndiYi7y5jVwobhEspa+1yDh5cFtF4zGMzH/1zwtIdueDOwZBmRGq0VPUSMhPlamkJYrr
bDdphiHPJWpYTbEYBM6cZ7UL/4dU+hrTIS5mayLy0OL4/du3R2fipf4dVJPa8fRjZ4DVFYfE
f+E8cWqhgwakGS3UYNUXly0KP3gykROnXYISL8AVSRMVa51TNybtsxkdH3o98GzebN6AvObN
OKLSQGtsIx19UFkcU0EGYKIaoyKgl6YI5HMXzNX75OlULVEPtCj8hGYKKKjlAhUkiYoIcs1/
4AsbwQmnApFzxSGW7PPAoEJMjutWuibCsTtX4GSsM21ZaMKtV7gMATSLyNDQslJERTk0VRmG
Cjp4ZPVF0sdxlZnX5wKJaBRTKIzrdLimwqRbyiJcYJiaQiIfYn0mi6Tox9GVBqErQliTNjUg
UHTKs2mJygw4QEsHrQHJPFSJzKI0R5vHUDiSx7oQtE84tNBzZkNLKXymINZPwI6TInQjk3Lg
jJF0DEBDcItAzne4nKVuU1SBqi1GplSm0TMB72/Kgiob2QAcBIJobOJ0ihJCG6cnWBqLCs49
hJNRhyZHYJrSlOJ1U6TOdQWXNAZnxraeBWuMK49kodoiZUoKMmVaeNw3Ms4OBwVUZcQg+roG
z7NkAM53Ec1MVFi9rIJBPWv6ieGmzdc/IiH4fc3bOJFkSFI4NOqP1T4OHLSxbCuJ37GNzqjG
C+kO+SyGEMoVplFIl4p+FLQRt6YKF2WA+zRUtYyVE9c8TuU4iKHhdSSph8YS4PUHBomlAlc2
tcUTBGHTAG5viuOGMg6zf8bC1BL4ErmpXVvdhXN0XUXUfsGYMF1s3iAVLWPGzFyiOflP+0J6
y9JTG0lZ/BrgSYQaIkARXCVYJlqi3JfG4ry4zI0JNrxy5zOktWAT2mDfztjFxVHnP5ifa+oL
Whl1fY6eMRC/jTOoNze5mIB8zmU81mUOu4BRaUXVf4M2VG6MAxfteo1oiFacUC5INR72uDrL
xDPOUQhnuQqrDbQYhu850rCJ04mkQhg8znqPKLM4H/XoNWDdR2l9+ZJyy4GeHRGLyk1d9OoP
HAha1GpAzFsXEYw/zkl8nJcWljtt6LfTzMV2xJ+RiggGG2FPmi+GpvR8tvRFLAFIbMc9M9lk
3x1HQ6CEGp4QHaLoOyuJIkrV7aABfvcJLoOCQELQLFSWoUSGYKRyCs4oqgPfg1FdVUleux6N
H8evkQflPATSCYKQo01YixbpN7GCgTJNFS8h27ZrrCTMRT9J3ZjEBAqDwOm9a/+GELZPC3bB
x/HZyeTk7VDsaDQkmW7xee9uZ+hxasgUGlkgegrOAmRw9O704tN/H0/OLwKDQt+hfM/phlKn
ozWjTiiiQ2Lo0JiR+9SovqCKAqD9TX9AI/9xEebwHpvI/WdpZlOPTYb+j3Uu/ycNr4aMnqTd
ewxdmzP4amNd2VvXFofFLf+lrZb9DdaGizCBjnr4V3/gCF/N7DlyX58FybyF3Say4zpTNkgv
rp5xSbI1qKZF82heag9By4xm5RQDpxWuepqVU8eX6KB6Jj6cHefucvpCxVg0ZjFH0XZdvp/z
1Vnoe/7fVlrYlCF7ZQYjDOzTquUa5z1LgqY+Lz9s1MK+WcR1F5uHlGphLTg3YJy1Z57TQBPe
0XK94Gwnpq23ttwGPcbLii9n9N6Uxx73XgDXXgm7xQx5aLdQYJHUWRw2ALqKpLiaY6qb54Ch
Jiuu71QLiRrfvIqowRTpzMBRjMeeszbFk00ot0Q3bczyAmOKhV2j224INxHZC846xmxkLjQu
ZZW20LShoFCLED4qvxrqdaXlpfr23wYQZ7ttjnFWfYJDs9qLLdJEOaHGExicaoi4c5BQ0Mxr
qLBYQMNLBS04I9xEyrac0M7KbptqirJemLBpiUk17W4BJCWz3OwGqBPF6lPamfTYdToAVJgh
F9JqLyE5U1hG6cDS33mmQbDpb5UYUEODCxUjdECARDLZsS1QGyE2/dUyKnhnJEWkgHWOO5Ta
J+YMRJvYOuS3ZuC8hNJVZCRSQrENiiFu+WEoRkY4z77roHPE69PWoTkkljHSbF0NhvAfqK3v
L3+BGJTmZaSzBVF3lT2pAgNCFfUsrylaXtll9oG8Dog1QzMN8/ZLozbX6BsYNdsvPrBjGepN
POhvaXGiglWsV4rXwSOru1yEo52vuBJd9zrIFtqMLqvNMrRHoircNtGiJEt+oVMxMH5H3yIq
abFFoa/yLjX8nKqKa/FrWwMdL2L6d4pnXS58O6fZX3MZetHOdRpV8NDuO7r0op5ZVYWJhhMd
tji59rzrIRacM2iTP6PgBlR44EDFeavzdnbjzntbTjDu1oVUo+LLpv9wWrvGQMM7gVeaNOaL
Cc/vmubC5DTte2HRlBmbB1bshEqcbLtyX9RnoIzKzWwq88WZimO9+j4B9RfeCq8TES7GfKPH
hDTXMquq57RP2VZghIYIZPFNJn/8MsrZ1MbM0iWnxvAyTWMFBsRO2sPSlgScYb95abZBNKFd
pxHuGliC9enXBc5Q4ENi1zTer7S8e4Tw4PpupBNhbyxdhMPdiYYQrGZX+H/zymGZjipq9TMh
5PQac2wOHBweob3pj0ZVw6osZQpTN8qc4pEYmVQRjHU8GCE5ZSpXsanknUXqmotWszKjczC0
3TLwGu46vzZh4jKTmOd8qYp3TWTwwWFB2PQ2FPznGN70nYITc6z6u6WIh91OeZV3sHm0lgqY
C6hcaWjIYi6GVTFUm3l0Rx61o1bJc4WNz1FafAFeYSov2UuohFYpMEJHVjrRbT70mZnfREgP
dslpFadB183c5Om18bJOtYak+p/RkUVJqRpIuljuivOraIVhUKHyFUYxGtNLNY+SxGRKGm9z
ZMdDQdOTXoMALx2dcYdQyxV414Y4G5SDWCXzYtEfIO57PuIVJi1weWtHsQEybtMfF/09Av2n
x396APB71cMK7JvJyVGbBO4cd2S44u87IMF/BxG2tcydlv5/FjsYSv29pR7/eR+6Y1Xp88Fd
sNM2OJpctp7/+V/iM5Fm6JfwXQUSd60wUP48ohDVn9CSvLPkFSUd8RPvIsrroJ94uSymLWS3
/Vw2aPTarb3Rhq1Rcp6m1XmdfgMtp85txtJ84rM9XABkeunlnyZt6kHWvTaxMmTVogY/dbnS
XmyZz3Ep5pAXAajo0BAjpr4RpqYIoQBVa9UPEKWdugFBBVK3tuoM+t95FKpFfr79FrClIixu
3AG9duCQZz4Ez2gBDBoQNA3qO419vM0ZPmcPcZcywbDQCfENxPnvonkN5WhxY4DFsDnE/5LK
egtC/HQ5Af+veuRFIV3NvXjR1jRtDYOcaOSbh3iwuplta4OPDkPCOM0bMQg/NYMsdqjttBks
GLtWB3BXJ9x9qts11w2reTSnlim18K05IRPltQQuwpWMeyIbylYwzwsg+sftOzotyd3UxZhX
R8K9Efrwz4CyRcrrNAiXMz5nfTpVmIDM+4W6Pi1/14+F1u14NZcgXamEm6KC7NBRpp1BjZwN
4cBeDxOOigv3CMTnjhEbQoBj3y8DdQ0VGKLFqhHsm8ypsU51ykfmJE7FlCRNIMqJcGMPpT39
QyujGRgdPGevi59UX9QJNe+wp1M8uKsVLxTwhsFCJUO5VOaw+hQXYartn0gJ2p2HAfIC91Cb
OAKM+FRmU1qPb1mJ5VgDOumtcPhbj8vHyu1ZEnfxi3jxWPPirgUsehve3zbvAMdE4y344ejQ
7INmKOSigakBf5+OXFp6A1VY0F9YN+vnA1tP98Y3O2dbC7f8EuZt3tndCOz1ab2Z+9uRcLuD
6UkvnV1k2o3iRRjrof2Ldue6s/C6STxxmgtcaAfZVGwGuEanFy/1/RKaSCRmjmi1sBck9gLL
BrQFmm/4ACnO8zSM+AgP7hY2lOLta/cQqkZWi2sNpmQQdvDOrb7kHK2Cixj/P3Qit6EpXBBG
Qxedam3bnq9GHLSZhYyGjwndo1quVnGgTEaddx0HUY57jXG8Pk3NmnXPpMOo2gDbmfQ1JoCC
NisIltmivTkGdfSC4joMxPoDGHCMktJ3BgoDPFttpa7fN5HNgLtr+CrOVWefWkDE87irdi1R
e6Jt0i8GFQn5JFHDuNGmVLsMjDvXvY17dISSAXibEXkpLdNVf1kW6ZKEgPortAuR2QIUR2ar
KkIBB7GI5gu84wTcxZLrxP/xDs8Rx3hjg8PUnDfp0tUwZqeuATNFnoDLyHK7KLbGqzlWsVzb
c89myrR47J6KHNnZoOG9iXKlz0zxssRMgfwWmJizptJmBCVwBzwtCyV8ziS3UGa1XQTe/nRa
4iTzzeaNyy+By65zWgAgwaGYtnaxEi962IDXbtVw+r4jTOn7Ti1n3DFCoBUBVRT66k0cd72v
vP9p3nb/V2vy+PW3gW2+/2v/4NnB9/r+r4Pn+/v7j/YO9p/v7W/v//ojnur+r26m421g/NPf
Uba9FGx7Kdj2UrDtpWDbS8G2l4L9a10K1nI7lq2MsCccOfdGrWwjKv5rNxlmSvINEJSI2Ezb
vT/HvV/IOd98aDcVVnv5sHcR8VYKpHQSyhWIp7kVQFbHzfWcp7aObbNFJ5wF2QZRDwudP0p9
N07Ldl8uqrgnUzfeRnbH1+Pw6kjLxj78vOkYdXPfH8LRh8DIi/EA9sQanz+21HKOSOqpY0pU
7bnzbu1yTi/z+cDf7/hxy4bg1gir5+0N7pQ3/7DyhclfeGdW6mz06tiCX7s6gMHQJjB9txmo
25fvAfuqHWAdp3Zbdxp7GLddyGQTWepXbaLSZKgO7XGGG1r9IYuuKwwt89AFD0M+PvXUmNHD
NnC17tJjIPfTomVDsJ2Cd5NPuxVqnDx37U3XOZAvEy0GUbvcyBeteyVL88gRr6+QLAZS22BY
q086/BRdl3w1ZYph1AVrs0x5437xpr/uo5SiidtXnIcZelVPhyrGWdgdtfEDT/NaId64Au1s
DmxRsXvPYG06wFg7eCj++U+f3c779tOFX3BEsW2zIb3zR6zZD9uqZeMhLWK5yn2sNwm3XhfI
N8M1ZINDWoo8lDnn3Yg+HFVmWJdY6bpOKePAgre5bhC7d9zf1Xqgq3UkHsK5/w/duT37c58U
ahfeNbIW/OaCu6mMN5THLCPUjJazcOSeGavsoAloWgr/90zOyBLFSvdP0Bg3PcGi8wo1e3GU
ph4xbdNpOTeEfOg8fHU3FrjaIu0dQyIftIwo4mNTbtZZHGdHRRFcZBjhH9Gsa2S73sN3YG6U
RgOK19/o4gnOqN1LWPQcuqPyNjI0TmWbTbJlovcMaOq6e0Wc831a0Q6rcrUGkPtGUpsVp3V1
zhj/4dUIV0N0+bgGx/TiDgGgONEY9p1FhKMkLzMt1I41qGJF91Yf54yq6b/51IGzaIM7PKLc
TqE22UHT8DY1ue/tEqkWSMjkNKj4m2rh22f7bJ/ts322z/bZPttn+2yf7bN9ts/22T7bZ/ts
n+3zr/T8D+f7TR4AeAAA
--==_20040319110555.13805-2_==
Content-Type: application/x-gzip; name="ForMauve.tar.gz";
	x-mac-type="00000000"; x-mac-creator="00000000"
Content-Disposition: attachment
Content-Transfer-Encoding: base64

H4sIAMC6WkAAA+1bbXPbNhL2Z/2KrfqFSmTqzS/XyMlUce1GPcf2WHYzmUw+wCQksaEIHgFa
9mT8328XICmSomw3TX3XGWLaSCSAxWJ3sfvsQp4FcUdxqXyuOjP87vhMypCpeWfCoxvP4cfM
USK66/hCfInD80jceC6PpP0Hu2FbT2vdXre7t7ez1cW2X/rsdnu7+/v9LRzS39sd7HZ3+lvd
/s7OXn8Luk+k/5daLBWLALauI7bk0eZxj/X/Q1unA5dsJl/Bb7/8u2fvNPD5SnJ8fh/7ygt9
z2HKE0FiDNlbHp0F+afLpcg/zSPOG0TrUIR3kTebK7AOW9DvdndgwqQzZ/BWyxMOjFx/dlng
ct+TtjN/o2dezj0JU8/ngJ8hixSIKbxn8Q23db/+Sn1TXAukmKoli/gQ7kQMDgsg4q4nVeRd
xwqHKUD6HRHBQrje9I4I4LsY14xAzTkoHi0krUAPv55ewa884BHz4Ty+RhnACW4+kBwY8kJv
5Jy7cK3p0Ixj4mGS8ADHAglrsQ2Be9gfwQ0eGXyGfhuQCYsp4jMCEdKoFpFhwR34TK3Glra5
2o0LXqBXnYsQOZ8jMdzL0vN9uOYQSz6N/TbNxcHwYXz57uzqEkanH+HD6OJidHr5cYiD1Vxg
L7/hhpS3IMW5gPxHLFB3KAq9+tHF4TucMno7PhlffiTej8eXp0eTCRyfXcAIzkcXl+PDq5PR
BZxfXZyfTY5sgAkntjgReECUU60NFJfLFfN8afb7EdUnkTffhTnDnUfc4d4NcsbAQVt6XEVa
lr4IZnqTRn5DkIYlY1CHZ+cfx6e/IqfjKQRCtWEZeWglSjymzzbs/gSXHIXF4dxneCC2YRLT
3MGgq2X+VkhF496PoNvv9XrbvUF3vw1XkxHuL2TOFzbjgI7WTpyuTd8zp2sXne6w0UDFCLT9
/IxL8znc1PeORQGXMusnT217wj7GvVe+PItVGKuJijhbrA0Ynx3dOlzb6VrfeeQF6gPJLir2
BcjK1cVJ8WWsPN8+CuIFam2dnO4dK+oTUUXXqZjEzvzI5wseqA0s6YG+mM28YGa/wxPvlxkr
jDhB8/cf6sfPhwmI2QV3ROQ+MGZCR4sfi2jBVF5Oj+i90XnxogEv4GcW41FFP8kAner0dXOB
Z0WJV+tus/mm4FkPOuwNEug0QnM89FpQiuIN0Cdfy1RCYliNr/g6mXUjPBfIuKycZcG8hSNo
FKCbjsSSXeN5cFiMfn6o3x5iVBWLQ1ryRDBysou73JMZlCobvZd5gRbz6TOEKXPmZXUcwk7d
iyduwlUconu4jjwXz9Y1V0uOXm1NExQB9OF2+XU8s1rp/AVHAbupYwmRSfQ2xu3m9mzDiBy0
mOF4KfEQy3R+6nhvPOmRHJZzXD2Kg4DWNHS0JyLq23ptkPjCmduagiT2TwyL1ryV7AsPI01P
HMYpW3D9GuA1NJ/qPZpGgJk8cW7Al1rK/c+mT0V3Cd2vyWdu/KfuZ5zioFdQPLWYE4xCFlEx
DH76nE3Lk9BkVqzDS2jaBeTQbBfGNvUWbApltiu4tNEp2/wW1yoNLBMtmXOzTQrByWgOlXbz
RA4RzTRzQ+9bwwrp9P4e6WjsVL36vf7EDTlzsHJ+GTzBb1tritQgimP8WiJqkQJXQubRQhcr
e0Tj245DO5syRz/CnS/WlPmS53Y9t82h0QutXkdou1FQZK9w0BOTW3MHViZGMvj0JB3S2vBj
7xUEMZ4pGXqwvf0Gxr7PZ8wfRbO44PvtjSZcPAdlK7GIervIaG5Txo8R5zisUvQrwVeJPZvP
b4uzU+EmA7wAM4/A4eh4Nu2wtfJyxGamxOQ8EyCusnLEM3PCOTLkDoJdtMSUCoIorYosGtDe
jRw9YvkRwVWuZvxP8Zw+1MpyL2m/bxeE5Sl7zuQpv1VWK1FSacIg8aPIfjWDLdwbIhKiMCzQ
lvbCjL+zdhDZtdqYoKwztGMnL9L3HxAuBwr1hEsw378DV2ifE/IIMe0C40xet3qpNgYIVLvk
KQ1F2c1Sw1z9vpRYKUERRavHNQFFTyCvj+NXZGYcw3bEpfAJIlNa4XOGY9A0ta389vt72bLh
LUJ9PO4ISx2zp12zdkpmipjCLokGSZN3slAqzaLvXhfR7itIjUQ7m4TxG48ZL6PtkNKLnOYr
1tO9Viv7mviKFrx+/ZjV7D1qNU+0jxLd/aeJxTjt9en/+r67/KlI7ofSNst+tGs3Nji0KqdZ
OiR/t8+rxvN68XsdEjQABoTAI8wENZTXKeOBI1z+Zg3dHXT0e5MOTzl3pcmoxcwQSVEbHa0M
BOawH6uAfHqmmf4XYTgQECfw4N0gXAAUgsog+S/ESZKsaJmhEniA/K/efU2AnJk99dDtQAGP
pxmfGWege56uVTHaaDHVIfkXO+lBPWYUTS/iBJ0sWfpfe3Ry0sp1ZcmNwT7FhCc7gPcF7nRi
kZRSrCyPonS/yFfCSII/ZvnFWvZUf7doko2Ia5GthdY8BXpPp0ynKAEesB/MEWhlZlskXhq+
me2pHyPTeT4rBjm+kLw0KDXtVJN6YCEB2KAnQ8Dko2TTOi3V78wDasx00gbMN6tZyA2ayXbM
eHujQpN+5rqp6ZBOC7aU8pU7q+mGMLeogsQpHAbUtuJuBiiMdBQJXEIO0GY7puoETA1nuWID
hDkkMMXN0zjbLEzVGXq0mvpAk0C3MS9o2upWpUKYosYxe+JnwdGtl3m8MEGruYX05sslEmua
2kZohzTWD6zmj7mCJfpkDN8YtGe6QqV0qVB7HeNjKIxLqho1q+gY7EZjKAOkWQuO/iTw5EI7
QAquOjf049m2h4HeRDFpV1KzDtEtUsGwiXmGPuTFEGSCGeUgrQoCVRTHKi3QIURBtygW5MwM
ENJSxQMSIcQ0ZVUqdjDMRasouR4eOQ00qRBHhds5C0MCOyIp2CUSbetOyl7YtV9NyxQL46BK
zCbfYfAbBg343YtUjP7zPXPmXlCtAh1EKBE1uM6Yq65ARsTxqmbCKCAmlQMTSyrp5YttJdN7
qtCzFel8SG0IulxRNIISMZq5Tv8BFL+yiE1c0cIWvgEPT0t3iB8H5VNt+zyYqTn2vXyZ+toV
ndLgT97nbKnEZSaezSSXeFaVQLdiVXgbEz/XkstCEC2+rwqkxaoT+atSIF3PXiumVETTQj9K
q7REEjcKHJkdpcLJ1UrTqLYq1pU706VTUqQjwnNaTY200+zo7PoPMmPqTgCYtY7pEvkXuP5E
U16+/LwCeUXC10JgAhKQB3wvIp4Ql5upaw4Piouk9lMAkvfDTFRCIfPoZXISIFW6F5gHxRF6
wiTeQICW3Mo0UhFkVgwRXKDhNv8POgeJwePocrQ9Pj3upO61s7Hsli/W5BvVdUoJdeXRa7Za
62JZVlnBCptzH3PGpJUnyxgzUbsoES2K1Obo//uGuf+bPfX+t9prPOkW+OH7325/f6+b3v8O
+ru9rW5/d7e+/32elt3/YqTbZttkCvXFbX1xW1/c/tWL2/QCb5QWVY1Dd9BOxgFay5SYIFGm
AcYYBLGtr9MQA6fVSSKjlkJXHWcEsBqgSR+Ebz7oZGFR8M2Aa6BiAgTkaH4sMSyYxoFjSpae
umvTfJdjkNA3YxmOZBGiYoqvccQTkEl1Rya/wEJ7A8L8IH36TiQE2vwXNGBTY2RSK8HBTdCK
mCzRMWU+fblLCGjjQN3hll3NhV4B/8Mgx5FlZqqcBrg/lO/QYUJrIhKHmRoSyXy3W1MvU1X1
fdLXfKHqQsdfIwMKuMbmcWsJyxnMsbOKUIJUMtg9LJa+DpnvxORcDFGc78aOdqgle0jIEejL
atr0IMJeG8yXPhJPo/6q/en4r2vAf+bXX4/H/73efhb/Bz39+6/uYFDH/+dodfyv438d///O
+B/kykUqqRd9/dn3gi/VMeXeWAZd7dH80l1aKaH83vHOFCAKvr5RKDtsDoMJhcJcKy1el650
viFSJuTLATMr6iTJb+musuI66c/G1BUSeCC0ZmxQIQF76DJv0BsM9tPUPmGvVyxu0cgXRGBY
SMqfsX1D/NeXnd/v998621/Ff3rf3xns1/n/s7Q6/tfxv47/dfzfEP/NX3J8KwLQs/+nGMD8
MOfZUcD/TXh/tH1L/F+K75z/7+6u4v/Ovs7/93fr+P8crY7/dfyv438d/zfF/6X49ui/FLnY
rC/gzR+gBDIO6W+guHsWJjfb2a281Rynv6deoj3TNUgUB82q34U+D4BYiho+1K1udatb3epW
t7rVrW51q1vd6la3utXtH9v+C8MruLIAUAAA
--==_20040319110555.13805-2_==--
--==_20040319110555.13805-1_==--




From MAILER-DAEMON Fri Mar 19 06:21:01 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4I3g-0001tb-NX
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 06:21:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4I3e-0001tJ-Cv
	for classpath@gnu.org; Fri, 19 Mar 2004 06:20:58 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4I37-0001n3-1t
	for classpath@gnu.org; Fri, 19 Mar 2004 06:20:56 -0500
Received: from [62.253.162.42] (helo=mta02-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4I36-0001mz-Or
	for classpath@gnu.org; Fri, 19 Mar 2004 06:20:24 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta02-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040319111939.MBPG14417.mta02-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Fri, 19 Mar 2004 11:19:39 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2JBJRCL005989; Fri, 19 Mar 2004 11:19:38 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2JBJRiS005985;
	Fri, 19 Mar 2004 11:19:27 GMT
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16474.55103.73556.570881@cuddles.cambridge.redhat.com>
Date: Fri, 19 Mar 2004 11:19:27 +0000
To: Sascha Brawer <brawer@dandelis.ch>
In-Reply-To: <20040319110555.31552@smtp.mail.ch.easynet.net>
References: <20040319110555.31552@smtp.mail.ch.easynet.net>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 11:20:58 -0000

Sascha Brawer writes:
  > 
 > 4. The Mauve tests #5 and #8 fail both on JamVM and on gcj. (Thanks to
 > Michael Koch for testing on gcj, by the way). Basically, what happens is
 > something like the following:
 > 
 >   Class c = myClassLoader.loadClass("name");
 >   harness.check(c.getClassLoader() == myClassLoader);
 > 
 > Can anyone explain why this fails?

I had a look, but it was rather hard to extract a test case from all
this stuff.

Andrew.



From MAILER-DAEMON Fri Mar 19 06:21:59 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4I4c-00027A-JV
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 06:21:58 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4I4a-00026T-Az
	for classpath@gnu.org; Fri, 19 Mar 2004 06:21:56 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4I43-0001zt-OK
	for classpath@gnu.org; Fri, 19 Mar 2004 06:21:54 -0500
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4I43-0001zX-18
	for classpath@gnu.org; Fri, 19 Mar 2004 06:21:23 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-95-064.ewetel.net
	[80.228.95.64])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id i2JBLDVA012613;
	Fri, 19 Mar 2004 12:21:16 +0100 (MET)
Received: from mkoch by majestix.konqueror.de with local (Exim 3.35 #1
	(Debian)) id 1B4I3t-0002GG-00; Fri, 19 Mar 2004 12:21:13 +0100
Date: Fri, 19 Mar 2004 12:21:13 +0100
From: Michael Koch <konqueror@gmx.de>
To: Sascha Brawer <brawer@dandelis.ch>
Message-ID: <20040319112113.GA7697@mail.konqueror.de>
Mail-Followup-To: Michael Koch <konqueror@gmx.de>,
	Sascha Brawer <brawer@dandelis.ch>,
	GNU Classpath <classpath@gnu.org>
References: <20040319110555.31552@smtp.mail.ch.easynet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040319110555.31552@smtp.mail.ch.easynet.net>
User-Agent: Mutt/1.3.28i
Sender: Michael Koch <mkoch@mail.konqueror.de>
X-CheckCompat: OK
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 11:21:57 -0000

On Fri, Mar 19, 2004 at 12:05:55PM +0100, Sascha Brawer wrote:
> 4. The Mauve tests #5 and #8 fail both on JamVM and on gcj. (Thanks to
> Michael Koch for testing on gcj, by the way). Basically, what happens is
> something like the following:
> 
>   Class c = myClassLoader.loadClass("name");
>   harness.check(c.getClassLoader() == myClassLoader);
> 
> Can anyone explain why this fails? myClassLoader is an instance of
> gnu.testlet.gnu.classpath.ServiceFact
> ory.lookupProviders.CustomClassLoader, which doesn't override loadClass.

Just came to my mind: does it fail with suns jdk too ?


Michael



From MAILER-DAEMON Fri Mar 19 08:04:20 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4Jfg-0002kz-Cs
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 08:04:20 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4Jfc-0002kL-9U
	for classpath@gnu.org; Fri, 19 Mar 2004 08:04:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4JZ2-00028y-33
	for classpath@gnu.org; Fri, 19 Mar 2004 07:58:00 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B4JX9-0001nf-9K
	for classpath@gnu.org; Fri, 19 Mar 2004 07:55:31 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i2JCxTGf068837;
	Fri, 19 Mar 2004 13:59:29 +0100 (CET)
	(envelope-from chris.gray@kiffer.be)
Message-Id: <200403191259.i2JCxTGf068837@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris.gray@kiffer.be>
To: Sascha Brawer <brawer@dandelis.ch>, GNU Classpath <classpath@gnu.org>
Date: Fri, 19 Mar 2004 13:59:28 +0100
X-Mailer: KMail [version 1.3]
References: <20040319110555.31552@smtp.mail.ch.easynet.net>
In-Reply-To: <20040319110555.31552@smtp.mail.ch.easynet.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: 
Subject: Re: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 13:04:17 -0000

On Friday 19 March 2004 12:05, Sascha Brawer wrote:

> 4. The Mauve tests #5 and #8 fail both on JamVM and on gcj. (Thanks to
> Michael Koch for testing on gcj, by the way). Basically, what happens is
> something like the following:
>
>   Class c = myClassLoader.loadClass("name");
>   harness.check(c.getClassLoader() == myClassLoader);
>
> Can anyone explain why this fails? myClassLoader is an instance of
> gnu.testlet.gnu.classpath.ServiceFact
> ory.lookupProviders.CustomClassLoader, which doesn't override loadClass.

c.getClassLoader() returns the class loader which defined the class. Since 
your CustomClassLoader quite properly uses the default loadClass() 
implementation, Class c may be loaded by an ancestor. So your test needs to 
match myClassLoader, but also the transitive closure of getParent().

Have fun,

-- 
Chris Gray                                  /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                                      +32 3 216 0369



From MAILER-DAEMON Fri Mar 19 08:52:19 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4KQ7-0000Xy-F6
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 08:52:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4KQ3-0000XG-PE
	for classpath@gnu.org; Fri, 19 Mar 2004 08:52:15 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4KPV-0000PW-BY
	for classpath@gnu.org; Fri, 19 Mar 2004 08:52:12 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4KC9-0007N7-Jo
	for classpath@gnu.org; Fri, 19 Mar 2004 08:37:53 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i2JDbQe103192; Fri, 19 Mar 2004 08:37:26 -0500
Received: from meriadoc.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004)
	with ESMTP id i2JDbQs50492; Fri, 19 Mar 2004 08:37:26 -0500
Received: from watson.ibm.com (sig-9-65-237-14.mts.ibm.com [9.65.237.14])
	by meriadoc.watson.ibm.com (8.11.6/8.11.6/2001/12/13) with ESMTP id
	i2JDbPl17574; Fri, 19 Mar 2004 08:37:25 -0500
Message-ID: <405AF7AD.70900@watson.ibm.com>
Date: Fri, 19 Mar 2004 08:37:49 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: it, en-us, en
MIME-Version: 1.0
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCCEDPDPAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCCEDPDPAA.dholmes@dltech.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>
Subject: Object.getClass() (was: Re: Vmxxx method vs. native method)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 13:52:17 -0000

If Object.getClass() were to forward to VMObject then I could probably 
  quickly implement VMObject in Jikes RVM and be done with yet another 
private version of an important system class.  We have a Java 
implementation of Object.getClass(), so native is not appropriate for 
our system.

--Steve Augart


David Holmes wrote:
> Just revisiting the split between using a VMxxx method for XXX to forward to
> versus declaring a native method. I thought, from past discussions the
> intent was to use VMxxx methods in preference to native methods. I just
> noticed that Object.getClass is still a native method rather than being a
> VMObject method (or even VMClass).
> 
> David Holmes
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
> 

-- 
Steven Augart

Jikes RVM, open source Research Virtual Machine:
http://oss.software.ibm.com/jikesrvm

Office: +1 914/784-6743
T.J. Watson Research Center, IBM



From MAILER-DAEMON Fri Mar 19 09:54:07 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4LIp-0005gf-Cj
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 09:48:51 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4LH0-0005N7-PK
	for classpath@gnu.org; Fri, 19 Mar 2004 09:46:58 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4L3K-0002H9-Qy
	for classpath@gnu.org; Fri, 19 Mar 2004 09:33:22 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4L2y-00020m-QV
	for classpath@gnu.org; Fri, 19 Mar 2004 09:32:29 -0500
Received: from [217.8.215.243] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1317573; Fri, 19 Mar 2004 15:32:27 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: Chris Gray <chris.gray@kiffer.be>, Andrew Haley <aph@redhat.com>
Date: Fri, 19 Mar 2004 15:32:22 +0100
Message-Id: <20040319143223.23716@smtp.mail.ch.easynet.net>
In-Reply-To: <200403191259.i2JCxTGf068837@pigsty.cats.cradle>
References: <200403191259.i2JCxTGf068837@pigsty.cats.cradle>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 14:48:48 -0000

Chris Gray <chris.gray@kiffer.be> wrote on Fri, 19 Mar 2004 13:59:28 +0100:

>c.getClassLoader() returns the class loader which defined the class. Since 
>your CustomClassLoader quite properly uses the default loadClass() 
>implementation, Class c may be loaded by an ancestor. So your test needs to 
>match myClassLoader, but also the transitive closure of getParent().

Thanks, Chris. My mistake was that I thought Class.getClassLoader() would
return the initiating class loader, not the defining class loader. Since
there does not seem to exist an easy way to find the initiating loader,
I'll simply omit the two offending tests.

I've tried to call ClassLoader.findLoadedClass on the initiating loader,
but it contrast to what Sun's Javadoc says, it returns null both on the
JDK 1.4.1 and on JamVM.

Andrew Haley <aph@redhat.com> wrote on Fri, 19 Mar 2004 11:19:27 +0000:

>I had a look, but it was rather hard to extract a test case from all
>this stuff.

Yes, the test might be a bit complicated. But I wouldn't see how to make
it much easier -- since its purpose is to test the full functionality.

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 





From MAILER-DAEMON Fri Mar 19 11:07:05 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4MWB-0004f1-Ud
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 11:06:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4MRC-0003Ij-2R
	for classpath@gnu.org; Fri, 19 Mar 2004 11:01:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4MKz-00022T-Fr
	for classpath@gnu.org; Fri, 19 Mar 2004 10:55:41 -0500
Received: from [213.49.17.120] (helo=pigsty.cats.cradle)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B4MKx-00021i-QI
	for classpath@gnu.org; Fri, 19 Mar 2004 10:55:08 -0500
Received: from there (localhost.cats.cradle [127.0.0.1])
	by pigsty.cats.cradle (8.12.6/8.11.6) with SMTP id i2JFx4Gf069072;
	Fri, 19 Mar 2004 16:59:04 +0100 (CET)
	(envelope-from chris@kiffer.eunet.be)
Message-Id: <200403191559.i2JFx4Gf069072@pigsty.cats.cradle>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Sascha Brawer <brawer@dandelis.ch>, Chris Gray <chris.gray@kiffer.be>,
	Andrew Haley <aph@redhat.com>
Date: Fri, 19 Mar 2004 16:59:04 +0100
X-Mailer: KMail [version 1.3]
References: <200403191259.i2JCxTGf068837@pigsty.cats.cradle>
	<20040319143223.23716@smtp.mail.ch.easynet.net>
In-Reply-To: <20040319143223.23716@smtp.mail.ch.easynet.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2004 16:06:42 -0000

On Friday 19 March 2004 15:32, Sascha Brawer wrote:
> Chris Gray <chris.gray@kiffer.be> wrote on Fri, 19 Mar 2004 13:59:28 +0100:
> >c.getClassLoader() returns the class loader which defined the class. Since
> >your CustomClassLoader quite properly uses the default loadClass()
> >implementation, Class c may be loaded by an ancestor. So your test needs
> > to match myClassLoader, but also the transitive closure of getParent().
>
> Thanks, Chris. My mistake was that I thought Class.getClassLoader() would
> return the initiating class loader, not the defining class loader. Since
> there does not seem to exist an easy way to find the initiating loader,
> I'll simply omit the two offending tests.

As I read it, if class loaders L1 and L2 are both asked to load class C, and 
both delegate to class L3, then C has at least two initiating loaders (L1, 
L2) but only one defining loader (L3).  So there is no such unique object as 
"the initiating loader of C".

> I've tried to call ClassLoader.findLoadedClass on the initiating loader,
> but it contrast to what Sun's Javadoc says, it returns null both on the
> JDK 1.4.1 and on JamVM.

Hm, that's interesting. I would expect Wonka to return the same non-null 
result (C.class) for each of L1, L2, L3 in my example.  If L1 and L2 were to 
return null then the standard loadClass() logic will still work(*), but it 
could make a difference to a user-defined class loader.

(*) If L1 or L2 were asked to load C a second time, then they should see in 
step 1 that they already loaded a class with this name. But if 
findLoadedClass() returns null they will both delegate to L3, and presumably 
L3's findLoadedClass() will return C.class, so no harm is done - it's just 
not what the spec says.

-- 
Chris Gray                                  chris@kiffer.eunet.be             
            +32 477 599 703



From MAILER-DAEMON Fri Mar 19 23:43:08 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4YKC-0001b4-3a
	for mharc-classpath@gnu.org; Fri, 19 Mar 2004 23:43:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4YJw-0001Z2-Ja
	for classpath@gnu.org; Fri, 19 Mar 2004 23:42:52 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4YJO-0001Qy-7s
	for classpath@gnu.org; Fri, 19 Mar 2004 23:42:49 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4YJN-0001Qd-RM
	for classpath@gnu.org; Fri, 19 Mar 2004 23:42:17 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2K4FCLB029912;
	Fri, 19 Mar 2004 23:15:28 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004031923163715969 ; Fri, 19 Mar 2004 23:16:37 -0500
Received: from 180.30.internet.uqam.ca (180.30.internet.uqam.ca
	[132.208.30.180])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2K4CZNp026339; Fri, 19 Mar 2004 23:12:39 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: 235395@bugs.debian.org
Content-Type: multipart/mixed; boundary="=-DtaKrj20Hzh3SVTFznkw"
Organization: Debian GNU/Linux http://www.debian.org
Message-Id: <1079755950.6335.193.camel@gadek.homelinux.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 19 Mar 2004 23:12:32 -0500
Cc: SableVM-devel ML <sablevm-developer@lists.sourceforge.net>,
	Tom Tromey <tromey@redhat.com>, GNU Classpath <classpath@gnu.org>
Subject: [PATCH] automake doesn't allow for 100+ long paths in "dist" tarball
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Mar 2004 04:43:04 -0000


--=-DtaKrj20Hzh3SVTFznkw
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

reopen 235395
reassign 235395 automake1.7
tag 235395 patch
thanks

While creating "dist" tarball tar is called with "chof" options.
The option "o" forces OLD archive format which only allows for
maximum of 100 chars in a path. 

This problem does not show up if one is using old-enough version of
tar, ex. from woody. As I learned from discussion with Tom Tromey,
the original author of automake, they used "o" option because it
was the only way to make gnu tar produce tarballs readable by other
tars.

The old gnu tar (ex. from Woody) misinterpreted this option and forced
--posix mode. In newer versions of gnu tar this has been fixed, but as
a sideffect - it broke usage of autotools for all software projects
that create "dist" tarballs with paths longer than 100 chars.

The "chof" options passed to tar come from
/usr/share/automake-1.7/am/distdir.am. The attached patch changes
"o" into "--posix". I have tested it and it fixed problem of
creating tarballs of GNU Classpath. It would be very important
to have this problem fixed before Sarge release.

HTH

				Grzegorz B. Prokopski

PS: For reference see also #414 at
 http://sources.redhat.com/cgi-bin/gnatsweb.pl?database=automake

-- 
Grzegorz B. Prokopski <gadek@debian.org>
Debian GNU/Linux      http://www.debian.org
SableVM - LGPLed JVM  http://www.sablevm.org
Why SableVM ?!?       http://devel.sablevm.org/wiki/WhySableVM

--=-DtaKrj20Hzh3SVTFznkw
Content-Disposition: attachment; filename=posix-tar-automake-fix.patch
Content-Type: text/x-patch; name=posix-tar-automake-fix.patch;
	charset=ISO-8859-2
Content-Transfer-Encoding: 7bit

--- ./distdir.am-orig	2004-03-19 21:47:57.000000000 -0500
+++ ./distdir.am	2004-03-19 22:27:41.000000000 -0500
@@ -221,13 +221,13 @@
 GZIP_ENV = --best
 .PHONY: dist-gzip
 dist-gzip: distdir
-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+	$(AMTAR) chf - $(distdir) --posix | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 	$(am__remove_distdir)
 
 if  %?BZIP2%
 .PHONY: dist-bzip2
 dist-bzip2: distdir
-	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
+	$(AMTAR) chf - $(distdir) --posix | bzip2 -9 -c >$(distdir).tar.bz2
 	$(am__remove_distdir)
 endif  %?BZIP2%
 
@@ -235,7 +235,7 @@
 if  %?COMPRESS%
 .PHONY: dist-tarZ
 dist-tarZ: distdir
-	$(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
+	$(AMTAR) chf - $(distdir) --posix | compress -c >$(distdir).tar.Z
 	$(am__remove_distdir)
 endif  %?COMPRESS%
 
@@ -271,9 +271,9 @@
 
 .PHONY: dist dist-all
 dist dist-all: distdir
-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-?BZIP2?	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
-?COMPRESS?	$(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
+	$(AMTAR) chf - $(distdir) --posix | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+?BZIP2?	$(AMTAR) chf - $(distdir) --posix | bzip2 -9 -c >$(distdir).tar.bz2
+?COMPRESS?	$(AMTAR) chf - $(distdir) --posix | compress -c >$(distdir).tar.Z
 ?SHAR?	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
 ?ZIP?	-rm -f $(distdir).zip
 ?ZIP?	zip -rq $(distdir).zip $(distdir)

--=-DtaKrj20Hzh3SVTFznkw--




From MAILER-DAEMON Sat Mar 20 01:02:48 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4ZZI-00020u-Jw
	for mharc-classpath@gnu.org; Sat, 20 Mar 2004 01:02:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4ZZG-00020B-4d
	for classpath@gnu.org; Sat, 20 Mar 2004 01:02:46 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4ZYj-0001i0-5b
	for classpath@gnu.org; Sat, 20 Mar 2004 01:02:45 -0500
Received: from [63.240.76.164] (helo=sccimhc02.asp.att.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4ZYi-0001hW-Uz
	for classpath@gnu.org; Sat, 20 Mar 2004 01:02:12 -0500
Received: from elma (12-222-155-71.client.insightbb.com[12.222.155.71])
	by sccimhc02.asp.att.net (sccimhc02) with ESMTP
	id <20040320060206im200bf1bqe>; Sat, 20 Mar 2004 06:02:06 +0000
From: Christian Grothoff <grothoff@cs.purdue.edu>
Organization: Purdue University, Department of Computer Science
To: classpath@gnu.org
Date: Sat, 20 Mar 2004 01:04:38 -0500
User-Agent: KMail/1.6.1
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Multipart/Mixed;
  boundary="Boundary-00=_279WASR8u2eP+NK"
Message-Id: <200403200104.38351.grothoff@cs.purdue.edu>
Subject: access modifier for FileDescriptor.setNativeFd(long)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Mar 2004 06:02:46 -0000


--Boundary-00=_279WASR8u2eP+NK
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi!

I'm currently porting parts of GNU classpath to OVM (http://www.ovmj.org).  In 
the process I hit a problem with the access modifier of 
FileDescriptor.setNativeFd(long).  In order to avoid having to set that field 
using reflection, I would need that method to be default (currently private). 

I believe that change is generally the right thing to do. First, a private 
accessor method makes little sense anyway.  Also, in a similar context the 
native_fd field in gnu.java.net.PlainSocketImpl is also package-scoped 
(default) (there is a tiny difference in that PlainSocketImpl does not use 
accessor methods, but I don't think it matters either way).

The (trivial) patch to make this happen is attached.

-Christian

--Boundary-00=_279WASR8u2eP+NK
Content-Type: text/x-diff; charset="us-ascii";
	name="package_scope_setNativeFD.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="package_scope_setNativeFD.patch"

Index: java/io/FileDescriptor.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/FileDescriptor.java,v
retrieving revision 1.20
diff -c -r1.20 FileDescriptor.java
*** java/io/FileDescriptor.java	25 Jan 2004 13:30:04 -0000	1.20
--- java/io/FileDescriptor.java	20 Mar 2004 04:41:35 -0000
***************
*** 388,394 ****
      return nativeFd;
    }
  
!   private void setNativeFd(long nativeFd)
    {
      this.nativeFd = nativeFd;
    }
--- 388,394 ----
      return nativeFd;
    }
  
!   final void setNativeFd(long nativeFd)
    {
      this.nativeFd = nativeFd;
    }

--Boundary-00=_279WASR8u2eP+NK--



From MAILER-DAEMON Sat Mar 20 03:57:15 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4cI7-0001lE-IM
	for mharc-classpath@gnu.org; Sat, 20 Mar 2004 03:57:15 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4cI2-0001et-U0
	for classpath@gnu.org; Sat, 20 Mar 2004 03:57:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4cHV-0001Pi-CY
	for classpath@gnu.org; Sat, 20 Mar 2004 03:57:09 -0500
Received: from [212.6.122.141] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4cHS-0001P6-Dp
	for classpath@gnu.org; Sat, 20 Mar 2004 03:56:34 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-211.ewetel.net
	[80.228.94.211])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i2K8uHqb012666;
	Sat, 20 Mar 2004 09:56:18 +0100 (MET)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B4cHB-0000He-00; Sat, 20 Mar 2004 09:56:17 +0100
From: Michael Koch <konqueror@gmx.de>
To: Christian Grothoff <grothoff@cs.purdue.edu>, classpath@gnu.org
Date: Sat, 20 Mar 2004 09:55:58 +0100
User-Agent: KMail/1.5.4
References: <200403200104.38351.grothoff@cs.purdue.edu>
In-Reply-To: <200403200104.38351.grothoff@cs.purdue.edu>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200403200956.00941.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail4.ewetel.de id
	i2K8uHqb012666
Cc: 
Subject: Re: access modifier for FileDescriptor.setNativeFd(long)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Mar 2004 08:57:12 -0000

Am Samstag, 20. M=E4rz 2004 07:04 schrieb Christian Grothoff:
> Hi!
>
> I'm currently porting parts of GNU classpath to OVM
> (http://www.ovmj.org).  In the process I hit a problem with the
> access modifier of
> FileDescriptor.setNativeFd(long).  In order to avoid having to set
> that field using reflection, I would need that method to be default
> (currently private).
>
> I believe that change is generally the right thing to do. First, a
> private accessor method makes little sense anyway.  Also, in a
> similar context the native_fd field in gnu.java.net.PlainSocketImpl
> is also package-scoped (default) (there is a tiny difference in that
> PlainSocketImpl does not use accessor methods, but I don't think it
> matters either way).

Well, the patch is fine in general but not needed. libgcj contains some=20
big improvements where all the native stuff on FileDescriptor gets=20
moved to FileChannelImpl (in java NIO). This is both, a cleanup and a=20
speed improvement (hopefully). There are some bugs that make in=20
uncompilable with jikes yet. When this is fixed I will merge this into=20
GNU classpath and all will get happy. I think this will be in next GNU=20
classpath release (0.09).

Thanks for your contribution. Unfortunately there is other work going=20
on.


Michael




From MAILER-DAEMON Sat Mar 20 18:10:13 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4pbZ-0005p5-2b
	for mharc-classpath@gnu.org; Sat, 20 Mar 2004 18:10:13 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4pbW-0005nH-AC
	for classpath@gnu.org; Sat, 20 Mar 2004 18:10:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4pay-0005c4-Nx
	for classpath@gnu.org; Sat, 20 Mar 2004 18:10:07 -0500
Received: from [219.160.177.9] (helo=asao.gcd.org)
	by monty-python.gnu.org with smtp (Exim 4.30) id 1B4pak-0005Uk-6u
	for classpath@gnu.org; Sat, 20 Mar 2004 18:09:22 -0500
Received: (qmail 2132 invoked by uid 10); 21 Mar 2004 08:09:13 +0900
Received: (qmail 814 invoked by uid 1000); 20 Mar 2004 23:05:26 -0000
Message-ID: <20040320230526.813.qmail@maczuka.gcd.org>
From: Ito Kazumitsu <kaz@maczuka.gcd.org>
To: classpath@gnu.org
In-reply-to: Your message of "Thu, 18 Mar 2004 07:50:23 JST"
References: <20040317225023.1999.qmail@maczuka.gcd.org>
User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.2
	(i386-unknown-freebsd4.7) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu")
Content-Type: text/plain; charset=US-ASCII
Date: Sun, 21 Mar 2004 08:05:25 +0900
Sender: kaz@maczuka.gcd.org
Subject: Re: Sockets remain unclosed
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Mar 2004 23:10:11 -0000

Sorry, I made a mistake.

>>>>> ":" == Ito Kazumitsu <kaz@maczuka.gcd.org> writes:

:> -    implAccept (socket);
:> +    try
:> +      {
:> +        implAccept (socket);
:> +      }
:> +    catch (IOException e)
:> +      {
:> +	try
:> +	  {
:> +	    socket.close ();
:> +	  }
:> +	catch (IOException e)
                           ^ Please change the name to e2.
:> +	  {
:> +	  }
:> +	throw e;
:> +      }
:>      return socket;
:>    }



From MAILER-DAEMON Sat Mar 20 18:22:29 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4pnR-0002Kt-5K
	for mharc-classpath@gnu.org; Sat, 20 Mar 2004 18:22:29 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4pnP-0002Kj-LZ
	for classpath@gnu.org; Sat, 20 Mar 2004 18:22:27 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4pmt-0002D9-2H
	for classpath@gnu.org; Sat, 20 Mar 2004 18:22:26 -0500
Received: from [219.160.177.9] (helo=asao.gcd.org)
	by monty-python.gnu.org with smtp (Exim 4.30) id 1B4pms-0002D2-Br
	for classpath@gnu.org; Sat, 20 Mar 2004 18:21:54 -0500
Received: (qmail 2915 invoked by uid 10); 21 Mar 2004 08:21:48 +0900
Received: (qmail 939 invoked by uid 1000); 20 Mar 2004 23:21:40 -0000
Message-ID: <20040320232139.938.qmail@maczuka.gcd.org>
From: Ito Kazumitsu <kaz@maczuka.gcd.org>
To: classpath@gnu.org
User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.2
	(i386-unknown-freebsd4.7) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu")
Content-Type: text/plain; charset=US-ASCII
Date: Sun, 21 Mar 2004 08:21:39 +0900
Sender: kaz@maczuka.gcd.org
Subject: java.util.Properties#load: Whitespaces before comment characters
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Mar 2004 23:22:28 -0000

With reference to java.util.Properties#load, Sun's API document says
"A comment line has an ASCII '#' or '!' as its first non-white space
character;" but GNU Classpath's java.util.Properties checkes only
comment characters at the beginning of ach line.

Here is a patch I comitted in Kaffe.

ChangeLog Entry:
2004-03-19  Ito Kazumitsu <kaz@maczuka.gcd.org>

        * libraries/javalib/java/util/Properties
        (load): Delete leading whiltespaces before checking comment characters.

--- java/util/Properties.java.orig	Thu Mar 18 01:11:02 2004
+++ java/util/Properties.java	Sun Mar 21 07:20:39 2004
@@ -188,17 +188,14 @@
       {
         char c = 0;
         int pos = 0;
-        // If empty line or begins with a comment character, skip this line.
-        if (line.length() == 0
-	    || line.charAt(0) == '#' || line.charAt(0) == '!')
-          continue;
-
+	// Leading whitespaces must be deleted first.
         while (pos < line.length()
                && Character.isWhitespace(c = line.charAt(pos)))
           pos++;
 
-        // If line is empty skip this line.
-        if (pos == line.length())
+        // If empty line or begins with a comment character, skip this line.
+        if ((line.length() - pos) == 0
+	    || line.charAt(pos) == '#' || line.charAt(pos) == '!')
           continue;
 
         // The characters up to the next Whitespace, ':', or '='



From MAILER-DAEMON Sun Mar 21 05:14:43 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B4zyc-00056N-T0
	for mharc-classpath@gnu.org; Sun, 21 Mar 2004 05:14:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B4zyZ-00055v-Uc
	for classpath@gnu.org; Sun, 21 Mar 2004 05:14:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B4zy3-0004sy-Ex
	for classpath@gnu.org; Sun, 21 Mar 2004 05:14:38 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4zy2-0004s3-P8
	for classpath@gnu.org; Sun, 21 Mar 2004 05:14:06 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2L9tGKv007135;
	Sun, 21 Mar 2004 04:55:16 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032104562510718 ; Sun, 21 Mar 2004 04:56:25 -0500
Received: from 180.30.internet.uqam.ca (180.30.internet.uqam.ca
	[132.208.30.180])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2L9r89H003496; Sun, 21 Mar 2004 04:53:08 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: SableVM-devel ML <sablevm-developer@lists.sourceforge.net>,
	GNU Classpath <classpath@gnu.org>
Content-Type: text/plain
Organization: Debian GNU/Linux http://www.debian.org
Message-Id: <1079862783.1979.21.camel@gadek.homelinux.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 21 Mar 2004 04:53:06 -0500
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Starting to swing... [screenshots]
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2004 10:14:40 -0000

Hi all,

I just wanted to share this little happiness with you. The swing code
merged recently from GCJ into GNU Classpath by Michael found its way
into SableVM's "vendor" branch (thanks to Etienne) and I just merged
it on my disk w/ our "staging" version (not yet comitted).

Maybe it's not able yet to run serious Swing apps, but the progress is
very visible. Here you'll find a few screenshots I took while testing
this new version.

	http://gadek.debian.net/swing

Good work, guys!

					Grzegorz B. Prokopski

-- 
Grzegorz B. Prokopski <gadek@debian.org>
Debian GNU/Linux      http://www.debian.org
SableVM - LGPLed JVM  http://www.sablevm.org
Why SableVM ?!?       http://devel.sablevm.org/wiki/WhySableVM




From MAILER-DAEMON Sun Mar 21 05:48:55 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B50Vj-0008FE-9F
	for mharc-classpath@gnu.org; Sun, 21 Mar 2004 05:48:55 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B50Vg-0008Et-6r
	for classpath@gnu.org; Sun, 21 Mar 2004 05:48:52 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B50VA-0007ee-FS
	for classpath@gnu.org; Sun, 21 Mar 2004 05:48:51 -0500
Received: from [212.6.122.141] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B50V9-0007eS-Vn
	for classpath@gnu.org; Sun, 21 Mar 2004 05:48:20 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-172.ewetel.net
	[80.228.94.172])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i2LAldqb019155;
	Sun, 21 Mar 2004 11:47:42 +0100 (MET)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B50UV-0001oQ-00; Sun, 21 Mar 2004 11:47:39 +0100
From: Michael Koch <konqueror@gmx.de>
To: Ito Kazumitsu <kaz@maczuka.gcd.org>, classpath@gnu.org
Date: Sun, 21 Mar 2004 11:47:25 +0100
User-Agent: KMail/1.5.4
References: <20040317225023.1999.qmail@maczuka.gcd.org>
	<20040320230526.813.qmail@maczuka.gcd.org>
In-Reply-To: <20040320230526.813.qmail@maczuka.gcd.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200403211147.25934.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail4.ewetel.de id
	i2LAldqb019155
Cc: 
Subject: Re: Sockets remain unclosed
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2004 10:48:53 -0000

Am Sonntag, 21. M=E4rz 2004 00:05 schrieb Ito Kazumitsu:
> Sorry, I made a mistake.
>
> >>>>> ":" =3D=3D Ito Kazumitsu <kaz@maczuka.gcd.org> writes:
> :>
> :> -    implAccept (socket);
> :> +    try
> :> +      {
> :> +        implAccept (socket);
> :> +      }
> :> +    catch (IOException e)
> :> +      {
> :> +	try
> :> +	  {
> :> +	    socket.close ();
> :> +	  }
> :> +	catch (IOException e)
>
>                            ^ Please change the name to e2.
>
> :> +	  {
> :> +	  }
> :> +	throw e;
> :> +      }
> :>      return socket;
> :>    }

I commited it to GNU classpath for you and I'm going to commit to libgcj=20
now too.


Michael




From MAILER-DAEMON Sun Mar 21 09:50:55 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B54Hu-0002TU-UN
	for mharc-classpath@gnu.org; Sun, 21 Mar 2004 09:50:54 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B54Hr-0002SI-44
	for classpath@gnu.org; Sun, 21 Mar 2004 09:50:51 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B54HH-0002Mi-0u
	for classpath@gnu.org; Sun, 21 Mar 2004 09:50:46 -0500
Received: from [209.100.227.1] (helo=e4500.ripco.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B54HG-0002MU-4g
	for classpath@gnu.org; Sun, 21 Mar 2004 09:50:14 -0500
Received: from shell2.ripco.com (root@shell2.ripco.com [209.100.225.144])
	by e4500.ripco.com (8.12.10/8.12.9) with ESMTP id i2LEmW1r016996;
	Sun, 21 Mar 2004 08:48:32 -0600 (CST)
Received: from shell2.ripco.com (arenn@localhost [127.0.0.1])
	by shell2.ripco.com (8.12.9/8.12.9) with ESMTP id i2LEo7IZ022792;
	Sun, 21 Mar 2004 08:50:07 -0600 (CST)
Received: (from arenn@localhost)
	by shell2.ripco.com (8.12.9/8.12.9/Submit) id i2LEo6Dp022791;
	Sun, 21 Mar 2004 08:50:06 -0600 (CST)
Date: Sun, 21 Mar 2004 08:50:06 -0600
From: "Aaron M. Renn" <arenn@urbanophile.com>
To: "Grzegorz B. Prokopski" <gadek@debian.org>
Message-ID: <20040321085006.A22782@urbanophile.com>
Mail-Followup-To: "Aaron M. Renn" <arenn@urbanophile.com>,
	"Grzegorz B. Prokopski" <gadek@debian.org>,
	SableVM-devel ML <sablevm-developer@lists.sourceforge.net>,
	GNU Classpath <classpath@gnu.org>
References: <1079862783.1979.21.camel@gadek.homelinux.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <1079862783.1979.21.camel@gadek.homelinux.org>;
	from gadek@debian.org on Sun, Mar 21, 2004 at 04:53:06AM -0500
Organization: GNU's Not Unix!
Cc: SableVM-devel ML <sablevm-developer@lists.sourceforge.net>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Starting to swing... [screenshots]
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2004 14:50:52 -0000

Grzegorz B. Prokopski (gadek@debian.org) wrote:
> Maybe it's not able yet to run serious Swing apps, but the progress is
> very visible. Here you'll find a few screenshots I took while testing
> this new version.

Can I just say "Wow!"?  That is super cool.  It's fantastic to see
actual Swing screens.

-- 
Aaron M. Renn (arenn@urbanophile.com) http://www.urbanophile.com/arenn/




From MAILER-DAEMON Sun Mar 21 16:07:13 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5AA4-0002rA-PX
	for mharc-classpath@gnu.org; Sun, 21 Mar 2004 16:07:12 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5AA2-0002qt-IH
	for classpath@gnu.org; Sun, 21 Mar 2004 16:07:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5A9W-0002gY-N6
	for classpath@gnu.org; Sun, 21 Mar 2004 16:07:09 -0500
Received: from [167.206.5.70] (helo=mta4.srv.hcvlny.cv.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5A9W-0002gP-Ej
	for classpath@gnu.org; Sun, 21 Mar 2004 16:06:38 -0500
Received: from arcadia.augart.com
	(ool-182ca563.dyn.optonline.net [24.44.165.99]) by
	mta4.srv.hcvlny.cv.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	with ESMTP id <0HUY001SQ2MYSP@mta4.srv.hcvlny.cv.net> for
	classpath@gnu.org; Sun, 21 Mar 2004 16:06:34 -0500 (EST)
Received: by arcadia.augart.com
	(Postfix on SuSE Linux 8.0 (i386), from userid 500)	id 11636AB8E; Sun,
	21 Mar 2004 16:06:32 -0500 (EST)
Date: Sun, 21 Mar 2004 16:06:32 -0500 (EST)
From: Steven Augart <augart@watson.ibm.com>
To: classpath@gnu.org, kaffe@kaffe.org
Message-id: <20040321210632.11636AB8E@arcadia.augart.com>
Content-transfer-encoding: 7BIT
Cc: 
Subject: Jikes RVM is now fully free software
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2004 21:07:11 -0000

Jikes RVM, which formerly required a proprietary (Sun) JVM to write
out the boot image, no longer needs that proprietary VM.  You can now
use Kaffe to write out the Jikes RVM boot image.  Those who want to
use only free software tools can now build and work with Jikes RVM.

That code is now in the CVS head.  You can read about how to use it by
starting at
http://www.ibm.com/developerworks/oss/jikesrvm/userguide/HTML/Bootstrapping_with_Kaffe.html

I am very interested in feedback from the community on this, as well
as bug fixes and patches.  Please CC me directly on any comments you
send to the Jikes RVM mailing lists for the next couple of days, as
oss.software.ibm.com is still recovering from hardware trouble.

I want to thank Dalibor Topic for his quick responses to my questions
about Kaffe, and Grzegorz Prokopski and Mark Wielaard for their moral
support, encouragement, and perspective.

--Steve Augart



From MAILER-DAEMON Sun Mar 21 17:35:40 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5BXg-00053B-Cn
	for mharc-classpath@gnu.org; Sun, 21 Mar 2004 17:35:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5BXd-00052P-2H
	for classpath@gnu.org; Sun, 21 Mar 2004 17:35:37 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5BX5-0004rg-Iu
	for classpath@gnu.org; Sun, 21 Mar 2004 17:35:35 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B5BX4-0004ol-Ma
	for classpath@gnu.org; Sun, 21 Mar 2004 17:35:02 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2LMXhpd005721;
	Mon, 22 Mar 2004 09:33:45 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>, "Andrew Haley" <aph@redhat.com>
Date: Mon, 22 Mar 2004 08:33:48 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMEFCDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADB44@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Use of VMSecurityManager.getClassContext()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2004 22:35:37 -0000

> Jeroen Frijters writes
> I don't see how. My desire to have a getCallerClass is because I want to
> be able to support method inlining properly. If the JIT knows about
> getCallerClass, it can do the right thing. The generalization is not
> inline proof.

I'd still prefer the more general approach - but I don't presently have an
example of where I actually need it. So maybe getCallerClass will suffice.

David Holmes




From MAILER-DAEMON Sun Mar 21 17:47:31 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5Bj9-0001tT-Cm
	for mharc-classpath@gnu.org; Sun, 21 Mar 2004 17:47:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5Bj6-0001tA-Ok
	for classpath@gnu.org; Sun, 21 Mar 2004 17:47:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5Bia-0001nZ-TR
	for classpath@gnu.org; Sun, 21 Mar 2004 17:47:27 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B5Bia-0001nA-7b
	for classpath@gnu.org; Sun, 21 Mar 2004 17:46:56 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2LMi9pd014545;
	Mon, 22 Mar 2004 09:44:10 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Steven Augart" <augart@watson.ibm.com>
Date: Mon, 22 Mar 2004 08:44:13 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCKEFDDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <405AF7AD.70900@watson.ibm.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Object.getClass() (was: Re: Vmxxx method vs. native method)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2004 22:47:29 -0000

Steven Augart wrote:
> If Object.getClass() were to forward to VMObject then I could probably
>   quickly implement VMObject in Jikes RVM and be done with yet another
> private version of an important system class.  We have a Java
> implementation of Object.getClass(), so native is not appropriate for
> our system.

That's two in favour and this is in-line with the intent, so all we need is
someone who can actually make the change. Should take all of 30 seconds :)

David Holmes




From MAILER-DAEMON Sun Mar 21 18:26:51 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5CLD-0003xb-29
	for mharc-classpath@gnu.org; Sun, 21 Mar 2004 18:26:51 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5CLA-0003xP-7w
	for classpath@gnu.org; Sun, 21 Mar 2004 18:26:48 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5CKe-0003ts-5f
	for classpath@gnu.org; Sun, 21 Mar 2004 18:26:47 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B5CKb-0003sr-Go
	for classpath@gnu.org; Sun, 21 Mar 2004 18:26:13 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2LNMdpd047325;
	Mon, 22 Mar 2004 10:22:41 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Chris Gray" <chris@kiffer.eunet.be>, "Sascha Brawer" <brawer@dandelis.ch>,
	"Andrew Haley" <aph@redhat.com>
Date: Mon, 22 Mar 2004 09:22:43 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCIEFEDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <200403191559.i2JFx4Gf069072@pigsty.cats.cradle>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2004 23:26:48 -0000

Chris Gray wrote:
> On Friday 19 March 2004 15:32, Sascha Brawer wrote:
> > I've tried to call ClassLoader.findLoadedClass on the initiating loader,
> > but it contrast to what Sun's Javadoc says, it returns null both on the
> > JDK 1.4.1 and on JamVM.
>
> Hm, that's interesting. I would expect Wonka to return the same non-null
> result (C.class) for each of L1, L2, L3 in my example.  If L1 and
> L2 were to return null then the standard loadClass() logic will still
> work(*), but it could make a difference to a user-defined class loader.
>
> (*) If L1 or L2 were asked to load C a second time, then they
> should see in step 1 that they already loaded a class with this
> name. But if findLoadedClass() returns null they will both delegate
> to L3, and presumably L3's findLoadedClass() will return C.class,
> so no harm is done - it's just not what the spec says.

>From what I've read, the specification of findLoadedClass and definition of
the class cache in terms of an initiating classloader, are intended to
prevent a malicious classloader from breaking the lookup process. If each
classloader delegates correctly to its parent then there is, as you say, no
harm. However, if the parent does not play nicely then different class
instances could be returned.

This seems like a bug in the JDK implementation of findLoadedClass.

David Holmes




From MAILER-DAEMON Mon Mar 22 03:29:25 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5Kb2-00012g-Vy
	for mharc-classpath@gnu.org; Mon, 22 Mar 2004 03:15:44 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5Ka4-0000rr-H7
	for classpath@gnu.org; Mon, 22 Mar 2004 03:14:44 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5KZV-0000dR-17
	for classpath@gnu.org; Mon, 22 Mar 2004 03:14:41 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5KZU-0000dC-CY
	for classpath@gnu.org; Mon, 22 Mar 2004 03:14:08 -0500
Received: from [217.8.197.76] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1340155; Mon, 22 Mar 2004 09:14:04 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: David Holmes <dholmes@dltech.com.au>, Chris Gray
	<chris@kiffer.eunet.be>, Andrew Haley <aph@redhat.com>
Date: Mon, 22 Mar 2004 09:13:59 +0100
Message-Id: <20040322081359.4021@smtp.mail.ch.easynet.net>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCIEFEDPAA.dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCIEFEDPAA.dholmes@dltech.com.au>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="==_20040322081359.19043-1_=="
Cc: GNU Classpath <classpath@gnu.org>, mauve-discuss@sources.redhat.com
Subject: ClassLoader.findLoadedClass (was: ServiceFactory)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2004 08:14:49 -0000
X-List-Received-Date: Mon, 22 Mar 2004 08:14:49 -0000

--==_20040322081359.19043-1_==
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

David Holmes <dholmes@dltech.com.au> wrote on Mon, 22 Mar 2004 09:22:43 +1000:

>From what I've read, the specification of findLoadedClass and definition of
>the class cache in terms of an initiating classloader, are intended to
>prevent a malicious classloader from breaking the lookup process. If each
>classloader delegates correctly to its parent then there is, as you say, no
>harm. However, if the parent does not play nicely then different class
>instances could be returned.
>
>This seems like a bug in the JDK implementation of findLoadedClass.

Please find attached a testcase for Mauve (put the two files into gnu/
testlet/java/lang/ClassLoader).

My understanding of the API spec [1] is that on line 51 of the testlet,
the result of calling findLoadedClass should be 'klass' because 'loader'
is an initiating loader for "gnu.testlet.java.lang.ClassLoader.TestClass". 

[1] http://java.sun.com/j2se/1.5.0/docs/api/java/lang/
ClassLoader.html#findLoadedClass(java.lang.String)

On JDK 1.4.1_01, the testlet fails because the result returns null. Same
for JamVM, which is based on Classpath.

If people agree that both the JDK and the Classpath-based VMs are buggy,
I'd commit the test case into Mauve and file bug reports with Classpath
and Sun.

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 

--==_20040322081359.19043-1_==
Content-Type: multipart/mixed; boundary="==_20040322081359.19043-2_=="

--==_20040322081359.19043-2_==
Content-Type: text/plain; name="TestClass.java"; x-mac-type="00000000";
	x-mac-creator="00000000"
Content-Disposition: attachment
Content-Transfer-Encoding: base64

Ly8gVGFnczogbm90LWEtdGVzdAoKLy8gQ29weXJpZ2h0IChDKSAyMDA0IFNhc2NoYSBCcmF3
ZXIgPGJyYXdlckBkYW5kZWxpcy5jaD4KCi8vIFRoaXMgZmlsZSBpcyBwYXJ0IG9mIE1hdXZl
LgoKLy8gTWF1dmUgaXMgZnJlZSBzb2Z0d2FyZTsgeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQg
YW5kL29yIG1vZGlmeQovLyBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFs
IFB1YmxpYyBMaWNlbnNlIGFzIHB1Ymxpc2hlZCBieQovLyB0aGUgRnJlZSBTb2Z0d2FyZSBG
b3VuZGF0aW9uOyBlaXRoZXIgdmVyc2lvbiAyLCBvciAoYXQgeW91ciBvcHRpb24pCi8vIGFu
eSBsYXRlciB2ZXJzaW9uLgoKLy8gTWF1dmUgaXMgZGlzdHJpYnV0ZWQgaW4gdGhlIGhvcGUg
dGhhdCBpdCB3aWxsIGJlIHVzZWZ1bCwKLy8gYnV0IFdJVEhPVVQgQU5ZIFdBUlJBTlRZOyB3
aXRob3V0IGV2ZW4gdGhlIGltcGxpZWQgd2FycmFudHkgb2YKLy8gTUVSQ0hBTlRBQklMSVRZ
IG9yIEZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFLiAgU2VlIHRoZQovLyBHTlUg
R2VuZXJhbCBQdWJsaWMgTGljZW5zZSBmb3IgbW9yZSBkZXRhaWxzLgoKLy8gWW91IHNob3Vs
ZCBoYXZlIHJlY2VpdmVkIGEgY29weSBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vu
c2UKLy8gYWxvbmcgd2l0aCBNYXV2ZTsgc2VlIHRoZSBmaWxlIENPUFlJTkcuICBJZiBub3Qs
IHdyaXRlIHRvCi8vIHRoZSBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb24sIDU5IFRlbXBsZSBQ
bGFjZSAtIFN1aXRlIDMzMCwKLy8gQm9zdG9uLCBNQSAwMjExMS0xMzA3LCBVU0EuCgpwYWNr
YWdlIGdudS50ZXN0bGV0LmphdmEubGFuZy5DbGFzc0xvYWRlcjsKCi8qKgogKiBVc2VkIGJ5
IGdudS50ZXN0bGV0LmphdmEubGFuZy5DbGFzc0xvYWRlci5maW5kTG9hZGVkQ2xhc3MuCiAq
LwpwdWJsaWMgY2xhc3MgVGVzdENsYXNzCnsKfQo=
--==_20040322081359.19043-2_==
Content-Type: text/plain; name="findLoadedClass.java";
	x-mac-type="00000000"; x-mac-creator="00000000"
Content-Disposition: attachment
Content-Transfer-Encoding: base64

Ly8gVGFnczogSkRLMS4yCi8vIFVzZXM6IFRlc3RDbGFzcwoKLy8gQ29weXJpZ2h0IChDKSAy
MDA0IFNhc2NoYSBCcmF3ZXIgPGJyYXdlckBkYW5kZWxpcy5jaD4KCi8vIFRoaXMgZmlsZSBp
cyBwYXJ0IG9mIE1hdXZlLgoKLy8gTWF1dmUgaXMgZnJlZSBzb2Z0d2FyZTsgeW91IGNhbiBy
ZWRpc3RyaWJ1dGUgaXQgYW5kL29yIG1vZGlmeQovLyBpdCB1bmRlciB0aGUgdGVybXMgb2Yg
dGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGFzIHB1Ymxpc2hlZCBieQovLyB0aGUg
RnJlZSBTb2Z0d2FyZSBGb3VuZGF0aW9uOyBlaXRoZXIgdmVyc2lvbiAyLCBvciAoYXQgeW91
ciBvcHRpb24pCi8vIGFueSBsYXRlciB2ZXJzaW9uLgoKLy8gTWF1dmUgaXMgZGlzdHJpYnV0
ZWQgaW4gdGhlIGhvcGUgdGhhdCBpdCB3aWxsIGJlIHVzZWZ1bCwKLy8gYnV0IFdJVEhPVVQg
QU5ZIFdBUlJBTlRZOyB3aXRob3V0IGV2ZW4gdGhlIGltcGxpZWQgd2FycmFudHkgb2YKLy8g
TUVSQ0hBTlRBQklMSVRZIG9yIEZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFLiAg
U2VlIHRoZQovLyBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSBmb3IgbW9yZSBkZXRhaWxz
LgoKLy8gWW91IHNob3VsZCBoYXZlIHJlY2VpdmVkIGEgY29weSBvZiB0aGUgR05VIEdlbmVy
YWwgUHVibGljIExpY2Vuc2UKLy8gYWxvbmcgd2l0aCBNYXV2ZTsgc2VlIHRoZSBmaWxlIENP
UFlJTkcuICBJZiBub3QsIHdyaXRlIHRvCi8vIHRoZSBGcmVlIFNvZnR3YXJlIEZvdW5kYXRp
b24sIDU5IFRlbXBsZSBQbGFjZSAtIFN1aXRlIDMzMCwKLy8gQm9zdG9uLCBNQSAwMjExMS0x
MzA3LCBVU0EuCgpwYWNrYWdlIGdudS50ZXN0bGV0LmphdmEubGFuZy5DbGFzc0xvYWRlcjsK
CmltcG9ydCBnbnUudGVzdGxldC5UZXN0bGV0OwppbXBvcnQgZ251LnRlc3RsZXQuVGVzdEhh
cm5lc3M7CgoKLyoqCiAqIEBhdXRob3IgPGEgaHJlZj0ibWFpbHRvOmJyYXdlckBkYW5kZWxp
cy5jaCI+U2FzY2hhIEJyYXdlcjwvYT4KICovCnB1YmxpYyBjbGFzcyBmaW5kTG9hZGVkQ2xh
c3MKICBpbXBsZW1lbnRzIFRlc3RsZXQKewogIHB1YmxpYyB2b2lkIHRlc3QoVGVzdEhhcm5l
c3MgaCkKICB7CiAgICBDdXN0b21DbGFzc0xvYWRlciBsb2FkZXI7CiAgICBTdHJpbmcgbmFt
ZTsKICAgIENsYXNzIGtsYXNzOwoKICAgIC8vIENoZWNrICMxOiBBc2sgYSBDbGFzc0xvYWRl
ciB0byBsb2FkIGEgY2xhc3MsIHRoZW4gY2hlY2sKICAgIC8vIHdoZXRoZXIgaXRzIGZpbmRM
b2FkZWRDbGFzcyBtZXRob2QgcmV0dXJucyBpdC4KICAgIC8vCiAgICAvLyBGYWlscyB3aXRo
IEpESyAxLjQuMV8wMSAoZm9yIEdOVS9MaW51eCBvbiBJQS0zMikgYmVjYXVzZQogICAgLy8g
aXRzIENsYXNzTG9hZGVyLmZpbmRMb2FkZWRDbGFzcyByZXR1cm5zIG51bGwgaGVyZS4KICAg
IGxvYWRlciA9IG5ldyBDdXN0b21DbGFzc0xvYWRlcigpOwogICAgbmFtZSA9ICJnbnUudGVz
dGxldC5qYXZhLmxhbmcuQ2xhc3NMb2FkZXIuVGVzdENsYXNzIjsKICAgIHRyeQogICAgICB7
CiAgICAgICAga2xhc3MgPSBsb2FkZXIubG9hZENsYXNzKG5hbWUpOwogICAgICAgIGguY2hl
Y2sobG9hZGVyLmNhbGxGaW5kTG9hZGVkQ2xhc3MobmFtZSksIGtsYXNzKTsKICAgICAgfQog
ICAgY2F0Y2ggKENsYXNzTm90Rm91bmRFeGNlcHRpb24gY25mZXgpCiAgICAgIHsKICAgICAg
ICBoLmNoZWNrKGZhbHNlKTsKICAgICAgICBoLmRlYnVnKGNuZmV4KTsKICAgICAgfQogIH0K
CiAgCiAgcHJpdmF0ZSBzdGF0aWMgY2xhc3MgQ3VzdG9tQ2xhc3NMb2FkZXIKICAgIGV4dGVu
ZHMgQ2xhc3NMb2FkZXIKICB7CiAgICAvKioKICAgICAqIFJldHVybnMgdGhlIHJlc3VsdCBv
ZiBjYWxsaW5nIHRoZSBwcm90ZWN0ZWQgbWV0aG9kIHtAbGluawogICAgICogQ2xhc3NMb2Fk
ZXIjZmluZExvYWRlZENsYXNzfS4KICAgICAqLwogICAgcHVibGljIENsYXNzIGNhbGxGaW5k
TG9hZGVkQ2xhc3MoU3RyaW5nIG5hbWUpCiAgICB7CiAgICAgIHJldHVybiBmaW5kTG9hZGVk
Q2xhc3MobmFtZSk7CiAgICB9CiAgfQp9Cg==
--==_20040322081359.19043-2_==--
--==_20040322081359.19043-1_==--




From MAILER-DAEMON Mon Mar 22 04:01:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5LJG-0004To-Gf
	for mharc-classpath@gnu.org; Mon, 22 Mar 2004 04:01:26 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5LJ2-0004RH-AK
	for classpath@gnu.org; Mon, 22 Mar 2004 04:01:12 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5LIU-0004It-Mi
	for classpath@gnu.org; Mon, 22 Mar 2004 04:01:11 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5LIU-0004IN-0P
	for classpath@gnu.org; Mon, 22 Mar 2004 04:00:38 -0500
Received: from [217.8.197.76] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1341482 for classpath@gnu.org;
	Mon, 22 Mar 2004 10:00:31 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Mon, 22 Mar 2004 10:00:27 +0100
Message-Id: <20040322090027.17466@smtp.mail.ch.easynet.net>
In-Reply-To: <20040319110555.31552@smtp.mail.ch.easynet.net>
References: <20040319110555.31552@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2004 09:01:13 -0000

Sascha Brawer <brawer@dandelis.ch> wrote on Fri, 19 Mar 2004 12:05:55 +0100:

> [loading service providers from "META-INF/services/*" in external JARs] 
>2. Which namespace?
>3. The unit tests (see attached ForMauve.tar.gz) run checks on
>gnu.classpath.ServiceFactory. This seems a bit unclean, since Mauve was
>once meant to be independent of Classpath. A possibility would be to
>change the tests so that they check the public API
>javax.imageio.spi.ServiceRegistry.lookupProviders

Since there seem to be no objects with respect to the gnu.classpath
namespace, I'll commit gnu.classpath.ServiceFactory this Wednesday.

The Mauve tests, which I'll also commit on Wednesday, will run checks on
the public API javax.imageio.spi.ServiceRegistry.lookupProviders, not on
something specific to Classpath. Thus, I'll also commit a mostly stubbed
javax.imageio.spi.ServiceRegistry, whose only implemented method will be
lookupProviders.

Please tell me by Tuesday in case you don't agree.

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 





From MAILER-DAEMON Mon Mar 22 04:04:08 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5LLs-00054M-1a
	for mharc-classpath@gnu.org; Mon, 22 Mar 2004 04:04:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5LLn-00052T-P3
	for classpath@gnu.org; Mon, 22 Mar 2004 04:04:03 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5LL4-0004ut-U1
	for classpath@gnu.org; Mon, 22 Mar 2004 04:03:50 -0500
Received: from [64.4.37.125] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5LL4-0004u8-GE
	for classpath@gnu.org; Mon, 22 Mar 2004 04:03:18 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Mon, 22 Mar 2004 01:03:12 -0800
Received: from 80.177.127.218 by by10fd.bay10.hotmail.msn.com with HTTP;
	Mon, 22 Mar 2004 09:03:12 GMT
X-Originating-IP: [80.177.127.218]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: dholmes@dltech.com.au, chris@kiffer.eunet.be, brawer@dandelis.ch,
	aph@redhat.com
Bcc: 
Date: Mon, 22 Mar 2004 09:03:12 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY10-F125NMuQppMBn00007925@hotmail.com>
X-OriginalArrivalTime: 22 Mar 2004 09:03:12.0466 (UTC)
	FILETIME=[81076320:01C40FEC]
Cc: classpath@gnu.org
Subject: RE: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2004 09:04:05 -0000

If you look at Classpath's code, you'll see that findLoadedClass checks the 
loaders cache.  However, a class is only added to it when the class loader 
defines it.  As loadClass (correctly) tries to delegate before trying to 
find the class itself, a class will never be added to this loaders' cache if 
it was loaded by a parent.  This means JamVMs behaviour is correct -- 
findLoadedClass will return null, as C was delegated to, and loaded by L3.

To get the behaviour you expect loadClass would have to add delegated 
classes to the cache as well.  However, I believe Classpath's behaviour is 
correct and not a mistake in Classpath.

There are two ways a class can be loaded by  a class loader.  Explicitly by 
calling loadClass and implicitly by the VM when encountering a symbolic 
class reference that must be resolved -- the VM mustt call loadClass on the 
class loader that defined the current class (unless the VM can tell it's 
already an initiator for that class).  In this case the VM must record the 
loader as an initiating loader, even if the class is defined by somebody 
else.  However, in the explicit case, the initiator has been lost -- 
defineClass only has the defining loader, and we don't have an "add 
initiating loader" call for use when we unwind.  Even if findLoadedClass was 
native so it could use the VM class cache, the VM wouldn't know that, using 
your example, L1 initiated the load and would return null.

Rob.

----Original Message Follows----
From: "David Holmes" <dholmes@dltech.com.au>
To: "Chris Gray" <chris@kiffer.eunet.be>, "Sascha Brawer" 
<brawer@dandelis.ch>,"Andrew Haley" <aph@redhat.com>
CC: GNU Classpath <classpath@gnu.org>
Subject: RE: ServiceFactory
Date: Mon, 22 Mar 2004 09:22:43 +1000

Chris Gray wrote:
 > On Friday 19 March 2004 15:32, Sascha Brawer wrote:
 > > I've tried to call ClassLoader.findLoadedClass on the initiating 
loader,
 > > but it contrast to what Sun's Javadoc says, it returns null both on the
 > > JDK 1.4.1 and on JamVM.
 >
 > Hm, that's interesting. I would expect Wonka to return the same non-null
 > result (C.class) for each of L1, L2, L3 in my example.  If L1 and
 > L2 were to return null then the standard loadClass() logic will still
 > work(*), but it could make a difference to a user-defined class loader.
 >
 > (*) If L1 or L2 were asked to load C a second time, then they
 > should see in step 1 that they already loaded a class with this
 > name. But if findLoadedClass() returns null they will both delegate
 > to L3, and presumably L3's findLoadedClass() will return C.class,
 > so no harm is done - it's just not what the spec says.

 >From what I've read, the specification of findLoadedClass and definition 
of
the class cache in terms of an initiating classloader, are intended to
prevent a malicious classloader from breaking the lookup process. If each
classloader delegates correctly to its parent then there is, as you say, no
harm. However, if the parent does not play nicely then different class
instances could be returned.

This seems like a bug in the JDK implementation of findLoadedClass.

David Holmes



_______________________________________________
Classpath mailing list
Classpath@gnu.org
http://mail.gnu.org/mailman/listinfo/classpath

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo




From MAILER-DAEMON Mon Mar 22 04:16:44 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5LY3-0007aZ-V1
	for mharc-classpath@gnu.org; Mon, 22 Mar 2004 04:16:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5LXz-0007Z6-Fm
	for classpath@gnu.org; Mon, 22 Mar 2004 04:16:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5LXR-0007Nt-4C
	for classpath@gnu.org; Mon, 22 Mar 2004 04:16:37 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5LXQ-0007NB-M1
	for classpath@gnu.org; Mon, 22 Mar 2004 04:16:04 -0500
Received: from [217.8.197.76] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1341934; Mon, 22 Mar 2004 10:15:59 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: David Holmes <dholmes@dltech.com.au>, Chris Gray
	<chris@kiffer.eunet.be>, Andrew Haley <aph@redhat.com>, Robert Lougher
	<robert_lougher@hotmail.com>
Date: Mon, 22 Mar 2004 10:15:54 +0100
Message-Id: <20040322091554.32760@smtp.mail.ch.easynet.net>
In-Reply-To: <20040322081359.4021@smtp.mail.ch.easynet.net>
References: <20040322081359.4021@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: GNU Classpath <classpath@gnu.org>, mauve-discuss@sources.redhat.com
Subject: Re: ClassLoader.findLoadedClass (was: ServiceFactory)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2004 09:16:41 -0000

Robert Lougher <robert=5Flougher@hotmail.com> wrote on Mon, 22 Mar 2004 =
09:
03:12 +0000:

>However, in the explicit case, the initiator has been lost -- 
>defineClass only has the defining loader, and we don't have an "add 
>initiating loader" call for use when we unwind.  Even if findLoadedClas=
s was 
>native so it could use the VM class cache, the VM wouldn't know that, u=
sing 
>your example, L1 initiated the load and would return null.

Does this mean that the API specification for ClassLoader.findLoadedClas=
s
is incorrect=3F Or should it say that a VM may or may not record the fac=
t that
some ClassLoader has initiated the loading of a class=3F

> protected final Class findLoadedClass(String=A0name)
>
>   Returns the class with the given name if this loader has been record=
ed
>   by the Java virtual machine as an initiating loader of a class with
>   that name. Otherwise null is returned.

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/
ClassLoader.html#findLoadedClass(java.lang.String)

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/=
 





From MAILER-DAEMON Mon Mar 22 04:16:58 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5LYI-0007eb-Be
	for mharc-classpath@gnu.org; Mon, 22 Mar 2004 04:16:58 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5LY7-0007c1-SQ
	for classpath@gnu.org; Mon, 22 Mar 2004 04:16:47 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5LXa-0007QR-Gf
	for classpath@gnu.org; Mon, 22 Mar 2004 04:16:45 -0500
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5LXZ-0007Py-Qw
	for classpath@gnu.org; Mon, 22 Mar 2004 04:16:13 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-150.ewetel.net
	[80.228.94.150])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id i2M9G7VA026254;
	Mon, 22 Mar 2004 10:16:07 +0100 (MET)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B5LXT-0000fv-00; Mon, 22 Mar 2004 10:16:07 +0100
From: Michael Koch <konqueror@gmx.de>
To: Sascha Brawer <brawer@dandelis.ch>, GNU Classpath <classpath@gnu.org>
Date: Mon, 22 Mar 2004 10:15:53 +0100
User-Agent: KMail/1.5.4
References: <20040319110555.31552@smtp.mail.ch.easynet.net>
	<20040322090027.17466@smtp.mail.ch.easynet.net>
In-Reply-To: <20040322090027.17466@smtp.mail.ch.easynet.net>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200403221015.54468.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail2.ewetel.de id
	i2M9G7VA026254
Cc: 
Subject: Re: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2004 09:16:54 -0000

Am Montag, 22. M=E4rz 2004 10:00 schrieb Sascha Brawer:
> Sascha Brawer <brawer@dandelis.ch> wrote on Fri, 19 Mar 2004 12:05:55=20
+0100:
> > [loading service providers from "META-INF/services/*" in external
> > JARs] 2. Which namespace?
> >3. The unit tests (see attached ForMauve.tar.gz) run checks on
> >gnu.classpath.ServiceFactory. This seems a bit unclean, since Mauve
> > was once meant to be independent of Classpath. A possibility would
> > be to change the tests so that they check the public API
> >javax.imageio.spi.ServiceRegistry.lookupProviders
>
> Since there seem to be no objects with respect to the gnu.classpath
> namespace, I'll commit gnu.classpath.ServiceFactory this Wednesday.

Tom said on IRC that there was never talked about this yet.

> The Mauve tests, which I'll also commit on Wednesday, will run checks
> on the public API javax.imageio.spi.ServiceRegistry.lookupProviders,
> not on something specific to Classpath. Thus, I'll also commit a
> mostly stubbed javax.imageio.spi.ServiceRegistry, whose only
> implemented method will be lookupProviders.
>
> Please tell me by Tuesday in case you don't agree.

Perhaps you should give us all some more time until Tom responded.

Personally I think its bad because Mauve has a more general target (in=20
principle).


Michael




From MAILER-DAEMON Mon Mar 22 08:16:22 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5PHx-00076A-JG
	for mharc-classpath@gnu.org; Mon, 22 Mar 2004 08:16:21 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5PHu-00075R-CR
	for classpath@gnu.org; Mon, 22 Mar 2004 08:16:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5PHO-00070B-80
	for classpath@gnu.org; Mon, 22 Mar 2004 08:16:17 -0500
Received: from [64.4.37.21] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5PHN-000703-I6
	for classpath@gnu.org; Mon, 22 Mar 2004 08:15:45 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Mon, 22 Mar 2004 05:15:40 -0800
Received: from 195.224.225.50 by by10fd.bay10.hotmail.msn.com with HTTP;
	Mon, 22 Mar 2004 13:15:39 GMT
X-Originating-IP: [195.224.225.50]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: brawer@dandelis.ch, dholmes@dltech.com.au, chris@kiffer.eunet.be,
	aph@redhat.com
Bcc: 
Date: Mon, 22 Mar 2004 13:15:39 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY10-F21tKrUV0hCLw0000847e@hotmail.com>
X-OriginalArrivalTime: 22 Mar 2004 13:15:40.0106 (UTC)
	FILETIME=[C5B9D2A0:01C4100F]
Cc: classpath@gnu.org, mauve-discuss@sources.redhat.com
Subject: Re: ClassLoader.findLoadedClass (was: ServiceFactory)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2004 13:16:19 -0000

Interesting -- that's a documentation change between 1.3 and 1.4.  In the 
specs for 1.3 it simply says:

protected final Class findLoadedClass(String name)
"Finds the class with the given name if it had been previously loaded 
through this class loader."

Which is suitably vague enough for several interpretations.  Pragmatically, 
a class loader must keep track of the classes defined by itself so it 
doesn't try to define them again.  This appears to be 
Classpaths'interpretation.

However, as Sascha points out, 1.4's explicitly says it should return 
classes _recorded by the virtual machine_ as initiated by the loader. 
Strictly, this doesn't mean all classes initiated by the loader, just the 
ones recorded by the VM.  As I said, if loadClass is called implicitly by 
the VM it's recorded as an initiating loader, but not if loadClass is called 
explicitly by the programmer.  The JDK is therefore correct, as loadClass 
was called explicitly.

In fact, nowhere in the documentation does it say that calling loadClass on 
a class loader makes it an initiating loader of the returned class!

The bad news is that Classpath (at least 0.07) is wrong according to the new 
documentation.  It won't handle classes recorded by the VM as being 
initiated by it.  Perhaps it should be moved into the VM class, so that a VM 
can do it natively using its internal class tables?  (Alternatively, a VM 
can implement it as a call back to record it as an initiating loader).

Rob.

----Original Message Follows----
From: Sascha Brawer <brawer@dandelis.ch>
To: David Holmes <dholmes@dltech.com.au>, Chris Gray 
<chris@kiffer.eunet.be>, Andrew Haley <aph@redhat.com>, Robert Lougher 
<robert_lougher@hotmail.com>
CC: GNU Classpath <classpath@gnu.org>, <mauve-discuss@sources.redhat.com>
Subject: Re: ClassLoader.findLoadedClass (was: ServiceFactory)
Date: Mon, 22 Mar 2004 10:15:54 +0100

Robert Lougher <robert_lougher@hotmail.com> wrote on Mon, 22 Mar 2004 09:
03:12 +0000:

 >However, in the explicit case, the initiator has been lost --
 >defineClass only has the defining loader, and we don't have an "add
 >initiating loader" call for use when we unwind.  Even if findLoadedClass 
was
 >native so it could use the VM class cache, the VM wouldn't know that, 
using
 >your example, L1 initiated the load and would return null.

Does this mean that the API specification for ClassLoader.findLoadedClass
is incorrect? Or should it say that a VM may or may not record the fact that
some ClassLoader has initiated the loading of a class?

 > protected final Class findLoadedClass(String name)
 >
 >   Returns the class with the given name if this loader has been recorded
 >   by the Java virtual machine as an initiating loader of a class with
 >   that name. Otherwise null is returned.

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/
ClassLoader.html#findLoadedClass(java.lang.String)

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo




From MAILER-DAEMON Mon Mar 22 08:51:23 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5Ppq-00047P-Sc
	for mharc-classpath@gnu.org; Mon, 22 Mar 2004 08:51:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5Ppn-00046G-LA
	for classpath@gnu.org; Mon, 22 Mar 2004 08:51:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5PpB-0003xF-Cu
	for classpath@gnu.org; Mon, 22 Mar 2004 08:51:12 -0500
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5PPY-0008HF-3k
	for classpath@gnu.org; Mon, 22 Mar 2004 08:24:12 -0500
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1B5PPT-0004aW-00
	for <classpath@gnu.org>; Mon, 22 Mar 2004 14:24:07 +0100
Received: from data ([139.19.90.238] helo=mpi-sb.mpg.de)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B5PPN-0004ZX-00; Mon, 22 Mar 2004 14:24:01 +0100
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i2MDO0LT017435;
	Mon, 22 Mar 2004 14:24:01 +0100 (MET)
Message-ID: <405EE8F0.40301@kaffe.org>
Date: Mon, 22 Mar 2004 14:24:00 +0100
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040218
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Steven Augart <augart@watson.ibm.com>
References: <20040321210632.11636AB8E@arcadia.augart.com>
In-Reply-To: <20040321210632.11636AB8E@arcadia.augart.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: [kaffe] Jikes RVM is now fully free software
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2004 13:51:20 -0000

Hi Steven,

Steven Augart wrote:
> Jikes RVM, which formerly required a proprietary (Sun) JVM to write
> out the boot image, no longer needs that proprietary VM.  You can now
> use Kaffe to write out the Jikes RVM boot image.  Those who want to
> use only free software tools can now build and work with Jikes RVM.

That's great news! I'm looking forward to getting my hand on the 
JikesRVM and speeding up kaffe to make it a convenient environment for 
developing with JikesRVM.

> That code is now in the CVS head.  You can read about how to use it by
> starting at
> http://www.ibm.com/developerworks/oss/jikesrvm/userguide/HTML/Bootstrapping_with_Kaffe.html

Thanks for the  write-up, I'll give it a spin during the week.

> I want to thank Dalibor Topic for his quick responses to my questions
> about Kaffe, and Grzegorz Prokopski and Mark Wielaard for their moral
> support, encouragement, and perspective.

Thanks for having the patience to actually make it happen!

cheers,
dalibor topic



From MAILER-DAEMON Mon Mar 22 10:36:21 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5RTQ-0004dr-PS
	for mharc-classpath@gnu.org; Mon, 22 Mar 2004 10:36:20 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5RTJ-0004Yy-EH
	for classpath@gnu.org; Mon, 22 Mar 2004 10:36:13 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5RIS-0000oX-4N
	for classpath@gnu.org; Mon, 22 Mar 2004 10:25:31 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5RI2-0000e6-4I
	for classpath@gnu.org; Mon, 22 Mar 2004 10:24:34 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i2LJ5Ue44170; Sun, 21 Mar 2004 14:08:10 -0500
Received: from meriadoc.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004)
	with ESMTP id i2LJ5VN92640; Sun, 21 Mar 2004 14:05:31 -0500
Received: from watson.ibm.com (sig-9-65-192-66.mts.ibm.com [9.65.192.66])
	by meriadoc.watson.ibm.com (8.11.6/8.11.6/2001/12/13) with ESMTP id
	i2LJ5Ul31174; Sun, 21 Mar 2004 14:05:30 -0500
Message-ID: <405DE78B.2090905@watson.ibm.com>
Date: Sun, 21 Mar 2004 14:05:47 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, it, es-ec, es-us, eo, en
MIME-Version: 1.0
To: classpath@gnu.org, kaffe@kaffe.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Jikes RVM is now fully free software
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2004 15:36:15 -0000

RVM, which formerly required a proprietary (Sun) JVM to write out the 
boot image, no longer needs that proprietary VM.  You can now use 
Kaffe to write out the Jikes RVM boot image.  Those who want to use 
only free software tools can now build and work with Jikes RVM.

That code is now in the CVS head.  You can read about how to use it by 
starting at 
http://www.ibm.com/developerworks/oss/jikesrvm/userguide/HTML/Bootstrapping_with_Kaffe.html

I am very interested in feedback from the community on this, as well 
as bug fixes and patches.  Please CC me directly on anything you send 
to the Jikes RVM mailing lists for the next couple of days, as 
oss.software.ibm.com is still recovering from hardware trouble.

I wish to express my special thanks to Dalibor Topic and Grzegorz 
Prokopski for their help (via the #classpath IRC channel) while I was 
doing this work.

--Steve Augart

-- 
Steven Augart

Jikes RVM, open source Research Virtual Machine:
http://oss.software.ibm.com/jikesrvm

Office: +1 914/784-6743
T.J. Watson Research Center, IBM



From MAILER-DAEMON Mon Mar 22 17:28:43 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5XuU-0008IV-QH
	for mharc-classpath@gnu.org; Mon, 22 Mar 2004 17:28:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5XuS-0008Gs-2Y
	for classpath@gnu.org; Mon, 22 Mar 2004 17:28:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5Xtu-00087M-IO
	for classpath@gnu.org; Mon, 22 Mar 2004 17:28:37 -0500
Received: from [219.160.177.9] (helo=asao.gcd.org)
	by monty-python.gnu.org with smtp (Exim 4.30) id 1B5Xtt-00084x-NL
	for classpath@gnu.org; Mon, 22 Mar 2004 17:28:05 -0500
Received: (qmail 8010 invoked by uid 10); 23 Mar 2004 07:27:57 +0900
Received: (qmail 758 invoked by uid 1000); 22 Mar 2004 22:27:33 -0000
Message-ID: <20040322222733.757.qmail@maczuka.gcd.org>
From: Ito Kazumitsu <kaz@maczuka.gcd.org>
To: classpath@gnu.org
In-reply-to: Your message of "Sun, 21 Mar 2004 08:21:39 JST"
References: <20040320232139.938.qmail@maczuka.gcd.org>
User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.2
	(i386-unknown-freebsd4.7) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu")
Content-Type: text/plain; charset=US-ASCII
Date: Tue, 23 Mar 2004 07:27:33 +0900
Sender: kaz@maczuka.gcd.org
Subject: Re: java.util.Properties#load: Whitespaces before comment characters
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2004 22:28:40 -0000

>>>>> ":" == Ito Kazumitsu <kaz@maczuka.gcd.org> writes:

:> With reference to java.util.Properties#load, Sun's API document says
:> "A comment line has an ASCII '#' or '!' as its first non-white space
:> character;" but GNU Classpath's java.util.Properties checkes only
:> comment characters at the beginning of ach line.

I updated the mauve test gnu/testlet/java/util/Properties/load.java
by copying test cases from Kaffe's regression test.

Results:

Kaffe:
0 of 17 tests failed

GNU Classpath
FAIL: gnu.testlet.java.util.Properties.load (number 4)
got 15 but expected 13
1 of 17 tests failed

"got 15" means that java.util.Properties#load incorrectly loaded
two comment lines.



From MAILER-DAEMON Mon Mar 22 19:45:55 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5a3H-0002IN-CC
	for mharc-classpath@gnu.org; Mon, 22 Mar 2004 19:45:55 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5a2f-0001oc-MW
	for classpath@gnu.org; Mon, 22 Mar 2004 19:45:17 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5a25-00015F-7X
	for classpath@gnu.org; Mon, 22 Mar 2004 19:45:12 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B5a24-00010K-2y
	for classpath@gnu.org; Mon, 22 Mar 2004 19:44:40 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2N0fFAd043210;
	Tue, 23 Mar 2004 11:41:15 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Robert Lougher" <robert_lougher@hotmail.com>, <brawer@dandelis.ch>,
	<chris@kiffer.eunet.be>, <aph@redhat.com>
Date: Tue, 23 Mar 2004 10:41:19 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEGBDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <BAY10-F21tKrUV0hCLw0000847e@hotmail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath@gnu.org, mauve-discuss@sources.redhat.com
Subject: RE: ClassLoader.findLoadedClass (was: ServiceFactory)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2004 00:45:48 -0000

Robert Lougher wrote:
> Interesting -- that's a documentation change between 1.3 and 1.4.

Yes see:

http://developer.java.sun.com/developer/bugParade/bugs/4474902.html

and then:

http://developer.java.sun.com/developer/bugParade/bugs/4778645.html

The change to "initiating classloader" was very deliberately done.

> However, as Sascha points out, 1.4's explicitly says it should return
> classes _recorded by the virtual machine_ as initiated by the loader.
> Strictly, this doesn't mean all classes initiated by the loader, just the
> ones recorded by the VM.  As I said, if loadClass is called implicitly by
> the VM it's recorded as an initiating loader, but not if
> loadClass is called explicitly by the programmer.

Allow me to take a walk through the spec here :)

Section 5.3.2 of the JVMS states that after invoking loadClass on a loader
the JVM records that the loader is an initiating loader of that class. This
implies that the loaded class cache is maintained by the VM not the loader.
However, if you read the OOPSLA '98 paper by Sheng Liang and Gilda Bracha
"Dynamic Class Loading in the Java Virtual Machine, (which is referred to by
the JLS and JVMS) it states that ClassLoader.findLoadedClass is the method
that performs that lookup in the loaded class cache.

So this supports Robert's position that only classes loaded by the VM get
registered in the loaded class cache in this way. However, we now need to
look at what happens if loadClass is called programmatically. For loadClass
to actually return a Class object it must either successfully use
defineClass - which is a final method and therefore part of the VM - or it
must successfully delegate to a parent loader.

According to JVMS 5.3.5 the final step in a successful defineClass is that
the JVM marks the class as having that loader as its defining loader AND
having that loader as an initiating loader. Hence after a successful
l.defineClass(n) we must have l.findLoadedClass(n) returning true.

If delegation is used then 5.3 defines that the loader is an initiating
loader of the class.

However, there is no explicit rule in 5.3 that states when in the delegation
process the "initiating" loader is marked as an initiating loader. Similarly
there is no obvious rule that states that when A delegates to B which
delegates to C etc that any of the intervening loaders are marked as
initiating loaders, even though by definition they are.

So I conclude that Robert is correct. Although in Sascha's example, the
classloader in question was by definition an initiating loader, it had not
been used in a way that required it to be marked by the VM as an initiating
loader and hence findLoadedClass was not required to return true.

Initially I thought this exposed a hole in the type system but then realized
that it does not. For although a given class could hold two reference to
objects of Class N where N was defined by two different classloaders (L1 and
L2), those references could only be typed as Object. If the class tried to
define a field of type N then it would force marking of the initiating
loader in a way that prevents two different classes for N being returned.

Fun exercise :)

Cheers,
David Holmes




From MAILER-DAEMON Tue Mar 23 12:25:31 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5ped-0004Ax-22
	for mharc-classpath@gnu.org; Tue, 23 Mar 2004 12:25:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5peZ-00049f-Ny
	for classpath@gnu.org; Tue, 23 Mar 2004 12:25:27 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5pe3-0003zs-Av
	for classpath@gnu.org; Tue, 23 Mar 2004 12:25:26 -0500
Received: from [209.225.28.202] (helo=mxsf02.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5pe2-0003yt-Vx
	for classpath@gnu.org; Tue, 23 Mar 2004 12:24:55 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf02.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id
	i2NH0Epg070852; Tue, 23 Mar 2004 12:00:15 -0500 (EST)
	(envelope-from archie@dellroad.org)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA77581;
	Tue, 23 Mar 2004 10:47:18 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2NGlHdK002231; 
	Tue, 23 Mar 2004 10:47:17 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i2NGlFrX002230;
	Tue, 23 Mar 2004 10:47:15 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403231647.i2NGlFrX002230@arch20m.dellroad.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCEEGBDPAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Date: Tue, 23 Mar 2004 10:47:14 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: brawer@dandelis.ch, classpath@gnu.org, mauve-discuss@sources.redhat.com
Subject: Re: ClassLoader.findLoadedClass (was: ServiceFactory)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2004 17:25:28 -0000

David Holmes wrote:
> Allow me to take a walk through the spec here :)

This is all very interesting and making my brain hurt :-) I'm trying to
figure out now if the JC vm does the right thing. Hopefully this email
will not add to the confusion.

JC will record C in the (internal to the VM) initiated types table
associated with a class loader L if and only if:

(a) L is the defining loader for C (i.e., L.defineClass(C) was called); or

(b) L.loadClass(C) successfully returns after being called **from
    within the VM itself** (e.g., as a result of the VM's trying
    to resolve a symbolic reference).

So if another loader L2 delegates the loading of C to L, then L is not
marked as an initiating loader for C, as neither (a) nor (b) happens.

Is this consistent and/or correct with the current understanding?

Also: this discussion seems to imply that we require a native method
that findLoadedClass() can use to ask the VM to look for C in its internal
initiated types table associated with L.. is that correct?

At one time I remember concluding that to satisfy the specs, even though
the ClassLoader object may have a Hashtable of loaded classes or whatever,
the VM must have its own internal initiated types table associated with each
class loader. If this is true, then findLoadedClass() simply needs to look
into it - requiring a native method. I believe this is because the VM can't
rely on the ClassLoader implementation to do the right thing with respect
to not trying to load the same class twice.

Classpath has this:

    protected final synchronized Class findLoadedClass(String name)
    {
	// NOTE: If the VM is keeping its own cache, it may make sense to have
	// this method be native.
	return (Class) loadedClasses.get(name);
    }

Perhaps then the comment should be removed and this method made native
always?

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Tue Mar 23 19:00:06 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5voU-0005oV-42
	for mharc-classpath@gnu.org; Tue, 23 Mar 2004 19:00:06 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5voP-0005mx-H9
	for classpath@gnu.org; Tue, 23 Mar 2004 19:00:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5vnt-0005fD-Gm
	for classpath@gnu.org; Tue, 23 Mar 2004 19:00:00 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B5vns-0005eA-Qq
	for classpath@gnu.org; Tue, 23 Mar 2004 18:59:29 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2NNu9hZ036427;
	Wed, 24 Mar 2004 10:56:11 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Archie Cobbs" <archie@dellroad.org>
Date: Wed, 24 Mar 2004 09:56:15 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCGEGLDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <200403231647.i2NGlFrX002230@arch20m.dellroad.org>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: brawer@dandelis.ch, classpath@gnu.org, mauve-discuss@sources.redhat.com
Subject: RE: ClassLoader.findLoadedClass (was: ServiceFactory)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 00:00:02 -0000

Archie Cobbs wrote:
> JC will record C in the (internal to the VM) initiated types table
> associated with a class loader L if and only if:
>
> (a) L is the defining loader for C (i.e., L.defineClass(C) was called); or
>
> (b) L.loadClass(C) successfully returns after being called **from
>     within the VM itself** (e.g., as a result of the VM's trying
>     to resolve a symbolic reference).
>
> So if another loader L2 delegates the loading of C to L, then L is not
> marked as an initiating loader for C, as neither (a) nor (b) happens.
>
> Is this consistent and/or correct with the current understanding?

Sounds consistent and correct to me.

> Also: this discussion seems to imply that we require a native method
> that findLoadedClass() can use to ask the VM to look for C in its internal
> initiated types table associated with L.. is that correct?

As findLoadedClass is a final method in ClassLoader I consider its
implementation part of the VM - as long as it and other parts of the VM use
the same lookup table you can do whatever you like here. That said it seems
to me that the lookup table defined in ClassLoader should be moved to
VMClassLoader. That way we would have:

  ClassLoader.findLoadedClass(n) calls VMClassLoader.findLoadedClass(this,
n)

and

  ClassLoader.defineClass calls VMClassLoader.defineClass(this, ...) and
VMClassLoader.defineClass can then update the lookup table however it is
implemented in that VM.

VMClassLoader can define a default mechanism using hashtables or just leave
things native.

Or in simple words: move the lookup table out of ClassLoader into
VMClassLoader.


David Holmes




From MAILER-DAEMON Tue Mar 23 20:19:12 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5x31-0004qU-F2
	for mharc-classpath@gnu.org; Tue, 23 Mar 2004 20:19:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5x2u-0004lx-K9
	for classpath@gnu.org; Tue, 23 Mar 2004 20:19:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5x2H-0004Fu-Lp
	for classpath@gnu.org; Tue, 23 Mar 2004 20:18:58 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5x2G-0004Dr-Hk
	for classpath@gnu.org; Tue, 23 Mar 2004 20:18:24 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2O15ILV028725
	for <classpath@gnu.org>; Tue, 23 Mar 2004 20:05:51 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032320070103762
	for <classpath@gnu.org>; Tue, 23 Mar 2004 20:07:01 -0500
Received: from 131.31.internet.uqam.ca (131.31.internet.uqam.ca
	[132.208.31.131])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2O141aQ024455
	for <classpath@gnu.org>; Tue, 23 Mar 2004 20:04:02 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: GNU Classpath <classpath@gnu.org>
Content-Type: text/plain
Organization: Debian GNU/Linux http://www.debian.org
Message-Id: <1080090238.11932.47.camel@gadek.homelinux.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Tue, 23 Mar 2004 20:03:59 -0500
Content-Transfer-Encoding: 7bit
Subject: SableVM 1.1.1 Development Release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 01:19:07 -0000

The developers of the SableVM Project are proud to announce the
official release of SableVM 1.1.1.  SableVM is a liberally licensed
Free Java Virtual Machine.  Although this release is considered to be
a "development" one, we believe that version 1.1.1 is far superior in
to our last stable release 1.0.9.  It also includes important
improvements and bug fixes over the previous 1.1.0 development
release.

The most important changes and features of 1.1.1 include:

* sablevm-classpath is based on the very recent GNU Classpath 0.08
  release

* Working ports to 8 architectures (alpha, hppa, i386, ia64, m68k,
  powerpc, s390, sparc)

* Many fills in JNI interface, reflection and other mechanisms

* Partially working AWT support (as GNU Classpath implements it)

* 'java-sablevm' command wrapper for similarity to Sun's 'java'
  command-line utility

* New manual pages and updated developer documentation

* Many other improvements and a few bug fixes


=== INSTALLATION ===

WARNING: PLEASE READ THE INSTALLATION INSTRUCTIONS.  THIS WILL SAVE
         YOU PRECIOUS TIME.

         In particular, you *MUST* pass options to ./configure in
         'sablevm-classpath', otherwise your installation will NOT
         work.

         Easy "copy & paste" instructions are provided in the
         INSTALL-DEVEL file that you will find in the
         sablevm-x.y.z.tar.gz file.  These instructions are also
         available online at:
         http://devel.sablevm.org/docs/INSTALL.txt.

SableVM is available to download from:

    http://devel.sablevm.org/download/1.1.1/

You must download both:

    sablevm-1.1.1.tar.gz
and
    sablevm-classpath-1.1.1.tar.gz.


Or if you prefer the Source Forge download facilities (which are
probably faster), you can use the following link:

    http://sourceforge.net/projects/sablevm/


We plan to make frequent development releases, but please note that we
also have daily snapshots of our "staging" development tree readily
available at:

    http://devel.sablevm.org/shot


Note that the "staging" code is much more robust than the usual CVS
trunk of many other free software projects.  The "staging" tree only
contains code that has been first tested by developers within their
own "sandbox" development tree.  So, in general, the "staging" code is
very robust.


=== NOTES ===

We appreciate your feedback.  Please feel invited to mail us. See:

    http://devel.sablevm.org/wiki/MailingLists

You can also join us in real-time on the #sablevm IRC channel on
irc.sablevm.org (alias: irc.freenode.net).


=== BINARY PACKAGES ===

Binary packages of SableVM 1.1.1 are available in the GNU/Linux Debian
"unstable" distribution.  These packages should migrate to the
"testing" distribution in a few weeks.  The binary packages currently
found in the "testing" distribution contain the 1.1.0 version with
some bug fixes extracted from the 1.1.1 release.

We are looking for people willing to package SableVM for other
GNU/Linux distributions (and operating systems).  We have a
preliminary sablevm.spec (for the RPM package manager).  We would
really like to get LSB-compatible RPM packages.  Such packages could
be built on a Debian system (with the help of LSB development
packages).  If you are interested to get involved, we will be glad to
help you.


=== CONCLUSION ===

We wish you great fun using SableVM.

Enjoy!


        The SableVM Project developers

-- 
Grzegorz B. Prokopski <gadek@debian.org>
Debian GNU/Linux      http://www.debian.org
SableVM - LGPLed JVM  http://www.sablevm.org
Why SableVM ?!?       http://devel.sablevm.org/wiki/WhySableVM




From MAILER-DAEMON Tue Mar 23 22:09:08 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5ylQ-0006PC-75
	for mharc-classpath@gnu.org; Tue, 23 Mar 2004 22:09:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5ylC-0006MJ-7R
	for classpath@gnu.org; Tue, 23 Mar 2004 22:08:54 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5yke-0006Ag-Ld
	for classpath@gnu.org; Tue, 23 Mar 2004 22:08:52 -0500
Received: from [209.225.28.212] (helo=mxsf12.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5yke-0006A3-5i
	for classpath@gnu.org; Tue, 23 Mar 2004 22:08:20 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf12.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id
	i2O305lE092537; Tue, 23 Mar 2004 22:00:05 -0500 (EST)
	(envelope-from archie@dellroad.org)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id UAA83166;
	Tue, 23 Mar 2004 20:56:56 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2O2utdK004853; 
	Tue, 23 Mar 2004 20:56:55 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i2O2us5Q004852;
	Tue, 23 Mar 2004 20:56:54 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403240256.i2O2us5Q004852@arch20m.dellroad.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCGEGLDPAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Date: Tue, 23 Mar 2004 20:56:54 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: ClassLoader.findLoadedClass (was: ServiceFactory)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 03:09:04 -0000

David Holmes wrote:
> > Also: this discussion seems to imply that we require a native method
> > that findLoadedClass() can use to ask the VM to look for C in its internal
> > initiated types table associated with L.. is that correct?
> 
> As findLoadedClass is a final method in ClassLoader I consider its
> implementation part of the VM - as long as it and other parts of the VM use
> the same lookup table you can do whatever you like here. That said it seems
> to me that the lookup table defined in ClassLoader should be moved to
> VMClassLoader. That way we would have:
> 
>   ClassLoader.findLoadedClass(n) calls VMClassLoader.findLoadedClass(this,
> n)
> 
> and
> 
>   ClassLoader.defineClass calls VMClassLoader.defineClass(this, ...) and
> VMClassLoader.defineClass can then update the lookup table however it is
> implemented in that VM.
> 
> VMClassLoader can define a default mechanism using hashtables or just leave
> things native.
> 
> Or in simple words: move the lookup table out of ClassLoader into
> VMClassLoader.

Good.. that's what I was thinking too. Thanks for the clarification.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Tue Mar 23 22:48:12 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5zNE-0000pg-MN
	for mharc-classpath@gnu.org; Tue, 23 Mar 2004 22:48:12 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5zNB-0000ou-IL
	for classpath@gnu.org; Tue, 23 Mar 2004 22:48:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5zMc-0000dO-8w
	for classpath@gnu.org; Tue, 23 Mar 2004 22:48:05 -0500
Received: from [167.206.5.68] (helo=mta2.srv.hcvlny.cv.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5zMc-0000dJ-0k
	for classpath@gnu.org; Tue, 23 Mar 2004 22:47:34 -0500
Received: from arcadia.augart.com
	(ool-182ca563.dyn.optonline.net [24.44.165.99]) by
	mta2.srv.hcvlny.cv.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	with ESMTP id <0HV200DCCAIYJG@mta2.srv.hcvlny.cv.net> for
	classpath@gnu.org; Tue, 23 Mar 2004 22:47:22 -0500 (EST)
Received: from watson.ibm.com (dyn-101.augart.com [10.0.0.101])
	by arcadia.augart.com (Postfix on SuSE Linux 8.0 (i386))
	with ESMTP	id 5B063AB8E; Tue, 23 Mar 2004 22:47:28 -0500 (EST)
Date: Tue, 23 Mar 2004 22:46:21 -0500
From: Steven Augart <augart@watson.ibm.com>
To: classpath@gnu.org
Message-id: <4061048D.5030002@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en, it, eo, pt, gl, es-ec, es-us, es, fr, ast, el
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
Subject: VMRuntime.insertSystemProperties(); java.ext.dirs
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 03:48:10 -0000

I have been implementing the rest of the mandatory properties as 
listed in VMRuntime.insertSystemProperties().  I'm puzzled by the 
java.ext.dirs property, which is listed both in VMRuntime and in the 
Sun 1.4.2 API docs as mandatory.  Classpath sticks everything into 
glibj.zip, including the javax classes.  Neither gij 3.3.1 nor Kaffe 
1.1.4  define it.

I'm setting it to the empty string for now, in Jikes RVM's 
implementation.   But I wonder what it would mean if someone were to 
explicitly set it to another value.   Would it mean that the bootstrap 
class loader should start to look for javax.* classes wherever 
java.ext.dirs points?  I could certainly prepend or append 
java.ext.dirs to the bootstrap class path (either explicitly or 
implicitly), but I have the feeling that something else might have 
been in the minds of the Java API authors.  Right now, setting it does 
nothing.

Any thoughts?

--Steve Augart

-- 
Steven Augart

Jikes RVM, open source Research Virtual Machine:
http://oss.software.ibm.com/jikesrvm

Office: +1 914/784-6743
T.J. Watson Research Center, IBM



From MAILER-DAEMON Tue Mar 23 23:11:06 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B5zjO-0007fQ-3H
	for mharc-classpath@gnu.org; Tue, 23 Mar 2004 23:11:06 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B5zjK-0007eA-PA
	for classpath@gnu.org; Tue, 23 Mar 2004 23:11:02 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B5zim-0007TL-Ut
	for classpath@gnu.org; Tue, 23 Mar 2004 23:11:00 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B5zil-0007OX-PZ
	for classpath@gnu.org; Tue, 23 Mar 2004 23:10:28 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2O470fA070466;
	Wed, 24 Mar 2004 15:07:01 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Steven Augart" <augart@watson.ibm.com>, <classpath@gnu.org>
Date: Wed, 24 Mar 2004 14:07:05 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCCEHDDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <4061048D.5030002@watson.ibm.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: 
Subject: RE: VMRuntime.insertSystemProperties(); java.ext.dirs
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 04:11:04 -0000

Steven Augart writes:
> I have been implementing the rest of the mandatory properties as
> listed in VMRuntime.insertSystemProperties().  I'm puzzled by the
> java.ext.dirs property ...
>
> I'm setting it to the empty string for now, in Jikes RVM's
> implementation.   But I wonder what it would mean if someone were to
> explicitly set it to another value.   Would it mean that the bootstrap
> class loader should start to look for javax.* classes wherever
> java.ext.dirs points?

java.ext.dirs defines the set of directories in which the extensions
classloader should look for standard extensions. Standard extensions have
different security privileges to normal user-defined code. If I had a jar
containg my favourite SPI implementation and added it's directory to
java.ext.dirs then I would expect the extensions loader to load that SPI
implementation.

The javax naming has nothing directly to do with this - other than certain
pre-packaged javax standard extensions will be found in the default
jre/lib/ext jar files that form the pre-installed standard extensions.

http://java.sun.com/j2se/1.4.2/docs/guide/extensions/index.html

When the VM starts up it should create the extensions classloader, with the
bootstrap loader as parent, then create the system/application class loader
with the extensions loader as parent.

Also note that once you start playing this game the role of the context
classloader for a thread becomes much more important :)

Hope this helps.

David Holmes




From MAILER-DAEMON Wed Mar 24 00:13:00 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B60hI-0001UH-L9
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 00:13:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B60hG-0001U6-MW
	for classpath@gnu.org; Wed, 24 Mar 2004 00:12:58 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B60gj-0001J2-HP
	for classpath@gnu.org; Wed, 24 Mar 2004 00:12:57 -0500
Received: from [167.206.5.78] (helo=mta5.srv.hcvlny.cv.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B60gj-0001Ie-0g
	for classpath@gnu.org; Wed, 24 Mar 2004 00:12:25 -0500
Received: from arcadia.augart.com
	(ool-182ca563.dyn.optonline.net [24.44.165.99]) by
	mta5.srv.hcvlny.cv.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	with ESMTP id <0HV200KJGEGJWT@mta5.srv.hcvlny.cv.net> for
	classpath@gnu.org; Wed, 24 Mar 2004 00:12:20 -0500 (EST)
Received: from watson.ibm.com (dyn-101.augart.com [10.0.0.101])
	by arcadia.augart.com (Postfix on SuSE Linux 8.0 (i386))
	with ESMTP	id 72AA0AB8E; Wed, 24 Mar 2004 00:12:19 -0500 (EST)
Date: Wed, 24 Mar 2004 00:11:11 -0500
From: Steven Augart <augart@watson.ibm.com>
To: classpath@gnu.org
Message-id: <4061186F.1010305@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en, it, eo, pt, gl, es-ec, es-us, es, fr, ast, el
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
Subject: user.timezone property
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 05:12:59 -0000

I've noticed that more than one VM defines a user.timezone property.

Does anyone know where this is officially documented?  The string 
"user.timezone" does not appear anywhere in the Sun 1.4.2 API 
specification.

I'm not sure whether we need to provide it, and if so, what the format 
should be for it.

It seems to me that, if someone wanted the name of the current time 
zone, the best thing to do would be to call 
java.util.TimeZone.getDefault().getDisplayName().

Maybe we don't need user.timezone?  Does anyone know of any programs 
that actually use it?

In Jikes RVM, we can't call 
kava.util.TimeZone.getDefault().getDisplayName() from 
VMRuntime.insertSystemProperties()  --- it's too early in the boot 
sequence.  I can, of course, add special code later on in the boot 
sequence to initialize user.timezone, but I don't want to make the 
booting process more complicated if it's not going to serve a useful 
purpose.

--Steve Augart

-- 
Steven Augart

Jikes RVM, open source Research Virtual Machine:
http://oss.software.ibm.com/jikesrvm

Office: +1 914/784-6743
T.J. Watson Research Center, IBM



From MAILER-DAEMON Wed Mar 24 00:44:53 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B61C9-0005rV-3E
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 00:44:53 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B61C2-0005oB-88
	for classpath@gnu.org; Wed, 24 Mar 2004 00:44:46 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6184-00042v-Tt
	for classpath@gnu.org; Wed, 24 Mar 2004 00:41:12 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B617z-0003u5-3B
	for classpath@gnu.org; Wed, 24 Mar 2004 00:40:35 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2O5b1fA047738;
	Wed, 24 Mar 2004 16:37:03 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Steven Augart" <augart@watson.ibm.com>, <classpath@gnu.org>
Date: Wed, 24 Mar 2004 15:37:06 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCGEHGDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <4061186F.1010305@watson.ibm.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: 
Subject: RE: user.timezone property
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 05:44:50 -0000

Steven Augart writes:
> I've noticed that more than one VM defines a user.timezone property.
>
> Does anyone know where this is officially documented?  The string
> "user.timezone" does not appear anywhere in the Sun 1.4.2 API
> specification.
>
> I'm not sure whether we need to provide it, and if so, what the format
> should be for it.

We seem to be treading similar paths. :) I discovered user.timezone in the
Timezone code and just assumed that this was the simplest way to set the
timezone information.

I fill in user.timezone during insertSystemProperties at the same time as
all the other dynamic properties that have to be obtained from the OS: file
encoding, user name, os name, current dir etc etc.

Under POSIX the tzset() library call is used - though it is somewhat odd
that the required information relies on the system supporting the OSI
extension to POSIX. POSIX mandates the required format of the TZ environment
variable, which is stdoffset[dst [...]] and  std == tzname[0] while dst ==
tzname[1], but offset is only available as a global int value if using
supporting the OSI extensions.

The native code with classpath seems to have a bug in it though because it
ignores tzname[1] when it is different to tzname[0] rather than when it is
the same.

I have a "native" getDefaultTimeZoneId() method but it just returns null
because if I couldn't figure out the timezone when setting user.timezone,
I'm not likely to be able to figure it out later.

> Maybe we don't need user.timezone?  Does anyone know of any programs
> that actually use it?

My feeling is that user.timezone is not a property that is filled in for use
by application code, but rather for one part of the VM to communicate
indirectly with another part. I think the file.encoding property acts
similarly.


David Holmes




From MAILER-DAEMON Wed Mar 24 03:32:33 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B63oO-0001Gu-UD
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 03:32:32 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B63oJ-0001F8-4W
	for classpath@gnu.org; Wed, 24 Mar 2004 03:32:27 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B63nm-00019H-6L
	for classpath@gnu.org; Wed, 24 Mar 2004 03:32:26 -0500
Received: from [217.8.192.21] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B63kU-0000ua-T3
	for classpath@gnu.org; Wed, 24 Mar 2004 03:28:31 -0500
Received: from [217.114.112.40] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1380226 for classpath@gnu.org;
	Wed, 24 Mar 2004 09:28:01 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Wed, 24 Mar 2004 09:27:56 +0100
Message-Id: <20040324082756.26725@smtp.mail.ch.easynet.net>
In-Reply-To: <20040322090027.17466@smtp.mail.ch.easynet.net>
References: <20040322090027.17466@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 08:32:27 -0000

Hi all,

FYI, I've now checked gnu.classpath.ServiceFactory into cvs. Its purpose
is to load plug-in services that are specified via META-INF/services
resources (usually located in JAR files in the VM's extension directory).
By default, services will be loaded via the calling thread's context
class loader, but there's also a variant which takes an explicit
ClassLoader argument.

The following classes will need to be adjusted:

- java.nio.charset.Charset
- javax.print.PrintServiceLookup
- javax.print.StreamPrintServiceFactory
- javax.imageio.spi.ServiceRegistry (already done)
- (probably some more)

It would be good if the respective authors could do this...

Testing: The method javax.imageio.spi.ServiceRegistry.lookupProviders
exposes a public API for loading plug-in services. The Mauve testlets (in
the Mauve repository) run tests against this public API, not on the
Classpath-internal gnu.classpath.ServiceFactory.

Best regards,

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 





From MAILER-DAEMON Wed Mar 24 03:45:42 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B640h-0005Ma-CY
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 03:45:15 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B640F-00050t-BM
	for classpath@gnu.org; Wed, 24 Mar 2004 03:44:47 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B63zY-0004ZC-55
	for classpath@gnu.org; Wed, 24 Mar 2004 03:44:35 -0500
Received: from [212.6.122.106] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B63zX-0004Vz-7Z
	for classpath@gnu.org; Wed, 24 Mar 2004 03:44:03 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-155.ewetel.net
	[80.228.94.155])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id i2O8htMN001602;
	Wed, 24 Mar 2004 09:43:56 +0100 (MET)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B63zP-0001vO-00; Wed, 24 Mar 2004 09:43:55 +0100
From: Michael Koch <konqueror@gmx.de>
To: Sascha Brawer <brawer@dandelis.ch>, GNU Classpath <classpath@gnu.org>
Date: Wed, 24 Mar 2004 09:43:36 +0100
User-Agent: KMail/1.5.4
References: <20040322090027.17466@smtp.mail.ch.easynet.net>
	<20040324082756.26725@smtp.mail.ch.easynet.net>
In-Reply-To: <20040324082756.26725@smtp.mail.ch.easynet.net>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200403240943.36701.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail1.ewetel.de id
	i2O8htMN001602
Cc: 
Subject: Re: ServiceFactory
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 08:45:07 -0000

Am Mittwoch, 24. M=E4rz 2004 09:27 schrieb Sascha Brawer:
> Hi all,
>
> FYI, I've now checked gnu.classpath.ServiceFactory into cvs. Its
> purpose is to load plug-in services that are specified via
> META-INF/services resources (usually located in JAR files in the VM's
> extension directory). By default, services will be loaded via the
> calling thread's context class loader, but there's also a variant
> which takes an explicit ClassLoader argument.
>
> The following classes will need to be adjusted:
>
> - java.nio.charset.Charset
> - javax.print.PrintServiceLookup
> - javax.print.StreamPrintServiceFactory
> - javax.imageio.spi.ServiceRegistry (already done)
> - (probably some more)

- java.nio.channels.spi.ServiceProvider

I will take care of all instances in java.nio and javax.print but there=20
are surely more in this area.


Michael




From MAILER-DAEMON Wed Mar 24 05:42:47 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B65qN-0005WR-D1
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 05:42:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B65qD-0005RT-AL
	for classpath@gnu.org; Wed, 24 Mar 2004 05:42:33 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B65pn-0004zl-N3
	for classpath@gnu.org; Wed, 24 Mar 2004 05:42:30 -0500
Received: from [64.4.37.35] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B65pL-0003rc-Aq
	for classpath@gnu.org; Wed, 24 Mar 2004 05:41:39 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Wed, 24 Mar 2004 02:40:32 -0800
Received: from 195.224.225.50 by by10fd.bay10.hotmail.msn.com with HTTP;
	Wed, 24 Mar 2004 10:40:32 GMT
X-Originating-IP: [195.224.225.50]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: dholmes@dltech.com.au, archie@dellroad.org
Bcc: 
Date: Wed, 24 Mar 2004 10:40:32 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY10-F35Zpdp9O3oUO0000e60c@hotmail.com>
X-OriginalArrivalTime: 24 Mar 2004 10:40:32.0390 (UTC)
	FILETIME=[6EB89260:01C4118C]
Cc: brawer@dandelis.ch, classpath@gnu.org, mauve-discuss@sources.redhat.com
Subject: RE: ClassLoader.findLoadedClass (was: ServiceFactory)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 10:42:34 -0000

Yes, I agree (but see my comment below).  Iin fact, I suggested moving 
findLoadedClass to the VMClassLoader in my last post.  The next release of 
JamVM, which should be out tonight, will have this.  This means releasing a 
modified ClassLoader as a "VM class" but it'll be a while before this makes 
it into the next release of Classpath.

Thanks,

Rob.

----Original Message Follows----
From: "David Holmes" <dholmes@dltech.com.au>

...

>VMClassLoader can define a default mechanism using hashtables or just leave
>things native.
>

A pure Java "reference" implementation won't work.  At the Java level 
VMClassLoader can only keep track of classes defined by a loader (when it 
calls VMClassLoader.defineClass). A call back will be needed so that the VM 
can record a loader as an initiating loader for a class.

>Or in simple words: move the lookup table out of ClassLoader into
>VMClassLoader.


David Holmes

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger




From MAILER-DAEMON Wed Mar 24 06:37:43 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B66hb-000574-0K
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 06:37:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B66hW-00055m-97
	for classpath@gnu.org; Wed, 24 Mar 2004 06:37:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B66gy-0004y6-IV
	for classpath@gnu.org; Wed, 24 Mar 2004 06:37:35 -0500
Received: from [167.206.5.68] (helo=mta2.srv.hcvlny.cv.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B66gx-0004N2-Ug
	for classpath@gnu.org; Wed, 24 Mar 2004 06:37:04 -0500
Received: from arcadia.augart.com
	(ool-182ca563.dyn.optonline.net [24.44.165.99]) by
	mta2.srv.hcvlny.cv.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	with ESMTP id <0HV200EG7W40VJ@mta2.srv.hcvlny.cv.net> for
	classpath@gnu.org; Wed, 24 Mar 2004 06:33:36 -0500 (EST)
Received: from watson.ibm.com (dyn-101.augart.com [10.0.0.101])
	by arcadia.augart.com (Postfix on SuSE Linux 8.0 (i386))
	with ESMTP	id 37085AB8E; Wed, 24 Mar 2004 06:33:42 -0500 (EST)
Date: Wed, 24 Mar 2004 06:32:31 -0500
From: Steven Augart <augart@watson.ibm.com>
In-reply-to: <NFBBKALFDCPFIDBNKAPCGEHGDPAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Message-id: <406171CF.3030304@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en, it, eo, pt, gl, es-ec, es-us, es, fr, ast, el
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
References: <NFBBKALFDCPFIDBNKAPCGEHGDPAA.dholmes@dltech.com.au>
Cc: classpath@gnu.org
Subject: Re: user.timezone property
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 11:37:40 -0000

David Holmes wrote:
[...]
> I fill in user.timezone during insertSystemProperties at the same time as
> all the other dynamic properties that have to be obtained from the OS: file
> encoding, user name, os name, current dir etc etc.

Jikes RVM sets those in "runrvm", a shell script that calls the actual 
C executable.

[....]
> The native code with classpath seems to have a bug in it though because it
> ignores tzname[1] when it is different to tzname[0] rather than when it is
> the same.

Yes, I see it too. I should get the rest of my night's sleep and then 
think about a test case to manifest the problem.

[....]
> My feeling is that user.timezone is not a property that is filled in for use
> by application code, but rather for one part of the VM to communicate
> indirectly with another part. 

This makes sense, yes.  Now I know why I want to set it; my test 
program that calls TimeZone.getDefault().getDisplayName() always 
prints "Greenwich Mean Time" if I don't.

-- 
Steven Augart

Jikes RVM, open source Research Virtual Machine:
http://oss.software.ibm.com/jikesrvm

Office: +1 914/784-6743
T.J. Watson Research Center, IBM



From MAILER-DAEMON Wed Mar 24 08:29:42 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B68GO-0001NK-M6
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 08:17:44 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B67yi-00076G-N1
	for classpath@gnu.org; Wed, 24 Mar 2004 07:59:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B67es-0004WN-7b
	for classpath@gnu.org; Wed, 24 Mar 2004 07:39:29 -0500
Received: from [64.4.37.99] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B67LO-0001ux-Qx
	for classpath@gnu.org; Wed, 24 Mar 2004 07:18:51 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Wed, 24 Mar 2004 04:18:33 -0800
Received: from 195.224.225.50 by by10fd.bay10.hotmail.msn.com with HTTP;
	Wed, 24 Mar 2004 12:18:33 GMT
X-Originating-IP: [195.224.225.50]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: augart@watson.ibm.com, dholmes@dltech.com.au
Bcc: 
Date: Wed, 24 Mar 2004 12:18:33 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY10-F99SsrrtbXQ9b0000e4c5@hotmail.com>
X-OriginalArrivalTime: 24 Mar 2004 12:18:33.0889 (UTC)
	FILETIME=[205E1910:01C4119A]
Cc: classpath@gnu.org
Subject: Re: user.timezone property
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 13:17:42 -0000

>
>This makes sense, yes.  Now I know why I want to set it; my test program 
>that calls >TimeZone.getDefault().getDisplayName() always prints "Greenwich 
>Mean Time" if I don't.

Thanks for the information -- something I should do in JamVM as well.  
However, the above explains why I've never noticed the problem :)

Thanks,

Rob.

--
Steven Augart

Jikes RVM, open source Research Virtual Machine:
http://oss.software.ibm.com/jikesrvm

Office: +1 914/784-6743
T.J. Watson Research Center, IBM


_______________________________________________
Classpath mailing list
Classpath@gnu.org
http://mail.gnu.org/mailman/listinfo/classpath

_________________________________________________________________
Sign-up for a FREE BT Broadband connection today! 
http://www.msn.co.uk/specials/btbroadband




From MAILER-DAEMON Wed Mar 24 11:05:10 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6AsP-0000rH-Ol
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 11:05:09 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6AsN-0000qe-BN
	for classpath@gnu.org; Wed, 24 Mar 2004 11:05:07 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6Arr-0000kK-CK
	for classpath@gnu.org; Wed, 24 Mar 2004 11:05:06 -0500
Received: from [167.206.5.74] (helo=mta7.srv.hcvlny.cv.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6Aap-0005nP-EL
	for classpath@gnu.org; Wed, 24 Mar 2004 10:46:59 -0500
Received: from arcadia.augart.com
	(ool-182ca563.dyn.optonline.net [24.44.165.99]) by
	mta7.srv.hcvlny.cv.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	with ESMTP id <0HV3000GF7S10X@mta7.srv.hcvlny.cv.net> for
	classpath@gnu.org; Wed, 24 Mar 2004 10:45:38 -0500 (EST)
Received: from watson.ibm.com (dyn-101.augart.com [10.0.0.101])
	by arcadia.augart.com (Postfix on SuSE Linux 8.0 (i386))
	with ESMTP	id 4EBEEAB8E; Wed, 24 Mar 2004 10:45:22 -0500 (EST)
Date: Wed, 24 Mar 2004 10:44:09 -0500
From: Steven Augart <augart@watson.ibm.com>
In-reply-to: <BAY10-F99SsrrtbXQ9b0000e4c5@hotmail.com>
To: Robert Lougher <robert_lougher@hotmail.com>
Message-id: <4061ACC9.9000902@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en, it, eo, pt, gl, es-ec, es-us, es, fr, ast, el
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
References: <BAY10-F99SsrrtbXQ9b0000e4c5@hotmail.com>
Cc: classpath@gnu.org
Subject: Re: user.timezone property
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 16:05:08 -0000

Robert Lougher wrote:
>>
>> This makes sense, yes.  Now I know why I want to set it; my test 
>> program that calls >TimeZone.getDefault().getDisplayName() always 
>> prints "Greenwich Mean Time" if I don't.
> 
> 
> Thanks for the information -- something I should do in JamVM as well.  
> However, the above explains why I've never noticed the problem :)

At least, not until British Summer Time comes into effect.

--Steve



From MAILER-DAEMON Wed Mar 24 11:12:16 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6AzI-0002Kq-0Q
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 11:12:16 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6AzD-0002Ix-AU
	for classpath@gnu.org; Wed, 24 Mar 2004 11:12:11 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B66u4-0006i1-3w
	for classpath@gnu.org; Wed, 24 Mar 2004 06:51:07 -0500
Received: from [167.206.5.70] (helo=mta4.srv.hcvlny.cv.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B66jY-0005dk-Tw
	for classpath@gnu.org; Wed, 24 Mar 2004 06:39:45 -0500
Received: from arcadia.augart.com
	(ool-182ca563.dyn.optonline.net [24.44.165.99]) by
	mta4.srv.hcvlny.cv.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	with ESMTP id <0HV200MM8WE5RI@mta4.srv.hcvlny.cv.net> for
	classpath@gnu.org; Wed, 24 Mar 2004 06:39:41 -0500 (EST)
Received: from watson.ibm.com (dyn-101.augart.com [10.0.0.101])
	by arcadia.augart.com (Postfix on SuSE Linux 8.0 (i386))
	with ESMTP	id B086FAB8E; Wed, 24 Mar 2004 06:39:39 -0500 (EST)
Date: Wed, 24 Mar 2004 06:38:29 -0500
From: Steven Augart <augart@watson.ibm.com>
In-reply-to: <NFBBKALFDCPFIDBNKAPCCEHDDPAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Message-id: <40617335.7080700@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en, it, eo, pt, gl, es-ec, es-us, es, fr, ast, el
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
References: <NFBBKALFDCPFIDBNKAPCCEHDDPAA.dholmes@dltech.com.au>
Cc: classpath@gnu.org
Subject: Re: VMRuntime.insertSystemProperties(); java.ext.dirs
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 16:12:12 -0000

David Holmes wrote:
[...]
> http://java.sun.com/j2se/1.4.2/docs/guide/extensions/index.html
[...]

> When the VM starts up it should create the extensions classloader, with the
> bootstrap loader as parent, then create the system/application class loader
> with the extensions loader as parent.
This is clearly the right thing to do.  Wow, yet another class loader 
for me to add to the stack.
> 
> Also note that once you start playing this game the role of the context
> classloader for a thread becomes much more important :)

I assume that's for the applications programmers to worry about, no? 
Or are there particular gotchas for the VM?

> Hope this helps.

Yes, a lot.  Thanks for that reference.  A lot of information.  Java 
is even more complicated than I had feared.

I just closed a defect report about the properties Jikes RVM sets in 
VMRuntime.  I can see that I'm going to have to reopen it until I take 
care of user.timezone and java.ext.dirs properly.

--Steven Augart



From MAILER-DAEMON Wed Mar 24 11:52:50 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6BQE-00026K-P1
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 11:40:06 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6BJp-00006Y-RL
	for classpath@gnu.org; Wed, 24 Mar 2004 11:33:29 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6BHr-0007wz-D3
	for classpath@gnu.org; Wed, 24 Mar 2004 11:31:58 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B6APG-00036s-JK
	for classpath@gnu.org; Wed, 24 Mar 2004 10:35:02 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i2OFYiWA010734;
	Wed, 24 Mar 2004 10:34:44 -0500
Received: from redhat.com (sebastian-int.corp.redhat.com [172.16.52.221])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i2OFYij30361; 
	Wed, 24 Mar 2004 10:34:44 -0500
Message-ID: <4061AA6C.5030903@redhat.com>
Date: Wed, 24 Mar 2004 10:34:04 -0500
From: graydon hoare <graydon@redhat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.6b) Gecko/20031205 Thunderbird/0.4
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Aaron M. Renn" <arenn@urbanophile.com>
References: <1079862783.1979.21.camel@gadek.homelinux.org>
	<20040321085006.A22782@urbanophile.com>
In-Reply-To: <20040321085006.A22782@urbanophile.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: SableVM-devel ML <sablevm-developer@lists.sourceforge.net>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Starting to swing... [screenshots]
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 16:40:04 -0000

Aaron M. Renn wrote:

> Can I just say "Wow!"?  That is super cool.  It's fantastic to see
> actual Swing screens.

I can add another teaser from the branch. olga rodimina has chased down 
most of the major rendering, geometry, and image transfer bugs in our 
native Graphics2D (cairo) backend. as a result, here is a native swing 
GUI rendering through Graphics2D (note the pervasive smooth vector 
graphics feel):

   http://people.redhat.com/~graydon/free-swing-mar-23-2004.png

most of the new widgets there (scroll bars, tab pane) are kim ho's work.

-graydon



From MAILER-DAEMON Wed Mar 24 13:58:01 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6DZg-00071g-Va
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 13:58:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6DZb-0006zh-SZ
	for classpath@gnu.org; Wed, 24 Mar 2004 13:57:55 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6DZ3-0006n6-O6
	for classpath@gnu.org; Wed, 24 Mar 2004 13:57:53 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6DWa-0005iQ-3A
	for classpath@gnu.org; Wed, 24 Mar 2004 13:54:48 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2OIeCLb002372;
	Wed, 24 Mar 2004 13:41:33 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032413424406733 ; Wed, 24 Mar 2004 13:42:44 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2OId58R028461; Wed, 24 Mar 2004 13:39:05 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B6DHO-0006K3-46; Wed, 24 Mar 2004 13:39:06 -0500
Message-ID: <4061D5C8.1080000@uqam.ca>
Date: Wed, 24 Mar 2004 13:39:04 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: SableVM-devel ML <sablevm-developer@lists.sourceforge.net>
References: <1079862783.1979.21.camel@gadek.homelinux.org>
	<20040321085006.A22782@urbanophile.com>
	<4061AA6C.5030903@redhat.com>
In-Reply-To: <4061AA6C.5030903@redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "Aaron M. Renn" <arenn@urbanophile.com>, GNU Classpath <classpath@gnu.org>,
	graydon hoare <graydon@redhat.com>
Subject: Re: [Sablevm-developer] Re: Starting to swing... [screenshots]
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2004 18:57:57 -0000

 >   http://people.redhat.com/~graydon/free-swing-mar-23-2004.png

OK SableVM guys!  I'd like to see this in SableVM's staging tree *now*!

To get get SableVM staging to work out-of-the-box with
a Classpath CVS, using:

$ # [go to classpath working copy]
$ cd classpath
$ ./configure --with-vm=sablevm && make && make install

$ # [go to sablevm working copy]
$ cd ../sablevm
$ ./configure && make && make install

$ # [go to swing demo]
$ cd ../swing-demo
$ sablevm SwingDemo

$ # [amazing GUI is now shown :-)]

What's missing?


Etienne

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Wed Mar 24 19:13:41 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6IVA-0004mG-UF
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 19:13:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6INP-0002Wg-G1
	for classpath@gnu.org; Wed, 24 Mar 2004 19:05:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6IMD-0002B5-CG
	for classpath@gnu.org; Wed, 24 Mar 2004 19:04:56 -0500
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B6ILM-0001ut-H7
	for classpath@gnu.org; Wed, 24 Mar 2004 19:03:32 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by mx20.gnu.org with esmtp (Exim 4.30) id 1B6IJb-0002VZ-Lu
	for classpath@gnu.org; Wed, 24 Mar 2004 19:01:43 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2ONvtfA012698;
	Thu, 25 Mar 2004 10:57:56 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Robert Lougher" <robert_lougher@hotmail.com>
Date: Thu, 25 Mar 2004 09:58:01 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEIEDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <BAY10-F35Zpdp9O3oUO0000e60c@hotmail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath@gnu.org, mauve-discuss@sources.redhat.com
Subject: RE: ClassLoader.findLoadedClass (was: ServiceFactory)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 00:13:37 -0000

Robert Lougher wrote:
> Yes, I agree (but see my comment below). >
> ...
> A pure Java "reference" implementation won't work.  At the Java level
> VMClassLoader can only keep track of classes defined by a loader (when it
> calls VMClassLoader.defineClass). A call back will be needed so
> that the VM can record a loader as an initiating loader for a class.

Well you don't need an explicit callback as that's likely to be VM specific.
The VM can directly access the Java-level hashtable(s) if it needs to using
JNI or whatever means that particular VM has. The only thing you need in the
reference implementation is a comment saying that the VM must keep the
tables up to date.

That said, I don't see much value in a "reference implementation" for this
particular feature.

David Holmes




From MAILER-DAEMON Wed Mar 24 19:27:34 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6IZd-0005KI-2z
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 19:18:17 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6IQS-0003ga-MP
	for classpath@gnu.org; Wed, 24 Mar 2004 19:08:48 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6IP3-000396-Dc
	for classpath@gnu.org; Wed, 24 Mar 2004 19:07:53 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B6IMe-0002Hl-6v
	for classpath@gnu.org; Wed, 24 Mar 2004 19:04:52 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2P01SfA016273;
	Thu, 25 Mar 2004 11:01:28 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Robert Lougher" <robert_lougher@hotmail.com>, <augart@watson.ibm.com>
Date: Thu, 25 Mar 2004 10:01:34 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCAEIFDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <BAY10-F99SsrrtbXQ9b0000e4c5@hotmail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath@gnu.org
Subject: RE: user.timezone property
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 00:18:14 -0000

> >This makes sense, yes.  Now I know why I want to set it; my test program
> >that calls >TimeZone.getDefault().getDisplayName() always prints
> "Greenwich Mean Time" if I don't.

Our MAC OSX users suffer the same problem :-) OSX doesn't support the OSI
extensions so I have no idea how to obtain the timezone info in the
necessary format. :(

David Holmes




From MAILER-DAEMON Wed Mar 24 19:40:44 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6IQp-0003pP-6K
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 19:09:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6IOi-00030X-Eb
	for classpath@gnu.org; Wed, 24 Mar 2004 19:07:00 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6INK-0002Tt-2h
	for classpath@gnu.org; Wed, 24 Mar 2004 19:05:56 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B6IJU-0001MO-R6
	for classpath@gnu.org; Wed, 24 Mar 2004 19:01:37 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2ONxjfA014445;
	Thu, 25 Mar 2004 10:59:46 +1100 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Steven Augart" <augart@watson.ibm.com>
Date: Thu, 25 Mar 2004 09:59:50 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCKEIEDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <40617335.7080700@watson.ibm.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath@gnu.org
Subject: RE: VMRuntime.insertSystemProperties(); java.ext.dirs
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 00:09:08 -0000

Steven Augart wrote:
> David Holmes wrote:
> > Also note that once you start playing this game the role of the context
> > classloader for a thread becomes much more important :)
>
> I assume that's for the applications programmers to worry about, no?
> Or are there particular gotchas for the VM?

The only concern for the VM/Classpath-libraries is knowing when you are
supposed to use the context class loader rather than the current class
loader. I'm not clear on the rules :)

David Holmes




From MAILER-DAEMON Wed Mar 24 21:24:23 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6KXf-0003pC-BI
	for mharc-classpath@gnu.org; Wed, 24 Mar 2004 21:24:23 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6KXd-0003p4-6Y
	for classpath@gnu.org; Wed, 24 Mar 2004 21:24:21 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6KX6-0003ln-At
	for classpath@gnu.org; Wed, 24 Mar 2004 21:24:20 -0500
Received: from [167.206.5.69] (helo=mta3.srv.hcvlny.cv.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6KX6-0003ld-0x
	for classpath@gnu.org; Wed, 24 Mar 2004 21:23:48 -0500
Received: from arcadia.augart.com
	(ool-182ca563.dyn.optonline.net [24.44.165.99]) by
	mta3.srv.hcvlny.cv.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	with ESMTP id <0HV4005VN19958@mta3.srv.hcvlny.cv.net> for
	classpath@gnu.org; Wed, 24 Mar 2004 21:22:22 -0500 (EST)
Received: from watson.ibm.com (dyn-101.augart.com [10.0.0.101])
	by arcadia.augart.com (Postfix on SuSE Linux 8.0 (i386))
	with ESMTP	id 9A55CAB8E; Wed, 24 Mar 2004 21:22:41 -0500 (EST)
Date: Wed, 24 Mar 2004 21:21:33 -0500
From: Steven Augart <augart@watson.ibm.com>
In-reply-to: <NFBBKALFDCPFIDBNKAPCAEIFDPAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Message-id: <4062422D.5010407@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en, it, eo, pt, gl, es-ec, es-us, es, fr, ast, el
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
References: <NFBBKALFDCPFIDBNKAPCAEIFDPAA.dholmes@dltech.com.au>
Cc: classpath@gnu.org
Subject: Re: user.timezone property
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 02:24:21 -0000

I assume your VM is implemented in C or C++, based on your discussion 
of the OSI extensions.  In that case, how 'bout strftime() with the %Z 
format?  If you set user.timezone to the string that strftime( ..., 
"%Z", ...) generates, Classpath's java.util.TimeZone will do the right 
thing when it initializes.

--Steve

David Holmes wrote:
[....]
 > OSX doesn't support the OSI
> extensions so I have no idea how to obtain the timezone info in the
> necessary format. :(
> 
> David Holmes
> 
> 

-- 
Steven Augart

Jikes RVM, open source Research Virtual Machine:
http://oss.software.ibm.com/jikesrvm

Office: +1 914/784-6743
T.J. Watson Research Center, IBM



From MAILER-DAEMON Thu Mar 25 12:54:34 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6Z3q-0002it-Lu
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 12:54:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6Z3n-0002iD-KY
	for classpath@gnu.org; Thu, 25 Mar 2004 12:54:31 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6Yrx-0008FL-Fz
	for classpath@gnu.org; Thu, 25 Mar 2004 12:42:49 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6Yrr-0008CQ-Jz
	for classpath@gnu.org; Thu, 25 Mar 2004 12:42:12 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2PHUILB026872;
	Thu, 25 Mar 2004 12:30:42 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032512315311584 ; Thu, 25 Mar 2004 12:31:53 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2PHPwMT029239; Thu, 25 Mar 2004 12:25:58 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B6YcA-00078l-O2; Thu, 25 Mar 2004 12:25:58 -0500
Message-ID: <40631624.7060108@uqam.ca>
Date: Thu, 25 Mar 2004 12:25:56 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 17:54:32 -0000

Hi All.

I would like to suggest 2 things.

Build Process
=============

Classpath is not meant to live on its own;  it is either meant to be used
as a class library for a compiler (e.g. jikes), or as a class library for
a virtual machine (gcj, JikesRVM, SableVM, Kaffe, ...).

It would be impractical (or even maybe impossible) to setup a *single*
"classpath" installation on a user system, meant to be used by distinct
VMs/compilers on this same system; one can simply think of the ever
changing VM interface, VM-specific issues, etc.

So, I suggest to change the "configure.ac" to force "./configure" to
require a "--with-vm=xxx" option.  In other words, there would not
be a "default" Classpath configuration.  The motivation is that when
a user builds a Classpath version, he intends to use it in some
context.  There is no default set of options that would work for
all possible uses of Classpath.  In fact, each possible "default"
configuration would favor one VM or one compiler over the others.

So, what I see is a very minimal change.  It would work as follows:

$ ./configure
*** configure error:
*** You must supply a --with-vm=xxx command-line argument.
*** Valid VMs are: unknown, gcj, jikes, sablevm,...

To compile Classpath for gcj, one would type:
  $ ./configure --with-vm=gcj
This would select CNI libraries, etc.

To compile for SableVM, one would type:
  $ ./configure --with-vm=sablevm

and so on.


VM*.java Classes
================

As far as I know, SableVM does not need any really "SableVM-specific"
.java classes.  It only need *minimal* changes in the "reference"
implementation to work.  I can easily imagine other VMs (such JamVM)
being in the same situation.

I would very much like all the VM-specific code moved to VM*.java
package-private classes, but these classes should reside in the
*normal* package tree, not in a vm/ subdirectory.

[talking of normal package tree:  would anybody object to moving the
  whole tree to an src/ subdirectory, as it should be done in such
  a big project?]

Grzegorz Prokopski and I are working on a set of m4 macros (that would
not require understanding "m4" to be used) to allow minimal customization
of VM*.java classes for each VM, while retaining most of the code
sharing across all VMs that can work with the default VM*.java setup.
[Some VMs, like JikesRVM tend to completely replace some base classes
by their own; SableVM does not].


The objective:  Share as much code between "normal" VMs (that need nothing
really special in base classes), and intuitive source file locations.

What do you think?

Etienne
-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Thu Mar 25 13:18:43 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6ZRD-0000ur-6G
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 13:18:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6ZR8-0000sy-QZ
	for classpath@gnu.org; Thu, 25 Mar 2004 13:18:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6ZQU-0000gh-Oy
	for classpath@gnu.org; Thu, 25 Mar 2004 13:18:29 -0500
Received: from [141.45.4.9] (helo=blackhole.ipv6.fhtw-berlin.de)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B6ZQU-0000et-AU
	for classpath@gnu.org; Thu, 25 Mar 2004 13:17:58 -0500
Received: from threejane.lichteblau.com ([141.45.32.5])
	by blackhole.ipv6.fhtw-berlin.de with smtp (Exim 3.31 #15)
	id 1B6ZQK-0003lO-00
	for classpath@gnu.org; Thu, 25 Mar 2004 19:17:48 +0100
Received: (qmail 3733 invoked by uid 1000); 25 Mar 2004 18:17:49 -0000
From: "David Lichteblau" <dave@lichteblau.com>
Date: Thu, 25 Mar 2004 19:17:48 +0100
To: GNU Classpath <classpath@gnu.org>
Message-ID: <20040325181748.GB2531@lichteblau.com>
References: <40631624.7060108@uqam.ca>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="SkvwRMAIpAhPCcCJ"
Content-Disposition: inline
In-Reply-To: <40631624.7060108@uqam.ca>
User-Agent: Mutt/1.3.28i
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 18:18:40 -0000


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

Quoting Etienne Gagnon (gagnon.etienne_m@uqam.ca):
> It would be impractical (or even maybe impossible) to setup a *single*
> "classpath" installation on a user system, meant to be used by distinct
> VMs/compilers on this same system; one can simply think of the ever
> changing VM interface, VM-specific issues, etc.

While that is currently true, one would hope that the virtual machine
interface will stabilize over time.  At that point, Classpath developers
should make sure not to introduce incompatible changes to
virtual-machine related classes without making a new major release and
announcing it properly anyway.

Virtual machine targetting that stable classpath release could then
share most of the core classes and Distributions like Debian could then
ship the classpath zip-file, reusing it for all virtual machines
included.

The exception are, of course, the VM* classes, which virtual machine
packages will include.  The VM will put its own customized versions of
these classes into its bootstrap classpath to override default versions
(if any) included in the standard classpath installation.


BTW, on the topic of VM* classes: Has there been agreement on
java.lang.VMClass?  The proposal was to make its methods static (and
possibly add an "Object vmdata" field to java.lang.Class instead).


David

--SkvwRMAIpAhPCcCJ
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAYyJLiGoiD4YyHUgRAoHlAJ9E5fCCap8h+I6Q2m1TnMF2xXh7hwCfej3Q
LY2njSeh2QuXwGyRpOuCPOM=
=8JZG
-----END PGP SIGNATURE-----

--SkvwRMAIpAhPCcCJ--



From MAILER-DAEMON Thu Mar 25 13:23:58 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6ZWH-0002Cp-Mu
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 13:23:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6ZWD-0002B6-Dr
	for classpath@gnu.org; Thu, 25 Mar 2004 13:23:53 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6ZW5-00029k-Fw
	for classpath@gnu.org; Thu, 25 Mar 2004 13:23:46 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6ZW5-00029L-1o
	for classpath@gnu.org; Thu, 25 Mar 2004 13:23:45 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B6ZVp-0001Zu-00; Thu, 25 Mar 2004 19:23:29 +0100
From: Mark Wielaard <mark@klomp.org>
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
In-Reply-To: <4061D5C8.1080000@uqam.ca>
References: <1079862783.1979.21.camel@gadek.homelinux.org>
	<20040321085006.A22782@urbanophile.com> <4061AA6C.5030903@redhat.com>
	<4061D5C8.1080000@uqam.ca>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-qyp/aIt79+yZRXkZ1Ioj"
Message-Id: <1080239008.18716.170.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 25 Mar 2004 19:23:28 +0100
Cc: SableVM-devel ML <sablevm-developer@lists.sourceforge.net>,
	graydon hoare <graydon@redhat.com>, GNU Classpath <classpath@gnu.org>,
	"Aaron M. Renn" <arenn@urbanophile.com>
Subject: Re: [Sablevm-developer] Re: Starting to swing... [screenshots]
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 18:23:55 -0000


--=-qyp/aIt79+yZRXkZ1Ioj
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi all,

On Wed, 2004-03-24 at 19:39, Etienne Gagnon wrote:
>  >   http://people.redhat.com/~graydon/free-swing-mar-23-2004.png
>=20
> OK SableVM guys!  I'd like to see this in SableVM's staging tree *now*!

:)

> To get get SableVM staging to work out-of-the-box with
> a Classpath CVS, using:
>=20
> $ # [go to classpath working copy]
> $ cd classpath
> $ ./configure --with-vm=3Dsablevm && make && make install
>=20
> $ # [go to sablevm working copy]
> $ cd ../sablevm
> $ ./configure && make && make install
>=20
> $ # [go to swing demo]
> $ cd ../swing-demo
> $ sablevm SwingDemo
>=20
> $ # [amazing GUI is now shown :-)]
>=20
> What's missing?

Two things:

- This code is now only in the development branch of libgcj. To keep the
AWT/Swing hackers busy and to to distracted by all the other cool things
going on this is only merged back to libgcj proper once a month (then it
needs to me merged back to classpath again). Which means that you will
have to wait till 0.09 probably to play with it out of the box.

- Although we have a TestAWT application, we don't have a TestSwing
application. It would be nice if Graydon could post the sources of the
demos he used for the nice shots at http://people.redhat.com/~graydon/
Hint, hint, ... ;)

Cheers,

Mark

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

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

iD8DBQBAYyOgxVhZCJWr9QwRArb3AJ4umAb19RZedHi2Nlx3NxtpaBsm0ACgiaeT
QcjruGLnTPmZN/briDaXbHQ=
=WwMI
-----END PGP SIGNATURE-----

--=-qyp/aIt79+yZRXkZ1Ioj--




From MAILER-DAEMON Thu Mar 25 13:47:42 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6ZtF-0000J4-VF
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 13:47:41 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6ZqV-0007pj-26
	for classpath@gnu.org; Thu, 25 Mar 2004 13:44:51 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6ZqN-0007nU-6Z
	for classpath@gnu.org; Thu, 25 Mar 2004 13:44:44 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6ZqM-0007n4-FI
	for classpath@gnu.org; Thu, 25 Mar 2004 13:44:42 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B6ZqD-0001cS-00; Thu, 25 Mar 2004 19:44:33 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <mailman.8513.1080228545.26039.classpath@gnu.org>
References: <mailman.8513.1080228545.26039.classpath@gnu.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-CsGIdALymtZaSYeqgRI7"
Message-Id: <1080240273.18716.192.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 25 Mar 2004 19:44:33 +0100
Cc: Thomas <zander@javalobby.org>
Subject: Tests (Was: Classpath post from zander@javalobby.org requires
	approval)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 18:47:39 -0000


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

Hi,

On Thu, 2004-03-25 at 16:29, classpath-owner@gnu.org wrote:
> As list administrator, your authorization is requested for the
> following mailing list posting:

Oops. I believe I hit the spam button. Sorry Thomas.
Hope the rest of our cooperation goes a bit smoother.

________________________________________________________________________
> From: Thomas <zander@javalobby.org>
> To: classpath@gnu.org
> Subject: Tests
> Date: Thu, 25 Mar 2004 16:28:51 +0100
>
> I'm a long time Java programmer (over 5 years now), with a _lot_ of exper=
ience=20
> in quite obscure parts of the libraries.
> As an effect I know of quite some annoying bugs in Suns implementation of=
 the=20
> various base classes (mostly Swing stuff). I am interrested in creating t=
ests=20
> to test for these bugs in the (coming) implementation of the same API in =
G.CP

Very nice! Welcome, welcome!

> With such long experience on Suns JVMs you can guess I looked into there=20
> sources ones or twice. I'm assuming this means you can't accept=20
> implementations of API stuff from me.
> But does this mean I can't create tests? What about APIDocs, and what abo=
ut=20
> simple bugfixes?

Writing tests and documentation is fine. And really appreciated!
The reason we don't accept code from people who have studied other
proprietary implementations is summarized at:
http://www.gnu.org/software/classpath/docs/hacking.html#SEC2

"If it turns out that your code was not developed in a clean room
environment, we could be very embarrassed someday in court. Please don't
let that happen."

As you probably know, creating a a compatible implementation means
writing much code that will look similar. To proof that the similarity
doesn't come from copying another implementation, but because we are
follow the spec so precisely, we use the defense that the people who
wrote it have not looked at any other implementation of those methods
and classes.

If you would like to help with testing then please check out the Mauve
project which we use for much of our testing purposes.
http://sources.redhat.com/mauve/

Also taking an existing free program written in the java language and
trying to make it work with gcj, kaffe or another VM based on classpath
is really appreciated. See the following email for some more explanation
"GNU Classpath 0.08 - How to use it":
http://mail.gnu.org/archive/html/classpath/2004-03/msg00093.html

On the documentation front we are missing a good overview document.
We do already have some nice API documentation (although it can
certainly use more attention for some packages/classes):
http://www.klomp.org/mark/classpath/doc/api/html/

A good overview document should tell you "this is what we have", "this
is how it fits together" and "this is how you use it to create more free
software". Most documentation tells about the proprietary
implementations. And although we try to be as compatible as possible to
make it easy for people to move from a proprietary platform to a free
one, we are not there yet. So what we really need is a document that
describes everything from the point of view of the free implementation
that we have now.

> Please cc answers as I'm not subscribed.
Please subscribe to the list. It makes communication a but easier. I
need to explicitly accept non-subscriber email (darn spam...)

Cheers,

Mark

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

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

iD8DBQBAYyiQxVhZCJWr9QwRAh9sAKClGwXDglgRiO+B0m8e3eqQXGSWxgCgn7ne
CJfSHlEF+dK1O6DjwvC5DWk=
=oECP
-----END PGP SIGNATURE-----

--=-CsGIdALymtZaSYeqgRI7--




From MAILER-DAEMON Thu Mar 25 14:15:04 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6aJk-0006R8-L8
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 14:15:04 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6aJh-0006Pq-9t
	for classpath@gnu.org; Thu, 25 Mar 2004 14:15:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6aJ4-0006EQ-Tm
	for classpath@gnu.org; Thu, 25 Mar 2004 14:14:53 -0500
Received: from [207.189.223.52] (helo=email3.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B6aBQ-0004Eo-TI
	for classpath@gnu.org; Thu, 25 Mar 2004 14:06:29 -0500
Received: (qmail 22947 invoked from network); 25 Mar 2004 19:15:20 -0000
Received: from tf0229.peakpeak.com (HELO fleche.redhat.com) ([204.144.239.229])
	(envelope-sender <tromey@redhat.com>)
	by email3.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 25 Mar 2004 19:15:20 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 3C6344F82D2; Thu, 25 Mar 2004 11:53:37 -0700 (MST)
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
References: <40631624.7060108@uqam.ca>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: With this weapon I can expose fictional characters and bring about
	sweeping reforms!!
Date: 25 Mar 2004 11:53:36 -0700
In-Reply-To: <40631624.7060108@uqam.ca>
Message-ID: <87ptb0u5an.fsf@fleche.redhat.com>
Lines: 68
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: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 19:15:03 -0000

>>>>> "Etienne" == Etienne Gagnon <gagnon.etienne_m@uqam.ca> writes:

Etienne> VM*.java Classes
Etienne> ================

Etienne> As far as I know, SableVM does not need any really "SableVM-specific"
Etienne> .java classes.  It only need *minimal* changes in the "reference"
Etienne> implementation to work.  I can easily imagine other VMs (such JamVM)
Etienne> being in the same situation.

BTW, another thing that came up on irc is that we could share some
code inside the JNI implementation, for instance argument parsing for
JNI_CreateJavaVM.

Etienne> [talking of normal package tree:  would anybody object to moving the
Etienne>   whole tree to an src/ subdirectory, as it should be done in such
Etienne>   a big project?]

Personally I'd prefer no change, since moving stuff around is a pain
with cvs, and since there doesn't seem to be a really big benefit from
it.

Etienne> I would very much like all the VM-specific code moved to VM*.java
Etienne> package-private classes, but these classes should reside in the
Etienne> *normal* package tree, not in a vm/ subdirectory.

Etienne> Grzegorz Prokopski and I are working on a set of m4 macros
Etienne> (that would not require understanding "m4" to be used) to
Etienne> allow minimal customization of VM*.java classes for each VM,
Etienne> while retaining most of the code sharing across all VMs that
Etienne> can work with the default VM*.java setup. [Some VMs, like
Etienne> JikesRVM tend to completely replace some base classes by
Etienne> their own; SableVM does not].

Etienne> The objective: Share as much code between "normal" VMs (that
Etienne> need nothing really special in base classes), and intuitive
Etienne> source file locations.

It does seem to me that most "ordinary" (C-based, Unix-y platform) VMs
could share a lot of this code.

Moving it out of the vm/ subdirectory, I don't know.  It seems like
that would prioritize these VMs over the weirder ones.  Personally I
don't see it as that big of a problem to have the VM* classes in a
separate directory hierarchy.

I talked with Grzegorz a bit about this on irc the other day.  One
question I have is, how are we going to test changes to the VM* code
if the m4 processing step is in place?

Right now, the reference code is just reference code, so we can make
changes to it on a theoretical basis.  This is both good (we can make
it more correct) and bad (we can't test it).  It does imply that
changes to this code have to be tracked by VM implementors and then
integrated into their versions of these classes.

With the m4 scheme, it seems like we would have to test any change to
these classes against all VMs using them.  In other words, the
maintenance burden gets pushed onto all of us, instead of the
particular VM implementors.

Of course the positive aspect here is that bug fixes can be more
immediately shared, and we can actually test the VM* code.  Which is
a big plus.

What do you propose for the testing part of this change?

Tom



From MAILER-DAEMON Thu Mar 25 14:19:36 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6aO8-0007wC-CF
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 14:19:36 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6aO4-0007uv-RS
	for classpath@gnu.org; Thu, 25 Mar 2004 14:19:32 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6aNX-0007mD-Ur
	for classpath@gnu.org; Thu, 25 Mar 2004 14:19:31 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6aNX-0007lr-IY
	for classpath@gnu.org; Thu, 25 Mar 2004 14:18:59 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2PJ0nLL010459;
	Thu, 25 Mar 2004 14:01:48 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032514025920484 ; Thu, 25 Mar 2004 14:02:59 -0500
Received: from glue.info.uqam.ca (glue.info.uqam.ca [132.208.135.95])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2PIxeMT028565; Thu, 25 Mar 2004 13:59:40 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: David Lichteblau <dave@lichteblau.com>
In-Reply-To: <20040325181748.GB2531@lichteblau.com>
References: <40631624.7060108@uqam.ca> <20040325181748.GB2531@lichteblau.com>
Content-Type: text/plain
Message-Id: <1080231502.12776.11.camel@glue>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 25 Mar 2004 11:18:23 -0500
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 19:19:33 -0000

On Thu, 2004-03-25 at 13:17, David Lichteblau wrote:
> Quoting Etienne Gagnon (gagnon.etienne_m@uqam.ca):
> > It would be impractical (or even maybe impossible) to setup a *single*
> > "classpath" installation on a user system, meant to be used by distinct
> > VMs/compilers on this same system; one can simply think of the ever
> > changing VM interface, VM-specific issues, etc.
> 
> While that is currently true, one would hope that the virtual machine
> interface will stabilize over time.  At that point, Classpath developers
> should make sure not to introduce incompatible changes to
> virtual-machine related classes without making a new major release and
> announcing it properly anyway.
> 
> Virtual machine targetting that stable classpath release could then
> share most of the core classes and Distributions like Debian could then
> ship the classpath zip-file, reusing it for all virtual machines
> included.
> 
> The exception are, of course, the VM* classes, which virtual machine
> packages will include.  The VM will put its own customized versions of
> these classes into its bootstrap classpath to override default versions
> (if any) included in the standard classpath installation.

Yes, at some point it might be possible, though given the size of
today's disks - it might not matter that much.

But even such case does not imply that these VM-specific binaries (which
each JVM would have in its bootclasspath) could not come from one
source. Such single source would allow to share almost all of the code
(that is all maintenance, bugfixes and improvements), surrounded by
minimal, compile-time-conditional VM-specific tweaks.

				Grzegorz B. Prokopski





From MAILER-DAEMON Thu Mar 25 14:29:27 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6aXf-0001kh-BB
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 14:29:27 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6aXd-0001k0-9Q
	for classpath@gnu.org; Thu, 25 Mar 2004 14:29:25 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6aX7-0001gX-Ae
	for classpath@gnu.org; Thu, 25 Mar 2004 14:29:24 -0500
Received: from [209.225.28.216] (helo=mxsf16.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6aRk-0000kM-1a
	for classpath@gnu.org; Thu, 25 Mar 2004 14:23:20 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf16.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id
	i2PJF29Y057663; Thu, 25 Mar 2004 14:15:03 -0500 (EST)
	(envelope-from archie@dellroad.org)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id NAA05180;
	Thu, 25 Mar 2004 13:03:15 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2PJ3FdK090669; 
	Thu, 25 Mar 2004 13:03:15 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i2PJ3FrU090668;
	Thu, 25 Mar 2004 13:03:15 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200403251903.i2PJ3FrU090668@arch20m.dellroad.org>
In-Reply-To: <40631624.7060108@uqam.ca>
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Date: Thu, 25 Mar 2004 13:03:15 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 19:29:25 -0000

Etienne Gagnon wrote:
> Build Process
> =============
> 
> Classpath is not meant to live on its own;  it is either meant to be used
> as a class library for a compiler (e.g. jikes), or as a class library for
> a virtual machine (gcj, JikesRVM, SableVM, Kaffe, ...).
> 
> It would be impractical (or even maybe impossible) to setup a *single*
> "classpath" installation on a user system, meant to be used by distinct
> VMs/compilers on this same system; one can simply think of the ever
> changing VM interface, VM-specific issues, etc.

Hmm, not sure I agree.

For example, JC uses a completely stock Classpath installation. JC
includes its own version of certain core classes and these classes
are inserted in the boot classpath in front of glibj.zip. All
Classpath's native libraries are used (or overridden) as-is.

Also, I'm worried that requiring the code associated with VM X
spread across two source trees (the VM's and Classpath) could make
maintenance more difficult.

However, I'm open to this change.. for JC it would just be a no-op.

> The objective:  Share as much code between "normal" VMs (that need nothing
> really special in base classes), and intuitive source file locations.

That's a worthy objective... sounds like an improvement.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Thu Mar 25 15:20:44 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6bLH-0006bs-Ln
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 15:20:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6bLC-0006Zy-MW
	for classpath@gnu.org; Thu, 25 Mar 2004 15:20:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6bKf-0006Nu-HG
	for classpath@gnu.org; Thu, 25 Mar 2004 15:20:36 -0500
Received: from [213.228.0.44] (helo=postfix3-1.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6bKe-0006NK-SI
	for classpath@gnu.org; Thu, 25 Mar 2004 15:20:04 -0500
Received: from kaffe.org (cachan-3-82-66-125-112.fbx.proxad.net
	[82.66.125.112])
	by postfix3-1.free.fr (Postfix) with ESMTP id E4B2BC415B
	for <classpath@gnu.org>; Thu, 25 Mar 2004 21:19:58 +0100 (CET)
Message-ID: <40633EE9.9040103@kaffe.org>
Date: Thu, 25 Mar 2004 21:19:53 +0100
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath List <classpath@gnu.org>
X-Enigmail-Version: 0.76.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig02DECF76BD1D6BD689A7CD36"
Subject: Object serialization and final fields
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 20:20:40 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig02DECF76BD1D6BD689A7CD36
Content-Type: multipart/mixed; boundary="------------040200000706070502000206"

This is a multi-part message in MIME format.
--------------040200000706070502000206
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

Some people has reported failures in kaffe with applications trying to 
deserialize objects containing final fields. Apparently it is authorized 
  in the serialization spec but we cannot rely on 
java.lang.reflect.Field to set them. So our only solution is to bypass 
the protection in java.lang.reflect.Field by creating new native calls 
in ObjectStreamField.

I am proposing the following changes for ObjectStreamField. I don't 
whether it's possible to make a generic change to Field.java so we can 
call private methods in it using native calls.

Regards,

Guilhem.

--------------040200000706070502000206
Content-Type: text/plain;
 name="obj_patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="obj_patch"

Index: java/io/ObjectStreamField.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/ObjectStreamField.java,v
retrieving revision 1.14
diff -u -b -B -r1.14 ObjectStreamField.java
--- java/io/ObjectStreamField.java	26 Feb 2004 07:53:15 -0000	1.14
+++ java/io/ObjectStreamField.java	25 Mar 2004 20:19:43 -0000
@@ -38,9 +38,10 @@
 
 package java.io;
 
+import gnu.java.lang.reflect.TypeSignature;
+
 import java.lang.reflect.Field;
 import java.lang.reflect.Modifier;
-import gnu.java.lang.reflect.TypeSignature;
 import java.security.AccessController;
 import java.security.PrivilegedAction;
 
@@ -64,7 +65,7 @@
   {
     this (field.getName(), field.getType());
     this.field = field;
-    toset = !Modifier.isFinal(field.getModifiers());
+    //toset = !Modifier.isFinal(field.getModifiers());
   }
 
   /**
@@ -353,11 +354,14 @@
     return "ObjectStreamField< " + type + " " + name + " >";
   }
 
+  final private native void setBooleanNative(Object obj, boolean val) 
+    throws IllegalAccessException;
+
   final void setBooleanField(Object obj, boolean val)
   {
     try
       {
-	field.setBoolean(obj, val);
+	setBooleanNative(obj, val);
       }
     catch(IllegalAccessException x)
       {
@@ -365,11 +369,14 @@
       }
   }
   
+  final private native void setByteNative(Object obj, byte val) 
+    throws IllegalAccessException;
+  
   final void setByteField(Object obj, byte val)
   {
     try
       {
-	field.setByte(obj, val);
+	setByteNative(obj, val);
       }
     catch(IllegalAccessException x)
       {
@@ -377,11 +384,14 @@
       }
   }
   
+  final private native void setCharNative(Object obj, char val) 
+    throws IllegalAccessException;
+  
   final void setCharField(Object obj, char val)
   {
     try
       {
-	field.setChar(obj, val);
+	setCharNative(obj, val);
       }
     catch(IllegalAccessException x)
       {
@@ -389,11 +399,14 @@
       }
   }
   
+  final private native void setShortNative(Object obj, short val) 
+    throws IllegalAccessException;
+
   final void setShortField(Object obj, short val)
   {
     try
       {
-	field.setShort(obj, val);
+	setShortNative(obj, val);
       }
     catch(IllegalAccessException x)
       {
@@ -401,11 +414,14 @@
       }
   }
   
+  final private native void setIntNative(Object obj, int val) 
+    throws IllegalAccessException;
+  
   final void setIntField(Object obj, int val)
   {
     try
       {
-	field.setInt(obj, val);
+	setIntNative(obj, val);
       }
     catch(IllegalAccessException x)
       {
@@ -413,11 +429,14 @@
       }
   }
   
+  final private native void setLongNative(Object obj, long val) 
+    throws IllegalAccessException;
+
   final void setLongField(Object obj, long val)
   {
     try
       {
-	field.setLong(obj, val);
+	setLongNative(obj, val);
       }
     catch(IllegalAccessException x)
       {
@@ -425,11 +444,14 @@
       }
   }
   
+  final private native void setFloatNative(Object obj, float val) 
+    throws IllegalAccessException;
+
   final void setFloatField(Object obj, float val)
   {
     try
       {
-	field.setFloat(obj, val);
+	setFloatNative(obj, val);
       }
     catch(IllegalAccessException x)
       {
@@ -437,11 +459,14 @@
       }
   }
   
+  final private native void setDoubleNative(Object obj, double val) 
+    throws IllegalAccessException;
+  
   final void setDoubleField(Object obj, double val)
   {
     try
       {
-	field.setDouble(obj, val);
+	setDoubleNative(obj, val);
       }
     catch(IllegalAccessException x)
       {
@@ -449,11 +474,14 @@
       }
   }
   
+  final private native void setObjectNative(Object obj, Object val) 
+    throws IllegalAccessException;
+  
   final void setObjectField(Object obj, Object val)
   { 
     try
       {
-	field.set(obj, val);
+	setObjectNative(obj, val);
       }
     catch(IllegalAccessException x)
       {

--------------040200000706070502000206--

--------------enig02DECF76BD1D6BD689A7CD36
Content-Type: application/pgp-signature

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

iD8DBQFAYz7uWRk4qbNiTwgRAifsAJsFFV+q5JT3C8Nz92lCtvhqhlBdxQCfVN3u
o3pmfIMQgw2Qy2hKqKkHvNw=
=S/ti
-----END PGP SIGNATURE-----

--------------enig02DECF76BD1D6BD689A7CD36--




From MAILER-DAEMON Thu Mar 25 15:46:55 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6bkd-0004GI-Ii
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 15:46:55 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6bfJ-0002Ya-B7
	for classpath@gnu.org; Thu, 25 Mar 2004 15:41:25 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6bee-0002Ml-BR
	for classpath@gnu.org; Thu, 25 Mar 2004 15:41:16 -0500
Received: from [213.51.128.198] (helo=smtpq3.home.nl)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6bed-0002M6-MZ
	for classpath@gnu.org; Thu, 25 Mar 2004 15:40:43 -0500
Received: from [213.51.128.136] (port=48569 helo=smtp5.home.nl)
	by smtpq3.home.nl with esmtp (Exim 4.30) id 1B6beU-0002GC-2x
	for classpath@gnu.org; Thu, 25 Mar 2004 21:40:34 +0100
Received: from cc68231-a.ensch1.ov.home.nl ([212.120.112.227]:33549
	helo=dumas.thomas.planescape.com)
	by smtp5.home.nl with esmtp (Exim 4.30) id 1B6beQ-0002PS-Vi
	for classpath@gnu.org; Thu, 25 Mar 2004 21:40:31 +0100
From: Thomas Zander <zander@javalobby.org>
To: classpath@gnu.org
Date: Thu, 25 Mar 2004 21:40:46 +0100
User-Agent: KMail/1.6.1
References: <mailman.8513.1080228545.26039.classpath@gnu.org>
	<1080240273.18716.192.camel@elsschot.wildebeest.org>
In-Reply-To: <1080240273.18716.192.camel@elsschot.wildebeest.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200403252140.48269.zander@javalobby.org>
X-AtHome-MailScanner-Information: Please contact support@home.nl for more
	information
X-AtHome-MailScanner: Found to be clean
Subject: Re: Tests (Was: Classpath post from zander@javalobby.org requires
	approval)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 20:46:53 -0000

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 25 March 2004 19:44, Mark Wielaard wrote:
> Writing tests and documentation is fine. And really appreciated!
=2E..
> If you would like to help with testing then please check out the Mauve
> project which we use for much of our testing purposes.
> http://sources.redhat.com/mauve/

I downloaded the snapshot and got it running; I'll try to find out how this=
=20
works and see what I can add. Thanx.
=46irst impression was a bit strange; 70195 of 3581269 tests failed on Suns=
=20
JDK 1.4.2_02...
seems like lots of tests copy-pasted but not finished.

> Also taking an existing free program written in the java language and
> trying to make it work with gcj, kaffe or another VM based on classpath
> is really appreciated.
Hmm; my projects use lots of Swing code; so that seems like a no-go idea=20
for some time to come..
Is the Apache licence considered Free for you guys (I'm really an open=20
source programmer, not a free-software one..).

When I have some time (yeah-right!) I'll try to get my pet-project=20
http://uic.sf.net running. But this requires to setup something like=20
kaffe; I'll see how well this is apt-gettable..

> On the documentation front we are missing a good overview document.
Something like this?:
  You never heard of Suns Java; then here is the documentation that
  introduces you to Java! The Free libraries provided in Gnu Classpath
  can be used as an extensive library to allow any task to be programmed
  in Java.
  As the Gnu Classpath is just a library for the Java language, you will
  want to have a application which can run Java code (called a Runtime
  Environment), as well as a compiler to compile your code to be run by
  anyone that has a Runtime Environment installed as well.
etc.

> We do already have some nice API documentation (although it can
> certainly use more attention for some packages/classes):
> http://www.klomp.org/mark/classpath/doc/api/html/

Editing this is done by editing the sources?
So checking out the sources and posting a diff will allow me to send you=20
updates/fixes etc.
What about images?  I suggested to the Sun people at one time that things=20
like the rotate(double rad) should have an image which displays the=20
rotation.  This is needed since the Graphics object has a coordinate=20
system which is opposite to the one you learned in math school.. =20
Classical programmers mistake (which IMO means bad docu)

> > Please cc answers as I'm not subscribed.
>
> Please subscribe to the list.
Just did.

=2D --=20
Thomas
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAY0POCojCW6H2z/QRAlBRAJ9qBX/Fcye9g4a/mVR2lu4WZR/3YQCdGTVA
O1nKy7ewk6P4h+YRZZrVBa8=3D
=3Dg0T0
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Thu Mar 25 15:59:29 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6bwn-0007ay-Bb
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 15:59:29 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6bwl-0007aM-8h
	for classpath@gnu.org; Thu, 25 Mar 2004 15:59:27 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6boY-0005hO-Du
	for classpath@gnu.org; Thu, 25 Mar 2004 15:51:29 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6boX-0005ex-Rd
	for classpath@gnu.org; Thu, 25 Mar 2004 15:50:57 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.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, 25 Mar 2004 21:50:31 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADBDE@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Classpath build process and VM-specific issues
Thread-Index: AcQSl1gGy3bS9ZU9Saeu0zkquQMU8wAE0cXw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Lichteblau" <dave@lichteblau.com>,
	"GNU Classpath" <classpath@gnu.org>
Cc: 
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 20:59:28 -0000

David Lichteblau wrote:
> BTW, on the topic of VM* classes: Has there been agreement on
> java.lang.VMClass?  The proposal was to make its methods static (and
> possibly add an "Object vmdata" field to java.lang.Class instead).

I don't think anybody objected to this proposal. I'd definitely would
like the vmdata field though.

Regards,
Jeroen



From MAILER-DAEMON Thu Mar 25 16:02:05 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6bzJ-0008MA-2l
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 16:02:05 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6bzF-0008Ko-BR
	for classpath@gnu.org; Thu, 25 Mar 2004 16:02:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6boW-0005gZ-6C
	for classpath@gnu.org; Thu, 25 Mar 2004 15:51:27 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6boV-0005ex-HI
	for classpath@gnu.org; Thu, 25 Mar 2004 15:50:55 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.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, 25 Mar 2004 21:48:58 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADBDD@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Classpath build process and VM-specific issues
Thread-Index: AcQSk6CjJLfeqernQvq5X5t/hEkmtQAFgfvw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Etienne Gagnon" <gagnon.etienne_m@uqam.ca>,
	"GNU Classpath" <classpath@gnu.org>
Cc: 
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 21:02:01 -0000

Etienne Gagnon wrote:
> Grzegorz Prokopski and I are working on a set of m4 macros (that would
> not require understanding "m4" to be used) to allow minimal=20
> customization of VM*.java classes for each VM, while retaining most of
> the code sharing across all VMs that can work with the default
VM*.java
> setup.

My vote is firmly against introducing macros. Unless it is done in such
a way that the resulting code is still valid Java code, so that
Classpath can still be compiled without running m4 or any of the build
scripts.

Regards,
Jeroen



From MAILER-DAEMON Thu Mar 25 16:26:45 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6cN4-0008Da-SS
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 16:26:38 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6cN2-0008C6-0J
	for classpath@gnu.org; Thu, 25 Mar 2004 16:26:36 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6cMU-0007zT-49
	for classpath@gnu.org; Thu, 25 Mar 2004 16:26:34 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6cMT-0007xO-Ox
	for classpath@gnu.org; Thu, 25 Mar 2004 16:26:01 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2PLAVKx027962;
	Thu, 25 Mar 2004 16:10:42 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032516115201277 ; Thu, 25 Mar 2004 16:11:52 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2PL69MT012145; Thu, 25 Mar 2004 16:06:09 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from egagnon by perseval.info.uqam.ca with local (Exim 4.30)
	id 1B6c3E-0007Gf-TM; Thu, 25 Mar 2004 16:06:08 -0500
Date: Thu, 25 Mar 2004 16:06:08 -0500
To: Jeroen Frijters <jeroen@sumatra.nl>
Message-ID: <20040325210608.GA27906@perseval.info.uqam.ca>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADBDD@LEMBU.sumatrasoftware.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADBDD@LEMBU.sumatrasoftware.com>
User-Agent: Mutt/1.5.5.1+cvs20040105i
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 21:26:37 -0000

On Thu, Mar 25, 2004 at 09:48:58PM +0100, Jeroen Frijters wrote:
> Etienne Gagnon wrote:
> My vote is firmly against introducing macros. Unless it is done in such
> a way that the resulting code is still valid Java code, so that
> Classpath can still be compiled without running m4 or any of the build
> scripts.

The m4 macros would only reside in the VM*.java classes, not in any other
class.  Firthermore, if we keep the vm/ tree around, the m4 stuff would
only be in the vm/ tree, so any VM that does not want to use the m4 system
(GNU m4 is highly portable and Free!!!) could get Classpath to work.

We could also make sure that "make dist" builds a .tar.gz with "vanilla"
VM.java files that do not need m4 to build.  This is what "make dist"
does in SableVM.

Note that the objective is:
1- *minimal* macro stuff.
2- Maximal sharing across "ordinary" (C-based, Unix-y platform) VMs.

Currently, cvs co of Classpath *DOES* require auto* tools and m4.


Would that suit you?



Etienne

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Thu Mar 25 16:55:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6coq-0002Od-Dy
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 16:55:20 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6con-0002Nw-Ri
	for classpath@gnu.org; Thu, 25 Mar 2004 16:55:17 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6coH-0002F9-G0
	for classpath@gnu.org; Thu, 25 Mar 2004 16:55:16 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6coH-0002EE-5o
	for classpath@gnu.org; Thu, 25 Mar 2004 16:54:45 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.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, 25 Mar 2004 22:54:33 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADBDF@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Classpath build process and VM-specific issues
Thread-Index: AcQSr8VnCyTF4bBARtKPqvZ6JUUSKQAA2D0A
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Etienne Gagnon" <gagnon.etienne_m@uqam.ca>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 21:55:18 -0000

Etienne Gagnon wrote:
> The m4 macros would only reside in the VM*.java classes, not=20
> in any other class.

I understand, but I'd still rather not have the additional dependency.

> Currently, cvs co of Classpath *DOES* require auto* tools and m4.

No, if you somehow get a Configuration.java (e.g. manually create it),
you can build Classpath by simply running jikes (or another Java
compiler).

> Would that suit you?

It doesn't really matter to me. I don't mind maintaining my own copy of
the VM classes. However, I do think it raises the barrier to entry yet
again. And that is not good. We want to make the project more
accessible, not less.

Regards,
Jeroen



From MAILER-DAEMON Thu Mar 25 18:12:22 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6e1N-0007fV-R6
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 18:12:21 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6e1L-0007fI-0J
	for classpath@gnu.org; Thu, 25 Mar 2004 18:12:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6e1J-0007f5-Mn
	for classpath@gnu.org; Thu, 25 Mar 2004 18:12:18 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6e1J-0007ez-By
	for classpath@gnu.org; Thu, 25 Mar 2004 18:12:17 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B6e1D-0002JD-00
	for <classpath@gnu.org>; Fri, 26 Mar 2004 00:12:11 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-2oNXS6PCk+4bFVYejDCY"
Message-Id: <1080256330.18716.457.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 26 Mar 2004 00:12:11 +0100
Subject: As the Classpath Turns - Introducing Planet Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 23:12:19 -0000


--=-2oNXS6PCk+4bFVYejDCY
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi all,

Some of us saw each other in Belgium last month, some of us meet on irc
[*] from time to time and sometimes we have huge cross-mailinglist
discussions. Now we also have a "Planet" to keep each other informed
about interesting stuff!

I have setup "Planet Classpath": http://classpath.wildebeest.org/planet/
It aggregates some of the diaries written by GNU Classpath, gcj, Kaffe,
IKVM.NET, java-gnome, Debian java, Jikes RVM and SableVM hackers.
Not always relevant, but always fun to read!

I hope it will give a feeling of working together with people on a
bigger project (there is so much non-Classpath work that is still very
relevant to the Classpath community!) Hope you like it.

If you work on something Classpath (or freevm) related and write about
it from time to time please let me know and I'll add you to the planet.
It doesn't have to be "100% pure" Classpath. It is also nice to see what
other things people find interesting.=20
But I believe writing a movie review from time to time is mandatory :)

Cheers,

Mark

[*] #classpath on irc.gnu.org

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

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

iD8DBQBAY2dKxVhZCJWr9QwRAj03AKCsvdDMkAEhVS9C2Q3oitQ+DDtnjwCeP0NU
jdIG4PRp5oGNVDgjtjGBXqQ=
=QZg+
-----END PGP SIGNATURE-----

--=-2oNXS6PCk+4bFVYejDCY--




From MAILER-DAEMON Thu Mar 25 18:48:13 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6ea5-0000vx-Ch
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 18:48:13 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6eZy-0000sQ-NW
	for classpath@gnu.org; Thu, 25 Mar 2004 18:48:06 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6eZO-0000ga-Ve
	for classpath@gnu.org; Thu, 25 Mar 2004 18:48:02 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6eZO-0000gD-DF
	for classpath@gnu.org; Thu, 25 Mar 2004 18:47:30 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2PNZFL3019014;
	Thu, 25 Mar 2004 18:35:30 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032518364015056 ; Thu, 25 Mar 2004 18:36:40 -0500
Received: from glue.info.uqam.ca (glue.info.uqam.ca [132.208.135.95])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2PNVIHC013393; Thu, 25 Mar 2004 18:31:18 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADBDF@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADBDF@LEMBU.sumatrasoftware.com>
Content-Type: text/plain
Message-Id: <1080247781.13619.37.camel@glue>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 25 Mar 2004 15:49:42 -0500
Content-Transfer-Encoding: 7bit
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2004 23:48:08 -0000

On Thu, 2004-03-25 at 16:54, Jeroen Frijters wrote:
> > Would that suit you?
> 
> It doesn't really matter to me. I don't mind maintaining my own copy of
> the VM classes. However, I do think it raises the barrier to entry yet
> again. And that is not good. We want to make the project more
> accessible, not less.

To run autogen.sh you need m4 anyway. And we can make sure that once the
resulting tarball is created - there's no need for m4 anymore (besides
this one class you've mentioned).

The important thing here is also what exactly we think of when we say
"macro". This is very ambiguous and many (me including) have bad
thoughts when reminded about macros/#defines etc. like in C
preprocessor. (macro hell? ;-)

The idea, as I see it, is not to scatter the code with macros. We have
already done this. SableVM would be nightmare to maintain if we didn't
have m4 macros. BUT. There's quite a big BUT here. *These* macros
importantly improve readability of the source. In particular, they
were designed so that they don't interfere with normal C syntax, most
of their usages look just like any C code, and for the non-introduced
people, the macros we have may just be nonexistant at all.

If you tried to take a look at the parts of my FOSDEM presentation
where I was also showing some examples of how we use macros:

	http://gadek.debian.net/FOSDEM/FOSDEM-Prokopski-SableVM.pdf

Now - I don't think we want that advanced m4 usage in Classpath because
it doesn't seem needed, but we'll try to make it as nice and
userfriendly as possible. Surely it should be about just as easy to read
as any other .java file. I hope to be able to show you a working
implementation in not too distant future.

Cheers,

					Grzegorz B. Prokopski





From MAILER-DAEMON Thu Mar 25 19:27:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6fCL-00032B-Nd
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 19:27:45 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6fCB-0002z7-Cl
	for classpath@gnu.org; Thu, 25 Mar 2004 19:27:35 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6f9Z-0002At-2c
	for classpath@gnu.org; Thu, 25 Mar 2004 19:25:24 -0500
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6f9X-00029F-R2
	for classpath@gnu.org; Thu, 25 Mar 2004 19:24:52 -0500
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i2Q0OYTr029281;
	Fri, 26 Mar 2004 10:24:34 +1000 (EST)
Message-Id: <200403260024.i2Q0OYTr029281@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: Message from Archie Cobbs <archie@dellroad.org> of "Thu,
	25 Mar 2004 13:03:15 CST."
	<200403251903.i2PJ3FrU090668@arch20m.dellroad.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 26 Mar 2004 10:24:34 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.39
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>, crawley@dstc.edu.au
Subject: Re: Classpath build process and VM-specific issues 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Mar 2004 00:27:43 -0000


Archie Cobb wrote:
> Etienne Gagnon wrote:
> > Build Process
> > =============
> > 
> > Classpath is not meant to live on its own;  it is either meant to be used
> > as a class library for a compiler (e.g. jikes), or as a class library for
> > a virtual machine (gcj, JikesRVM, SableVM, Kaffe, ...).
> > 
> > It would be impractical (or even maybe impossible) to setup a *single*
> > "classpath" installation on a user system, meant to be used by distinct
> > VMs/compilers on this same system; one can simply think of the ever
> > changing VM interface, VM-specific issues, etc.
> 
> Hmm, not sure I agree.
> 
> For example, JC uses a completely stock Classpath installation. JC
> includes its own version of certain core classes and these classes
> are inserted in the boot classpath in front of glibj.zip. All
> Classpath's native libraries are used (or overridden) as-is.

Same for Kissme.  It currently uses a bog standard Classpath glibj.zip
file, and overrides roughly a dozen Java classes with its own versions.
IIRC, the overridden files are nearly all in the vm/reference tree.'
As with JC, Kissme puts its override classes in a ZIP file on the
boot classpath ahead of glibj.zip.

> Also, I'm worried that requiring the code associated with VM X
> spread across two source trees (the VM's and Classpath) could make
> maintenance more difficult.

I think I agree.  The current setup is more convenient for me.  The
alternative would require me to maintain a complete vm-specific tree
in the Kissme source base ... and manually merge in changes from the
Classpath reference tree.

> However, I'm open to this change.. for JC it would just be a no-op.

Same for Kissme ... at least for the proposed change to the Classpath 
configure.ac file.

> > The objective:  Share as much code between "normal" VMs (that need nothing
> > really special in base classes), and intuitive source file locations.
> 
> That's a worthy objective... 

Agreed.  However, for Kissme (and JC?) code sharing is pretty much
complete as it is.  And I don't see anything counter-intuitive about
Classpath's current directory structure.  

The only criticism I'd make of the current Classpath file structure is
that I don't think there should be ANY VM specific code in the tree ...
or in the configure.ac file.  (Obviously, I don't count the Classpath
vm/reference classes or jni/cni native libraries as VM specific.)

-- Steve




From MAILER-DAEMON Thu Mar 25 19:38:08 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6fJU-0005q4-Cf
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 19:35:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6fJJ-0005od-31
	for classpath@gnu.org; Thu, 25 Mar 2004 19:34:57 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6fIk-0005XH-Gw
	for classpath@gnu.org; Thu, 25 Mar 2004 19:34:53 -0500
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6fHM-0004v9-Iv
	for classpath@gnu.org; Thu, 25 Mar 2004 19:32:56 -0500
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i2Q0WhTr029932;
	Fri, 26 Mar 2004 10:32:43 +1000 (EST)
Message-Id: <200403260032.i2Q0WhTr029932@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Thomas Zander <zander@javalobby.org>
In-Reply-To: Message from Thomas Zander <zander@javalobby.org> of "Thu,
	25 Mar 2004 21:40:46 +0100." <200403252140.48269.zander@javalobby.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 26 Mar 2004 10:32:43 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.39
Cc: crawley@dstc.edu.au, classpath@gnu.org
Subject: Re: Tests (Was: Classpath post from zander@javalobby.org requires
	approval) 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Mar 2004 00:34:58 -0000


> First impression was a bit strange; 70195 of 3581269 tests failed on Suns 
> JDK 1.4.2_02... seems like lots of tests copy-pasted but not finished.

IIRC, the bulk of the tests, (including the failing tests) are in a
single file that tries to exercise Unicode support.  I looked it once,
and concluded that the problem was that it was targeting an old 
Unicode codeset.

I've commented out the Unicode testcase file in the key file I use for
Kissme regression testing.  The result is roughly 150 failing tests out
of roughly 11000.

-- Steve





From MAILER-DAEMON Thu Mar 25 20:14:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6fvV-0000mK-UZ
	for mharc-classpath@gnu.org; Thu, 25 Mar 2004 20:14:25 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6fvS-0000lx-Sa
	for classpath@gnu.org; Thu, 25 Mar 2004 20:14:22 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6fqy-0000Bw-GN
	for classpath@gnu.org; Thu, 25 Mar 2004 20:10:16 -0500
Received: from [217.8.192.20] (helo=interway.li)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6fpu-0008Kk-Nh
	for classpath@gnu.org; Thu, 25 Mar 2004 20:08:38 -0500
Received: from [217.8.218.65] (HELO [192.168.1.33])
	by interway.li (CommuniGate Pro SMTP 4.1.8)
	with ESMTP id 1434079; Fri, 26 Mar 2004 02:08:32 +0100
From: Sascha Brawer <brawer@dandelis.ch>
To: Thomas Zander <zander@javalobby.org>
Date: Fri, 26 Mar 2004 02:08:30 +0100
Message-Id: <20040326010830.1931@smtp.mail.ch.easynet.net>
In-Reply-To: <200403252140.48269.zander@javalobby.org>
References: <200403252140.48269.zander@javalobby.org>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Tests
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Mar 2004 01:14:23 -0000

Hi Thomas

Thanks for your interest in writing test cases! Just in case you had
absolutely no preference about where to start, I'd propose
javax.swing.tree and javax.swing.table. IMHO, unit tests for these
classes would be really helpful for making sure that a prospective
implementation in Classpath actually works. And since they are model
(instead of view) classes, tests can be written in the same way as for
any other non-visual class.

But this is just a suggestion, you're of course free to do anything that
you want...

Best regards,

-- Sascha

Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/ 





From MAILER-DAEMON Fri Mar 26 05:13:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6oL7-00032S-Kh
	for mharc-classpath@gnu.org; Fri, 26 Mar 2004 05:13:25 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6oL5-00031p-DG
	for classpath@gnu.org; Fri, 26 Mar 2004 05:13:23 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6oL4-00031d-50
	for classpath@gnu.org; Fri, 26 Mar 2004 05:13:22 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6oHP-0002G7-9d
	for classpath@gnu.org; Fri, 26 Mar 2004 05:09:35 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B6oGw-0003dm-00; Fri, 26 Mar 2004 11:09:06 +0100
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <87wu58qpmw.fsf@fleche.redhat.com>
References: <1080236148.18716.161.camel@elsschot.wildebeest.org>
	<200403251846.27969.konqueror@gmx.de>
	<87wu58qpmw.fsf@fleche.redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-wvc+KhDYAThBSVSs2SJk"
Message-Id: <1080295746.18716.463.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 26 Mar 2004 11:09:06 +0100
Cc: classpath@gnu.org, java-patches@gcc.gnu.org,
	Michael Koch <konqueror@gmx.de>
Subject: Re: gtk-peer compile fixes for gcc-2.95
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Mar 2004 10:13:23 -0000


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

Hi,

On Fri, 2004-03-26 at 04:00, Tom Tromey wrote:
> >>>>> "Michael" =3D=3D Michael Koch <konqueror@gmx.de> writes:
>=20
> Michael> We had this discussion on irc lately because I got a report
> Michael> about this from a user. Tromey said the best solution would
> Michael> be to pass -std=3Dc99 (or similar) to gcc instead of changing
> Michael> the source code. Its a discussion C89 vs. C99.
>=20
> Actually I think I'd prefer we change the source and use -std=3Dc89.
> I'm assuming C89 is what Classpath native code is supposed to be
> written in.

I don't believe it is really designed for a particular C-dialect. But it
would be nice if it is compilable with gcc-2.95. It seems gcc-2.95
supports -std=3Dc9x so we can switch to that. But I cannot figure out how
to convince Autoconf that I want that dialect used for my C files. Clues
anybody?

Thanks,

Mark

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

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

iD8DBQBAZAFAxVhZCJWr9QwRAjVtAJ9gq0iH+v/DGOAP+MdH69D7Ez/0+ACfYUr9
YeytQwtyT7cvEz0mYl99vz0=
=AIye
-----END PGP SIGNATURE-----

--=-wvc+KhDYAThBSVSs2SJk--




From MAILER-DAEMON Fri Mar 26 05:30:20 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6obU-0007bL-3Y
	for mharc-classpath@gnu.org; Fri, 26 Mar 2004 05:30:20 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6obQ-0007ac-Hu
	for classpath@gnu.org; Fri, 26 Mar 2004 05:30:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6oan-0007QT-F2
	for classpath@gnu.org; Fri, 26 Mar 2004 05:30:08 -0500
Received: from [212.6.122.106] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6oam-0007QF-T8
	for classpath@gnu.org; Fri, 26 Mar 2004 05:29:37 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-074.ewetel.net
	[80.228.94.74])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id i2QATDMN011999;
	Fri, 26 Mar 2004 11:29:14 +0100 (MET)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B6oaO-0002EX-00; Fri, 26 Mar 2004 11:29:13 +0100
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>, tromey@redhat.com
Date: Fri, 26 Mar 2004 11:28:55 +0100
User-Agent: KMail/1.5.4
References: <1080236148.18716.161.camel@elsschot.wildebeest.org>
	<87wu58qpmw.fsf@fleche.redhat.com>
	<1080295746.18716.463.camel@elsschot.wildebeest.org>
In-Reply-To: <1080295746.18716.463.camel@elsschot.wildebeest.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Disposition: inline
Message-Id: <200403261128.55981.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail1.ewetel.de id
	i2QATDMN011999
Cc: classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: gtk-peer compile fixes for gcc-2.95
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Mar 2004 10:30:17 -0000

Am Freitag, 26. M=E4rz 2004 11:09 schrieb Mark Wielaard:
> Hi,
>
> On Fri, 2004-03-26 at 04:00, Tom Tromey wrote:
> > >>>>> "Michael" =3D=3D Michael Koch <konqueror@gmx.de> writes:
> >
> > Michael> We had this discussion on irc lately because I got a
> > report Michael> about this from a user. Tromey said the best
> > solution would Michael> be to pass -std=3Dc99 (or similar) to gcc
> > instead of changing Michael> the source code. Its a discussion C89
> > vs. C99.
> >
> > Actually I think I'd prefer we change the source and use -std=3Dc89.
> > I'm assuming C89 is what Classpath native code is supposed to be
> > written in.
>
> I don't believe it is really designed for a particular C-dialect. But
> it would be nice if it is compilable with gcc-2.95. It seems gcc-2.95
> supports -std=3Dc9x so we can switch to that. But I cannot figure out
> how to convince Autoconf that I want that dialect used for my C
> files. Clues anybody?

Added AM_CFLAGS=3D-std=3Dc89 in the Makefile.am is one option but it woul=
d=20
mean we need to add it to all Makefile.am in all dirs with native code.

CFLAGS=3D$CFLAGS -std=3Dc89
AC_SUBST(CFLAGS)

This in configure.ac is another option.

The only problem I see is that we probably support non-gcc compilers=20
that dont support this flag. What will they do when they see it ?


Michael




From MAILER-DAEMON Fri Mar 26 09:29:21 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6rWn-0004Rh-J1
	for mharc-classpath@gnu.org; Fri, 26 Mar 2004 08:37:41 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6qME-0001yc-K3
	for classpath@gnu.org; Fri, 26 Mar 2004 07:22:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6q2Q-0007qj-CH
	for classpath@gnu.org; Fri, 26 Mar 2004 07:02:15 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6piu-00055R-Qo
	for classpath@gnu.org; Fri, 26 Mar 2004 06:42:05 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B6piO-0003oK-00; Fri, 26 Mar 2004 12:41:32 +0100
From: Mark Wielaard <mark@klomp.org>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200403261128.55981.konqueror@gmx.de>
References: <1080236148.18716.161.camel@elsschot.wildebeest.org>
	<87wu58qpmw.fsf@fleche.redhat.com>
	<1080295746.18716.463.camel@elsschot.wildebeest.org>
	<200403261128.55981.konqueror@gmx.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-PRisHyeNz7g+ZNhvpgkW"
Message-Id: <1080301292.18716.480.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 26 Mar 2004 12:41:32 +0100
Cc: tromey@redhat.com, classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: gtk-peer compile fixes for gcc-2.95
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Mar 2004 13:37:39 -0000


--=-PRisHyeNz7g+ZNhvpgkW
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

On Fri, 2004-03-26 at 11:28, Michael Koch wrote:
> Am Freitag, 26. M=E4rz 2004 11:09 schrieb Mark Wielaard:
> > I don't believe it is really designed for a particular C-dialect. But
> > it would be nice if it is compilable with gcc-2.95. It seems gcc-2.95
> > supports -std=3Dc9x so we can switch to that. But I cannot figure out
> > how to convince Autoconf that I want that dialect used for my C
> > files. Clues anybody?
>=20
> Added AM_CFLAGS=3D-std=3Dc89 in the Makefile.am is one option but it woul=
d=20
> mean we need to add it to all Makefile.am in all dirs with native code.
>=20
> CFLAGS=3D$CFLAGS -std=3Dc89
> AC_SUBST(CFLAGS)
>=20
> This in configure.ac is another option.
>=20
> The only problem I see is that we probably support non-gcc compilers=20
> that dont support this flag. What will they do when they see it ?

Precisely. We seem to already just override CFLAGS in configure.ac for
the braindead Red Hat gcc-2.96 compiler that generates wrong code for
-O2... So maybe we should just give up on other compilers then the gcc
variants out there. But I had hoped Autoconf would make it easy to
specify the wanted C dialect.

Cheers,

Mark

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

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

iD8DBQBAZBbqxVhZCJWr9QwRAjx1AJ98zDOhBeeOyGFNGuWtmqPaZCYF4wCdHiit
PfUeziHG+JBge4wO+8kxG70=
=GVyy
-----END PGP SIGNATURE-----

--=-PRisHyeNz7g+ZNhvpgkW--




From MAILER-DAEMON Fri Mar 26 09:46:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6sB7-0002mT-BK
	for mharc-classpath@gnu.org; Fri, 26 Mar 2004 09:19:21 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6sAy-0002lF-VM
	for classpath@gnu.org; Fri, 26 Mar 2004 09:19:12 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6sAR-0002ci-Mi
	for classpath@gnu.org; Fri, 26 Mar 2004 09:19:10 -0500
Received: from [80.91.224.249] (helo=main.gmane.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6ryj-00006G-59
	for classpath@gnu.org; Fri, 26 Mar 2004 09:06:33 -0500
Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian))
	id 1B6ryZ-0005pY-00
	for <classpath@gnu.org>; Fri, 26 Mar 2004 15:06:23 +0100
Received: from inet-nc01-o.oracle.com ([148.87.1.170])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <classpath@gnu.org>; Fri, 26 Mar 2004 15:06:23 +0100
Received: from rmathew by inet-nc01-o.oracle.com with local (Gmexim 0.1
	(Debian)) id 1AlnuQ-0007hv-00
	for <classpath@gnu.org>; Fri, 26 Mar 2004 15:06:23 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: classpath@gnu.org
From: Ranjit Mathew <rmathew@hotmail.com>
Date: Fri, 26 Mar 2004 19:35:36 +0530
Lines: 20
Message-ID: <406438B0.3080201@hotmail.com>
References: <1080256330.18716.457.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: inet-nc01-o.oracle.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
	rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
In-Reply-To: <1080256330.18716.457.camel@elsschot.wildebeest.org>
Sender: news <news@sea.gmane.org>
Subject: Re: As the Classpath Turns - Introducing Planet Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Mar 2004 14:19:14 -0000

Mark Wielaard wrote:
> I have setup "Planet Classpath": http://classpath.wildebeest.org/planet/
> It aggregates some of the diaries written by GNU Classpath, gcj, Kaffe,
> IKVM.NET, java-gnome, Debian java, Jikes RVM and SableVM hackers.
> Not always relevant, but always fun to read!

You bet!

Thanks a lot.

I would like to point out that Tom (Tromey)'s blog
URL is incorrect ("http://localhost/...").

Thanks,
Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/




From MAILER-DAEMON Fri Mar 26 10:50:07 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6tah-0007X1-4Y
	for mharc-classpath@gnu.org; Fri, 26 Mar 2004 10:49:51 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6tXw-0006zm-3W
	for classpath@gnu.org; Fri, 26 Mar 2004 10:47:00 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6r78-00083N-TX
	for classpath@gnu.org; Fri, 26 Mar 2004 08:11:42 -0500
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6r78-000831-19
	for classpath@gnu.org; Fri, 26 Mar 2004 08:11:10 -0500
Received: from [10.0.0.2] (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i2QDB2Sm004351; Fri, 26 Mar 2004 08:11:03 -0500 (EST)
From: "C. Brian Jones" <cbj@gnu.org>
To: tromey@redhat.com
In-Reply-To: <87ptb0u5an.fsf@fleche.redhat.com>
References: <40631624.7060108@uqam.ca>  <87ptb0u5an.fsf@fleche.redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-B73PBg6GxM9lhKQuKI7L"
Message-Id: <1080306662.18936.2.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Fri, 26 Mar 2004 08:11:02 -0500
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Mar 2004 15:49:46 -0000


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

On Thu, 2004-03-25 at 13:53, Tom Tromey wrote:
> >>>>> "Etienne" =3D=3D Etienne Gagnon <gagnon.etienne_m@uqam.ca> writes:
>=20
> Etienne> [talking of normal package tree:  would anybody object to moving=
 the
> Etienne>   whole tree to an src/ subdirectory, as it should be done in su=
ch
> Etienne>   a big project?]
>=20
> Personally I'd prefer no change, since moving stuff around is a pain
> with cvs, and since there doesn't seem to be a really big benefit from
> it.

Assuming savannah moves to arch or subversion we should be able to move
directories around easily at that point.  CVS makes it a bit of a hassle
as well as losing all historical data unless you get a CVS admin to do
it on the server side.

Brian
--=20
Brian Jones <cbj@gnu.org>

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

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

iD8DBQBAZCvkcEcmdY33uzYRAgyGAJ9jPHWOO8FIPVL5fBl/AY+BHCKPUACfcsq0
42CdGqVga1EoRVXceaotcNg=
=zpys
-----END PGP SIGNATURE-----

--=-B73PBg6GxM9lhKQuKI7L--




From MAILER-DAEMON Fri Mar 26 13:55:03 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B6wTv-0005Xt-EQ
	for mharc-classpath@gnu.org; Fri, 26 Mar 2004 13:55:03 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B6wTs-0005X3-Ku
	for classpath@gnu.org; Fri, 26 Mar 2004 13:55:00 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B6wTL-0005SG-1u
	for classpath@gnu.org; Fri, 26 Mar 2004 13:54:59 -0500
Received: from [64.4.37.84] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6wTK-0005S9-LE
	for classpath@gnu.org; Fri, 26 Mar 2004 13:54:26 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Fri, 26 Mar 2004 10:54:20 -0800
Received: from 195.224.225.50 by by10fd.bay10.hotmail.msn.com with HTTP;
	Fri, 26 Mar 2004 18:54:19 GMT
X-Originating-IP: [195.224.225.50]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: gadek@debian.org, dave@lichteblau.com
Bcc: 
Date: Fri, 26 Mar 2004 18:54:19 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY10-F84fYUimAxP9Z000169cd@hotmail.com>
X-OriginalArrivalTime: 26 Mar 2004 18:54:20.0072 (UTC)
	FILETIME=[BF059280:01C41363]
Cc: classpath@gnu.org
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Mar 2004 18:55:01 -0000

Hmmm,

To be honest, I can't see the point in adding yet another level.  The VM 
classes aren't that many or very big so it's not a big deal if most of the 
code is duplicated.  You can get carried away with abstraction :)  How many 
times have you had to preprocess a file to understand _exactly_ what it was 
doing when chasing a bug?  I don't want to have to do this with the VM 
classes.

I vote to leave it like it is.

Rob.

----Original Message Follows----
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: David Lichteblau <dave@lichteblau.com>
CC: GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
Date: Thu, 25 Mar 2004 11:18:23 -0500

On Thu, 2004-03-25 at 13:17, David Lichteblau wrote:
 > Quoting Etienne Gagnon (gagnon.etienne_m@uqam.ca):
 > > It would be impractical (or even maybe impossible) to setup a *single*
 > > "classpath" installation on a user system, meant to be used by distinct
 > > VMs/compilers on this same system; one can simply think of the ever
 > > changing VM interface, VM-specific issues, etc.
 >
 > While that is currently true, one would hope that the virtual machine
 > interface will stabilize over time.  At that point, Classpath developers
 > should make sure not to introduce incompatible changes to
 > virtual-machine related classes without making a new major release and
 > announcing it properly anyway.
 >
 > Virtual machine targetting that stable classpath release could then
 > share most of the core classes and Distributions like Debian could then
 > ship the classpath zip-file, reusing it for all virtual machines
 > included.
 >
 > The exception are, of course, the VM* classes, which virtual machine
 > packages will include.  The VM will put its own customized versions of
 > these classes into its bootstrap classpath to override default versions
 > (if any) included in the standard classpath installation.

Yes, at some point it might be possible, though given the size of
today's disks - it might not matter that much.

But even such case does not imply that these VM-specific binaries (which
each JVM would have in its bootclasspath) could not come from one
source. Such single source would allow to share almost all of the code
(that is all maintenance, bugfixes and improvements), surrounded by
minimal, compile-time-conditional VM-specific tweaks.

				Grzegorz B. Prokopski




_______________________________________________
Classpath mailing list
Classpath@gnu.org
http://mail.gnu.org/mailman/listinfo/classpath

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger




From MAILER-DAEMON Fri Mar 26 18:57:34 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B71Cg-00076o-Fq
	for mharc-classpath@gnu.org; Fri, 26 Mar 2004 18:57:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B71Ca-00075e-Uz
	for classpath@gnu.org; Fri, 26 Mar 2004 18:57:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B71C4-0006yU-1H
	for classpath@gnu.org; Fri, 26 Mar 2004 18:57:28 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B71C3-0006yP-Qc
	for classpath@gnu.org; Fri, 26 Mar 2004 18:56:55 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i2QNuiq116624; Fri, 26 Mar 2004 18:56:44 -0500
Received: from meriadoc.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004)
	with ESMTP id i2QNuiA113842; Fri, 26 Mar 2004 18:56:44 -0500
Received: from watson.ibm.com (bilbo.watson.ibm.com [9.2.32.197])
	by meriadoc.watson.ibm.com (8.11.6/8.11.6/2001/12/13) with ESMTP id
	i2QNuhZ07395; Fri, 26 Mar 2004 18:56:43 -0500
Message-ID: <4064C33B.4080105@watson.ibm.com>
Date: Fri, 26 Mar 2004 18:56:43 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: it, en-us, en
MIME-Version: 1.0
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
References: <40631624.7060108@uqam.ca>
In-Reply-To: <40631624.7060108@uqam.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Mar 2004 23:57:29 -0000

Etienne Gagnon wrote:
> It would be impractical (or even maybe impossible) to setup a *single*
> "classpath" installation on a user system, meant to be used by distinct
> VMs/compilers on this same system; 

I have a counterexample.  I just used /usr/local/classpath on my 
workstation to build JikesRVM (CVS head) and to run JamVM 1.1.1.

> So, I suggest to change the "configure.ac" to force "./configure" to
> require a "--with-vm=xxx" option.  In other words, there would not
> be a "default" Classpath configuration.  The motivation is that when
> a user builds a Classpath version, he intends to use it in some
> context.  There is no default set of options that would work for
> all possible uses of Classpath.  In fact, each possible "default"
> configuration would favor one VM or one compiler over the others.

I oppose this change on software engineering grounds.  I don't like 
the idea of Classpath having knowledge about particular VMs and what 
they need.  I see your point that different VMs may need different 
Classpath config flag combinations -- maybe I was just lucky that 
JamVM and Jikes RVM had compatible needs -- but I want to keep 
Classpath VM-independent.

As we discussed on the Sable VM developer's mailing list today, there 
is no requirement that all of the classes in a particular package be 
in the same .jar file.

Jikes RVM, like JC and Kissme, overrides a few GNU Classpath classes 
with its own implementation; the jar file containing the classes 
specific to Jikes RVM appears in the bootstrap class loader's (two 
element long) search path before GNU Classpath's library.
[...]

> [talking of normal package tree:  would anybody object to moving the
>  whole tree to an src/ subdirectory, as it should be done in such
>  a big project?]
I object.  Moving files in CVS is unpleasant.  (The different ways of 
doing so are discussed in the cvs.info page.  None of them is good.)

> Grzegorz Prokopski and I are working on a set of m4 macros (that would
> not require understanding "m4" to be used) to allow minimal customization
> of VM*.java classes for each VM, while retaining most of the code
> sharing across all VMs that can work with the default VM*.java setup.

This sounds very nice.  I would like to share more of our common 
infrastructure.

> [Some VMs, like JikesRVM tend to completely replace some base classes
> by their own; SableVM does not].

Jikes RVM's rvmrt.jar overrides exactly eleven non-VM* classes from a 
default Classpath installation's glibj.zip:

	java.lang.Class
	java.lang.Object
	java.lang.Thread
	java.lang.Throwable
	java.lang.ref.PhantomReference
	java.lang.ref.Reference
	java.lang.ref.SoftReference
	java.lang.ref.WeakReference
	java.lang.reflect.Constructor
	java.lang.reflect.Field
	java.lang.reflect.Method

--Steve Augart

-- 
Steven Augart

Jikes RVM, a free Virtual Machine:
http://oss.software.ibm.com/jikesrvm




From MAILER-DAEMON Sat Mar 27 18:56:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7Nf8-0004vN-Ct
	for mharc-classpath@gnu.org; Sat, 27 Mar 2004 18:56:26 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7Nf4-0004uD-82
	for classpath@gnu.org; Sat, 27 Mar 2004 18:56:22 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7N1D-0006Xw-Hi
	for classpath@gnu.org; Sat, 27 Mar 2004 18:15:43 -0500
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B7N1C-0006X4-MQ
	for classpath@gnu.org; Sat, 27 Mar 2004 18:15:10 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by mx20.gnu.org with esmtp (Exim 4.30) id 1B7Fxi-0004y7-4s
	for classpath@gnu.org; Sat, 27 Mar 2004 10:43:06 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2RFe9LX018713
	for <classpath@gnu.org>; Sat, 27 Mar 2004 10:40:46 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032710415815172
	for <classpath@gnu.org>; Sat, 27 Mar 2004 10:41:58 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2RFboOf015957
	for <classpath@gnu.org>; Sat, 27 Mar 2004 10:37:50 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30) id 1B7Fsc-0006qT-9F
	for classpath@gnu.org; Sat, 27 Mar 2004 10:37:50 -0500
Message-ID: <40659FCD.6010201@uqam.ca>
Date: Sat, 27 Mar 2004 10:37:49 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: generated files in CVS?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Mar 2004 23:56:23 -0000

Why are the following files in CVS?

config.guess
config.sub
ltmain.sh

If there is no particular reason, I'd like to remove them from
CVS, as runnnig auto* tools causes spurious diffs in these files.

Etienne
-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Sat Mar 27 20:18:12 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7OwF-0008MB-Hn
	for mharc-classpath@gnu.org; Sat, 27 Mar 2004 20:18:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7OwC-0008Ku-9g
	for classpath@gnu.org; Sat, 27 Mar 2004 20:18:08 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7Opg-00074t-Kp
	for classpath@gnu.org; Sat, 27 Mar 2004 20:11:56 -0500
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B7NJE-0008P3-0t
	for classpath@gnu.org; Sat, 27 Mar 2004 18:33:48 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by mx20.gnu.org with esmtp (Exim 4.30) id 1B7E8n-0004Cx-NQ
	for classpath@gnu.org; Sat, 27 Mar 2004 08:46:25 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id E15DA60E05; Sat, 27 Mar 2004 13:45:54 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 45691-08; Sat, 27 Mar 2004 13:45:54 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-82-60.adsl.solnet.ch [212.41.82.60])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 2907A60DF0; Sat, 27 Mar 2004 13:45:53 +0000 (GMT)
Received: from mc-reali (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id D7B4333670; Sat, 27 Mar 2004 14:44:14 +0100 (CET)
Date: Sat, 27 Mar 2004 14:46:47 +0100
From: Patrik Reali <reali@acm.org>
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Message-ID: <2104916.1080398807@[192.168.1.3]>
In-Reply-To: <40631624.7060108@uqam.ca>
References: <40631624.7060108@uqam.ca>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Virus-Scanned: by SolNet
Cc: 
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 01:18:09 -0000

> Classpath is not meant to live on its own;  it is either meant to be used
> as a class library for a compiler (e.g. jikes), or as a class library for
> a virtual machine (gcj, JikesRVM, SableVM, Kaffe, ...).
>
> So, I suggest to change the "configure.ac" to force "./configure" to
> require a "--with-vm=xxx" option.  In other words, there would not
> be a "default" Classpath configuration.  The motivation is that when
> a user builds a Classpath version, he intends to use it in some
> context.  There is no default set of options that would work for
> all possible uses of Classpath.  In fact, each possible "default"
> configuration would favor one VM or one compiler over the others.

This doesn't apply to Jaos: it uses Classpath out of the box; some methods 
are overridden by an Oberon implementation, but it still requires the java 
class in the beginning.

There seems to be at least 4 VM whose configuration corresponds to the 
current "default" configuration

I think this defeats the purpose of being a library for all VM and 
compilers around, and raises the entry barrier for new ones.

> The objective:  Share as much code between "normal" VMs (that need nothing
> really special in base classes), and intuitive source file locations.
>

Sharing is possible only when this code written in java, because this is 
the only common denominator all VM use!

And how do you define "normal" anyway? Only technology that is at least 20 
years old?

-Patrik

--------------------------------
Patrik Reali
http://www.reali.ch/~patrik/
http://www.oberon.ethz.ch/jaos/




From MAILER-DAEMON Sat Mar 27 20:27:34 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7P5J-0001px-DL
	for mharc-classpath@gnu.org; Sat, 27 Mar 2004 20:27:33 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7P18-000123-QJ
	for classpath@gnu.org; Sat, 27 Mar 2004 20:23:14 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7Nih-0005jM-45
	for classpath@gnu.org; Sat, 27 Mar 2004 19:00:39 -0500
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B7NFV-0008HZ-H7
	for classpath@gnu.org; Sat, 27 Mar 2004 18:29:57 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by mx20.gnu.org with esmtp (Exim 4.30) id 1B7Ej3-0001G4-EV
	for classpath@gnu.org; Sat, 27 Mar 2004 09:23:53 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Sat, 27 Mar 2004 15:23:22 +0100
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADC05@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Proposed java.io.OutputStreamWriter patch
Thread-Index: AcQUBw9sJNDuwssXRwyHUKCHYnBnOA==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "GNU Classpath" <classpath@gnu.org>
Subject: Proposed java.io.OutputStreamWriter patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 01:27:25 -0000

Hi,

Currently, if you System.out.println() a string containing an
unencodeable character, the line gets silently swallowed, instead the
unencodeable character should be replaced by a question mark (at least
that's what Sun does on Windows).

This behavior doesn't appear to be specified anywhere, but testing
suggests that the proper way to do this is by calling setBadCharValue on
the Encoder in OutputStreamWriter.

OK to apply?

Regards,
Jeroen

Index: java/io/OutputStreamWriter.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/io/OutputStreamWriter.java,v
retrieving revision 1.9
diff -u -r1.9 OutputStreamWriter.java
--- java/io/OutputStreamWriter.java	9 May 2003 13:30:35 -0000
1.9
+++ java/io/OutputStreamWriter.java	27 Mar 2004 14:18:22 -0000
@@ -101,6 +101,14 @@
     throws UnsupportedEncodingException
   {
     this.out =3D EncodingManager.getEncoder (out, encoding_scheme);
+    try
+    {
+      this.out.setBadCharValue('?');
+    }
+    catch(CharConversionException x)
+    {
+      // what can we do here?
+    }
   }
=20
   /**
@@ -112,6 +120,14 @@
   public OutputStreamWriter (OutputStream out)
   {
     this.out =3D EncodingManager.getEncoder (out);
+    try
+    {
+      this.out.setBadCharValue('?');
+    }
+    catch(CharConversionException x)
+    {
+      // what can we do here?
+    }
   }
=20
   /**



From MAILER-DAEMON Sat Mar 27 21:07:58 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7PiQ-0008VJ-1g
	for mharc-classpath@gnu.org; Sat, 27 Mar 2004 21:07:58 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7PiL-0008TE-G9
	for classpath@gnu.org; Sat, 27 Mar 2004 21:07:53 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7Phk-0008Hl-7V
	for classpath@gnu.org; Sat, 27 Mar 2004 21:07:47 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7Phj-0008HX-RT
	for classpath@gnu.org; Sat, 27 Mar 2004 21:07:15 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2S258Kv017103;
	Sat, 27 Mar 2004 21:05:09 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032721062110326 ; Sat, 27 Mar 2004 21:06:21 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2S20AOf006885; Sat, 27 Mar 2004 21:00:11 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B7Pas-0007F9-Io; Sat, 27 Mar 2004 21:00:10 -0500
Message-ID: <406631A9.7080205@uqam.ca>
Date: Sat, 27 Mar 2004 21:00:09 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: Patrik Reali <reali@acm.org>, GNU Classpath <classpath@gnu.org>
References: <40631624.7060108@uqam.ca> <2104916.1080398807@[192.168.1.3]>
In-Reply-To: <2104916.1080398807@[192.168.1.3]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 02:07:55 -0000

Hi all,

As most people dislike the m4 approach without even having a look at it
(just remembering m4 as used in auto* stuff...), I will no push for this
further.  I have no time for religious wars.

As for the --with-vm, it will for now be implemented as an optional
command-line argument.  Not providing it will not change anything to
current behavior.

Note to Patrik:  I thought you would have noticed, by now, that I was
only trying to tell about a subset of the VMs that use Classpath without
using 10 words.  (See other messages for a better description).  I used
"normal" as in "normally built".  I did not intend to say "better" or
"worse".

Etienne

Patrik Reali wrote:
> And how do you define "normal" anyway? Only technology that is at least 
> 20 years old?

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Sun Mar 28 04:58:40 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7X3v-0001QS-40
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 04:58:39 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7X3g-00016l-7m
	for classpath@gnu.org; Sun, 28 Mar 2004 04:58:24 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7X34-0008Es-Hj
	for classpath@gnu.org; Sun, 28 Mar 2004 04:58:17 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7X34-0008Em-25
	for classpath@gnu.org; Sun, 28 Mar 2004 04:57:46 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 49081620B2; Sun, 28 Mar 2004 09:57:45 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 83616-09; Sun, 28 Mar 2004 09:57:44 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-82-60.adsl.solnet.ch [212.41.82.60])
	by mail01.solnet.ch (Postfix) with ESMTP
	id BAB1160DDF; Sun, 28 Mar 2004 09:57:43 +0000 (GMT)
Received: from mc-reali (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id A0E4C21827; Sun, 28 Mar 2004 11:56:09 +0200 (CEST)
Date: Sun, 28 Mar 2004 11:58:42 +0200
From: Patrik Reali <reali@acm.org>
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Message-ID: <5958608.1080475121@[192.168.1.3]>
In-Reply-To: <406631A9.7080205@uqam.ca>
References: <40631624.7060108@uqam.ca> <2104916.1080398807@[192.168.1.3]>
	<406631A9.7080205@uqam.ca>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Virus-Scanned: by SolNet
Cc: 
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 09:58:35 -0000



--On Samstag, 27. M=E4rz 2004 21:00 -0500 Etienne Gagnon=20
<gagnon.etienne_m@uqam.ca> wrote:
> Note to Patrik:  I thought you would have noticed, by now, that I was
> only trying to tell about a subset of the VMs that use Classpath without
> using 10 words.  (See other messages for a better description).  I used
> "normal" as in "normally built".  I did not intend to say "better" or
> "worse".

Hi Etienne,

I want to apologize to you if my comment offended you; it was not meant=20
that way.

-Patrik



From MAILER-DAEMON Sun Mar 28 08:46:49 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7aci-0002Yl-ET
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 08:46:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7acf-0002X6-9E
	for classpath@gnu.org; Sun, 28 Mar 2004 08:46:45 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7ac6-0002Ld-GN
	for classpath@gnu.org; Sun, 28 Mar 2004 08:46:41 -0500
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7aUn-0000mL-IV
	for classpath@gnu.org; Sun, 28 Mar 2004 08:38:37 -0500
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1B7aUl-00067U-00
	for <classpath@gnu.org>; Sun, 28 Mar 2004 15:38:35 +0200
Received: from data ([139.19.90.238] helo=mpi-sb.mpg.de)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B7aUj-00067K-00; Sun, 28 Mar 2004 15:38:33 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i2SDcWLT014548;
	Sun, 28 Mar 2004 15:38:33 +0200 (MEST)
Message-ID: <4066D557.1060603@kaffe.org>
Date: Sun, 28 Mar 2004 15:38:31 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040316
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
References: <40631624.7060108@uqam.ca> <2104916.1080398807@[192.168.1.3]>
	<406631A9.7080205@uqam.ca>
In-Reply-To: <406631A9.7080205@uqam.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 13:46:46 -0000

Etienne Gagnon wrote:
> Hi all,
> 
> As most people dislike the m4 approach without even having a look at it
> (just remembering m4 as used in auto* stuff...), I will no push for this
> further.  I have no time for religious wars.

I'd like to say that I wouldn't mind the m4 approach since I'm 
interested in sharing as much as possible of the necessary class library 
work between different VMs [1]. Alas, Kaffe is not ready for that yet, 
and it may take another few months till we switch completely to GNU 
Classpath for our class library. But then I'd be glad to do the guinea 
pig bit for such an integration.

I also think providing as much as possible in pure java is the way to 
go, and such I guess I agree with most of what's been said here.

cheers,
dalibor topic

[1] Other parts, too, of course.



From MAILER-DAEMON Sun Mar 28 10:55:12 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7ccx-0006k6-SY
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 10:55:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7ccv-0006jw-2j
	for classpath@gnu.org; Sun, 28 Mar 2004 10:55:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7ccq-0006jJ-GN
	for classpath@gnu.org; Sun, 28 Mar 2004 10:55:05 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7ccp-0006hd-UE
	for classpath@gnu.org; Sun, 28 Mar 2004 10:55:04 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B7ccl-0002Ri-00; Sun, 28 Mar 2004 17:54:59 +0200
From: Mark Wielaard <mark@klomp.org>
To: Guilhem Lavaux <guilhem@kaffe.org>
In-Reply-To: <40633EE9.9040103@kaffe.org>
References: <40633EE9.9040103@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Qu2qlalqMndmnTQXpErc"
Message-Id: <1080489299.17922.11.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 28 Mar 2004 17:54:59 +0200
Cc: Classpath List <classpath@gnu.org>
Subject: Re: Object serialization and final fields
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 15:55:09 -0000


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

Hi,

On Thu, 2004-03-25 at 21:19, Guilhem Lavaux wrote:=20
> Some people has reported failures in kaffe with applications trying to=20
> deserialize objects containing final fields. Apparently it is authorized=20
>   in the serialization spec but we cannot rely on=20
> java.lang.reflect.Field to set them. So our only solution is to bypass=20
> the protection in java.lang.reflect.Field by creating new native calls=20
> in ObjectStreamField.
>=20
> I am proposing the following changes for ObjectStreamField.

It is a bit sad that serialization needs a couple of things that clearly
should have been standard reflection methods/options. Sigh.

I like the idea in general.
Couple of comments/questions.

- ChangeLog entry is missing...

> Index: java/io/ObjectStreamField.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/io/ObjectStreamField.java,v
> retrieving revision 1.14
> diff -u -b -B -r1.14 ObjectStreamField.java
> -- java/io/ObjectStreamField.java	26 Feb 2004 07:53:15 -0000	1.14
> +++ java/io/ObjectStreamField.java	25 Mar 2004 20:19:43 -0000
> @@ -38,9 +38,10 @@
> =20
>  package java.io;
> =20
> +import gnu.java.lang.reflect.TypeSignature;
> +
>  import java.lang.reflect.Field;
>  import java.lang.reflect.Modifier;
> -import gnu.java.lang.reflect.TypeSignature;
>  import java.security.AccessController;
>  import java.security.PrivilegedAction;
> =20
> @@ -64,7 +65,7 @@
>    {
>      this (field.getName(), field.getType());
>      this.field =3D field;
> -    toset =3D !Modifier.isFinal(field.getModifiers());
> +    //toset =3D !Modifier.isFinal(field.getModifiers());
>    }

Either remove this or make it a real comment explaining why we don't
test this anymore.

>    /**
> @@ -353,11 +354,14 @@
>      return "ObjectStreamField< " + type + " " + name + " >";
>    }
> =20
> +  final private native void setBooleanNative(Object obj, boolean val)=20
> +    throws IllegalAccessException;
> +

This and the other setXXXNative methods should be moved to
VMObjectStreamClass. You should also provide sample JNI implementations
for this in native/jni/java-io/java_io_VMObjectStreamClass.c
(Note that VmSystem.c has examples for this. See VMSystem
setIn/Out/Err())

Maybe make them static and also provide the field object?

>    final void setBooleanField(Object obj, boolean val)
>    {
>      try
>        {
> -	field.setBoolean(obj, val);
> +	setBooleanNative(obj, val);
>        }
>      catch(IllegalAccessException x)
>        {

Do we want to use the new method unconditionally or only when the field
is final?

Cheers,

Mark

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

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

iD8DBQBAZvVSxVhZCJWr9QwRAqOhAJ4vhthu+SgUIyqx++Rg3pfHoq+OywCeKZi8
7ucgkjS5SOzYsOvgRn9pS0Y=
=HBJz
-----END PGP SIGNATURE-----

--=-Qu2qlalqMndmnTQXpErc--




From MAILER-DAEMON Sun Mar 28 11:41:23 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7dLf-00042s-81
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 11:41:23 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7dLa-00041Y-W5
	for classpath@gnu.org; Sun, 28 Mar 2004 11:41:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7dLZ-00041J-NC
	for classpath@gnu.org; Sun, 28 Mar 2004 11:41:18 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7dLY-00041B-MJ
	for classpath@gnu.org; Sun, 28 Mar 2004 11:41:16 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B7dLS-0002Z9-00; Sun, 28 Mar 2004 18:41:10 +0200
From: Mark Wielaard <mark@klomp.org>
To: Thomas Zander <zander@javalobby.org>
In-Reply-To: <200403252140.48269.zander@javalobby.org>
References: <mailman.8513.1080228545.26039.classpath@gnu.org>
	<1080240273.18716.192.camel@elsschot.wildebeest.org>
	<200403252140.48269.zander@javalobby.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-1IQqAzWOoUqAjab53VVI"
Message-Id: <1080492070.17922.58.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 28 Mar 2004 18:41:10 +0200
Cc: classpath@gnu.org
Subject: Re: Tests (Was: Classpath post from zander@javalobby.org requires
	approval)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 16:41:19 -0000


--=-1IQqAzWOoUqAjab53VVI
Content-Type: multipart/mixed; boundary="=-qSsYN4PWatXsoZctaX00"


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

Hi Thomas,

On Thu, 2004-03-25 at 21:40, Thomas Zander wrote:
> On Thursday 25 March 2004 19:44, Mark Wielaard wrote:
> > Writing tests and documentation is fine. And really appreciated!
> ...
> > If you would like to help with testing then please check out the Mauve
> > project which we use for much of our testing purposes.
> > http://sources.redhat.com/mauve/
>=20
> I downloaded the snapshot and got it running; I'll try to find out how th=
is=20
> works and see what I can add. Thanx.
> First impression was a bit strange; 70195 of 3581269 tests failed on Suns=
=20
> JDK 1.4.2_02...
> seems like lots of tests copy-pasted but not finished.

There is one gigantic test that is currently bogus.
java.lang.Character.unicode It was written for an older Unicode version
then current java standards dictate (and it tests every unicode char,
which explains the millions of tests...) Sorry about that.

Attached is a little analysis of the tests that currently FAIL with
Classpath CVS and JamVM 1.1.2-pre (which I hope Robert will finalize and
release today). With KEYS set as in the run_batch script
# Include every key/tag we can think of but always exclude the unicode test=
.
KEYS=3D"JDK1.0 JDK1.1 JDK1.2 JDK1.3 JDK1.4 JLS1.0 JLS1.2 JDBC1.0 JDBC2.0 JA=
VA2"
KEYS=3D"$KEYS !java.lang.Character.unicode"
(This gives 13317 PASS and 213 FAIL.)

The analysis isn't really complete since I haven't gone very deep into
some of the FAILs. If someone knows more about a particular FAILure
please write to the list about it. I would also love to see other
analysis of the mauve PASSes/FAILures against other VM/library
combinations.

> > Also taking an existing free program written in the java language and
> > trying to make it work with gcj, kaffe or another VM based on classpath
> > is really appreciated.
> Hmm; my projects use lots of Swing code; so that seems like a no-go idea=20
> for some time to come..

It might be interesting to know what parts of Swing you need. That would
give people hints what to concentrate on (Swing is large and although we
do make progress there, thanks to the libgcj hackers!, we still have to
pick and choose what is important to work on first.
(Although another option is rewriting the GUI using java-gnome.)

> Is the Apache licence considered Free for you guys (I'm really an open=20
> source programmer, not a free-software one..).

Yes, it certainly is a Free Software license.
But it is currently not compatible with the GPL.
So creating a derived larger work of some GPLed and Apache licensed code
is not distributable (since there are some restrictions with respect to
patent licensing that are not allowed by the GPL).

See the comments about the Apache license at:
http://www.gnu.org/licenses/license-list.html
And the analysis of the incompatibility at:
http://www.apache.org/licenses/GPL-compatibility.html

The good news is that the FSF and the Apache Foundation are in talks
about resolving the above issues. But that might take a long time
unfortunately. Till it is resolved however we don't really recommend
releasing and/or combining larger works under the Apache license.

> When I have some time (yeah-right!) I'll try to get my pet-project=20
> http://uic.sf.net running. But this requires to setup something like=20
> kaffe; I'll see how well this is apt-gettable..

If you run Debian unstable then your choice of kaffe will be a good one.
There is a lot of interactivity now between some of the Debian kaffe
maintainers and some of the Kaffe hackers (hang out on #kaffe at
irc.gnu.org to see what I mean).

> > On the documentation front we are missing a good overview document.
> Something like this?:
>   You never heard of Suns Java; then here is the documentation that
>   introduces you to Java! The Free libraries provided in Gnu Classpath
>   can be used as an extensive library to allow any task to be programmed
>   in Java.
>   As the Gnu Classpath is just a library for the Java language, you will
>   want to have a application which can run Java code (called a Runtime
>   Environment), as well as a compiler to compile your code to be run by
>   anyone that has a Runtime Environment installed as well.
> etc.

Yes. Although I would like to see something a bit more concrete. "Here
is a runtime environment that I tried and is known to work. This is how
you install it on the following free system..."
See also the "Documenting Programs" section in the GNU Coding Standards:
http://www.gnu.org/prep/standards_32.html#SEC32

> > We do already have some nice API documentation (although it can
> > certainly use more attention for some packages/classes):
> > http://www.klomp.org/mark/classpath/doc/api/html/
>=20
> Editing this is done by editing the sources?

Yes. And then using gjdoc to produce either info, xml or html files.
gjdoc isn't very friendly to setup currently though. But there is a
little description in the FAQ about it:
http://www.gnu.org/software/classpath/faq/faq.html#faq5_1

> So checking out the sources and posting a diff will allow me to send you=20
> updates/fixes etc.

Yes.

> What about images?

Sadly gjdoc doesn't work with images currently.
Although we always hope someone adds that support. Hint :)

> I suggested to the Sun people at one time that things=20
> like the rotate(double rad) should have an image which displays the=20
> rotation.  This is needed since the Graphics object has a coordinate=20
> system which is opposite to the one you learned in math school.. =20
> Classical programmers mistake (which IMO means bad docu)

That would be a very nice addition!
(And it would hopefully inspire someone to add image support to gjdoc.)

Thanks for your interest in GNU Classpath!

Cheers,

Mark

--=-qSsYN4PWatXsoZctaX00
Content-Disposition: inline; filename=FAIL.analysis
Content-Type: text/plain; name=FAIL.analysis; charset=iso-8859-1
Content-Transfer-Encoding: base64

Z3JlcCBGQUlMIGphbXZtLTEuMS4yLnJlc3VsdHMraW5uZXJfYWNjZXMraGNpK2JjcCt0Y2NsK2Fm
YStjYWxvYWQNCihUaGF0IGlzIGFsbCBteSBwYXRjaGVzIGFwcGxpZWQgcGx1cyB5b3VyIE9QX0NB
TE9BRCBmaXgpIGdpdmVzOg0KDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmlvLlByaW50U3RyZWFt
LnN1YmNsYXNzIChudW1iZXIgMSkNCi0gQ2xhc3NwYXRoIGJ1Zy4NCg0KRkFJTDogZ251LnRlc3Rs
ZXQuamF2YS5pby5VdGY4RW5jb2RpbmcubW9qbzogU3Vycm9nYXRlIFBhaXJzIChudW1iZXIgMSkN
CkZBSUw6IGdudS50ZXN0bGV0LmphdmEuaW8uVXRmOEVuY29kaW5nLm1vam86IFN1cnJvZ2F0ZSBQ
YWlycyAobnVtYmVyIDIpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmlvLlV0ZjhFbmNvZGluZy5t
b2pvOiBTdXJyb2dhdGUgUGFpcnMgKG51bWJlciAzKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5p
by5VdGY4RW5jb2RpbmcubW9qbzogU3Vycm9nYXRlIFBhaXJzIChudW1iZXIgNCkNCkZBSUw6IGdu
dS50ZXN0bGV0LmphdmEuaW8uVXRmOEVuY29kaW5nLm1vam86IEZvdXIgQnl0ZSBSYW5nZSBFcnJv
ciAoMCkgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5pby5VdGY4RW5jb2Rpbmcu
bW9qbzogRm91ciBCeXRlIFJhbmdlIEVycm9yICgxKSAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVz
dGxldC5qYXZhLmlvLlV0ZjhFbmNvZGluZy5tb2pvOiBGaXZlIEJ5dGVzICgwKSAobnVtYmVyIDEp
DQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmlvLlV0ZjhFbmNvZGluZy5tb2pvOiBGaXZlIEJ5dGVz
ICgxKSAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmlvLlV0ZjhFbmNvZGluZy5t
b2pvOiBTaXggQnl0ZXMgKDApIChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEuaW8u
VXRmOEVuY29kaW5nLm1vam86IFNpeCBCeXRlcyAoMSkgKG51bWJlciAxKQ0KRkFJTDogZ251LnRl
c3RsZXQuamF2YS5pby5VdGY4RW5jb2RpbmcubW9qbzogRm91ciBCeXRlIFJhbmdlIEVycm9yICgy
KSAobnVtYmVyIDEpDQotIEJlbGlldmVkIHRvIGJlIHVuaWNvZGUvY2hhcmFjdGVyIHRlc3RzdWl0
ZSBtaXh1cHMuDQoNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEuaW8uRmlsZS5zZWN1cml0eTogZGly
LmNhbldyaXRlIC0gdW5leHBlY3RlZCBleGNlcHRpb24gKG51bWJlciAxKQ0KRkFJTDogZ251LnRl
c3RsZXQuamF2YS5pby5GaWxlLnNlY3VyaXR5OiBjcmVhdGVUZW1wRmlsZSgyLWFyZ3MpIC0gdW5l
eHBlY3RlZCBleGNlcHRpb24gKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5pby5G
aWxlLnNlY3VyaXR5OiBjcmVhdGVUZW1wRmlsZSgzLWFyZ3MpIC0gdW5leHBlY3RlZCBleGNlcHRp
b24gKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5pby5GaWxlLnNlY3VyaXR5OiBk
aXIuc2V0UmVhZE9ubHkgLSB1bmV4cGVjdGVkIGV4Y2VwdGlvbiAobnVtYmVyIDEpDQpGQUlMOiBn
bnUudGVzdGxldC5qYXZhLmlvLkZpbGUuc2VjdXJpdHk6IGZpbGUucmVuYW1lVG8gKG51bWJlciAx
KQ0KLSBQcm9iYWJseSB0ZXN0c3VpdGUgc3RyYW5nZW5lc3MNCg0KRkFJTDogZ251LnRlc3RsZXQu
amF2YS5pby5PYmplY3RJbnB1dE91dHB1dC5JbnB1dFRlc3Q6IGdudS50ZXN0bGV0LmphdmEuaW8u
T2JqZWN0SW5wdXRPdXRwdXQuVGVzdCRDYWxsRGVmYXVsdCAobnVtYmVyIDEpDQpGQUlMOiBnbnUu
dGVzdGxldC5qYXZhLmlvLk9iamVjdElucHV0T3V0cHV0LklucHV0VGVzdDogZ251LnRlc3RsZXQu
amF2YS5pby5PYmplY3RJbnB1dE91dHB1dC5UZXN0JE5vQ2FsbERlZmF1bHQgKG51bWJlciAxKQ0K
RkFJTDogZ251LnRlc3RsZXQuamF2YS5pby5PYmplY3RJbnB1dE91dHB1dC5JbnB1dFRlc3Q6IGdu
dS50ZXN0bGV0LmphdmEuaW8uT2JqZWN0SW5wdXRPdXRwdXQuVGVzdCRHZXRQdXRGaWVsZCAobnVt
YmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmlvLk9iamVjdElucHV0T3V0cHV0LklucHV0
VGVzdDogZ251LnRlc3RsZXQuamF2YS5pby5PYmplY3RJbnB1dE91dHB1dC5UZXN0JEdldFB1dEZp
ZWxkIChudW1iZXIgMikNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEuaW8uT2JqZWN0SW5wdXRPdXRw
dXQuT3V0cHV0VGVzdDogZ251LnRlc3RsZXQuamF2YS5pby5PYmplY3RJbnB1dE91dHB1dC5UZXN0
JENhbGxEZWZhdWx0IChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEuaW8uT2JqZWN0
SW5wdXRPdXRwdXQuT3V0cHV0VGVzdDogZ251LnRlc3RsZXQuamF2YS5pby5PYmplY3RJbnB1dE91
dHB1dC5UZXN0JE5vQ2FsbERlZmF1bHQgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2
YS5pby5PYmplY3RJbnB1dE91dHB1dC5PdXRwdXRUZXN0OiBTZXJpYWxpemFibGU6IHRlc3Qoc3Ry
PW51bGwsIHg9MCkgKG51bWJlciAyKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5pby5PYmplY3RJ
bnB1dE91dHB1dC5Db21wYXQxOiBDb21wYXRpYmlsaXR5IHRlc3QgZm9yIEJpZ0ludGVnZXIgKG51
bWJlciAyKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5pby5PYmplY3RJbnB1dE91dHB1dC5Db21w
YXQxOiBDb21wYXRpYmlsaXR5IHRlc3QgZm9yIEJpZ0ludGVnZXIgKG51bWJlciAzKQ0KRkFJTDog
Z251LnRlc3RsZXQuamF2YS5pby5PYmplY3RJbnB1dE91dHB1dC5Db21wYXQyOiBDb21wYXRpYmls
aXR5IHRlc3QgZm9yIHR5cGUgbWlzbWF0Y2ggd2hlbiBjYWxsaW5nIGdldCBtZXRob2RzIChudW1i
ZXIgMikNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEuaW8uT2JqZWN0SW5wdXRPdXRwdXQuQ29tcGF0
MjogQ29tcGF0aWJpbGl0eSB0ZXN0IGZvciB0eXBlIG1pc21hdGNoIHdoZW4gY2FsbGluZyBnZXQg
bWV0aG9kcyAobnVtYmVyIDMpDQotIFNlcmlhbGl6YXRpb24gaXNzdWVzLCBwZW5kaW5nIE1ldGhv
ZC5pbnZva2UgdGhpbmd5IG9uIEpOSSBBbGxvY09iamVjdA0KICArIHJlYWRPYmplY3QoKS4NCg0K
RkFJTDogZ251LnRlc3RsZXQuamF2YS5pby5GaWxlUmVhZGVyLmpkazExOiBDYW4ndCBvcGVuIGZp
bGUgJ2Nob2ljZXMnIChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEuaW8uRmlsZVJl
YWRlci5qZGsxMTogQ2FuJ3Qgb3BlbiBmaWxlICdjaG9pY2VzJyAobnVtYmVyIDEpDQotIFByb2Jh
Ymx5IFRlc3RzdWl0ZSBibG9vcGVycy4NCg0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5pby5PdXRw
dXRTdHJlYW1Xcml0ZXIuamRrMTE6IG51bGwgZW5jb2RpbmcgYWZ0ZXIgY2xvc2UgKG51bWJlciAx
KQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5pby5PdXRwdXRTdHJlYW1Xcml0ZXIuamRrMTE6IE91
dHB1dFN0cmVhbVdyaXRlcih3cml0ZXIsIGVuY29kaW5nKSAobnVtYmVyIDEpDQpGQUlMOiBnbnUu
dGVzdGxldC5qYXZhLmlvLk91dHB1dFN0cmVhbVdyaXRlci5qZGsxMTogT3V0cHV0U3RyZWFtV3Jp
dGVyKHdyaXRlciwgZW5jb2RpbmcpIC8vIGFsaWFzIChudW1iZXIgMSkNCi0gVW5hbmFseXplZC4N
Cg0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5pby5QcmludFdyaXRlci5jaGVja0Vycm9yIChudW1i
ZXIgMykNCi0gS25vd24gQ2xhc3NwYXRoIGJ1Zy4NCg0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5s
YW5nLlRocmVhZC5zdG9wOiBUaHJlYWREZWF0aCBwcm9wZXJseSB0aHJvd24gYW5kIGNhdWdodCAo
bnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmxhbmcuVGhyZWFkLnN0b3A6IEluaXRp
YWwgdGhyZWFkIGNvdW50IG1hdGNoZXMgc3RvcHBlZCB0aHJlYWQgY291bnQgKG51bWJlciAxKQ0K
RkFJTDogZ251LnRlc3RsZXQuamF2YS5sYW5nLlRocmVhZC5zdG9wOiBTdG9wcGVkIHRocmVhZCBo
YXMgbnVsbCB0aHJlYWQgZ3JvdXAgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5s
YW5nLlRocmVhZC5kYWVtb246IENhbiBjaGFuZ2UgZGFlbW9uIHN0YXRlIG9uIGFuIGV4aXR0ZWQg
VGhyZWFkIChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5UaHJlYWQuZGFl
bW9uOiBEYWVtb24gc3RhdHVzIGNoYW5nZWQgd2hlbiBzZXQgb24gYW4gZXhpdHRlZCBUaHJlYWQg
KG51bWJlciAxKQ0KLSBVbmFuYWx5emVkLCBidXQgYmVsaWV2ZWQgdG8gYmUgQ2xhc3NwYXRoL1ZN
LXJlZmVyZW5jZSBjbGFzcyBidWdzLg0KDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmxhbmcuQ2hh
cmFjdGVyLmNsYXNzaWZ5MTIgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5sYW5n
LkNoYXJhY3Rlci5nZXRUeXBlIChudW1iZXIgMTEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmxh
bmcuQ2hhcmFjdGVyLmdldFR5cGUgKG51bWJlciAyMCkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEu
bGFuZy5DaGFyYWN0ZXIuZ2V0VHlwZSAobnVtYmVyIDIyKQ0KLSBNb3N0IHByb2JhYmx5IG9sZCB1
bmljb2RlIHRlc3RzIHRoYXQgYXJlIG5vIGxvbmdlciB2YWxpZC4NCg0KRkFJTDogZ251LnRlc3Rs
ZXQuamF2YS5sYW5nLkRvdWJsZS5Eb3VibGVUZXN0OiBFcnJvcjogdGVzdF9pbnRWYWx1ZSByZXR1
cm5lZCB3cm9uZyByZXN1bHRzIENZR05VUzogRmxvYXQgdG8gaW50IGNvbnZlcnNpb25zIC0gMSAo
bnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmxhbmcuRG91YmxlLkRvdWJsZVRlc3Q6
IEVycm9yOiB0ZXN0X2xvbmdWYWx1ZSByZXR1cm5lZCB3cm9uZyByZXN1bHRzIENZR05VUzogRmxv
YXQgdG8gaW50IGNvbnZlcnNpb25zIC0gMSAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5q
YXZhLmxhbmcuRmxvYXQuRmxvYXRUZXN0OiBFcnJvcjogdGVzdF9pbnRWYWx1ZSByZXR1cm5lZCB3
cm9uZyByZXN1bHRzIC0gMSAobnVtYmVyIDEpDQotIFRoaXMgYXJlIHNpbWlsYXIgdG8gdGhlIERU
LmphdmEgKGZsb2F0L2RvdWJsZSBWTSBjb252ZXJzaW9uIGZhaWx1cmVzKSB0ZXN0cyBJIHNlbmQu
DQoNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5NYXRoLk1hdGhUZXN0OiBFcnJvciA6IHRl
c3RfcG93IGZhaWxlZCAtIDkgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5sYW5n
Lk1hdGguTWF0aFRlc3Q6IEVycm9yIDogIHRlc3Rfcm91bmQgZmFpbGVkIC0gNSAobnVtYmVyIDEp
DQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmxhbmcuTWF0aC5NYXRoVGVzdDogRXJyb3IgOiAgdGVz
dF9yb3VuZCBmYWlsZWQgLSA3IChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFu
Zy5NYXRoLnNpbiAobnVtYmVyIDEpDQotIFVuYW5hbHl6ZWQuIFRoZXNlIGNvdWxkIGJlIHJlYWwg
YnVncyBlaXRoZXIgaW4gdGhlIFZNIG9yIGluIHRoZSBDbGFzc3BhdGggaW1wbGVtZW50YXRpb24u
DQoNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5TdHJpbmcuc3Vycm9nYXRlIChudW1iZXIg
MSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5TdHJpbmcuc3Vycm9nYXRlIChudW1iZXIg
MikNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5TdHJpbmcuc3Vycm9nYXRlIChudW1iZXIg
MykNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5TdHJpbmcuc3Vycm9nYXRlIChudW1iZXIg
NCkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5TdHJpbmcuc3Vycm9nYXRlIChudW1iZXIg
NSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5TdHJpbmcuc3Vycm9nYXRlOiB1bmNhdWdo
dCBleGNlcHRpb24gYXQgIG51bWJlciA2DQotIENsYXNzcGF0aCBidWcuDQoNCkZBSUw6IGdudS50
ZXN0bGV0LmphdmEubGFuZy5TdHJpbmcuZ2V0Qnl0ZXMxMzogU3RyaW5nLmdldEJ5dGVzKCJBU0NJ
SSIpIChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5TdHJpbmcuZ2V0Qnl0
ZXMxMzogU3RyaW5nLmdldEJ5dGVzKCJDcDEyNTIiKSAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVz
dGxldC5qYXZhLmxhbmcuU3RyaW5nLmdldEJ5dGVzMTM6IFN0cmluZy5nZXRCeXRlcygiVVRGLTE2
IikgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5sYW5nLlN0cmluZy5nZXRCeXRl
czEzOiBTdHJpbmcuZ2V0Qnl0ZXMoIlVuaWNvZGVCaWciKSAobnVtYmVyIDEpDQpGQUlMOiBnbnUu
dGVzdGxldC5qYXZhLmxhbmcuU3RyaW5nLmdldEJ5dGVzMTM6IFN0cmluZy5nZXRCeXRlcygiVW5p
Y29kZUJpZ1VubWFya2VkIikgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5sYW5n
LlN0cmluZy5nZXRCeXRlczEzOiBTdHJpbmcuZ2V0Qnl0ZXMoIlVuaWNvZGVMaXR0bGUiKSAobnVt
YmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmxhbmcuU3RyaW5nLmdldEJ5dGVzMTM6IFN0
cmluZy5nZXRCeXRlcygiVW5pY29kZUxpdHRsZVVubWFya2VkIikgKG51bWJlciAxKQ0KRkFJTDog
Z251LnRlc3RsZXQuamF2YS5sYW5nLlN0cmluZy5nZXRCeXRlczE0OiBTdHJpbmcuZ2V0Qnl0ZXMo
IlVTLUFTQ0lJIikgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5sYW5nLlN0cmlu
Zy5nZXRCeXRlczE0OiBTdHJpbmcuZ2V0Qnl0ZXMoIndpbmRvd3MtMTI1MiIpIChudW1iZXIgMSkN
CkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5TdHJpbmcuZ2V0Qnl0ZXMxNDogU3RyaW5nLmdl
dEJ5dGVzKCJJU08tODg1OS0xNSIpIChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEu
bGFuZy5TdHJpbmcuZ2V0Qnl0ZXMxNDogU3RyaW5nLmdldEJ5dGVzKCJJU084ODU5XzE1IikgKG51
bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5sYW5nLlN0cmluZy5nZXRCeXRlczE0OiBT
dHJpbmcuZ2V0Qnl0ZXMoIlVURi0xNkJFIikgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQu
amF2YS5sYW5nLlN0cmluZy5nZXRCeXRlczE0OiBTdHJpbmcuZ2V0Qnl0ZXMoIlVURi0xNkxFIikg
KG51bWJlciAxKQ0KLSBQcm9iYWJseSBwYXJ0bHkgQ2xhc3NwYXRoIGJ1Z3MuIFdlIG5lZWQgdG8g
c2V0dXAgYWxsIGFsaWFzZXMgY29ycmVjdGx5Lg0KICBCdXQgd2UgcHJvYmFibHkgYWxzbyBkb24n
dCBoYXZlIGFsbCB0aGUgYWJvdmUgZW5jb2RpbmdzIHlldC4NCg0KRkFJTDogZ251LnRlc3RsZXQu
amF2YS5sYW5nLnJlZi5QaGFudG9tUmVmZXJlbmNlLnBoYW50b206IHVucmVhY2hhYmxlIChudW1i
ZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5yZWYuUGhhbnRvbVJlZmVyZW5jZS5w
aGFudG9tOiBvYmplY3QgZmluYWxpemVkIChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0Lmph
dmEubGFuZy5yZWYuV2Vha1JlZmVyZW5jZS53ZWFrcmVmOiB1bnJlYWNoYWJsZSAobnVtYmVyIDEp
DQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmxhbmcucmVmLldlYWtSZWZlcmVuY2Uud2Vha3JlZjog
Y29udGVudHMgb2Ygd2VhayByZWZlcmVuY2UgKG51bWJlciAxKQ0KLSBVbmtub3duLiBQcm9iYWJs
eSBUZXN0c3VpdGUgKyBWTSBwcm9ibGVtcy4gTm90IHN1cmUgaG93IHRvIGFjY3VyYXRlbHkgdGVz
dCB0aGlzLg0KDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmxhbmcucmVmbGVjdC5BcnJheS5uZXdJ
bnN0YW5jZTogbXVsdGktZGltZW5zaW9uYWwgKG51bWJlciA1KQ0KLSBZb3UgY2xhaW0gdG8gaGF2
ZSBmaXhlZCB0aGlzIG9uZS4gKENvbW1vbiBWTSBidWcgd2hlbiBtdWx0aWFuZXdhcnJheSBpcw0K
ICBpbXBsZW1lbnRlZCByZWN1cnNpdmVseS4pDQoNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFu
Zy5yZWZsZWN0Lk1ldGhvZC50b1N0cmluZyAobnVtYmVyIDIpDQpGQUlMOiBnbnUudGVzdGxldC5q
YXZhLmxhbmcucmVmbGVjdC5NZXRob2QudG9TdHJpbmc6IG1ldGhvZCB3aXRoIG11bHRpcGxlIGFy
cmF5IGRpbXMgaW4gYXJndW1lbnQgKG51bWJlciAxKQ0KLSBDbGFzc3BhdGggYnVnLg0KDQpGQUlM
OiBnbnUudGVzdGxldC5qYXZhLmxhbmcucmVmbGVjdC5SZWZsZWN0QWNjZXNzOiBzdGF0aWMgdm9p
ZCBnbnUudGVzdGxldC4gamF2YS5sYW5nLnJlZmxlY3Quc3ViLk90aGVyUGtnLmcoKSBzaG91bGQg
bm90IGJlIGFjY2Vzc2libGUgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5sYW5n
LnJlZmxlY3QuUmVmbGVjdEFjY2VzczogIHZvaWQgZ251LnRlc3RsZXQuamF2YS5sYW5nLnJlZmxl
Y3Quc3ViLk90aGVyUGtnLmgoKSBzaG91bGQgbm90IGJlIGFjY2Vzc2libGUgKG51bWJlciAxKQ0K
RkFJTDogZ251LnRlc3RsZXQuamF2YS5sYW5nLnJlZmxlY3QuUmVmbGVjdEFjY2VzczogcHJvdGVj
dGVkIHZvaWQgZ251LnRlc3RsZXQuamF2YS5sYW5nLnJlZmxlY3Quc3ViLk90aGVyUGtnLmkoKSBz
aG91bGQgbm90IGJlIGFjY2Vzc2libGUgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2
YS5sYW5nLnJlZmxlY3QuUmVmbGVjdEFjY2Vzczogc3RhdGljIGNoYXIgZ251LnRlc3RsZXQuIGph
dmEubGFuZy5yZWZsZWN0LnN1Yi5PdGhlclBrZy5qIHNob3VsZCBub3QgYmUgYWNjZXNzaWJsZSAo
bnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmxhbmcucmVmbGVjdC5SZWZsZWN0QWNj
ZXNzOiAgY2hhciBnbnUudGVzdGxldC5qYXZhLmxhbmcucmVmbGVjdC5zdWIuT3RoZXJQa2cuayBz
aG91bGQgbm90IGJlIGFjY2Vzc2libGUgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2
YS5sYW5nLnJlZmxlY3QuUmVmbGVjdEFjY2VzczogcHJvdGVjdGVkIGNoYXIgZ251LnRlc3RsZXQu
amF2YS5sYW5nLnJlZmxlY3Quc3ViLk90aGVyUGtnLmwgc2hvdWxkIG5vdCBiZSBhY2Nlc3NpYmxl
IChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubGFuZy5yZWZsZWN0LlJlZmxlY3RB
Y2Nlc3M6IHByaXZhdGUgZmluYWwgdm9pZCBnbnUudGVzdGxldC5qYXZhLmxhbmcucmVmbGVjdC5P
dGhlci5vKCkgc2hvdWxkIG5vdCBiZSBhY2Nlc3NpYmxlIChudW1iZXIgMSkNCkZBSUw6IGdudS50
ZXN0bGV0LmphdmEubGFuZy5yZWZsZWN0LlJlZmxlY3RBY2Nlc3M6IHByaXZhdGUgY2hhciBnbnUu
dGVzdGxldC5qYXZhLmxhbmcucmVmbGVjdC5PdGhlci5yIHNob3VsZCBub3QgYmUgYWNjZXNzaWJs
ZSAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmxhbmcucmVmbGVjdC5SZWZsZWN0
QWNjZXNzOiAgdm9pZCBnbnUudGVzdGxldC5qYXZhLmxhbmcucmVmbGVjdC5zdWIuU3VwZXIucygp
IHNob3VsZCBub3QgYmUgYWNjZXNzaWJsZSAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5q
YXZhLmxhbmcucmVmbGVjdC5SZWZsZWN0QWNjZXNzOiBwcml2YXRlIGZpbmFsIHZvaWQgZ251LnRl
c3RsZXQuamF2YS5sYW5nLnJlZmxlY3Quc3ViLlN1cGVyLnYoKSBzaG91bGQgbm90IGJlIGFjY2Vz
c2libGUgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5sYW5nLnJlZmxlY3QuUmVm
bGVjdEFjY2Vzczogc3RhdGljIGNoYXIgZ251LnRlc3RsZXQuIGphdmEubGFuZy5yZWZsZWN0LnN1
Yi5TdXBlci55IHNob3VsZCBub3QgYmUgYWNjZXNzaWJsZSAobnVtYmVyIDEpDQpGQUlMOiBnbnUu
dGVzdGxldC5qYXZhLmxhbmcucmVmbGVjdC5SZWZsZWN0QWNjZXNzOiBwcml2YXRlIGNoYXIgZ251
LnRlc3RsZXQuamF2YS5sYW5nLnJlZmxlY3Quc3ViLlN1cGVyLnogc2hvdWxkIG5vdCBiZSBhY2Nl
c3NpYmxlIChudW1iZXIgMSkNCi0gTm90IGFuYWx5emVkIHlldC4NCg0KRkFJTDogZ251LnRlc3Rs
ZXQuamF2YS5uZXQuRGF0YWdyYW1QYWNrZXQuRGF0YWdyYW1QYWNrZXRSZWNlaXZlMjogRGF0YWdy
YW1QYWNrZXQgcmVjZWl2ZSBUZXN0IEIgZXJyb3JDb3VudD0xNSAobnVtYmVyIDEpDQpGQUlMOiBn
bnUudGVzdGxldC5qYXZhLm5ldC5EYXRhZ3JhbVNvY2tldC5EYXRhZ3JhbVNvY2tldFRlc3QgYWJu
b3JtYWwgdGVybWluYXRpb24gMTQyIENSQVNIIG9yIFRJTUVPVVQNCkZBSUw6IGdudS50ZXN0bGV0
LmphdmEubmV0LkRhdGFncmFtU29ja2V0LkRhdGFncmFtU29ja2V0VGVzdDI6IHVuY2F1Z2h0IGV4
Y2VwdGlvbiBhdCAiaW52YWxpZF9wb3J0IiBudW1iZXIgMQ0KRkFJTDogZ251LnRlc3RsZXQuamF2
YS5uZXQuTXVsdGljYXN0U29ja2V0Lk11bHRpY2FzdFNvY2tldFRlc3Q6IGpvaW5Hcm91cCgpdHdp
Y2UuIChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubmV0LlNvY2tldC5Tb2NrZXRU
ZXN0OiBFcnJvciA6IHRlc3RfcGFyYW1zIGZhaWxlZCAtIDIgZ2V0IC9zZXQgdGltZW91dCBkaWQg
bm90IHJldHVybiBwcm9wZXIgdmFsdWVzIChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0Lmph
dmEubmV0LlNvY2tldC5Tb2NrZXRUZXN0OiBFcnJvciA6IHRlc3RfcGFyYW1zIGZhaWxlZCAtIDQg
KG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuU29ja2V0LlNvY2tldFRlc3Q6
IEVycm9yIDogdGVzdF9wYXJhbXMgZmFpbGVkIC0gNSAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVz
dGxldC5qYXZhLm5ldC5Tb2NrZXQuU29ja2V0VGVzdDogRXJyb3IgOiBCYXNpY1NvY2tldFNlcnZl
cjo6cnVuIGZhaWxlZCAtIDJleGNlcHRpb24gd2FzIHRocm93bjogamF2YS5pby5JT0V4Y2VwdGlv
bjogSW50ZXJuYWwgZXJyb3I6IF9qYXZhbmV0X2FjY2VwdCgpOiAgKG51bWJlciAxKQ0KRkFJTDog
Z251LnRlc3RsZXQuamF2YS5uZXQuU29ja2V0LlNvY2tldFRlc3Q6IEVycm9yIDogdGVzdF9CYXNp
Y1NlcnZlciBmYWlsZWQgLSAxMSBleGNlcHRpb24gd2FzIHRocm93bi4gKG51bWJlciAxKQ0KRkFJ
TDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IGdldENvbnRlbnQoKSB0aHJldyBF
eGNlcHRpb24gKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRl
c3Q6ICBFcnJvciBpbiB0ZXN0X3RvU3RyaW5nICAtIDUgIGV4Y2VwdGlvbiBzaG91bGQgbm90IGJl
IHRocm93biBoZXJlIChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubmV0LlVSTC5V
UkxUZXN0OiBuZXcgVVJMKHN0cmluZykgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2
YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwoc3RyaW5nKSAobnVtYmVyIDIpDQpGQUlMOiBnbnUu
dGVzdGxldC5qYXZhLm5ldC5VUkwuVVJMVGVzdDogbmV3IFVSTChzdHJpbmcpIChudW1iZXIgMykN
CkZBSUw6IGdudS50ZXN0bGV0LmphdmEubmV0LlVSTC5VUkxUZXN0OiBuZXcgVVJMKHN0cmluZykg
KG51bWJlciA3KQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBV
Ukwoc3RyaW5nKSAobnVtYmVyIDEwKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVS
TFRlc3Q6IG5ldyBVUkwoc3RyaW5nKSAobnVtYmVyIDExKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2
YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwoc3RyaW5nKSAobnVtYmVyIDEyKQ0KRkFJTDogZ251
LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwoc3RyaW5nKSAobnVtYmVyIDE5
KQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwoc3RyaW5n
KSAobnVtYmVyIDIwKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5l
dyBVUkwoc3RyaW5nKSAobnVtYmVyIDIxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJM
LlVSTFRlc3Q6IG5ldyBVUkwoc3RyaW5nKSAobnVtYmVyIDI1KQ0KRkFJTDogZ251LnRlc3RsZXQu
amF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwoc3RyaW5nKSAobnVtYmVyIDMxKQ0KRkFJTDog
Z251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwoc3RyaW5nKSAobnVtYmVy
IDMzKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwoc3Ry
aW5nKSAobnVtYmVyIDM0KQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6
IG5ldyBVUkwoc3RyaW5nKSAobnVtYmVyIDM3KQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQu
VVJMLlVSTFRlc3Q6IG5ldyBVUkwoc3RyaW5nKSAobnVtYmVyIDQwKQ0KRkFJTDogZ251LnRlc3Rs
ZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwoc3RyaW5nKSAobnVtYmVyIDQyKQ0KRkFJ
TDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwoc3RyaW5nKSAobnVt
YmVyIDQzKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwo
c3RyaW5nKSAobnVtYmVyIDQ2KQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRl
c3Q6IG5ldyBVUkwocHJvdG9jb2wsIGhvc3QsIGZpbGUpIChudW1iZXIgMSkNCkZBSUw6IGdudS50
ZXN0bGV0LmphdmEubmV0LlVSTC5VUkxUZXN0OiBuZXcgVVJMKHByb3RvY29sLCBob3N0LCBmaWxl
KSAobnVtYmVyIDUpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLm5ldC5VUkwuVVJMVGVzdDogbmV3
IFVSTChwcm90b2NvbCwgaG9zdCwgZmlsZSkgKG51bWJlciA5KQ0KRkFJTDogZ251LnRlc3RsZXQu
amF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwocHJvdG9jb2wsIGhvc3QsIGZpbGUpIChudW1i
ZXIgMTMpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLm5ldC5VUkwuVVJMVGVzdDogbmV3IFVSTChw
cm90b2NvbCwgaG9zdCwgZmlsZSkgKG51bWJlciAyMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEu
bmV0LlVSTC5VUkxUZXN0OiBuZXcgVVJMKHByb3RvY29sLCBob3N0LCBmaWxlKSAobnVtYmVyIDI5
KQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwocHJvdG9j
b2wsIGhvc3QsIGZpbGUpIChudW1iZXIgMzMpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLm5ldC5V
UkwuVVJMVGVzdDogbmV3IFVSTChwcm90b2NvbCwgaG9zdCwgZmlsZSkgKG51bWJlciAzNykNCkZB
SUw6IGdudS50ZXN0bGV0LmphdmEubmV0LlVSTC5VUkxUZXN0OiBuZXcgVVJMKHByb3RvY29sLCBo
b3N0LCBmaWxlKSAobnVtYmVyIDQxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMLlVS
TFRlc3Q6IG5ldyBVUkwocHJvdG9jb2wsIGhvc3QsIGZpbGUpIChudW1iZXIgNDkpDQpGQUlMOiBn
bnUudGVzdGxldC5qYXZhLm5ldC5VUkwuVVJMVGVzdDogbmV3IFVSTChwcm90b2NvbCwgaG9zdCwg
ZmlsZSkgKG51bWJlciA1NykNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEubmV0LlVSTC5VUkxUZXN0
OiBuZXcgVVJMKHByb3RvY29sLCBob3N0LCBmaWxlKSAobnVtYmVyIDYxKQ0KRkFJTDogZ251LnRl
c3RsZXQuamF2YS5uZXQuVVJMLlVSTFRlc3Q6IG5ldyBVUkwocHJvdG9jb2wsIGhvc3QsIGZpbGUp
IChudW1iZXIgNjUpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLm5ldC5VUkxDb25uZWN0aW9uLlVS
TENvbm5lY3Rpb25UZXN0OiBFcnJvciBpbiB0ZXN0X2dldENvbnRlbnRGdW5jdGlvbnMgIC0gNSAg
c2hvdWxkIG5vdCBoYXZlIHJhaXNlZCAgZXhjZXB0aW9uIGhlcmUgIChudW1iZXIgMSkNCkZBSUw6
IGdudS50ZXN0bGV0LmphdmEubmV0LlVSTENvbm5lY3Rpb24uVVJMQ29ubmVjdGlvblRlc3Q6IEVy
cm9yIGluIHRlc3RfZ2V0SGVhZGVyRmllbGQgIC0gMiAgNCBoZWFkZXIgZmllbGQgd3JvbmcgKG51
bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5uZXQuVVJMQ29ubmVjdGlvbi5VUkxDb25u
ZWN0aW9uVGVzdDogRXJyb3IgaW4gdGVzdF9VUkxDb25uZWN0aW9uICAtIDIzICBzaG91bGQgbm90
IGhhdmUgcmFpc2VkICBleGNlcHRpb24gaGVyZSAgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3Rs
ZXQuamF2YS5uZXQuSW5ldFNvY2tldEFkZHJlc3MuSW5ldFNvY2tldEFkZHJlc3NUZXN0OiBFcnJv
ciA6IHRlc3RfQmFzaWNzIGZhaWxlZCAtIDUgUmVzb2x2ZWFibGUgaG9zdG5hbWUgZ290IG5vdCBy
ZXNvbHZlZCAobnVtYmVyIDEpDQotIEFsbCBqYXZhLm5ldCB0ZXN0cyBhcmUgYSBiaXQgZmxha3ku
Li4gOnsNCg0KRkFJTDogZ251LnRlc3RsZXQuamF2YS50ZXh0LkRhdGVGb3JtYXRTeW1ib2xzLlRl
c3Q6IGludmFsaWQgbG9jYWxlIChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEudGV4
dC5EZWNpbWFsRm9ybWF0LmZvcm1hdDogcGF0dGVybiAjLiMgKG51bWJlciAyKQ0KRkFJTDogZ251
LnRlc3RsZXQuamF2YS50ZXh0LkRlY2ltYWxGb3JtYXQucGFyc2U6IHBhdHRlcm4gMC4wMDAwRTAg
KG51bWJlciAyKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS50ZXh0LkRlY2ltYWxGb3JtYXQuZm9y
bWF0RXhwOiBwYXR0ZXJuICMjMC4jIyMjRTAgKG51bWJlciAyKQ0KRkFJTDogZ251LnRlc3RsZXQu
amF2YS50ZXh0LkRlY2ltYWxGb3JtYXQuZm9ybWF0RXhwOiBwYXR0ZXJuICMjLiMjI0UwIChudW1i
ZXIgMikNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEudGV4dC5EZWNpbWFsRm9ybWF0U3ltYm9scy5z
ZXJpYWwgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS50ZXh0LkRlY2ltYWxGb3Jt
YXRTeW1ib2xzLnNlcmlhbCAobnVtYmVyIDIpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnRleHQu
RGVjaW1hbEZvcm1hdFN5bWJvbHMuc2VyaWFsIChudW1iZXIgMykNCkZBSUw6IGdudS50ZXN0bGV0
LmphdmEudGV4dC5SdWxlQmFzZWRDb2xsYXRvci5qZGsxMTogZXhwYW5zaW9uIG9yZGVyaW5nIChu
dW1iZXIgNTYpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnRleHQuUnVsZUJhc2VkQ29sbGF0b3Iu
amRrMTE6IGV4cGFuc2lvbiBvcmRlcmluZyAobnVtYmVyIDU3KQ0KRkFJTDogZ251LnRlc3RsZXQu
amF2YS50ZXh0LlJ1bGVCYXNlZENvbGxhdG9yLmpkazExOiBleHBhbnNpb24gb3JkZXJpbmcgKG51
bWJlciA3NikNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEudGV4dC5SdWxlQmFzZWRDb2xsYXRvci5q
ZGsxMTogZXhwYW5zaW9uIG9yZGVyaW5nIChudW1iZXIgNzcpDQpGQUlMOiBnbnUudGVzdGxldC5q
YXZhLnRleHQuQ29sbGF0aW9uRWxlbWVudEl0ZXJhdG9yLmpkazExOiBuZXh0KCkgMyB0ZXN0IHN0
cmluZyAjNCAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9u
RWxlbWVudEl0ZXJhdG9yLmpkazExOiBubyBwcmltYXJ5IGRpZmZlcmVuY2UgMyB0ZXN0IHN0cmlu
ZyAjNCAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxl
bWVudEl0ZXJhdG9yLmpkazExOiBuZXh0KCkgNSB0ZXN0IHN0cmluZyAjNCAobnVtYmVyIDEpDQpG
QUlMOiBnbnUudGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxlbWVudEl0ZXJhdG9yLmpkazEx
OiBubyBwcmltYXJ5IGRpZmZlcmVuY2UgNSB0ZXN0IHN0cmluZyAjNCAobnVtYmVyIDEpDQpGQUlM
OiBnbnUudGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxlbWVudEl0ZXJhdG9yLmpkazExOiBu
ZXh0KCkgNiB0ZXN0IHN0cmluZyAjNCAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZh
LnRleHQuQ29sbGF0aW9uRWxlbWVudEl0ZXJhdG9yLmpkazExOiBubyBwcmltYXJ5IGRpZmZlcmVu
Y2UgNiB0ZXN0IHN0cmluZyAjNCAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnRl
eHQuQ29sbGF0aW9uRWxlbWVudEl0ZXJhdG9yLmpkazExOiBuZXh0KCkgOCB0ZXN0IHN0cmluZyAj
NCAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxlbWVu
dEl0ZXJhdG9yLmpkazExOiBubyBwcmltYXJ5IGRpZmZlcmVuY2UgOCB0ZXN0IHN0cmluZyAjNCAo
bnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxlbWVudEl0
ZXJhdG9yLmpkazExOiBuZXh0KCkgOSB0ZXN0IHN0cmluZyAjNCAobnVtYmVyIDEpDQpGQUlMOiBn
bnUudGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxlbWVudEl0ZXJhdG9yLmpkazExOiBubyBw
cmltYXJ5IGRpZmZlcmVuY2UgOSB0ZXN0IHN0cmluZyAjNCAobnVtYmVyIDEpDQpGQUlMOiBnbnUu
dGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxlbWVudEl0ZXJhdG9yLmpkazExOiBuZXh0KCkg
MTEgdGVzdCBzdHJpbmcgIzQgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS50ZXh0
LkNvbGxhdGlvbkVsZW1lbnRJdGVyYXRvci5qZGsxMTogbm8gcHJpbWFyeSBkaWZmZXJlbmNlIDEx
IHRlc3Qgc3RyaW5nICM0IChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEudGV4dC5D
b2xsYXRpb25FbGVtZW50SXRlcmF0b3IuamRrMTE6IG5leHQoKSAxMyB0ZXN0IHN0cmluZyAjNCAo
bnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxlbWVudEl0
ZXJhdG9yLmpkazExOiBubyBwcmltYXJ5IGRpZmZlcmVuY2UgMTMgdGVzdCBzdHJpbmcgIzQgKG51
bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS50ZXh0LkNvbGxhdGlvbkVsZW1lbnRJdGVy
YXRvci5qZGsxMTogbmV4dCgpIDE0IHRlc3Qgc3RyaW5nICM0IChudW1iZXIgMSkNCkZBSUw6IGdu
dS50ZXN0bGV0LmphdmEudGV4dC5Db2xsYXRpb25FbGVtZW50SXRlcmF0b3IuamRrMTE6IG5vIHBy
aW1hcnkgZGlmZmVyZW5jZSAxNCB0ZXN0IHN0cmluZyAjNCAobnVtYmVyIDEpDQpGQUlMOiBnbnUu
dGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxlbWVudEl0ZXJhdG9yLmpkazExOiBuZXh0KCkg
MjEgdGVzdCBzdHJpbmcgIzQgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS50ZXh0
LkNvbGxhdGlvbkVsZW1lbnRJdGVyYXRvci5qZGsxMTogbm8gcHJpbWFyeSBkaWZmZXJlbmNlIDIx
IHRlc3Qgc3RyaW5nICM0IChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEudGV4dC5D
b2xsYXRpb25FbGVtZW50SXRlcmF0b3IuamRrMTE6IG5leHQoKSAyMiB0ZXN0IHN0cmluZyAjNCAo
bnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxlbWVudEl0
ZXJhdG9yLmpkazExOiBubyBwcmltYXJ5IGRpZmZlcmVuY2UgMjIgdGVzdCBzdHJpbmcgIzQgKG51
bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS50ZXh0LkNvbGxhdGlvbkVsZW1lbnRJdGVy
YXRvci5qZGsxMTogbmV4dCgpIDI1IHRlc3Qgc3RyaW5nICM0IChudW1iZXIgMSkNCkZBSUw6IGdu
dS50ZXN0bGV0LmphdmEudGV4dC5Db2xsYXRpb25FbGVtZW50SXRlcmF0b3IuamRrMTE6IG5vIHBy
aW1hcnkgZGlmZmVyZW5jZSAyNSB0ZXN0IHN0cmluZyAjNCAobnVtYmVyIDEpDQpGQUlMOiBnbnUu
dGVzdGxldC5qYXZhLnRleHQuQ29sbGF0aW9uRWxlbWVudEl0ZXJhdG9yLmpkazExOiBuZXh0KCkg
MjYgdGVzdCBzdHJpbmcgIzQgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS50ZXh0
LkNvbGxhdGlvbkVsZW1lbnRJdGVyYXRvci5qZGsxMTogbm8gcHJpbWFyeSBkaWZmZXJlbmNlIDI2
IHRlc3Qgc3RyaW5nICM0IChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEudGV4dC5D
b2xsYXRpb25FbGVtZW50SXRlcmF0b3IuamRrMTE6IG5leHQoKSAyIHRlc3Qgc3RyaW5nICM1IChu
dW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEudGV4dC5Db2xsYXRpb25FbGVtZW50SXRl
cmF0b3IuamRrMTE6IG5vIHRlcnRpYXJ5IGRpZmZlcmVuY2UyIHRlc3Qgc3RyaW5nICM1IChudW1i
ZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEudGV4dC5Db2xsYXRpb25FbGVtZW50SXRlcmF0
b3IuamRrMTE6IG5vdCB0ZXJ0aWFyeSBvcmRlcmVkMCwgMiB0ZXN0IHNldCAjMCAobnVtYmVyIDEp
DQotIEJlbGlldmVkIHRvIGJlIENsYXNzcGF0aCBhbmQvb3IgVGVzdHN1aXRlIHByb2JsZW1zLg0K
DQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnV0aWwuQXJyYXlMaXN0LnNlcmlhbCAobnVtYmVyIDEp
DQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnV0aWwuQXJyYXlMaXN0LnNlcmlhbCAobnVtYmVyIDIp
DQotIE1vcmUgc2VyaWFsaXphdGlvbiBpc3N1ZXMuIChQcm9iYWJseSBpc3N1ZSB3aXRoIGphbXZt
IE1ldGhvZC5pbnZva2UgYWdhaW4uLi4pDQoNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEudXRpbC5Q
cm9wZXJ0aWVzLkFjdW5pYVByb3BlcnRpZXNUZXN0OiBjaGVja3ZhbHVlIC0tICBnb3Q6JGVudHM9
JCAobnVtYmVyIDEpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnV0aWwuUHJvcGVydGllcy5BY3Vu
aWFQcm9wZXJ0aWVzVGVzdDogY2hlY2sgaWYgYWxsIGVsZW1lbnRzIHdlcmUgZm91bmQgLS0gZ290
OiBbIWNvbW1lbnQ9LCAjbW9yZWM9b21tZW50c10gKG51bWJlciAxKQ0KLSBDbGFzc3BhdGggYnVn
IChzaG91bGQgYmUgZml4ZWQgbm93IGluIENWUykuDQoNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEu
dXRpbC5yZWdleC5QYXR0ZXJuU3BsaXQ6IHRlc3Q6ICg/PVthLXpdKSAobnVtYmVyIDEpDQotIENs
YXNzcGF0aCBidWcuDQoNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEudXRpbC5sb2dnaW5nLkxvZ2dl
ci5nZXRBbm9ueW1vdXNMb2dnZXI6IHVuY2F1Z2h0IGV4Y2VwdGlvbiBhdCAgbnVtYmVyIDgNCkZB
SUw6IGdudS50ZXN0bGV0LmphdmEudXRpbC5sb2dnaW5nLkxvZ2dlci5nZXRMb2dnZXI6IHVuY2F1
Z2h0IGV4Y2VwdGlvbiBhdCBudW1iZXIgOA0KRkFJTDogZ251LnRlc3RsZXQuamF2YS51dGlsLmxv
Z2dpbmcuTG9nZ2VyLmhpZXJhcmNoeUNoZWNrczogdW5jYXVnaHQgZXhjZXB0aW9uIGF0ICBudW1i
ZXIgMQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS51dGlsLmxvZ2dpbmcuTG9nZ2VyLnNlY3VyaXR5
Q2hlY2tzOiBMb2dnZXIuZ2V0QW5vbnltb3VzTG9nZ2VyKCkgKG51bWJlciA3KQ0KRkFJTDogZ251
LnRlc3RsZXQuamF2YS51dGlsLmxvZ2dpbmcuTG9nZ2VyLnNlY3VyaXR5Q2hlY2tzOiBMb2dnZXIu
Z2V0QW5vbnltb3VzTG9nZ2VyKG51bGwpIChudW1iZXIgNykNCkZBSUw6IGdudS50ZXN0bGV0Lmph
dmEudXRpbC5sb2dnaW5nLlNvY2tldEhhbmRsZXIuZ2V0RmlsdGVyOiB1bmNhdWdodCBleGNlcHRp
b24gYXQgIG51bWJlciAxDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnV0aWwubG9nZ2luZy5Tb2Nr
ZXRIYW5kbGVyLmdldEZvcm1hdHRlcjogdW5jYXVnaHQgZXhjZXB0aW9uIGF0ICBudW1iZXIgMQ0K
RkFJTDogZ251LnRlc3RsZXQuamF2YS51dGlsLmxvZ2dpbmcuU29ja2V0SGFuZGxlci5wdWJsaXNo
OiB1bmNhdWdodCBleGNlcHRpb24gYXQgIG51bWJlciAxDQpGQUlMOiBnbnUudGVzdGxldC5qYXZh
LnV0aWwubG9nZ2luZy5YTUxGb3JtYXR0ZXIuZm9ybWF0TWVzc2FnZSAobnVtYmVyIDIpDQpGQUlM
OiBnbnUudGVzdGxldC5qYXZhLnV0aWwubG9nZ2luZy5YTUxGb3JtYXR0ZXIuZm9ybWF0TWVzc2Fn
ZSAobnVtYmVyIDMpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnV0aWwubG9nZ2luZy5YTUxGb3Jt
YXR0ZXIuZm9ybWF0TWVzc2FnZSAobnVtYmVyIDQpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnV0
aWwubG9nZ2luZy5YTUxGb3JtYXR0ZXIuZm9ybWF0TWVzc2FnZSAobnVtYmVyIDUpDQpGQUlMOiBn
bnUudGVzdGxldC5qYXZhLnV0aWwubG9nZ2luZy5YTUxGb3JtYXR0ZXIuZm9ybWF0TWVzc2FnZSAo
bnVtYmVyIDYpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLnV0aWwubG9nZ2luZy5YTUxGb3JtYXR0
ZXIuZ2V0SGVhZDogbm8gZW5jb2Rpbmcgc2V0IChudW1iZXIgMSkNCi0gVW5rbm93bi4gSGF2ZSB0
byBhc2sgU2FzY2hhLg0KDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmF3dC5nZW9tLlF1YWRDdXJ2
ZTJELnN1YmRpdmlkZTogYXJyYXkgKG51bWJlciAxKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5h
d3QuZ2VvbS5RdWFkQ3VydmUyRC5zdWJkaXZpZGU6IGFycmF5IChudW1iZXIgMykNCkZBSUw6IGdu
dS50ZXN0bGV0LmphdmEuYXd0Lmdlb20uUXVhZEN1cnZlMkQuc3ViZGl2aWRlOiBhcnJheSAobnVt
YmVyIDQpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmF3dC5nZW9tLkN1YmljQ3VydmUyRC5zdWJk
aXZpZGU6IGFycmF5IChudW1iZXIgMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEuYXd0Lmdlb20u
Q3ViaWNDdXJ2ZTJELnN1YmRpdmlkZTogYXJyYXkgKG51bWJlciAzKQ0KRkFJTDogZ251LnRlc3Rs
ZXQuamF2YS5hd3QuZ2VvbS5DdWJpY0N1cnZlMkQuc3ViZGl2aWRlOiBhcnJheSAobnVtYmVyIDQp
DQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmF3dC5nZW9tLlJvdW5kUmVjdGFuZ2xlMkQuaW50ZXJz
ZWN0cyAobnVtYmVyIDEwKQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5hd3QuZ2VvbS5Sb3VuZFJl
Y3RhbmdsZTJELmludGVyc2VjdHMgKG51bWJlciAxMSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEu
YXd0Lmdlb20uUm91bmRSZWN0YW5nbGUyRC5pbnRlcnNlY3RzIChudW1iZXIgMTIpDQpGQUlMOiBn
bnUudGVzdGxldC5qYXZhLmF3dC5nZW9tLlJvdW5kUmVjdGFuZ2xlMkQuaW50ZXJzZWN0cyAobnVt
YmVyIDE2KQ0KRkFJTDogZ251LnRlc3RsZXQuamF2YS5hd3QuZ2VvbS5Sb3VuZFJlY3RhbmdsZTJE
LmludGVyc2VjdHMgKG51bWJlciAyMCkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEuYXd0Lmdlb20u
Um91bmRSZWN0YW5nbGUyRC5pbnRlcnNlY3RzIChudW1iZXIgMjMpDQpGQUlMOiBnbnUudGVzdGxl
dC5qYXZhLmF3dC5nZW9tLlJvdW5kUmVjdGFuZ2xlMkQuaW50ZXJzZWN0cyAobnVtYmVyIDI3KQ0K
RkFJTDogZ251LnRlc3RsZXQuamF2YS5hd3QuZ2VvbS5Sb3VuZFJlY3RhbmdsZTJELmludGVyc2Vj
dHMgKG51bWJlciAzMCkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEuYXd0Lmdlb20uUm91bmRSZWN0
YW5nbGUyRC5pbnRlcnNlY3RzIChudW1iZXIgMzQpDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmF3
dC5nZW9tLlJvdW5kUmVjdGFuZ2xlMkQuaW50ZXJzZWN0cyAobnVtYmVyIDM4KQ0KRkFJTDogZ251
LnRlc3RsZXQuamF2YS5hd3QuZ2VvbS5Sb3VuZFJlY3RhbmdsZTJELmludGVyc2VjdHMgKG51bWJl
ciAzOSkNCkZBSUw6IGdudS50ZXN0bGV0LmphdmEuYXd0Lmdlb20uUm91bmRSZWN0YW5nbGUyRC5p
bnRlcnNlY3RzIChudW1iZXIgNDApDQotIEJlbGlldmVkIHRvIGJlIGtub3duIENsYXNzcGF0aCBi
dWdzLg0KDQpGQUlMOiBnbnUudGVzdGxldC5qYXZhLmF3dC5pbWFnZS5QaXhlbEdyYWJiZXIuU2lt
cGxlR3JhYmJlciBhYm5vcm1hbCB0ZXJtaW5hdGlvbiAxMzkgQ1JBU0ggb3IgVElNRU9VVA0KLSBD
bGFzc3BhdGggYnVnIC0gR1RLIHBlZXJzIGNyYXNoLg0KDQpGQUlMOiBnbnUudGVzdGxldC5CaW5h
cnlDb21wYXRpYmlsaXR5LkJpbmFyeUNvbXBhdGliaWxpdHlUZXN0IChudW1iZXIgMSkNCi0gSWdu
b3JlIHRoaXMgZm9yIG5vdy4gVGVzdHVpdGUgd2VpcmRuZXNzLg0K

--=-qSsYN4PWatXsoZctaX00--

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

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

iD8DBQBAZwAmxVhZCJWr9QwRAhGoAJ45nLmUBNsICulF3+Sm/UXay4v4owCcD57u
e1n+LUXjcpvzfM1e4YUsT9s=
=+S24
-----END PGP SIGNATURE-----

--=-1IQqAzWOoUqAjab53VVI--




From MAILER-DAEMON Sun Mar 28 11:56:23 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7dZs-00036k-PV
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 11:56:04 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7dZP-0002We-VA
	for classpath@gnu.org; Sun, 28 Mar 2004 11:55:35 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7dYt-0001mF-Ij
	for classpath@gnu.org; Sun, 28 Mar 2004 11:55:08 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7dX4-0000AY-SY
	for classpath@gnu.org; Sun, 28 Mar 2004 11:53:11 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B7dWq-0002Zi-00; Sun, 28 Mar 2004 18:52:56 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADBDE@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADBDE@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-YkXDQIbLTbXvYEL10T20"
Message-Id: <1080492775.17922.63.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 28 Mar 2004 18:52:56 +0200
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 16:55:57 -0000


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

Hi,

On Thu, 2004-03-25 at 21:50, Jeroen Frijters wrote:
> David Lichteblau wrote:
> > BTW, on the topic of VM* classes: Has there been agreement on
> > java.lang.VMClass?  The proposal was to make its methods static (and
> > possibly add an "Object vmdata" field to java.lang.Class instead).
>=20
> I don't think anybody objected to this proposal. I'd definitely would
> like the vmdata field though.

I would like the vmdata field type then to be VMClass not Object.

So if I remember the discussion correctly the idea then is to not call
the methods on the VMClass object but on static VMClass methods. Do
these methods then get as parameter the Class object itself or the
vmdata object?

And more importantly, who wants to prototype this so we can have a real
discussion about implementation issues?

Cheers,

Mark

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

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

iD8DBQBAZwLmxVhZCJWr9QwRAmRtAJ9fulmdj2G8OXxhjo8UdAxe2BRntgCfUNDe
W8irBiri/KT9p2TRfVCwLvk=
=l+Te
-----END PGP SIGNATURE-----

--=-YkXDQIbLTbXvYEL10T20--




From MAILER-DAEMON Sun Mar 28 12:03:36 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7dgw-0008F3-OR
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 12:03:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7dge-0007wm-VN
	for classpath@gnu.org; Sun, 28 Mar 2004 12:03:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7dga-0007qp-T0
	for classpath@gnu.org; Sun, 28 Mar 2004 12:03:01 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7dgS-0007c5-Vb
	for classpath@gnu.org; Sun, 28 Mar 2004 12:02:53 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B7dgH-0002g1-00; Sun, 28 Mar 2004 19:02:41 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADBDF@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADBDF@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-cYWTMNB7iaF40B7Kss1F"
Message-Id: <1080493361.17922.73.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 28 Mar 2004 19:02:41 +0200
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 17:03:17 -0000


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

Hi,

On Thu, 2004-03-25 at 22:54, Jeroen Frijters wrote:
> No, if you somehow get a Configuration.java (e.g. manually create it),
> you can build Classpath by simply running jikes (or another Java
> compiler).

BTW. If someone could come up with something better for (most of) the
Configuration.java.in thing that would be nice. Most of the things in
there could be provided by the execution environment during runtime.
Only the DEBUG flag seems really compile-time critical since it can
remove some dead code. And maybe hard-coding the version number is a
good thing. But the rest seems easily provided by the runtime during the
bootstrap process.

Volunteers for thinking/coming up with a better solution?

Cheers,

Mark

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

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

iD8DBQBAZwUwxVhZCJWr9QwRAg2iAKCdv6dwOXOGnoGKUZr6ndZ0NiTnfwCcDWZd
D+LTxAg8tbim/evXb+cyEgI=
=M210
-----END PGP SIGNATURE-----

--=-cYWTMNB7iaF40B7Kss1F--




From MAILER-DAEMON Sun Mar 28 12:33:04 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7e9g-0003kP-4X
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 12:33:04 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7e9d-0003k0-Em
	for classpath@gnu.org; Sun, 28 Mar 2004 12:33:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7e9b-0003jR-Ud
	for classpath@gnu.org; Sun, 28 Mar 2004 12:33:00 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7e9Z-0003iy-UB
	for classpath@gnu.org; Sun, 28 Mar 2004 12:32:58 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B7e99-0002in-00; Sun, 28 Mar 2004 19:32:31 +0200
From: Mark Wielaard <mark@klomp.org>
To: Steven Augart <augart@watson.ibm.com>
In-Reply-To: <4064C33B.4080105@watson.ibm.com>
References: <40631624.7060108@uqam.ca>  <4064C33B.4080105@watson.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-s8h31ssKOE6Rcg+qQ/rm"
Message-Id: <1080495151.17922.83.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 28 Mar 2004 19:32:31 +0200
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 17:33:02 -0000


--=-s8h31ssKOE6Rcg+qQ/rm
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Sat, 2004-03-27 at 00:56, Steven Augart wrote:
> Etienne Gagnon wrote:
> > [Some VMs, like JikesRVM tend to completely replace some base classes
> > by their own; SableVM does not].
>=20
> Jikes RVM's rvmrt.jar overrides exactly eleven non-VM* classes from a=20
> default Classpath installation's glibj.zip:
>=20
> 	java.lang.Class
> 	java.lang.Object
> 	java.lang.Thread
> 	java.lang.Throwable
> 	java.lang.ref.PhantomReference
> 	java.lang.ref.Reference
> 	java.lang.ref.SoftReference
> 	java.lang.ref.WeakReference
> 	java.lang.reflect.Constructor
> 	java.lang.reflect.Field
> 	java.lang.reflect.Method

I like to know what prevents JikesRVM currently from sharing these
classes. I hope to go to a model like SableVM apparently has were none
of the core classes need to be overridden (even though some VMs might
still opt to do it anyway).

I had hoped that the VM interface for Class, Object, Thread and
Throwable was usable for most VMs. What isn't in your case?

I admit not to have looked into or thought about java.lang.ref support
yet. How many VMs based on GNU Classpath properly implement those?

java.lang.reflect should be refactored. I don't think there is a real
reason for a VM to have specific versions of those (given properly
designed VM interfaces of course). But I don't have had time yet to work
on it. Hopefully some of the work done by the SableVM hackers will help
here.

Cheers,

Mark

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

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

iD8DBQBAZwwvxVhZCJWr9QwRAkX+AJ9o1rqcX9onP95r0iIkBR7HOt3+0ACgkTaH
Q0xjM1qNRydElDshaoe3Xhk=
=iIc6
-----END PGP SIGNATURE-----

--=-s8h31ssKOE6Rcg+qQ/rm--




From MAILER-DAEMON Sun Mar 28 12:43:06 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7eJO-0006t7-6Y
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 12:43:06 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7eJI-0006pD-Im
	for classpath@gnu.org; Sun, 28 Mar 2004 12:43:00 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7eFh-0005ew-ID
	for classpath@gnu.org; Sun, 28 Mar 2004 12:39:48 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7eDG-0004qo-RH
	for classpath@gnu.org; Sun, 28 Mar 2004 12:36:46 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.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, 28 Mar 2004 19:36:27 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADC0C@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Classpath build process and VM-specific issues
Thread-Index: AcQU5ST7RLJTTp/AQJqbbtJSoMwR4wABbGdg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 17:43:03 -0000

Mark Wielaard wrote:
> On Thu, 2004-03-25 at 21:50, Jeroen Frijters wrote:
> > David Lichteblau wrote:
> > > BTW, on the topic of VM* classes: Has there been agreement on
> > > java.lang.VMClass?  The proposal was to make its methods=20
> static (and
> > > possibly add an "Object vmdata" field to java.lang.Class instead).
> >=20
> > I don't think anybody objected to this proposal. I'd=20
> definitely would
> > like the vmdata field though.
>=20
> I would like the vmdata field type then to be VMClass not Object.

IIRC you are the only one to voice this request. I would like it to be
of type Object and I think Jikes RVM as well.

> So if I remember the discussion correctly the idea then is to not call
> the methods on the VMClass object but on static VMClass methods. Do
> these methods then get as parameter the Class object itself or the
> vmdata object?

We would pass the Class instance, that way people who don't want to use
the vmdata instance, can do so.

> And more importantly, who wants to prototype this so we can=20
> have a real discussion about implementation issues?

I'll see if I can find the time tomorrow.

Regards,
Jeroen



From MAILER-DAEMON Sun Mar 28 12:45:41 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7eLt-0007xO-CJ
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 12:45:41 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7eLr-0007wc-3E
	for classpath@gnu.org; Sun, 28 Mar 2004 12:45:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7eLp-0007vb-3E
	for classpath@gnu.org; Sun, 28 Mar 2004 12:45:37 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7eLo-0007v7-Pt
	for classpath@gnu.org; Sun, 28 Mar 2004 12:45:36 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B7eLd-0002kU-00; Sun, 28 Mar 2004 19:45:25 +0200
From: Mark Wielaard <mark@klomp.org>
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
In-Reply-To: <40659FCD.6010201@uqam.ca>
References: <40659FCD.6010201@uqam.ca>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-9+kwWUVpi503ir6HE71l"
Message-Id: <1080495924.17922.94.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 28 Mar 2004 19:45:24 +0200
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: generated files in CVS?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 17:45:39 -0000


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

Hi,

On Sat, 2004-03-27 at 16:37, Etienne Gagnon wrote:
> Why are the following files in CVS?
>=20
> config.guess
> config.sub
> ltmain.sh
>
> If there is no particular reason, I'd like to remove them from
> CVS, as runnnig auto* tools causes spurious diffs in these files.

Unless running with --force the auto* tools shouldn't override these
files so normally you won't see any diffs when following the HACKING
instructions. But there is no particular reason. So please remove them.
Make sure to update the HACKING file and send a message to the list how
to regenerate these when you do.

Thanks,

Mark

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

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

iD8DBQBAZw80xVhZCJWr9QwRAozeAJ0R+4FJcc9ZN7AeipPnyClWvQn2YQCeInaT
jlmchJe/8TjEROlluJXAoX8=
=54Hf
-----END PGP SIGNATURE-----

--=-9+kwWUVpi503ir6HE71l--




From MAILER-DAEMON Sun Mar 28 13:14:47 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7eo2-0002Rj-WE
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 13:14:47 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7eo0-0002PV-5z
	for classpath@gnu.org; Sun, 28 Mar 2004 13:14:44 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7enT-0002GJ-5W
	for classpath@gnu.org; Sun, 28 Mar 2004 13:14:42 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7enP-0002E5-T9
	for classpath@gnu.org; Sun, 28 Mar 2004 13:14:11 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.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, 28 Mar 2004 20:13:46 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADC0D@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Classpath build process and VM-specific issues
Thread-Index: AcQU68o4ojrt+vORTO2SyypedGsGUQAAtpsQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>, "Steven Augart" <augart@watson.ibm.com>
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 18:14:44 -0000

Mark Wielaard wrote:
> I admit not to have looked into or thought about java.lang.ref support
> yet. How many VMs based on GNU Classpath properly implement those?

I have a (sort of) working implementation. I had to replace
java.lang.ref.Reference (and I use instanceof to detect PhantomReference
(all the others are implemented the same :-()).

Since java.lang.ref.Reference is such a simple class, I don't see much
point in providing a VM split.

> java.lang.reflect should be refactored. I don't think there is a real
> reason for a VM to have specific versions of those (given properly
> designed VM interfaces of course). But I don't have had time=20
> yet to work on it.

Agreed. I have some ideas, but would like feedback from others to see it
they would work for them.

I think that in this case (contrary to Class - VMClass) it makes sense
for everyone to have a VMMethod instance, because Method contains state
(the setAccessible flag). Does everyone agree with this, or are there
good reasons not to have a VMMethod instance?

Method.invoke() is tricky. How much should be done in Method vs.
VMMethod? For example, I don't need argument widening (the underlying
reflection implementation does that already), but others might want to
share that and sharing is more convenient if it is in Method.

BTW, before Method.invoke() can be implemented, we need to have a
getCallerClass.

Regards,
Jeroen



From MAILER-DAEMON Sun Mar 28 13:25:17 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7eyD-0000Rb-C3
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 13:25:17 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7ey9-0000PC-4K
	for classpath@gnu.org; Sun, 28 Mar 2004 13:25:13 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7exX-0000DK-J3
	for classpath@gnu.org; Sun, 28 Mar 2004 13:25:06 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7exX-0000D6-7t
	for classpath@gnu.org; Sun, 28 Mar 2004 13:24:35 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2SIJsKt007046;
	Sun, 28 Mar 2004 13:19:54 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032813210609383 ; Sun, 28 Mar 2004 13:21:06 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2SHRVD9015175; Sun, 28 Mar 2004 12:27:31 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B7e4I-0007TL-Gd; Sun, 28 Mar 2004 12:27:30 -0500
Message-ID: <40670B02.90304@uqam.ca>
Date: Sun, 28 Mar 2004 12:27:30 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADBDE@LEMBU.sumatrasoftware.com>
	<1080492775.17922.63.camel@elsschot.wildebeest.org>
In-Reply-To: <1080492775.17922.63.camel@elsschot.wildebeest.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 18:25:15 -0000

Mark Wielaard wrote:
> I would like the vmdata field type then to be VMClass not Object.

I disagree, as it imposes a restriction on what vmData actually is.
The most obvious implementation of vmData is to be a byte[] instance
holding the byte of a native pointer to an internal VM non-moveable
data structure.

Etienne


-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Sun Mar 28 13:32:59 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7f5f-0007Ak-Az
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 13:32:59 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7f5b-000772-W9
	for classpath@gnu.org; Sun, 28 Mar 2004 13:32:55 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7f54-0006Qn-TK
	for classpath@gnu.org; Sun, 28 Mar 2004 13:32:54 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7f53-0006NI-Rx
	for classpath@gnu.org; Sun, 28 Mar 2004 13:32:22 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2SIO0Kx011717;
	Sun, 28 Mar 2004 13:24:19 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032813253109465 ; Sun, 28 Mar 2004 13:25:31 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2SHToD9017479; Sun, 28 Mar 2004 12:29:50 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B7e6X-0007TY-Mw; Sun, 28 Mar 2004 12:29:49 -0500
Message-ID: <40670B8D.40205@uqam.ca>
Date: Sun, 28 Mar 2004 12:29:49 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADBDE@LEMBU.sumatrasoftware.com>
	<1080492775.17922.63.camel@elsschot.wildebeest.org>
	<40670B02.90304@uqam.ca>
In-Reply-To: <40670B02.90304@uqam.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 18:32:56 -0000

Etienne Gagnon wrote:
> The most obvious implementation of vmData is to be a byte[] instance
> holding the byte of a native pointer to an internal VM non-moveable
               ^^^^
               bytes  (of course)

Why byte[]?  For transparent protability to 16, 32, 64, 128, etc. bit
processors without having to change anything.

Etienne

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Sun Mar 28 13:36:19 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7f8s-0007tq-Ok
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 13:36:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7f8o-0007rn-8O
	for classpath@gnu.org; Sun, 28 Mar 2004 13:36:14 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7f8m-0007rR-JH
	for classpath@gnu.org; Sun, 28 Mar 2004 13:36:13 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7f7m-0007h9-9U
	for classpath@gnu.org; Sun, 28 Mar 2004 13:35:10 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B7f7h-0002tT-00; Sun, 28 Mar 2004 20:35:05 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADC05@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC05@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-UdVIg0TtBHSNzlLQpvX1"
Message-Id: <1080498905.17922.110.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 28 Mar 2004 20:35:05 +0200
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Proposed java.io.OutputStreamWriter patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 18:36:15 -0000


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

Hi,

On Sat, 2004-03-27 at 15:23, Jeroen Frijters wrote:
> Currently, if you System.out.println() a string containing an
> unencodeable character, the line gets silently swallowed, instead the
> unencodeable character should be replaced by a question mark (at least
> that's what Sun does on Windows).
>=20
> This behavior doesn't appear to be specified anywhere, but testing
> suggests that the proper way to do this is by calling setBadCharValue on
> the Encoder in OutputStreamWriter.
>=20
> OK to apply?

This looks fine to me.
The new java.nio.charset.CharsetEncoder also seems to contain this
functionality so it should be easy to switch to that (when someone has
time to rewrite our current EncodingManger approach to it).

Cheers,

Mark

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

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

iD8DBQBAZxrZxVhZCJWr9QwRAlI+AKCSW4Sv2qmITj+/ey+GsG9fVi+K2ACfZhcU
DbzgeAMH2VYDTIDHLIldxHA=
=eEcA
-----END PGP SIGNATURE-----

--=-UdVIg0TtBHSNzlLQpvX1--




From MAILER-DAEMON Sun Mar 28 13:40:30 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7fCv-0000x0-AX
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 13:40:29 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7fCm-0000sS-JC
	for classpath@gnu.org; Sun, 28 Mar 2004 13:40:20 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7f9K-0007ys-1X
	for classpath@gnu.org; Sun, 28 Mar 2004 13:37:23 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7f9J-0007yn-NZ
	for classpath@gnu.org; Sun, 28 Mar 2004 13:36:45 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2SIXOL1009332;
	Sun, 28 Mar 2004 13:33:50 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032813350309708 ; Sun, 28 Mar 2004 13:35:03 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2SHXYD9007223; Sun, 28 Mar 2004 12:33:34 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B7eAA-0007Ti-BZ; Sun, 28 Mar 2004 12:33:34 -0500
Message-ID: <40670C6E.6000408@uqam.ca>
Date: Sun, 28 Mar 2004 12:33:34 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADBDE@LEMBU.sumatrasoftware.com>
	<1080492775.17922.63.camel@elsschot.wildebeest.org>
	<40670B02.90304@uqam.ca> <40670B8D.40205@uqam.ca>
In-Reply-To: <40670B8D.40205@uqam.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 18:40:21 -0000

Just to be cristal clear:

I propose to declare vmData of type Object, so that a native implementation
can choose to creat an instance of *any* type to hold the VM-specific value.

Etienne

Etienne Gagnon wrote:
> Etienne Gagnon wrote:
> 
>> The most obvious implementation of vmData is to be a byte[] instance
>> holding the byte of a native pointer to an internal VM non-moveable
> 
>               ^^^^
>               bytes  (of course)
> 
> Why byte[]?  For transparent protability to 16, 32, 64, 128, etc. bit
> processors without having to change anything.
> 
> Etienne
> 


-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Sun Mar 28 13:43:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7fG5-0001R5-LM
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 13:43:45 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7fBb-0000Kz-VY
	for classpath@gnu.org; Sun, 28 Mar 2004 13:39:07 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7fAH-0008Ho-U3
	for classpath@gnu.org; Sun, 28 Mar 2004 13:38:17 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7f7h-0007gG-Ea
	for classpath@gnu.org; Sun, 28 Mar 2004 13:35:05 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C414F3.6207F79D"
Date: Sun, 28 Mar 2004 20:34:42 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADC0E@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: Classpath build process and VM-specific issues
Thread-Index: AcQU8e5hX8IyujZUQ+OeHXcz1WZ6CAAAMAUg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Etienne Gagnon" <gagnon.etienne_m@uqam.ca>,
	"Mark Wielaard" <mark@klomp.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 18:43:37 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C414F3.6207F79D
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Etienne Gagnon wrote:
> Mark Wielaard wrote:
> > I would like the vmdata field type then to be VMClass not Object.
>=20
> I disagree, as it imposes a restriction on what vmData actually is.
> The most obvious implementation of vmData is to be a byte[] instance
> holding the byte of a native pointer to an internal VM non-moveable
> data structure.

I'm glad to see we agree (although I don't think it's at all obvious
that it should be a byte[], not all VMs use native code).

I've attached my first shot at the structure. It's actually quite
trivial. I've already implemented it in IKVM.NET and it works very well
for me. Please let me know if this works for you too.

Regards,
Jeroen

------_=_NextPart_001_01C414F3.6207F79D
Content-Type: application/octet-stream;
	name="class.patch"
Content-Transfer-Encoding: base64
Content-Description: class.patch
Content-Disposition: attachment;
	filename="class.patch"

SW5kZXg6IGphdmEvbGFuZy9DbGFzcy5qYXZhDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jv
b3QvY2xhc3NwYXRoL2NsYXNzcGF0aC9qYXZhL2xhbmcvQ2xhc3MuamF2YSx2DQpyZXRyaWV2aW5n
IHJldmlzaW9uIDEuMTcNCmRpZmYgLXUgLXIxLjE3IENsYXNzLmphdmENCi0tLSBqYXZhL2xhbmcv
Q2xhc3MuamF2YQkxNCBNYXIgMjAwNCAxNDoxNzo1NSAtMDAwMAkxLjE3DQorKysgamF2YS9sYW5n
L0NsYXNzLmphdmEJMjggTWFyIDIwMDQgMTg6Mjk6NTUgLTAwMDANCkBAIC0xMDUsNyArMTA1LDcg
QEANCiAgICAgdW5rbm93blByb3RlY3Rpb25Eb21haW4gPSBuZXcgUHJvdGVjdGlvbkRvbWFpbihu
dWxsLCBwZXJtaXNzaW9ucyk7DQogICB9DQogDQotICB0cmFuc2llbnQgZmluYWwgVk1DbGFzcyB2
bUNsYXNzOw0KKyAgdHJhbnNpZW50IGZpbmFsIE9iamVjdCB2bWRhdGE7DQogDQogICAvKiogbmV3
SW5zdGFuY2UoKSBjYWNoZXMgdGhlIGRlZmF1bHQgY29uc3RydWN0b3IgKi8NCiAgIHByaXZhdGUg
dHJhbnNpZW50IENvbnN0cnVjdG9yIGNvbnN0cnVjdG9yOw0KQEAgLTExNCw5ICsxMTQsOSBAQA0K
ICAgICogQ2xhc3MgaXMgbm9uLWluc3RhbnRpYWJsZSBmcm9tIEphdmEgY29kZTsgb25seSB0aGUg
Vk0gY2FuIGNyZWF0ZQ0KICAgICogaW5zdGFuY2VzIG9mIHRoaXMgY2xhc3MuDQogICAgKi8NCi0g
IENsYXNzKFZNQ2xhc3Mgdm1DbGFzcykNCisgIENsYXNzKE9iamVjdCB2bWRhdGEpDQogICB7DQot
ICAgIHRoaXMudm1DbGFzcyA9IHZtQ2xhc3M7DQorICAgIHRoaXMudm1kYXRhID0gdm1kYXRhOw0K
ICAgfQ0KIA0KICAgLyoqDQpAQCAtMTg3LDcgKzE4Nyw3IEBADQogCWlmIChjICE9IG51bGwpDQog
CSAgew0KIAkgICAgaWYgKGluaXRpYWxpemUpDQotCSAgICAgIGMudm1DbGFzcy5pbml0aWFsaXpl
KCk7DQorCSAgICAgIFZNQ2xhc3MuaW5pdGlhbGl6ZShjKTsNCiAJICAgIHJldHVybiBjOw0KIAkg
IH0NCiAgICAgICAgIHRocm93IG5ldyBDbGFzc05vdEZvdW5kRXhjZXB0aW9uKG5hbWUpOw0KQEAg
LTE5Nyw3ICsxOTcsNyBAQA0KICAgICBDbGFzcyBjID0gY2xhc3Nsb2FkZXIubG9hZENsYXNzKG5h
bWUpOw0KICAgICBjbGFzc2xvYWRlci5yZXNvbHZlQ2xhc3MoYyk7DQogICAgIGlmIChpbml0aWFs
aXplKQ0KLSAgICAgIGMudm1DbGFzcy5pbml0aWFsaXplKCk7DQorICAgICAgVk1DbGFzcy5pbml0
aWFsaXplKGMpOw0KICAgICByZXR1cm4gYzsNCiAgIH0NCiAgIA0KQEAgLTI1Myw3ICsyNTMsNyBA
QA0KICAgICBpZiAobmFtZS5zdGFydHNXaXRoKCJqYXZhLiIpIHx8IG5hbWUuc3RhcnRzV2l0aCgi
Z251LmphdmEuIikpDQogICAgICAgcmV0dXJuIG51bGw7DQogDQotICAgIENsYXNzTG9hZGVyIGxv
YWRlciA9IHZtQ2xhc3MuZ2V0Q2xhc3NMb2FkZXIoKTsNCisgICAgQ2xhc3NMb2FkZXIgbG9hZGVy
ID0gVk1DbGFzcy5nZXRDbGFzc0xvYWRlcih0aGlzKTsNCiAgICAgLy8gQ2hlY2sgaWYgd2UgbWF5
IGdldCB0aGUgY2xhc3Nsb2FkZXINCiAgICAgU2VjdXJpdHlNYW5hZ2VyIHNtID0gU3lzdGVtLmdl
dFNlY3VyaXR5TWFuYWdlcigpOw0KICAgICBpZiAoc20gIT0gbnVsbCkNCkBAIC0yNzksNyArMjc5
LDcgQEANCiAgICAqLw0KICAgcHVibGljIENsYXNzIGdldENvbXBvbmVudFR5cGUoKQ0KICAgew0K
LSAgICByZXR1cm4gdm1DbGFzcy5nZXRDb21wb25lbnRUeXBlICgpOw0KKyAgICByZXR1cm4gVk1D
bGFzcy5nZXRDb21wb25lbnRUeXBlICh0aGlzKTsNCiAgIH0NCiANCiAgIC8qKg0KQEAgLTM3NSw3
ICszNzUsNyBAQA0KIA0KICAgQ2xhc3NbXSBnZXREZWNsYXJlZENsYXNzZXMgKGJvb2xlYW4gcHVi
bGljT25seSkNCiAgIHsNCi0gICAgcmV0dXJuIHZtQ2xhc3MuZ2V0RGVjbGFyZWRDbGFzc2VzIChw
dWJsaWNPbmx5KTsNCisgICAgcmV0dXJuIFZNQ2xhc3MuZ2V0RGVjbGFyZWRDbGFzc2VzICh0aGlz
LCBwdWJsaWNPbmx5KTsNCiAgIH0NCiANCiAgIC8qKg0KQEAgLTM5OCw3ICszOTgsNyBAQA0KIA0K
ICAgQ29uc3RydWN0b3JbXSBnZXREZWNsYXJlZENvbnN0cnVjdG9ycyAoYm9vbGVhbiBwdWJsaWNP
bmx5KQ0KICAgew0KLSAgICByZXR1cm4gdm1DbGFzcy5nZXREZWNsYXJlZENvbnN0cnVjdG9ycyAo
cHVibGljT25seSk7DQorICAgIHJldHVybiBWTUNsYXNzLmdldERlY2xhcmVkQ29uc3RydWN0b3Jz
ICh0aGlzLCBwdWJsaWNPbmx5KTsNCiAgIH0NCiAgIA0KICAgLyoqDQpAQCAtNDQ2LDcgKzQ0Niw3
IEBADQogDQogICBGaWVsZFtdIGdldERlY2xhcmVkRmllbGRzIChib29sZWFuIHB1YmxpY09ubHkp
DQogICB7DQotICAgIHJldHVybiB2bUNsYXNzLmdldERlY2xhcmVkRmllbGRzIChwdWJsaWNPbmx5
KTsNCisgICAgcmV0dXJuIFZNQ2xhc3MuZ2V0RGVjbGFyZWRGaWVsZHMgKHRoaXMsIHB1YmxpY09u
bHkpOw0KICAgfQ0KIA0KICAgLyoqDQpAQCAtNTA0LDcgKzUwNCw3IEBADQogDQogICBNZXRob2Rb
XSBnZXREZWNsYXJlZE1ldGhvZHMgKGJvb2xlYW4gcHVibGljT25seSkNCiAgIHsNCi0gICAgcmV0
dXJuIHZtQ2xhc3MuZ2V0RGVjbGFyZWRNZXRob2RzIChwdWJsaWNPbmx5KTsNCisgICAgcmV0dXJu
IFZNQ2xhc3MuZ2V0RGVjbGFyZWRNZXRob2RzICh0aGlzLCBwdWJsaWNPbmx5KTsNCiAgIH0NCiAg
DQogICAvKioNCkBAIC01MTYsNyArNTE2LDcgQEANCiAgICAqLw0KICAgcHVibGljIENsYXNzIGdl
dERlY2xhcmluZ0NsYXNzKCkNCiAgIHsNCi0gICAgcmV0dXJuIHZtQ2xhc3MuZ2V0RGVjbGFyaW5n
Q2xhc3MgKCk7DQorICAgIHJldHVybiBWTUNsYXNzLmdldERlY2xhcmluZ0NsYXNzICh0aGlzKTsN
CiAgIH0NCiANCiAgIC8qKg0KQEAgLTYwNSw3ICs2MDUsNyBAQA0KICAgICovDQogICBwdWJsaWMg
Q2xhc3NbXSBnZXRJbnRlcmZhY2VzKCkNCiAgIHsNCi0gICAgcmV0dXJuIHZtQ2xhc3MuZ2V0SW50
ZXJmYWNlcyAoKTsNCisgICAgcmV0dXJuIFZNQ2xhc3MuZ2V0SW50ZXJmYWNlcyAodGhpcyk7DQog
ICB9DQogDQogICBwcml2YXRlIHN0YXRpYyBmaW5hbCBjbGFzcyBNZXRob2RLZXkNCkBAIC04MzQs
NyArODM0LDcgQEANCiAgICAqLw0KICAgcHVibGljIGludCBnZXRNb2RpZmllcnMoKQ0KICAgew0K
LSAgICByZXR1cm4gdm1DbGFzcy5nZXRNb2RpZmllcnMgKCk7DQorICAgIHJldHVybiBWTUNsYXNz
LmdldE1vZGlmaWVycyAodGhpcyk7DQogICB9DQogICANCiAgIC8qKg0KQEAgLTg1OCw3ICs4NTgs
NyBAQA0KICAgICovDQogICBwdWJsaWMgU3RyaW5nIGdldE5hbWUoKQ0KICAgeyANCi0gICAgcmV0
dXJuIHZtQ2xhc3MuZ2V0TmFtZSAoKTsNCisgICAgcmV0dXJuIFZNQ2xhc3MuZ2V0TmFtZSAodGhp
cyk7DQogICB9DQogDQogICAvKioNCkBAIC05NjUsNyArOTY1LDcgQEANCiAgICAqLw0KICAgcHVi
bGljIENsYXNzIGdldFN1cGVyY2xhc3MoKQ0KICAgew0KLSAgICByZXR1cm4gdm1DbGFzcy5nZXRT
dXBlcmNsYXNzICgpOw0KKyAgICByZXR1cm4gVk1DbGFzcy5nZXRTdXBlcmNsYXNzICh0aGlzKTsN
CiAgIH0NCiAgIA0KICAgLyoqDQpAQCAtOTc2LDExICs5NzYsNyBAQA0KICAgICovDQogICBwdWJs
aWMgYm9vbGVhbiBpc0FycmF5KCkNCiAgIHsNCi0gICAgaW50IHJlc3VsdCA9IC0xOw0KLSAgICBp
ZiAoKHJlc3VsdCA9IHZtQ2xhc3MuaXNBcnJheSAoKSkgPCAwKQ0KLSAgICAgIHJldHVybiBnZXRO
YW1lKCkuY2hhckF0KDApID09ICdbJzsNCi0NCi0gICAgcmV0dXJuIHJlc3VsdCA9PSAxOw0KKyAg
ICByZXR1cm4gVk1DbGFzcy5pc0FycmF5ICh0aGlzKTsNCiAgIH0NCiAgIA0KICAgLyoqDQpAQCAt
OTk5LDcgKzk5NSw3IEBADQogICAgKi8NCiAgIHB1YmxpYyBib29sZWFuIGlzQXNzaWduYWJsZUZy
b20oQ2xhc3MgYykNCiAgIHsNCi0gICAgcmV0dXJuIHZtQ2xhc3MuaXNBc3NpZ25hYmxlRnJvbSAo
Yyk7DQorICAgIHJldHVybiBWTUNsYXNzLmlzQXNzaWduYWJsZUZyb20gKHRoaXMsIGMpOw0KICAg
fQ0KICANCiAgIC8qKg0KQEAgLTEwMTIsNyArMTAwOCw3IEBADQogICAgKi8NCiAgIHB1YmxpYyBi
b29sZWFuIGlzSW5zdGFuY2UoT2JqZWN0IG8pDQogICB7DQotICAgIHJldHVybiB2bUNsYXNzLmlz
SW5zdGFuY2UgKG8pOw0KKyAgICByZXR1cm4gVk1DbGFzcy5pc0luc3RhbmNlICh0aGlzLCBvKTsN
CiAgIH0NCiAgIA0KICAgLyoqDQpAQCAtMTAyMyw3ICsxMDE5LDcgQEANCiAgICAqLw0KICAgcHVi
bGljIGJvb2xlYW4gaXNJbnRlcmZhY2UoKQ0KICAgew0KLSAgICByZXR1cm4gdm1DbGFzcy5pc0lu
dGVyZmFjZSAoKTsNCisgICAgcmV0dXJuIFZNQ2xhc3MuaXNJbnRlcmZhY2UgKHRoaXMpOw0KICAg
fQ0KICAgDQogICAvKioNCkBAIC0xMDQ3LDcgKzEwNDMsNyBAQA0KICAgICovDQogICBwdWJsaWMg
Ym9vbGVhbiBpc1ByaW1pdGl2ZSgpDQogICB7DQotICAgIHJldHVybiB2bUNsYXNzLmlzUHJpbWl0
aXZlICgpOw0KKyAgICByZXR1cm4gVk1DbGFzcy5pc1ByaW1pdGl2ZSAodGhpcyk7DQogICB9DQog
ICANCiAgIC8qKg0KSW5kZXg6IHZtL3JlZmVyZW5jZS9qYXZhL2xhbmcvVk1DbGFzcy5qYXZhDQo9
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jvb3QvY2xhc3NwYXRoL2NsYXNzcGF0aC92bS9yZWZl
cmVuY2UvamF2YS9sYW5nL1ZNQ2xhc3MuamF2YSx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuOA0K
ZGlmZiAtdSAtcjEuOCBWTUNsYXNzLmphdmENCi0tLSB2bS9yZWZlcmVuY2UvamF2YS9sYW5nL1ZN
Q2xhc3MuamF2YQkxNyBBcHIgMjAwMyAxMjozMjoyOSAtMDAwMAkxLjgNCisrKyB2bS9yZWZlcmVu
Y2UvamF2YS9sYW5nL1ZNQ2xhc3MuamF2YQkyOCBNYXIgMjAwNCAxODozMDoxMCAtMDAwMA0KQEAg
LTEsNSArMSw1IEBADQogLyogVk1DbGFzcy5qYXZhIC0tIFZNIFNwZWNpZmljIENsYXNzIG1ldGhv
ZHMNCi0gICBDb3B5cmlnaHQgKEMpIDIwMDMgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0aW9uDQorICAg
Q29weXJpZ2h0IChDKSAyMDAzLCAyMDA0IEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbg0KIA0KIFRo
aXMgZmlsZSBpcyBwYXJ0IG9mIEdOVSBDbGFzc3BhdGguDQogDQpAQCAtMzcsNyArMzcsNiBAQA0K
IA0KIHBhY2thZ2UgamF2YS5sYW5nOw0KIA0KLWltcG9ydCBnbnUuY2xhc3NwYXRoLlJhd0RhdGE7
DQogaW1wb3J0IGphdmEubGFuZy5yZWZsZWN0LkNvbnN0cnVjdG9yOw0KIGltcG9ydCBqYXZhLmxh
bmcucmVmbGVjdC5GaWVsZDsNCiBpbXBvcnQgamF2YS5sYW5nLnJlZmxlY3QuTWV0aG9kOw0KQEAg
LTY4LDE3ICs2Nyw2IEBADQogICBwcml2YXRlIG5hdGl2ZSB2b2lkIHN0ZXA3KCk7DQogICBwcml2
YXRlIG5hdGl2ZSB2b2lkIHN0ZXA4KCk7DQogDQotICAvKioNCi0gICAqIFBvaW50ZXIgdG8gVk0g
aW50ZXJuYWwgY2xhc3Mgc3RydWN0dXJlLg0KLSAgICovDQotDQotICBwcml2YXRlIGZpbmFsIFJh
d0RhdGEgdm1EYXRhOyAgDQotDQotICBwcml2YXRlIFZNQ2xhc3MoUmF3RGF0YSB2bURhdGEpIA0K
LSAgeyANCi0gICAgdGhpcy52bURhdGEgPSB2bURhdGE7DQotICB9DQotDQogICBwcml2YXRlIHZv
aWQgaW5pdGlhbGl6ZShpbnQgdGhyZWFkKSB0aHJvd3MgSW50ZXJydXB0ZWRFeGNlcHRpb24NCiAg
IHsNCiAgICAgRXJyb3IgZXJyb3I7DQpAQCAtMTYwLDcgKzE0OCw3IEBADQogICAgKiBAcmV0dXJu
IHdoZXRoZXIgbyBpcyBhbiBpbnN0YW5jZSBvZiB0aGlzIGNsYXNzDQogICAgKiBAc2luY2UgMS4x
DQogICAgKi8NCi0gIG5hdGl2ZSBib29sZWFuIGlzSW5zdGFuY2UoT2JqZWN0IG8pOw0KKyAgc3Rh
dGljIG5hdGl2ZSBib29sZWFuIGlzSW5zdGFuY2UoQ2xhc3MgY2xhenosIE9iamVjdCBvKTsNCiAN
CiAgIC8qKg0KICAgICogRGlzY292ZXIgd2hldGhlciBhbiBpbnN0YW5jZSBvZiB0aGUgQ2xhc3Mg
cGFyYW1ldGVyIHdvdWxkIGJlIGFuDQpAQCAtMTc2LDcgKzE2NCw3IEBADQogICAgKiBAdGhyb3dz
IE51bGxQb2ludGVyRXhjZXB0aW9uIGlmIGMgaXMgbnVsbA0KICAgICogQHNpbmNlIDEuMQ0KICAg
ICovDQotICBuYXRpdmUgYm9vbGVhbiBpc0Fzc2lnbmFibGVGcm9tKENsYXNzIGMpOw0KKyAgc3Rh
dGljIG5hdGl2ZSBib29sZWFuIGlzQXNzaWduYWJsZUZyb20oQ2xhc3MgY2xhenosIENsYXNzIGMp
Ow0KIA0KICAgLyoqDQogICAgKiBDaGVjayB3aGV0aGVyIHRoaXMgY2xhc3MgaXMgYW4gaW50ZXJm
YWNlIG9yIG5vdC4gIEFycmF5IHR5cGVzIGFyZSBub3QNCkBAIC0xODQsNyArMTcyLDcgQEANCiAg
ICAqDQogICAgKiBAcmV0dXJuIHdoZXRoZXIgdGhpcyBjbGFzcyBpcyBhbiBpbnRlcmZhY2Ugb3Ig
bm90DQogICAgKi8NCi0gIG5hdGl2ZSBib29sZWFuIGlzSW50ZXJmYWNlKCk7DQorICBzdGF0aWMg
bmF0aXZlIGJvb2xlYW4gaXNJbnRlcmZhY2UoQ2xhc3MgY2xhenopOw0KIA0KICAgLyoqDQogICAg
KiBSZXR1cm4gd2hldGhlciB0aGlzIGNsYXNzIGlzIGEgcHJpbWl0aXZlIHR5cGUuICBBIHByaW1p
dGl2ZSB0eXBlIGNsYXNzDQpAQCAtMjA1LDcgKzE5Myw3IEBADQogICAgKiBAc2VlIFZvaWQjVFlQ
RQ0KICAgICogQHNpbmNlIDEuMQ0KICAgICovDQotICBuYXRpdmUgYm9vbGVhbiBpc1ByaW1pdGl2
ZSgpOw0KKyAgc3RhdGljIG5hdGl2ZSBib29sZWFuIGlzUHJpbWl0aXZlKENsYXNzIGNsYXp6KTsN
CiANCiAgIC8qKg0KICAgICogR2V0IHRoZSBuYW1lIG9mIHRoaXMgY2xhc3MsIHNlcGFyYXRlZCBi
eSBkb3RzIGZvciBwYWNrYWdlIHNlcGFyYXRvcnMuDQpAQCAtMjI2LDcgKzIxNCw3IEBADQogICAg
Kg0KICAgICogQHJldHVybiB0aGUgbmFtZSBvZiB0aGlzIGNsYXNzDQogICAgKi8NCi0gIG5hdGl2
ZSBTdHJpbmcgZ2V0TmFtZSgpOw0KKyAgc3RhdGljIG5hdGl2ZSBTdHJpbmcgZ2V0TmFtZShDbGFz
cyBjbGF6eik7DQogDQogICAvKioNCiAgICAqIEdldCB0aGUgZGlyZWN0IHN1cGVyY2xhc3Mgb2Yg
dGhpcyBjbGFzcy4gIElmIHRoaXMgaXMgYW4gaW50ZXJmYWNlLA0KQEAgLTIzNSw3ICsyMjMsNyBA
QA0KICAgICoNCiAgICAqIEByZXR1cm4gdGhlIGRpcmVjdCBzdXBlcmNsYXNzIG9mIHRoaXMgY2xh
c3MNCiAgICAqLw0KLSAgbmF0aXZlIENsYXNzIGdldFN1cGVyY2xhc3MoKTsNCisgIHN0YXRpYyBu
YXRpdmUgQ2xhc3MgZ2V0U3VwZXJjbGFzcyhDbGFzcyBjbGF6eik7DQogDQogICAvKioNCiAgICAq
IEdldCB0aGUgaW50ZXJmYWNlcyB0aGlzIGNsYXNzIDxFTT5kaXJlY3RseTwvRU0+IGltcGxlbWVu
dHMsIGluIHRoZQ0KQEAgLTI0NSw3ICsyMzMsNyBAQA0KICAgICoNCiAgICAqIEByZXR1cm4gdGhl
IGludGVyZmFjZXMgdGhpcyBjbGFzcyBkaXJlY3RseSBpbXBsZW1lbnRzDQogICAgKi8NCi0gIG5h
dGl2ZSBDbGFzc1tdIGdldEludGVyZmFjZXMoKTsNCisgIHN0YXRpYyBuYXRpdmUgQ2xhc3NbXSBn
ZXRJbnRlcmZhY2VzKENsYXNzIGNsYXp6KTsNCiANCiAgIC8qKg0KICAgICogSWYgdGhpcyBpcyBh
biBhcnJheSwgZ2V0IHRoZSBDbGFzcyByZXByZXNlbnRpbmcgdGhlIHR5cGUgb2YgYXJyYXkuDQpA
QCAtMjU3LDcgKzI0NSw3IEBADQogICAgKiBAc2VlIEFycmF5DQogICAgKiBAc2luY2UgMS4xDQog
ICAgKi8NCi0gIG5hdGl2ZSBDbGFzcyBnZXRDb21wb25lbnRUeXBlKCk7DQorICBzdGF0aWMgbmF0
aXZlIENsYXNzIGdldENvbXBvbmVudFR5cGUoQ2xhc3MgY2xhenopOw0KIA0KICAgLyoqDQogICAg
KiBHZXQgdGhlIG1vZGlmaWVycyBvZiB0aGlzIGNsYXNzLiAgVGhlc2UgY2FuIGJlIGRlY29kZWQg
dXNpbmcgTW9kaWZpZXIsDQpAQCAtMjcxLDcgKzI1OSw3IEBADQogICAgKiBAc2VlIE1vZGlmZXIN
CiAgICAqIEBzaW5jZSAxLjENCiAgICAqLw0KLSAgbmF0aXZlIGludCBnZXRNb2RpZmllcnMoKTsN
CisgIHN0YXRpYyBuYXRpdmUgaW50IGdldE1vZGlmaWVycyhDbGFzcyBjbGF6eik7DQogDQogICAv
KioNCiAgICAqIElmIHRoaXMgaXMgYSBuZXN0ZWQgb3IgaW5uZXIgY2xhc3MsIHJldHVybiB0aGUg
Y2xhc3MgdGhhdCBkZWNsYXJlZCBpdC4NCkBAIC0yODAsMjggKzI2OCwyOCBAQA0KICAgICogQHJl
dHVybiB0aGUgZGVjbGFyaW5nIGNsYXNzIG9mIHRoaXMgY2xhc3MNCiAgICAqIEBzaW5jZSAxLjEN
CiAgICAqLw0KLSAgbmF0aXZlIENsYXNzIGdldERlY2xhcmluZ0NsYXNzKCk7DQorICBzdGF0aWMg
bmF0aXZlIENsYXNzIGdldERlY2xhcmluZ0NsYXNzKENsYXNzIGNsYXp6KTsNCiANCiAgIC8qKg0K
ICAgICogTGlrZSA8Y29kZT5nZXREZWNsYXJlZENsYXNzZXMoKTwvY29kZT4gYnV0IHdpdGhvdXQg
dGhlIHNlY3VyaXR5IGNoZWNrcy4NCiAgICAqDQogICAgKiBAcGFyYW0gcHVsaWNPbmx5IE9ubHkg
cHVibGljIGNsYXNzZXMgc2hvdWxkIGJlIHJldHVybmVkDQogICAgKi8NCi0gIG5hdGl2ZSBDbGFz
c1tdIGdldERlY2xhcmVkQ2xhc3Nlcyhib29sZWFuIHB1YmxpY09ubHkpOw0KKyAgc3RhdGljIG5h
dGl2ZSBDbGFzc1tdIGdldERlY2xhcmVkQ2xhc3NlcyhDbGFzcyBjbGF6eiwgYm9vbGVhbiBwdWJs
aWNPbmx5KTsNCiANCiAgIC8qKg0KICAgICogTGlrZSA8Y29kZT5nZXREZWNsYXJlZEZpZWxkcygp
PC9jb2RlPiBidXQgd2l0aG91dCB0aGUgc2VjdXJpdHkgY2hlY2tzLg0KICAgICoNCiAgICAqIEBw
YXJhbSBwdWxpY09ubHkgT25seSBwdWJsaWMgZmllbGRzIHNob3VsZCBiZSByZXR1cm5lZA0KICAg
ICovDQotICBuYXRpdmUgRmllbGRbXSBnZXREZWNsYXJlZEZpZWxkcyhib29sZWFuIHB1YmxpY09u
bHkpOw0KKyAgc3RhdGljIG5hdGl2ZSBGaWVsZFtdIGdldERlY2xhcmVkRmllbGRzKENsYXNzIGNs
YXp6LCBib29sZWFuIHB1YmxpY09ubHkpOw0KIA0KICAgLyoqDQogICAgKiBMaWtlIDxjb2RlPmdl
dERlY2xhcmVkTWV0aG9kcygpPC9jb2RlPiBidXQgd2l0aG91dCB0aGUgc2VjdXJpdHkgY2hlY2tz
Lg0KICAgICoNCiAgICAqIEBwYXJhbSBwdWxpY09ubHkgT25seSBwdWJsaWMgbWV0aG9kcyBzaG91
bGQgYmUgcmV0dXJuZWQNCiAgICAqLw0KLSAgbmF0aXZlIE1ldGhvZFtdIGdldERlY2xhcmVkTWV0
aG9kcyhib29sZWFuIHB1YmxpY09ubHkpOw0KKyAgc3RhdGljIG5hdGl2ZSBNZXRob2RbXSBnZXRE
ZWNsYXJlZE1ldGhvZHMoQ2xhc3MgY2xhenosIGJvb2xlYW4gcHVibGljT25seSk7DQogDQogICAv
KioNCiAgICAqIExpa2UgPGNvZGU+Z2V0RGVjbGFyZWRDb25zdHJ1Y3RvcnMoKTwvY29kZT4gYnV0
IHdpdGhvdXQNCkBAIC0zMDksMTQgKzI5NywxNCBAQA0KICAgICoNCiAgICAqIEBwYXJhbSBwdWxp
Y09ubHkgT25seSBwdWJsaWMgY29uc3RydWN0b3JzIHNob3VsZCBiZSByZXR1cm5lZA0KICAgICov
DQotICBuYXRpdmUgQ29uc3RydWN0b3JbXSBnZXREZWNsYXJlZENvbnN0cnVjdG9ycyhib29sZWFu
IHB1YmxpY09ubHkpOw0KKyAgc3RhdGljIG5hdGl2ZSBDb25zdHJ1Y3RvcltdIGdldERlY2xhcmVk
Q29uc3RydWN0b3JzKENsYXNzIGNsYXp6LCBib29sZWFuIHB1YmxpY09ubHkpOw0KIA0KICAgLyoq
DQogICAgKiBSZXR1cm4gdGhlIGNsYXNzIGxvYWRlciBvZiB0aGlzIGNsYXNzLg0KICAgICoNCiAg
ICAqIEByZXR1cm4gdGhlIGNsYXNzIGxvYWRlcg0KICAgICovDQotICBuYXRpdmUgQ2xhc3NMb2Fk
ZXIgZ2V0Q2xhc3NMb2FkZXIoKTsNCisgIHN0YXRpYyBuYXRpdmUgQ2xhc3NMb2FkZXIgZ2V0Q2xh
c3NMb2FkZXIoQ2xhc3MgY2xhenopOw0KIA0KICAgLyoqDQogICAgKiBWTSBpbXBsZW1lbnRvcnMg
YXJlIGZyZWUgdG8gbWFrZSB0aGlzIG1ldGhvZCBhIG5vb3AgaWYgDQpAQCAtMzM1LDEwICszMjMs
MTAgQEANCiAgIC8qKg0KICAgICogUmV0dXJuIHdoZXRoZXIgdGhpcyBjbGFzcyBpcyBhbiBhcnJh
eSB0eXBlLg0KICAgICoNCi0gICAqIEByZXR1cm4gMSBpZiB0aGlzIGNsYXNzIGlzIGFuIGFycmF5
IHR5cGUsIDAgb3RoZXJ3aXNlLCAtMSBpZiB1bnN1cHBvcnRlZA0KKyAgICogQHJldHVybiB0cnVl
IGlmIHRoaXMgY2xhc3MgaXMgYW4gYXJyYXkgdHlwZQ0KICAgICogb3BlcmF0aW9uDQogICAgKi8N
Ci0gIG5hdGl2ZSBpbnQgaXNBcnJheSgpOw0KKyAgc3RhdGljIG5hdGl2ZSBib29sZWFuIGlzQXJy
YXkoQ2xhc3MgY2xhenopOw0KIA0KICAgLyoqDQogICAgKiBUaGlzIG1ldGhvZCBzaG91bGQgdHJp
Z2dlciBjbGFzcyBpbml0aWFsaXphdGlvbiAoaWYgdGhlDQpAQCAtMzQ3LDcgKzMzNSw3IEBADQog
ICAgKiBAdGhyb3dzIEV4Y2VwdGlvbkluSW5pdGlhbGl6ZXJFcnJvciBpZiBhbiBleGNlcHRpb24N
CiAgICAqICAgICAgICAgb2NjdXJzIGR1cmluZyBpbml0aWFsaXphdGlvbg0KICAgICovDQotICBu
YXRpdmUgdm9pZCBpbml0aWFsaXplKCk7DQorICBzdGF0aWMgbmF0aXZlIHZvaWQgaW5pdGlhbGl6
ZShDbGFzcyBjbGF6eik7DQogDQogICAvKioNCiAgICAqIExvYWQgYW4gYXJyYXkgY2xhc3MuDQo=

------_=_NextPart_001_01C414F3.6207F79D--



From MAILER-DAEMON Sun Mar 28 16:19:27 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7hgf-0004bB-9U
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 16:19:21 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7hgQ-0004Jc-Sg
	for classpath@gnu.org; Sun, 28 Mar 2004 16:19:06 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7hfg-0002g0-2N
	for classpath@gnu.org; Sun, 28 Mar 2004 16:18:51 -0500
Received: from [209.225.28.229] (helo=mxsf29.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7hff-0002cu-9m
	for classpath@gnu.org; Sun, 28 Mar 2004 16:18:19 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf29.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i2SLFAO8045486; Sun, 28 Mar 2004 16:15:10 -0500 (EST)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id PAA45115;
	Sun, 28 Mar 2004 15:07:44 -0600 (CST)
Received: from dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2SL7hdK076328; 
	Sun, 28 Mar 2004 15:07:43 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <40673E9F.8070007@dellroad.org>
Date: Sun, 28 Mar 2004 15:07:43 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC0C@LEMBU.sumatrasoftware.com>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADC0C@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 21:19:11 -0000

Jeroen Frijters wrote:
>>I would like the vmdata field type then to be VMClass not Object.
> 
> IIRC you are the only one to voice this request. I would like it to be
> of type Object and I think Jikes RVM as well.

For what it's worth, in JC all vmData fields are type byte[].
This also seems the most generic and therefore (?) appropriate for
Classpath (in cases where vmData isn't pointing to a "shadow" object).

However, in general I don't hold out much hope for ever being able
to use Classpath unmodified, because the Foo/VMFoo split makes things
too ineffiencent (although earlier I was a strong supporter of it) and
moreover most VMs have already wired down their particular mechanims
and ways of doing things. Also, every VM has its own priorities of
maintenance ease vs. efficiency.

As an example, some VMs would perfer to use Object instead of byte[]
simply to avoid the extra time & space overhead of pulling the pointer
out of the byte array. Others will prefer byte[] (or whatever Classpath
chooses) because it means they can merge in new Classpath versions more
easily and reduce their diffs. There's no "right" answer.

I.e., I think there is an inherent conflict in trying to make the API
generic enough for most/all VMs. If we were starting from scratch, it
seems to me that it would make more sense to define a more efficient,
less cleanly separated API. This is not really a practical suggestion
now because things are already established.

Just some thoughts.. taking cover now :-)

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Sun Mar 28 16:36:34 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7hxK-0001Px-1U
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 16:36:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7hxH-0001Ox-Mc
	for classpath@gnu.org; Sun, 28 Mar 2004 16:36:31 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7hwj-000158-Io
	for classpath@gnu.org; Sun, 28 Mar 2004 16:36:28 -0500
Received: from [209.225.28.210] (helo=mxsf10.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7hwj-000154-Aw
	for classpath@gnu.org; Sun, 28 Mar 2004 16:35:57 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf10.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i2SLU32Q075650; Sun, 28 Mar 2004 16:30:04 -0500 (EST)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id PAA45212;
	Sun, 28 Mar 2004 15:18:26 -0600 (CST)
Received: from dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2SLIPdK076362; 
	Sun, 28 Mar 2004 15:18:25 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <40674121.30209@dellroad.org>
Date: Sun, 28 Mar 2004 15:18:25 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC0D@LEMBU.sumatrasoftware.com>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADC0D@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>,
	Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 21:36:32 -0000

Jeroen Frijters wrote:
>>I admit not to have looked into or thought about java.lang.ref support
>>yet. How many VMs based on GNU Classpath properly implement those?
> 
> I have a (sort of) working implementation. I had to replace
> java.lang.ref.Reference (and I use instanceof to detect PhantomReference
> (all the others are implemented the same :-()).

I am also working on reference support in JC and have not needed
to modify the java.lang.ref classes at all.

> I think that in this case (contrary to Class - VMClass) it makes sense
> for everyone to have a VMMethod instance, because Method contains state
> (the setAccessible flag). Does everyone agree with this, or are there
> good reasons not to have a VMMethod instance?

Hmmm.. In JC each Method instance has a private vmData field of type
byte[] containing a pointer to the internal struct _jc_method.
My copies of the reflection classes are different from Classpath's
(there are no VMFoo classes) for various reasons so I guess my
opinion isn't relevant. But in any case for these reasons "no"
I don't agree :-)

I would be interested in a quick poll of VM implementors using Classpath:
do you care more about having fewer diffs with "stock" Classpath or
modifying & optimizing your VM's core classes to eke out optimal
performance?

Implementors of the former type would vote "yes" for these kind of changes
while implementors of the latter would vote "no" (as they only serve to
add more diff headaches at the next merge).

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Sun Mar 28 17:04:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7iOI-0007mW-6V
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 17:04:26 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7iOE-0007l3-V3
	for classpath@gnu.org; Sun, 28 Mar 2004 17:04:22 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7iNh-0007dM-Oz
	for classpath@gnu.org; Sun, 28 Mar 2004 17:04:20 -0500
Received: from [209.225.28.213] (helo=mxsf13.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7iNh-0007d7-Ga
	for classpath@gnu.org; Sun, 28 Mar 2004 17:03:49 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf13.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i2SM04sY089616; Sun, 28 Mar 2004 17:00:05 -0500 (EST)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id PAA45507;
	Sun, 28 Mar 2004 15:53:43 -0600 (CST)
Received: from dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2SLrfdK089840; 
	Sun, 28 Mar 2004 15:53:41 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <40674965.2070405@dellroad.org>
Date: Sun, 28 Mar 2004 15:53:41 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <40631624.7060108@uqam.ca> <4064C33B.4080105@watson.ibm.com>
	<1080495151.17922.83.camel@elsschot.wildebeest.org>
In-Reply-To: <1080495151.17922.83.camel@elsschot.wildebeest.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 22:04:24 -0000

Mark Wielaard wrote:
> I had hoped that the VM interface for Class, Object, Thread and
> Throwable was usable for most VMs. What isn't in your case?

Although this question wasn't asked at me I'll answer on behalf of
the JC implementation in case it may add something useful. This is
just one data point and surely these reasons don't apply universally.

- I avoid VMFoo instances (i.e, shadow objects). It seems to me that
   storing VM specific info in a shadow object serves no (runtime) purpose:
   if it can be represented in Java, store it in the original object,
   if it can't store it in a native C structure or whatever.

- I used the type byte[] for all vmData fields.

- I prefer to avoid the extra method call overhead for important
   methods like Object.wait() imposed by the VMFoo split. In Classpath
   every Object.wait() requires calling VMObject.wait(). That makes
   the code separation cleaner but doesn't make implementation any
   easier - it's just as easy to implement Object.wait() as a native
   method as it is to implement VMObject.wait() as a native method.

- My Thread class uses private objects to implement sleep() and join()
   in terms of Object.wait(). The VM notify()'s this object when the
   thread exits. This means all the complexity of sleeping (and handling
   Thread.interrupt()) can be put   in Object.wait() and not duplicated
   elsewhere.

- I folded VMThrowable into Throwable to get rid of VMThrowable.
   Same reasons as mentioned above.

- These bugs (not fixed in Classpath 0.07):
   http://savannah.gnu.org/bugs/?func=detailitem&item_id=6938
   http://savannah.gnu.org/bugs/?func=detailitem&item_id=7084

- Classpath's reflection implementation is/was incomplete and
   required modifications to work.

Hope these don't sound like complaints - using Classpath has worked
out great and I'm very appreciative of it!!

Cheers,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Sun Mar 28 17:27:42 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7ikn-0000zV-Uc
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 17:27:41 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7iki-0000yZ-Ni
	for classpath@gnu.org; Sun, 28 Mar 2004 17:27:36 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7ikC-0000n0-PC
	for classpath@gnu.org; Sun, 28 Mar 2004 17:27:35 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B7ikB-0000l8-UU
	for classpath@gnu.org; Sun, 28 Mar 2004 17:27:04 -0500
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i2SMNoAv066640;
	Mon, 29 Mar 2004 08:23:51 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Archie Cobbs" <archie@dellroad.org>
Date: Mon, 29 Mar 2004 08:23:59 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEMDDPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
In-Reply-To: <40674965.2070405@dellroad.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 22:27:37 -0000

Archie Cobbs wrote:
> - I avoid VMFoo instances (i.e, shadow objects). It seems to me that
>    storing VM specific info in a shadow object serves no (runtime)
purpose:
>    if it can be represented in Java, store it in the original object,
>    if it can't store it in a native C structure or whatever.

But just because it can be doesn't mean it will be. Having VMFoo classes
allows the VM to choose whether to implement in Java or natively. If you end
up using native then sure you have one extra level of indirection. But when
you don't use native then a native method forces an extra level of
indirection to "un-natify" it. We have very few native methods in OVM, at
the "application" level.

If performance is such a concern then specialise the Foo class directly, or
else deal with it via inlining. I think Classpath should focus on general
utility and ease of adaptation rather than raw performance - at least until
we get to Classpath 2 or 3 :)

I prefer to see a VMFoo class with native methods, than a Foo class with
native methods.

> - I used the type byte[] for all vmData fields.

We use an Opaque type to hold references to VM objects. The only use of
these references is to pass them back into the VM for action.

> - My Thread class uses private objects to implement sleep() and join()
>    in terms of Object.wait(). The VM notify()'s this object when the
>    thread exits. This means all the complexity of sleeping (and handling
>    Thread.interrupt()) can be put   in Object.wait() and not duplicated
>    elsewhere.

I do a similar thing for join().

As much as I think the Thread/VMThread split is a good attempt at a general
thread implementation it is not one that we will use for a number of
reasons. Threading is too VM specific to generalize well. Additionally we
need to customise Thread for Real-time Java support.

Just my 2c.

David Holmes




From MAILER-DAEMON Sun Mar 28 18:37:10 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7jq2-0007UN-BY
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 18:37:10 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7jpz-0007SK-AN
	for classpath@gnu.org; Sun, 28 Mar 2004 18:37:07 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7jpT-0006jD-9k
	for classpath@gnu.org; Sun, 28 Mar 2004 18:37:06 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7jpS-0006iy-R9
	for classpath@gnu.org; Sun, 28 Mar 2004 18:36:34 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2SNV7Kt020519;
	Sun, 28 Mar 2004 18:31:07 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032818321816235 ; Sun, 28 Mar 2004 18:32:18 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2SK1WD9019749; Sun, 28 Mar 2004 15:01:32 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B7gTL-0007Zh-J0; Sun, 28 Mar 2004 15:01:31 -0500
Message-ID: <40672797.5040709@uqam.ca>
Date: Sun, 28 Mar 2004 14:29:27 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <40659FCD.6010201@uqam.ca>
	<1080495924.17922.94.camel@elsschot.wildebeest.org>
In-Reply-To: <1080495924.17922.94.camel@elsschot.wildebeest.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>
Subject: Re: generated files in CVS?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2004 23:37:08 -0000

Mark Wielaard wrote:
> Unless running with --force the auto* tools shouldn't override these
> files so normally you won't see any diffs when following the HACKING
> instructions. But there is no particular reason. So please remove them.
> Make sure to update the HACKING file and send a message to the list how
> to regenerate these when you do.

I have added a ./autogen.sh script that calls the auto* tools with the
appropriate arguments, and updated the HACKING files accordingly.

So, those of you that "cvs up", simply type:
   ./autogen.sh
after updating.

Etienne

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Sun Mar 28 19:06:59 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7kIs-0004UA-QT
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 19:06:58 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7kIo-0004T2-R3
	for classpath@gnu.org; Sun, 28 Mar 2004 19:06:54 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7kIA-0004NZ-Rh
	for classpath@gnu.org; Sun, 28 Mar 2004 19:06:47 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7kIA-0004NR-6u
	for classpath@gnu.org; Sun, 28 Mar 2004 19:06:14 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2T02BKt013879
	for <classpath@gnu.org>; Sun, 28 Mar 2004 19:02:11 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032819032116845
	for <classpath@gnu.org>; Sun, 28 Mar 2004 19:03:21 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2SKDwD9001164
	for <classpath@gnu.org>; Sun, 28 Mar 2004 15:13:58 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30) id 1B7gfN-0007aC-UD
	for classpath@gnu.org; Sun, 28 Mar 2004 15:13:57 -0500
Message-ID: <40672A81.2060509@uqam.ca>
Date: Sun, 28 Mar 2004 14:41:53 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Configure / Automake library issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 00:06:56 -0000

Hi,

I have 2 questions:

1- Why is the "-module" option explicitly provided in the
    lib*_la_LDFLAGS = xxx
    line of */Makefile.am ?

2- Currently, classpath uses "libtool" kind of versioning for its JNI
    libraries, yet, I do not understand why.  I see no reason for any
    C application to dynamically link with any of these *.so files.


See:
$ info "(libtool)Libtool versioning"

This kind of versioning is, IMHO inappropriate here.  I would instead
use "Release" versioning, as described in:

$ info "(libtool)Release number"

I would also use this same scheme for the released libclasspath.jar file
containing .class files, i.e.:

"make install" creates:  libclasspath-0.08+cvs.jar
it also creates a soft link:  libclasspath.jar -> libclasspath-0.08+cvs.jar

What do people think?

Etienne

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Sun Mar 28 21:35:27 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7mcZ-0006De-0K
	for mharc-classpath@gnu.org; Sun, 28 Mar 2004 21:35:27 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7mcT-0006Bk-R3
	for classpath@gnu.org; Sun, 28 Mar 2004 21:35:21 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7mZG-0005cF-RW
	for classpath@gnu.org; Sun, 28 Mar 2004 21:32:35 -0500
Received: from [209.225.28.225] (helo=mxsf25.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7mZG-0005c4-GW
	for classpath@gnu.org; Sun, 28 Mar 2004 21:32:02 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf25.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i2T2U22p075526; Sun, 28 Mar 2004 21:30:03 -0500 (EST)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id UAA47949;
	Sun, 28 Mar 2004 20:28:36 -0600 (CST)
Received: from dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2T2SYdK012535; 
	Sun, 28 Mar 2004 20:28:35 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <406789D2.9000306@dellroad.org>
Date: Sun, 28 Mar 2004 20:28:34 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCEEMDDPAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCEEMDDPAA.dholmes@dltech.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 02:35:22 -0000

David Holmes wrote:
>>- I avoid VMFoo instances (i.e, shadow objects). It seems to me that
>>   storing VM specific info in a shadow object serves no (runtime) purpose:
>>   if it can be represented in Java, store it in the original object,
>>   if it can't store it in a native C structure or whatever.
> 
> But just because it can be doesn't mean it will be. Having VMFoo classes
> allows the VM to choose whether to implement in Java or natively. If you end
> up using native then sure you have one extra level of indirection. But when
> you don't use native then a native method forces an extra level of
> indirection to "un-natify" it. We have very few native methods in OVM, at
> the "application" level.

This doesn't apply to JC (albeit a special case) because "JCNI" native
methods and normal Java methods are exactly equivalent.. they're both
compiled C code.

> I prefer to see a VMFoo class with native methods, than a Foo class with
> native methods.

I'm not really arguing one way or the other, just pointing out that there
is an inherent tension between goals. Obviously the VMFoo split is better
for readability and ease of understanding, which counts for a lot.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Mon Mar 29 01:26:31 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7qEB-000278-OQ
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 01:26:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7qE5-00022C-F0
	for classpath@gnu.org; Mon, 29 Mar 2004 01:26:25 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7qDU-0001j5-QY
	for classpath@gnu.org; Mon, 29 Mar 2004 01:26:19 -0500
Received: from [167.206.5.78] (helo=mta5.srv.hcvlny.cv.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7qDU-0001iZ-FK
	for classpath@gnu.org; Mon, 29 Mar 2004 01:25:48 -0500
Received: from arcadia.augart.com
	(ool-182ca563.dyn.optonline.net [24.44.165.99]) by
	mta5.srv.hcvlny.cv.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	with ESMTP id <0HVB00KW3R7021@mta5.srv.hcvlny.cv.net> for
	classpath@gnu.org; Mon, 29 Mar 2004 01:25:48 -0500 (EST)
Received: from watson.ibm.com (dyn-102.augart.com [10.0.0.102])
	by arcadia.augart.com (Postfix on SuSE Linux 8.0 (i386))
	with ESMTP	id 42E86AB8E; Mon, 29 Mar 2004 01:25:47 -0500 (EST)
Date: Mon, 29 Mar 2004 01:24:25 -0500
From: Steven Augart <augart@watson.ibm.com>
To: classpath@gnu.org
Message-id: <4067C119.9040800@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en, it, eo, pt, gl, es-ec, es-us, es, fr, ast, el
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
Subject: Documentation patch: Add DIR entries to generated INFO files.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 06:26:27 -0000

This is a patch against the GNU Classpath 0.08 distribution.  It
modifies the TeXinfo sources to add DIR entries to the generated .info
files.

With the DIR entries, you can then symlink the .info files into your
/usr/local/info directory and run "install-info" to create directory
entries for them.  You'll see the directory entries the next time you
start the standalone info reader or Emacs's M-x info.

Author: Steven Augart <steve+freejava at augart dot com>
Date:   Monday, 29 March 2004.


I created the patch with the commands:

    LC_ALL=C TZ=GMT diff -u 
classpath-0.08/classpath/doc/vmintegration.texinfo{.~1~,} > 
classpath-0.08/info-file-dir-entries-1.patch
    LC_ALL=C TZ=GMT diff -u 
classpath-0.08/classpath/doc/hacking.texinfo{.~1~,} >> 
classpath-0.08/info-file-dir-entries-1.patch


--- classpath-0.08/classpath/doc/vmintegration.texinfo.~1~	2002-10-04 
15:26:25.000000000 +0000
+++ classpath-0.08/classpath/doc/vmintegration.texinfo	2004-03-29 
06:11:51.000000000 +0000
@@ -14,6 +14,12 @@

  Copyright (C) 1998-2002 Free Software Foundation, Inc.

+@ifnotplaintext
+@dircategory GNU Libraries
+@direntry
+* VM Integration: (vmintegration).   GNU Classpath VM Integration Guide
+@end direntry
+@end ifnotplaintext
  @end ifinfo

  @titlepage
--- classpath-0.08/classpath/doc/hacking.texinfo.~1~	2004-02-08 
00:00:51.000000000 +0000
+++ classpath-0.08/classpath/doc/hacking.texinfo	2004-03-29 
06:13:11.000000000 +0000
@@ -13,6 +13,12 @@

  Copyright (C) 1998,1999,2000,2001,2002,2003, 2004 Free Software 
Foundation, Inc.

+@ifnotplaintext
+@dircategory GNU Libraries
+@direntry
+* Classpath Hacking: (hacking).   GNU Classpath Hacker's Guide
+@end direntry
+@end ifnotplaintext
  @end ifinfo

  @titlepage



From MAILER-DAEMON Mon Mar 29 02:05:09 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7qnA-0004u3-Ld
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 02:02:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7qmy-0004ke-7z
	for classpath@gnu.org; Mon, 29 Mar 2004 02:02:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7qmq-0004Yp-9C
	for classpath@gnu.org; Mon, 29 Mar 2004 02:02:22 -0500
Received: from [82.161.94.186] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7qmp-0004X4-Cr
	for classpath@gnu.org; Mon, 29 Mar 2004 02:02:19 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1B7qmF-0004bz-00; Mon, 29 Mar 2004 09:01:43 +0200
From: Mark Wielaard <mark@klomp.org>
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <40674965.2070405@dellroad.org>
References: <40631624.7060108@uqam.ca>  <4064C33B.4080105@watson.ibm.com>
	<1080495151.17922.83.camel@elsschot.wildebeest.org>
	<40674965.2070405@dellroad.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-zUWUV16Byi6o6tqrq7ai"
Message-Id: <1080543702.17922.212.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Mon, 29 Mar 2004 09:01:43 +0200
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 07:02:37 -0000


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

Hi,

On Sun, 2004-03-28 at 23:53, Archie Cobbs wrote:
> Mark Wielaard wrote:
> > I had hoped that the VM interface for Class, Object, Thread and
> > Throwable was usable for most VMs. What isn't in your case?
>=20
> Although this question wasn't asked at me I'll answer on behalf of
> the JC implementation in case it may add something useful. This is
> just one data point and surely these reasons don't apply universally.

Thanks. The question indeed implied that I was interested in more then
just one Compiler/Runtime case.

> - I avoid VMFoo instances (i.e, shadow objects). It seems to me that
>    storing VM specific info in a shadow object serves no (runtime) purpos=
e:
>    if it can be represented in Java, store it in the original object,
>    if it can't store it in a native C structure or whatever.

It helps immensely with documenting the fact what is/isn't VM-specific.
Or could be. It also help much in providing fallback java+JNI/POSIX
implementations when possible. Sometimes it is just an hint that the
functionality could be optimized by a smart compiler/runtime
environment. By marking the VMWhatever classes as package local, final
and naming them specially I had kind of hoped that Compilers/VMs would
easily inline/optimize away extra calls and/or inline VM-specific fields
in the non-VM specific instance. Maybe something for the future, but
maybe it just won't happen.

> - I used the type byte[] for all vmData fields.

I am now more or less convinced that in some cases we should even mark
it as 'Object'. Again marking it as VMWhatever I had hoped that the
compiler/VM would easily be able to handle it specially. See RawData in
gcj.

> - I prefer to avoid the extra method call overhead for important
>    methods like Object.wait() imposed by the VMFoo split. In Classpath
>    every Object.wait() requires calling VMObject.wait(). That makes
>    the code separation cleaner but doesn't make implementation any
>    easier - it's just as easy to implement Object.wait() as a native
>    method as it is to implement VMObject.wait() as a native method.

See above. And the environment is always free to overwrite specific
special cases (like Object and Class will almost always be I guess).

> - My Thread class uses private objects to implement sleep() and join()
>    in terms of Object.wait(). The VM notify()'s this object when the
>    thread exits. This means all the complexity of sleeping (and handling
>    Thread.interrupt()) can be put   in Object.wait() and not duplicated
>    elsewhere.

Could you post your versions? It might be interesting to see whether we
can adopt this approach as default in the vm/reference implementation.
VMThread now does have a lot of native methods. But I believe I
discussed some of these issues with Jeroen and if I remember correctly
there were some subtle issues with just doing everything as wrappers
over Object.wait()/notify().

> - I folded VMThrowable into Throwable to get rid of VMThrowable.
>    Same reasons as mentioned above.

Would it be possible for your compiler to detect these special cases and
inline at compile time?

> - These bugs (not fixed in Classpath 0.07):
>    http://savannah.gnu.org/bugs/?func=3Ddetailitem&item_id=3D6938
>    http://savannah.gnu.org/bugs/?func=3Ddetailitem&item_id=3D7084

Yes, both should be fixed ASAP (also not fixed in 0.08).
Thanks for providing patches. (Put on my list of things to review and
apply. Together with your VMProcess implementation... Sorry, need more
then 24 hours a day it seems.)

> - Classpath's reflection implementation is/was incomplete and
>    required modifications to work.

Lots of ideas there so I hope the situation will be better for 0.09.

> Hope these don't sound like complaints - using Classpath has worked
> out great and I'm very appreciative of it!!

You remarks were very appreciated.
Sorry for still not having tried out JC.
But for everyone on this list I would recommend reading at least the
manual which has some great insights into VM/Compiler/Runtime issues:
http://jcvm.sourceforge.net/doc/jc.html

Cheers,

Mark

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

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

iD8DBQBAZ8nWxVhZCJWr9QwRApx3AJ42iCXHgpyg1ngQHwm31eYjii0NVgCfazcp
hRJTdsptyEQLX2lB3fLbtiQ=
=xv3T
-----END PGP SIGNATURE-----

--=-zUWUV16Byi6o6tqrq7ai--




From MAILER-DAEMON Mon Mar 29 02:39:07 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7rMR-0005sd-AJ
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 02:39:07 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7rMO-0005sB-Rl
	for classpath@gnu.org; Mon, 29 Mar 2004 02:39:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7rKC-0005Ot-C0
	for classpath@gnu.org; Mon, 29 Mar 2004 02:37:19 -0500
Received: from [212.6.122.96] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7rKB-0005Od-Ky
	for classpath@gnu.org; Mon, 29 Mar 2004 02:36:47 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-118.ewetel.net
	[80.228.94.118])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i2T7a1pG011036;
	Mon, 29 Mar 2004 09:36:02 +0200 (MEST)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B7qNQ-0001LK-00; Mon, 29 Mar 2004 08:36:04 +0200
From: Michael Koch <konqueror@gmx.de>
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Date: Mon, 29 Mar 2004 08:35:47 +0200
User-Agent: KMail/1.5.4
References: <40659FCD.6010201@uqam.ca>
	<1080495924.17922.94.camel@elsschot.wildebeest.org>
	<40672797.5040709@uqam.ca>
In-Reply-To: <40672797.5040709@uqam.ca>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200403290835.47405.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail0.ewetel.de id
	i2T7a1pG011036
Cc: Mark Wielaard <mark@klomp.org>
Subject: Re: generated files in CVS?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 07:39:05 -0000

Am Sonntag, 28. M=E4rz 2004 21:29 schrieb Etienne Gagnon:
> Mark Wielaard wrote:
> > Unless running with --force the auto* tools shouldn't override
> > these files so normally you won't see any diffs when following the
> > HACKING instructions. But there is no particular reason. So please
> > remove them. Make sure to update the HACKING file and send a
> > message to the list how to regenerate these when you do.
>
> I have added a ./autogen.sh script that calls the auto* tools with
> the appropriate arguments, and updated the HACKING files accordingly.
>
> So, those of you that "cvs up", simply type:
>    ./autogen.sh
> after updating.

I really wonder if this primitive script really works on some non-linux=20
platforms. I will commit an improved version later.


Michael




From MAILER-DAEMON Mon Mar 29 02:39:20 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7rMd-0005wK-VO
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 02:39:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7rMU-0005tw-Gu
	for classpath@gnu.org; Mon, 29 Mar 2004 02:39:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7rLx-0005hy-2a
	for classpath@gnu.org; Mon, 29 Mar 2004 02:39:08 -0500
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7rLw-0005hs-Hj
	for classpath@gnu.org; Mon, 29 Mar 2004 02:38:36 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-118.ewetel.net
	[80.228.94.118])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id i2T7cJVA026528;
	Mon, 29 Mar 2004 09:38:20 +0200 (MEST)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B7qPe-0001LU-00; Mon, 29 Mar 2004 08:38:22 +0200
From: Michael Koch <konqueror@gmx.de>
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Date: Mon, 29 Mar 2004 08:38:05 +0200
User-Agent: KMail/1.5.4
References: <40672A81.2060509@uqam.ca>
In-Reply-To: <40672A81.2060509@uqam.ca>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200403290838.05305.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail2.ewetel.de id
	i2T7cJVA026528
Cc: 
Subject: Re: Configure / Automake library issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 07:39:11 -0000

Am Sonntag, 28. M=E4rz 2004 21:41 schrieb Etienne Gagnon:
> Hi,
>
> I have 2 questions:
>
> 1- Why is the "-module" option explicitly provided in the
>     lib*_la_LDFLAGS =3D xxx
>     line of */Makefile.am ?

I have a patch for this pending on my disk, it will go in in the next=20
days.


Michael




From MAILER-DAEMON Mon Mar 29 02:50:28 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7rXP-000192-NQ
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 02:50:27 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7rXM-00014b-HE
	for classpath@gnu.org; Mon, 29 Mar 2004 02:50:24 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7rWo-0000hq-CO
	for classpath@gnu.org; Mon, 29 Mar 2004 02:50:21 -0500
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7rWn-0000fo-Hy
	for classpath@gnu.org; Mon, 29 Mar 2004 02:49:49 -0500
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i2T7nYZK022694;
	Mon, 29 Mar 2004 17:49:34 +1000 (EST)
Message-Id: <200403290749.i2T7nYZK022694@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: Message from Michael Koch <konqueror@gmx.de> of "Mon,
	29 Mar 2004 08:35:47 +0200." <200403290835.47405.konqueror@gmx.de> 
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Mon, 29 Mar 2004 17:49:36 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.39
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>,
	Mark Wielaard <mark@klomp.org>, crawley@dstc.edu.au
Subject: Re: generated files in CVS? 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 07:50:25 -0000


Michael Koch <konqueror@gmx.de> said:
> I really wonder if this primitive script really works on some
> non-linux  platforms. I will commit an improved version later. =


It doesn't necessarily work on linux platforms either.  On my machine
at home, I have various versions of automake installed, and I have
to run the version of automake that Classpath requires as "automake-1.8".=


-- Steve




From MAILER-DAEMON Mon Mar 29 02:57:44 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7reR-0007BK-Km
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 02:57:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7reI-00076s-TS
	for classpath@gnu.org; Mon, 29 Mar 2004 02:57:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7rdm-0006qk-CF
	for classpath@gnu.org; Mon, 29 Mar 2004 02:57:33 -0500
Received: from [212.6.122.96] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7rdl-0006ou-El
	for classpath@gnu.org; Mon, 29 Mar 2004 02:57:01 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-118.ewetel.net
	[80.228.94.118])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i2T7uOpG024633;
	Mon, 29 Mar 2004 09:56:26 +0200 (MEST)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B7qh8-00049i-00; Mon, 29 Mar 2004 08:56:26 +0200
From: Michael Koch <konqueror@gmx.de>
To: Stephen Crawley <crawley@dstc.edu.au>
Date: Mon, 29 Mar 2004 08:56:07 +0200
User-Agent: KMail/1.5.4
References: <200403290749.i2T7nYZK022694@piglet.dstc.edu.au>
In-Reply-To: <200403290749.i2T7nYZK022694@piglet.dstc.edu.au>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200403290856.07860.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail0.ewetel.de id
	i2T7uOpG024633
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>,
	Mark Wielaard <mark@klomp.org>, crawley@dstc.edu.au
Subject: Re: generated files in CVS?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 07:57:36 -0000

Am Montag, 29. M=E4rz 2004 09:49 schrieb Stephen Crawley:
> Michael Koch <konqueror@gmx.de> said:
> > I really wonder if this primitive script really works on some
> > non-linux  platforms. I will commit an improved version later.
>
> It doesn't necessarily work on linux platforms either.  On my machine
> at home, I have various versions of automake installed, and I have
> to run the version of automake that Classpath requires as
> "automake-1.8".

Yeah, either point your path to the right copy of automake/autoconf on=20
your harddisk or your solutions. Thats why I dont liked Etienne's=20
commit without discussion. When people have to read the HACKING file to=20
generate all needed files they start thinking earlier.


Michael




From MAILER-DAEMON Mon Mar 29 04:36:05 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7t89-0002s9-TQ
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 04:32:29 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7t7w-0002oR-KQ
	for classpath@gnu.org; Mon, 29 Mar 2004 04:32:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7t7L-0002ed-Jy
	for classpath@gnu.org; Mon, 29 Mar 2004 04:32:11 -0500
Received: from [62.253.162.45] (helo=mta05-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7t7L-0002Zt-0P
	for classpath@gnu.org; Mon, 29 Mar 2004 04:31:39 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta05-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040329093029.LLQS27661.mta05-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Mon, 29 Mar 2004 10:30:29 +0100
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2T9UFCL003709; Mon, 29 Mar 2004 10:30:25 +0100
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2T9UDVH003705;
	Mon, 29 Mar 2004 10:30:14 +0100
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16487.60581.925614.63544@cuddles.cambridge.redhat.com>
Date: Mon, 29 Mar 2004 10:30:13 +0100
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC0ADC0E@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC0E@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>
Subject: RE: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 09:32:19 -0000

Jeroen Frijters writes:
 > Etienne Gagnon wrote:
 > > Mark Wielaard wrote:
 > > > I would like the vmdata field type then to be VMClass not Object.
 > > 
 > > I disagree, as it imposes a restriction on what vmData actually
 > > is.  The most obvious implementation of vmData is to be a byte[]
 > > instance holding the byte of a native pointer to an internal VM
 > > non-moveable data structure.
 > 
 > I'm glad to see we agree (although I don't think it's at all obvious
 > that it should be a byte[], not all VMs use native code).

Eeeh.  I can't imagine that either.  If there's a strong argument for
holding native pointer in a byte[] ?

Andrew.



From MAILER-DAEMON Mon Mar 29 08:51:02 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7xAH-00047c-EN
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 08:50:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7xAC-00045p-Iv
	for classpath@gnu.org; Mon, 29 Mar 2004 08:50:52 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7wyY-0001Vc-Fn
	for classpath@gnu.org; Mon, 29 Mar 2004 08:39:21 -0500
Received: from [212.6.122.141] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7wyX-0001UX-Nq
	for classpath@gnu.org; Mon, 29 Mar 2004 08:38:49 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-118.ewetel.net
	[80.228.94.118])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i2TDcYKk019854;
	Mon, 29 Mar 2004 15:38:34 +0200 (MEST)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B7w2H-0005ej-00; Mon, 29 Mar 2004 14:38:37 +0200
From: Michael Koch <konqueror@gmx.de>
To: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Date: Mon, 29 Mar 2004 14:38:19 +0200
User-Agent: KMail/1.5.4
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200403291438.19286.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: We need you
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 13:50:54 -0000

Hi Etienne,


I wanna apologize myself for being harsh to you lately on the mailing 
lists for this project. I dont meant it hard in any way. I just wanted 
to make sure that everyone can agree with the code that gets commited 
to the GNU classpath project CVS.

Some changes should really be discussed first on our mailing lists 
before commiting. I only mean non-obvious changes that affect more then 
one package. Your changes affect all people using GNU classpath and 
that is way it is a good candidate for discussion before commit.

You commited good changes that dont need approvement because they are 
SableVM specific and need no approvement and there are hardly to see 
problems with them. I mean the changes to doc/vmintegration.texinfo and 
doc/www.gnu.org/stories.wml. There are probably more places like this. 
Please commit this again. It was good.

I hope we can work together in a more non-boring way in the future. I 
know the latest issues must be very scaring to you. We need your help 
and your knowledge. But you have to see that people might have 
different opinions on your contributions and we need to discuss to get 
a common sense on the stuff.


Michael




From MAILER-DAEMON Mon Mar 29 08:55:02 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7x9N-0003qM-Ng
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 08:50:01 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7wvo-0000im-M6
	for classpath@gnu.org; Mon, 29 Mar 2004 08:36:00 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7wmI-00070S-Ag
	for classpath@gnu.org; Mon, 29 Mar 2004 08:26:41 -0500
Received: from [64.4.37.67] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7wmH-0006zw-Ez
	for classpath@gnu.org; Mon, 29 Mar 2004 08:26:09 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Mon, 29 Mar 2004 05:26:08 -0800
Received: from 195.224.225.50 by by10fd.bay10.hotmail.msn.com with HTTP;
	Mon, 29 Mar 2004 13:26:07 GMT
X-Originating-IP: [195.224.225.50]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: mark@klomp.org, archie@dellroad.org
Bcc: 
Date: Mon, 29 Mar 2004 13:26:07 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY10-F67LOkDsDlJiR0001da68@hotmail.com>
X-OriginalArrivalTime: 29 Mar 2004 13:26:08.0102 (UTC)
	FILETIME=[64EEA860:01C41591]
Cc: gagnon.etienne_m@uqam.ca, classpath@gnu.org
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 13:49:54 -0000

On Sun, 2004-03-28 at 23:53, Archie Cobbs wrote:
 > Mark Wielaard wrote:
 > > I had hoped that the VM interface for Class, Object, Thread and
 > > Throwable was usable for most VMs. What isn't in your case?
 >

JamVM 1.1.1 uses no special versions of these classes (i.e. it uses the 
VMClass, VMObject and VMThread, VMThrowable, etc., classes).  JamVM 1.1.2 
also uses VMRuntime, however, it has it's own version of ClassLoader, to fix 
the findLoadedClass problem.

When the VM interface consisted of static methods on a VM class I was happy 
to adopt it (even an interpreter can inline the call, but JamVM doesn't do 
it at the moment).  However, I didn't like the move to shadow objects in 
VMThread and VMClass (VMClass in particular was a lot of trouble to 
implement).  However, it seemed pointless to use some of the interface and 
not others -- either all or nothing -- I came close to using nothing :)

>I am now more or less convinced that in some cases we should even mark
>it as 'Object'. Again marking it as VMWhatever I had hoped that the
>compiler/VM would easily be able to handle it specially. See RawData in
>gcj.

I would prefer the internal VM data field to be of type Object (this is what 
I use in JamVM).  This means it should be the width of a native pointer 
field, whether the machine is 32 or 64 bit.

>>- I prefer to avoid the extra method call overhead for important
>>    methods like Object.wait() imposed by the VMFoo split. In Classpath
>>    every Object.wait() requires calling VMObject.wait(). That makes
>>    the code separation cleaner but doesn't make implementation any
>>    easier - it's just as easy to implement Object.wait() as a native
>>    method as it is to implement VMObject.wait() as a native method.

>See above. And the environment is always free to overwrite specific
>special cases (like Object and Class will almost always be I guess).

But not JamVM.  Inlining of final calls is something I intend to look at 
soon :)

>>- My Thread class uses private objects to implement sleep() and join()
>>    in terms of Object.wait(). The VM notify()'s this object when the
>>    thread exits. This means all the complexity of sleeping (and handling
>>    Thread.interrupt()) can be put   in Object.wait() and not duplicated
>>    elsewhere.

>Could you post your versions? It might be interesting to see whether we
>can adopt this approach as default in the vm/reference implementation.
>VMThread now does have a lot of native methods. But I believe I
>discussed some of these issues with Jeroen and if I remember correctly
>there were some subtle issues with just doing everything as wrappers
>over Object.wait()/notify().

I would be very unhappy about this.  Sleep in JamVM is done by waiting on an 
internal monitor, which is what Object.wait() maps down to (the monitor 
associated with the Object) and joining threads wait on the vmthread 
associated with the thread, which is notified on exit.  So all code is done 
in terms of "monitor wait", which handles interrupt, so JamVM doesn't 
duplicate code either.   JamVM uses thin locks which map down to a real 
monitor in the presence of contention.  Join/sleep by definition requires a 
real monitor, so I side step the redundant monitor lookup.

The current approach allows the VM a lot of freedom.  Trying to do too much 
in Java removes this, and in my opinion forces many VM implementors to 
abandon the VM interface altogether.

>>- I folded VMThrowable into Throwable to get rid of VMThrowable.
>>    Same reasons as mentioned above.

I can't see the point of this.  Exceptions are slow anyway -- what's the 
cost of an extra indirection to walking the call stack?

>>- Classpath's reflection implementation is/was incomplete and
>>    required modifications to work.

I also modifed these classes to work with JamVM.

>>Hope these don't sound like complaints - using Classpath has worked
>>out great and I'm very appreciative of it!!

I would second this.  I've tried to use the VM interface as much as 
possible, to stay "true" to the goals of Classpath.

Rob.

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger




From MAILER-DAEMON Mon Mar 29 09:08:18 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7xR4-0007qY-9x
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 09:08:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7xR2-0007pq-1z
	for classpath@gnu.org; Mon, 29 Mar 2004 09:08:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7xQV-0007jo-7f
	for classpath@gnu.org; Mon, 29 Mar 2004 09:08:15 -0500
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7w8A-0001Up-2f
	for classpath@gnu.org; Mon, 29 Mar 2004 07:44:42 -0500
Received: from [10.0.0.2] (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i2TCiRSm022532; Mon, 29 Mar 2004 07:44:28 -0500 (EST)
From: "C. Brian Jones" <cbj@gnu.org>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200403290835.47405.konqueror@gmx.de>
References: <40659FCD.6010201@uqam.ca>
	<1080495924.17922.94.camel@elsschot.wildebeest.org>
	<40672797.5040709@uqam.ca>  <200403290835.47405.konqueror@gmx.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-FeJRstzxiqA1U9Jv8NPC"
Message-Id: <1080564267.18936.12.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Mon, 29 Mar 2004 07:44:27 -0500
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>
Subject: Re: generated files in CVS?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 14:08:17 -0000


--=-FeJRstzxiqA1U9Jv8NPC
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, 2004-03-29 at 01:35, Michael Koch wrote:
> Am Sonntag, 28. M=E4rz 2004 21:29 schrieb Etienne Gagnon:
> > Mark Wielaard wrote:
> > > Unless running with --force the auto* tools shouldn't override
> > > these files so normally you won't see any diffs when following the
> > > HACKING instructions. But there is no particular reason. So please
> > > remove them. Make sure to update the HACKING file and send a
> > > message to the list how to regenerate these when you do.
> >
> > I have added a ./autogen.sh script that calls the auto* tools with
> > the appropriate arguments, and updated the HACKING files accordingly.
> >
> > So, those of you that "cvs up", simply type:
> >    ./autogen.sh
> > after updating.
>=20
> I really wonder if this primitive script really works on some non-linux=20
> platforms. I will commit an improved version later.

Why not just use autoreconf which is usually installed with the
autotools.

Brian

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

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

iD8DBQBAaBorcEcmdY33uzYRAtyWAJ9sxbGURAaEqQ5rYrQ5IMa+npWShQCfc5vE
7FTWNPZi0rvFc3iHXU8mN3U=
=TUDz
-----END PGP SIGNATURE-----

--=-FeJRstzxiqA1U9Jv8NPC--




From MAILER-DAEMON Mon Mar 29 09:27:20 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7xjF-0003dN-9K
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 09:27:05 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7xff-0002au-KT
	for classpath@gnu.org; Mon, 29 Mar 2004 09:23:23 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7xf4-0002OT-Kv
	for classpath@gnu.org; Mon, 29 Mar 2004 09:23:17 -0500
Received: from [64.4.37.116] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7xf3-0002NU-L3
	for classpath@gnu.org; Mon, 29 Mar 2004 09:22:45 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Mon, 29 Mar 2004 06:22:40 -0800
Received: from 195.224.225.50 by by10fd.bay10.hotmail.msn.com with HTTP;
	Mon, 29 Mar 2004 14:22:40 GMT
X-Originating-IP: [195.224.225.50]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: robert_lougher@hotmail.com, mark@klomp.org, archie@dellroad.org
Bcc: 
Date: Mon, 29 Mar 2004 14:22:40 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY10-F116QHh2wLCVY00007a8a@hotmail.com>
X-OriginalArrivalTime: 29 Mar 2004 14:22:40.0255 (UTC)
	FILETIME=[4AD020F0:01C41599]
Cc: gagnon.etienne_m@uqam.ca, classpath@gnu.org
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 14:27:02 -0000

>>Could you post your versions? It might be interesting to see whether we
>>can adopt this approach as default in the vm/reference implementation.
>>VMThread now does have a lot of native methods. But I believe I
>>discussed some of these issues with Jeroen and if I remember correctly
>>there were some subtle issues with just doing everything as wrappers
>>over Object.wait()/notify().

>The current approach allows the VM a lot of freedom.  Trying to do too much 
>in Java removes >this, and in my opinion forces many VM implementors to 
>abandon the VM interface altogether.

You were talking about the VMThread implementation.  I jumped to the 
conclusion that you meant Thread.  Sorry.

Rob.

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger




From MAILER-DAEMON Mon Mar 29 09:32:25 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7xoP-0004H9-E1
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 09:32:25 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7xg9-0002iq-Ho
	for classpath@gnu.org; Mon, 29 Mar 2004 09:23:53 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7xLc-0006z6-Pb
	for classpath@gnu.org; Mon, 29 Mar 2004 09:03:11 -0500
Received: from [212.6.122.126] (helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30)
	id 1B7x0R-00023B-Hy; Mon, 29 Mar 2004 08:40:47 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-118.ewetel.net
	[80.228.94.118])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id i2TDehfq003460;
	Mon, 29 Mar 2004 15:40:43 +0200 (MEST)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B7w4M-0005ew-00; Mon, 29 Mar 2004 14:40:46 +0200
From: Michael Koch <konqueror@gmx.de>
To: cbj@gnu.org
Date: Mon, 29 Mar 2004 14:40:29 +0200
User-Agent: KMail/1.5.4
References: <40659FCD.6010201@uqam.ca> <200403290835.47405.konqueror@gmx.de>
	<1080564267.18936.12.camel@lyta.haphazard.org>
In-Reply-To: <1080564267.18936.12.camel@lyta.haphazard.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200403291440.29006.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail3.ewetel.de id
	i2TDehfq003460
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>
Subject: Re: generated files in CVS?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 14:32:24 -0000

Am Montag, 29. M=E4rz 2004 14:44 schrieb C. Brian Jones:
> On Mon, 2004-03-29 at 01:35, Michael Koch wrote:
> > Am Sonntag, 28. M=E4rz 2004 21:29 schrieb Etienne Gagnon:
> > > Mark Wielaard wrote:
> > > > Unless running with --force the auto* tools shouldn't override
> > > > these files so normally you won't see any diffs when following
> > > > the HACKING instructions. But there is no particular reason. So
> > > > please remove them. Make sure to update the HACKING file and
> > > > send a message to the list how to regenerate these when you do.
> > >
> > > I have added a ./autogen.sh script that calls the auto* tools
> > > with the appropriate arguments, and updated the HACKING files
> > > accordingly.
> > >
> > > So, those of you that "cvs up", simply type:
> > >    ./autogen.sh
> > > after updating.
> >
> > I really wonder if this primitive script really works on some
> > non-linux platforms. I will commit an improved version later.
>
> Why not just use autoreconf which is usually installed with the
> autotools.

Yeah, I totally forgot about this. In the HACKING file I read this:

The autoreconf script does not always run these as might be expected.

Does this still apply ? I think it would be best to just use=20
"autoreconf" and give good instructions for uncommon cases in HACKING.


Michael




From MAILER-DAEMON Mon Mar 29 09:54:14 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7y9V-0000bP-Ir
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 09:54:13 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7y9R-0000ZG-A8
	for classpath@gnu.org; Mon, 29 Mar 2004 09:54:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7y8r-0000Ok-CY
	for classpath@gnu.org; Mon, 29 Mar 2004 09:54:04 -0500
Received: from [209.225.28.218] (helo=mxsf18.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7y6v-00007D-Ef
	for classpath@gnu.org; Mon, 29 Mar 2004 09:51:33 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf18.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i2TEj9ic008744; Mon, 29 Mar 2004 09:45:15 -0500 (EST)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA54579;
	Mon, 29 Mar 2004 08:36:10 -0600 (CST)
Received: from dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2TEa9dK025296; 
	Mon, 29 Mar 2004 08:36:09 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <40683459.6030405@dellroad.org>
Date: Mon, 29 Mar 2004 08:36:09 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <40631624.7060108@uqam.ca> <4064C33B.4080105@watson.ibm.com>	
	<1080495151.17922.83.camel@elsschot.wildebeest.org>	
	<40674965.2070405@dellroad.org>
	<1080543702.17922.212.camel@elsschot.wildebeest.org>
In-Reply-To: <1080543702.17922.212.camel@elsschot.wildebeest.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 14:54:11 -0000

Mark Wielaard wrote:
> environment. By marking the VMWhatever classes as package local, final
> and naming them specially I had kind of hoped that Compilers/VMs would
> easily inline/optimize away extra calls and/or inline VM-specific fields
> in the non-VM specific instance. Maybe something for the future, but
> maybe it just won't happen.

Right now JC doesn't inline, but hopefully soon it will. So then
my reason for eliminating extra method calls will go away. Again,
just goes to show that priorities are different for different VMs
and even different versions of the same VM.

>>- My Thread class uses private objects to implement sleep() and join()
>>   in terms of Object.wait(). The VM notify()'s this object when the
>>   thread exits. This means all the complexity of sleeping (and handling
>>   Thread.interrupt()) can be put   in Object.wait() and not duplicated
>>   elsewhere.
> 
> Could you post your versions? It might be interesting to see whether we
> can adopt this approach as default in the vm/reference implementation.
> VMThread now does have a lot of native methods. But I believe I
> discussed some of these issues with Jeroen and if I remember correctly
> there were some subtle issues with just doing everything as wrappers
> over Object.wait()/notify().

I am probably screwing up on the subtle issues :-) I did things this way
to get Thread.interrupt() working and didn't think too hard about it.
I'd be interested in hearing more about the subtle issues. FWIW here it is:

http://cvs.sourceforge.net/viewcvs.py/*checkout*/jcvm/jcvm/java/java/lang/Thread.java?rev=1.2

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Mon Mar 29 09:55:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7yAf-0000zc-Ok
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 09:55:25 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7yAb-0000yd-FY
	for classpath@gnu.org; Mon, 29 Mar 2004 09:55:21 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7yA1-0000m6-Jz
	for classpath@gnu.org; Mon, 29 Mar 2004 09:55:16 -0500
Received: from [64.4.37.23] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7yA0-0000lf-Ux
	for classpath@gnu.org; Mon, 29 Mar 2004 09:54:45 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Mon, 29 Mar 2004 06:54:43 -0800
Received: from 195.224.225.50 by by10fd.bay10.hotmail.msn.com with HTTP;
	Mon, 29 Mar 2004 14:54:43 GMT
X-Originating-IP: [195.224.225.50]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: classpath@gnu.org
Bcc: 
Date: Mon, 29 Mar 2004 14:54:43 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY10-F23lZyCjeSata0001dc83@hotmail.com>
X-OriginalArrivalTime: 29 Mar 2004 14:54:43.0922 (UTC)
	FILETIME=[C5686B20:01C4159D]
Subject: JamVM-1.1.2 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 14:55:23 -0000

Hi,

If I haven't managed to annoy everybody on this list, you may be interested 
to know that a new release of JamVM is out (http://jamvm.sourceforge.net).  
This has many, many bug fixes.

My thanks to Mark Wielaard for testing JamVM against Mauve and providing 
numerous bug reports, patches, etc.

Rob.

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger




From MAILER-DAEMON Mon Mar 29 10:26:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7yee-0000SM-8z
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 10:26:24 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7yBI-0001CW-SL
	for classpath@gnu.org; Mon, 29 Mar 2004 09:56:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7yAk-00011V-K0
	for classpath@gnu.org; Mon, 29 Mar 2004 09:56:02 -0500
Received: from [32.97.182.106] (helo=e6.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B7yAk-0000zv-24
	for classpath@gnu.org; Mon, 29 Mar 2004 09:55:30 -0500
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com
	[9.56.224.206])
	by e6.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id i2TEtP4i297470
	for <classpath@gnu.org>; Mon, 29 Mar 2004 09:55:25 -0500
Received: from d01ml604.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id
	i2TEtf5X098596
	for <classpath@gnu.org>; Mon, 29 Mar 2004 09:55:41 -0500
In-Reply-To: <1080495151.17922.83.camel@elsschot.wildebeest.org>
To: GNU Classpath <classpath@gnu.org>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
X-MIMETrack: S/MIME Sign by Notes Client on David P Grove/Watson/IBM(Release
	6.0|September 26, 2002) at 03/29/2004 09:48:25 AM,
	Serialize by Notes Client on David P Grove/Watson/IBM(Release
	6.0|September 26, 2002) at 03/29/2004 09:48:25 AM,
	Serialize complete at 03/29/2004 09:48:25 AM,
	S/MIME Sign failed at 03/29/2004 09:48:25 AM: The cryptographic key was
	not found,
	Serialize by Router on D01ML604/01/M/IBM(Release 6.51HF87 | March 11,
	2004) at 03/29/2004 09:55:22,
	Serialize complete at 03/29/2004 09:55:22
Message-ID: <OFE314A279.CF6E29F8-ON85256E66.00500D8F-85256E66.0051AE7E@us.ibm.com>
Date: Mon, 29 Mar 2004 09:55:21 -0500
Content-Type: multipart/alternative;
	boundary="=_alternative 0051569985256E66_="
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 15:26:20 -0000

This is a multipart message in MIME format.
--=_alternative 0051569985256E66_=
Content-Type: text/plain; charset="US-ASCII"

Answering Mark's question: Why does Jikes RVM override 11 non-VMFoo 
classes?

(1) Native methods:  For us, native methods are (1) lower performance and 
(2) can't be used early in the VM booting process.  This is the primary 
reason for java.lang.Object, java.lang.reflect.Field, 
java.lang.reflect.Method, java.lang.reflect.Constructor. 

(2) java.lang.ref.*.  Very little code in these classes that isn't VM 
specific.  Don't see any reason why classpath should be expected to 
provide them, as they are really unlikely to be useful to anyone.  Yes, 
Jikes RVM does implement this stuff...you have to do at least weak & soft 
references if you want to run larger server-side applications.

(3) java.lang.Class.  If the Class/VMClass redesign with a VM-specific 
instance of type Object goes through, then we might be able to use it. 

(4) java.lang.Throwable.  I don't see any hope for us ever using the 
classpath implementation.  Handling exceptions is pretty delicate, and one 
of the implications of our entire VM being written in Java is that it is 
even more delicate than in a C based VM.  We have lots of Jikes-RVM 
specific stuff here to deal with decent stack trace printing early in VM 
booting & in other cases where the VM is "sick" or in a funny state and 
operating purely in Java won't work.

(5) java.lang.Thread.  We do m-n threading and some other strange stuff. 
Our thread class is kind of strange and really intertwined with other 
aspects of the VM.  If we were starting from scratch, I think we could use 
the Thread/VMThread currently in classpath, but it would be a lot of work 
to retrofit.

--dave
--=_alternative 0051569985256E66_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Answering Mark's question: Why does
Jikes RVM override 11 non-VMFoo classes?</font>
<br>
<br><font size=2 face="sans-serif">(1) Native methods: &nbsp;For us, native
methods are (1) lower performance and (2) can't be used early in the VM
booting process. &nbsp;This is the primary reason for java.lang.Object,
java.lang.reflect.Field, java.lang.reflect.Method, java.lang.reflect.Constructor.
&nbsp;</font>
<br>
<br><font size=2 face="sans-serif">(2) java.lang.ref.*. &nbsp;Very little
code in these classes that isn't VM specific. &nbsp;Don't see any reason
why classpath should be expected to provide them, as they are really unlikely
to be useful to anyone. &nbsp;Yes, Jikes RVM does implement this stuff...you
have to do at least weak &amp; soft references if you want to run larger
server-side applications.</font>
<br>
<br><font size=2 face="sans-serif">(3) java.lang.Class. &nbsp;If the Class/VMClass
redesign with a VM-specific instance of type Object goes through, then
we might be able to use it. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">(4) java.lang.Throwable. &nbsp;I don't
see any hope for us ever using the classpath implementation. &nbsp;Handling
exceptions is pretty delicate, and one of the implications of our entire
VM being written in Java is that it is even more delicate than in a C based
VM. &nbsp;We have lots of Jikes-RVM specific stuff here to deal with decent
stack trace printing early in VM booting &amp; in other cases where the
VM is &quot;sick&quot; or in a funny state and operating purely in Java
won't work.</font>
<br>
<br><font size=2 face="sans-serif">(5) java.lang.Thread. &nbsp;We do m-n
threading and some other strange stuff. &nbsp;Our thread class is kind
of strange and really intertwined with other aspects of the VM. &nbsp;If
we were starting from scratch, I think we could use the Thread/VMThread
currently in classpath, but it would be a lot of work to retrofit.</font>
<br>
<br><font size=2 face="sans-serif">--dave</font>
--=_alternative 0051569985256E66_=--



From MAILER-DAEMON Mon Mar 29 10:26:35 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7yen-0000Wi-Ii
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 10:26:33 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7yed-0000S3-Gw
	for classpath@gnu.org; Mon, 29 Mar 2004 10:26:23 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7ye6-0000I7-JH
	for classpath@gnu.org; Mon, 29 Mar 2004 10:26:22 -0500
Received: from [209.225.28.218] (helo=mxsf18.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7y7J-00009W-9e
	for classpath@gnu.org; Mon, 29 Mar 2004 09:51:57 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf18.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i2TEj9ie008744; Mon, 29 Mar 2004 09:45:16 -0500 (EST)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA54626;
	Mon, 29 Mar 2004 08:42:18 -0600 (CST)
Received: from dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2TEgHdK025305; 
	Mon, 29 Mar 2004 08:42:17 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <406835C9.9060508@dellroad.org>
Date: Mon, 29 Mar 2004 08:42:17 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Andrew Haley <aph@redhat.com>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC0E@LEMBU.sumatrasoftware.com>
	<16487.60581.925614.63544@cuddles.cambridge.redhat.com>
In-Reply-To: <16487.60581.925614.63544@cuddles.cambridge.redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 15:26:24 -0000

Andrew Haley wrote:
>  > > > I would like the vmdata field type then to be VMClass not Object.
>  > > 
>  > > I disagree, as it imposes a restriction on what vmData actually
>  > > is.  The most obvious implementation of vmData is to be a byte[]
>  > > instance holding the byte of a native pointer to an internal VM
>  > > non-moveable data structure.
>  > 
>  > I'm glad to see we agree (although I don't think it's at all obvious
>  > that it should be a byte[], not all VMs use native code).
> 
> Eeeh.  I can't imagine that either.  If there's a strong argument for
> holding native pointer in a byte[] ?

Here's my thinking on this topic. Warning: may not apply to you :-)

Object is good because it is automatically the size of a pointer
on any platform. However, it has one significant disadvantage, which
is that you must special case all such fields in your garbage collector
(unless you have a conservative collector). byte[] avoids this problem.

I remember kaffe had a kaffe.util.Pointer reference type that did this,
and was specially recognized by the GC. Slightly better than Object imho.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Mon Mar 29 10:32:01 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7yk4-0001r5-HV
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 10:32:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7yje-0001gn-1I
	for classpath@gnu.org; Mon, 29 Mar 2004 10:31:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7ybq-000830-V3
	for classpath@gnu.org; Mon, 29 Mar 2004 10:24:03 -0500
Received: from [32.97.182.103] (helo=e3.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B7yPP-0004VS-3E
	for classpath@gnu.org; Mon, 29 Mar 2004 10:10:39 -0500
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com
	[9.56.224.206])
	by e3.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id i2TFAcFV783486
	for <classpath@gnu.org>; Mon, 29 Mar 2004 10:10:38 -0500
Received: from d01ml604.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id
	i2TFAu5X110854
	for <classpath@gnu.org>; Mon, 29 Mar 2004 10:10:56 -0500
In-Reply-To: <40674121.30209@dellroad.org>
To: GNU Classpath <classpath@gnu.org>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
X-MIMETrack: S/MIME Sign by Notes Client on David P Grove/Watson/IBM(Release
	6.0|September 26, 2002) at 03/29/2004 10:05:40 AM,
	Serialize by Notes Client on David P Grove/Watson/IBM(Release
	6.0|September 26, 2002) at 03/29/2004 10:05:40 AM,
	Serialize complete at 03/29/2004 10:05:40 AM,
	S/MIME Sign failed at 03/29/2004 10:05:40 AM: The cryptographic key was
	not found,
	Serialize by Router on D01ML604/01/M/IBM(Release 6.51HF87 | March 11,
	2004) at 03/29/2004 10:10:37,
	Serialize complete at 03/29/2004 10:10:37
Message-ID: <OF4C465690.DA94CF33-ON85256E66.0051DEAA-85256E66.005313D4@us.ibm.com>
Date: Mon, 29 Mar 2004 10:10:36 -0500
Content-Type: multipart/alternative;
	boundary="=_alternative 0052EAC885256E66_="
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 15:31:36 -0000

This is a multipart message in MIME format.
--=_alternative 0052EAC885256E66_=
Content-Type: text/plain; charset="US-ASCII"

> I would be interested in a quick poll of VM implementors using 
Classpath:
> do you care more about having fewer diffs with "stock" Classpath or
> modifying & optimizing your VM's core classes to eke out optimal
> performance?

Both of course ;-)

More seriously, I'm a little cautious when thinking about introducing an 
extra level of object instances in performance critical classes (or 
classes which have a lot of instances at runtime), but an extra level of 
static (or final virtual) calls should never be an issue.  If you're in 
the performance game, your inliner has to eat up this kind of stuff with 
no problems, otherwise you have absolutely no chance of dealing with the 
application code.

Effective automatic object-inlining (to optimize away levels of redundant 
objects) is still very much bleeding-edge research.  Effective automatic 
inlining of static and virtual function calls is old, well-known 
technology and you have to do it and do it well to be in the OO 
performance game.

--dave

 
--=_alternative 0052EAC885256E66_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2><tt>&gt; I would be interested in a quick poll of VM implementors
using Classpath:<br>
&gt; do you care more about having fewer diffs with &quot;stock&quot; Classpath
or<br>
&gt; modifying &amp; optimizing your VM's core classes to eke out optimal<br>
&gt; performance?</tt></font>
<br>
<br><font size=2><tt>Both of course ;-)</tt></font>
<br>
<br><font size=2><tt>More seriously, I'm a little cautious when thinking
about introducing an extra level of object instances in performance critical
classes (or classes which have a lot of instances at runtime), but an extra
level of static (or final virtual) calls should never be an issue. &nbsp;If
you're in the performance game, your inliner has to eat up this kind of
stuff with no problems, otherwise you have absolutely no chance of dealing
with the application code.</tt></font>
<br>
<br><font size=2><tt>Effective automatic object-inlining (to optimize away
levels of redundant objects) is still very much bleeding-edge research.
&nbsp;Effective automatic inlining of static and virtual function calls
is old, well-known technology and you have to do it and do it well to be
in the OO performance game.</tt></font>
<br>
<br><font size=2><tt>--dave</tt></font>
<br>
<br><font size=2><tt>&nbsp; </tt></font>
--=_alternative 0052EAC885256E66_=--



From MAILER-DAEMON Mon Mar 29 10:37:22 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7ypG-0002Sg-2m
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 10:37:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7yfa-0000m4-9l
	for classpath@gnu.org; Mon, 29 Mar 2004 10:27:22 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7ybZ-0007vx-Pz
	for classpath@gnu.org; Mon, 29 Mar 2004 10:23:44 -0500
Received: from [62.253.162.43] (helo=mta03-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7ySp-0005em-LC
	for classpath@gnu.org; Mon, 29 Mar 2004 10:14:11 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta03-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040329151332.QGYH5865.mta03-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Mon, 29 Mar 2004 16:13:32 +0100
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i2TFCKCL000681; Mon, 29 Mar 2004 16:12:30 +0100
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i2TFCIe7000674;
	Mon, 29 Mar 2004 16:12:18 +0100
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16488.15570.843211.147562@cuddles.cambridge.redhat.com>
Date: Mon, 29 Mar 2004 16:12:18 +0100
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <406835C9.9060508@dellroad.org>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC0E@LEMBU.sumatrasoftware.com>
	<16487.60581.925614.63544@cuddles.cambridge.redhat.com>
	<406835C9.9060508@dellroad.org>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 15:37:20 -0000

Archie Cobbs writes:
 > Andrew Haley wrote:
 > >  > > > I would like the vmdata field type then to be VMClass not Object.
 > >  > > 
 > >  > > I disagree, as it imposes a restriction on what vmData actually
 > >  > > is.  The most obvious implementation of vmData is to be a byte[]
 > >  > > instance holding the byte of a native pointer to an internal VM
 > >  > > non-moveable data structure.
 > >  > 
 > >  > I'm glad to see we agree (although I don't think it's at all obvious
 > >  > that it should be a byte[], not all VMs use native code).
 > > 
 > > Eeeh.  I can't imagine that either.  If there's a strong argument for
 > > holding native pointer in a byte[] ?
 > 
 > Here's my thinking on this topic. Warning: may not apply to you :-)
 > 
 > Object is good because it is automatically the size of a pointer
 > on any platform. However, it has one significant disadvantage, which
 > is that you must special case all such fields in your garbage collector
 > (unless you have a conservative collector). byte[] avoids this problem.

Indeed, but so does long.  I suppose it's possible that on some weird
platform a pointer mat not fit in long.  In gcj was have a class
RawData, which we know points to something that isn't an Object and
isn't gcable.

 > I remember kaffe had a kaffe.util.Pointer reference type that did
 > this, and was specially recognized by the GC. Slightly better than
 > Object imho.

Yes, but you have to be very careful that such instances never leak
into application code.

Andrew.



From MAILER-DAEMON Mon Mar 29 10:50:36 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7z23-0005VG-ND
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 10:50:35 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7z1z-0005Ts-NM
	for classpath@gnu.org; Mon, 29 Mar 2004 10:50:31 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7yOL-0004AT-Ia
	for classpath@gnu.org; Mon, 29 Mar 2004 10:10:05 -0500
Received: from [209.225.28.210] (helo=mxsf10.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7yOK-00049S-Et
	for classpath@gnu.org; Mon, 29 Mar 2004 10:09:32 -0500
Received: from InterJet.dellroad.org (E6V6Q8.cpe.mvllo.al.charter.com
	[24.196.29.251])
	by mxsf10.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i2TF031Z032451; Mon, 29 Mar 2004 10:00:06 -0500 (EST)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA54755;
	Mon, 29 Mar 2004 08:53:30 -0600 (CST)
Received: from dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i2TErTdK025343; 
	Mon, 29 Mar 2004 08:53:29 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <40683869.4010607@dellroad.org>
Date: Mon, 29 Mar 2004 08:53:29 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Robert Lougher <robert_lougher@hotmail.com>
References: <BAY10-F67LOkDsDlJiR0001da68@hotmail.com>
In-Reply-To: <BAY10-F67LOkDsDlJiR0001da68@hotmail.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: mark@klomp.org, classpath@gnu.org, gagnon.etienne_m@uqam.ca
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 15:50:33 -0000

Robert Lougher wrote:
>>> - My Thread class uses private objects to implement sleep() and join()
>>>    in terms of Object.wait(). The VM notify()'s this object when the
>>>    thread exits. This means all the complexity of sleeping (and handling
>>>    Thread.interrupt()) can be put   in Object.wait() and not duplicated
>>>    elsewhere.
> 
>> Could you post your versions? It might be interesting to see whether we
>> can adopt this approach as default in the vm/reference implementation.
>> VMThread now does have a lot of native methods. But I believe I
>> discussed some of these issues with Jeroen and if I remember correctly
>> there were some subtle issues with just doing everything as wrappers
>> over Object.wait()/notify().
> 
> I would be very unhappy about this.  Sleep in JamVM is done by waiting 
> on an internal monitor, which is what Object.wait() maps down to (the 
> monitor associated with the Object) and joining threads wait on the 
> vmthread associated with the thread, which is notified on exit.  So all 
> code is done in terms of "monitor wait", which handles interrupt, so 
> JamVM doesn't duplicate code either.   JamVM uses thin locks which map 
> down to a real monitor in the presence of contention.  Join/sleep by 
> definition requires a real monitor, so I side step the redundant monitor 
> lookup.

Hmm.. sounds like JamVM does the same thing as I described pretty much.
Why then "unhappy" ? I must be missing something.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



From MAILER-DAEMON Mon Mar 29 10:54:33 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7z5s-0006Oc-T7
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 10:54:32 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7z5j-0006MR-Ut
	for classpath@gnu.org; Mon, 29 Mar 2004 10:54:23 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7z5C-0006FE-5n
	for classpath@gnu.org; Mon, 29 Mar 2004 10:54:22 -0500
Received: from [212.6.122.106] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7yzv-00056l-Da
	for classpath@gnu.org; Mon, 29 Mar 2004 10:48:23 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-118.ewetel.net
	[80.228.94.118])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id i2TFlcMN011592;
	Mon, 29 Mar 2004 17:47:39 +0200 (MEST)
Received: from obelix.konqueror.de ([192.168.1.4])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B7y3B-0005vv-00; Mon, 29 Mar 2004 16:47:41 +0200
From: Michael Koch <konqueror@gmx.de>
To: Andrew Haley <aph@redhat.com>, Archie Cobbs <archie@dellroad.org>
Date: Mon, 29 Mar 2004 16:47:23 +0200
User-Agent: KMail/1.5.4
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC0E@LEMBU.sumatrasoftware.com>
	<406835C9.9060508@dellroad.org>
	<16488.15570.843211.147562@cuddles.cambridge.redhat.com>
In-Reply-To: <16488.15570.843211.147562@cuddles.cambridge.redhat.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200403291647.23978.konqueror@gmx.de>
X-CheckCompat: OK
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail1.ewetel.de id
	i2TFlcMN011592
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 15:54:30 -0000

Am Montag, 29. M=E4rz 2004 17:12 schrieb Andrew Haley:
> Archie Cobbs writes:
>  > Andrew Haley wrote:
>  > >  > > > I would like the vmdata field type then to be VMClass not
>  > >  > > > Object.
>  > >  > >
>  > >  > > I disagree, as it imposes a restriction on what vmData
>  > >  > > actually is.  The most obvious implementation of vmData is
>  > >  > > to be a byte[] instance holding the byte of a native
>  > >  > > pointer to an internal VM non-moveable data structure.
>  > >  >
>  > >  > I'm glad to see we agree (although I don't think it's at all
>  > >  > obvious that it should be a byte[], not all VMs use native
>  > >  > code).
>  > >
>  > > Eeeh.  I can't imagine that either.  If there's a strong
>  > > argument for holding native pointer in a byte[] ?
>  >
>  > Here's my thinking on this topic. Warning: may not apply to you
>  > :-)
>  >
>  > Object is good because it is automatically the size of a pointer
>  > on any platform. However, it has one significant disadvantage,
>  > which is that you must special case all such fields in your
>  > garbage collector (unless you have a conservative collector).
>  > byte[] avoids this problem.
>
> Indeed, but so does long.  I suppose it's possible that on some weird
> platform a pointer mat not fit in long.  In gcj was have a class
> RawData, which we know points to something that isn't an Object and
> isn't gcable.

Yes, gcj has gnu.gcj.RawData.

Classpath has gnu.classpath.RawData for the same purpose. It would be=20
really nice to unify this. I tried once but I saw its a lot of work=20
needed to change gnu.gcj.RawData to gnu.classpath.RawData (or=20
gnu.lang.RawData or whatever).


Michael




From MAILER-DAEMON Mon Mar 29 11:50:34 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B7zy6-0003qB-0I
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 11:50:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B7zy2-0003ob-Sj
	for classpath@gnu.org; Mon, 29 Mar 2004 11:50:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B7zxV-0003cR-N7
	for classpath@gnu.org; Mon, 29 Mar 2004 11:50:28 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7ztb-0002eF-Ru
	for classpath@gnu.org; Mon, 29 Mar 2004 11:45:55 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2TGSELD002603;
	Mon, 29 Mar 2004 11:30:19 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032911304117503 ; Mon, 29 Mar 2004 11:30:41 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2TGQpgp024297; Mon, 29 Mar 2004 11:26:51 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B7zb9-000894-GP; Mon, 29 Mar 2004 11:26:51 -0500
Message-ID: <40684E49.5080706@uqam.ca>
Date: Mon, 29 Mar 2004 11:26:49 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: Archie Cobbs <archie@dellroad.org>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC0E@LEMBU.sumatrasoftware.com>	<16487.60581.925614.63544@cuddles.cambridge.redhat.com>
	<406835C9.9060508@dellroad.org>
In-Reply-To: <406835C9.9060508@dellroad.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 16:50:32 -0000

Archie Cobbs wrote:
>> Eeeh.  I can't imagine that either.  If there's a strong argument for
>> holding native pointer in a byte[] ?
> Object is good because it is automatically the size of a pointer
> on any platform. However, it has one significant disadvantage, which
> is that you must special case all such fields in your garbage collector
> (unless you have a conservative collector). byte[] avoids this problem.

OK.  It seems people are missing an important point: This is "polymorphic"
Java code.  If you declare:

   Object vmData;

You can later write:

   vmData = new byte[PTR_SIZE];

or

   vmData = new RawData();

or whatever.

So what's the problem, with this?

Etienne

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Mon Mar 29 12:20:45 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B80OQ-0003Mt-N5
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 12:17:46 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B80OE-0003Gn-9h
	for classpath@gnu.org; Mon, 29 Mar 2004 12:17:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B80DS-000833-J0
	for classpath@gnu.org; Mon, 29 Mar 2004 12:06:58 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B80DR-00081p-KA
	for classpath@gnu.org; Mon, 29 Mar 2004 12:06:25 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i2TGSJNZ002982;
	Mon, 29 Mar 2004 11:51:40 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004032911505920989 ; Mon, 29 Mar 2004 11:50:59 -0500
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i2TGg8gp000277; Mon, 29 Mar 2004 11:42:08 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by perseval.info.uqam.ca with esmtp (Exim 4.30)
	id 1B7zpw-0008A1-Er; Mon, 29 Mar 2004 11:42:08 -0500
Message-ID: <406851DE.1090704@uqam.ca>
Date: Mon, 29 Mar 2004 11:42:06 -0500
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.6) Gecko/20040314 Debian/1.6-3
X-Accept-Language: en
MIME-Version: 1.0
To: Archie Cobbs <archie@dellroad.org>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC0E@LEMBU.sumatrasoftware.com>	<16487.60581.925614.63544@cuddles.cambridge.redhat.com>
	<406835C9.9060508@dellroad.org> <40684E49.5080706@uqam.ca>
In-Reply-To: <40684E49.5080706@uqam.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 17:17:44 -0000

Etienne Gagnon wrote:
>   vmData = new byte[PTR_SIZE];
> or
>   vmData = new RawData();
> or whatever.
> So what's the problem, with this?

And for those who want to do:

   vmData = [internalVMpointer]

They can deal with it in many ways, such as:

1- make sure [internalVMpointer] points to
    a non-GC'ed memory, so that GC can  identify
    it as special;
2- Set their internal compiler/interpreter to deal
    specially with all accesses to vmData (and use
    flow analysis to track the value propagation).

I really think "Object" is the most "general" approach, as Classpath has
decided to have a "unique, good-for-all-vms" source base approach.

I was suggesting an template-based approach to solve the issue, but it was
rejected as it was not "pure Java".  "Object vmData" IS pure Java, and it
also conforms to Java's view of generecity (e.g. all Collection containers
store and retrieve generic "Object"s).

Etienne
-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Mon Mar 29 14:42:17 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B82cb-00038j-Iu
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 14:40:33 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B82Sa-0006L4-52
	for classpath@gnu.org; Mon, 29 Mar 2004 14:30:12 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B82RW-00062P-QU
	for classpath@gnu.org; Mon, 29 Mar 2004 14:29:38 -0500
Received: from [213.228.0.44] (helo=postfix3-1.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B827F-0001H0-0n
	for classpath@gnu.org; Mon, 29 Mar 2004 14:08:09 -0500
Received: from free.fr (cachan-3-82-66-125-112.fbx.proxad.net [82.66.125.112])
	by postfix3-1.free.fr (Postfix) with ESMTP
	id 3E206C4117; Mon, 29 Mar 2004 21:07:37 +0200 (CEST)
Message-ID: <406873F8.70003@free.fr>
Date: Mon, 29 Mar 2004 21:07:36 +0200
From: Guilhem Lavaux <guilhem.lavaux@free.fr>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <40633EE9.9040103@kaffe.org>
	<1080489299.17922.11.camel@elsschot.wildebeest.org>
In-Reply-To: <1080489299.17922.11.camel@elsschot.wildebeest.org>
X-Enigmail-Version: 0.76.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Mon, 29 Mar 2004 14:40:29 -0500
Cc: Classpath List <classpath@gnu.org>
Subject: Re: Object serialization and final fields
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 19:30:12 -0000

Mark Wielaard wrote:
> Hi,
> 

Hi Mark !

> On Thu, 2004-03-25 at 21:19, Guilhem Lavaux wrote: 
> 
>>Some people has reported failures in kaffe with applications trying to 
>>deserialize objects containing final fields. Apparently it is authorized 
>>  in the serialization spec but we cannot rely on 
>>java.lang.reflect.Field to set them. So our only solution is to bypass 
>>the protection in java.lang.reflect.Field by creating new native calls 
>>in ObjectStreamField.
>>
>>I am proposing the following changes for ObjectStreamField.
> 
> 
> It is a bit sad that serialization needs a couple of things that clearly
> should have been standard reflection methods/options. Sigh.
> 
> I like the idea in general.
> Couple of comments/questions.
> 
> - ChangeLog entry is missing...
> 
Well, it was not a final patch but just to open up the discussion.

>>@@ -64,7 +65,7 @@
>>   {
>>     this (field.getName(), field.getType());
>>     this.field = field;
>>-    toset = !Modifier.isFinal(field.getModifiers());
>>+    //toset = !Modifier.isFinal(field.getModifiers());
>>   }
> 
> 
> Either remove this or make it a real comment explaining why we don't
> test this anymore.

Ok, will do it asap.

> 
> 
>>   /**
>>@@ -353,11 +354,14 @@
>>     return "ObjectStreamField< " + type + " " + name + " >";
>>   }
>> 
>>+  final private native void setBooleanNative(Object obj, boolean val) 
>>+    throws IllegalAccessException;
>>+
> 
> 
> This and the other setXXXNative methods should be moved to
> VMObjectStreamClass. You should also provide sample JNI implementations
> for this in native/jni/java-io/java_io_VMObjectStreamClass.c
> (Note that VmSystem.c has examples for this. See VMSystem
> setIn/Out/Err())
> 
> Maybe make them static and also provide the field object?
> 

I'll do as requested but concerning java_io_VMObjectStreamClass.c I 
would like to propose something else.
After more experimentation, I would have preferred to have some private 
internal methods in java.lang.reflect.Field which we could call directly 
from native code. These calls should not check whether a field is final 
or not but just try to set it. The other usual methods of Field 
(get/set) should check the final bit and call the internal methods 
afterwards.

If it's not possible I will borrow some code from native Field 
implementation.

> 
>>   final void setBooleanField(Object obj, boolean val)
>>   {
>>     try
>>       {
>>-	field.setBoolean(obj, val);
>>+	setBooleanNative(obj, val);
>>       }
>>     catch(IllegalAccessException x)
>>       {
> 
> 
> Do we want to use the new method unconditionally or only when the field
> is final?

Would it be useful ? I think it would only eat CPU as we always need to 
set fields.

Cheers,

Guilhem.




From MAILER-DAEMON Mon Mar 29 15:35:30 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B83TG-0006CH-MO
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 15:34:58 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B83Sx-0005ZC-96
	for classpath@gnu.org; Mon, 29 Mar 2004 15:34:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B83SC-0004RG-5q
	for classpath@gnu.org; Mon, 29 Mar 2004 15:34:24 -0500
Received: from [207.174.178.92] (helo=email2.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B83SB-0004Ff-5c
	for classpath@gnu.org; Mon, 29 Mar 2004 15:33:51 -0500
Received: (qmail 642 invoked from network); 29 Mar 2004 20:34:50 -0000
Received: from tf0229.peakpeak.com (HELO fleche.redhat.com) ([204.144.239.229])
	(envelope-sender <tromey@redhat.com>)
	by email2.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 29 Mar 2004 20:34:50 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 786554F82A2; Mon, 29 Mar 2004 13:20:38 -0700 (MST)
To: Steven Augart <augart@watson.ibm.com>
References: <4067C119.9040800@watson.ibm.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: ..I'll make you an ASHTRAY!!
Date: 29 Mar 2004 13:20:36 -0700
In-Reply-To: <4067C119.9040800@watson.ibm.com>
Message-ID: <8765cno163.fsf@fleche.redhat.com>
Lines: 17
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: Documentation patch: Add DIR entries to generated INFO files.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 20:34:52 -0000

>>>>> "Steven" == Steven Augart <augart@watson.ibm.com> writes:

Thanks, I'm checking this in.

Steven> Author: Steven Augart <steve+freejava at augart dot com>
Steven> Date:   Monday, 29 March 2004.

Steven> I created the patch with the commands:
Steven>     LC_ALL=C TZ=GMT diff -u
Steven> classpath-0.08/classpath/doc/vmintegration.texinfo{.~1~,} >
Steven> classpath-0.08/info-file-dir-entries-1.patch


It's simpler for whoever commits if the patch is made with `cvs diff'
and if it includes a ChangeLog entry.

Tom



From MAILER-DAEMON Mon Mar 29 15:40:23 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B83YV-0001Cs-Ir
	for mharc-classpath@gnu.org; Mon, 29 Mar 2004 15:40:23 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B83YN-00019m-Dx
	for classpath@gnu.org; Mon, 29 Mar 2004 15:40:15 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B83Xo-0000oW-W8
	for classpath@gnu.org; Mon, 29 Mar 2004 15:40:12 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B83Xo-0000nq-HZ
	for classpath@gnu.org; Mon, 29 Mar 2004 15:39:40 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i2TKdCq90214; Mon, 29 Mar 2004 15:39:12 -0500
Received: from meriadoc.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004)
	with ESMTP id i2TKdAs50288; Mon, 29 Mar 2004 15:39:11 -0500
Received: from watson.ibm.com (bilbo.watson.ibm.com [9.2.32.197])
	by meriadoc.watson.ibm.com (8.11.6/8.11.6/2001/12/13) with ESMTP id
	i2TKd9Z20336; Mon, 29 Mar 2004 15:39:09 -0500
Message-ID: <4068896D.4080209@watson.ibm.com>
Date: Mon, 29 Mar 2004 15:39:09 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: it, en-us, en
MIME-Version: 1.0
To: Andrew Haley <aph@redhat.com>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC0E@LEMBU.sumatrasoftware.com>	<16487.60581.925614.63544@cuddles.cambridge.redhat.com>	<406835C9.9060508@dellroad.org>
	<16488.15570.843211.147562@cuddles.cambridge.redhat.com>
In-Reply-To: <16488.15570.843211.147562@cuddles.cambridge.redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 20:40:16 -0000

Andrew Haley wrote:
> [....] I suppose it's possible that on some weird
> platform a pointer mat not fit in long.  In gcj was have a class
> RawData, which we know points to something that isn't an Object and
> isn't gcable.

Jikes RVM abstracts this away with a similar class, VM_Address.  And, 
as you said, Andrew, it would be very bad if it leaked into 
application code.

One day -- I have difficulty imagining it -- we are going to have 
processors that use an address space more than 64 bits wide.  Then 
again, in 1984 the VAX's 32-bit (4 GB) address space seemed huge.

Just as C is still in common use today, I expect that there will still 
be running Java code out there when we go over 64 bits of address 
space.  I further expect that a descendant of at least one of the Free 
  Java projects we discuss on this list will be out there running Java 
code.
-- 
Steven Augart

Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm




From MAILER-DAEMON Tue Mar 30 02:21:29 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B8DWR-0004gy-Vy
	for mharc-classpath@gnu.org; Tue, 30 Mar 2004 02:18:55 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B8DW0-0004Td-2z
	for classpath@gnu.org; Tue, 30 Mar 2004 02:18:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B8DVH-0004Au-Gb
	for classpath@gnu.org; Tue, 30 Mar 2004 02:18:14 -0500
Received: from [212.227.126.183] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8DVH-0004Ae-5n
	for classpath@gnu.org; Tue, 30 Mar 2004 02:17:43 -0500
Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1B8DVG-00010N-00
	for classpath@gnu.org; Tue, 30 Mar 2004 09:17:42 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 1B8DVF-00035V-00
	for classpath@gnu.org; Tue, 30 Mar 2004 09:17:41 +0200
Message-ID: <40691F16.9030104@aicas.com>
Date: Tue, 30 Mar 2004 09:17:42 +0200
From: =?ISO-8859-1?Q?Ingo_Pr=F6tel?= <proetel@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <788B535AB1F9CB49BB9C229372B50ACC0ADC0E@LEMBU.sumatrasoftware.com>	<16487.60581.925614.63544@cuddles.cambridge.redhat.com>	<406835C9.9060508@dellroad.org>
	<40684E49.5080706@uqam.ca> <406851DE.1090704@uqam.ca>
In-Reply-To: <406851DE.1090704@uqam.ca>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	auth:ebd3e0372cc3ac236a2e2611be1a8528
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2004 07:18:54 -0000

Hi!

We have our own version of the classes in java.lang.* so this dicussion is not vital for us.

For us it is important that after the initial memory allocation there is no further memory 
allocation. So if we need to store native information we need to put it into the Java heap. To do 
this we allocate the required memory in the Java heap and mark it as a Java object of type Object. 
This allows us to handle this object like every other Java object. So we can store native 
information and connect it to a Java object and the garbage collector just frees the memory when the 
corresponding Java object is gone.

So we would rather use Object references in such places than byte[]. Byte arrays give programmers on 
the Java side the feeling the can work with the content where they really should not touch it.

Cheers,
ingo

-- 
Ingo Prötel                                          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



From MAILER-DAEMON Tue Mar 30 03:31:35 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B8Eel-0003gH-3T
	for mharc-classpath@gnu.org; Tue, 30 Mar 2004 03:31:35 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B8Eeg-0003eU-7f
	for classpath@gnu.org; Tue, 30 Mar 2004 03:31:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B8Ee9-0003TH-2f
	for classpath@gnu.org; Tue, 30 Mar 2004 03:31:28 -0500
Received: from [195.18.123.2] (helo=kiev.dev.factotummedia.nl)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8EaE-0002hv-OG
	for classpath@gnu.org; Tue, 30 Mar 2004 03:26:54 -0500
Received: from amavis by kiev.dev.factotummedia.nl with scanned-ok (Exim 3.35
	#1 (Debian)) id 1B8EXq-0001vx-00
	for <classpath@gnu.org>; Tue, 30 Mar 2004 10:24:26 +0200
Received: from kiev.dev.factotummedia.nl ([127.0.0.1])
	by localhost (kiev [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 07114-06 for <classpath@gnu.org>;
	Tue, 30 Mar 2004 10:24:26 +0200 (CEST)
Received: from pc-thomas.dev.factotummedia.nl ([192.168.3.104])
	by kiev.dev.factotummedia.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1B8EXp-0001vp-00
	for <classpath@gnu.org>; Tue, 30 Mar 2004 10:24:25 +0200
From: Thomas <zander@javalobby.org>
To: classpath@gnu.org
Date: Tue, 30 Mar 2004 10:27:25 +0200
User-Agent: KMail/1.6.1
References: <mailman.8513.1080228545.26039.classpath@gnu.org>
	<200403252140.48269.zander@javalobby.org>
	<1080492070.17922.58.camel@elsschot.wildebeest.org>
In-Reply-To: <1080492070.17922.58.camel@elsschot.wildebeest.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Multipart/Mixed;
  boundary="Boundary-00=_t9SaAEulzqmRfnw"
Message-Id: <200403301027.27311.zander@javalobby.org>
X-Virus-Scanned: by amavisd-new (Debian) at dev.factotummedia.nl
Subject: Re: Swing class-usage (was Tests)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2004 08:31:31 -0000


--Boundary-00=_t9SaAEulzqmRfnw
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 28 March 2004 18:41, you wrote:
> > > Also taking an existing free program written in the java language and
> > > trying to make it work with gcj, kaffe or another VM based on classpa=
th
> > > is really appreciated.
> >
> > Hmm; my projects use lots of Swing code; so that seems like a no-go idea
> > for some time to come..
>
> It might be interesting to know what parts of Swing you need.

Here is a list of classes I use. Do note that this project I am working on =
is=20
a library which adds functionality and a GUI builder on top of Swing. It al=
so=20
adds a Look&Feel (the plaf classes). So its really quite big, hence the lar=
ge=20
amount of classes used. (161)

=2D --=20
Regards
Thomas
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAaS9tCojCW6H2z/QRAkwxAKCkER1G77gcgPWi515VDHM+jgQJdgCeKd3y
Rs1deXfapLStspF4Ot8JYfQ=3D
=3DUZPx
=2D----END PGP SIGNATURE-----

--Boundary-00=_t9SaAEulzqmRfnw
Content-Type: text/plain;
  charset="iso-8859-1";
  name="swing-usage.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="swing-usage.txt"

javax.swing.BorderFactory
javax.swing.ButtonGroup
javax.swing.Icon
javax.swing.ImageIcon
javax.swing.JButton
javax.swing.JCheckBox
javax.swing.JComboBox
javax.swing.JComponent
javax.swing.JDialog
javax.swing.JLabel
javax.swing.JList
javax.swing.JPanel
javax.swing.JPasswordField
javax.swing.JProgressBar
javax.swing.JRadioButton
javax.swing.JScrollPane
javax.swing.JSlider
javax.swing.JSplitPane
javax.swing.JTabbedPane
javax.swing.JTable
javax.swing.JTextArea
javax.swing.JTextField
javax.swing.JTextPane
javax.swing.JToggleButton
javax.swing.KeyStroke
javax.swing.ListSelectionModel
javax.swing.SpinnerNumberModel
javax.swing.SwingConstants
javax.swing.event.ChangeListener
javax.swing.event.ListSelectionListener
javax.swing.table.TableColumnModel
javax/swing/AbstractAction
javax/swing/AbstractButton
javax/swing/Action
javax/swing/ActionMap
javax/swing/BorderFactory
javax/swing/ButtonGroup
javax/swing/ButtonModel
javax/swing/CellRendererPane
javax/swing/ComboBoxModel
javax/swing/Icon
javax/swing/ImageIcon
javax/swing/InputMap
javax/swing/JButton
javax/swing/JCheckBox
javax/swing/JCheckBoxMenuItem
javax/swing/JComboBox
javax/swing/JComboBox$KeySelectionManager
javax/swing/JComponent
javax/swing/JDialog
javax/swing/JFormattedTextField
javax/swing/JFrame
javax/swing/JLabel
javax/swing/JLayeredPane
javax/swing/JList
javax/swing/JMenu
javax/swing/JMenuBar
javax/swing/JMenuItem
javax/swing/JOptionPane
javax/swing/JPanel
javax/swing/JPopupMenu
javax/swing/JProgressBar
javax/swing/JRadioButton
javax/swing/JRootPane
javax/swing/JScrollBar
javax/swing/JScrollPane
javax/swing/JSlider
javax/swing/JSpinner
javax/swing/JSpinner$DateEditor
javax/swing/JSpinner$DefaultEditor
javax/swing/JTabbedPane
javax/swing/JTable
javax/swing/JTextField
javax/swing/JToggleButton
javax/swing/JToolBar
javax/swing/JViewport
javax/swing/JWindow
javax/swing/KeyStroke
javax/swing/LayoutFocusTraversalPolicy
javax/swing/ListCellRenderer
javax/swing/ListSelectionModel
javax/swing/LookAndFeel
javax/swing/RootPaneContainer
javax/swing/SpinnerDateModel
javax/swing/SpinnerModel
javax/swing/SpinnerNumberModel
javax/swing/SwingUtilities
javax/swing/Timer
javax/swing/UIDefaults
javax/swing/UIManager
javax/swing/UnsupportedLookAndFeelException
javax/swing/border/AbstractBorder
javax/swing/border/Border
javax/swing/border/LineBorder
javax/swing/event/AncestorEvent
javax/swing/event/AncestorListener
javax/swing/event/ChangeEvent
javax/swing/event/ChangeListener
javax/swing/event/EventListenerList
javax/swing/event/ListSelectionEvent
javax/swing/event/ListSelectionListener
javax/swing/event/MouseInputAdapter
javax/swing/event/MouseInputListener
javax/swing/event/TableModelEvent
javax/swing/event/TableModelListener
javax/swing/event/UndoableEditListener
javax/swing/plaf/ButtonUI
javax/swing/plaf/ColorUIResource
javax/swing/plaf/FontUIResource
javax/swing/plaf/ListUI
javax/swing/plaf/UIResource
javax/swing/plaf/basic/BasicLabelUI
javax/swing/plaf/basic/BasicListUI
javax/swing/plaf/basic/BasicMenuItemUI
javax/swing/plaf/basic/BasicMenuUI
javax/swing/plaf/basic/BasicPanelUI
javax/swing/plaf/basic/BasicRadioButtonUI
javax/swing/plaf/basic/BasicSliderUI
javax/swing/plaf/basic/BasicSliderUI$TrackListener
javax/swing/plaf/basic/BasicSpinnerUI
javax/swing/plaf/basic/BasicTabbedPaneUI
javax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneLayout
javax/swing/plaf/basic/BasicTableHeaderUI
javax/swing/plaf/basic/BasicTableUI
javax/swing/plaf/basic/BasicTextAreaUI
javax/swing/plaf/basic/BasicTextFieldUI
javax/swing/plaf/basic/BasicToolBarUI
javax/swing/plaf/basic/BasicToolBarUI$DockingListener
javax/swing/plaf/basic/BasicToolBarUI$DragWindow
javax/swing/plaf/basic/ComboPopup
javax/swing/plaf/metal/DefaultMetalTheme
javax/swing/plaf/metal/MetalButtonUI
javax/swing/plaf/metal/MetalComboBoxButton
javax/swing/plaf/metal/MetalComboBoxUI
javax/swing/plaf/metal/MetalLookAndFeel
javax/swing/plaf/metal/MetalScrollPaneUI
javax/swing/plaf/metal/MetalTabbedPaneUI
javax/swing/plaf/metal/MetalTheme
javax/swing/plaf/metal/MetalToolBarUI
javax/swing/table/AbstractTableModel
javax/swing/table/DefaultTableCellRenderer
javax/swing/table/DefaultTableModel
javax/swing/table/JTableHeader
javax/swing/table/TableCellEditor
javax/swing/table/TableCellRenderer
javax/swing/table/TableColumn
javax/swing/table/TableColumnModel
javax/swing/table/TableModel
javax/swing/text/AttributeSet
javax/swing/text/BadLocationException
javax/swing/text/Caret
javax/swing/text/Document
javax/swing/text/Element
javax/swing/text/PasswordView
javax/swing/text/PlainDocument
javax/swing/text/Position
javax/swing/text/Position$Bias
javax/swing/text/View
javax/swing/undo/CannotRedoException
javax/swing/undo/CannotUndoException
javax/swing/undo/UndoManager

--Boundary-00=_t9SaAEulzqmRfnw--



From MAILER-DAEMON Tue Mar 30 03:42:11 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B8EmS-0006Jx-F5
	for mharc-classpath@gnu.org; Tue, 30 Mar 2004 03:39:32 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B8EmF-0006DO-Um
	for classpath@gnu.org; Tue, 30 Mar 2004 03:39:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B8EhH-0004P2-F1
	for classpath@gnu.org; Tue, 30 Mar 2004 03:34:42 -0500
Received: from [195.18.123.2] (helo=kiev.dev.factotummedia.nl)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8EhH-0004Ou-3t
	for classpath@gnu.org; Tue, 30 Mar 2004 03:34:11 -0500
Received: from amavis by kiev.dev.factotummedia.nl with scanned-ok (Exim 3.35
	#1 (Debian)) id 1B8Eew-0001ya-00
	for <classpath@gnu.org>; Tue, 30 Mar 2004 10:31:46 +0200
Received: from kiev.dev.factotummedia.nl ([127.0.0.1])
	by localhost (kiev [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 07100-10 for <classpath@gnu.org>;
	Tue, 30 Mar 2004 10:31:46 +0200 (CEST)
Received: from pc-thomas.dev.factotummedia.nl ([192.168.3.104])
	by kiev.dev.factotummedia.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1B8Eew-0001yT-00
	for <classpath@gnu.org>; Tue, 30 Mar 2004 10:31:46 +0200
From: Thomas <zander@javalobby.org>
To: classpath@gnu.org
Date: Tue, 30 Mar 2004 10:34:48 +0200
User-Agent: KMail/1.6.1
References: <mailman.8513.1080228545.26039.classpath@gnu.org>
	<200403252140.48269.zander@javalobby.org>
	<1080492070.17922.58.camel@elsschot.wildebeest.org>
In-Reply-To: <1080492070.17922.58.camel@elsschot.wildebeest.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200403301034.49702.zander@javalobby.org>
X-Virus-Scanned: by amavisd-new (Debian) at dev.factotummedia.nl
Subject: OT: Licensing Java code (was Tests)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2004 08:39:22 -0000

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 28 March 2004 18:41, you wrote:
> > Is the Apache licence considered Free for you guys (I'm really an open
> > source programmer, not a free-software one..).
>
> Yes, it certainly is a Free Software license.
> But it is currently not compatible with the GPL.
> ... we don't really recommend
> releasing and/or combining larger works under the Apache license.
=46or my puposes the GPL is too viral. Java is quickly becoming the choice =
of=20
big companies for their apps; and GPL is almost never a correct licence for=
=20
code from companies.  LGPL would be, if it would be fixed by the FSF to be=
=20
'compatible' with Java..

> So creating a derived larger work of some GPLed and Apache licensed code
> is not distributable (since there are some restrictions with respect to
> patent licensing that are not allowed by the GPL).

I should have been more correct in my wording; I use the Apache licence=20
version 1; I refuse to use version 2. Version 1 does not discuss patent=20
licensing.
=2D --=20
Regards
Thomas
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAaTEoCojCW6H2z/QRAjlSAKDiLnyri5uKzW24kqI6d5vSZJt6gQCfbUbT
83+ymZFdOHLjf8NYdJKyO04=3D
=3DKnJy
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Tue Mar 30 06:04:17 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B8H2W-0007co-Kd
	for mharc-classpath@gnu.org; Tue, 30 Mar 2004 06:04:16 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B8H2T-0007cJ-9s
	for classpath@gnu.org; Tue, 30 Mar 2004 06:04:13 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B8H1v-0007Tx-Ut
	for classpath@gnu.org; Tue, 30 Mar 2004 06:04:11 -0500
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8H1v-0007Tk-Js
	for classpath@gnu.org; Tue, 30 Mar 2004 06:03:39 -0500
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1B8H1u-0006KM-00
	for <classpath@gnu.org>; Tue, 30 Mar 2004 13:03:38 +0200
Received: from data ([139.19.90.238] helo=mpi-sb.mpg.de)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1B8H1r-0006IL-00; Tue, 30 Mar 2004 13:03:35 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i2UB3OLT005325;
	Tue, 30 Mar 2004 13:03:35 +0200 (MEST)
Message-ID: <406953FC.6050102@kaffe.org>
Date: Tue, 30 Mar 2004 13:03:24 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040316
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Thomas <zander@javalobby.org>
References: <mailman.8513.1080228545.26039.classpath@gnu.org>	<200403252140.48269.zander@javalobby.org>	<1080492070.17922.58.camel@elsschot.wildebeest.org>
	<200403301034.49702.zander@javalobby.org>
In-Reply-To: <200403301034.49702.zander@javalobby.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org
Subject: Re: OT: Licensing Java code (was Tests)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2004 11:04:14 -0000

Hi Thomas,

Thomas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sunday 28 March 2004 18:41, you wrote:
> 
>>>Is the Apache licence considered Free for you guys (I'm really an open
>>>source programmer, not a free-software one..).
>>
>>Yes, it certainly is a Free Software license.
>>But it is currently not compatible with the GPL.
>>... we don't really recommend
>>releasing and/or combining larger works under the Apache license.
> 
> For my puposes the GPL is too viral. Java is quickly becoming the choice of 
> big companies for their apps; and GPL is almost never a correct licence for 
> code from companies.  LGPL would be, if it would be fixed by the FSF to be 
> 'compatible' with Java..

GNU Classpath uses GPL+special-linking-exception which protects the core 
code base by GPL while allowing creation of derived works without being 
necessarily bound by the GPL. I think it's better than LGPL at that, 
since the LGPL is very specific when it talks about linking mechanisms, 
whereas the GPL uses more generic, copyright terms.

So I think GPL + linking exception is a very nice license for library 
code, and a better one than the LGPL.

cheers,
dalibor topic



From MAILER-DAEMON Tue Mar 30 11:51:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B8MSn-0003wU-Pm
	for mharc-classpath@gnu.org; Tue, 30 Mar 2004 11:51:45 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B8MSi-0003uC-UF
	for classpath@gnu.org; Tue, 30 Mar 2004 11:51:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B8MRp-0003VS-GN
	for classpath@gnu.org; Tue, 30 Mar 2004 11:51:16 -0500
Received: from [213.228.0.44] (helo=postfix3-1.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8MRm-0003In-GP
	for classpath@gnu.org; Tue, 30 Mar 2004 11:50:42 -0500
Received: from kaffe.org (cachan-3-82-66-125-112.fbx.proxad.net
	[82.66.125.112])
	by postfix3-1.free.fr (Postfix) with ESMTP id 495F7C4282
	for <classpath@gnu.org>; Tue, 30 Mar 2004 18:50:38 +0200 (CEST)
Message-ID: <4069A55D.9060102@kaffe.org>
Date: Tue, 30 Mar 2004 18:50:37 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath List <classpath@gnu.org>
X-Enigmail-Version: 0.76.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Comparison ICU/java.text
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2004 16:51:41 -0000

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

Hi !

To the request of Tom Tromey I have made a small comparison between ICU
text and java.text. As it is MIT licenced and has a strong
implementation it would have been great to be able to import classes
though I don't really like to have some pure IBM code around. So here is
a list of the features and differences:

* classes which has the same name: BreakIterator,
CollationElementIterator, RuleBasedCollator, Collator,
CollationKey, DateFormat, DateFormatSymbols,
DecimalFormat, DecimalFormatSymbols, NumberFormat,
SimpleDateFormat, StringCharacterIterator.

* classes unavailable in ICU: Annotation,
AttributedCharacterIterator, AttributedString, Bidi,
ChoiceFormat, FieldPosition, MessageFormat,
MessageFormat.Field, NumberFormat.Field,
ParsePosition, ParseException.

Concerning shared classes:

* BreakIterator: all methods implemented.
* CollationElementIterator: all methods implemented.
* RuleBasedCollator: rules slightly different (possibility of putting
'&' in front of rules). Besides that all methods implemented.
* Collator: FULL_DECOMPOSITION is missing. All methods implemented.
* CollationKey: constructors are public unlike JDK's. All methods
implemented.
* DateFormat: no Field subclass. All methods implemented.
* DateFormatSymbols: All methods implemented.
* DecimalFormat: formatToCharacterIterator, getCurrency are missing.
* DecimalFormatSymbols: get/setCurrency are missing.
* NumberFormat: Field is missing.
* SimpleDateFormat: format prototype is different (Date for JDK,
Calendar for ICU). formatToCharacterIterator is missing. parse is different.
* StringCharacterIterator is deprecated in ICU.

Other interesting features of ICU:
* More calendars: Gregorian, Hebrew, Islamic, Japanese, BuddhistCalendar.
* Calendar: all methods implemented.

Cheers,
Guilhem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAaaVdWRk4qbNiTwgRApT3AJ9JUwZjsQrstnCDTlIrN2qL2t6hMACfTks2
aW3hazgfvY+SdzvwrX3KjcE=
=7HgO
-----END PGP SIGNATURE-----




From MAILER-DAEMON Wed Mar 31 03:33:09 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B8b9o-0006Tc-RW
	for mharc-classpath@gnu.org; Wed, 31 Mar 2004 03:33:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B8b9g-0006Q1-Pc
	for classpath@gnu.org; Wed, 31 Mar 2004 03:33:00 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B8b99-0006FX-EL
	for classpath@gnu.org; Wed, 31 Mar 2004 03:32:58 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8b99-0006F1-4O
	for classpath@gnu.org; Wed, 31 Mar 2004 03:32:27 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 31 Mar 2004 10:32:19 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC0ADC89@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Next release?
Thread-Index: AcQW+aMOUpY5bM9oTZyCk7aQjj30Pw==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Next release?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Mar 2004 08:33:03 -0000

Hi Mark,

I'm planning my first real IKVM release (to be included with the Mono
1.0 release) and I'd like to know when the next GNU Classpath release is
approximately due. Do you know have a date planned already?

Regards,
Jeroen



From MAILER-DAEMON Wed Mar 31 18:50:18 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B8pTO-00060l-Il
	for mharc-classpath@gnu.org; Wed, 31 Mar 2004 18:50:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B8pTL-0005yr-BI
	for classpath@gnu.org; Wed, 31 Mar 2004 18:50:15 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B8pSn-0005hT-4I
	for classpath@gnu.org; Wed, 31 Mar 2004 18:50:12 -0500
Received: from [207.174.178.92] (helo=email2.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B8pSm-0005g2-Cl
	for classpath@gnu.org; Wed, 31 Mar 2004 18:49:40 -0500
Received: (qmail 6944 invoked from network); 31 Mar 2004 23:50:57 -0000
Received: from tf0229.peakpeak.com (HELO fleche.redhat.com) ([204.144.239.229])
	(envelope-sender <tromey@redhat.com>)
	by email2.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <java-patches@gcc.gnu.org>; 31 Mar 2004 23:50:57 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id BF0254F82AF; Wed, 31 Mar 2004 16:36:26 -0700 (MST)
To: Mark Wielaard <mark@klomp.org>
References: <1080236148.18716.161.camel@elsschot.wildebeest.org>
	<87wu58qpmw.fsf@fleche.redhat.com>
	<1080295746.18716.463.camel@elsschot.wildebeest.org>
	<200403261128.55981.konqueror@gmx.de>
	<1080301292.18716.480.camel@elsschot.wildebeest.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: It's NO USE..  I've gone to ``CLUB MED''!!
Date: 31 Mar 2004 16:36:26 -0700
In-Reply-To: <1080301292.18716.480.camel@elsschot.wildebeest.org>
Message-ID: <871xn8h9mt.fsf@fleche.redhat.com>
Lines: 27
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, java-patches@gcc.gnu.org,
	Michael Koch <konqueror@gmx.de>
Subject: Re: gtk-peer compile fixes for gcc-2.95
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Mar 2004 23:50:16 -0000

Michael> CFLAGS=$CFLAGS -std=c89
Michael> AC_SUBST(CFLAGS)
Michael> This in configure.ac is another option.
Michael> The only problem I see is that we probably support non-gcc compilers 
Michael> that dont support this flag. What will they do when they see it ?

CFLAGS is a user variable, setting it in configure.ac is GNU-ically
incorrect.  It is better to set AM_CFLAGS instead.  You can set this
in configure.ac just fine.  There's also a standard trick for
handling gcc-specific options:

    AM_CFLAGS=
    if test "$GCC" = yes; then
      AM_CFLAGS='-std=c89 -Wfoo -Wbar'
    fi
    AC_SUBST(AM_CFLAGS)

We set CFLAGS to -g in a specific case, that is sort of different
since it claims to work around bugs in the infamous gcc "2.96".  I'd
prefer we avoid this in general.

Mark> But I had hoped Autoconf would make it easy to
Mark> specify the wanted C dialect.

As far as I know, there's no pre-made macro for this.

Tom



From MAILER-DAEMON Wed Mar 31 19:03:59 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1B8pgc-00079a-Ct
	for mharc-classpath@gnu.org; Wed, 31 Mar 2004 19:03:58 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1B8pdo-0004uE-4o
	for classpath@gnu.org; Wed, 31 Mar 2004 19:01:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1B8pZP-0000s1-Dw
	for classpath@gnu.org; Wed, 31 Mar 2004 18:57:04 -0500
Received: from [207.174.178.92] (helo=email2.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.30) id 1B8pZO-0000oo-7T
	for classpath@gnu.org; Wed, 31 Mar 2004 18:56:30 -0500
Received: (qmail 9638 invoked from network); 31 Mar 2004 23:57:47 -0000
Received: from tf0229.peakpeak.com (HELO fleche.redhat.com) ([204.144.239.229])
	(envelope-sender <tromey@redhat.com>)
	by email2.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 31 Mar 2004 23:57:47 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 272C04F82AF; Wed, 31 Mar 2004 16:43:17 -0700 (MST)
To: Mark Wielaard <mark@klomp.org>
References: <40631624.7060108@uqam.ca> <4064C33B.4080105@watson.ibm.com>
	<1080495151.17922.83.camel@elsschot.wildebeest.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Sorry, wrong ZIP CODE!!
Date: 31 Mar 2004 16:43:17 -0700
In-Reply-To: <1080495151.17922.83.camel@elsschot.wildebeest.org>
Message-ID: <87vfkkfuqy.fsf@fleche.redhat.com>
Lines: 17
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: Etienne Gagnon <gagnon.etienne_m@uqam.ca>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Classpath build process and VM-specific issues
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Apr 2004 00:03:50 -0000

>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> I admit not to have looked into or thought about java.lang.ref support
Mark> yet. How many VMs based on GNU Classpath properly implement those?

libgcj claims to :-).  We had to hack Reference.java a little.

   http://gcc.gnu.org/java/compare/java.lang.ref.Reference.diff

I don't remember the rationale for all the changes at this moment, but
I could dig them up if someone really needs to know.  Some of them
can't be understood without also looking at how we implement the
native parts of this code.

I wouldn't expect a VM to need any changes outside of Reference.

Tom



