From robilad@yahoo.com Tue Oct 01 13:44:15 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17wR4B-0001W7-00
	for classpath@gnu.org; Tue, 01 Oct 2002 13:44:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17wR49-0001U7-00
	for classpath@gnu.org; Tue, 01 Oct 2002 13:44:14 -0400
Received: from web10003.mail.yahoo.com ([216.136.130.39])
	by monty-python.gnu.org with smtp (Exim 4.10)
	id 17wR48-0001Tq-00
	for classpath@gnu.org; Tue, 01 Oct 2002 13:44:13 -0400
Message-ID: <20021001174412.62688.qmail@web10003.mail.yahoo.com>
Received: from [212.217.9.178] by web10003.mail.yahoo.com via HTTP; Tue, 01 Oct 2002 10:44:12 PDT
Date: Tue, 1 Oct 2002 10:44:12 -0700 (PDT)
From: Dalibor Topic <robilad@yahoo.com>
Subject: Re: japize
To: Brian Jones <cbj@gnu.org>, Stuart Ballard <sballard@netreach.com>
Cc: GNU Classpath <classpath@gnu.org>
In-Reply-To: <m365wnyosa.fsf@lyta.haphazard.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi Brian,
--- Brian Jones <cbj@gnu.org> wrote:
> This means it's useless or impossible to compare
> against 1.1, unless
> someone else finds a way to do this.  Java 2
> comparisons being more
> meaningful anyway I'll probably stick to this.  Does
> anyone have an
> appropriate japize line for Java 2 (1.2, 1.3, 1.4)?

I have not played around with the latest version of
japitools, but in earlier versions it was quite
possible to run on one JDK version and analyse class
files from another. You could try running it on JDK
1.2 and passing it the path to classes.zip from JDK
1.1 in the appropriate place. Tha

best regards,

dalibor topic

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com



From robilad@yahoo.com Tue Oct 01 13:44:30 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17wR4P-0001d0-00
	for classpath@gnu.org; Tue, 01 Oct 2002 13:44:29 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17wR4N-0001ak-00
	for classpath@gnu.org; Tue, 01 Oct 2002 13:44:29 -0400
Received: from web10001.mail.yahoo.com ([216.136.130.37])
	by monty-python.gnu.org with smtp (Exim 4.10)
	id 17wR4N-0001ae-00
	for classpath@gnu.org; Tue, 01 Oct 2002 13:44:27 -0400
Message-ID: <20021001174426.64460.qmail@web10001.mail.yahoo.com>
Received: from [212.217.9.178] by web10001.mail.yahoo.com via HTTP; Tue, 01 Oct 2002 10:44:26 PDT
Date: Tue, 1 Oct 2002 10:44:26 -0700 (PDT)
From: Dalibor Topic <robilad@yahoo.com>
Subject: Re: japize
To: Brian Jones <cbj@gnu.org>, Stuart Ballard <sballard@netreach.com>
Cc: GNU Classpath <classpath@gnu.org>
In-Reply-To: <m365wnyosa.fsf@lyta.haphazard.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi Brian,
--- Brian Jones <cbj@gnu.org> wrote:
> This means it's useless or impossible to compare
> against 1.1, unless
> someone else finds a way to do this.  Java 2
> comparisons being more
> meaningful anyway I'll probably stick to this.  Does
> anyone have an
> appropriate japize line for Java 2 (1.2, 1.3, 1.4)?

I have not played around with the latest version of
japitools, but in earlier versions it was quite
possible to run on one JDK version and analyse class
files from another. You could try running it on JDK
1.2 and passing it the path to classes.zip from JDK
1.1 in the appropriate place.

best regards,

dalibor topic

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com



From cbj@gnu.org Tue Oct 01 16:24:15 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17wTZ1-0002Zb-00
	for classpath@gnu.org; Tue, 01 Oct 2002 16:24:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17wTYz-0002Xi-00
	for classpath@gnu.org; Tue, 01 Oct 2002 16:24:14 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17wTYy-0002Xc-00
	for classpath@gnu.org; Tue, 01 Oct 2002 16:24:13 -0400
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g91KORut027072;
	Tue, 1 Oct 2002 16:24:29 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Tue, 1 Oct 2002 16:24:10 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.6) id g91KOoN04512;
	Tue, 1 Oct 2002 16:24:50 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Stuart Ballard <sballard@netreach.com>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>
	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org>
	<m365wnyosa.fsf@lyta.haphazard.org> <3D999EF5.6020704@netreach.com>
From: Brian Jones <cbj@gnu.org>
Date: 01 Oct 2002 16:24:50 -0400
In-Reply-To: <3D999EF5.6020704@netreach.com>
Message-ID: <m3smzp7vql.fsf@lyta.haphazard.org>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Stuart Ballard <sballard@netreach.com> writes:

> Try something like this, with "java" in your path equating to jdk1.2
> or above...
> 
> japize as jdk11 packages /usr/lib/jdk1.1/lib/classes.zip +java
> -java.awt.peer -java.text.resources
> 
> (that's all one line of course).

I feel really dumb for thinking I had to use the 1.1 JVM to get this.  

Btw, there are entirely too many bytecode libraries out there... Jode,
gnu.bytecode, Apache's version of the same, and on and on... anyone
know what the best GPL and BSD compatible ones are?

Brian
-- 
Brian Jones <cbj@gnu.org>



From sballard@netreach.com Tue Oct 01 09:11:29 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17wMoC-0000Qt-00
	for classpath@gnu.org; Tue, 01 Oct 2002 09:11:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17wMo8-0000Pb-00
	for classpath@gnu.org; Tue, 01 Oct 2002 09:11:27 -0400
Received: from crete.netreach.net ([207.29.195.239])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17wMo7-0000Ot-00; Tue, 01 Oct 2002 09:11:23 -0400
Received: from netreach.com (sballard@[209.152.221.64]) by crete.netreach.net (n1/$Revision: 1.13 $) with ESMTP id JAA15291; Tue, 1 Oct 2002 09:11:24 -0400 (EDT)
Message-ID: <3D999EF5.6020704@netreach.com>
Date: Tue, 01 Oct 2002 09:11:17 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
CC: GNU Classpath <classpath@gnu.org>
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org> <m365wnyosa.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones wrote:
> Brian Jones <cbj@gnu.org> writes:
> 
> 
>>Hmm, what did you compile with?  Looks like japi classes rely upon
>>Collections support.  :)

Sorry for the delay in response to this. I was trying to figure out 
whether I knew of any reason you could be getting "class not found" on 
Japize itself... surely the classnotfound error should refer to a 
missing collections class, not japize?

Did you establish that this was due to the missing collections classes, 
or is that issue still open?

> So basically I can't figure out any way to run japize with JDK 1.1 and
> any form of the Collections classes, I think mostly because Comparable
> didn't exist at that time, like in String, and TreeMap breaks, at
> least in Classpath.

Yes, it does rely on Collections, including TreeSet (which I believe 
depends on TreeMap behind the scenes). You could probably use it with 
JDK1.1 and one of the collections addons if you changed all the import 
statements for java.util.* and recompiled (and also used the jode 
jarball that's designed for 1.1) but I haven't tested this. This is 
unfortunate but there were aspects of the algorithm that really relied 
on collections' behavior, and recoding without the use of TreeSet.subSet 
would at least double the size of a subroutine or two...

> This means it's useless or impossible to compare against 1.1, unless
> someone else finds a way to do this. 

On the other hand, this part isn't true. Japize uses the Jode libraries 
to load classes from any zipfile you specify, so it's entirely possible 
(and expected) to use JDK1.{2,3,4} to run Japize itself, but point it at 
the JDK1.1 classes.zip.

The same thing is presumably necessary to get a classpath japi, if 
classpath's TreeMap doesn't work.

Try something like this, with "java" in your path equating to jdk1.2 or 
above...

japize as jdk11 packages /usr/lib/jdk1.1/lib/classes.zip +java 
-java.awt.peer -java.text.resources

(that's all one line of course).

> Java 2 comparisons being more
> meaningful anyway I'll probably stick to this.  Does anyone have an
> appropriate japize line for Java 2 (1.2, 1.3, 1.4)?

I haven't tried (my computer would give up the ghost at the mere 
thought) but here's how I'd go about figuring one out:

japize as jdk13 packages /usr/lib/j2sdk1.3/jre/lib/rt.jar +java +javax +org
japipkgs jdk13.japi.gz | less

Then compare the list of packages to the list in Sun's API documentation 
(http://java.sun.com/j2se/1.3/docs/api/overview-summary.html) and add 
-pkgname entries for each of the things that shouldn't be there.

If you do produce 1.2, 1.3 or 1.4 japi files, please send them to me or 
post them somewhere, because it would be really useful for my testing (I 
believe my computer can handle japicompat on large files, just not 
japize itself). Likewise if you produce a classpath.japi.gz...

Btw, it's enlightening to look at the results of japicompat between 
successive jdk versions. Sun themselves did an awful lot of 
binary-compatibility-breakage between releases...

Stuart.

-- 
Stuart Ballard, Programmer
NetReach - Internet Solutions
(215) 283-2300, ext. 126
http://www.netreach.com/




From sballard@netreach.com Tue Oct 01 16:37:19 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17wTle-0002Su-00
	for classpath@gnu.org; Tue, 01 Oct 2002 16:37:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17wTla-0002Rz-00
	for classpath@gnu.org; Tue, 01 Oct 2002 16:37:18 -0400
Received: from crete.netreach.net ([207.29.195.239])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17wTla-0002QS-00; Tue, 01 Oct 2002 16:37:14 -0400
Received: from netreach.com (sballard@[209.152.221.64]) by crete.netreach.net (n1/$Revision: 1.13 $) with ESMTP id QAA21410; Tue, 1 Oct 2002 16:37:18 -0400 (EDT)
Message-ID: <3D9A0777.6060500@netreach.com>
Date: Tue, 01 Oct 2002 16:37:11 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
CC: GNU Classpath <classpath@gnu.org>
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org>	<m365wnyosa.fsf@lyta.haphazard.org> <3D999EF5.6020704@netreach.com> <m3smzp7vql.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones wrote:
> 
> I feel really dumb for thinking I had to use the 1.1 JVM to get this.  

With very old versions of japize, you did: it used to use reflection. I 
only just removed that option entirely, although it's been "deprecated" 
for ages... it gave unreliable output because reflection can't tell you 
whether a field is a compiletime constant, even if it's static and 
final. It also had a nasty habit of starting up AWT toolkit threads, 
which meant that you needed a System.exit() at the end, and using tons 
of memory because classes loaded by the system classloader are never gc'd.

> Btw, there are entirely too many bytecode libraries out there... Jode,
> gnu.bytecode, Apache's version of the same, and on and on... anyone
> know what the best GPL and BSD compatible ones are?

At the time of writing japize initially (summer of 2000) I evaluated 
gnu.bytecode as well as Jode (I'm not even sure whether Apache's version 
existed at the time) and found that Jode had an API that was better 
suited to what I needed. That doesn't mean it's better, of course, but 
what I needed was something closely analagous to Reflection so that I 
could work with the APIs easily without needing to know details about 
the classfile format or the bodies of methods. At the time, Jode seemed 
to provide that better than gnu.bytecode.

Things may have changed since, or my analysis may have been mistaken, 
but I just thought I'd throw in my 2c...

Stuart.


-- 
Stuart Ballard, Programmer
NetReach - Internet Solutions
(215) 283-2300, ext. 126
http://www.netreach.com/




From nferrier@tapsellferrier.co.uk Tue Oct 01 17:22:08 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17wUT1-0000dA-00
	for classpath@gnu.org; Tue, 01 Oct 2002 17:22:07 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17wUSy-0000bs-00
	for classpath@gnu.org; Tue, 01 Oct 2002 17:22:05 -0400
Received: from host217-34-135-17.in-addr.btopenworld.com ([217.34.135.17] helo=tf1.tapsellferrier.co.uk)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17wUSx-0000ac-00; Tue, 01 Oct 2002 17:22:03 -0400
Received: from host217-34-135-21.in-addr.btopenworld.com ([217.34.135.21] helo=pooh-sticks-bridge.tapsellferrier.co.uk)
	by tf1.tapsellferrier.co.uk with esmtp (Exim 3.35 #1 (Debian))
	id 17wUkS-0007TH-00; Tue, 01 Oct 2002 22:40:08 +0100
To: Stuart Ballard <sballard@netreach.com>
Cc: Brian Jones <cbj@gnu.org>,  GNU Classpath <classpath@gnu.org>
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>
	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org>
	<m365wnyosa.fsf@lyta.haphazard.org> <3D999EF5.6020704@netreach.com>
	<m3smzp7vql.fsf@lyta.haphazard.org> <3D9A0777.6060500@netreach.com>
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: 01 Oct 2002 22:40:00 +0100
In-Reply-To: <3D9A0777.6060500@netreach.com>
Message-ID: <87ofad7s9b.fsf@pooh-sticks-bridge.tapsellferrier.co.uk>
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Stuart Ballard <sballard@netreach.com> writes:

> Brian Jones wrote: 
> >  
> > I feel really dumb for thinking I had to use the 1.1 JVM to get this.   
>  
> With very old versions of japize, you did: it used to use reflection. I  
> only just removed that option entirely, although it's been "deprecated"  
> for ages... it gave unreliable output because reflection can't tell you  
> whether a field is a compiletime constant, even if it's static and  
> final. It also had a nasty habit of starting up AWT toolkit threads,  
> which meant that you needed a System.exit() at the end, and using tons  
> of memory because classes loaded by the system classloader are never gc'd. 
>  
> > Btw, there are entirely too many bytecode libraries out there... Jode, 
> > gnu.bytecode, Apache's version of the same, and on and on... anyone 
> > know what the best GPL and BSD compatible ones are? 

I'm surprised you ask the question Brian. We should use
gnu.bytecode. It's GPLed and it's very good at what it does.


Nic




From cbj@gnu.org Tue Oct 01 17:33:11 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17wUdj-0001u5-00
	for classpath@gnu.org; Tue, 01 Oct 2002 17:33:11 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17wUdi-0001tt-00
	for classpath@gnu.org; Tue, 01 Oct 2002 17:33:11 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17wUdh-0001tn-00
	for classpath@gnu.org; Tue, 01 Oct 2002 17:33:09 -0400
Received: from mail6.nc.rr.com (fe6 [24.93.67.53])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g91LX0ib012727;
	Tue, 1 Oct 2002 17:33:00 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail6.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Tue, 1 Oct 2002 17:33:07 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.6) id g91LXkj04698;
	Tue, 1 Oct 2002 17:33:46 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Cc: Stuart Ballard <sballard@netreach.com>, GNU Classpath <classpath@gnu.org>
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>
	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org>
	<m365wnyosa.fsf@lyta.haphazard.org> <3D999EF5.6020704@netreach.com>
	<m3smzp7vql.fsf@lyta.haphazard.org> <3D9A0777.6060500@netreach.com>
	<87ofad7s9b.fsf@pooh-sticks-bridge.tapsellferrier.co.uk>
From: Brian Jones <cbj@gnu.org>
Date: 01 Oct 2002 17:33:46 -0400
In-Reply-To: <87ofad7s9b.fsf@pooh-sticks-bridge.tapsellferrier.co.uk>
Message-ID: <m3zntxyhc5.fsf@lyta.haphazard.org>
Lines: 29
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Nic Ferrier <nferrier@tapsellferrier.co.uk> writes:

> Stuart Ballard <sballard@netreach.com> writes:
> 
> > Brian Jones wrote: 
> > >  
> > > I feel really dumb for thinking I had to use the 1.1 JVM to get this.   
> >  
> > With very old versions of japize, you did: it used to use reflection. I  
> > only just removed that option entirely, although it's been "deprecated"  
> > for ages... it gave unreliable output because reflection can't tell you  
> > whether a field is a compiletime constant, even if it's static and  
> > final. It also had a nasty habit of starting up AWT toolkit threads,  
> > which meant that you needed a System.exit() at the end, and using tons  
> > of memory because classes loaded by the system classloader are never gc'd. 
> >  
> > > Btw, there are entirely too many bytecode libraries out there... Jode, 
> > > gnu.bytecode, Apache's version of the same, and on and on... anyone 
> > > know what the best GPL and BSD compatible ones are? 
> 
> I'm surprised you ask the question Brian. We should use
> gnu.bytecode. It's GPLed and it's very good at what it does.

I didn't like the API of gnu.bytecode when I wrote the javap dup.
Just wondering about others experiences.  Jode is also GPL.

Brian
-- 
Brian Jones <cbj@gnu.org>



From per@bothner.com Tue Oct 01 17:43:01 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17wUnE-0003cV-00
	for classpath@gnu.org; Tue, 01 Oct 2002 17:43:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17wUnD-0003c6-00
	for classpath@gnu.org; Tue, 01 Oct 2002 17:43:00 -0400
Received: from mail-out2.apple.com ([17.254.0.51])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17wUnC-0003bH-00; Tue, 01 Oct 2002 17:42:58 -0400
Received: from mailgate2.apple.com (A17-129-100-225.apple.com [17.129.100.225])
	by mail-out2.apple.com (8.11.3/8.11.3) with ESMTP id g91Lgus03167;
	Tue, 1 Oct 2002 14:42:56 -0700 (PDT)
Received: from scv3.apple.com (scv3.apple.com) by mailgate2.apple.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T5dacd199e9118164e13cc@mailgate2.apple.com>;
 Tue, 1 Oct 2002 14:42:56 -0700
Received: from bothner.com (il0102b-dhcp197.apple.com [17.201.26.247])
	by scv3.apple.com (8.11.3/8.11.3) with ESMTP id g91Lgt316707;
	Tue, 1 Oct 2002 14:42:55 -0700 (PDT)
Message-ID: <3D9A1785.6010508@bothner.com>
Date: Tue, 01 Oct 2002 14:45:41 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020814
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
CC: GNU Classpath <classpath@gnu.org>
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org>	<m365wnyosa.fsf@lyta.haphazard.org> <3D999EF5.6020704@netreach.com> <m3smzp7vql.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones wrote:
> Btw, there are entirely too many bytecode libraries out there... Jode,
> gnu.bytecode, Apache's version of the same, and on and on... anyone
> know what the best GPL and BSD compatible ones are?

It depends what you're trying to do.  gnu.bytecode is optimized for
low-overhead code generation, plus basic slurping of the contents of
.class files, and it is less suited (at least in its
current incarnation) for heavy-duty instruction analysis,
peephole optimization, etc.  Most similar libraries seem to use one
object for each instruction, which is flexible, but expensive.
gnu.bytecode just appends instructions into a byte array, using
a large set of convenience methods that pick the correct instructions.
(Simplified of course.  For example, you can reference undefined
"labels", so you have to be able to back-patch the array.  And
there is limited support for re-ordering code.)  (I would like
change it to use "basic blocks" as the fundamental unit,  using the 
algorithms I wrote for gcc/java/jcf-write.c, but I haven't had time.)

gnu.bytecode is compatible with the GPL.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/




From cbj@gnu.org Tue Oct 01 17:49:36 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17wUtc-0004YL-00
	for classpath@gnu.org; Tue, 01 Oct 2002 17:49:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17wUta-0004Y9-00
	for classpath@gnu.org; Tue, 01 Oct 2002 17:49:36 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17wUta-0004Y3-00
	for classpath@gnu.org; Tue, 01 Oct 2002 17:49:34 -0400
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g91LnMin002236;
	Tue, 1 Oct 2002 17:49:25 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Tue, 1 Oct 2002 17:49:28 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.6) id g91Lo7S04875;
	Tue, 1 Oct 2002 17:50:07 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Stuart Ballard <sballard@netreach.com>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>
	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org>
	<m365wnyosa.fsf@lyta.haphazard.org> <3D999EF5.6020704@netreach.com>
From: Brian Jones <cbj@gnu.org>
Date: 01 Oct 2002 17:50:07 -0400
In-Reply-To: <3D999EF5.6020704@netreach.com>
Message-ID: <m3lm5h7rsg.fsf@lyta.haphazard.org>
Lines: 47
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Stuart Ballard <sballard@netreach.com> writes:

> japize as jdk13 packages /usr/lib/j2sdk1.3/jre/lib/rt.jar +java +javax +org
> japipkgs jdk13.japi.gz | less
> 
> Then compare the list of packages to the list in Sun's API
> documentation
> (http://java.sun.com/j2se/1.3/docs/api/overview-summary.html) and add
> -pkgname entries for each of the things that shouldn't be there.
> 

Got this error...

[cbj@lyta bin]$ ./japize as jdk14 packages /usr/java/j2sdk1.4.1/jre/lib/rt.jar +java +javax +org japipkgs jdk14.japi.gz       
CLASSPATH=./../share/java/japitools.jar:./../share/java/jode-1.1.1.jar:
...

Processing class java.lang,Object:+
Processing package java.lang,:=Exception in thread "main" java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:112)
	at java.util.zip.ZipFile.<init>(ZipFile.java:72)
	at net.wuffies.japi.Japize.scanZipForPackage(Japize.java:512)
	at net.wuffies.japi.Japize.scanForPackage(Japize.java:449)
	at net.wuffies.japi.Japize.processPackage(Japize.java:419)
	at net.wuffies.japi.Japize.doJapize(Japize.java:329)
	at net.wuffies.japi.Japize.main(Japize.java:282)

Also decided to try just this...

[cbj@lyta bin]$ ./japize as jdk14 packages /usr/java/j2sdk1.4.1/jre/lib/rt.jar +java +javax +org                       
...

Processing class java.lang,Object:+
Processing package java.lang,:=Exception in thread "main" java.lang.NoClassDefFoundError: java.lang.AbstractMethodError
	at jode.bytecode.ClassInfo.loadInfo(ClassInfo.java:620)
	at net.wuffies.japi.JodeClass.getSerialVersionUID(JodeClass.java:115)
	at net.wuffies.japi.Japize.japizeClass(Japize.java:624)
	at net.wuffies.japi.Japize.processPackage(Japize.java:426)
	at net.wuffies.japi.Japize.doJapize(Japize.java:329)
	at net.wuffies.japi.Japize.main(Japize.java:282)

Gotta go for now, can try debugging more later.

Brian
-- 
Brian Jones <cbj@gnu.org>



From mark@wildebeest.org Thu Oct 03 12:48:53 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17x99h-0006RG-00
	for classpath@gnu.org; Thu, 03 Oct 2002 12:48:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17x99U-0006NM-00
	for classpath@gnu.org; Thu, 03 Oct 2002 12:48:51 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17x99T-0006Mz-00
	for classpath@gnu.org; Thu, 03 Oct 2002 12:48:39 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17x98s-0007Ij-00; Thu, 03 Oct 2002 18:48:02 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17x998-0005oC-00; Thu, 03 Oct 2002 18:48:18 +0200
Subject: Re: Request for change to vm/reference/java/lang/Thread.java
From: Mark Wielaard <mark@klomp.org>
To: Stephen Crawley <crawley@dstc.edu.au>
Cc: classpath@gnu.org, kissme-general@lists.sourceforge.net
In-Reply-To: <200209111316.g8BDGQMB009055@piglet.dstc.edu.au>
References: <200209111316.g8BDGQMB009055@piglet.dstc.edu.au>
Content-Type: multipart/mixed; boundary="=-VlxnJBJcM7z4tTQRWVA9"
X-Mailer: Ximian Evolution 1.0.8 
Date: 03 Oct 2002 18:48:18 +0200
Message-Id: <1033663698.15814.315.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

--=-VlxnJBJcM7z4tTQRWVA9
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

On Wed, 2002-09-11 at 15:16, Stephen Crawley wrote:
> 
> To get this to work in Kissme, I made some changes to the constructor
> that explicitly deal with the case where currentThread returns null,
> and sets the priority, thread group and daemon flag appropriately.
> 
> The changes are below.  Could they be back-fitted to the Classpath
> reference implementation of Thread.java please?

I agree that these changes make the constructor more robust and have
checked them in.

I have been thinking about splitting out the VM dependent parts of
Thread from the general parts and have come up with the attached
VMThread interface.

I have not yet completely finished rewriting Thread based on this VM
interface but I think I got the design correct. Thread will get the
following 'callbacks' that can be used by the VM from the native
VMThread.start() method and/or the JNI invocation methods:

/**
 * Should be called from the VMThread.start() implementation.
 * Automatically handles all Thread state transitions, running the
 * correct Runnable and shutting down the VM after the last user Thread
 * stops.
 */
private static void startRun(Thread t)

/**
 * Sets the state of the Thread. Can be CREATED, RUNNING, SUSPENDED
 * or FINISHED. Throws an IllegalStateException when an illegal state
 * transition is made.
 * <p>
 * The VM should only call this just after creating the Thread on a
 * JNI_CreateVM() or AttachCurrentThread[AsDeamon]() with state RUNNING.
 * And on a JNI_DetachCurrentThread() or JNI_DestroyVM() it should call
 * the method with state FINISHED. JNI_DestroyVM has to call the
 * callback waitForShutDown() after that to wait for all other user
 * Threads to stop.
 * <p>
 * The implementation of VMThread.start() should call the method
 * startRun() that will automatically handle all state transitions.
 */
private void setState(int state) throws IllegalStateException

/**
 * Handles an uncaught exception that terminates a Thread.
 * Automatically called from startRun(). Should be called by the VM
 * when a Thread that was not started through startRun() doesn't handle
 * a thrown exception. After calling this method the Thread should stop
 * executing after a last call to setState(FINISHED).
 */
private void uncaughtException(Throwable t)

/**
 * Should be called by the VM after a JNI_DestroyVM() to make sure all
 * user Threads have been stopped.
 */
private static void waitForShutdown()

I will try to make this work with one of the VMs based on Classpath and
maybe gcj to see if the design makes sense and if I made some bad
assumptions. But if someone has comments, questions or suggestions now
please let me know.

Cheers,

Mark

-- 
No.
> Should I include quotations after my reply?

--=-VlxnJBJcM7z4tTQRWVA9
Content-Disposition: inline; filename=VMThread.java
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-java; name=VMThread.java; charset=ISO-8859-15

/* VMThread -- VM interface for Thread of executable code
   Copyright (C) 2002 Free Software Foundation

This file is part of GNU Classpath.

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

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

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

Linking this library statically or dynamically with other modules is
making a combined work based on this library.  Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.

As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module.  An independent module is a module which is not derived from
or based on this library.  If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so.  If you do not wish to do so, delete this
exception statement from your version. */

package java.lang;

/**
 * VM interface for Thread of executable code. Holds VM dependant state.
 * It is deliberately package local and final and should only be accessed
 * by the Thread class.
 * <p>
 * This is the GNU Classpath reference implementation, it should be adapted
 * for a specific VM.
 * <p>
 * The following methods must be implemented:
 * <ul>
 * <li>native void start();
 * <li>native boolean interrupt();
 * <li>native static VMThread current();
 * </ul>
 * All other methods may be implemented to make Thread handling more effici=
ent
 * or to implement some optional (and sometimes deprecated) behaviour. Defa=
ult
 * implementations are provided but it is highly recommended to optimize th=
em
 * for a specific VM.
 *=20
 * @author Mark Wielaard (mark@klomp.org)
 */
final class VMThread
{
  /**
   * The Thread object that this VM state belongs to.
   * Used in currentThread() and start().
   */
  private final Thread thread;

  /**
   * Private constructor, create VMThreads with the static create method.
   *
   * @param thread The Thread object that was just created.
   */
  private VMThread(Thread thread)
  {
    this.thread =3D thread;
  }

  /**
   * Creates a native Thread. This is called from the contructor of Thread.
   * The Thread is not yet started.
   *
   * @param thread The newly created Thread object
   * @param stack Indicates the requested stacksize. Normally zero, non-zer=
o
   * values indicate requested stack size in bytes but it is up to the
   * specific VM implementation to interpret them and may be ignored.
   */
  static VMThread create(Thread thread, int stack)
  {
    // ignore stack size.
    return new VMThread(thread);
  }

  /**
   * Disposes of the native Thread state. This is called when the Thread is
   * going in the FINISHED state or when it is garbage collected.
   * It will be called only once after which all references to this object
   * will be disposed.
   * <p>
   * Note that it will normally be called from the currently executing Thre=
ad
   * as one of the last instructions before the it actually ends. The Threa=
d
   * object may still be around for some time but none of the methods of
   * this VMThread object will be called after this.
   */
  void dispose() { }

  /**
   * Actually starts running the new thread.
   * Should start executing the thread by calling <code>Thread.startRun()</=
code>
   * with as argument the associated Thread object of this VMThread.
   * The <code>startRun()</code> method makes sure the Thread state is hand=
led
   * correctly, runs the correct <code>run()</code> method and handles all
   * uncaught exceptions.
   */
  native void start();

  /**
   * Interrupt this Thread.
   * Will always be called from another execution Thread.
   * If the thread is blocked in a Object.wait() call then the Thread shoul=
d
   * be waken up, by a <code>InterruptedException</code> and this method
   * should return true. Otherwise this method can just return false.
   *
   * XXX - Not yet decided how to handle I/O interruption. Will probably
   * be handled by the GNU Classpath Thread.interrupt() method and the nati=
ve
   * i/o library.
   */
  native boolean interrupt();

  /**
   * Get the currently executing Thread.
   * May return null during bootstrapping only when the first Thread object=
 is
   * created.
   */
  static Thread currentThread()
  {
    VMThread current =3D current();
    return current !=3D null ? current.thread : null;
  }

  /**
   * Returns the VMThread object associated with the current executing Thre=
ad.
   * May return null, but this should only happen during bootstrapping.
   */
  static native VMThread current();

  /**
   * Sets the priority of the Thread.
   * The given priority will be between 1 (low) and 10 (high) inclusive and
   * will normally be 5. It is up to the VM implementation to interpret wha=
t
   * this means for the actual Thread scheduling. It might be ignored.
   * May be called before or after the Thread is acutally started.
   */
  void setPriority(int priority) { }

  /**
   * Request to give some other executing threads some extra time.
   * Might give some extra time to some other executing threads before
   * returning from this method to the currently executing thread.
   */
  static void yield() { }

  /**
   * Checks whether the current thread holds the monitor on a given object.
   * Returns true if the current thread is currently synchronized on obj,
   * otherwise false. Will never be called with a null obj.
   */
  static boolean holdsLock(Object obj)
  {
    // Just try to wait on the object for a very short time which can only
    // be done if we actually have the object monitor lock.
    // Can be implemented more safely and efficiently by a native VM method=
.
    try
      {
	obj.wait(0,1);
	return true;
      }
    catch (IllegalMonitorStateException imse)
      {
	return false;
      }
    catch (InterruptedException ie)
      {
	// Oops, better make sure the Thread is interrupted again since
	// the wait() has cleared the interrupt flag.
	currentThread().interrupt();
	return true;
      }
  }

  // DEPRECATED METHODS

  /**
   * Cause the Thread to stop abnormally by throwing the specified exceptio=
n.
   *
   * @param t the non-null Throwable to throw, normally a ThreadDeath
   * @deprecated unsafe operation
   */
  void stop(Throwable throwable) { }

  /**
   * Suspend the Thread till resume is called.
   * Returns true if the VM actually suspended the Thread.
   * It is not recommended that VMs actually support this method since it
   * is unsafe when the Thread still holds locks while suspended.
   *
   * @deprecated unsafe operation
   */
  boolean suspend()
  {
    return false;
  }

  /**
   * Resume this Thread.
   * Will only be called if a previous call to suspend() returned true.
   *
   * @deprecated unsafe operation
   */
  void resume() { }

  /**
   * Returns the number of stack frames in this Thread.
   * Will only be called when when a previous call to suspend() returned tr=
ue.
   *
   * @deprecated unsafe operation
   */
  public int countStackFrames()
  {
    return 0;
  }

}

--=-VlxnJBJcM7z4tTQRWVA9--



From mark@wildebeest.org Thu Oct 03 13:30:44 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17x9oB-0008A3-00
	for classpath@gnu.org; Thu, 03 Oct 2002 13:30:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17x9o4-000885-00
	for classpath@gnu.org; Thu, 03 Oct 2002 13:30:40 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17x9o3-00087e-00
	for classpath@gnu.org; Thu, 03 Oct 2002 13:30:35 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17x9ni-0007Ob-00; Thu, 03 Oct 2002 19:30:14 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17x9nx-0007gt-00; Thu, 03 Oct 2002 19:30:29 +0200
Subject: Re: Initialization and ProtectionDomain/String
From: Mark Wielaard <mark@klomp.org>
To: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>
Cc: classpath@gnu.org
In-Reply-To: <Pine.GSO.4.10.10209241151030.11414-100000@catfish.lcs.mit.edu>
References: <Pine.GSO.4.10.10209241151030.11414-100000@catfish.lcs.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 03 Oct 2002 19:30:29 +0200
Message-Id: <1033666229.15814.320.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Tue, 2002-09-24 at 18:00, C. Scott Ananian wrote:
> The recent change to java.lang.String (aug 13, v1.50) add a call to
> Character.zeroBasedStringValue() which (inadvertently?) makes
> java.lang.Character part of the "CORE CLASS" initializers (because String
> is a core class, and the static initializer of String invokes a method in
> Character, causing the initialization of Character).  Character should
> be either marked as a CORE CLASS or the shared method should be moved
> to java.lang.String.

Thanks for catching that. I had tested it with Kissme that didn't seem
to have a problem with the initializer order. But I have committed your
patch since it makes the implementation behave as documented in
Runtime.java.

Thanks,

Mark
-- 
No.
> Should I include quotations after my reply?



From sballard@netreach.com Wed Oct 02 10:15:43 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17wkHv-0008Ep-00
	for classpath@gnu.org; Wed, 02 Oct 2002 10:15:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17wkHs-0008ET-00
	for classpath@gnu.org; Wed, 02 Oct 2002 10:15:42 -0400
Received: from rawaki.netreach.net ([207.29.195.114])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17wkHp-0008AX-00; Wed, 02 Oct 2002 10:15:37 -0400
Received: from netreach.com (sballard@[209.152.221.64]) by rawaki.netreach.net (n1/$Revision: 1.13 $) with ESMTP id KAA12868; Wed, 2 Oct 2002 10:16:05 -0400 (EDT)
Message-ID: <3D9AFF85.5000007@netreach.com>
Date: Wed, 02 Oct 2002 10:15:33 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1
MIME-Version: 1.0
To: classpath@gnu.org
CC: Brian Jones <cbj@gnu.org>
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org>	<m365wnyosa.fsf@lyta.haphazard.org> <3D999EF5.6020704@netreach.com> <m3lm5h7rsg.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

[oops, previous mail was sent to Brian only...]

Brian Jones wrote:
 >
 > Got this error...
 >
 > [cbj@lyta bin]$ ./japize as jdk14 packages 
/usr/java/j2sdk1.4.1/jre/lib/rt.jar +java +javax +org japipkgs 
jdk14.japi.gz

Oops, should have put in some "$"s so that it was clear that "japipkgs
jdk14.japi.gz" was a separate command to be run after the first one.
That's probably the cause of this error:

 > Processing package java.lang,:=Exception in thread "main" 
java.util.zip.ZipException: error in opening zip file

(It probably tried to open "japipkgs" or "jdk14.japi.gz" as a zip/jar file)


 > Also decided to try just this...
 >
 > [cbj@lyta bin]$ ./japize as jdk14 packages 
/usr/java/j2sdk1.4.1/jre/lib/rt.jar +java +javax +org
 > ...
 >
 > Processing class java.lang,Object:+
 > Processing package java.lang,:=Exception in thread "main" 
java.lang.NoClassDefFoundError: java.lang.AbstractMethodError
 > 	at jode.bytecode.ClassInfo.loadInfo(ClassInfo.java:620)

This one I'm not sure about, although it's suspicious that it's inside
Jode itself. Perhaps Jode isn't compatible with the changes in the
classfile format introduced with 1.4 (asserts, etc), since the latest
stable release of Jode is older than 1.4 is. That's just speculation,
though.

Let me know if you find out anything. Perhaps we should try contacting
the Jode author...

Stuart.

-- 
Stuart Ballard, Programmer
NetReach - Internet Solutions
(215) 283-2300, ext. 126
http://www.netreach.com/







From brawer@acm.org Thu Oct 03 09:38:50 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17x6Bl-000199-00
	for classpath@gnu.org; Thu, 03 Oct 2002 09:38:49 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17x6Bi-00017U-00
	for classpath@gnu.org; Thu, 03 Oct 2002 09:38:48 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17x6Bh-00016K-00
	for classpath@gnu.org; Thu, 03 Oct 2002 09:38:45 -0400
Received: from [192.168.1.33] (196.196.dyn-adsl.customer.ch.easynet.net [217.8.196.196])
	by smtp1.mail.ch.easynet.net (Postfix) with ESMTP
	id 98EBB4A2D4; Thu,  3 Oct 2002 15:38:42 +0200 (CEST)
From: Sascha Brawer <brawer@acm.org>
To: Michael Koch <konqueror@gmx.de>
Cc: GNU Classpath <classpath@gnu.org>
Subject: java.awt.dnd.*
Date: Thu, 3 Oct 2002 15:38:42 +0200
Message-Id: <20021003133842.20758@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
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi Michael,

in the ChangeLog entry of 2002-10-02, you mention source files in java/
awt/dnd.

Could it be that you forgot to "cvs add" them to the repository? Or am I
the only one who cannot get java/awt/dnd?

Best regards,

-- Sascha
   brawer at acm.org





From konqueror@gmx.de Thu Oct 03 10:00:36 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17x6Wq-0003kd-00
	for classpath@gnu.org; Thu, 03 Oct 2002 10:00:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17x6Wm-0003jm-00
	for classpath@gnu.org; Thu, 03 Oct 2002 10:00:34 -0400
Received: from mail0.ewetel.de ([212.6.122.12])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17x6Wl-0003jL-00
	for classpath@gnu.org; Thu, 03 Oct 2002 10:00:31 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-64-111.ewetel.net [80.228.64.111])
	by mail0.ewetel.de (8.12.1/8.12.1) with ESMTP id g93E0Oxg012310;
	Thu, 3 Oct 2002 16:00:25 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.100])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 17x6We-0005sg-00; Thu, 03 Oct 2002 16:00:24 +0200
From: Michael Koch <konqueror@gmx.de>
To: Sascha Brawer <brawer@acm.org>
Subject: Re: java.awt.dnd.*
Date: Thu, 3 Oct 2002 16:05:23 +0200
User-Agent: KMail/1.4.7
Cc: GNU Classpath <classpath@gnu.org>
References: <20021003133842.20758@smtp.mail.ch.easynet.net>
In-Reply-To: <20021003133842.20758@smtp.mail.ch.easynet.net>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200210031605.24095.konqueror@gmx.de>
X-CheckCompat: OK
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Am Donnerstag, 3. Oktober 2002 15:38 schrieb Sascha Brawer:
> Hi Michael,
>
> in the ChangeLog entry of 2002-10-02, you mention source files in
> java/ awt/dnd.
>
> Could it be that you forgot to "cvs add" them to the repository? Or
> am I the only one who cannot get java/awt/dnd?

Hmm, I have no problems here with it:

mkoch@asterix ~/src/classpath/java/awt/dnd> ls
Autoscroll.java
DragGestureRecognizer.java
DragSourceEvent.java
DropTargetContext.java
DropTargetListener.java
package.html
CVS
DragSourceAdapter.java
DragSource.java
DropTargetDragEvent.java
InvalidDnDOperationException.java
peer
DnDConstants.java
DragSourceContext.java
DragSourceListener.java
DropTargetDropEvent.java
Makefile.am
DragGestureEvent.java
DragSourceDragEvent.java
DragSourceMotionListener.java
DropTargetEvent.java
Makefile.in
DragGestureListener.java
DragSourceDropEvent.java
DropTargetAdapter.java
DropTarget.java
MouseDragGestureRecognizer.java
mkoch@asterix ~/src/classpath/java/awt/dnd> cvs up
mkoch@asterix ~/src/classpath/java/awt/dnd> cat CVS/Root
:ext:mkoch@subversions.gnu.org:/cvsroot/classpath
mkoch@asterix ~/src/classpath/java/awt/dnd>

Perhaps its the same problem reported here:
http://gcc.gnu.org/ml/java/2002-10/msg00012.html

I dont know. My commited this files to CVS. And for me all is okay.


Michael
=2D-=20
Homepage: http://www.worldforge.org/
GPG-key: http://konqueror.dyndns.org/~mkoch/michael.gpg




From brawer@acm.org Thu Oct 03 10:36:15 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17x75K-0000il-00
	for classpath@gnu.org; Thu, 03 Oct 2002 10:36:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17x75H-0000gh-00
	for classpath@gnu.org; Thu, 03 Oct 2002 10:36:13 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17x75G-0000gV-00
	for classpath@gnu.org; Thu, 03 Oct 2002 10:36:10 -0400
Received: from [192.168.1.33] (196.196.dyn-adsl.customer.ch.easynet.net [217.8.196.196])
	by smtp1.mail.ch.easynet.net (Postfix) with ESMTP
	id 29A524A2F1; Thu,  3 Oct 2002 16:36:09 +0200 (CEST)
From: Sascha Brawer <brawer@acm.org>
To: Michael Koch <konqueror@gmx.de>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: java.awt.dnd.*
Date: Thu, 3 Oct 2002 16:36:07 +0200
Message-Id: <20021003143607.28373@smtp.mail.ch.easynet.net>
In-Reply-To: <200210031605.24095.konqueror@gmx.de>
References: <200210031605.24095.konqueror@gmx.de>
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
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Michael Koch <konqueror@gmx.de> wrote on Thu, 3 Oct 2002 16:05:23 +0200:

>> [problems using cvs update in java/awt/dnd]
>I dont know. My commited this files to CVS. And for me all is okay.

The problem was on my side; passing -d to cvs update has resolved it.
I am sorry for any confusion my post might have caused.

Best regards,

-- Sascha
   brawer at acm.org





From mark@wildebeest.org Thu Oct 03 11:10:53 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17x7cr-0002li-00
	for classpath@gnu.org; Thu, 03 Oct 2002 11:10:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17x7cm-0002lA-00
	for classpath@gnu.org; Thu, 03 Oct 2002 11:10:50 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17x7ch-0002kQ-00; Thu, 03 Oct 2002 11:10:43 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17x7cM-0007BR-00; Thu, 03 Oct 2002 17:10:22 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17x7cb-00025G-00; Thu, 03 Oct 2002 17:10:37 +0200
Subject: Re: [Classpath] Re: classpath-config script.
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
Cc: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>, classpath@gnu.org
In-Reply-To: <m3k7ltzf06.fsf@lyta.haphazard.org>
References: <Pine.GSO.4.10.10209101634390.78-100000@catfish.lcs.mit.edu> 
	<m3k7ltzf06.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 03 Oct 2002 17:10:37 +0200
Message-Id: <1033657837.25667.243.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

Back from vacation and replying to some old mail...

On Tue, 2002-09-10 at 23:55, Brian Jones wrote:
> "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu> writes:
> > On 10 Sep 2002, Mark Wielaard wrote:
> > >
> > > Brian, is it OK to set the VERSION in configure.in to something like
> > > "0.05-pre-cvs" or should this always be a dotted number?
> > 
> > Other alternatives include "0.05a" (libtool-esque) "0.05alpha"
> > and the ever-popular debian-style "0.04+cvs" (which could be
> > expanded to "0.04+cvs.20020910" for distributions from cvs,
> > if pre-release distributions are ever called for).  Also
> > "0.04.99" or "0.04.99.1" if pure-numerics are called for.
> > 
> > I don't really have any preference at all; I'd just like some way
> > for my runtime to determine which version of the classpath API it
> > should be using.
>
> Is this version something we should be inserting into the System
> properties then?  For dynamic adjustment at runtime?

Good point. I have set the version to 0.04+cvs which is now also set in
gnu.classpath.Configuration.CLASSPATH_VERSION. This String is then set
as the System property "gnu.classpath.version".

Cheers,

Mark
-- 
No.
> Should I include quotations after my reply?



From mark@wildebeest.org Thu Oct 03 11:34:48 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17x7zz-0006cM-00
	for classpath@gnu.org; Thu, 03 Oct 2002 11:34:47 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17x7zw-0006by-00
	for classpath@gnu.org; Thu, 03 Oct 2002 11:34:46 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17x7zv-0006bt-00
	for classpath@gnu.org; Thu, 03 Oct 2002 11:34:43 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17x7zd-0007Cd-00; Thu, 03 Oct 2002 17:34:25 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17x7zs-00027M-00; Thu, 03 Oct 2002 17:34:40 +0200
Subject: Re: [Classpath] Re: bug in gnu.vm.stack.StackFrame
From: Mark Wielaard <mark@klomp.org>
To: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>
Cc: classpath@gnu.org
In-Reply-To: <Pine.GSO.4.10.10209101841490.10793-100000@catfish.lcs.mit.edu>
References: <Pine.GSO.4.10.10209101841490.10793-100000@catfish.lcs.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 03 Oct 2002 17:34:40 +0200
Message-Id: <1033659280.25667.265.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Wed, 2002-09-11 at 00:43, C. Scott Ananian wrote:
> On 10 Sep 2002, Mark Wielaard wrote:
> 
> > StackFrame, ExecutionStack and StackTrace are a bit old. I don't know if
> > there are VMs that still use these classes. For Throwable stack traces
> > we now have java.lang.StackTraceElement and I will soon add my recent
> > work on VMThrowable that I did for libgcj to Classpath. But for security
> > managers and for AccessController the ExecutionStack could still be
> > useful. Do VM implementers actually use/implement support for these
> > classes?
> 
> I would actually like a linked list version of StackTraceElement (with a
> 'caller' field) that I could translate to/from an array representation
> for interoperability with Throwable.get/setStackTrace().  The idea is
> that as the exception is thrown from each method, I could link in a
> single StackTraceElement onto the exception.

But would you use a Java object to hold that state? Remember that you
only need the complete StackTraceElement information if the thrown
Exception is actually used after it is caught, otherwise you don't need
to decode method names, create String objects, etc.

I will try to merge in my reworked Throwable class from gcj soon.

Cheers,

Mark

-- 
No.
> Should I include quotations after my reply?



From cbj@gnu.org Thu Oct 03 21:49:46 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17xHb7-0002fK-00
	for classpath@gnu.org; Thu, 03 Oct 2002 21:49:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17xHb5-0002f8-00
	for classpath@gnu.org; Thu, 03 Oct 2002 21:49:45 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17xHb5-0002f2-00
	for classpath@gnu.org; Thu, 03 Oct 2002 21:49:43 -0400
Received: from mail4.nc.rr.com (fe4 [24.93.67.51])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g941nZiZ006082;
	Thu, 3 Oct 2002 21:49:35 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail4.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Thu, 3 Oct 2002 21:49:43 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g941o9re030746;
	Thu, 3 Oct 2002 21:50:09 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g941o9ji030742;
	Thu, 3 Oct 2002 21:50:09 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Stuart Ballard <sballard@netreach.com>
Cc: classpath@gnu.org
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>
	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org>
	<m365wnyosa.fsf@lyta.haphazard.org> <3D999EF5.6020704@netreach.com>
	<m3lm5h7rsg.fsf@lyta.haphazard.org> <3D9AFF85.5000007@netreach.com>
From: Brian Jones <cbj@gnu.org>
Date: 03 Oct 2002 21:50:09 -0400
In-Reply-To: <3D9AFF85.5000007@netreach.com>
Message-ID: <m365wjotv2.fsf@lyta.haphazard.org>
Lines: 38
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Stuart Ballard <sballard@netreach.com> writes:

> [oops, previous mail was sent to Brian only...]
> 
> Brian Jones wrote:
>  >
>  > Got this error...
>  >
>  > [cbj@lyta bin]$ ./japize as jdk14 packages
> /usr/java/j2sdk1.4.1/jre/lib/rt.jar +java +javax +org japipkgs
> jdk14.japi.gz
> 
>  >
>  > Processing class java.lang,Object:+
>  > Processing package java.lang,:=Exception in thread "main"
> java.lang.NoClassDefFoundError: java.lang.AbstractMethodError
>  > 	at jode.bytecode.ClassInfo.loadInfo(ClassInfo.java:620)
> 
> This one I'm not sure about, although it's suspicious that it's inside
> Jode itself. Perhaps Jode isn't compatible with the changes in the
> classfile format introduced with 1.4 (asserts, etc), since the latest
> stable release of Jode is older than 1.4 is. That's just speculation,
> though.
> 
> Let me know if you find out anything. Perhaps we should try contacting
> the Jode author...

Okay, Jode's not able to handle 1.4.

ClassInfo.java throws a ClassFormatException while reading
java/lang/AbstractMethodError.  On line 290/291 of ClassInfo.java it
does some version comparisons and fails.  According to JSwat, version
is 3145728.  Guessing the if statement needs to be modified to handle
newer class formats.

Brian
-- 
Brian Jones <cbj@gnu.org>



From cbj@gnu.org Fri Oct 04 07:41:06 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17xQp8-0003hp-00
	for classpath@gnu.org; Fri, 04 Oct 2002 07:40:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17xQo4-0001Zf-00
	for classpath@gnu.org; Fri, 04 Oct 2002 07:39:46 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17xQna-0000YD-00
	for classpath@gnu.org; Fri, 04 Oct 2002 07:39:14 -0400
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g94Bd5iZ011535;
	Fri, 4 Oct 2002 07:39:05 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Fri, 4 Oct 2002 07:39:12 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g94Bdfre006187;
	Fri, 4 Oct 2002 07:39:41 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g94BdftV006183;
	Fri, 4 Oct 2002 07:39:41 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>, classpath@gnu.org
Subject: Re: Initialization and ProtectionDomain/String
References: <Pine.GSO.4.10.10209241151030.11414-100000@catfish.lcs.mit.edu>
	<1033666229.15814.320.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 04 Oct 2002 07:39:40 -0400
In-Reply-To: <1033666229.15814.320.camel@elsschot>
Message-ID: <m3wuoyfn5v.fsf@lyta.haphazard.org>
Lines: 23
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> On Tue, 2002-09-24 at 18:00, C. Scott Ananian wrote:
> > The recent change to java.lang.String (aug 13, v1.50) add a call to
> > Character.zeroBasedStringValue() which (inadvertently?) makes
> > java.lang.Character part of the "CORE CLASS" initializers (because String
> > is a core class, and the static initializer of String invokes a method in
> > Character, causing the initialization of Character).  Character should
> > be either marked as a CORE CLASS or the shared method should be moved
> > to java.lang.String.
> 
> Thanks for catching that. I had tested it with Kissme that didn't seem
> to have a problem with the initializer order. But I have committed your
> patch since it makes the implementation behave as documented in
> Runtime.java.

Did you move zeroBasedStringValue() too?

Brian
-- 
Brian Jones <cbj@gnu.org>



From mark@wildebeest.org Fri Oct 04 08:32:43 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17xRdL-0008Oy-00
	for classpath@gnu.org; Fri, 04 Oct 2002 08:32:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17xRdK-0008Od-00
	for classpath@gnu.org; Fri, 04 Oct 2002 08:32:42 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17xRdI-0008Ng-00; Fri, 04 Oct 2002 08:32:40 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17xRd0-0000pE-00; Fri, 04 Oct 2002 14:32:22 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17xRdG-0000nH-00; Fri, 04 Oct 2002 14:32:38 +0200
Subject: Re: Initialization and ProtectionDomain/String
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
Cc: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>, classpath@gnu.org
In-Reply-To: <m3wuoyfn5v.fsf@lyta.haphazard.org>
References: <Pine.GSO.4.10.10209241151030.11414-100000@catfish.lcs.mit.edu>
	<1033666229.15814.320.camel@elsschot>  <m3wuoyfn5v.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 04 Oct 2002 14:32:38 +0200
Message-Id: <1033734758.15814.393.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Fri, 2002-10-04 at 13:39, Brian Jones wrote:
> Did you move zeroBasedStringValue() too?

Yes. It is already in CVS, but the classpath and classpath-commit
mailinglist seem a bit slow at the moment.

Cheers,

Mark
-- 
No.
> Should I include quotations after my reply?



From mark@wildebeest.org Fri Oct 04 11:38:19 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17xUVr-0004LE-00
	for classpath@gnu.org; Fri, 04 Oct 2002 11:37:11 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17xUUi-0002nL-00
	for classpath@gnu.org; Fri, 04 Oct 2002 11:36:03 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17xUTN-0000vz-00
	for classpath@gnu.org; Fri, 04 Oct 2002 11:34:37 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17xUT5-00018G-00
	for <classpath@gnu.org>; Fri, 04 Oct 2002 17:34:19 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17xUTL-00015v-00
	for <classpath@gnu.org>; Fri, 04 Oct 2002 17:34:35 +0200
Subject: New VMThrowable support integrated
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 04 Oct 2002 17:34:35 +0200
Message-Id: <1033745675.15814.456.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

I have merged my Throwable and VMThrowable implementations from libgcj
and updated the NEWS file and the VM Integration Guide to document it.

gcj has been using this setup for some weeks now and John Leuner just
added support for Kissme to CVS. It should not be hard for a VM to use
this new setup and makes maintenance of the java part of Throwable
easier.

VMs that don't implement the new interface should/might/will still work
with GNU Classpath although they won't produce any real stack traces.
(At least that is how I first tested it with Kissme.)

Please let me know if this new setup is not flexible enough for your VM.
(You could still supply your own Throwable implementation, but I would
still like to know.)

Cheers,

Mark
-- 
No.
> Should I include quotations after my reply?



From cbj@gnu.org Fri Oct 04 17:14:55 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17xZmh-0004ct-00
	for classpath@gnu.org; Fri, 04 Oct 2002 17:14:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17xZme-0004aF-00
	for classpath@gnu.org; Fri, 04 Oct 2002 17:14:53 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17xZme-0004Zs-00
	for classpath@gnu.org; Fri, 04 Oct 2002 17:14:52 -0400
Received: from mail8.nc.rr.com (fe8 [24.93.67.55])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g94LF3vJ023378;
	Fri, 4 Oct 2002 17:15:06 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Fri, 4 Oct 2002 17:09:35 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g94LA5re023930;
	Fri, 4 Oct 2002 17:10:05 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g94LA47L023926;
	Fri, 4 Oct 2002 17:10:04 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Stuart Ballard <sballard@netreach.com>
Cc: classpath@gnu.org
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>
	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org>
	<m365wnyosa.fsf@lyta.haphazard.org> <3D999EF5.6020704@netreach.com>
	<m3lm5h7rsg.fsf@lyta.haphazard.org> <3D9AFF85.5000007@netreach.com>
	<m365wjotv2.fsf@lyta.haphazard.org>
From: Brian Jones <cbj@gnu.org>
Date: 04 Oct 2002 17:10:04 -0400
In-Reply-To: <m365wjotv2.fsf@lyta.haphazard.org>
Message-ID: <m3k7kxsyfn.fsf@lyta.haphazard.org>
Lines: 34
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones <cbj@gnu.org> writes:

> Okay, Jode's not able to handle 1.4.
> 
> ClassInfo.java throws a ClassFormatException while reading
> java/lang/AbstractMethodError.  On line 290/291 of ClassInfo.java it
> does some version comparisons and fails.  According to JSwat, version
> is 3145728.  Guessing the if statement needs to be modified to handle
> newer class formats.

Stuart, by chance you've tried japize against Classpath recently?  I
compiled with jikes 1.17 but Jode is barfing on something.  Bug either
in Jode or Jikes... it's much fun tracking this stuff down.  I'll have
to give gcj -C a try or even resort to JDK javac and see what happens.

Processing package java.io,:=++++++++++++++++++++++++++++++++-+++++-++++---++++-++++++++++Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 251
        at jode.bytecode.BytecodeInfo.read(BytecodeInfo.java:843)
        at jode.bytecode.MethodInfo.readAttribute(MethodInfo.java:56)
        at jode.bytecode.BinaryInfo.readAttributes(BinaryInfo.java:146)
        at jode.bytecode.MethodInfo.read(MethodInfo.java:84)
        at jode.bytecode.ClassInfo.read(ClassInfo.java:342)
        at jode.bytecode.ClassInfo.loadInfo(ClassInfo.java:614)
        at jode.bytecode.FieldInfo.getConstant(FieldInfo.java:170)
        at net.wuffies.japi.JodeField.<init>(JodeField.java:35)
        at net.wuffies.japi.JodeClass.addFields(JodeClass.java:241)
        at net.wuffies.japi.JodeClass.getFields(JodeClass.java:254)
        at net.wuffies.japi.Japize.japizeClass(Japize.java:647)
        at net.wuffies.japi.Japize.processPackage(Japize.java:426)
        at net.wuffies.japi.Japize.processPackage(Japize.java:435)
        at net.wuffies.japi.Japize.processRootSet(Japize.java:355)
        at net.wuffies.japi.Japize.doJapize(Japize.java:335)
        at net.wuffies.japi.Japize.main(Japize.java:282)
-- 
Brian Jones <cbj@gnu.org>



From sballard@netreach.com Fri Oct 04 17:28:28 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17xZzn-0001OO-00
	for classpath@gnu.org; Fri, 04 Oct 2002 17:28:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17xZzl-0001Kt-00
	for classpath@gnu.org; Fri, 04 Oct 2002 17:28:26 -0400
Received: from rawaki.netreach.net ([207.29.195.114])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17xZzl-0001Ix-00; Fri, 04 Oct 2002 17:28:25 -0400
Received: from netreach.com (sballard@[209.152.221.64]) by rawaki.netreach.net (n1/$Revision: 1.13 $) with ESMTP id RAA25873; Fri, 4 Oct 2002 17:28:55 -0400 (EDT)
Message-ID: <3D9E07F7.7060201@netreach.com>
Date: Fri, 04 Oct 2002 17:28:23 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
CC: classpath@gnu.org
Subject: Re: japize
References: <80adme87ys.fsf@orion.ucnet.uoc.gr>	<3D89D9D4.3000600@netreach.com> <m3it0pic0g.fsf_-_@lyta.haphazard.org>	<m365wnyosa.fsf@lyta.haphazard.org> <3D999EF5.6020704@netreach.com>	<m3lm5h7rsg.fsf@lyta.haphazard.org> <3D9AFF85.5000007@netreach.com>	<m365wjotv2.fsf@lyta.haphazard.org> <m3k7kxsyfn.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones wrote:
> Brian Jones <cbj@gnu.org> writes:
> 
> Stuart, by chance you've tried japize against Classpath recently?  I

Sadly not :(

As I mentioned, the only machine I can hack japitools on is a 486 - I 
doubt it could even compile classpath, let alone run Japize against it ;)

It seems to work against Kaffe, (based on reports from a Kaffe developer 
who's tested it) so you could try the KJC compiler they ship with, as well.

> compiled with jikes 1.17 but Jode is barfing on something.  Bug either
> in Jode or Jikes... it's much fun tracking this stuff down.  I'll have
> to give gcj -C a try or even resort to JDK javac and see what happens.

Yes, it is much fun, isn't it? From what I hear, the unreleased Jode 1.9 
version will have a better architecture, which *might* mean the 
exceptions will be easier to understand... not sure, though. Also, 1.9 
has never seen a public release, and it's been quite a long time since I 
first heard about it... I don't know whether its develpment is stalled 
or anything.

I'd tend to suggest bouncing errors like this to Jochen (the Jode 
maintainer) and see whether he has any suggestions.

Sorry for the trouble, and thanks again for testing japize!

Stuart.

-- 
Stuart Ballard, Programmer
NetReach - Internet Solutions
(215) 283-2300, ext. 126
http://www.netreach.com/




From mark@wildebeest.org Sat Oct 05 08:49:43 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17xoNB-0006Lb-00
	for classpath@gnu.org; Sat, 05 Oct 2002 08:49:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17xoN5-0006EF-00
	for classpath@gnu.org; Sat, 05 Oct 2002 08:49:28 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17xoMv-0005eL-00
	for classpath@gnu.org; Sat, 05 Oct 2002 08:49:17 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17xoMY-00030u-00
	for <classpath@gnu.org>; Sat, 05 Oct 2002 14:48:54 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17xoMo-00026s-00
	for <classpath@gnu.org>; Sat, 05 Oct 2002 14:49:10 +0200
Subject: Bootstrap sequence and core classes
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 05 Oct 2002 14:49:10 +0200
Message-Id: <1033822150.15814.518.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

I am trying to figure out why/how the bootstrap sequence is working and
how it is special/needed.

In java/lang/Object.java we have to following:

/**
 * Load in all native methods in the java.lang package. Note that this
 * call is actually a no-op, since it triggers the class initialization
 * of System, which loads the same library; but it is necessary to start
 * the System class initialization for the bootstrap sequence to work.
 */
static
{
  if (Configuration.INIT_LOAD_LIBRARY)
    System.loadLibrary("javalang");
}

And in vm/reference/java/lang/Runtime.java the following comment:

 *
 * No matter what class you start initialization with, it defers to the
 * superclass, therefore Object.<clinit> will be the first Java code
 * executed. From there, the bootstrap sequence, up to the point that
 * native libraries are loaded (as of March 24, when I traced this
 * manually) is as follows:
 *
 * Object.<clinit> uses a String literal, possibly triggering 
 * initialization
 *  String.<clinit> calls WeakHashMap.<init>, triggering initialization
 *   AbstractMap, WeakHashMap, WeakHashMap$1 have no dependencies
 *  String.<clinit> calls CaseInsensitiveComparator.<init>, triggering
 *      initialization
 *   CaseInsensitiveComparator has no dependencies
 * Object.<clinit> calls System.loadLibrary, triggering initialization
 *  System.<clinit> calls System.loadLibrary
 *  System.loadLibrary calls Runtime.getRuntime, triggering 
 *    initialization
 *   Runtime.<clinit> calls Properties.<init>, triggering initialization
 *    Dictionary, Hashtable, and Properties have no dependencies
 *   Runtime.<clinit> calls insertSystemProperties; the VM must make 
 *    sure that there are not any harmful dependencies
 *   Runtime.<clinit> calls Runtime.<init>
 *    Runtime.<init> calls StringTokenizer.<init>, triggering
 *    initialization
 *     StringTokenizer has no dependencies
 *  System.loadLibrary calls Runtime.loadLibrary
 *   Runtime.loadLibrary should be able to load the library, although it
 *       will probably set off another string of initializations from
 *       ClassLoader first

How/Why is it important for VM writers that all this initialization
happens during loading of java.lang.Object? Wouldn't it make more sense
if they happen when those classes are actually used? Would that make
live of the VM writers easier or harder?

The static code block in Object (<clinit>) is only there because we have
our own JNI implementation of Object.getClass(). But I think that
normally a VM would special case that call anyway so I would like to
move that call to VMObject.

Comments? Ideas? Insights?

Cheers,

Mark




From cbj@gnu.org Sat Oct 05 10:13:34 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17xpgM-0004DN-00
	for classpath@gnu.org; Sat, 05 Oct 2002 10:13:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17xpgF-0003vq-00
	for classpath@gnu.org; Sat, 05 Oct 2002 10:13:20 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17xpg3-0003Pn-00
	for classpath@gnu.org; Sat, 05 Oct 2002 10:13:07 -0400
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g95ECuiZ027756;
	Sat, 5 Oct 2002 10:12:56 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Sat, 5 Oct 2002 10:13:05 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g95EDbre025733;
	Sat, 5 Oct 2002 10:13:37 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g95EDbp6025729;
	Sat, 5 Oct 2002 10:13:37 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org
Subject: Re: Bootstrap sequence and core classes
References: <1033822150.15814.518.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 05 Oct 2002 10:13:36 -0400
In-Reply-To: <1033822150.15814.518.camel@elsschot>
Message-ID: <m3fzvlrn1r.fsf@lyta.haphazard.org>
Lines: 23
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> How/Why is it important for VM writers that all this initialization
> happens during loading of java.lang.Object? Wouldn't it make more sense
> if they happen when those classes are actually used? Would that make
> live of the VM writers easier or harder?
> 
> The static code block in Object (<clinit>) is only there because we have
> our own JNI implementation of Object.getClass(). But I think that
> normally a VM would special case that call anyway so I would like to
> move that call to VMObject.

There is always some sequence of things to load in order for the VM to
start executing bytecode.  It starts with loading the class with
main() and continues to super classes, things those use, and
eventually hitting Object.  The things Object depends on shouldn't
make or break a VM, at least by my reading of the JVM specification
there is no special casing of Object.  Why would we not keep the
loadLibrary and the native methods in Object?

Brian
-- 
Brian Jones <cbj@gnu.org>



From mark@wildebeest.org Sat Oct 05 14:51:07 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17xu12-0001t6-00
	for classpath@gnu.org; Sat, 05 Oct 2002 14:51:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17xu0t-0001Wr-00
	for classpath@gnu.org; Sat, 05 Oct 2002 14:50:58 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17xu0R-0000k3-00; Sat, 05 Oct 2002 14:50:27 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17xu08-0003Wb-00; Sat, 05 Oct 2002 20:50:08 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17xu0O-0006Ii-00; Sat, 05 Oct 2002 20:50:24 +0200
Subject: Re: Bootstrap sequence and core classes
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
Cc: classpath@gnu.org
In-Reply-To: <m3fzvlrn1r.fsf@lyta.haphazard.org>
References: <1033822150.15814.518.camel@elsschot> 
	<m3fzvlrn1r.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 05 Oct 2002 20:50:24 +0200
Message-Id: <1033843824.29748.553.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Sat, 2002-10-05 at 16:13, Brian Jones wrote:
> Mark Wielaard <mark@klomp.org> writes:
> 
> > The static code block in Object (<clinit>) is only there because we have
> > our own JNI implementation of Object.getClass(). But I think that
> > normally a VM would special case that call anyway so I would like to
> > move that call to VMObject.
> 
> There is always some sequence of things to load in order for the VM to
> start executing bytecode.  It starts with loading the class with
> main() and continues to super classes, things those use, and
> eventually hitting Object.  The things Object depends on shouldn't
> make or break a VM, at least by my reading of the JVM specification
> there is no special casing of Object.  Why would we not keep the
> loadLibrary and the native methods in Object?

I was just studying the VM interface and noticed that Kissme for example
uses their own java.lang.Object class with the following comment:

      // Note: Kissme's implementation of java.lang.Runtime.nativeLoad
      // causes mayhem if it is called too early in the VM startup.
      // Commenting out the call to System.loadLibrary("javalang")
      // below fixes the problem.  -- Steve Crawley : 2002-02-24

But besides that static block they seem to be able to use everything.
So I was wondering if other VMs had problems with this and/or if the
Classpath boot/core classes depend on this load order.

Cheers,

Mark



From cbj@gnu.org Sun Oct 06 00:50:13 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17y3MU-0003J0-00
	for classpath@gnu.org; Sun, 06 Oct 2002 00:49:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17y3ML-00036T-00
	for classpath@gnu.org; Sun, 06 Oct 2002 00:49:42 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17y3MH-0002pa-00
	for classpath@gnu.org; Sun, 06 Oct 2002 00:49:37 -0400
Received: from mail4.nc.rr.com (fe4 [24.93.67.51])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g964nRiZ020249
	for <classpath@gnu.org>; Sun, 6 Oct 2002 00:49:27 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail4.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Sun, 6 Oct 2002 00:49:37 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g964nalB026738
	for <classpath@gnu.org>; Sun, 6 Oct 2002 00:49:36 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g964na7r026734;
	Sun, 6 Oct 2002 00:49:36 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: GNU Classpath <classpath@gnu.org>
Subject: org.omg
From: Brian Jones <cbj@gnu.org>
Date: 06 Oct 2002 00:49:35 -0400
Message-ID: <m31y74b28w.fsf@lyta.haphazard.org>
Lines: 15
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Sun includes a number of classes from the org.omg package that appear
to be freely available (but lacking the javadoc) from
ftp.omg.org/pub/javartf/.  The license is as below.

Copyright (c) 1999 Object Management Group. Unlimited rights to 
duplicate and use this code are hereby granted provided that this 
copyright notice is included.

This is essentially the same as the license on the code in w_log.c for
example.  Should we go ahead and import the appropriate pieces of code
from OMG?

Brian
-- 
Brian Jones <cbj@gnu.org>



From mark@wildebeest.org Sun Oct 06 06:59:05 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17y97h-0002MZ-00
	for classpath@gnu.org; Sun, 06 Oct 2002 06:58:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17y97N-0001Gj-00
	for classpath@gnu.org; Sun, 06 Oct 2002 06:58:42 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17y96y-0008Fh-00; Sun, 06 Oct 2002 06:58:13 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17y96X-0005I3-00; Sun, 06 Oct 2002 12:57:45 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17y96o-0002iM-00; Sun, 06 Oct 2002 12:58:02 +0200
Subject: Re: org.omg
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
Cc: GNU Classpath <classpath@gnu.org>
In-Reply-To: <m31y74b28w.fsf@lyta.haphazard.org>
References: <m31y74b28w.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 06 Oct 2002 12:58:02 +0200
Message-Id: <1033901882.3485.45.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Sun, 2002-10-06 at 06:49, Brian Jones wrote:
> Sun includes a number of classes from the org.omg package that appear
> to be freely available (but lacking the javadoc) from
> ftp.omg.org/pub/javartf/.  The license is as below.
> 
> Copyright (c) 1999 Object Management Group. Unlimited rights to 
> duplicate and use this code are hereby granted provided that this 
> copyright notice is included.

Note that this does not give explicit permission to make and distribute
changes (like fixing bugs, adding javadoc, removing unneeded classes,
etc). Or is the is above legal language to say just that?

> This is essentially the same as the license on the code in w_log.c for
> example.  Should we go ahead and import the appropriate pieces of code
> from OMG?

I would only import it if needed to implements some of the other core
classes or if you are intending to work on them, for example to add the
documentation. If not, then I would just add a link to the documentation
explaining where to find these (and probably other) standard classes
that we don't distribute.

Cheers,

Mark



From jgeorgal@uoc.gr Sun Oct 06 07:17:20 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17y9PT-0002jv-00
	for classpath@gnu.org; Sun, 06 Oct 2002 07:17:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17y9O9-0001Qu-00
	for classpath@gnu.org; Sun, 06 Oct 2002 07:15:58 -0400
Received: from ns.uoc.gr ([147.52.80.1] helo=mail.uoc.gr)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17y9Nw-00019Q-00
	for classpath@gnu.org; Sun, 06 Oct 2002 07:15:45 -0400
Received: (qmail 2696 invoked from network); 6 Oct 2002 11:15:37 -0000
Received: from orion.ucnet.uoc.gr ([147.52.3.166])
          (envelope-sender <jgeorgal@uoc.gr>)
          by ns.uoc.gr (qmail-ldap-1.03) with SMTP
          for <classpath@gnu.org>; 6 Oct 2002 11:15:37 -0000
To: Brian Jones <cbj@gnu.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg
References: <m31y74b28w.fsf@lyta.haphazard.org>
From: Giannis Georgalis <jgeorgal@uoc.gr>
Organization: University of Crete
Date: 06 Oct 2002 14:15:57 +0300
In-Reply-To: <m31y74b28w.fsf@lyta.haphazard.org>
Message-ID: <80ofa7ddhu.fsf@orion.ucnet.uoc.gr>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones <cbj@gnu.org> writes:
> This is essentially the same as the license on the code in w_log.c for
> example.  Should we go ahead and import the appropriate pieces of code
> from OMG?

Shouldn't you ask rms for this matter?

-- 
 Object-oriented programming is an exceptionally bad 
idea which could only have originated in California.
    - Edsger Dijkstra (attributed)




From brawer@acm.org Sun Oct 06 07:25:00 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17y9W7-0001kL-00
	for classpath@gnu.org; Sun, 06 Oct 2002 07:24:11 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17y9UU-0000KS-00
	for classpath@gnu.org; Sun, 06 Oct 2002 07:22:31 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17y9UM-00007j-00
	for classpath@gnu.org; Sun, 06 Oct 2002 07:22:22 -0400
Received: from [192.168.1.33] (197.235.dyn-adsl.customer.ch.easynet.net [217.8.197.235])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP id D6F0E6494D
	for <classpath@gnu.org>; Sun,  6 Oct 2002 13:22:16 +0200 (CEST)
From: Sascha Brawer <brawer@acm.org>
To: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg
Date: Sun, 6 Oct 2002 13:22:17 +0200
Message-Id: <20021006112217.30898@smtp.mail.ch.easynet.net>
In-Reply-To: <m31y74b28w.fsf@lyta.haphazard.org>
References: <m31y74b28w.fsf@lyta.haphazard.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
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones <cbj@gnu.org> wrote on Sun, 6 Oct 2002 00:49:35 -0400:

>Sun includes a number of classes from the org.omg package that appear
>to be freely available (but lacking the javadoc) from
>ftp.omg.org/pub/javartf/.  The license is as below.
>
>Copyright (c) 1999 Object Management Group. Unlimited rights to 
>duplicate and use this code are hereby granted provided that this 
>copyright notice is included.
>
>This is essentially the same as the license on the code in w_log.c for
>example.  Should we go ahead and import the appropriate pieces of code
>from OMG?

Not being a lawyer, I cannot have an informed opinion here.

>From a purely technical point of view, I think this surely would make sense.

However, we'd need to do a lot more for this to become useful. Maybe this
is obvious to everyone on the list, but in case it isn't, let me outline
what would be needed for CORBA support:

1. Use an IDL-to-Java compiler tool (like Sun's idlj) to generate Java code
   for standard IDL files provided by the OMG. For example, package
org.omg.IOP
   is derived from IDL, and not directly available at ftp.omg.org/pub/
javartf/.

   Having done this, we'd have roughly the same as is documented on the
Javadoc
   pages for Sun's J2SE 1.4.  AFAIK, this should be enough to run an ORB on a
   Classpath-based JRE.


2. Provide an actual implementation for all those interfaces and abstract
classes.
   For example, have a look at org/omg/PortableServer/Servant.java: It pretty
   much forwards everything to a delegate object, which has to implement
   the interface org.omg.PortableServer.portable.  If we wanted to have
   a fully functional CORBA implementation in Classpath, we would have to
   provide an implementation of this interface.   Plus implementations of
numerous
   other interfaces and abstract classes as well.


3. Write a GNU version of an IDL-to-Java compiler (i.e., a replacement
for idlj).


(1) without (2) is somewhat useful: users could run CORBA applications if
they license an ORB from someone. Also, (1) is a prerequisite for
supporting CORBA in Classpath.  But the big amount of work is (2).

By the way, could we legally use Sun's idlj for (1), or do we have to do
(3) first?

I'm sorry if everyone was already aware of this, but it might not be obvious.

-- Sascha
   brawer at acm.org





From cbj@gnu.org Sun Oct 06 10:21:52 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yCHe-0000g8-00
	for classpath@gnu.org; Sun, 06 Oct 2002 10:21:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yCHR-0000Bj-00
	for classpath@gnu.org; Sun, 06 Oct 2002 10:21:18 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yCHD-0008BP-00
	for classpath@gnu.org; Sun, 06 Oct 2002 10:20:59 -0400
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g96ELCup009915;
	Sun, 6 Oct 2002 10:21:12 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Sun, 6 Oct 2002 10:20:58 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g96EKwlB003969;
	Sun, 6 Oct 2002 10:20:58 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g96EKvuX003965;
	Sun, 6 Oct 2002 10:20:57 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Sascha Brawer <brawer@acm.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg
References: <m31y74b28w.fsf@lyta.haphazard.org>
	<20021006112217.30898@smtp.mail.ch.easynet.net>
From: Brian Jones <cbj@gnu.org>
Date: 06 Oct 2002 10:20:57 -0400
In-Reply-To: <20021006112217.30898@smtp.mail.ch.easynet.net>
Message-ID: <m3zntrodh2.fsf@lyta.haphazard.org>
Lines: 39
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Sascha Brawer <brawer@acm.org> writes:

> However, we'd need to do a lot more for this to become useful. Maybe this
> is obvious to everyone on the list, but in case it isn't, let me outline
> what would be needed for CORBA support:
> 
> 1. Use an IDL-to-Java compiler tool (like Sun's idlj) to generate
> Java code for standard IDL files provided by the OMG. For example,
> package org.omg.IOP is derived from IDL, and not directly available
> at ftp.omg.org/pub/ javartf/.
> 
>    Having done this, we'd have roughly the same as is documented on
> the Javadoc pages for Sun's J2SE 1.4.  AFAIK, this should be enough
> to run an ORB on a Classpath-based JRE.

That would be good.
 
> 2. Provide an actual implementation for all those interfaces and
> abstract classes.  

I didn't think the JDK actually provided an ORB.  To my knowledge
everyone goes to a vendor for an ORB implementation.  My lack of
actually using CORBA from Java is showing here.

> 3. Write a GNU version of an IDL-to-Java compiler (i.e., a replacement
> for idlj).

More tools always welcome in the classpath-tools subproject.
 
> (1) without (2) is somewhat useful: users could run CORBA applications if
> they license an ORB from someone. Also, (1) is a prerequisite for
> supporting CORBA in Classpath.  But the big amount of work is (2).
> 
> By the way, could we legally use Sun's idlj for (1), or do we have to do
> (3) first?

Yes, you can use idlj or javah as needed.
-- 
Brian Jones <cbj@gnu.org>



From cbj@gnu.org Sun Oct 06 10:29:17 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yCOp-0006VP-00
	for classpath@gnu.org; Sun, 06 Oct 2002 10:28:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yCOl-0006Li-00
	for classpath@gnu.org; Sun, 06 Oct 2002 10:28:49 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yCNq-000587-00
	for classpath@gnu.org; Sun, 06 Oct 2002 10:27:50 -0400
Received: from mail8.nc.rr.com (fe8 [24.93.67.55])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g96ES3up013118;
	Sun, 6 Oct 2002 10:28:03 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Sun, 6 Oct 2002 10:27:49 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g96ERnlB003982;
	Sun, 6 Oct 2002 10:27:49 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g96ERnu5003978;
	Sun, 6 Oct 2002 10:27:49 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg
References: <m31y74b28w.fsf@lyta.haphazard.org>
	<1033901882.3485.45.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 06 Oct 2002 10:27:49 -0400
In-Reply-To: <1033901882.3485.45.camel@elsschot>
Message-ID: <m3vg4fod5m.fsf@lyta.haphazard.org>
Lines: 38
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> On Sun, 2002-10-06 at 06:49, Brian Jones wrote:
> > Sun includes a number of classes from the org.omg package that appear
> > to be freely available (but lacking the javadoc) from
> > ftp.omg.org/pub/javartf/.  The license is as below.
> > 
> > Copyright (c) 1999 Object Management Group. Unlimited rights to 
> > duplicate and use this code are hereby granted provided that this 
> > copyright notice is included.
> 
> Note that this does not give explicit permission to make and distribute
> changes (like fixing bugs, adding javadoc, removing unneeded classes,
> etc). Or is the is above legal language to say just that?

You are correct, perhaps it would would be best just to duplicate
these ourselves.  No rights appear to be granted for modify or
distribute unless duplicate is construed to mean copy and distribute.

> > This is essentially the same as the license on the code in w_log.c for
> > example.  Should we go ahead and import the appropriate pieces of code
> > from OMG?
> 
> I would only import it if needed to implements some of the other core
> classes or if you are intending to work on them, for example to add the
> documentation. If not, then I would just add a link to the documentation
> explaining where to find these (and probably other) standard classes
> that we don't distribute.

As most of these are just interfaces or abstract classes that do very
little if anything... it was just an idea to save someone some time in
stubbing these out later.

Brian
-- 
Brian Jones <cbj@gnu.org>



From brawer@acm.org Sun Oct 06 15:40:42 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yHG3-0006ib-00
	for classpath@gnu.org; Sun, 06 Oct 2002 15:40:07 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yHG0-0006fJ-00
	for classpath@gnu.org; Sun, 06 Oct 2002 15:40:06 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yHFv-0006Vr-00
	for classpath@gnu.org; Sun, 06 Oct 2002 15:39:59 -0400
Received: from [192.168.1.33] (197.235.dyn-adsl.customer.ch.easynet.net [217.8.197.235])
	by smtp1.mail.ch.easynet.net (Postfix) with ESMTP id 65C244A244
	for <classpath@gnu.org>; Sun,  6 Oct 2002 21:39:56 +0200 (CEST)
From: Sascha Brawer <brawer@acm.org>
To: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg
Date: Sun, 6 Oct 2002 21:39:55 +0200
Message-Id: <20021006193955.8126@smtp.mail.ch.easynet.net>
In-Reply-To: <m3zntrodh2.fsf@lyta.haphazard.org>
References: <m3zntrodh2.fsf@lyta.haphazard.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
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones <cbj@gnu.org> wrote on Sun, 6 Oct 2002 10:20:57 -0400:

>I didn't think the JDK actually provided an ORB.  To my knowledge
>everyone goes to a vendor for an ORB implementation.  My lack of
>actually using CORBA from Java is showing here.

It did not provide one in the past.  Starting with Sun J2SE 1.3, AFAIK,
there was a simple ORB included.  Their ORB improved a lot with J2SE 1.4,
although the Sun implementation still does not support everything from
the CORBA specification.

See http://java.sun.com/j2se/1.4/docs/api/org/omg/CORBA/doc-files/
compliance.html for details.


Mark Wielaard <mark@klomp.org> writes:

> Note that this does not give explicit permission to make and distribute
> changes (like fixing bugs, adding javadoc, removing unneeded classes,
> etc).

What would be a reason for us to modify code whose shape is exactly
prescribed by a standard? From what I understand, the reason for the OMG
to distribute the sources is to ensure interoperability.


The "readme.txt" in the OMG distro says:

> Files which are not so marked [as dummy implementations to allow compilation
> of the code] shall be provided by conformant products
> "as is".  Vendors may not add or subtract functionality from them
> (though of course things such as comments, formal parameter names, etc.
> which do not change functionality may be modified.)

So, adding javadoc should be acceptable use, or am I misunderstanding this?

Could we include the OMG code for now, and replace it in case we should
ever need to deviate from the standard?

-- Sascha
   brawer at acm.org, http://www.coli.uni-sb.de/~brawer





From mark@wildebeest.org Sun Oct 06 16:19:43 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yHnw-0004tb-00
	for classpath@gnu.org; Sun, 06 Oct 2002 16:15:08 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yHnC-0004Bj-00
	for classpath@gnu.org; Sun, 06 Oct 2002 16:14:23 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yHnB-00048y-00
	for classpath@gnu.org; Sun, 06 Oct 2002 16:14:21 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17yHmr-00069V-00
	for <classpath@gnu.org>; Sun, 06 Oct 2002 22:14:01 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17yHn9-0003Ay-00
	for <classpath@gnu.org>; Sun, 06 Oct 2002 22:14:19 +0200
Subject: Re: org.omg
From: Mark Wielaard <mark@klomp.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <20021006193955.8126@smtp.mail.ch.easynet.net>
References: <m3zntrodh2.fsf@lyta.haphazard.org> 
	<20021006193955.8126@smtp.mail.ch.easynet.net>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 06 Oct 2002 22:14:19 +0200
Message-Id: <1033935259.3485.76.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Sun, 2002-10-06 at 21:39, Sascha Brawer wrote:
> Mark Wielaard <mark@klomp.org> writes:
> 
> > Note that this does not give explicit permission to make and distribute
> > changes (like fixing bugs, adding javadoc, removing unneeded classes,
> > etc).
> 
> What would be a reason for us to modify code whose shape is exactly
> prescribed by a standard? From what I understand, the reason for the OMG
> to distribute the sources is to ensure interoperability.

We want to distribute software that people should feel free to run,
change and redistribute for any purpose they want. Even if they want to
do things that we didn't think of or even things that we would call
technologically stupid (like not being interoperable with a standard).

> The "readme.txt" in the OMG distro says:
> 
> > Files which are not so marked [as dummy implementations to allow compilation
> > of the code] shall be provided by conformant products
> > "as is".  Vendors may not add or subtract functionality from them
> > (though of course things such as comments, formal parameter names, etc.
> > which do not change functionality may be modified.)
> 
> So, adding javadoc should be acceptable use, or am I misunderstanding this?
> 
> Could we include the OMG code for now, and replace it in case we should
> ever need to deviate from the standard?

No sorry. It is important to support standards but not if we cannot do
it with Free Software.

Mark



From mark@wildebeest.org Sun Oct 06 17:35:13 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yJ3C-0000dH-00
	for classpath@gnu.org; Sun, 06 Oct 2002 17:34:58 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yJ2k-0007Yb-00
	for classpath@gnu.org; Sun, 06 Oct 2002 17:34:33 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yJ2g-0007Hx-00
	for classpath@gnu.org; Sun, 06 Oct 2002 17:34:26 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17yJ2N-0006Fl-00
	for <classpath@gnu.org>; Sun, 06 Oct 2002 23:34:07 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17yJ2e-0007VM-00
	for <classpath@gnu.org>; Sun, 06 Oct 2002 23:34:24 +0200
Subject: javadoc classes moved to gjdoc and vm/reference cleanups
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 06 Oct 2002 23:34:24 +0200
Message-Id: <1033940064.3396.101.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

I finally moved the GPLed classes from com/sun/javadoc to the gjdoc CVS
from the GNU Classpath tools project.
<http://www.gnu.org/software/cp-tools/>

I also cleaned up the (buggy) vm/reference classes from the gnu.vm.stack
and their counterparts ExecutionStack and StackFrame in gnu.java.lang
since they are not actually part of the VM interface anyway and people
should be using java.lang.StackTraceElement now.

NEWS file and build files have been updated accordingly.
If your build breaks try doing the magic auto* dance:

        aclocal; autoheader; automake; autoconf

And re ./configure. If things still don't work for you after that please
yell and scream so that I can fix it.

Cheers,

Mark





From crawley@dstc.edu.au Sun Oct 06 21:51:05 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yN1Y-0006Pz-00
	for classpath@gnu.org; Sun, 06 Oct 2002 21:49:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yMzk-0005vL-00
	for classpath@gnu.org; Sun, 06 Oct 2002 21:47:45 -0400
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yMyv-0005mR-00
	for classpath@gnu.org; Sun, 06 Oct 2002 21:46:49 -0400
Received: from dstc.edu.au (soluble.dstc.edu.au [130.102.176.43])
	by piglet.dstc.edu.au (8.12.3/8.12.3) with ESMTP id g971kh4s015811;
	Mon, 7 Oct 2002 11:46:43 +1000 (EST)
Message-Id: <200210070146.g971kh4s015811@piglet.dstc.edu.au>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: Mark Wielaard <mark@klomp.org>
cc: GNU Classpath <classpath@gnu.org>, crawley@piglet.dstc.edu.au
Subject: Re: org.omg 
In-Reply-To: Message from Mark Wielaard <mark@klomp.org> 
   of "06 Oct 2002 22:14:19 +0200." <1033935259.3485.76.camel@elsschot> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 07 Oct 2002 11:46:43 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Spam-Checked: SPAMASSASSIN: This message probably not SPAM
X-Spam-Score: -104.4, Required: 5
X-Virus-Scanned: Message: ok
X-Scanned-By: MIMEDefang 2.9 (www dot roaringpenguin dot com slash mimedefang)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Folks,

There is no doubt in my mind that the OMG implicitly grants permission
to anyone to modify / redistribute those files.  Many OMG member
companies have been openly doing this for years.

One approach would be to take our concerns to someone in the OMG (e.g.
Andrew Watson).  Maybe all we need is for the OMG to grant explicit
permission to make and distribute changes.  Or to allow us to amend the
copyright notice to make the implicit permission explicit.

But before that, I think we should ask RMS if it is OK to ship the OMG
files (with or without modification) under their current copyright
notice.

-- Steve




From cbj@gnu.org Mon Oct 07 00:47:55 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yPoB-0008NA-00
	for classpath@gnu.org; Mon, 07 Oct 2002 00:47:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yPo9-0008LR-00
	for classpath@gnu.org; Mon, 07 Oct 2002 00:47:54 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yPo8-0008IV-00
	for classpath@gnu.org; Mon, 07 Oct 2002 00:47:52 -0400
Received: from mail4.nc.rr.com (fe4 [24.93.67.51])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g974lfup017946;
	Mon, 7 Oct 2002 00:47:41 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail4.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Mon, 7 Oct 2002 00:47:26 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g974lQlB007417;
	Mon, 7 Oct 2002 00:47:26 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g974lOkS007413;
	Mon, 7 Oct 2002 00:47:24 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Stephen Crawley <crawley@dstc.edu.au>
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>,
   crawley@piglet.dstc.edu.au
Subject: Re: org.omg
References: <200210070146.g971kh4s015811@piglet.dstc.edu.au>
From: Brian Jones <cbj@gnu.org>
Date: 07 Oct 2002 00:47:24 -0400
In-Reply-To: <200210070146.g971kh4s015811@piglet.dstc.edu.au>
Message-ID: <m3k7kuonxf.fsf@lyta.haphazard.org>
Lines: 10
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Stephen Crawley <crawley@dstc.edu.au> writes:

> But before that, I think we should ask RMS if it is OK to ship the OMG
> files (with or without modification) under their current copyright
> notice.

The question has been routed through the FSF legal channels.  This
isn't RMS.
-- 
Brian Jones <cbj@gnu.org>



From arnaud.vandyck@ulg.ac.be Mon Oct 07 03:57:12 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ySlL-000892-00
	for classpath@gnu.org; Mon, 07 Oct 2002 03:57:11 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ySlH-0007xG-00
	for classpath@gnu.org; Mon, 07 Oct 2002 03:57:09 -0400
Received: from aix6.segi.ulg.ac.be ([139.165.140.20])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ySlH-0007mA-00
	for classpath@gnu.org; Mon, 07 Oct 2002 03:57:07 -0400
Received: from localhost (vbstefi30.fapse.ulg.ac.be [139.165.77.48])
	by aix6.segi.ulg.ac.be (8.9.1a/8.9.0) with ESMTP id JAA31038
	for <classpath@gnu.org>; Mon, 7 Oct 2002 09:57:02 +0200
Date: Mon, 07 Oct 2002 09:57:02 +0200 (CEST)
Message-Id: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
Subject: Classpath on linux-ppc
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Organization: STE-FI, ULg
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
 ?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9
 ?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

I'd like to contribute to the Classpath project but I'd like to know
if it is possible to use classpath on ppc? If yes, which compiler and
which runtime?

I have a Blue G3 at home with Debian GNU/Linux (sarge) and there is a
package named 'orp-classpath' but it seems like orp is not available
for ppc.

If someone can help, I'd be very interresting in contributing.

Thanks,

-- arnaud :: http://vbstefi60.fapse.ulg.ac.be/~arnaud/



From cbj@gnu.org Mon Oct 07 08:36:34 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yX7i-00071E-00
	for classpath@gnu.org; Mon, 07 Oct 2002 08:36:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yX6Y-0005fx-00
	for classpath@gnu.org; Mon, 07 Oct 2002 08:35:24 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yX6X-0005fT-00
	for classpath@gnu.org; Mon, 07 Oct 2002 08:35:21 -0400
Received: from mail7.nc.rr.com (fe7 [24.93.67.54])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g97CZWup020451;
	Mon, 7 Oct 2002 08:35:32 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Mon, 7 Oct 2002 08:35:18 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g97CZIlB008301;
	Mon, 7 Oct 2002 08:35:18 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g97CZIBl008297;
	Mon, 7 Oct 2002 08:35:18 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Cc: classpath@gnu.org
Subject: Re: Classpath on linux-ppc
References: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
From: Brian Jones <cbj@gnu.org>
Date: 07 Oct 2002 08:35:17 -0400
In-Reply-To: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
Message-ID: <m3fzvio29m.fsf@lyta.haphazard.org>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> writes:

> Hi,
> 
> I'd like to contribute to the Classpath project but I'd like to know
> if it is possible to use classpath on ppc? If yes, which compiler and
> which runtime?
> 
> I have a Blue G3 at home with Debian GNU/Linux (sarge) and there is a
> package named 'orp-classpath' but it seems like orp is not available
> for ppc.
> 
> If someone can help, I'd be very interresting in contributing.

Except for Kaffe, which doesn't work with Classpath, I'm not aware of
any of the other JVMs supporting PPC.  That said, I don't think you'd
have much trouble porting Kissme, the interpreter and not a JIT.  ORP
would probably be more difficult.
--
Brian Jones <cbj@gnu.org>



From wbeebee@yahoo.com Mon Oct 07 08:37:26 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yX8Y-00081o-00
	for classpath@gnu.org; Mon, 07 Oct 2002 08:37:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yX8U-0007tI-00
	for classpath@gnu.org; Mon, 07 Oct 2002 08:37:24 -0400
Received: from web20502.mail.yahoo.com ([216.136.226.137])
	by monty-python.gnu.org with smtp (Exim 4.10)
	id 17yX8T-0007sr-00
	for classpath@gnu.org; Mon, 07 Oct 2002 08:37:21 -0400
Message-ID: <20021007123720.29975.qmail@web20502.mail.yahoo.com>
Received: from [18.24.6.168] by web20502.mail.yahoo.com via HTTP; Mon, 07 Oct 2002 05:37:20 PDT
Date: Mon, 7 Oct 2002 05:37:20 -0700 (PDT)
From: Wes Beebee <wbeebee@yahoo.com>
Reply-To: wbeebee@alum.mit.edu
Subject: Re: org.omg
To: Brian Jones <cbj@gnu.org>
Cc: classpath@gnu.org
In-Reply-To: <m3zntrodh2.fsf@lyta.haphazard.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

I'm using JacORB v.1.3.30 with Classpath and
I haven't had any trouble with it (just been 
using basic RMI).

--- Brian Jones <cbj@gnu.org> wrote:
> Sascha Brawer <brawer@acm.org> writes:
> 
> > However, we'd need to do a lot more for this to
> become useful. Maybe this
> > is obvious to everyone on the list, but in case it
> isn't, let me outline
> > what would be needed for CORBA support:
> > 
> > 1. Use an IDL-to-Java compiler tool (like Sun's
> idlj) to generate
> > Java code for standard IDL files provided by the
> OMG. For example,
> > package org.omg.IOP is derived from IDL, and not
> directly available
> > at ftp.omg.org/pub/ javartf/.
> > 
> >    Having done this, we'd have roughly the same as
> is documented on
> > the Javadoc pages for Sun's J2SE 1.4.  AFAIK, this
> should be enough
> > to run an ORB on a Classpath-based JRE.
> 
> That would be good.
>  
> > 2. Provide an actual implementation for all those
> interfaces and
> > abstract classes.  
> 
> I didn't think the JDK actually provided an ORB.  To
> my knowledge
> everyone goes to a vendor for an ORB implementation.
>  My lack of
> actually using CORBA from Java is showing here.
> 
> > 3. Write a GNU version of an IDL-to-Java compiler
> (i.e., a replacement
> > for idlj).
> 
> More tools always welcome in the classpath-tools
> subproject.
>  
> > (1) without (2) is somewhat useful: users could
> run CORBA applications if
> > they license an ORB from someone. Also, (1) is a
> prerequisite for
> > supporting CORBA in Classpath.  But the big amount
> of work is (2).
> > 
> > By the way, could we legally use Sun's idlj for
> (1), or do we have to do
> > (3) first?
> 
> Yes, you can use idlj or javah as needed.
> -- 
> Brian Jones <cbj@gnu.org>
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com



From nferrier@tapsellferrier.co.uk Mon Oct 07 08:54:31 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yXP4-0003ba-00
	for classpath@gnu.org; Mon, 07 Oct 2002 08:54:30 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yXOm-0002qx-00
	for classpath@gnu.org; Mon, 07 Oct 2002 08:54:18 -0400
Received: from host217-34-135-17.in-addr.btopenworld.com ([217.34.135.17] helo=tf1.tapsellferrier.co.uk)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yXOk-0002jX-00; Mon, 07 Oct 2002 08:54:10 -0400
Received: from [194.74.202.254] (helo=NFERRIER)
	by tf1.tapsellferrier.co.uk with esmtp (Exim 3.35 #1 (Debian))
	id 17yXgw-000525-00; Mon, 07 Oct 2002 14:12:58 +0100
To: Brian Jones <cbj@gnu.org>
Cc: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>,  classpath@gnu.org
Subject: Re: Classpath on linux-ppc
References: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
	<m3fzvio29m.fsf@lyta.haphazard.org>
From: nferrier@tapsellferrier.co.uk
Date: 07 Oct 2002 13:55:27 +0100
In-Reply-To: <m3fzvio29m.fsf@lyta.haphazard.org>
Message-ID: <uit0eo1c0.fsf@tapsellferrier.co.uk>
Lines: 25
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones <cbj@gnu.org> writes:

> Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> writes:
> 
> > Hi,
> >
> > I'd like to contribute to the Classpath project but I'd like to know
> > if it is possible to use classpath on ppc? If yes, which compiler and
> > which runtime?
> >
> > I have a Blue G3 at home with Debian GNU/Linux (sarge) and there is a
> > package named 'orp-classpath' but it seems like orp is not available
> > for ppc.
> >
> > If someone can help, I'd be very interresting in contributing.
> 
> Except for Kaffe, which doesn't work with Classpath, I'm not aware of
> any of the other JVMs supporting PPC.  That said, I don't think you'd
> have much trouble porting Kissme, the interpreter and not a JIT.  ORP
> would probably be more difficult.

GCJ works on PPC (I use it).


Nic




From jewel@pixie.co.za Mon Oct 07 11:46:24 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ya4v-00054H-00
	for classpath@gnu.org; Mon, 07 Oct 2002 11:45:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ya4H-00043D-00
	for classpath@gnu.org; Mon, 07 Oct 2002 11:45:28 -0400
Received: from spamisevil.test.ie.vianw.net ([212.17.60.214] helo=lenny.elandtech.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ya3p-00037S-00
	for classpath@gnu.org; Mon, 07 Oct 2002 11:44:45 -0400
Received: from [192.168.100.211] (helo=localhost.localdomain ident=jleuner)
	by lenny.elandtech.com with esmtp (Exim 3.35 #1 (Debian))
	id 17yZmO-0007cj-00; Mon, 07 Oct 2002 15:26:44 +0000
Subject: Re: Classpath on linux-ppc
From: John Leuner <jewel@pixie.co.za>
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Cc: classpath@gnu.org
In-Reply-To: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
References: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature";
	boundary="=-L9WOh1FIYlFiag2kj+XM"
X-Mailer: Ximian Evolution 1.0.5 
Date: 07 Oct 2002 16:37:38 +0100
Message-Id: <1034005059.13037.12799.camel@bapli>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

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

I did a quick port to PPC for Kissme a short while back.

John Leuner

> I'd like to contribute to the Classpath project but I'd like to know
> if it is possible to use classpath on ppc? If yes, which compiler and
> which runtime?
>=20
> I have a Blue G3 at home with Debian GNU/Linux (sarge) and there is a
> package named 'orp-classpath' but it seems like orp is not available
> for ppc.
>=20
> If someone can help, I'd be very interresting in contributing.
>=20
> Thanks,
>=20
> -- arnaud :: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath


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

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

iD8DBQA9oapCXrnnKiKKOuQRAryhAKDajvMZmUi5gEcM5RNgRpwTbLTjcQCdHWwN
oKMfNZqtJBNQbgsCoo6tWGo=
=cxMW
-----END PGP SIGNATURE-----

--=-L9WOh1FIYlFiag2kj+XM--




From brawer@acm.org Mon Oct 07 14:45:27 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ycsg-0002hf-00
	for classpath@gnu.org; Mon, 07 Oct 2002 14:45:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ycse-0002hE-00
	for classpath@gnu.org; Mon, 07 Oct 2002 14:45:26 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ycse-0002gV-00
	for classpath@gnu.org; Mon, 07 Oct 2002 14:45:24 -0400
Received: from [192.168.1.33] (unknown [217.8.220.123])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id 720A964953; Mon,  7 Oct 2002 20:45:22 +0200 (CEST)
From: Sascha Brawer <brawer@acm.org>
To: GNU Classpath <classpath@gnu.org>,
	Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Subject: Re: Classpath on linux-ppc
Date: Mon, 7 Oct 2002 20:45:21 +0200
Message-Id: <20021007184521.12413@smtp.mail.ch.easynet.net>
In-Reply-To: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
References: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
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
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> wrote on Mon, 7 Oct
2002 09:57:02 +0200:

>I'd like to contribute to the Classpath project but I'd like to know
>if it is possible to use classpath on ppc? If yes, which compiler and
>which runtime?

You can also use an unfree Java implementation (such as Apple's JDK 1.3
on MacOS X) to develop packages for Classpath.  Of course only as long as
you only use public APIs, and never ever decompile or even look at the
sources.


>If someone can help, I'd be very interresting in contributing.

Thanks a lot! (I'm not a maintainer, but nobody else has said this so far...)


>-- arnaud :: http://vbstefi60.fapse.ulg.ac.be/~arnaud/

What package would you like to work on?

Looking at your web page, I could imagine you might be interested in the
javax.xml.* tree, or (because of your SVG links) javax.print with an SVG
StreamPrintService.  But of course, you'd be welcome to do anything!

-- Sascha
   brawer at acm.org, http://www.coli.uni-sb.de/~brawer/





From brawer@acm.org Mon Oct 07 14:49:24 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ycwW-0004JI-00
	for classpath@gnu.org; Mon, 07 Oct 2002 14:49:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ycwU-0004Ib-00
	for classpath@gnu.org; Mon, 07 Oct 2002 14:49:23 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ycwT-0004IR-00
	for classpath@gnu.org; Mon, 07 Oct 2002 14:49:22 -0400
Received: from [192.168.1.33] (unknown [217.8.220.123])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP id 98F1A64956
	for <classpath@gnu.org>; Mon,  7 Oct 2002 20:49:20 +0200 (CEST)
From: Sascha Brawer <brawer@acm.org>
To: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg
Date: Mon, 7 Oct 2002 20:49:19 +0200
Message-Id: <20021007184919.13661@smtp.mail.ch.easynet.net>
In-Reply-To: <m3k7kuonxf.fsf@lyta.haphazard.org>
References: <m3k7kuonxf.fsf@lyta.haphazard.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
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones <cbj@gnu.org> wrote on Mon, 7 Oct 2002 00:47:24 -0400:

>> [shipping files by the OMG with Classpath]
>The question has been routed through the FSF legal channels.

So, would it be fine for everyone to postpone this discussion until we
have an answer from them?

-- Sascha
   brawer at acm.org, http://www.coli.uni-sb.de/~brawer/





From robilad@yahoo.com Mon Oct 07 15:45:51 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ydp9-0004gd-00
	for classpath@gnu.org; Mon, 07 Oct 2002 15:45:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ydp6-0004do-00
	for classpath@gnu.org; Mon, 07 Oct 2002 15:45:50 -0400
Received: from web10003.mail.yahoo.com ([216.136.130.39])
	by monty-python.gnu.org with smtp (Exim 4.10)
	id 17ydp5-0004dI-00
	for classpath@gnu.org; Mon, 07 Oct 2002 15:45:47 -0400
Message-ID: <20021007194546.32339.qmail@web10003.mail.yahoo.com>
Received: from [62.251.245.114] by web10003.mail.yahoo.com via HTTP; Mon, 07 Oct 2002 12:45:46 PDT
Date: Mon, 7 Oct 2002 12:45:46 -0700 (PDT)
From: Dalibor Topic <robilad@yahoo.com>
Subject: Re: Classpath on linux-ppc
To: Brian Jones <cbj@gnu.org>, Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Cc: classpath@gnu.org
In-Reply-To: <m3fzvio29m.fsf@lyta.haphazard.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi Brian,

--- Brian Jones <cbj@gnu.org> wrote:
> Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> writes:
> 
> > Hi,
> > 
> > I'd like to contribute to the Classpath project
> but I'd like to know
> > if it is possible to use classpath on ppc? If yes,
> which compiler and
> > which runtime?
> > 
> > I have a Blue G3 at home with Debian GNU/Linux
> (sarge) and there is a
> > package named 'orp-classpath' but it seems like
> orp is not available
> > for ppc.
> > 
> > If someone can help, I'd be very interresting in
> contributing.
> 
> Except for Kaffe, which doesn't work with Classpath,
> I'm not aware of
> any of the other JVMs supporting PPC.  That said, I

JanosVM (kaffe-related) has an alpha version jit3 for
PowerPC-darwin i.e. MacOS X. It will get merged into
kaffe given some time and someone willing to work on
it.

best regards,

dalibor topic

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com



From mark@wildebeest.org Mon Oct 07 17:37:21 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yfZ3-0000xB-00
	for classpath@gnu.org; Mon, 07 Oct 2002 17:37:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yfYy-0000tb-00
	for classpath@gnu.org; Mon, 07 Oct 2002 17:37:20 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yfYy-0000sx-00
	for classpath@gnu.org; Mon, 07 Oct 2002 17:37:16 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17yfVX-0008Rr-00; Mon, 07 Oct 2002 23:33:43 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17yfVp-0002Iu-00; Mon, 07 Oct 2002 23:34:01 +0200
Subject: Re: Classpath on linux-ppc
From: Mark Wielaard <mark@klomp.org>
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Cc: classpath@gnu.org
In-Reply-To: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
References: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 07 Oct 2002 23:34:01 +0200
Message-Id: <1034026441.8758.26.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hoi,

On Mon, 2002-10-07 at 09:57, Arnaud Vandyck wrote:
> I'd like to contribute to the Classpath project but I'd like to know
> if it is possible to use classpath on ppc? If yes, which compiler and
> which runtime?

The easiest is to use gcj with libgcj. This works perfectly on PPC.
libgcj is based on GNU Classpath but a lot of merging work is still
needed. (See http://gcc.gnu.org/java/libgcj-classpath-compare.html)
Note that libgcj takes a lot of time (and disk space) to compile.
It is certainly not the nicest platform to do quick write, run, debug
cycles if you are hacking on the core libraries.

Kissme <http://kissme.sf.net/> is known to work on PPC with Classpath
and is easier to use. But the PPC support is not very well tested yet.
I got it running once, but have not yet done anything more then Hello
World with it. See for some issues I had then (that might already be
solved): <http://sourceforge.net/mailarchive/message.php?msg_id=2007709>

SableVM <http://sablevm.sf.net/> does not really work on PPC with
Classpath and is not that easy to setup. I have some patches for it to
get it to run "Hello World". But to be honest I don't understand that
much of PowerPC assembly to know that I got it all right. The patches
can be found on the mailinglist:
http://sourceforge.net/mailarchive/forum.php?thread_id=983089&forum_id=4154http://sourceforge.net/mailarchive/forum.php?thread_id=1006086&forum_id=4154
I don't believe they were ever merged into CVS.

> I have a Blue G3 at home with Debian GNU/Linux (sarge) and there is a
> package named 'orp-classpath' but it seems like orp is not available
> for ppc.

I have a PowerMac G3/233 running Debian GNU/Linux (woody, but with a
newer binutils to work with gcj from CVS, I believe sarge is newer then
woody so you should be good to go). I saw that there is now a Debian
kissme and sablevm package at least for x86. You might want to ask the
package maintainers if they can try to create a PPC version.

> If someone can help, I'd be very interresting in contributing.

Great! Let us know how it goes. Setting up Classpath plus VM is sadly
non-trivial and using a PPC machine makes it especially interesting.
But we would of course like your help.

Groetjes,

Mark



From green@redhat.com Mon Oct 07 20:46:22 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yiVy-0006CA-00
	for classpath@gnu.org; Mon, 07 Oct 2002 20:46:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yiVw-0006Br-00
	for classpath@gnu.org; Mon, 07 Oct 2002 20:46:21 -0400
Received: from mx2.redhat.com ([12.150.115.133])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yiVw-0006BT-00
	for classpath@gnu.org; Mon, 07 Oct 2002 20:46:20 -0400
Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26])
	by mx2.redhat.com (8.11.6/8.11.6) with ESMTP id g980irs21733;
	Mon, 7 Oct 2002 20:44:53 -0400
Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15])
	by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g980jEl25340;
	Mon, 7 Oct 2002 20:45:14 -0400
Received: from [10.120.223.227] (vpn50-7.rdu.redhat.com [172.16.50.7])
	by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g980jBw27484;
	Mon, 7 Oct 2002 17:45:12 -0700
Subject: Re: Classpath on linux-ppc
From: Anthony Green <green@redhat.com>
To: Mark Wielaard <mark@klomp.org>
Cc: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>, classpath@gnu.org
In-Reply-To: <1034026441.8758.26.camel@elsschot>
References: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be> 
	<1034026441.8758.26.camel@elsschot>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0.2 (1.0.2-0.7x) 
Date: 07 Oct 2002 17:45:15 -0700
Message-Id: <1034037918.2556.192.camel@dhcppc2>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

On Mon, 2002-10-07 at 14:34, Mark Wielaard wrote:
> The easiest is to use gcj with libgcj. This works perfectly on PPC.
> libgcj is based on GNU Classpath but a lot of merging work is still
> needed. (See http://gcc.gnu.org/java/libgcj-classpath-compare.html)
> Note that libgcj takes a lot of time (and disk space) to compile.
> It is certainly not the nicest platform to do quick write, run, debug
> cycles if you are hacking on the core libraries.

It's not so bad if you can do your development outside of libgcj.  For
instance, many new packages can be developed outside of libgcj and then
merge it in when you're happy (like a new javax.* package).  You can
also avoid native compilation and link times by testing with gij.

AG





From cbj@gnu.org Mon Oct 07 23:24:23 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ykys-0004l1-00
	for classpath@gnu.org; Mon, 07 Oct 2002 23:24:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ykyr-0004kg-00
	for classpath@gnu.org; Mon, 07 Oct 2002 23:24:22 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ykyr-0004kZ-00
	for classpath@gnu.org; Mon, 07 Oct 2002 23:24:21 -0400
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g983OWup020034
	for <classpath@gnu.org>; Mon, 7 Oct 2002 23:24:32 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Mon, 7 Oct 2002 23:24:19 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g983OKlB029345
	for <classpath@gnu.org>; Mon, 7 Oct 2002 23:24:20 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g983OKNB029341;
	Mon, 7 Oct 2002 23:24:20 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: GNU Classpath <classpath@gnu.org>
Subject: japicompat
From: Brian Jones <cbj@gnu.org>
Date: 07 Oct 2002 23:24:20 -0400
Message-ID: <m3k7kt1ul7.fsf@lyta.haphazard.org>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

All,

I wrote a simple script so I can do daily japicompat comparisons to
Java 2, 1.3.  Unfortunately wml appears to be falling into dis-repair
and cannot be compiled currently on my system so I'm having trouble
properly updating the web pages.  The url to the comparison is below,
updated nightly around 1AM EST.

http://www.gnu.org/software/classpath/classpath-jdk13-compare.txt
-- 
Brian Jones <cbj@gnu.org>



From arnaud.vandyck@ulg.ac.be Tue Oct 08 05:05:35 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yqJ5-0003xy-00
	for classpath@gnu.org; Tue, 08 Oct 2002 05:05:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yqIt-0003r4-00
	for classpath@gnu.org; Tue, 08 Oct 2002 05:05:34 -0400
Received: from aix6.segi.ulg.ac.be ([139.165.140.20])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yqIs-0003ig-00
	for classpath@gnu.org; Tue, 08 Oct 2002 05:05:22 -0400
Received: from localhost (vbstefi30.fapse.ulg.ac.be [139.165.77.48])
	by aix6.segi.ulg.ac.be (8.9.1a/8.9.0) with ESMTP id LAA16576
	for <classpath@gnu.org>; Tue, 8 Oct 2002 11:04:56 +0200
Date: Tue, 08 Oct 2002 11:04:55 +0200 (CEST)
Message-Id: <20021008.110455.88476798.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
Subject: Re: Classpath on linux-ppc
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <20021007184521.12413@smtp.mail.ch.easynet.net>
	<1034026441.8758.26.camel@elsschot>
	<1034037918.2556.192.camel@dhcppc2>
References: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
	<20021007184521.12413@smtp.mail.ch.easynet.net>
Organization: STE-FI, ULg
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
 ?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9
 ?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Sascha Brawer <brawer@acm.org> wrote:

> You can also use an unfree Java implementation (such as Apple's JDK
> 1.3 on MacOS X) to develop packages for Classpath.  Of course only
> as long as you only use public APIs, and never ever decompile or
> even look at the sources.

It's the one of IBM. But in this case, I prefer to use the debianized
Blackdown version (I am on Debian-ppc).

> > If someone can help, I'd be very interresting in contributing.
> 
> Thanks a lot! (I'm not a maintainer, but nobody else has said this
> so far...)

:-)

> >-- arnaud :: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
> 
> What package would you like to work on?
> 
> Looking at your web page, I could imagine you might be interested in
> the javax.xml.* tree, or (because of your SVG links) javax.print
> with an SVG StreamPrintService.  But of course, you'd be welcome to
> do anything!

Well, Sascha, yes, but I am not a guru! Not a C, C++, Assembly guru
and neither a Java guru, I just have the J2 programmer certification
and trying to pass the dev certification, but I did not study
computers at University!

Maybe I can begin with some documentation and why not a javax.*
package. What is needed? What is the task on the top of the todo list
for a new (beginner and) "helper"?

For clarification:

Mark Wielaard <mark@klomp.org> wrote:

> The easiest is to use gcj with libgcj. This works perfectly on PPC.
> libgcj is based on GNU Classpath but a lot of merging work is still
> needed. (See http://gcc.gnu.org/java/libgcj-classpath-compare.html)
> Note that libgcj takes a lot of time (and disk space) to compile.
> It is certainly not the nicest platform to do quick write, run,
> debug cycles if you are hacking on the core libraries.

Compiler

> Kissme <http://kissme.sf.net/> is known to work on PPC with Classpath
> and is easier to use. But the PPC support is not very well tested yet.
> I got it running once, but have not yet done anything more then Hello
> World with it. See for some issues I had then (that might already be
> solved): <http://sourceforge.net/mailarchive/message.php?msg_id=2007709>

Runtime (JVM)

> > I have a Blue G3 at home with Debian GNU/Linux (sarge) and there is a
> > package named 'orp-classpath' but it seems like orp is not available
> > for ppc.
> 
> I have a PowerMac G3/233 running Debian GNU/Linux (woody, but with a
> newer binutils to work with gcj from CVS, I believe sarge is newer then
> woody so you should be good to go). I saw that there is now a Debian
> kissme and sablevm package at least for x86. You might want to ask the
> package maintainers if they can try to create a PPC version.

I saw these packages but did not try to install on the G3. I'll check
the Debian's bts and maybe fill a 'which' bug.

> > If someone can help, I'd be very interresting in contributing.
> 
> Great! Let us know how it goes. Setting up Classpath plus VM is
> sadly non-trivial and using a PPC machine makes it especially
> interesting.  But we would of course like your help.

Anthony Green <green@redhat.com> wrote:

> It's not so bad if you can do your development outside of libgcj.
> For instance, many new packages can be developed outside of libgcj
> and then merge it in when you're happy (like a new javax.* package).
> You can also avoid native compilation and link times by testing with
> gij.

So maybe the first step would be to contribute even with a non-free
implementation of a jdk as Sascha and Anthony suggest. When
contribution is ok, I'll try to test it with gcj (for compilation) and
kissme (for runtime) as Mark suggest.

Am I right? Any other suggestions are welcome.

I'll check
<http://savannah.gnu.org/pm/task.php?group_id=85&set=custom&advsrch=0&group_project_id=0&_assigned_to=0&_status=1&SUBMIT=Browse>
to know where I can help, or maybe someon can suggest.

For the javax.xml.* packages, I thought AElfred's API was donated?

Thanks to everybody for welcome and suggestions.

-- arnaud :: http://vbstefi60.fapse.ulg.ac.be/~arnaud/



From brawer@acm.org Tue Oct 08 05:48:19 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17yqyR-00087U-00
	for classpath@gnu.org; Tue, 08 Oct 2002 05:48:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17yqyI-0007h8-00
	for classpath@gnu.org; Tue, 08 Oct 2002 05:48:16 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17yqyE-0007eV-00
	for classpath@gnu.org; Tue, 08 Oct 2002 05:48:06 -0400
Received: from [192.168.1.33] (196.234.dyn-adsl.customer.ch.easynet.net [217.8.196.234])
	by smtp1.mail.ch.easynet.net (Postfix) with ESMTP
	id B02194A294; Tue,  8 Oct 2002 11:48:03 +0200 (CEST)
From: Sascha Brawer <brawer@acm.org>
To: GNU Classpath <classpath@gnu.org>
Cc: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Subject: Re: Classpath on linux-ppc
Date: Tue, 8 Oct 2002 11:48:03 +0200
Message-Id: <20021008094803.24470@smtp.mail.ch.easynet.net>
In-Reply-To: <20021008.110455.88476798.arnaud.vandyck@ulg.ac.be>
References: <20021008.110455.88476798.arnaud.vandyck@ulg.ac.be>
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
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> wrote on Tue, 8 Oct
2002 11:04:55 +0200:

>I am not a guru [...] I did not study computers at University

I can't imagine how this could possibly be a problem.  Be welcome to
contribute to whatever you feel comfortable about.


>For the javax.xml.* packages, I thought AElfred's API was donated?

[1] says they still need all sorts of help. But I don't know anything
specific.

-- Sascha
   brawer at acm.org, http://www.coli.uni-sb.de/~brawer/


[1] http://www.gnu.org/software/classpathx/jaxp/jaxp.html#helpwanted





From nferrier@tapsellferrier.co.uk Tue Oct 08 07:00:02 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ys5q-0000NN-00
	for classpath@gnu.org; Tue, 08 Oct 2002 07:00:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ys5n-0000KR-00
	for classpath@gnu.org; Tue, 08 Oct 2002 07:00:00 -0400
Received: from host217-34-135-17.in-addr.btopenworld.com ([217.34.135.17] helo=tf1.tapsellferrier.co.uk)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ys5n-0000KB-00
	for classpath@gnu.org; Tue, 08 Oct 2002 06:59:59 -0400
Received: from [194.74.202.254] (helo=NFERRIER)
	by tf1.tapsellferrier.co.uk with esmtp (Exim 3.35 #1 (Debian))
	id 17ysO3-0005fG-00; Tue, 08 Oct 2002 12:18:51 +0100
To: Sascha Brawer <brawer@acm.org>
Cc: GNU Classpath <classpath@gnu.org>,
	  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Subject: Re: Classpath on linux-ppc
References: <20021008.110455.88476798.arnaud.vandyck@ulg.ac.be>
	<20021008094803.24470@smtp.mail.ch.easynet.net>
From: nferrier@tapsellferrier.co.uk
Date: 08 Oct 2002 12:01:19 +0100
In-Reply-To: <20021008094803.24470@smtp.mail.ch.easynet.net>
Message-ID: <uy999mby8.fsf@tapsellferrier.co.uk>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Sascha Brawer <brawer@acm.org> writes:

> Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> wrote on Tue, 8 Oct
> 2002 11:04:55 +0200:
> 
> >I am not a guru [...] I did not study computers at University
> 
> I can't imagine how this could possibly be a problem.  Be welcome to
> contribute to whatever you feel comfortable about.
> 
> 
> >For the javax.xml.* packages, I thought AElfred's API was donated?
> 
> [1] says they still need all sorts of help. But I don't know anything
> specific.

The GNU ClasspathX project's JAXP implementation is a derivative of
AElfred.



Nic




From jewel@pixie.co.za Tue Oct 08 07:18:36 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ysNo-0003d5-00
	for classpath@gnu.org; Tue, 08 Oct 2002 07:18:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ysNg-00039p-00
	for classpath@gnu.org; Tue, 08 Oct 2002 07:18:33 -0400
Received: from spamisevil.test.ie.vianw.net ([212.17.60.214] helo=lenny.elandtech.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ysNe-0002gl-00
	for classpath@gnu.org; Tue, 08 Oct 2002 07:18:26 -0400
Received: from [192.168.100.211] (helo=localhost.localdomain ident=jleuner)
	by lenny.elandtech.com with esmtp (Exim 3.35 #1 (Debian))
	id 17ys5a-0005jt-00; Tue, 08 Oct 2002 10:59:46 +0000
Subject: Re: Classpath on linux-ppc
From: John Leuner <jewel@pixie.co.za>
To: Mark Wielaard <mark@klomp.org>
Cc: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>, classpath@gnu.org
In-Reply-To: <1034026441.8758.26.camel@elsschot>
References: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be> 
	<1034026441.8758.26.camel@elsschot>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature";
	boundary="=-g2MyGj8vawdp7fmd4+zN"
X-Mailer: Ximian Evolution 1.0.5 
Date: 08 Oct 2002 12:10:39 +0100
Message-Id: <1034075440.13037.13976.camel@bapli>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

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

On Mon, 2002-10-07 at 22:34, Mark Wielaard wrote:
> Hoi,
>=20
> On Mon, 2002-10-07 at 09:57, Arnaud Vandyck wrote:
> > I'd like to contribute to the Classpath project but I'd like to know
> > if it is possible to use classpath on ppc? If yes, which compiler and
> > which runtime?
>=20
> Kissme <http://kissme.sf.net/> is known to work on PPC with Classpath
> and is easier to use. But the PPC support is not very well tested yet.
> I got it running once, but have not yet done anything more then Hello
> World with it. See for some issues I had then (that might already be
> solved): <http://sourceforge.net/mailarchive/message.php?msg_id=3D2007709=
>

I believe I have solved all these issues.=20

John Leuner


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

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

iD8DBQA9or0vXrnnKiKKOuQRAnAPAJ9MNOtF/56m16jNQKnbubN/r2Y87gCgsowW
kx3XJZ4aZ+vbbQfS20MnUro=
=2pXl
-----END PGP SIGNATURE-----

--=-g2MyGj8vawdp7fmd4+zN--




From arnaud.vandyck@ulg.ac.be Tue Oct 08 07:22:32 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ysRc-0000gr-00
	for classpath@gnu.org; Tue, 08 Oct 2002 07:22:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ysRa-0000gV-00
	for classpath@gnu.org; Tue, 08 Oct 2002 07:22:31 -0400
Received: from aix6.segi.ulg.ac.be ([139.165.140.20])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ysRZ-0000bA-00
	for classpath@gnu.org; Tue, 08 Oct 2002 07:22:29 -0400
Received: from localhost (vbstefi30.fapse.ulg.ac.be [139.165.77.48])
	by aix6.segi.ulg.ac.be (8.9.1a/8.9.0) with ESMTP id NAA31204
	for <classpath@gnu.org>; Tue, 8 Oct 2002 13:22:23 +0200
Date: Tue, 08 Oct 2002 13:22:23 +0200 (CEST)
Message-Id: <20021008.132223.65644443.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
Subject: classpath-x [was: Re: Classpath on linux-ppc]
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <uy999mby8.fsf@tapsellferrier.co.uk>
References: <20021008.110455.88476798.arnaud.vandyck@ulg.ac.be>
	<20021008094803.24470@smtp.mail.ch.easynet.net>
	<uy999mby8.fsf@tapsellferrier.co.uk>
Organization: STE-FI, ULg
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
 ?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9
 ?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

nferrier@tapsellferrier.co.uk wrote:

> The GNU ClasspathX project's JAXP implementation is a derivative of
> AElfred.

I am on all the classpathx's lists but -crypto :-)

I'll contact them to see if I can help.

-- arnaud :: http://vbstefi60.fapse.ulg.ac.be/~arnaud/



From tromey@redhat.com Tue Oct 08 18:18:40 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17z2gZ-0007KT-00
	for classpath@gnu.org; Tue, 08 Oct 2002 18:18:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17z2gX-0007Ju-00
	for classpath@gnu.org; Tue, 08 Oct 2002 18:18:38 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17z2gF-00070K-00; Tue, 08 Oct 2002 18:18:19 -0400
Received: from fleche.redhat.com (tz0178.peakpeak.com [207.174.69.178])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id QAA15427;
	Tue, 8 Oct 2002 16:18:16 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 4A4CF4F8079; Tue,  8 Oct 2002 16:13:30 -0600 (MDT)
To: Brian Jones <cbj@gnu.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: japicompat
References: <m3k7kt1ul7.fsf@lyta.haphazard.org>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution: Tom
X-Zippy: I don't know WHY I said that..  I think it came from the FILLINGS
 in my rear molars..
Date: 08 Oct 2002 16:13:30 -0600
In-Reply-To: <m3k7kt1ul7.fsf@lyta.haphazard.org>
Message-ID: <87smzgy3xx.fsf@fleche.redhat.com>
Lines: 8
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Brian" == Brian Jones <cbj@gnu.org> writes:

Brian> I wrote a simple script so I can do daily japicompat comparisons to
Brian> Java 2, 1.3.

Very cool, thanks.

Tom



From cbj@gnu.org Tue Oct 08 21:33:32 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17z5j9-0001Wk-00
	for classpath@gnu.org; Tue, 08 Oct 2002 21:33:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17z5j8-0001Vi-00
	for classpath@gnu.org; Tue, 08 Oct 2002 21:33:31 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17z5j7-0001Ti-00
	for classpath@gnu.org; Tue, 08 Oct 2002 21:33:29 -0400
Received: from mail8.nc.rr.com (fe8 [24.93.67.55])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g991XJiZ018592;
	Tue, 8 Oct 2002 21:33:19 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Tue, 8 Oct 2002 21:33:27 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g991XSlB032010;
	Tue, 8 Oct 2002 21:33:28 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g991XScI032006;
	Tue, 8 Oct 2002 21:33:28 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: tromey@redhat.com
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: japicompat
References: <m3k7kt1ul7.fsf@lyta.haphazard.org>
	<87smzgy3xx.fsf@fleche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 08 Oct 2002 21:33:27 -0400
In-Reply-To: <87smzgy3xx.fsf@fleche.redhat.com>
Message-ID: <m33crgv1js.fsf@lyta.haphazard.org>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Tom Tromey <tromey@redhat.com> writes:

> >>>>> "Brian" == Brian Jones <cbj@gnu.org> writes:
> 
> Brian> I wrote a simple script so I can do daily japicompat comparisons to
> Brian> Java 2, 1.3.
> 
> Very cool, thanks.

It's now linked from the home page.  Installed perl 5.6.1 to get WML
working again.  No response on my email to the WML list, may have to
look to switch to some other tool.

Brian
--
Brian Jones <cbj@gnu.org>



From hrmahesh_hassan@yahoo.com Wed Oct 09 07:50:05 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17zFLp-0002iZ-00
	for classpath@gnu.org; Wed, 09 Oct 2002 07:50:05 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17zFLn-0002i3-00
	for classpath@gnu.org; Wed, 09 Oct 2002 07:50:04 -0400
Received: from web40019.mail.yahoo.com ([66.218.78.59])
	by monty-python.gnu.org with smtp (Exim 4.10)
	id 17zFLn-0002hk-00
	for Classpath@gnu.org; Wed, 09 Oct 2002 07:50:03 -0400
Message-ID: <20021009115002.7033.qmail@web40019.mail.yahoo.com>
Received: from [202.54.91.65] by web40019.mail.yahoo.com via HTTP; Wed, 09 Oct 2002 04:50:02 PDT
Date: Wed, 9 Oct 2002 04:50:02 -0700 (PDT)
From: mahesh hr <hrmahesh_hassan@yahoo.com>
To: Classpath@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: (no subject)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Please don't send mail to my account from today onwards.

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com



From qiongc@cse.unsw.edu.au Tue Oct 08 19:55:39 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17z4CR-0001y5-00
	for classpath@gnu.org; Tue, 08 Oct 2002 19:55:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17z4CP-0001te-00
	for classpath@gnu.org; Tue, 08 Oct 2002 19:55:38 -0400
Received: from tone.orchestra.cse.unsw.edu.au ([129.94.242.28])
	by monty-python.gnu.org with smtp (Exim 4.10)
	id 17z4CO-0001tQ-00
	for classpath@gnu.org; Tue, 08 Oct 2002 19:55:36 -0400
Received: From
	cse.unsw.edu.au ([129.94.233.159] == wireless-159.wireless.cse.unsw.EDU.AU)
	(for <classpath@gnu.org>) By tone With Smtp ;
	Wed, 9 Oct 2002 09:55:32 +1000 
From: Qiong Cai <qiongc@cse.unsw.edu.au>
To: classpath@gnu.org
Date: Wed, 09 Oct 2002 09:54:48 +0000
Message-ID: <3DA3FCE8.40107@cse.unsw.edu.au>
Reply-To: qiongc@cse.unsw.edu.au
Organization: CSE, UNSW
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529
X-Accept-Language: en-us, en
MIME-Version: 1.0
Subject: tomcat and ORP
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi Classpath developers,

Can the tomcat/jboss run on ORP with current version
of classpath?

Thanks.


Qiong




From cbj@gnu.org Wed Oct 09 08:09:08 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17zFeG-0003r5-00
	for classpath@gnu.org; Wed, 09 Oct 2002 08:09:08 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17zFeE-0003py-00
	for classpath@gnu.org; Wed, 09 Oct 2002 08:09:07 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17zFeD-0003p5-00
	for classpath@gnu.org; Wed, 09 Oct 2002 08:09:05 -0400
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g99C8niZ023928;
	Wed, 9 Oct 2002 08:08:49 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Wed, 9 Oct 2002 08:08:57 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g99C8wlB007315;
	Wed, 9 Oct 2002 08:08:58 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g99C8wpF007311;
	Wed, 9 Oct 2002 08:08:58 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: qiongc@cse.unsw.edu.au
Cc: classpath@gnu.org
Subject: Re: tomcat and ORP
References: <3DA3FCE8.40107@cse.unsw.edu.au>
From: Brian Jones <cbj@gnu.org>
Date: 09 Oct 2002 08:08:58 -0400
In-Reply-To: <3DA3FCE8.40107@cse.unsw.edu.au>
Message-ID: <m3u1jvu84l.fsf@lyta.haphazard.org>
Lines: 15
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Qiong Cai <qiongc@cse.unsw.edu.au> writes:

> Hi Classpath developers,
> 
> Can the tomcat/jboss run on ORP with current version
> of classpath?

There are some patches submitted in Aug. that should allow that, but
some recent VM interface changes in our CVS make it unlikely ORP will
run with CVS classpath anyway.  I'll probably not get all the patches
in for a couple more weeks unless someone beats me to it.

Brian
-- 
Brian Jones <cbj@gnu.org>



From mark@wildebeest.org Thu Oct 10 08:45:16 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17zcgm-00014H-00
	for classpath@gnu.org; Thu, 10 Oct 2002 08:45:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17zcgj-00013Q-00
	for classpath@gnu.org; Thu, 10 Oct 2002 08:45:14 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17zcgi-00012y-00
	for classpath@gnu.org; Thu, 10 Oct 2002 08:45:13 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17zcco-0005rm-00; Thu, 10 Oct 2002 14:41:10 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17zcd8-0002QC-00; Thu, 10 Oct 2002 14:41:30 +0200
Subject: Re: Classpath on linux-ppc
From: Mark Wielaard <mark@klomp.org>
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Cc: classpath@gnu.org
In-Reply-To: <20021008.110455.88476798.arnaud.vandyck@ulg.ac.be>
References: <20021007.095702.59470475.arnaud.vandyck@ulg.ac.be>
	<20021007184521.12413@smtp.mail.ch.easynet.net> 
	<20021008.110455.88476798.arnaud.vandyck@ulg.ac.be>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 10 Oct 2002 14:41:27 +0200
Message-Id: <1034253687.6839.71.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Tue, 2002-10-08 at 11:04, Arnaud Vandyck wrote:
> For clarification:
> 
> Mark Wielaard <mark@klomp.org> wrote:
> 
> > The easiest is to use gcj with libgcj. This works perfectly on PPC.
> > libgcj is based on GNU Classpath but a lot of merging work is still
> > needed. (See http://gcc.gnu.org/java/libgcj-classpath-compare.html)
> > Note that libgcj takes a lot of time (and disk space) to compile.
> > It is certainly not the nicest platform to do quick write, run,
> > debug cycles if you are hacking on the core libraries.
> 
> Compiler

And Runtime! It also contains gij (GNU Interpreter for Java) for
interpreting bytecode and programs compiled to native code  are
completely self-contained since libgcj contains all necessary runtime
support.

> Anthony Green <green@redhat.com> wrote:
> 
> > It's not so bad if you can do your development outside of libgcj.
> > For instance, many new packages can be developed outside of libgcj
> > and then merge it in when you're happy (like a new javax.* package).
> > You can also avoid native compilation and link times by testing with
> > gij.
> 
> So maybe the first step would be to contribute even with a non-free
> implementation of a jdk as Sascha and Anthony suggest. When
> contribution is ok, I'll try to test it with gcj (for compilation) and
> kissme (for runtime) as Mark suggest.
> 
> Am I right? Any other suggestions are welcome.

When not working on the core classes I agree with Anthony that using gcj
as compiler (and runtime) is probably the easiest. (Especially when
working on a non-x86 platforms.) And if it works with gcj it will
probably work out of the box with any VM based on GNU Classpath.

Note that there is also jikes <http://www.jikes.org/> a free bytecode
compiler and Kaffe <http://www.kaffe.org/> a free bytecode interpreter
(but no jit yet) which includes another class library which can both be
used on Powerpc. Code written using jikes/kaffe should also work with
GNU Classpath based VMs (and if they don't that is a bug that we like to
hear about).

Cheers,

Mark




From mark@wildebeest.org Thu Oct 10 17:13:51 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17zkcw-00028T-00
	for classpath@gnu.org; Thu, 10 Oct 2002 17:13:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17zkcu-00026i-00
	for classpath@gnu.org; Thu, 10 Oct 2002 17:13:49 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17zkct-00025q-00
	for classpath@gnu.org; Thu, 10 Oct 2002 17:13:47 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17zkcX-0006hp-00
	for <classpath@gnu.org>; Thu, 10 Oct 2002 23:13:25 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 17zkcr-0003ta-00
	for <classpath@gnu.org>; Thu, 10 Oct 2002 23:13:45 +0200
Subject: Getting Mauve running with Classpath+gcj/jikes+kissme
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="=-CN2x6A5FQ7OHTNIv6VNc"
X-Mailer: Ximian Evolution 1.0.8 
Date: 10 Oct 2002 23:13:45 +0200
Message-Id: <1034284425.6967.272.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

--=-CN2x6A5FQ7OHTNIv6VNc
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

Here are some instructions for getting the Mauve testsuite running with
GNU Classpath+gcj/jikes+kissme. 

# The compiler
- Get a recent gcj (>= 3.2) or jikes (>= 1.15)
  (See http://gcc.gnu.org/ or http://www.jikes.org/)

# The class libraries
- Get recent GNU Classpath sources from CVS.
  (See http://savannah.gnu.org/cvs/?group=classpath)
- Do the magic auto* dance:
  aclocal; autoheader; automake; autoconf
- Do either ./configure --with-jikes --enable-jni
  or ./configure --with-gcj --enable-jni
  (note that you can specify a path e.g.
   --with-gcj=/usr/local/gcc/bin/gcj)
- make
- make install

# The runtime
- Get recent Kissme sources from CVS (or maybe a recent build).
  (See http://kissme.sourceforge.net/)
- Do the magic auto* dance (note the -a for automake):
  aclocal; autoheader; automake -a; autoconf
- ./configure --enable-use-zips --with-gnu-classpath=/path/to/src/classpath
- make
- Check that it works correctly:
  jikes/gcj -C helloworld.java
  useful_scripts/kissme helloworld
- Add the kissme script to your PATH.
- More checks:
  make build-hitme && make run-hitme
  (Only ThreadInterrupts should fail.)

# The test suite
- Get recent Mauve sources from CVS.
  (See http://sources.redhat.com/mauve/download.html)
- Create a new empty directory "mauve-test"
  next to your new mauve directory and go into it.
- Do either:
  JAVA=kissme JAVAC="gcj -C -bootclasspath /usr/local/classpath/share/classpath/glibj.zip"  ../mauve/configure
  or
  JAVA=kissme JAVAC="jikes -bootclasspath /usr/local/classpath/share/classpath/glibj.zip"  ../mauve/configure
- Add the attached file mauve-kissme to the mauve directory.
  (This tells the build which tests should/shouldn't be compiled/run.)
- Run the tests:
  make check "KEYS=kissme"
- If the compile or tests don't seem to pickup the correct classes try:
  rm .save-keys choices; make check "KEYS=kissme"
  To make sure all old config is gone.
- If you want to also see the tests that succeed do:
  make check "KEYS=kissme "TESTFLAGS=-verbose"
- To get more debug output do:
  make check "KEYS=kissme "TESTFLAGS=-verbose -debug"

At the moment you will get the following results:
158 of 6276 tests failed
(Some of these are known failures, some still have to be investigated.)

If you want to run just one particular test then do something like:
echo gnu.testlet.java.util.Random.basic | kissme gnu.testlet.SimpleTestHarness -verbose -debug

Note that if you have the gcc source you can also run the Mauve tests
for [lib]gcj by doing:
- MAUVEDIR=/path/to/unconfigured/mauve make check-target-libjava

Let me know if this works or if you have any trouble setting this up.

Cheers,

Mark

P.S. Make sure you #undef DEBUG in include/config.h from classpath after
configure. It is currently always set to 1 which generates a lot of
debug output when using Kissme which makes the Mauve results unreadable.
(See Bug/Patch #562)

--=-CN2x6A5FQ7OHTNIv6VNc
Content-Disposition: inline; filename=mauve-kissme
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=mauve-kissme; charset=ISO-8859-15

# Config file that tells mauve about the `kissme' tag.
JDK1.0
JDK1.1
JDK1.2
JDK1.3
JDK1.4
JLS1.0
JLS1.1
JLS1.2
JDBC2.0

# These 2 are tests that fail to compile with JDBC2.0 but the tags don't
# seem to have the right effect.
!java.sql.Connection.TestJdbc10
!java.sql.DatabaseMetaData.TestJdbc10

# We now implement JDBC3.0 which means the following tests don't compile
!java.sql.Blob.BlobTest
!java.sql.Clob.ClobTest
!java.sql.Connection.TestJdbc20
!java.sql.DatabaseMetaData.TestJdbc20

# Cannot be compiled
!java.text.ACIAttribute

# Character.unicode seems to be very broken (the test)
# Does not give meaningfull test results at the moment.
!java.lang.Character.unicode

# These are almost certainly buggy test cases.
# The behaviour of the garbarge collector cannot be predicted.
!java.lang.ref

# Strange behaviour (crash or hang)
!java.io.ObjectInputOutput

# Crashes when compiled with gcj
!java.lang.Math.min

# Not yet in GNU Classpath
!javax.naming.*

--=-CN2x6A5FQ7OHTNIv6VNc--



From mark@wildebeest.org Fri Oct 11 09:51:54 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 1800Co-0005lP-00
	for classpath@gnu.org; Fri, 11 Oct 2002 09:51:54 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 1800Cm-0005kZ-00
	for classpath@gnu.org; Fri, 11 Oct 2002 09:51:53 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 1800Cl-0005k7-00
	for classpath@gnu.org; Fri, 11 Oct 2002 09:51:51 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1800CP-0008A7-00
	for <classpath@gnu.org>; Fri, 11 Oct 2002 15:51:29 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 1800Cj-0005Xq-00
	for <classpath@gnu.org>; Fri, 11 Oct 2002 15:51:49 +0200
Subject: Re: Getting Mauve running with Classpath+gcj/jikes+kissme
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1034284425.6967.272.camel@elsschot>
References: <1034284425.6967.272.camel@elsschot>
Content-Type: multipart/mixed; boundary="=-4tcxZ4XkDpHQlbiebOSQ"
X-Mailer: Ximian Evolution 1.0.8 
Date: 11 Oct 2002 15:51:49 +0200
Message-Id: <1034344309.6967.375.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

--=-4tcxZ4XkDpHQlbiebOSQ
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

On Thu, 2002-10-10 at 23:13, Mark Wielaard wrote:
> - Add the attached file mauve-kissme to the mauve directory.
>   (This tells the build which tests should/shouldn't be compiled/run.)
> [...]
> At the moment you will get the following results:
> 158 of 6276 tests failed
> (Some of these are known failures, some still have to be investigated.)

Small update. I cleaned up some Mauve tests and it is now possible to
use this shorter mauve-kissme file (attached).

New results (i686-pc-linux-gnu): 160 of 6375 tests failed

Kissme on Powerpc also works fairly well, except for native functions
that use doubles as arguments.

Cheers,

Mark

--=-4tcxZ4XkDpHQlbiebOSQ
Content-Disposition: inline; filename=mauve-kissme
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=mauve-kissme; charset=ISO-8859-15

# Config file that tells mauve about the `kissme' tag.
JDK1.0
JDK1.1
JDK1.2
JDK1.3
JDK1.4
JLS1.0
JLS1.1
JLS1.2
JDBC1.0
JDBC2.0

# Character.unicode seems to be very broken (the test)
# Does not give meaningfull test results at the moment.
!java.lang.Character.unicode

# These are almost certainly buggy test cases.
# The behaviour of the garbarge collector cannot be predicted.
# Note the dot at the end, so we still test java.lang.reflect.
!java.lang.ref.

# Strange behaviour (crash or hang)
!java.io.ObjectInputOutput
!java.lang.reflect.Array.newInstance

# Crashes when compiled with gcj
!java.lang.Math.min

# Not yet in GNU Classpath
!javax.naming.*

--=-4tcxZ4XkDpHQlbiebOSQ--



From mark@wildebeest.org Fri Oct 11 12:28:29 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 1802eL-0002Bt-00
	for classpath@gnu.org; Fri, 11 Oct 2002 12:28:29 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 1802eJ-0002Bf-00
	for classpath@gnu.org; Fri, 11 Oct 2002 12:28:28 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 1802eI-0002BQ-00
	for classpath@gnu.org; Fri, 11 Oct 2002 12:28:27 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1802dw-0008QJ-00
	for <classpath@gnu.org>; Fri, 11 Oct 2002 18:28:04 +0200
Received: from mark by elsschot with local (Exim 3.36 #1 (Debian))
	id 1802eH-00065j-00
	for <classpath@gnu.org>; Fri, 11 Oct 2002 18:28:25 +0200
Subject: serialVersionUID (again)
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 11 Oct 2002 18:28:25 +0200
Message-Id: <1034353705.6967.439.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

There was a small discussion on java-patches@gcc.gnu.org (between Warren
Levy, Tom Tromey, Michael Koch, Eric Blake and myself) when some of the
newly added serialVersionUID fixes made by Michael were merged into
libgcj. Since I assume not everybody reads that list I give the summary
here (I hope one of the above people will correct me when I make a wrong
conclusion).

The specification for computing a Stream Unique Identifier
(serialVersionUID) when it is not declared in a class is given here:
http://java.sun.com/j2se/1.4.1/docs/guide/serialization/spec/class.doc6.html

This algorithm is implemented in java.io.ObjectStreamClass and for a
Serializable class you can get the serialVersionUID by calling:

	ObjectStreamClass.lookup(Class).getSerialVersionUID()

Warren Levy has made sure that our implementation gets all the corner
cases right (or at least does the same as the Sun version) and that gcj
generates class files that contain as much as possible the same method
names as the Sun javac compiler does.

So the rule for libgcj was: If the serialVersionUID is different from
that calculated by the SUN JDK, then figure out _why_ it's different and
fix either the compiler, or the class method names, or the
ObjectStreamClass implementation and only if all that fails add a
serialVersionUID and make sure to add a comment why it is necessary.

But when we recently discussed the issue on this list (and as pointed
out again by Eric Blake in the above discussion) the synthetic method
names generated by different java bytecode compilers for e.g. inner
classes access to private variables of their outer class or to implement
the SomeClass.class construct are note the same. (Eric gives a nice
example in the following email:
http://gcc.gnu.org/ml/java-patches/2002-q4/msg00036.html.)

And we currently use either jikes or GNU gcj to compile GNU Classpath
which don't generate the same accessor method names.

What I don't understand is why it is so hard to specify the actual
accessor methods. Does anybody know why they were never clearly
specified?

If both Tom Tromey and Eric Blake say that although theoretical
possible, it is too difficult for us to ensure compatibility in the free
compilers with the proprietary Sun javac naming scheme and other
synthetic stuff I think that are current policy (always add
serialVersionUID if the class is Serializable) is a good one.

What do others think? Should we try to reverse engineer the naming
scheme? Or do we keep the current policy? Or we could even ignore being
serializable compatible with the Sun JDK till this is clearly specified.

Cheers,

Mark



From ebb9@email.byu.edu Sat Oct 12 00:48:05 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 180EC5-0002Gn-00
	for classpath@gnu.org; Sat, 12 Oct 2002 00:48:05 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 180EC3-0002GP-00
	for classpath@gnu.org; Sat, 12 Oct 2002 00:48:04 -0400
Received: from email1.byu.edu ([128.187.22.133])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 180EC2-0002GK-00
	for classpath@gnu.org; Sat, 12 Oct 2002 00:48:03 -0400
Received: from email.byu.edu ([10.7.224.202])
 by EMAIL1.BYU.EDU (PMDF V6.1-1 #30538)
 with ESMTPA id <01KNK05XPKU88YALYH@EMAIL1.BYU.EDU> for classpath@gnu.org; Fri,
 11 Oct 2002 22:47:41 -0600 (MDT)
Date: Fri, 11 Oct 2002 22:48:29 -0600
From: Eric Blake <ebb9@email.byu.edu>
Subject: Re: serialVersionUID (again)
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org, java@gcc.gnu.org
Message-id: <3DA7A99D.6000706@email.byu.edu>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=us-ascii
Content-transfer-encoding: 7bit
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823
 Netscape/7.0
References: <1034353705.6967.439.camel@elsschot>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Your summary seemed good to me.

Mark Wielaard wrote:
> What I don't understand is why it is so hard to specify the actual
> accessor methods. Does anybody know why they were never clearly
> specified?

Partly because it was a hack added in JDK 1.1.  To maintain the most 
possible backward compatibility with 1.0, the whitepaper spec for adding 
inner classes gave recommendations for things like this$0 for the 
enclosing class, Outerclass$<num> for anonymous classes, class$(String) 
as the method to compute class literals, access$<num>() for accessors, 
and val$i for accessing a final local variable in a local class.  But 
none of these were set in stone, in an attempt to avoid polluting the 
user's namespace. Only one naming scheme was required, rather than 
recommended - and that was that member classes (such as Outer.Inner) be 
given the name Outer$Inner, because it affects how a compiler finds 
inner classes when referenced from other .java files. Likewise, the 
specification requires that non-private constructors of non-static 
member classes have an additional first parameter for the enclosing 
class (but parameter names are not specified).  All other 
compiler-generated names are local to a .java file, so the name chosen 
really doesn't matter.

In the 2nd edition JLS, this scheme was maintained - chapter 13 of the 
JLS specifies ONLY the naming scheme of member classes, and leaves 
everything else to the compiler.  It is up to the compiler to avoid name 
clashes with the user's code, and JLS2 does not prohibit a user from 
naming things in his class with names that would clash with the 
whitepaper suggested names.

(In my opinion, the choice of keeping '$' as a legal user identifier 
character is deplorable - if Sun had truly wanted to keep compiler names 
and user names separate, they should have given the compiler a unique 
character or namespace for naming synthetic constructs).

> 
> If both Tom Tromey and Eric Blake say that although theoretical
> possible, it is too difficult for us to ensure compatibility in the free
> compilers with the proprietary Sun javac naming scheme and other
> synthetic stuff I think that are current policy (always add
> serialVersionUID if the class is Serializable) is a good one.
> 
> What do others think? Should we try to reverse engineer the naming
> scheme? Or do we keep the current policy? Or we could even ignore being
> serializable compatible with the Sun JDK till this is clearly specified.

I don't think it ever will be clearly specified what accessor methods 
must be named - I think it is up to the compiler to choose its naming 
scheme.

And, if I am correct about compiling the Foo.class literal, jikes will 
never compile serial versions compatibly with javac, because jikes 
relies on class$(String, boolean) to avoid initializing the class, 
whereas javac is still using class$(String) and incorrectly initializing 
classes when evaluating the .class literal.

So I am okay with the proposal to always add a serialVersionUID to all 
Classpath files (with libgcj, I'm not as sure that it is necessary, 
except for the hassle of maintaining two sources).  But I may be a bit 
biased, so I look forward to other's views on the matter.

-- 
This signature intentionally left boring.

Eric Blake             ebb9@email.byu.edu
   BYU student, free software programmer





From WarrenL@cruzio.com Sun Oct 13 02:22:55 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 180c9P-0002Di-00
	for classpath@gnu.org; Sun, 13 Oct 2002 02:22:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 180c9N-0002Bw-00
	for classpath@gnu.org; Sun, 13 Oct 2002 02:22:54 -0400
Received: from mail.cruzio.com ([63.249.95.37])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 180c9N-0002Bp-00
	for classpath@gnu.org; Sun, 13 Oct 2002 02:22:53 -0400
Received: from cruzio.com (dsl3-63-249-87-141.cruzio.com [63.249.87.141])
	by mail.cruzio.com with ESMTP id XAA00515;
	Sat, 12 Oct 2002 23:22:50 -0700 (PDT)
Message-ID: <3DA9120A.33A37625@cruzio.com>
Date: Sat, 12 Oct 2002 23:26:18 -0700
From: Warren Levy <WarrenL@cruzio.com>
X-Mailer: Mozilla 4.79 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Eric Blake <ebb9@email.byu.edu>
CC: Mark Wielaard <mark@klomp.org>, classpath@gnu.org, java@gcc.gnu.org
Subject: Re: serialVersionUID (again)
References: <1034353705.6967.439.camel@elsschot> <3DA7A99D.6000706@email.byu.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Eric Blake wrote:
> 
> Your summary seemed good to me.

Agreed.

> Mark Wielaard wrote:
> >
> > If both Tom Tromey and Eric Blake say that although theoretical
> > possible, it is too difficult for us to ensure compatibility in the free
> > compilers with the proprietary Sun javac naming scheme and other
> > synthetic stuff I think that are current policy (always add
> > serialVersionUID if the class is Serializable) is a good one.
> >
> > What do others think? Should we try to reverse engineer the naming
> > scheme? Or do we keep the current policy? Or we could even ignore being
> > serializable compatible with the Sun JDK till this is clearly specified.
...
> So I am okay with the proposal to always add a serialVersionUID to all
> Classpath files (with libgcj, I'm not as sure that it is necessary,
> except for the hassle of maintaining two sources).  But I may be a bit
> biased, so I look forward to other's views on the matter.

Maintaining 2 sources would be too big a hassle IMO; unfortunately, Java 
doesn't support any kind of conditional preprocessing like #ifdef which would 
make it easy for Classpath and libgcj to each have it their way.

Though I would have prefered only adding serialVersionUID when necessary,
I understand the need in Classpath and I'd much prefer avoiding divergence.
I very strongly suggest though that people *carefully* check/ensure
serialization compatibility when adding serialVersionUID so as not to mask 
any underlying serialization problems in the class.

This might be easier for libgcj folks who can check the computed value
which in the majority of cases will be the correct value.  Others might have 
to resort to empirical testing with the JDK to check for compatibility :-(
(which is what I had to do when the serialVersionUID's didn't match).
--warrenl



From jewel@pixie.co.za Tue Oct 15 13:57:51 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 181Vx1-0006NC-00
	for classpath@gnu.org; Tue, 15 Oct 2002 13:57:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 181Vwz-0006LM-00
	for classpath@gnu.org; Tue, 15 Oct 2002 13:57:50 -0400
Received: from spamisevil.test.ie.vianw.net ([212.17.60.214] helo=lenny.elandtech.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 181Vwy-0006I9-00
	for classpath@gnu.org; Tue, 15 Oct 2002 13:57:48 -0400
Received: from [192.168.100.211] (helo=localhost.localdomain ident=jleuner)
	by lenny.elandtech.com with esmtp (Exim 3.35 #1 (Debian))
	id 181Vf1-0000TG-00; Tue, 15 Oct 2002 17:39:15 +0000
Subject: Updates to GNU Classpath port of JRVM
From: John Leuner <jewel@pixie.co.za>
To: jikesrvm-researchers@www-124.ibm.com
Cc: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature";
	boundary="=-f0LAoIwrIqbQnwIwu4j3"
X-Mailer: Ximian Evolution 1.0.5 
Date: 15 Oct 2002 18:50:00 +0100
Message-Id: <1034704201.31752.1695.camel@bapli>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

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

I've updated the files necessary to get a working bootimage out of JRVM
2.1.1 (latest CVS) and GNU Classpath (latest CVS) at:=20

http://people.debian.org/~jewel//jikes/jikesport/2.1.1CVS/port.html

As part of this I also created a debian package for the Jikes java
source compiler 1.13 patched with patch 62.=20

http://people.debian.org/~jewel/jikes/jikesport/2.1.1CVS/jikes1.13/jikes_1.=
13patched-1_i386.deb

I've also created a rough .deb package of JRVM and GNU Classpath, see
the files in:

http://people.debian.org/~jewel//jikes/jikesport/2.1.1CVS/

If anyone is interested in producing powerpc/linux images and .deb files
I would be very interested.

I'm also looking for someone to host an 'autobuilder' and perhaps run
nightly regression tests (starting with mauve and maybe others).

John Leuner


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

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

iD8DBQA9rFVIXrnnKiKKOuQRAvJ+AKDUbk1bZPsD//avzX2TjtOLVOf/7ACggut5
uMk3CCokDG95kDUjE2HXWPQ=
=8B0l
-----END PGP SIGNATURE-----

--=-f0LAoIwrIqbQnwIwu4j3--




From cbj@gnu.org Tue Oct 15 20:47:18 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 181cLG-0006qf-00
	for classpath@gnu.org; Tue, 15 Oct 2002 20:47:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 181cLF-0006qP-00
	for classpath@gnu.org; Tue, 15 Oct 2002 20:47:18 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 181cLE-0006pK-00
	for classpath@gnu.org; Tue, 15 Oct 2002 20:47:16 -0400
Received: from mail6.nc.rr.com (fe6 [24.93.67.53])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9G0l2iZ001888;
	Tue, 15 Oct 2002 20:47:02 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail6.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Tue, 15 Oct 2002 20:47:15 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9G0lElB016896;
	Tue, 15 Oct 2002 20:47:14 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9G0lCCh016892;
	Tue, 15 Oct 2002 20:47:12 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: John Leuner <jewel@pixie.co.za>
Cc: jikesrvm-researchers@www-124.southbury.usf.ibm.com, classpath@gnu.org
Subject: Re: Updates to GNU Classpath port of JRVM
References: <1034704201.31752.1695.camel@bapli>
From: Brian Jones <cbj@gnu.org>
Date: 15 Oct 2002 20:47:12 -0400
In-Reply-To: <1034704201.31752.1695.camel@bapli>
Message-ID: <m3fzv7qkfj.fsf@lyta.haphazard.org>
Lines: 21
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

John Leuner <jewel@pixie.co.za> writes:

> I've updated the files necessary to get a working bootimage out of JRVM
> 2.1.1 (latest CVS) and GNU Classpath (latest CVS) at: 
> 
> http://people.debian.org/~jewel//jikes/jikesport/2.1.1CVS/port.html

John, what prevents us from incorporating the necessary changes into
Classpath CVS?  I'll assume we're talking a compilation/packaging
issue until I get more time to look at this.

> I'm also looking for someone to host an 'autobuilder' and perhaps run
> nightly regression tests (starting with mauve and maybe others).

I'm looking to do the same for Kissme, maybe others if they work with
Classpath CVS.  I'll let the list know when I've done Kissme and
getting the other one in there shouldn't be difficult.

Brian
-- 
Brian Jones <cbj@gnu.org>



From mark@klomp.org Fri Oct 18 16:49:15 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182e3X-0007Io-00
	for classpath@gnu.org; Fri, 18 Oct 2002 16:49:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182e3V-0007Hy-00
	for classpath@gnu.org; Fri, 18 Oct 2002 16:49:14 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182e3U-0007HP-00
	for classpath@gnu.org; Fri, 18 Oct 2002 16:49:13 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 182e32-0007Oz-00
	for <classpath@gnu.org>; Fri, 18 Oct 2002 22:48:44 +0200
Subject: Re: Intel's patch submission...
From: Mark Wielaard <mark@klomp.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <m3smztapnn.fsf@lyta.haphazard.org>
References: <m3smztapnn.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 18 Oct 2002 22:49:09 +0200
Message-Id: <1034974150.963.187.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Sat, 2002-09-28 at 21:18, Brian Jones wrote:
> All, I've reformatted the Intel patch submission using a few command
> line tricks.  I've attached the result here, let me know if you plan
> to work on any part of this.

I merged in the first batch:

2002-10-18  Mark Wielaard  <mark@klomp.org>

  Merged patches from Wu Gansha <gansha.wu@intel.com>:
  * gnu/java/io/PlatformHelper.java (INITIAL_MAX_PATH): new constant.
  (toCanonicalForm): Use new constant to optimize StringBuffer usage.
  Return lowercase path when isWindows == true.
  * gnu/java/lang/SystemClassLoader.java (classpath): New static field.
  (pathinfos): Likewise.
  (getSystemResource): Refactored, cache partial result for each path
  item in classpath.
  * gnu/java/net/protocol/file/Handler.java (toExternalForm): New
  method implementation specific to file protocol.
  * gnu/java/net/protocol/http/HttpURLConnection.java
  (buffered_out_stream): New field.
  (connect): Don't set in_stream, wrap out_stream BufferedOutputStream.
  Move sending request and receiveing reesponce to new methods.
  (sendRequest): New method.
  (receiveReply): Likewise.
  (setRequestMethod): Accept "POST".
  (getInputStream): When in_stream == null, call SendRequest() and
  ReceiveReply().
  (getOutputStream): New method.
  * gnu/java/net/protocol/jar/Handler.java (toExternalForm): New
  optimized method.
  * gnu/java/net/protocol/jar/JarURLConnection.java (getContentLength):
  New method.
  * java/net/URL.java (URL): Remove toLowerCase() when calling this().
  * java/net/URLConnection.java (req_props): Made final, set in
  constructor using Hashtable(Map).
  (setRequestProperty): Not synchronized.
  (getRequestProperties): New method.
  * java/net/URLStreamHandler (toExternalForm): Use StringBuffer.

No new Mauve regressions (after fixing a small thing in file Handler)
and a few new PASSes in the URLTest. But this was mostly optimization
code. Will look at the rest of java.net next and then the java.lang
things.

Cheers,

Mark




From cbj@gnu.org Fri Oct 18 17:55:16 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182f5Q-0006kO-00
	for classpath@gnu.org; Fri, 18 Oct 2002 17:55:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182f5O-0006jy-00
	for classpath@gnu.org; Fri, 18 Oct 2002 17:55:15 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182f5N-0006jr-00
	for classpath@gnu.org; Fri, 18 Oct 2002 17:55:13 -0400
Received: from mail6.nc.rr.com (fe6 [24.93.67.53])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9ILsuiZ005174;
	Fri, 18 Oct 2002 17:54:56 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail6.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Fri, 18 Oct 2002 17:55:12 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9ILtDA9029829;
	Fri, 18 Oct 2002 17:55:13 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9ILtAWJ029825;
	Fri, 18 Oct 2002 17:55:10 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: John Leuner <jewel@pixie.co.za>
Cc: jikesrvm-core@www-124.southbury.usf.ibm.com, classpath@gnu.org
Subject: Re: Updates to GNU Classpath port of JRVM
References: <1034704201.31752.1695.camel@bapli>
	<m3fzv7qkfj.fsf@lyta.haphazard.org>
	<1034850970.31729.1718.camel@bapli>
From: Brian Jones <cbj@gnu.org>
Date: 18 Oct 2002 17:55:10 -0400
In-Reply-To: <1034850970.31729.1718.camel@bapli>
Message-ID: <m31y6nbef5.fsf@lyta.haphazard.org>
Lines: 83
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

John Leuner <jewel@pixie.co.za> writes:

> > > I've updated the files necessary to get a working bootimage out of JRVM
> > > 2.1.1 (latest CVS) and GNU Classpath (latest CVS) at: 
> > > 
> > > http://people.debian.org/~jewel//jikes/jikesport/2.1.1CVS/port.html
> > 
> > John, what prevents us from incorporating the necessary changes into
> > Classpath CVS?  I'll assume we're talking a compilation/packaging
> > issue until I get more time to look at this.
> 
> There are two parts:
> 
> 1. The VM-specific files. Ideally these would go into the JRVM CVS tree,
> but I fear there are licensing issues.

Yes, but we can include them if need be.  Certainly if jikesrvm want to
keep this working they would I think want or demand to keep them...

> 2. The modified Classpath files. I believe that to include these we
> would have to do some kind of preprocessing of the .java files. 
> 
> The JRVM people have written their own preprocessor to handle this task
> (see rvm/src/tools/preprocessor/preprocessModifiedFiles.C). I think we
> could use the same tool.
> 
> It understands these directives:
> 
> // The following preprocessor directives are recognized in source files:
> //    //-#if    <name>
> //    //-#elif  <name>
> //    //-#else  <optional-comment>
> //    //-#endif <optional-comment>
> 
> I suppose it's also possible to use cpp, I don't know if it would choke
> on anything in the .java source.

cpp works just fine on .java source as far as I can tell.  I've seen
it used elsewhere for such things.  As the build already looks into
builddir for source (produced from srcdir via configure for instance)
then adding this shouldn't be hard, probably change the order of
compilation to look in 'lib' after going through all the .java source
directories, 'java', 'javax', and 'gnu'.  In those add the cpp rules
to Makefile.am.

> I don't think there are any other obstacles to incorporating this into
> CVS.
> 
> The JRVM code base is still under development and although there is a
> 'library' interface between Classpath and JRVM, there might still be
> maintenance work to be done to keep the two CVS trees in sync. 

There is maintenance work with every JVM... any time we change the JVM
interface we introduce that work ourselves.

> > > I'm also looking for someone to host an 'autobuilder' and perhaps run
> > > nightly regression tests (starting with mauve and maybe others).
> > 
> > I'm looking to do the same for Kissme, maybe others if they work with
> > Classpath CVS.  I'll let the list know when I've done Kissme and
> > getting the other one in there shouldn't be difficult.
> 
> Great. Do you have a machine where you can have this run every night and
> produce binaries?

I can run it on my machine for now... I don't have anything suitable
for distribution of binaries at the moment, so producing them is
somewhat useless except to perform tests and product test results.

> For JRVM an autobuilder would have to be a beefy machine. Building the
> basebase image (which is what I mostly do with the port) needs a machine
> with 512MB ram and will take roughly 5 minutes of CPU time. 

Shouldn't be a problem.  I don't use my machine when I'm sleeping.

> Building the image with the optimising compiler, (which we'll do at a
> later stage), will take a substantial amount of time and lots of RAM.

Maybe I'll get more RAM if it becomes a problem.

Brian
-- 
Brian Jones <cbj@gnu.org>



From cbj@gnu.org Fri Oct 18 20:14:25 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182hG5-0001fz-00
	for classpath@gnu.org; Fri, 18 Oct 2002 20:14:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182hG2-0001fC-00
	for classpath@gnu.org; Fri, 18 Oct 2002 20:14:24 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182hG2-0001er-00
	for classpath@gnu.org; Fri, 18 Oct 2002 20:14:22 -0400
Received: from mail7.nc.rr.com (fe7 [24.93.67.54])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9J0E7iZ014478;
	Fri, 18 Oct 2002 20:14:07 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Fri, 18 Oct 2002 20:14:01 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9J0ENA9000531;
	Fri, 18 Oct 2002 20:14:23 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9J0ENmx000527;
	Fri, 18 Oct 2002 20:14:23 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org
Subject: Re: Getting Mauve running with Classpath+gcj/jikes+kissme
References: <1034284425.6967.272.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 18 Oct 2002 20:14:23 -0400
In-Reply-To: <1034284425.6967.272.camel@elsschot>
Message-ID: <m3r8enjnds.fsf@lyta.haphazard.org>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> # The runtime
> - Get recent Kissme sources from CVS (or maybe a recent build).
>   (See http://kissme.sourceforge.net/)
> - Do the magic auto* dance (note the -a for automake):
>   aclocal; autoheader; automake -a; autoconf
> - ./configure --enable-use-zips --with-gnu-classpath=/path/to/src/classpath

This didn't work for me, _KISSME_TEST_CLASSPATH_DIR checks for
$1/kissme/vm/loaoders/JarClassLoader.{java,class} and classpath has
neither.  Also specifying the source directory will not let it find
java/lang/Class.java, this is in vm/reference/... instead, so I don't
get the test for the kissme class loader or I'd use the
kcp_status=binary.

Brian
-- 
Brian Jones <cbj@gnu.org>



From konqueror@gmx.de Sat Oct 19 02:34:42 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182nC1-0000cJ-00
	for classpath@gnu.org; Sat, 19 Oct 2002 02:34:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182nBz-0000bm-00
	for classpath@gnu.org; Sat, 19 Oct 2002 02:34:36 -0400
Received: from mail2.ewetel.de ([212.6.122.20])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182nBz-0000bN-00
	for classpath@gnu.org; Sat, 19 Oct 2002 02:34:35 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-69-047.ewetel.net [80.228.69.47])
	by mail2.ewetel.de (8.12.1/8.12.1) with ESMTP id g9J6Y1Tl005803;
	Sat, 19 Oct 2002 08:34:02 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.100])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 182nBR-0005fE-00; Sat, 19 Oct 2002 08:34:01 +0200
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: Intel's patch submission...
Date: Sat, 19 Oct 2002 06:39:27 +0200
User-Agent: KMail/1.4.7
References: <m3smztapnn.fsf@lyta.haphazard.org> <1034974150.963.187.camel@elsschot>
In-Reply-To: <1034974150.963.187.camel@elsschot>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200210190639.27594.konqueror@gmx.de>
X-CheckCompat: OK
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Am Freitag, 18. Oktober 2002 22:49 schrieb Mark Wielaard:

> No new Mauve regressions (after fixing a small thing in file
> Handler) and a few new PASSes in the URLTest. But this was mostly
> optimization code. Will look at the rest of java.net next and then
> the java.lang things.

Please dont look into java.net yet. I have SOME things here to merge=20
with libgcj already on my disk. Let me commit it first.

Michael
=2D-=20
Homepage: http://www.worldforge.org/
GPG-key: http://konqueror.dyndns.org/~mkoch/michael.gpg




From jewel@pixie.co.za Sat Oct 19 03:27:08 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182o0q-00064H-00
	for classpath@gnu.org; Sat, 19 Oct 2002 03:27:08 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182bTZ-0004xc-00
	for classpath@gnu.org; Fri, 18 Oct 2002 14:04:00 -0400
Received: from gnudist.gnu.org ([199.232.41.7])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182bTR-0004dE-00; Fri, 18 Oct 2002 14:03:49 -0400
Received: from spamisevil.test.ie.vianw.net ([212.17.60.214] helo=lenny.elandtech.com)
	by gnudist.gnu.org with esmtp (Exim 4.10)
	id 1828E1-0007Iq-00; Thu, 17 Oct 2002 06:49:58 -0400
Received: from [192.168.100.211] (helo=localhost.localdomain ident=jleuner)
	by lenny.elandtech.com with esmtp (Exim 3.35 #1 (Debian))
	id 1827qI-0002hI-00; Thu, 17 Oct 2002 10:25:26 +0000
Subject: Re: Updates to GNU Classpath port of JRVM
From: John Leuner <jewel@pixie.co.za>
To: Brian Jones <cbj@gnu.org>
Cc: jikesrvm-core@www-124.southbury.usf.ibm.com, classpath@gnu.org
In-Reply-To: <m3fzv7qkfj.fsf@lyta.haphazard.org>
References: <1034704201.31752.1695.camel@bapli> 
	<m3fzv7qkfj.fsf@lyta.haphazard.org>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature";
	boundary="=-rZ/wR09RtvoZO8DKkb1G"
X-Mailer: Ximian Evolution 1.0.5 
Date: 17 Oct 2002 11:36:09 +0100
Message-Id: <1034850970.31729.1718.camel@bapli>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

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

> > I've updated the files necessary to get a working bootimage out of JRVM
> > 2.1.1 (latest CVS) and GNU Classpath (latest CVS) at:=20
> >=20
> > http://people.debian.org/~jewel//jikes/jikesport/2.1.1CVS/port.html
>=20
> John, what prevents us from incorporating the necessary changes into
> Classpath CVS?  I'll assume we're talking a compilation/packaging
> issue until I get more time to look at this.

There are two parts:

1. The VM-specific files. Ideally these would go into the JRVM CVS tree,
but I fear there are licensing issues.

2. The modified Classpath files. I believe that to include these we
would have to do some kind of preprocessing of the .java files.=20

The JRVM people have written their own preprocessor to handle this task
(see rvm/src/tools/preprocessor/preprocessModifiedFiles.C). I think we
could use the same tool.

It understands these directives:

// The following preprocessor directives are recognized in source files:
//    //-#if    <name>
//    //-#elif  <name>
//    //-#else  <optional-comment>
//    //-#endif <optional-comment>

I suppose it's also possible to use cpp, I don't know if it would choke
on anything in the .java source.
=20
I don't think there are any other obstacles to incorporating this into
CVS.

The JRVM code base is still under development and although there is a
'library' interface between Classpath and JRVM, there might still be
maintenance work to be done to keep the two CVS trees in sync.=20

> > I'm also looking for someone to host an 'autobuilder' and perhaps run
> > nightly regression tests (starting with mauve and maybe others).
>=20
> I'm looking to do the same for Kissme, maybe others if they work with
> Classpath CVS.  I'll let the list know when I've done Kissme and
> getting the other one in there shouldn't be difficult.

Great. Do you have a machine where you can have this run every night and
produce binaries?

For JRVM an autobuilder would have to be a beefy machine. Building the
basebase image (which is what I mostly do with the port) needs a machine
with 512MB ram and will take roughly 5 minutes of CPU time.=20

Building the image with the optimising compiler, (which we'll do at a
later stage), will take a substantial amount of time and lots of RAM.

John Leuner


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

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

iD8DBQA9rpKZXrnnKiKKOuQRAv6AAKCotopjGQM/PUJgWGw2ZZLZRj8ieQCg0sZg
UXKYSVgj9eB5/v0pPh8vNyw=
=Sp/n
-----END PGP SIGNATURE-----

--=-rZ/wR09RtvoZO8DKkb1G--




From mark@klomp.org Sat Oct 19 03:41:13 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182oES-0001fB-00
	for classpath@gnu.org; Sat, 19 Oct 2002 03:41:12 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182oEQ-0001e9-00
	for classpath@gnu.org; Sat, 19 Oct 2002 03:41:11 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182oEO-0001d1-00; Sat, 19 Oct 2002 03:41:08 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 182oDv-0008Px-00; Sat, 19 Oct 2002 09:40:39 +0200
Subject: Re: Getting Mauve running with Classpath+gcj/jikes+kissme
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
Cc: classpath@gnu.org
In-Reply-To: <m3r8enjnds.fsf@lyta.haphazard.org>
References: <1034284425.6967.272.camel@elsschot> 
	<m3r8enjnds.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 19 Oct 2002 09:41:04 +0200
Message-Id: <1035013265.5968.204.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Sat, 2002-10-19 at 02:14, Brian Jones wrote:
> Mark Wielaard <mark@klomp.org> writes:
> 
> > # The runtime
> > - Get recent Kissme sources from CVS (or maybe a recent build).
> >   (See http://kissme.sourceforge.net/)
> > - Do the magic auto* dance (note the -a for automake):
> >   aclocal; autoheader; automake -a; autoconf
> > - ./configure --enable-use-zips --with-gnu-classpath=/path/to/src/classpath
> 
> This didn't work for me, _KISSME_TEST_CLASSPATH_DIR checks for
> $1/kissme/vm/loaoders/JarClassLoader.{java,class} and classpath has
> neither.  Also specifying the source directory will not let it find
> java/lang/Class.java, this is in vm/reference/... instead, so I don't
> get the test for the kissme class loader or I'd use the
> kcp_status=binary.

Those classes can be found in the kissme/classes directory which
configure should find.

Note that I configured kissme inside the source dir, maybe it doesn't
configure well when configuring from a different dir?

Cheers,

Mark




From mark@klomp.org Sat Oct 19 04:08:31 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182oes-0000Wt-00
	for classpath@gnu.org; Sat, 19 Oct 2002 04:08:30 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182oeq-0000WP-00
	for classpath@gnu.org; Sat, 19 Oct 2002 04:08:30 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182oeq-0000W8-00
	for classpath@gnu.org; Sat, 19 Oct 2002 04:08:28 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 182oLM-0008QB-00; Sat, 19 Oct 2002 09:48:20 +0200
Subject: Re: Intel's patch submission...
From: Mark Wielaard <mark@klomp.org>
To: Michael Koch <konqueror@gmx.de>
Cc: GNU Classpath <classpath@gnu.org>
In-Reply-To: <200210190639.27594.konqueror@gmx.de>
References: <m3smztapnn.fsf@lyta.haphazard.org>
	<1034974150.963.187.camel@elsschot>  <200210190639.27594.konqueror@gmx.de>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 19 Oct 2002 09:48:45 +0200
Message-Id: <1035013726.965.213.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Sat, 2002-10-19 at 06:39, Michael Koch wrote:
> Am Freitag, 18. Oktober 2002 22:49 schrieb Mark Wielaard:
> 
> > Will look at the rest of java.net next and then the java.lang things.
> 
> Please dont look into java.net yet. I have SOME things here to merge 
> with libgcj already on my disk. Let me commit it first.

OK, no problem. There is enough to merge for everybody :)
Let me know when you are done or if the remaining java.net changes
do/don't interfere with your work:

- Refocator InetAddress.
- URLEn/Decoder speedups.
- URLClassLoader rewrite for caching (negative) results.

Cheers,

Mark




From mark@klomp.org Sat Oct 19 04:13:21 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182ojZ-0001zB-00
	for classpath@gnu.org; Sat, 19 Oct 2002 04:13:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182ojX-0001yg-00
	for classpath@gnu.org; Sat, 19 Oct 2002 04:13:20 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182ojX-0001yR-00
	for classpath@gnu.org; Sat, 19 Oct 2002 04:13:19 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 182oj1-0008Uy-00; Sat, 19 Oct 2002 10:12:47 +0200
Subject: java.util.zip.InflaterInputStream patch
From: Mark Wielaard <mark@klomp.org>
To: "Wu, Gansha" <gansha.wu@intel.com>
Cc: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 19 Oct 2002 10:13:12 +0200
Message-Id: <1035015193.963.223.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

I am slowly integrating the Intel Orp patches and had a question on the
following change:

* classpath/java/util/zip/InflaterInputStream.java: a small fix for
native zlib.

--- java/util/zip/InflaterInputStream.java    Fri Jan 25 23:01:09 2002
+++ java/util/zip/InflaterInputStream.java    Mon Jul 15 17:06:52 2002
@@ -202,7 +202,15 @@
        else if (inf.finished())
          return -1;
        else if (inf.needsInput())
+      {
          fill();
+        if (len == 0)
+        { 
+          //add a padding byte, 
+          //it's necessary when using native zlib
+          ++len;
+        }
+      }
        else
          throw new InternalError("Don't know what to do");
       }

When is this needed? GNU Classpath now contains a pure java
java.util.zip package so it doesn't seem to be necessary. When does this
situation that fill() returns zero bytes occur? If you have an example
zip file or other test case that shows the problem that would be greatly
appreciated.

Cheers,

Mark




From konqueror@gmx.de Sat Oct 19 04:21:32 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182orU-0004UV-00
	for classpath@gnu.org; Sat, 19 Oct 2002 04:21:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182orR-0004Tq-00
	for classpath@gnu.org; Sat, 19 Oct 2002 04:21:30 -0400
Received: from mail2.ewetel.de ([212.6.122.18])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182orQ-0004Ta-00
	for classpath@gnu.org; Sat, 19 Oct 2002 04:21:28 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-69-002.ewetel.net [80.228.69.2])
	by mail2.ewetel.de (8.12.1/8.12.1) with ESMTP id g9J8KxTl022068;
	Sat, 19 Oct 2002 10:20:59 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.100])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 182oqw-0006c5-00; Sat, 19 Oct 2002 10:20:58 +0200
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>
Subject: Re: Intel's patch submission...
Date: Sat, 19 Oct 2002 08:26:26 +0200
User-Agent: KMail/1.4.7
Cc: GNU Classpath <classpath@gnu.org>
References: <m3smztapnn.fsf@lyta.haphazard.org> <200210190639.27594.konqueror@gmx.de> <1035013726.965.213.camel@elsschot>
In-Reply-To: <1035013726.965.213.camel@elsschot>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200210190826.27405.konqueror@gmx.de>
X-CheckCompat: OK
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Am Samstag, 19. Oktober 2002 09:48 schrieb Mark Wielaard:
> OK, no problem. There is enough to merge for everybody :)
> Let me know when you are done or if the remaining java.net changes
> do/don't interfere with your work:

I just wanted to make sure that nobody does work others have already=20
done.

> - Refocator InetAddress.

This interferes with my work, as I'm going to merge this class with=20
libgcj. And there are some Inet4Address/Inet6Address issues.=20
Esspecially IPv6 support never really worked. Can you send me the=20
file ? I will try to merge with my things and then best ideas for=20
implementation will win ;-)

> - URLEn/Decoder speedups.
> - URLClassLoader rewrite for caching (negative) results.

=46eel free to commit these two things.


Michael
=2D-=20
Homepage: http://www.worldforge.org/
GPG-key: http://konqueror.dyndns.org/~mkoch/michael.gpg




From cbj@gnu.org Sat Oct 19 10:50:42 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182uw6-0003CA-00
	for classpath@gnu.org; Sat, 19 Oct 2002 10:50:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182uw1-0003AA-00
	for classpath@gnu.org; Sat, 19 Oct 2002 10:50:40 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182uw0-00039f-00
	for classpath@gnu.org; Sat, 19 Oct 2002 10:50:36 -0400
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9JEoLiZ017994;
	Sat, 19 Oct 2002 10:50:21 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Sat, 19 Oct 2002 10:50:24 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9JEoeA9010383;
	Sat, 19 Oct 2002 10:50:41 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9JEoeGK010379;
	Sat, 19 Oct 2002 10:50:40 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org
Subject: Re: Getting Mauve running with Classpath+gcj/jikes+kissme
References: <1034284425.6967.272.camel@elsschot>
	<m3r8enjnds.fsf@lyta.haphazard.org>
	<1035013265.5968.204.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 19 Oct 2002 10:50:40 -0400
In-Reply-To: <1035013265.5968.204.camel@elsschot>
Message-ID: <m3bs5q8ou7.fsf@lyta.haphazard.org>
Lines: 45
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

--=-=-=

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> On Sat, 2002-10-19 at 02:14, Brian Jones wrote:
> > Mark Wielaard <mark@klomp.org> writes:
> > 
> > > # The runtime
> > > - Get recent Kissme sources from CVS (or maybe a recent build).
> > >   (See http://kissme.sourceforge.net/)
> > > - Do the magic auto* dance (note the -a for automake):
> > >   aclocal; autoheader; automake -a; autoconf
> > > - ./configure --enable-use-zips --with-gnu-classpath=/path/to/src/classpath
> > 
> > This didn't work for me, _KISSME_TEST_CLASSPATH_DIR checks for
> > $1/kissme/vm/loaoders/JarClassLoader.{java,class} and classpath has
> > neither.  Also specifying the source directory will not let it find
> > java/lang/Class.java, this is in vm/reference/... instead, so I don't
> > get the test for the kissme class loader or I'd use the
> > kcp_status=binary.
> 
> Those classes can be found in the kissme/classes directory which
> configure should find.
> 
> Note that I configured kissme inside the source dir, maybe it doesn't
> configure well when configuring from a different dir?

cd "${KISSME_CVS}" && ./configure --prefix=${KISSME_PREFIX}
--enable-use-zips --with-gnu-classpath=${CLASSPATH_CVS}/build
--with-classpath-install-dir=${CLASSPATH_PREFIX} >> ${LOG} 2>&1

I always configure classpath in a separate build directory.  Maybe it
doesn't like that.  I did change to configuring kissme in
${top_srcdir} but that didn't help.

checking Kissme Classpath directory... not found
checking /home/cbj/mauve/classpath/build... no
configure: error: Cannot find the selected GNU Classpath build directory (/home/cbj/mauve/classpath/build).

Brian
-- 
Brian Jones <cbj@gnu.org>


--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=kissme-mauve

#!/bin/sh

CLASSPATH_CVS=~/mauve/classpath
CLASSPATH_PREFIX=~/mauve/root/classpath
MAUVE_CVS=~/mauve/mauve
KISSME_CVS=~/mauve/kissme
KISSME_PREFIX=~/mauve/root/kissme
LOG=/tmp/mauve.log

rm -f ${LOG} > /dev/null 2>&1

classpath_checkout ()
{
  if [ ! -d "${CLASSPATH_CVS}" ]; then
    mkdir --parents ${CLASSPATH_CVS}
    local dir=`dirname "${CLASSPATH_CVS}"`
    cd "${dir}"
    cvs -z3 -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/classpath co classpath >> ${LOG} 2>/dev/null
    if [ $? -ne 0 ]; then
      echo "Error checking out classpath"
      exit 1
    fi
  fi
}

classpath_update ()
{
  cd "${CLASSPATH_CVS}" && cvs update -d -P . >> ${LOG} 2>/dev/null
  if [ $? -ne 0 ]; then
    echo "Error checking out classpath"
    exit 1
  fi
}

classpath_clean ()
{
  if [ -d "${CLASSPATH_CVS}/build" ]; then
    rm -rf "${CLASSPATH_CVS}/build"
  fi
  if [ -d "${CLASSPATH_PREFIX}" ]; then
    rm -rf "${CLASSPATH_PREFIX}"
  fi
  mkdir --parents "${CLASSPATH_CVS}/build"
  mkdir --parents "${CLASSPATH_PREFIX}"
}

classpath_configure ()
{
  cd "${CLASSPATH_CVS}"
  aclocal >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running aclocal"
    exit 1
  fi
  autoheader >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running autoheader"
    exit 1
  fi
  automake >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running automake"
    exit 1
  fi
  autoconf >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running autoconf"
    exit 1
  fi
  cd "${CLASSPATH_CVS}/build" && ../configure --prefix=${CLASSPATH_PREFIX} --with-gcj --enable-jni >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error configuring"
    exit 1
  fi
}

classpath_build ()
{
  cd "${CLASSPATH_CVS}/build" && make >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error during make"
    exit 1
  fi
}

classpath_install ()
{
  cd "${CLASSPATH_CVS}/build" && make install >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error during make"
    exit 1
  fi
}

kissme_checkout ()
{
  if [ ! -d "${KISSME_CVS}" ]; then
    mkdir --parents ${KISSME_CVS}
    local dir=`dirname "${KISSME_CVS}"`
    cd "${KISSME_CVS}"
    cvs -z3 -d :pserver:anonymous@cvs.kissme.sourceforge.net:/cvsroot/kissme co . >> ${LOG} 2>/dev/null
    if [ $? -ne 0 ]; then
      echo "Error checking out kissme"
      exit 1
    fi
  fi
}

kissme_update ()
{
  cd "${KISSME_CVS}" && cvs update -d -P . >> ${LOG} 2>/dev/null
  if [ $? -ne 0 ]; then
    echo "Error checking out kissme"
    exit 1
  fi
}

kissme_clean ()
{
  if [ -d "${KISSME_CVS}/build" ]; then
    rm -rf "${KISSME_CVS}/build"
  fi
  if [ -d "${KISSME_PREFIX}" ]; then
    rm -rf "${KISSME_PREFIX}"
  fi
  mkdir --parents "${KISSME_CVS}/build"
  mkdir --parents "${KISSME_PREFIX}"
}

kissme_configure ()
{
  cd "${KISSME_CVS}"
  aclocal >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running aclocal"
    exit 1
  fi
  autoheader >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running autoheader"
    exit 1
  fi
  automake -a >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running automake"
    exit 1
  fi
  autoconf >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running autoconf"
    exit 1
  fi
  cd "${KISSME_CVS}" && ./configure --prefix=${KISSME_PREFIX} --enable-use-zips --with-gnu-classpath=${CLASSPATH_CVS}/build --with-classpath-install-dir=${CLASSPATH_PREFIX} >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error configuring"
    exit 1
  fi
}

kissme_build ()
{
  cd "${KISSME_CVS}" && make >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error during make"
    exit 1
  fi
}

kissme_install ()
{
  cd "${KISSME_CVS}" && make install >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error during make"
    exit 1
  fi
}

mauve_checkout ()
{
  if [ ! -d "${MAUVE_CVS}" ]; then
    mkdir --parents ${MAUVE_CVS}
    local dir=`dirname "${MAUVE_CVS}"`
    cd "${dir}"
    cvs -z3 -d :pserver:anoncvs@sources.redhat.com:/cvs/mauve co mauve >> ${LOG} 2>/dev/null
    if [ $? -ne 0 ]; then
      echo "Error checking out mauve"
      exit 1
    fi
  fi
}

mauve_update ()
{
  cd "${MAUVE_CVS}" && cvs update -d -P . >> ${LOG} 2>/dev/null
  if [ $? -ne 0 ]; then
    echo "Error checking out mauve"
    exit 1
  fi
}

kissme_mauve ()
{
  echo "not done yet"
}

#--------------------------------------------------------------------
# Update Classpath CVS
#--------------------------------------------------------------------
#classpath_checkout
#classpath_update

#--------------------------------------------------------------------
# Build Classpath with GCJ 3.2
#--------------------------------------------------------------------
#classpath_clean
#classpath_configure
#classpath_build
#classpath_install

#--------------------------------------------------------------------
# Update Kissme CVS
#--------------------------------------------------------------------
kissme_checkout
kissme_update

#--------------------------------------------------------------------
# Build Kissme
#--------------------------------------------------------------------
kissme_clean
kissme_configure
kissme_build
#kissme_install

#--------------------------------------------------------------------
# Update Mauve CVS
#--------------------------------------------------------------------
mauve_checkout
mauve_update

#--------------------------------------------------------------------
# Execute Mauve
#--------------------------------------------------------------------
kissme_mauve

--=-=-=--



From jeroen@sumatra.nl Sat Oct 19 12:40:14 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182we5-0006EF-00
	for classpath@gnu.org; Sat, 19 Oct 2002 12:40:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182we3-0006D8-00
	for classpath@gnu.org; Sat, 19 Oct 2002 12:40:12 -0400
Received: from 62-177-154-235.bbeyond.nl ([62.177.154.235] helo=smtp.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182we2-0006Cw-00
	for classpath@gnu.org; Sat, 19 Oct 2002 12:40:11 -0400
Received: from tpjeroen ([194.171.50.201]) by smtp.sumatrasoftware.com with Microsoft SMTPSVC(5.0.2195.5329);
	 Sat, 19 Oct 2002 18:32:33 +0200
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
Subject: Small URLClassLoader bug fix
Date: Sat, 19 Oct 2002 18:40:07 +0200
Message-ID: <01d401c2778e$2f658940$d601a8c0@tpjeroen>
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, Build 10.0.4024
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-OriginalArrivalTime: 19 Oct 2002 16:32:33.0703 (UTC) FILETIME=[205FAB70:01C2778D]
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

After getting the latest code from CVS, I ran into a problem
(ClassFormatError). Turned out to be due to a small bug in
java.net.URLClassLoader.

269c269,272
<                 in.read(classData);
---
>                 int pos = 0;
>                 while(length - pos > 0) {
>                     pos += in.read(classData, pos, length - pos);
>                 }

Regards,
Jeroen




From groved@us.ibm.com Sat Oct 19 14:46:48 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182yc0-0000k5-00
	for classpath@gnu.org; Sat, 19 Oct 2002 14:46:12 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182ybq-00008P-00
	for classpath@gnu.org; Sat, 19 Oct 2002 14:46:09 -0400
Received: from e3.ny.us.ibm.com ([32.97.182.103])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182ybp-0008UP-00
	for classpath@gnu.org; Sat, 19 Oct 2002 14:46:01 -0400
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150])
	by e3.ny.us.ibm.com (8.12.2/8.12.2) with ESMTP id g9JIjw0j132880;
	Sat, 19 Oct 2002 14:45:59 -0400
Received: from d01ml243.pok.ibm.com (d01ml243.pok.ibm.com [9.56.224.77])
	by northrelay02.pok.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g9JIjtcl059454;
	Sat, 19 Oct 2002 14:45:55 -0400
In-Reply-To: <m31y6nbef5.fsf@lyta.haphazard.org>
Subject: Re: [Jikesrvm-core] Re: Updates to GNU Classpath port of JRVM
To: jikesrvm-core@www-124.southbury.usf.ibm.com
Cc: classpath@gnu.org, John Leuner <jewel@pixie.co.za>
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OFA15B90F1.BD165135-ON85256C57.0063AD89-85256C57.00670FAE@us.ibm.com>
From: David P Grove <groved@us.ibm.com>
Date: Sat, 19 Oct 2002 14:45:42 -0400
X-MIMETrack: Serialize by Router on D01ML243/01/M/IBM(Release 6.0|September 26, 2002) at
 10/19/2002 14:45:55
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>




Running nightly regression tests of the combination of Classpath CVS &
Jikes RVM CVS would be great.  We definitely see GNU Classpath as the long
term library story for Jikes RVM.

To answer Michael's question, the CVS head for Jikes RVM supports two
library configurations: mixed and classpath only.

The mixed configuration is the current default.  The mixed configuration
uses the Jikes RVM (OTI-derived) libraries for four packages: java.lang,
java.io, java.net and java.util.  All other packages come from the
Classpath libraries.  Removing java.util from this list to get down to only
three non-Classpath packages in the mixed configuration  is a short term
todo item.

There is also a Classpath only configuration of Jikes RVM.  I believe that
there are still some programs that run on Jikes RVM with the mixed library
configuration that don't run on Jikes RVM in the classpath only
configuration.  Julian is the person on the Jikes RVM core team who has
been working on this configuration; perhaps he can update people on this.

--dave




From tromey@redhat.com Sat Oct 19 15:57:05 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 182ziZ-000723-00
	for classpath@gnu.org; Sat, 19 Oct 2002 15:57:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 182ziP-0006Rc-00
	for classpath@gnu.org; Sat, 19 Oct 2002 15:56:57 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 182ziO-0006Kp-00
	for classpath@gnu.org; Sat, 19 Oct 2002 15:56:52 -0400
Received: from fleche.redhat.com (tz0170.peakpeak.com [207.174.69.170])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id NAA26464;
	Sat, 19 Oct 2002 13:56:46 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 340F64F828D; Sat, 19 Oct 2002 13:50:34 -0600 (MDT)
To: Mark Wielaard <mark@klomp.org>
Cc: "Wu, Gansha" <gansha.wu@intel.com>, classpath@gnu.org
Subject: Re: java.util.zip.InflaterInputStream patch
References: <1035015193.963.223.camel@elsschot>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution: Tom
X-Zippy: Is this an out-take from the ``BRADY BUNCH''?
Date: 19 Oct 2002 13:50:33 -0600
In-Reply-To: <1035015193.963.223.camel@elsschot>
Message-ID: <873cr2dx86.fsf@fleche.redhat.com>
Lines: 15
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark> +          //add a padding byte, 
Mark> +          //it's necessary when using native zlib
Mark> +          ++len;

Mark> When is this needed?

I wonder if it is related to this comment in libgcj:

      /* Using the no_header option, zlib requires an extra padding byte at the
      end of the stream in order to successfully complete decompression (see
      zlib/contrib/minizip/unzip.c). We don't do this, so can end up with a 
      Z_BUF_ERROR at the end of a stream when zlib has completed inflation
      and there's no more input. Thats not a problem. */

Tom



From mark@klomp.org Sun Oct 20 07:14:00 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 183E1w-0007Pd-00
	for classpath@gnu.org; Sun, 20 Oct 2002 07:14:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 183E1u-0007P1-00
	for classpath@gnu.org; Sun, 20 Oct 2002 07:13:59 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 183E1p-0007Mx-00
	for classpath@gnu.org; Sun, 20 Oct 2002 07:13:53 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 183E1K-0002kq-00; Sun, 20 Oct 2002 13:13:22 +0200
Subject: Re: Intel's patch submission...
From: Mark Wielaard <mark@klomp.org>
To: Michael Koch <konqueror@gmx.de>
Cc: GNU Classpath <classpath@gnu.org>
In-Reply-To: <200210190826.27405.konqueror@gmx.de>
References: <m3smztapnn.fsf@lyta.haphazard.org>
	<200210190639.27594.konqueror@gmx.de> <1035013726.965.213.camel@elsschot> 
	<200210190826.27405.konqueror@gmx.de>
Content-Type: multipart/mixed; boundary="=-V24/ANRW2qkaZYbahM1+"
X-Mailer: Ximian Evolution 1.0.8 
Date: 20 Oct 2002 13:13:47 +0200
Message-Id: <1035112428.965.324.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

--=-V24/ANRW2qkaZYbahM1+
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

On Sat, 2002-10-19 at 08:26, Michael Koch wrote:
> > - Refocator InetAddress.
> 
> This interferes with my work, as I'm going to merge this class with 
> libgcj. And there are some Inet4Address/Inet6Address issues. 
> Esspecially IPv6 support never really worked. Can you send me the 
> file ? I will try to merge with my things and then best ideas for 
> implementation will win ;-)

I have attached the InetAddress part of the patch.

2002-07-25  Wu Gansha <gansha.wu@intel.com>

    * classpath/java/net/InetAddress.java: removed the use of my_ip
    array, refactored many codes.

Cheers,

Mark

--=-V24/ANRW2qkaZYbahM1+
Content-Disposition: inline; filename=java-net-InetAddress.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=java-net-InetAddress.patch; charset=ISO-8859-15

--- /home/cbj/cvs/classpath/./java/net/InetAddress.java	Sun Mar 24 23:59:08=
 2002
+++ ./java/net/InetAddress.java	Tue Jul 16 10:26:56 2002
@@ -39,7 +39,7 @@
 package java.net;
=20
 import java.io.Serializable;
-import java.util.Hashtable;
+import java.util.HashMap;
 import java.util.StringTokenizer;
=20
 import gnu.classpath.Configuration;
@@ -79,9 +79,11 @@
 private static final long serialVersionUID =3D 3286316764910316507L;
=20
 /**
-  * The default DNS hash table size
+  * The default DNS hash table size,=20
+  * use a prime number happy with hash table
   */
-private static final int DEFAULT_CACHE_SIZE =3D 400;
+ =20
+private static final int DEFAULT_CACHE_SIZE =3D 89;=20
=20
 /**
   * The default caching period in minutes
@@ -118,9 +120,11 @@
 private static int cache_purge_pct =3D 0;
=20
 /**
-  * Hashtable to use as DNS lookup cache
+  * Hashtable to use as DNS lookup cache,=20
+  * use HashMap because all accesses to cache are already synchronized
   */
-private static Hashtable cache;
+private static HashMap cache;
+
=20
 // Static initializer for the cache
 static
@@ -140,7 +144,7 @@
=20
   // Create the cache
   if (cache_size !=3D 0)
-      cache =3D new Hashtable(cache_size);
+      cache =3D new HashMap(cache_size);
=20
   // precompute the ANY_IF address
   try
@@ -162,11 +166,6 @@
  */
=20
 /**
-  * An array of octets representing an IP address
-  */
-transient int[] my_ip;
-
-/**
   * The name of the host for this address
   */
 String hostName;
@@ -382,7 +381,7 @@
        }
    }
=20
-  // Wasn't and IP, so try the lookup
+  // Wasn't an IP, so try the lookup
   InetAddress[] addrs =3D getAllByName(hostname);
  =20
   return(addrs[0]);
@@ -413,7 +412,7 @@
  */
=20
 /**
-  * Initializes this object's my_ip instance variable from the passed in
+  * Initializes this object's address info from the passed in
   * int array.  Note that this constructor is protected and is called
   * only by static methods in this class.
   *
@@ -425,10 +424,23 @@
   this(addr, null, null);
 }
=20
+/**
+  * Initializes this object's address info from the passed in
+  * int address.  Note that this constructor is private and is called
+  * only by this class and native methods.
+  *
+  * @param address The address as an int
+  */
+private
+InetAddress(int address){
+    family =3D 2; /*AF_INET*/
+    this.address =3D address;
+}
+
 /*************************************************************************=
/
=20
 /**
-  * Initializes this object's my_ip instance variable from the passed in
+  * Initializes this object's address info from the passed in
   * int array.  Note that this constructor is protected and is called
   * only by static methods in this class.
   *
@@ -444,7 +456,7 @@
 /*************************************************************************=
/
=20
 /**
-  * Initializes this object's my_ip instance variable from the passed in
+  * Initializes this object's address info from the passed in
   * int array.  Note that this constructor is protected and is called
   * only by static methods in this class.
   *
@@ -455,16 +467,12 @@
 private
 InetAddress(int[] addr, String hostname, String hostname_alias)
 {
-  my_ip =3D new int[addr.length];
-
-  for (int i =3D 0; i < addr.length; i++)
-    my_ip[i] =3D addr[i];   =20
-
   this.hostName =3D hostname;
   this.hostname_alias =3D hostname_alias;
   lookup_time =3D System.currentTimeMillis();
=20
   family =3D 2; /* AF_INET */
+  // compose the int address
   address =3D addr[3] & 0xff;
   address |=3D ((addr[2] << 8) & 0xff00);
   address |=3D ((addr[1] << 16) & 0xff0000);
@@ -493,14 +501,8 @@
   if (!(addr instanceof InetAddress))
     return(false);
=20
-  byte[] test_ip =3D ((InetAddress)addr).getAddress();
-
-  if (test_ip.length !=3D my_ip.length)
-    return(false);
-
-  for (int i =3D 0; i < my_ip.length; i++)
-    if (test_ip[i] !=3D (byte)my_ip[i])
-       return(false);
+  if (address !=3D ((InetAddress)addr).address)
+    return false;
=20
   return(true);
 }
@@ -515,12 +517,13 @@
 public byte[]
 getAddress()
 {
-  byte[] addr =3D new byte[my_ip.length];
+  // compose addr array on the fly
+  byte[] addr =3D new byte[4];
=20
-  for (int i =3D 0; i < my_ip.length; i++)
-    {
-      addr[i] =3D (byte)my_ip[i];
-    }
+  addr[3] =3D (byte)(address & 0xff);
+  addr[2] =3D (byte)((address >>> 8) & 0xff);
+  addr[1] =3D (byte)((address >>> 16) & 0xff);
+  addr[0] =3D (byte)((address >>> 24) & 0xff);
=20
   return(addr);
 }
@@ -538,12 +541,13 @@
 {
   StringBuffer addr =3D new StringBuffer();
=20
-  for (int i =3D 0; i < my_ip.length; i++)
-    {
-      addr.append((int)my_ip[i]);
-      if (i < (my_ip.length - 1))
-        addr.append(".");
-    }
+  addr.append((address >>> 24) & 0xff);
+  addr.append('.');
+  addr.append((address >>> 16) & 0xff);
+  addr.append('.');
+  addr.append((address >>> 8) & 0xff);
+  addr.append('.');
+  addr.append(address & 0xff);
=20
   return(addr.toString());
 }
@@ -564,7 +568,12 @@
=20
   try
     {
-      hostName =3D getHostByAddr(my_ip); =20
+      int[] addr =3D new int[4];
+      addr[3] =3D address & 0xff;
+      addr[2] =3D (address >>> 8) & 0xff;
+      addr[1] =3D (address >>> 16) & 0xff;
+      addr[0] =3D (address >>> 24) & 0xff;
+      hostName =3D getHostByAddr(addr); =20
       return(hostName);
     }
   catch (UnknownHostException e)
@@ -589,13 +598,9 @@
 {
   long val1 =3D 0, val2 =3D 0;
=20
-  // Its obvious here that I have no idea how to generate a good
-  // hash key
-  for (int i =3D 0; i < my_ip.length; i++)
-    val1 =3D val1 + (my_ip[i] << ((my_ip.length - i) / 8));
-
-  for (int i =3D 0; i < my_ip.length; i++)
-    val2 =3D val2 + (my_ip[i] * 10 * i);
+  // a simpler hash algorithm
+  val1 =3D address & 0xffff;
+  val2 =3D address >> 16;
=20
   val1 =3D (val1 >> 1) ^ val2;
=20
@@ -614,14 +619,8 @@
 public boolean
 isMulticastAddress()
 {
-  if (my_ip.length =3D=3D 0)
-    return(false);
-
-  // Mask against high order bits of 1110
-  if ((my_ip[0] & 0xF0) =3D=3D 224)
-    return(true);
-
-  return(false);
+  // 224 =3D 0xe0
+  return (address & 0xf0000000) =3D=3D 0xe0000000;
 }
=20
 /*************************************************************************=
/
@@ -636,7 +635,8 @@
 public String
 toString()
 {
-  return(getHostAddress());
+  //jBoss seems like this=20
+  return (getHostName() + "/" + getHostAddress());=20
 }
=20
 /*************************************************************************=
/

--=-V24/ANRW2qkaZYbahM1+--




From crawley@dstc.edu.au Mon Oct 21 09:29:48 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 183ccu-0002KE-00
	for classpath@gnu.org; Mon, 21 Oct 2002 09:29:48 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 183ccr-0002IF-00
	for classpath@gnu.org; Mon, 21 Oct 2002 09:29:47 -0400
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 183ccq-0002GW-00; Mon, 21 Oct 2002 09:29:44 -0400
Received: from dstc.edu.au (soluble.dstc.edu.au [130.102.176.43])
	by piglet.dstc.edu.au (8.12.3/8.12.3) with ESMTP id g9LDTaPf020852;
	Mon, 21 Oct 2002 23:29:36 +1000 (EST)
Message-Id: <200210211329.g9LDTaPf020852@piglet.dstc.edu.au>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: Brian Jones <cbj@gnu.org>
cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org,
   crawley@piglet.dstc.edu.au
Subject: Re: Getting Mauve running with Classpath+gcj/jikes+kissme 
In-Reply-To: Message from Brian Jones <cbj@gnu.org> 
   of "19 Oct 2002 10:50:40 -0400." <m3bs5q8ou7.fsf@lyta.haphazard.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 Oct 2002 23:29:36 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Spam-Checked: SPAMASSASSIN: This message probably not SPAM
X-Spam-Score: -104.4, Required: 5
X-Virus-Scanned: Message: ok
X-Scanned-By: MIMEDefang 2.9 (www dot roaringpenguin dot com slash mimedefang)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>


> cd "${KISSME_CVS}" && ./configure --prefix=${KISSME_PREFIX}
> --enable-use-zips --with-gnu-classpath=${CLASSPATH_CVS}/build
> --with-classpath-install-dir=${CLASSPATH_PREFIX} >> ${LOG} 2>&1
> 
> I always configure classpath in a separate build directory.  Maybe it
> doesn't like that.  I did change to configuring kissme in
> ${top_srcdir} but that didn't help.
> 
> checking Kissme Classpath directory... not found
> checking /home/cbj/mauve/classpath/build... no
> configure: error: Cannot find the selected GNU Classpath build directory
 (/home/cbj/mauve/classpath/build).

The problem is that the Kissme configure script is expecting to see the
GNU Classpath source in the build directory.  This is clearly wrong ...

Could you tell me what arguments you are giving to GNU Classpath configure
to get it to put the build in a different directory to the sources?  If
I can reproduce this, I can work out how to fix the Kissme configure
script to cope with your approach.

-- Steve




From cbj@gnu.org Mon Oct 21 18:23:16 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 183kxA-0004th-00
	for classpath@gnu.org; Mon, 21 Oct 2002 18:23:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 183kx8-0004rI-00
	for classpath@gnu.org; Mon, 21 Oct 2002 18:23:15 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 183kx7-0004rB-00
	for classpath@gnu.org; Mon, 21 Oct 2002 18:23:13 -0400
Received: from mail8.nc.rr.com (fe8 [24.93.67.55])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9LMN9up014747;
	Mon, 21 Oct 2002 18:23:10 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Mon, 21 Oct 2002 18:22:54 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9LMNIA9005521;
	Mon, 21 Oct 2002 18:23:18 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9LMNHEc005517;
	Mon, 21 Oct 2002 18:23:17 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Stephen Crawley <crawley@dstc.edu.au>
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org,
   crawley@piglet.dstc.edu.au
Subject: Re: Getting Mauve running with Classpath+gcj/jikes+kissme
References: <200210211329.g9LDTaPf020852@piglet.dstc.edu.au>
From: Brian Jones <cbj@gnu.org>
Date: 21 Oct 2002 18:23:17 -0400
In-Reply-To: <200210211329.g9LDTaPf020852@piglet.dstc.edu.au>
Message-ID: <m31y6jwhwq.fsf@lyta.haphazard.org>
Lines: 31
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

--=-=-=

Stephen Crawley <crawley@dstc.edu.au> writes:

> > cd "${KISSME_CVS}" && ./configure --prefix=${KISSME_PREFIX}
> > --enable-use-zips --with-gnu-classpath=${CLASSPATH_CVS}/build
> > --with-classpath-install-dir=${CLASSPATH_PREFIX} >> ${LOG} 2>&1
> > 
> > I always configure classpath in a separate build directory.  Maybe it
> > doesn't like that.  I did change to configuring kissme in
> > ${top_srcdir} but that didn't help.
> > 
> > checking Kissme Classpath directory... not found
> > checking /home/cbj/mauve/classpath/build... no
> > configure: error: Cannot find the selected GNU Classpath build directory
>  (/home/cbj/mauve/classpath/build).
> 
> The problem is that the Kissme configure script is expecting to see the
> GNU Classpath source in the build directory.  This is clearly wrong ...
> 
> Could you tell me what arguments you are giving to GNU Classpath configure
> to get it to put the build in a different directory to the sources?  If
> I can reproduce this, I can work out how to fix the Kissme configure
> script to cope with your approach.

No problem, it can be found in the script I attached to my last email
and to this email.  See the function classpath_configure.

-- 
Brian Jones <cbj@gnu.org>


--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=kissme-mauve

#!/bin/sh

CLASSPATH_CVS=~/mauve/classpath
CLASSPATH_PREFIX=~/mauve/root/classpath
MAUVE_CVS=~/mauve/mauve
KISSME_CVS=~/mauve/kissme
KISSME_PREFIX=~/mauve/root/kissme
LOG=/tmp/mauve.log

rm -f ${LOG} > /dev/null 2>&1

classpath_checkout ()
{
  if [ ! -d "${CLASSPATH_CVS}" ]; then
    mkdir --parents ${CLASSPATH_CVS}
    local dir=`dirname "${CLASSPATH_CVS}"`
    cd "${dir}"
    cvs -z3 -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/classpath co classpath >> ${LOG} 2>/dev/null
    if [ $? -ne 0 ]; then
      echo "Error checking out classpath"
      exit 1
    fi
  fi
}

classpath_update ()
{
  cd "${CLASSPATH_CVS}" && cvs update -d -P . >> ${LOG} 2>/dev/null
  if [ $? -ne 0 ]; then
    echo "Error checking out classpath"
    exit 1
  fi
}

classpath_clean ()
{
  if [ -d "${CLASSPATH_CVS}/build" ]; then
    rm -rf "${CLASSPATH_CVS}/build"
  fi
  if [ -d "${CLASSPATH_PREFIX}" ]; then
    rm -rf "${CLASSPATH_PREFIX}"
  fi
  mkdir --parents "${CLASSPATH_CVS}/build"
  mkdir --parents "${CLASSPATH_PREFIX}"
}

classpath_configure ()
{
  cd "${CLASSPATH_CVS}"
  aclocal >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running aclocal"
    exit 1
  fi
  autoheader >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running autoheader"
    exit 1
  fi
  automake >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running automake"
    exit 1
  fi
  autoconf >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running autoconf"
    exit 1
  fi
  cd "${CLASSPATH_CVS}/build" && ../configure --prefix=${CLASSPATH_PREFIX} --with-gcj --enable-jni >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error configuring"
    exit 1
  fi
}

classpath_build ()
{
  cd "${CLASSPATH_CVS}/build" && make >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error during make"
    exit 1
  fi
}

classpath_install ()
{
  cd "${CLASSPATH_CVS}/build" && make install >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error during make"
    exit 1
  fi
}

kissme_checkout ()
{
  if [ ! -d "${KISSME_CVS}" ]; then
    mkdir --parents ${KISSME_CVS}
    local dir=`dirname "${KISSME_CVS}"`
    cd "${KISSME_CVS}"
    cvs -z3 -d :pserver:anonymous@cvs.kissme.sourceforge.net:/cvsroot/kissme co . >> ${LOG} 2>/dev/null
    if [ $? -ne 0 ]; then
      echo "Error checking out kissme"
      exit 1
    fi
  fi
}

kissme_update ()
{
  cd "${KISSME_CVS}" && cvs update -d -P . >> ${LOG} 2>/dev/null
  if [ $? -ne 0 ]; then
    echo "Error checking out kissme"
    exit 1
  fi
}

kissme_clean ()
{
  if [ -d "${KISSME_CVS}/build" ]; then
    rm -rf "${KISSME_CVS}/build"
  fi
  if [ -d "${KISSME_PREFIX}" ]; then
    rm -rf "${KISSME_PREFIX}"
  fi
  mkdir --parents "${KISSME_CVS}/build"
  mkdir --parents "${KISSME_PREFIX}"
}

kissme_configure ()
{
  cd "${KISSME_CVS}"
  aclocal >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running aclocal"
    exit 1
  fi
  autoheader >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running autoheader"
    exit 1
  fi
  automake -a >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running automake"
    exit 1
  fi
  autoconf >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error running autoconf"
    exit 1
  fi
  cd "${KISSME_CVS}" && ./configure --prefix=${KISSME_PREFIX} --enable-use-zips --with-gnu-classpath=${CLASSPATH_CVS}/build --with-classpath-install-dir=${CLASSPATH_PREFIX} >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error configuring"
    exit 1
  fi
}

kissme_build ()
{
  cd "${KISSME_CVS}" && make >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error during make"
    exit 1
  fi
}

kissme_install ()
{
  cd "${KISSME_CVS}" && make install >> ${LOG} 2>&1
  if [ $? -ne 0 ]; then
    echo "Error during make"
    exit 1
  fi
}

mauve_checkout ()
{
  if [ ! -d "${MAUVE_CVS}" ]; then
    mkdir --parents ${MAUVE_CVS}
    local dir=`dirname "${MAUVE_CVS}"`
    cd "${dir}"
    cvs -z3 -d :pserver:anoncvs@sources.redhat.com:/cvs/mauve co mauve >> ${LOG} 2>/dev/null
    if [ $? -ne 0 ]; then
      echo "Error checking out mauve"
      exit 1
    fi
  fi
}

mauve_update ()
{
  cd "${MAUVE_CVS}" && cvs update -d -P . >> ${LOG} 2>/dev/null
  if [ $? -ne 0 ]; then
    echo "Error checking out mauve"
    exit 1
  fi
}

kissme_mauve ()
{
  echo "not done yet"
}

#--------------------------------------------------------------------
# Update Classpath CVS
#--------------------------------------------------------------------
#classpath_checkout
#classpath_update

#--------------------------------------------------------------------
# Build Classpath with GCJ 3.2
#--------------------------------------------------------------------
#classpath_clean
#classpath_configure
#classpath_build
#classpath_install

#--------------------------------------------------------------------
# Update Kissme CVS
#--------------------------------------------------------------------
kissme_checkout
kissme_update

#--------------------------------------------------------------------
# Build Kissme
#--------------------------------------------------------------------
kissme_clean
kissme_configure
kissme_build
#kissme_install

#--------------------------------------------------------------------
# Update Mauve CVS
#--------------------------------------------------------------------
mauve_checkout
mauve_update

#--------------------------------------------------------------------
# Execute Mauve
#--------------------------------------------------------------------
kissme_mauve

--=-=-=--



From mark@klomp.org Mon Oct 21 18:42:41 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 183lFx-0003Lf-00
	for classpath@gnu.org; Mon, 21 Oct 2002 18:42:41 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 183lFs-0003Ci-00
	for classpath@gnu.org; Mon, 21 Oct 2002 18:42:40 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 183lFp-0003CJ-00
	for classpath@gnu.org; Mon, 21 Oct 2002 18:42:33 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 183lFF-0005tm-00; Tue, 22 Oct 2002 00:41:57 +0200
Subject: Re: Small URLClassLoader bug fix
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
Cc: classpath@gnu.org
In-Reply-To: <01d401c2778e$2f658940$d601a8c0@tpjeroen>
References: <01d401c2778e$2f658940$d601a8c0@tpjeroen>
Content-Type: multipart/mixed; boundary="=-YbnS7qaXxxDyt4AyO80H"
X-Mailer: Ximian Evolution 1.0.8 
Date: 22 Oct 2002 00:42:24 +0200
Message-Id: <1035240144.14993.55.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

--=-YbnS7qaXxxDyt4AyO80H
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

On Sat, 2002-10-19 at 18:40, Jeroen Frijters wrote:
> After getting the latest code from CVS, I ran into a problem
> (ClassFormatError). Turned out to be due to a small bug in
> java.net.URLClassLoader.
> 
> 269c269,272
> <                 in.read(classData);
> ---
> >                 int pos = 0;
> >                 while(length - pos > 0) {
> >                     pos += in.read(classData, pos, length - pos);
> >                 }

Thanks. I also fixed the other problem we talked about in private email
(URLClassLoader only worked for files ending in .jar or .zip).

Attached is the beginning of a rewrite of URLClassLoader based on the
patches of the Intel Orp developers (which also contained this fix). It
also tries to do something sensible with the security context of the
caller of newInstance and always creates the correct Package and
CodeSource for a newly loaded class. I don't have time to finish and
test this now but it seems to work (for me). Will try to finish it at
the end of the week or next weekend.

Cheers,

Mark

--=-YbnS7qaXxxDyt4AyO80H
Content-Disposition: inline; filename=URLClassLoader.java
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-java; name=URLClassLoader.java; charset=ISO-8859-15

/* URLClassLoader.java --  ClassLoader that loads classes from one or more =
URLs
   Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.

This file is part of GNU Classpath.

GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
=20
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

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

Linking this library statically or dynamically with other modules is
making a combined work based on this library.  Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.

As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module.  An independent module is a module which is not derived from
or based on this library.  If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so.  If you do not wish to do so, delete this
exception statement from your version. */

package java.net;

import java.io.ByteArrayOutputStream;
import java.io.EOFException;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FilterInputStream;
import java.io.FilePermission;
import java.io.InputStream;
import java.io.IOException;
import java.security.AccessController;
import java.security.AccessControlContext;
import java.security.CodeSource;
import java.security.SecureClassLoader;
import java.security.PrivilegedAction;
import java.security.PermissionCollection;
import java.security.cert.Certificate;
import java.util.Enumeration;
import java.util.Vector;
import java.util.Hashtable;
import java.util.jar.Attributes;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.jar.Manifest;
import java.util.zip.ZipException;
import gnu.java.io.PlatformHelper;
import gnu.java.net.protocol.jar.JarURLConnection;

/**
 * A secure class loader that can load classes and resources from
 * multiple locations.  Given an array of <code>URL</code>s this class
 * loader will retrieve classes and resources by fetching them from
 * possible remote locations.  Each <code>URL</code> is searched in
 * order in which it was added.  If the file portion of the
 * <code>URL</code> ends with a '/' character then it is interpreted
 * as a base directory, otherwise it is interpreted as a jar file from
 * which the classes/resources are resolved.
 *
 * <p>New instances can be created by two static
 * <code>newInstance()</code> methods or by three public
 * contructors. Both ways give the option to supply an initial array
 * of <code>URL</code>s and (optionally) a parent classloader (that is
 * different from the standard system class loader).</p>
 *
 * <p>Normally creating a <code>URLClassLoader</code> throws a
 * <code>SecurityException</code> if a <code>SecurityManager</code> is
 * installed and the <code>checkCreateClassLoader()</code> method does
 * not return true.  But the <code>newInstance()</code> methods may be
 * used by any code as long as it has permission to acces the given
 * <code>URL</code>s.  <code>URLClassLoaders</code> created by the
 * <code>newInstance()</code> methods also explicitly call the
 * <code>checkPackageAccess()</code> method of
 * <code>SecurityManager</code> if one is installed before trying to
 * load a class.  Note that only subclasses of
 * <code>URLClassLoader</code> can add new URLs after the
 * URLClassLoader had been created. But it is always possible to get
 * an array of all URLs that the class loader uses to resolve classes
 * and resources by way of the <code>getURLs()</code> method.</p>
 *
 * <p>Open issues:
 * <ul>
 *
 * <li>Should the URLClassLoader actually add the locations found in
 * the manifest or is this the responsibility of some other
 * loader/(sub)class?  (see <a
 * href=3D"http://java.sun.com/products/jdk/1.4/docs/guide/extensions/spec.=
html">
 * Extension Mechanism Architecture - Bundles Extensions</a>)</li>
 *
 * <li>How does <code>definePackage()</code> and sealing work
 * precisely?</li>
 *
 * <li>We save and use the security context (when a created by
 * <code>newInstance()</code> but do we have to use it in more
 * places?</li>
 *
 * </ul>
 * </p>
 *
 * @since 1.2
 *
 * @author Mark Wielaard (mark@klomp.org)
 * @author Wu Gansha (gansha.wu@intel.com)
 */
=20
public class URLClassLoader extends SecureClassLoader {

  // Class Variables

  /**
   * A global cache to store mappings between URLLoader and URL,
   * so we can avoid do all the homework each time the same URL
   * comes.
   */
  private static Hashtable urlloaders =3D new Hashtable();
   =20
  /**
   * A cache to store mappings between handler factory and its
   * private protocol handler cache (also a Hashtable), so we can avoid
   * create handlers each time the same protocol comes.
   */
  private static Hashtable factoryCache =3D new Hashtable(5);

  // Instance variables

  /** Locations to load classes from */
  private final Vector urls =3D new Vector();

  /**
   * Store pre-parsed information for each url into this vector=20
   * each element is a URL loader, corresponding to the URL of=20
   * the same index in "urls"
   */
  private final Vector urlinfos =3D new Vector();
   =20
  /** Factory used to get the protocol handlers of the URLs */
  private final URLStreamHandlerFactory factory;

  /**
   * The security context when created from <code>newInstance()</code>
   * or null when created through a normal constructor or when no
   * <code>SecurityManager</code> was installed.
   */
  private final AccessControlContext securityContext;

  // Helper classes
=20
  /**=20
   * A <code>URLLoader</code> contains all logic to load resources from a
   * given base <code>URL</code>.
   */
  static abstract class URLLoader
  {
    /**
     * The base URL from which all resources are loaded.
     */
    final URL baseURL;

    /**
     * A <code>CodeSource</code> without any associated certificates.
     * It is common for classes to not have certificates associated
     * with them.  If they come from the same <code>URLLoader</code>
     * then it is safe to share the associated <code>CodeSource</code>
     * between them since <code>CodeSource</code> is immutable.
     */
    final CodeSource noCertCodeSource;

    URLLoader(URL baseURL)
    {
      this.baseURL =3D baseURL;
      this.noCertCodeSource =3D new CodeSource(baseURL, null);
    }

    /**
     * Returns a <code>Resource</code> loaded by this
     * <code>URLLoader</code>, or <code>null</code> when no
     * <code>Resource</code> with the given name exists.
     */
    abstract Resource getResource(String s);

    /**
     * Returns the <code>Manifest</code> associated with the
     * <code>Resource</code>s loaded by this <code>URLLoader</code> or
     * <code>null</code> there is no such <code>Manifest</code>.
     */
    abstract Manifest getManifest();
  }
   =20
  /**=20
   * A <code>Resource</code> represents a resource in some
   * <code>URLLoader</code>. It also contains all information (e.g.,
   * <code>URL</code>, <code>CodeSource</code>, <code>Manifest</code> and
   * <code>InputStream</code>) that is necessary for loading resources
   * and creating classes from a <code>URL</code>.
   */
  static abstract class Resource
  {
    final URLLoader loader;
    final String name;

    Resource(URLLoader loader, String name)
    {
      this.loader =3D loader;
      this.name =3D name;
    }

    /**
     * Returns the non-null <code>CodeSource</code> associated with
     * this resource.
     */
    CodeSource getCodeSource()
    {
      Certificate[] certs =3D getCertificates();
      if (certs !=3D null)
	return loader.noCertCodeSource;
      else
	return new CodeSource(loader.baseURL, certs);
    }

    /**
     * Returns <code>Certificates</code> associated with this
     * resource, or null when there are none.
     */
    abstract Certificate[] getCertificates();

    /**
     * Return a <code>URL</code> that can be used to access this resource.
     */
    abstract URL getURL();

    /**
     * Returns the size of this <code>Resource</code> in bytes or
     * <code>-1</code> when unknown.
     */
    abstract int getLength();

    /**
     * Returns the non-null <code>InputStream</code> through which
     * this resource can be loaded.
     */
    abstract InputStream getInputStream() throws IOException;
  }

  /**
   * A <code>JarURLLoader</code> is a type of <code>URLLoader</code>
   * only loading from jar url.
   */
  final static class JarURLLoader extends URLLoader
  {
    final JarFile jarfile;   // The canonical jar file for this url
    final String url_prefix; // url prefix for all resources in this jar ur=
l

    /**
     * The <code>URLStreamHandler</code> to use when creating "jar"
     * <code>URL</code>s. or <code>null</code> when no special handler
     * is necessary.
     */
    final URLStreamHandler handler;

    public JarURLLoader(URL baseURL, URLStreamHandler handler)
      throws IOException
    {
      super(baseURL);
       =20
      // cache url prefix for all resources in this jar url
      StringBuffer sb =3D new StringBuffer(PlatformHelper.INITIAL_MAX_PATH)=
;
      sb.append("jar:");
      sb.append(baseURL.toExternalForm());
      sb.append("!/");
      this.url_prefix =3D sb.toString();
      this.handler =3D handler;
      this.jarfile =3D JarURLConnection.JarFileCache.get(baseURL);
    }
   =20
    /** get resource with the name "name" in the jar url */
    Resource getResource(String name)
    {
      JarEntry je =3D jarfile.getJarEntry(name);
      if(je !=3D null)
	return new JarURLResource(this, name, je);
      else
	return null;
    }

    Manifest getManifest()
    {
      return jarfile.getManifest();
    }
     =20
  }

  final static class JarURLResource extends Resource
  {
    private final JarEntry entry;

    JarURLResource(JarURLLoader loader, String name, JarEntry entry)
    {
      super(loader, name);
      this.entry =3D entry;
    }

    InputStream getInputStream() throws IOException
    {
      return ((JarURLLoader)loader).jarfile.getInputStream(entry);
    }

    int getLength()
    {
      return (int)entry.getSize();
    }

    Certificate[] getCertificates()
    {
      return entry.getCertificates();
    }
               =20
    URL getURL()
    {
      try
	{
	  StringBuffer sb =3D new StringBuffer(PlatformHelper.INITIAL_MAX_PATH);
	  sb.append(((JarURLLoader)loader).url_prefix);
	  sb.append(name);
	  return new URL(null, sb.toString(), ((JarURLLoader)loader).handler);
	}
      catch(MalformedURLException e)
	{
	  throw new InternalError(e.toString());
	}
    }
  }

  /**
   * A <code>FileURLLoader</code> is a type of <code>URLLoader</code>
   * only loading from file url.
   */
  final static class FileURLLoader extends URLLoader
  {
    File dir;   //the canonical file for this file url

    FileURLLoader(URL url) throws IOException
    {
      super(url);
      // Note that this must be a "file" protocol URL.
      dir =3D new File(url.getFile());
    }
   =20
    /** get resource with the name "name" in the file url */
    Resource getResource(String name)
    {
      File file =3D new File(dir, name);
      if (file !=3D null)
	return new FileResource(this, name, file);
      else
	return null;
    }

    Manifest getManifest()
    {
      // Manifest not supported for FileURLLoader.
      return null;
    }
  }

  final static class FileResource extends Resource
  {
    final File file;

    FileResource(FileURLLoader loader, String name, File file)
    {
      super(loader, name);
      this.file =3D file;
    }

    InputStream getInputStream() throws IOException
    {
      return new FileInputStream(file);
    }
                       =20
    public int getLength()
    {
      return (int)file.length();
    }
               =20
    public Certificate[] getCertificates()
    {
      // Certificates not supported for FileURLLoader.
      return null;
    }
   =20
    public URL getURL()
    {
      try
	{
	  return file.toURL();
	}
      catch(MalformedURLException e)
	{
	  throw new InternalError(e.toString());
	}
    }
  }
   =20
  // Constructors

  /**
   * Creates a URLClassLoader that gets classes from the supplied URLs.
   * To determine if this classloader may be created the constructor of
   * the super class (<code>SecureClassLoader</code>) is called first, whic=
h
   * can throw a SecurityException. Then the supplied URLs are added
   * in the order given to the URLClassLoader which uses these URLs to
   * load classes and resources (after using the default parent ClassLoader=
).
   *
   * @exception SecurityException if the SecurityManager disallows the
   * creation of a ClassLoader.
   * @param urls Locations that should be searched by this ClassLoader when
   * resolving Classes or Resources.
   * @see SecureClassLoader
   */
  public URLClassLoader(URL[] urls) throws SecurityException
  {
    super();
    this.factory =3D null;
    this.securityContext =3D null;
    addURLs(urls);
  }

  /**
   * Private constructor used by the static
   * <code>newInstance(URL[])</code> method.  Creates an
   * <code>URLClassLoader</code> without any <code>URL</code>s
   * yet. This is used to bypass the normal security check for
   * creating classloaders, but remembers the security context which
   * will be used when defining classes.  The <code>URL</code>s to
   * load from must be added by the <code>newInstance()</code> method
   * in the security context of the caller.
   *
   * @param securityContext the security context of the unprivileged code.
   */
  private URLClassLoader(AccessControlContext securityContext)
  {
    super();
    this.factory =3D null;
    this.securityContext =3D securityContext;
  }

  /**
   * Creates a <code>URLClassLoader</code> that gets classes from the suppl=
ied
   * <code>URL</code>s.
   * To determine if this classloader may be created the constructor of
   * the super class (<code>SecureClassLoader</code>) is called first, whic=
h
   * can throw a SecurityException. Then the supplied URLs are added
   * in the order given to the URLClassLoader which uses these URLs to
   * load classes and resources (after using the supplied parent ClassLoade=
r).
   * @exception SecurityException if the SecurityManager disallows the
   * creation of a ClassLoader.
   * @exception SecurityException=20
   * @param urls Locations that should be searched by this ClassLoader when
   * resolving Classes or Resources.
   * @param parent The parent class loader used before trying this class
   * loader.
   * @see SecureClassLoader
   */
  public URLClassLoader(URL[] urls, ClassLoader parent)
    throws SecurityException
  {
    super(parent);
    this.factory =3D null;
    this.securityContext =3D null;
    addURLs(urls);
  }

  /**
   * Private constructor used by the static
   * <code>newInstance(URL[])</code> method.  Creates an
   * <code>URLClassLoader</code> with the given parent but without any
   * <code>URL</code>s yet. This is used to bypass the normal security
   * check for creating classloaders, but remembers the security
   * context which will be used when defining classes.  The
   * <code>URL</code>s to load from must be added by the
   * <code>newInstance()</code> method in the security context of the
   * caller.
   *
   * @param securityContext the security context of the unprivileged code.
   */
  private URLClassLoader(ClassLoader parent,
			 AccessControlContext securityContext)
  {
    super(parent);
    this.factory =3D null;
    this.securityContext =3D securityContext;
  }

  /**
   * Creates a URLClassLoader that gets classes from the supplied URLs.
   * To determine if this classloader may be created the constructor of
   * the super class (<CODE>SecureClassLoader</CODE>) is called first, whic=
h
   * can throw a SecurityException. Then the supplied URLs are added
   * in the order given to the URLClassLoader which uses these URLs to
   * load classes and resources (after using the supplied parent ClassLoade=
r).
   * It will use the supplied <CODE>URLStreamHandlerFactory</CODE> to get t=
he
   * protocol handlers of the supplied URLs.
   * @exception SecurityException if the SecurityManager disallows the
   * creation of a ClassLoader.
   * @exception SecurityException=20
   * @param urls Locations that should be searched by this ClassLoader when
   * resolving Classes or Resources.
   * @param parent The parent class loader used before trying this class
   * loader.
   * @param factory Used to get the protocol handler for the URLs.
   * @see SecureClassLoader
   */
  public URLClassLoader(URL[] urls,
			ClassLoader parent,
			URLStreamHandlerFactory factory)
    throws SecurityException
  {
    super(parent);
    this.securityContext =3D null;
    this.factory =3D factory;
    addURLs(urls);
    // If this factory is still not in factoryCache, add it,
    //   since we only support three protocols so far, 5 is enough=20
    //   for cache initial size
    if(factory !=3D null && factoryCache.get(factory) =3D=3D null)
      factoryCache.put(factory, new Hashtable(5));
  }

  // Methods

  /**
   * Adds a new location to the end of the internal URL store.
   * @param newUrl the location to add
   */
  protected void addURL(URL newUrl) {
    // Should this method to be synchronized??
    if (newUrl =3D=3D null){
      urls.add(newUrl);
      urlinfos.add(null);=20
      return;
    }
       =20
    // check global cache to see if there're already url loader
    //   for this url
    URLLoader loader =3D (URLLoader)urlloaders.get(newUrl);
    if (loader =3D=3D null){
      String file =3D newUrl.getFile();
      try{
	if (!file.endsWith("/")) {
	  // it's a jar url
	  loader =3D new JarURLLoader(newUrl, getURLStreamHandler("jar"));
	} else {
	  // it's a file url
	  loader =3D new FileURLLoader(newUrl);
	}
	//cache it
	urlloaders.put(newUrl, loader);
      }catch(IOException e){
	return; //not add this url
      }
    }
       =20
    urls.add(newUrl);
    urlinfos.add(loader);
  }

  /**
   * Adds an array of new locations to the end of the internal URL store.
   * @param newUrls the locations to add
   */
  private void addURLs(URL[] newUrls) {
    for (int i =3D 0; i < newUrls.length; i++) {
      addURL(newUrls[i]);
    }
  }

  /**=20
   * Defines a Package based on the given name and the supplied manifest
   * information. The manifest indicates the tile, version and
   * vendor information of the specification and implementation and wheter =
the
   * package is sealed. If the Manifest indicates that the package is seale=
d
   * then the Package will be sealed with respect to the supplied URL.
   *
   * @exception IllegalArgumentException If this package name already exist=
s
   * in this class loader
   * @param name The name of the package
   * @param manifest The manifest describing the specification,
   * implementation and sealing details of the package
   * @param url the code source url to seal the package
   * @return the defined Package
   */
  protected Package definePackage(String name, Manifest manifest, URL url)=20
    throws IllegalArgumentException
  {
    Attributes attr =3D manifest.getMainAttributes();
    String specTitle =3D
      attr.getValue(Attributes.Name.SPECIFICATION_TITLE);=20
    String specVersion =3D
      attr.getValue(Attributes.Name.SPECIFICATION_VERSION);=20
    String specVendor =3D
      attr.getValue(Attributes.Name.SPECIFICATION_VENDOR);=20
    String implTitle =3D
      attr.getValue(Attributes.Name.IMPLEMENTATION_TITLE);=20
    String implVersion =3D
      attr.getValue(Attributes.Name.IMPLEMENTATION_VERSION);=20
    String implVendor =3D
      attr.getValue(Attributes.Name.IMPLEMENTATION_VENDOR);

    // Look if the Manifest indicates that this package is sealed
    // XXX - most likely not completely correct!
    // Shouldn't we also check the sealed attribute of the complete jar?
    // http://java.sun.com/products/jdk/1.4/docs/guide/extensions/spec.html=
#bundled
    // But how do we get that jar manifest here?
    String sealed =3D attr.getValue(Attributes.Name.SEALED);
    if ("false".equals(sealed)) {
      // make sure that the URL is null so the package is not sealed
      url =3D null;
    }

    return definePackage(name, specTitle, specVersion, specVendor,
			 implTitle, implVersion, implVendor, url);
  }

  /**
   * Finds (the first) class by name from one of the locations. The locatio=
ns
   * are searched in the order they were added to the URLClassLoader.
   *
   * @param className the classname to find
   * @exception ClassNotFoundException when the class could not be found or
   * loaded
   * @return a Class object representing the found class
   */
  protected Class findClass(final String className)
    throws ClassNotFoundException
  {
    // Just try to find the resource by the (almost) same name
    String resourceName =3D className.replace('.', '/') + ".class";
    Resource resource =3D findURLResource(resourceName);
    if (resource =3D=3D null)
      throw new ClassNotFoundException(className + " not found in " + urls)=
;

    // Try to read the class data, create the CodeSource, Package and
    // construct the class (and watch out for those nasty IOExceptions)
    try
      {
	byte [] data;
	InputStream in =3D resource.getInputStream();
	int length =3D resource.getLength();
	if (length !=3D -1)
	  {
	    // We know the length of the data.
	    // Just try to read it in all at once
	    data =3D new byte[length];
	    int pos =3D 0;
	    while(length - pos > 0)
	      {
		int len =3D in.read(data, pos, length - pos);
		if (len =3D=3D -1)
		  throw new EOFException("Not enough data reading from: "
					 + in);
		pos +=3D len;
	      }
	  }
	else
	  {
	    // We don't know the data length.
	    // Have to read it in chunks.
	    ByteArrayOutputStream out =3D new ByteArrayOutputStream(4096);
	    byte b[] =3D new byte[4096];
	    int l =3D 0;
	    while (l !=3D -1)
	      {
		l =3D in.read(b);
		if (l !=3D -1)
		  out.write(b, 0, l);
	      }
	    data =3D out.toByteArray();
	  }
	final byte[] classData =3D data;

	// Now get the CodeSource
	final CodeSource source =3D resource.getCodeSource();
=09
=09
	// Find out package name
	String packageName =3D null;
	int lastDot =3D className.lastIndexOf('.');
	if (lastDot !=3D -1)
	  packageName =3D className.substring(0, lastDot);
=09
	if (packageName !=3D null && getPackage(packageName) =3D=3D null)
	  {
	    // define the package
	    Manifest manifest =3D resource.loader.getManifest();
	    if (manifest =3D=3D null)
	      definePackage(packageName,
			    null, null, null, null, null, null, null);
	    else
	      definePackage(packageName, manifest, resource.loader.baseURL);
	  }
=09
	// And finally construct the class!
	SecurityManager sm =3D System.getSecurityManager();
	if (sm !=3D null && securityContext !=3D null)
	  {
	    return (Class)AccessController.doPrivileged
	      (new PrivilegedAction()
		{
		  public Object run()
		  {
		    return defineClass(className, classData,
				       0, classData.length,
				       source);
		  }
		}, securityContext);
	  }
	else
	  return defineClass(className, classData,
			     0, classData.length,
			     source);
      }
    catch (IOException ioe)
      {
	throw (ClassNotFoundException)
	  (new ClassNotFoundException(className, ioe));
      }
  }

  /**
   * Finds the first occurrence of a resource that can be found. The locati=
ons
   * are searched in the order they were added to the URLClassLoader.
   *
   * @param resourceName the resource name to look for
   * @return the URLResource for the resource if found, null otherwise
   */
  private Resource findURLResource(String resourceName)
  {
    int max =3D urls.size();
    for (int i =3D 0; i < max; i++)
      {
	URLLoader loader =3D (URLLoader)urlinfos.elementAt(i);
	if (loader =3D=3D null)
	  continue;
=09
	Resource resource =3D loader.getResource(resourceName);
	if (resource !=3D null)
	  return resource;
      }
    return null;
  }

  /**
   * Finds the first occurrence of a resource that can be found.
   *
   * @param resourceName the resource name to look for
   * @return the URL if found, null otherwise
   */
  public URL findResource(String resourceName)
  {
    Resource resource =3D findURLResource(resourceName);
    if (resource !=3D null)
      return resource.getURL();
   =20
    // Resource not found
    return null;
  }

  /**
   * If the URLStreamHandlerFactory has been set this return the appropriat=
e
   * URLStreamHandler for the given protocol, if not set returns null.
   *
   * @param protocol the protocol for which we need a URLStreamHandler
   * @return the appropriate URLStreamHandler or null
   */
  URLStreamHandler getURLStreamHandler(String protocol)
  {
    if (factory =3D=3D null)
      return null;

    // check if there're handler for the same protocol in cache
    Hashtable cache =3D (Hashtable)factoryCache.get(factory);
    URLStreamHandler handler =3D (URLStreamHandler)cache.get(protocol);
    if(handler =3D=3D null)
	{
	  // add it to cache
	  handler =3D factory.createURLStreamHandler(protocol);
	  cache.put(protocol, handler);
	}
    return handler;
  }

  /**
   * Finds all the resources with a particular name from all the locations.
   *
   * @exception IOException when an error occurs accessing one of the
   * locations
   * @param resourceName the name of the resource to lookup
   * @return a (possible empty) enumeration of URLs where the resource can =
be
   * found
   */
  public Enumeration findResources(String resourceName) throws IOException
  {
    Vector resources =3D new Vector();
    int max =3D urls.size();
    for (int i =3D 0; i < max; i++)
      {
	URLLoader loader =3D (URLLoader)urlinfos.elementAt(i);
	Resource resource =3D loader.getResource(resourceName);
	if (resource !=3D null)
	  resources.add(resource.getURL());
      }
    return resources.elements();
  }

  /**
   * Returns the permissions needed to access a particular code
   * source.  These permissions includes those returned by
   * <code>SecureClassLoader.getPermissions()</code> and the actual
   * permissions to access the objects referenced by the URL of the
   * code source.  The extra permissions added depend on the protocol
   * and file portion of the URL in the code source. If the URL has
   * the "file" protocol ends with a '/' character then it must be a
   * directory and a file Permission to read everything in that
   * directory and all subdirectories is added. If the URL had the
   * "file" protocol and doesn't end with a '/' character then it must
   * be a normal file and a file permission to read that file is
   * added. If the <code>URL</code> has any other protocol then a
   * socket permission to connect and accept connections from the host
   * portion of the URL is added.
   *
   * @param source The codesource that needs the permissions to be accessed
   * @return the collection of permissions needed to access the code resour=
ce
   * @see java.security.SecureClassLoader#getPermissions()
   */
  protected PermissionCollection getPermissions(CodeSource source) {
    // XXX - This implementation does exactly as the Javadoc describes.
    // But maybe we should/could use URLConnection.getPermissions()?

    // First get the permissions that would normally be granted
    PermissionCollection permissions =3D super.getPermissions(source);
       =20
    // Now add the any extra permissions depending on the URL location
    URL url =3D source.getLocation();
    String protocol =3D url.getProtocol();
    if (protocol.equals("file")) {
      String file =3D url.getFile();
      // If the file end in / it must be an directory
      if (file.endsWith("/")) {
	// Grant permission to read everything in that directory and
	// all subdirectories
	permissions.add(new FilePermission(file + "-", "read"));
      } else { // It is a 'normal' file
	// Grant permission to access that file
	permissions.add(new FilePermission(file, "read"));
      }
    } else {
      // Grant permission to connect to and accept connections from host
      String host =3D url.getHost();
      permissions.add(new SocketPermission(host, "connect,accept"));
    }

    return permissions;
  }
   =20
  /**
   * Returns all the locations that this class loader currently uses the
   * resolve classes and resource. This includes both the initially supplie=
d
   * URLs as any URLs added later by the loader.
   * @return All the currently used URLs
   */
  public URL[] getURLs() {
    return (URL[]) urls.toArray(new URL[urls.size()]);
  }

  /**
   * Creates a new instance of a <code>URLClassLoader</code> that gets
   * classes from the supplied <code>URL</code>s. This class loader
   * will have as parent the standard system class loader.
   *
   * @param urls the initial URLs used to resolve classes and
   * resources
   *
   * @exception SecurityException when the calling code does not have
   * permission to access the given <code>URL</code>s
   */
  public static URLClassLoader newInstance(URL urls[])
    throws SecurityException
  {
    return newInstance(urls, null);
  }

  /**
   * Creates a new instance of a <code>URLClassLoader</code> that gets
   * classes from the supplied <code>URL</code>s and with the supplied
   * loader as parent class loader.
   *
   * @param urls the initial URLs used to resolve classes and
   * resources
   * @param parent the parent class loader
   *
   * @exception SecurityException when the calling code does not have
   * permission to access the given <code>URL</code>s
   */
  public static URLClassLoader newInstance(URL urls[],
					   final ClassLoader parent)
    throws SecurityException
  {
    SecurityManager sm =3D System.getSecurityManager();
    if (sm =3D=3D null)
      return new URLClassLoader(urls, parent);
    else
      {
	final Object securityContext =3D sm.getSecurityContext();
	// XXX - What to do with anything else then an AccessControlContext?
	if (!(securityContext instanceof AccessControlContext))
	  throw new SecurityException
	    ("securityContext must be AccessControlContext: "
	     + securityContext);
=09
	URLClassLoader loader =3D
	  (URLClassLoader)AccessController.doPrivileged(new PrivilegedAction()
	    {
	      public Object run()
	      {
		return new URLClassLoader
		  (parent, (AccessControlContext)securityContext);
	      }
	    });
	loader.addURLs(urls);
	return loader;
      }
  }
}

--=-YbnS7qaXxxDyt4AyO80H--




From mark@klomp.org Mon Oct 21 19:08:34 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 183lf0-0004Y0-00
	for classpath@gnu.org; Mon, 21 Oct 2002 19:08:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 183ley-0004Wm-00
	for classpath@gnu.org; Mon, 21 Oct 2002 19:08:33 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 183ley-0004WU-00
	for classpath@gnu.org; Mon, 21 Oct 2002 19:08:32 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 183leE-0005yx-00; Tue, 22 Oct 2002 01:07:46 +0200
Subject: Re: java.util.zip.InflaterInputStream patch
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
Cc: "Wu, Gansha" <gansha.wu@intel.com>, classpath@gnu.org
In-Reply-To: <873cr2dx86.fsf@fleche.redhat.com>
References: <1035015193.963.223.camel@elsschot> 
	<873cr2dx86.fsf@fleche.redhat.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 22 Oct 2002 01:08:13 +0200
Message-Id: <1035241694.14993.63.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Sat, 2002-10-19 at 21:50, Tom Tromey wrote:
> Mark> +          //add a padding byte, 
> Mark> +          //it's necessary when using native zlib
> Mark> +          ++len;
> 
> Mark> When is this needed?
> 
> I wonder if it is related to this comment in libgcj:
> 
>       /* Using the no_header option, zlib requires an extra padding byte at the
>       end of the stream in order to successfully complete decompression (see
>       zlib/contrib/minizip/unzip.c). We don't do this, so can end up with a 
>       Z_BUF_ERROR at the end of a stream when zlib has completed inflation
>       and there's no more input. Thats not a problem. */

Thanks, that seems to be the situation when this code would be
triggered. But this shouldn't be a problem with our java.util.zip
(jazzlib) implementation since that doesn't use zlib.

What is the experience of other VM developers? Do you use jazzlib or
some form of native zlib java.util.zip?

If only we had a way to more easily share CNI and JNI code... Any VMs
(except libgcj) that support CNI btw? I heard that Kaffe once had
interoperability with gcj compiled native code but that it was not kept
up to date with the current gcj.

Thanks,

Mark




From jeroen@sumatra.nl Tue Oct 22 04:18:06 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 183uEo-0002ru-00
	for classpath@gnu.org; Tue, 22 Oct 2002 04:18:06 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 183uEk-0002ho-00
	for classpath@gnu.org; Tue, 22 Oct 2002 04:18:04 -0400
Received: from 62-177-154-235.bbeyond.nl ([62.177.154.235] helo=smtp.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 183uEj-0002Yf-00
	for classpath@gnu.org; Tue, 22 Oct 2002 04:18:01 -0400
Received: from tpjeroen ([194.158.173.185]) by smtp.sumatrasoftware.com with Microsoft SMTPSVC(5.0.2195.5329);
	 Tue, 22 Oct 2002 10:10:08 +0200
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "'Mark Wielaard'" <mark@klomp.org>
Cc: <classpath@gnu.org>
Subject: RE: Small URLClassLoader bug fix
Date: Tue, 22 Oct 2002 10:17:57 +0200
Message-ID: <02ef01c279a3$87ac6e90$d601a8c0@tpjeroen>
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, Build 10.0.4024
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-reply-to: <1035240144.14993.55.camel@elsschot>
X-OriginalArrivalTime: 22 Oct 2002 08:10:08.0427 (UTC) FILETIME=[6FA0D7B0:01C279A2]
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

Thanks, Mark. This version contains a new bug, though ;-)

Here is the fix:
--- \URLClassLoader.java	Tue Oct 22 09:55:00 2002
+++ URLClassLoader.java	Tue Oct 22 10:11:20 2002
@@ -366,7 +366,7 @@
     Resource getResource(String name)
     {
       File file = new File(dir, name);
-      if (file != null)
+      if (file.exists())
 	return new FileResource(this, name, file);
       else
 	return null;


Regards,
Jeroen

> -----Original Message-----
> From: classpath-admin@gnu.org 
> [mailto:classpath-admin@gnu.org] On Behalf Of Mark Wielaard
> Sent: Tuesday, October 22, 2002 00:42
> To: Jeroen Frijters
> Cc: classpath@gnu.org
> Subject: Re: Small URLClassLoader bug fix
> 
> 
> Hi,
> 
> On Sat, 2002-10-19 at 18:40, Jeroen Frijters wrote:
> > After getting the latest code from CVS, I ran into a problem
> > (ClassFormatError). Turned out to be due to a small bug in
> > java.net.URLClassLoader.
> > 
> > 269c269,272
> > <                 in.read(classData);
> > ---
> > >                 int pos = 0;
> > >                 while(length - pos > 0) {
> > >                     pos += in.read(classData, pos, length - pos);
> > >                 }
> 
> Thanks. I also fixed the other problem we talked about in 
> private email
> (URLClassLoader only worked for files ending in .jar or .zip).
> 
> Attached is the beginning of a rewrite of URLClassLoader based on the
> patches of the Intel Orp developers (which also contained 
> this fix). It
> also tries to do something sensible with the security context of the
> caller of newInstance and always creates the correct Package and
> CodeSource for a newly loaded class. I don't have time to finish and
> test this now but it seems to work (for me). Will try to finish it at
> the end of the week or next weekend.
> 
> Cheers,
> 
> Mark
> 




From crawley@dstc.edu.au Tue Oct 22 18:44:25 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 1847lB-0003cG-00
	for classpath@gnu.org; Tue, 22 Oct 2002 18:44:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 1847l9-0003bx-00
	for classpath@gnu.org; Tue, 22 Oct 2002 18:44:24 -0400
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 1847l8-0003aO-00; Tue, 22 Oct 2002 18:44:22 -0400
Received: from dstc.edu.au (soluble.dstc.edu.au [130.102.176.43])
	by piglet.dstc.edu.au (8.12.3/8.12.3) with ESMTP id g9MMiEPf006622;
	Wed, 23 Oct 2002 08:44:14 +1000 (EST)
Message-Id: <200210222244.g9MMiEPf006622@piglet.dstc.edu.au>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: Brian Jones <cbj@gnu.org>
cc: Stephen Crawley <crawley@dstc.edu.au>, Mark Wielaard <mark@klomp.org>,
   classpath@gnu.org, crawley@piglet.dstc.edu.au, crawley@piglet.dstc.edu.au
Subject: Re: Getting Mauve running with Classpath+gcj/jikes+kissme 
In-Reply-To: Message from Brian Jones <cbj@gnu.org> 
   of "21 Oct 2002 18:23:17 -0400." <m31y6jwhwq.fsf@lyta.haphazard.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 23 Oct 2002 08:44:14 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Spam-Checked: SPAMASSASSIN: This message probably not SPAM
X-Spam-Score: -104.4, Required: 5
X-Virus-Scanned: Message: ok
X-Scanned-By: MIMEDefang 2.9 (www dot roaringpenguin dot com slash mimedefang)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian,

I've checked some changes into the Kissme CVS that should solve
your problem.  There is now a --with-gnu-classpath-build option
for specifying the GNU Classpath build dir when it is different
from the GNU Classpath build dir.

> > cd "${KISSME_CVS}" && ./configure --prefix=${KISSME_PREFIX}
> > --enable-use-zips --with-gnu-classpath=${CLASSPATH_CVS}/build
> > --with-classpath-install-dir=${CLASSPATH_PREFIX} >> ${LOG} 2>&1

You can now do this:

  cd "${KISSME_CVS}" && ./configure --prefix=${KISSME_PREFIX} \
    --enable-use-zips --with-gnu-classpath=${CLASSPATH_CVS} \
    --with-gnu-classpath-build=${CLASSPATH_CVS}/build \
    --with-classpath-install-dir=${CLASSPATH_PREFIX} >> ${LOG} 2>&1

or simply

  cd "${KISSME_CVS}" && ./configure --prefix=${KISSME_PREFIX} \
    --enable-use-zips --with-gnu-classpath=${CLASSPATH_CVS} \
    --with-classpath-install-dir=${CLASSPATH_PREFIX} >> ${LOG} 2>&1

[Aside: I should probably remove the dependencies on the GNU classpath
source/build directories entirely.  But that means de-supporting the
old "kissme-classpath" way of building the runtime classes for kissme.]

-- Steve




From hindm@us.ibm.com Tue Oct 22 08:03:58 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 183xlO-0000bD-00
	for classpath@gnu.org; Tue, 22 Oct 2002 08:03:58 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 183xkh-0000T6-00
	for classpath@gnu.org; Tue, 22 Oct 2002 08:03:57 -0400
Received: from e2.ny.us.ibm.com ([32.97.182.102])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 183xkh-0000T2-00
	for classpath@gnu.org; Tue, 22 Oct 2002 08:03:15 -0400
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [9.56.224.206])
	by e2.ny.us.ibm.com (8.12.2/8.12.2) with ESMTP id g9MC3E0K115800
	for <classpath@gnu.org>; Tue, 22 Oct 2002 08:03:14 -0400
Received: from d01ml233.pok.ibm.com (d01ml233.pok.ibm.com [9.56.224.56])
	by northrelay04.pok.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g9MC3Cbr115234
	for <classpath@gnu.org>; Tue, 22 Oct 2002 08:03:12 -0400
Subject: Re: [Jikesrvm-core] Re: Updates to GNU Classpath port of JRVM
To: classpath@gnu.org
Cc: dolby@us.ibm.com
X-Mailer: Lotus Notes Release 5.0.7  March 21, 2001
Message-ID: <OF11F119F8.4DCBD468-ON85256C5A.00421AA2@us.ibm.com>
From: Michael Hind <hindm@us.ibm.com>
Date: Tue, 22 Oct 2002 08:03:08 -0400
X-MIMETrack: Serialize by Router on D01ML233/01/M/IBM(Release 6.0|September 26, 2002) at
 10/22/2002 08:03:12
MIME-Version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: quoted-printable
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>





This message should have cc'd the classpath list as well, so Brian coul=
d
see.

Here is the message.

Mike

- - - - - - - - - - - - - - - -
Michael Hind, Manager, Dynamic Optimization Group, Jalape=F1o Project

IBM Watson Research Center
http://www.research.ibm.com/people/h/hind
hind@watson.ibm.com, 914 784-7589, tie: 863-7589
Jikes RVM open source release:
http://www.ibm.com/developerworks/oss/jikesrvm


                                                                       =
                                                                       =
        
                      Julian Dolby/Watson/IBM@IBMUS                    =
                                                                       =
        
                      Sent by:                                      To:=
       jikesrvm-core@www-124.southbury.usf.ibm.com                     =
        
                      jikesrvm-core-admin@www-124.southbury.        cc:=
                                                                       =
        
                      usf.ibm.com                                   Sub=
ject:  Re: [Jikesrvm-core] Re: Updates to GNU Classpath port of JRVM   =
        
                                                                       =
                                                                       =
        
                                                                       =
                                                                       =
        
                      10/21/2002 01:33 PM                              =
                                                                       =
        
                      Please respond to jikesrvm-core                  =
                                                                       =
        
                                                                       =
                                                                       =
        
                                                                       =
                                                                       =
        







John, Brian,

  I have in fact been working on integrating the Classpath port into ou=
r
CVS tree so that stuff simply works
directly (with the possible goal of ultimately abadoning our current
libraries).  Mostly, it is the patches that you
provided and have been incorporated into our tree.  In some cases, I
modified Jikes RVm to make it easier to
run with both libraries (i.e. I changed the class loaders to use generi=
c
java.net.URLClassLoader to avoid ifdef'ing
based on the library being used).

 The result is that the GNUClasspathSupport  directory in our current C=
VS
head is an implementation of the files
that Classpath expects to be VM-supplied.  While this code obviously us=
es
the interface required by classpath, it
consists mostly of calls into our own libSupport packages.  I do not th=
ink
that should cause any licensing issues.

  With this code added to our VM, I have been running our suite of Jike=
s
RVM sanity tests: the full range
of boot images and tests. The only gotcha is that I have made one or tw=
o
structural changes to the Classpath
code (I keep a check-out of Classpath'sCVS), involving moving some stuf=
f
out of the core vm classes into the
classes like VMSystem.  In addition,in my CVS version of classpath, the=
re
are various bug fixes to the classpath
code that are required for Jikes RVM to pass our full suite of sanity
tests.

  As for support in the Classpath build process, the code that I have i=
n
GNUClasspathSupport directory allows me
to build and run JikesRVM against the Classpath files without any speci=
al
preprocessing of them.

      -- Julian



                      Brian Jones

                      <cbj@gnu.org>                   To:       John Le=
uner
<jewel@pixie.co.za>
                      Sent by:                        cc:
jikesrvm-core@oss.software.ibm.com,
                      jikesrvm-core-admin@www-         classpath@gnu.or=
g

                      124.ibm.com                     Subject:
[Jikesrvm-core] Re: Updates to GNU Classpath
                                                       port of JRVM


                      10/18/02 05:55 PM

                      Please respond to

                      jikesrvm-core






John Leuner <jewel@pixie.co.za> writes:

> > > I've updated the files necessary to get a working bootimage out o=
f
JRVM
> > > 2.1.1 (latest CVS) and GNU Classpath (latest CVS) at:
> > >
> > > http://people.debian.org/~jewel//jikes/jikesport/2.1.1CVS/port.ht=
ml
> >
> > John, what prevents us from incorporating the necessary changes int=
o
> > Classpath CVS?  I'll assume we're talking a compilation/packaging
> > issue until I get more time to look at this.
>
> There are two parts:
>
> 1. The VM-specific files. Ideally these would go into the JRVM CVS tr=
ee,
> but I fear there are licensing issues.

Yes, but we can include them if need be.  Certainly if jikesrvm want to=

keep this working they would I think want or demand to keep them...

> 2. The modified Classpath files. I believe that to include these we
> would have to do some kind of preprocessing of the .java files.
>
> The JRVM people have written their own preprocessor to handle this ta=
sk
> (see rvm/src/tools/preprocessor/preprocessModifiedFiles.C). I think w=
e
> could use the same tool.
>
> It understands these directives:
>
> // The following preprocessor directives are recognized in source fil=
es:
> //    //-#if    <name>
> //    //-#elif  <name>
> //    //-#else  <optional-comment>
> //    //-#endif <optional-comment>
>
> I suppose it's also possible to use cpp, I don't know if it would cho=
ke
> on anything in the .java source.

cpp works just fine on .java source as far as I can tell.  I've seen
it used elsewhere for such things.  As the build already looks into
builddir for source (produced from srcdir via configure for instance)
then adding this shouldn't be hard, probably change the order of
compilation to look in 'lib' after going through all the .java source
directories, 'java', 'javax', and 'gnu'.  In those add the cpp rules
to Makefile.am.


> I don't think there are any other obstacles to incorporating this int=
o
> CVS.
>
> The JRVM code base is still under development and although there is a=

> 'library' interface between Classpath and JRVM, there might still be
> maintenance work to be done to keep the two CVS trees in sync.

There is maintenance work with every JVM... any time we change the JVM
interface we introduce that work ourselves.

> > > I'm also looking for someone to host an 'autobuilder' and perhaps=
 run
> > > nightly regression tests (starting with mauve and maybe others).
> >
> > I'm looking to do the same for Kissme, maybe others if they work wi=
th
> > Classpath CVS.  I'll let the list know when I've done Kissme and
> > getting the other one in there shouldn't be difficult.
>
> Great. Do you have a machine where you can have this run every night =
and
> produce binaries?

I can run it on my machine for now... I don't have anything suitable
for distribution of binaries at the moment, so producing them is
somewhat useless except to perform tests and product test results.

> For JRVM an autobuilder would have to be a beefy machine. Building th=
e
> basebase image (which is what I mostly do with the port) needs a mach=
ine
> with 512MB ram and will take roughly 5 minutes of CPU time.

Shouldn't be a problem.  I don't use my machine when I'm sleeping.

> Building the image with the optimising compiler, (which we'll do at a=

> later stage), will take a substantial amount of time and lots of RAM.=


Maybe I'll get more RAM if it becomes a problem.

Brian
--
Brian Jones <cbj@gnu.org>
_______________________________________________
Jikesrvm-core mailing list
Jikesrvm-core@www-124.ibm.com
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jikesrvm-cor=
e



_______________________________________________
Jikesrvm-core mailing list
Jikesrvm-core@www-124.ibm.com
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jikesrvm-cor=
e

=





From anwalt@aicas.com Wed Oct 23 12:24:29 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184OJ2-0007Pv-00
	for classpath@gnu.org; Wed, 23 Oct 2002 12:24:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184OIy-0007GH-00
	for classpath@gnu.org; Wed, 23 Oct 2002 12:24:27 -0400
Received: from moutng.kundenserver.de ([212.227.126.186])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184OIx-0007Cy-00
	for classpath@gnu.org; Wed, 23 Oct 2002 12:24:23 -0400
Received: from [212.227.126.160] (helo=mrelayng0.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 184OIs-00083N-00
	for classpath@gnu.org; Wed, 23 Oct 2002 18:24:18 +0200
Received: from [212.126.196.45] (helo=caribic.aicas.com)
	by mrelayng0.kundenserver.de with asmtp (Exim 3.35 #1)
	id 184OIs-0003TH-00; Wed, 23 Oct 2002 18:24:18 +0200
Received: from wau (unknown [192.168.1.2])
	by caribic.aicas.com (Postfix) with ESMTP
	id E403A46EFA; Wed, 23 Oct 2002 18:24:14 +0200 (CEST)
Content-Type: text/plain;
  charset="iso-8859-15"
From: Andy Walter <anwalt@aicas.com>
To: classpath@gnu.org
Subject: JamaicaVM and GNU Classpath
Date: Wed, 23 Oct 2002 18:21:49 +0200
X-Mailer: KMail [version 1.4]
Cc: aicas <aicas@aicas.com>, Torsten Rupp <rupp@aicas.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200210231821.49450.anwalt@aicas.com>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hello Classpath-Developers,

at aicas GmbH (http://www.aicas.com), we are developing a Java Virtual=20
Machine, JamaicaVM, that comes with its own (clean room) implementation o=
f=20
the standard classes. Since this is redundant work (and, as I understand =
it,=20
exactely the reason why the GNU Classpath project started), we are very=20
interested in joining your project.

Our VM is currently "closed source" as well as commercial. As far as I=20
understand the Classpath license agreement, this would not be a problem t=
o=20
you. I'd appreciate if we were welcome to join you and think that everybo=
dy=20
could benefit.

The easiest way would be if we could get write access to the repository, =
so=20
that we can provide code and bug fixes directly. (Of course, we intend to=
=20
give something back Classpath). Providing the code to a maintainer would =
be=20
okay for us, too.

In our developer branch, we replaced our own Java API (expect from java.l=
ang=20
and java.awt*) by GNU Classpath, to see whether there are any unexpected=20
problems. The result looks quite good: We didn't encounter much problems =
and=20
in Classpath, much more packages are implemented. The only disadvantage i=
s,=20
that with GNU Classpath, JamaicaVM needs more memory and seems to be some=
what=20
slower. Since JamaicaVM is designed for realtime systems, which are typic=
ally=20
rather small, embedded systems with weak CPUs, I would expect that we can=
=20
provide optimizations here.

Another thing that might be interesting for you is that JamaicaVM is easi=
ly=20
portable to a variously number of platforms. Currently, it is available o=
n=20
Linux, Solaris, VxWorks, QNX, embOS and Euros. We are working on a NetOS=20
version and RTEMS is probably coming soon. Some of those systems are some=
what=20
different from ordinary Unices. For the Classpath project, compatibility =
with=20
those systems was obviously not an issue. Since we need to do this anyway=
,=20
we'd volunteer to write a platform-independent layer for accessing the=20
operating system. (If you don't like this for some reason, no problem. In=
=20
that case, we would only use the Java code from a common repository and=20
continue with our own native code).


What do you think? Are we welcome?


Kind regards from Karlsruhe,

=09Andy.



* One thing that shouldn't be unmentioned: Unlike the rest of our current=
=20
standard classes, the AWT implementation is not completely written by=20
ourselves, but based on Acunia's Wonka/Rudolph.

--=20
aicas GmbH * Hoepfner Burg                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From cbj@gnu.org Wed Oct 23 20:53:16 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184WFQ-0001CP-00
	for classpath@gnu.org; Wed, 23 Oct 2002 20:53:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184WFO-0001CB-00
	for classpath@gnu.org; Wed, 23 Oct 2002 20:53:15 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184WFO-0001C5-00
	for classpath@gnu.org; Wed, 23 Oct 2002 20:53:14 -0400
Received: from mail7.nc.rr.com (fe7 [24.93.67.54])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9O0rDup011680;
	Wed, 23 Oct 2002 20:53:13 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Wed, 23 Oct 2002 20:52:42 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9O0rRA9026173;
	Wed, 23 Oct 2002 20:53:27 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9O0rRUp026169;
	Wed, 23 Oct 2002 20:53:27 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Andy Walter <anwalt@aicas.com>
Cc: classpath@gnu.org, aicas <aicas@aicas.com>, Torsten Rupp <rupp@aicas.com>
Subject: Re: JamaicaVM and GNU Classpath
References: <200210231821.49450.anwalt@aicas.com>
From: Brian Jones <cbj@gnu.org>
Date: 23 Oct 2002 20:53:27 -0400
In-Reply-To: <200210231821.49450.anwalt@aicas.com>
Message-ID: <m3u1jcy7w8.fsf@lyta.haphazard.org>
Lines: 47
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Andy Walter <anwalt@aicas.com> writes:

> The easiest way would be if we could get write access to the repository, so 
> that we can provide code and bug fixes directly. (Of course, we intend to 
> give something back Classpath). Providing the code to a maintainer would be 
> okay for us, too.

We're rather free with the CVS access.

> In our developer branch, we replaced our own Java API (expect from
> java.lang and java.awt*) by GNU Classpath, to see whether there are
> any unexpected problems. The result looks quite good: We didn't
> encounter much problems and in Classpath, much more packages are
> implemented. The only disadvantage is, that with GNU Classpath,
> JamaicaVM needs more memory and seems to be somewhat slower. Since
> JamaicaVM is designed for realtime systems, which are typically
> rather small, embedded systems with weak CPUs, I would expect that
> we can provide optimizations here.

We haven't spent a great deal of time optimizing the library for speed
or memory usage.  By chance do you also have support for the JPDA?

> Another thing that might be interesting for you is that JamaicaVM is
> easily portable to a variously number of platforms. Currently, it is
> available on Linux, Solaris, VxWorks, QNX, embOS and Euros. We are
> working on a NetOS version and RTEMS is probably coming soon. Some
> of those systems are somewhat different from ordinary Unices. For
> the Classpath project, compatibility with those systems was
> obviously not an issue. Since we need to do this anyway, we'd
> volunteer to write a platform-independent layer for accessing the
> operating system. (If you don't like this for some reason, no
> problem. In that case, we would only use the Java code from a common
> repository and continue with our own native code).

A platfom independent layer, call it a library, to abstract away
socket and file i/o and other needed system calls has been on my todo
list for a while.  I'd actually prefer to use NSPR or APR for this
purpose but I think they do more than Classpath needs and they also
complicate the licensing issue.

> What do you think? Are we welcome?

Yes, you're definitely welcome.  I'll send you a separate email off
the list to get the ball rolling.

-- 
Brian Jones <cbj@gnu.org>



From chris.gray@acunia.com Thu Oct 24 03:28:30 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184cPu-0005qh-00
	for classpath@gnu.org; Thu, 24 Oct 2002 03:28:30 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184cPs-0005mP-00
	for classpath@gnu.org; Thu, 24 Oct 2002 03:28:29 -0400
Received: from nat.acunia.com ([194.7.211.211] helo=mail.acunia.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184cPs-0005iS-00
	for classpath@gnu.org; Thu, 24 Oct 2002 03:28:28 -0400
Received: from sophocles.leuven.intern.acunia.com (sophocles.leuven.intern.acunia.com [10.0.1.34])
	by mail.acunia.com (8.11.6/8.11.6) with ESMTP id g9O7SL401211;
	Thu, 24 Oct 2002 09:28:21 +0200
Date: Thu, 24 Oct 2002 09:01:45 +0200 (CEST)
From: Chris Gray <chris.gray@acunia.com>
X-X-Sender: gray@sophocles.leuven.intern.acunia.com
To: Andy Walter <anwalt@aicas.com>
cc: classpath@gnu.org, aicas <aicas@aicas.com>, Torsten Rupp <rupp@aicas.com>
Subject: Re: JamaicaVM and GNU Classpath
In-Reply-To: <200210231821.49450.anwalt@aicas.com>
Message-ID: <Pine.LNX.4.44.0210240859560.3233-100000@sophocles.leuven.intern.acunia.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

On Wed, 23 Oct 2002, Andy Walter wrote:

> * One thing that shouldn't be unmentioned: Unlike the rest of our current 
> standard classes, the AWT implementation is not completely written by 
> ourselves, but based on Acunia's Wonka/Rudolph.

Which reminds me: we are happy to make Rudolph available under the 
Classpath licence (GPL+exception) as well as the current BSD licence if 
this would help anybody. 

Regards

-- 

Chris Gray

VM Architect, ACUNIA





From anwalt_pop@aicas.com Thu Oct 24 10:19:46 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184ipu-0000gr-00
	for classpath@gnu.org; Thu, 24 Oct 2002 10:19:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184ipp-0000Sv-00
	for classpath@gnu.org; Thu, 24 Oct 2002 10:19:45 -0400
Received: from moutng.kundenserver.de ([212.227.126.186])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184ipo-0000Q8-00
	for classpath@gnu.org; Thu, 24 Oct 2002 10:19:40 -0400
Received: from [212.227.126.161] (helo=mrelayng2.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 184ipn-00042r-00
	for classpath@gnu.org; Thu, 24 Oct 2002 16:19:39 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng2.kundenserver.de with asmtp (Exim 3.35 #1)
	id 184ipn-0006zr-00
	for classpath@gnu.org; Thu, 24 Oct 2002 16:19:39 +0200
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andy Walter <anwalt_pop@aicas.com>
To: classpath@gnu.org
Subject: Re: JamaicaVM and GNU Classpath
Date: Thu, 24 Oct 2002 16:17:08 +0200
X-Mailer: KMail [version 1.4]
References: <200210231821.49450.anwalt@aicas.com> <m3u1jcy7w8.fsf@lyta.haphazard.org>
In-Reply-To: <m3u1jcy7w8.fsf@lyta.haphazard.org>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200210241617.08218.anwalt_pop@aicas.com>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

On Thursday 24 October 2002 02:53, Brian Jones wrote:
> Andy Walter <anwalt@aicas.com> writes:

> We're rather free with the CVS access.

Fine.


> We haven't spent a great deal of time optimizing the library for speed
> or memory usage.

No problem. It is, of course, important to us, so we will invest some tim=
e=20
here.


> By chance do you also have support for the JPDA?

Not yet. We already started implementing JPDA, but delayed in favour of s=
ome=20
urgent projects. I hope that we get a first implementation (JVMDI only an=
d=20
with some restrictions) within the next 6 months.


> A platfom independent layer, call it a library, to abstract away
> socket and file i/o and other needed system calls has been on my todo
> list for a while.  I'd actually prefer to use NSPR or APR for this
> purpose but I think they do more than Classpath needs and they also
> complicate the licensing issue.

I don't know about NSPR and APR, but a library is not exactly what we wan=
ted=20
to use (because of code size and performance matters). What we currently =
have=20
is a general set of macros for socket and file i/o access (and other evil=
=20
functions such as malloc. Having a garbage collector that avoids or copes=
=20
with memory fragmentation is close to being useless if the native code ma=
kes=20
use of malloc that causes memory fragmentation for the memory outside of =
GC=20
control). Each macro may or may not be defined in platform-dependent incl=
ude=20
files. If a macro was not implemented there, the generic one for POSIX=20
systems is used.

Since some of our target systems don't even provide a file system, not to=
=20
speak about networking, we can entirely omit those functions in that case=
=2E=20


Kind regards,

=09Andy.

--=20
aicas GmbH * Hoepfner Burg                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From anwalt_pop@aicas.com Thu Oct 24 11:20:44 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184jmu-00009c-00
	for classpath@gnu.org; Thu, 24 Oct 2002 11:20:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184jmq-0008Sg-00
	for classpath@gnu.org; Thu, 24 Oct 2002 11:20:43 -0400
Received: from moutng.kundenserver.de ([212.227.126.187])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184jmp-0008Ps-00
	for classpath@gnu.org; Thu, 24 Oct 2002 11:20:39 -0400
Received: from [212.227.126.160] (helo=mrelayng0.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 184jmp-00071k-00
	for classpath@gnu.org; Thu, 24 Oct 2002 17:20:39 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng0.kundenserver.de with asmtp (Exim 3.35 #1)
	id 184jmp-0005Pt-00; Thu, 24 Oct 2002 17:20:39 +0200
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andy Walter <anwalt_pop@aicas.com>
To: classpath@gnu.org
Subject: Re: JamaicaVM and GNU Classpath
Date: Thu, 24 Oct 2002 17:18:07 +0200
X-Mailer: KMail [version 1.4]
References: <Pine.LNX.4.44.0210240859560.3233-100000@sophocles.leuven.intern.acunia.com>
In-Reply-To: <Pine.LNX.4.44.0210240859560.3233-100000@sophocles.leuven.intern.acunia.com>
Cc: aicas <aicas@aicas.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200210241718.07870.anwalt_pop@aicas.com>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi Chris,

On Thursday 24 October 2002 09:01, Chris Gray wrote:
> On Wed, 23 Oct 2002, Andy Walter wrote:
> > * One thing that shouldn't be unmentioned: Unlike the rest of our cur=
rent
> > standard classes, the AWT implementation is not completely written by
> > ourselves, but based on Acunia's Wonka/Rudolph.
>
> Which reminds me: we are happy to make Rudolph available under the
> Classpath licence (GPL+exception) as well as the current BSD licence if
> this would help anybody.

That might help indeed. We always found somewhat guilty because you had n=
o use=20
for our changes to Rudolph, while the Rudolph sources were really helpful=
 to=20
us. The reason is that our VMs differ so much. We prefer Java code to C=20
because of portability reasons and performance (while JNI calls are=20
expensive, we can compile the Java code).

Therefore, our current implementation only uses 5 native methods. We also=
=20
support some frame buffer devices directly (no X needed). If this is usef=
ul=20
for somebody else, we probably can give that to Classpath as well (provid=
ed=20
that Acunia offers the Classpath license, of course). I can make no promi=
ses=20
here, because we have to discuss this first, but personally I see no=20
problems.

I've seen that the Classpath AWT implementation uses peers. This has=20
advantages on some targets, but is not very helpful on targets without an=
y=20
Window System at all. I personally like the idea of having two different =
AWT=20
implementations (at aicas we were already discussing that matter), accord=
ing=20
to the target system. What about the other Classpath developers? Do you t=
hank=20
that including two AWT implementations is good or do you prefer having a=20
single implementation that should fit for everybody?

Kind regards,

=09Andy.

--=20
aicas GmbH * Hoepfner Burg                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From mark@klomp.org Thu Oct 24 11:41:55 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184k7P-00064T-00
	for classpath@gnu.org; Thu, 24 Oct 2002 11:41:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184k7L-000627-00
	for classpath@gnu.org; Thu, 24 Oct 2002 11:41:54 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184k7L-0005xt-00
	for classpath@gnu.org; Thu, 24 Oct 2002 11:41:51 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 184k6j-0003m0-00; Thu, 24 Oct 2002 17:41:13 +0200
Subject: Re: [Jikesrvm-core] Re: Updates to GNU Classpath port of JRVM
From: Mark Wielaard <mark@klomp.org>
To: Michael Hind <hindm@us.ibm.com>
Cc: classpath@gnu.org, dolby@us.ibm.com
In-Reply-To: <OF11F119F8.4DCBD468-ON85256C5A.00421AA2@us.ibm.com>
References: <OF11F119F8.4DCBD468-ON85256C5A.00421AA2@us.ibm.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 24 Oct 2002 17:41:42 +0200
Message-Id: <1035474102.29141.231.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Tue, 2002-10-22 at 14:03, Michael Hind wrote:
> This message should have cc'd the classpath list as well, so Brian could
> see.

Thanks. Nice to know this is working.

>  The result is that the GNUClasspathSupport  directory in our current CVS
> head is an implementation of the files
> that Classpath expects to be VM-supplied.

I found this code at
http://www-124.ibm.com/developerworks/oss/cvs/jikesrvm/rvm/src/vm/GNUClasspathSupport/

If you have comments on the current Classpath VM interface please let us
know. Were there things that are missing or could be made easier?

In the future I hope to move things like Thread.java and Runtime.java
out of the VM interfaces and just have small VMThread and VMRuntime stub
classes. This is what was recently done for Throwable but I see that you
don't use the VMThrowable. Was anything missing from the VMThrowable
Interface or was it just easier for you to keep your own Throwable
implementation?

> The only gotcha is that I have made one or two
> structural changes to the Classpath
> code (I keep a check-out of Classpath'sCVS), involving moving some stuff
> out of the core vm classes into the
> classes like VMSystem.  In addition,in my CVS version of classpath, there
> are various bug fixes to the classpath
> code that are required for Jikes RVM to pass our full suite of sanity
> tests.

Would you mind submitting these changes to GNU Classpath? (Brian can
probably help with any copyright assignment or licensing issues.) Or
describe the changes that you needed to make? Are they online somewhere?

Thanks,

Mark




From mark@klomp.org Thu Oct 24 12:03:24 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184kSB-0002Ro-00
	for classpath@gnu.org; Thu, 24 Oct 2002 12:03:23 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184kS7-0002Mk-00
	for classpath@gnu.org; Thu, 24 Oct 2002 12:03:21 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184kS6-0002MX-00
	for classpath@gnu.org; Thu, 24 Oct 2002 12:03:18 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 184kRW-0003re-00; Thu, 24 Oct 2002 18:02:42 +0200
Subject: Re: JamaicaVM and GNU Classpath
From: Mark Wielaard <mark@klomp.org>
To: Andy Walter <anwalt@aicas.com>
Cc: classpath@gnu.org, aicas <aicas@aicas.com>, Torsten Rupp <rupp@aicas.com>
In-Reply-To: <200210231821.49450.anwalt@aicas.com>
References: <200210231821.49450.anwalt@aicas.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 24 Oct 2002 18:03:11 +0200
Message-Id: <1035475391.29141.253.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Wed, 2002-10-23 at 18:21, Andy Walter wrote:
> at aicas GmbH (http://www.aicas.com), we are developing a Java Virtual 
> Machine, JamaicaVM, that comes with its own (clean room) implementation of 
> the standard classes. Since this is redundant work (and, as I understand it, 
> exactely the reason why the GNU Classpath project started), we are very 
> interested in joining your project.

That would be very nice!

> Our VM is currently "closed source" as well as commercial. As far as I 
> understand the Classpath license agreement, this would not be a problem to 
> you. I'd appreciate if we were welcome to join you and think that everybody 
> could benefit.

For license questions you will have to contact licensing@gnu.org since
they can give you advice on legal issues. The GNU Classpath license does
indeed allow certain kinds of derived works that are not Free Software.
This was done because we felt that in the end this would benefit
users/developers the most since it would result in having more free
software available. But we do prefer working with Free Software and we
will certainly not promote proprietary closed source software.

So I would ask you kindly to only distribute you VM as free software.
See for example Ada Core Technologies <http://www.gnat.com/> for an
example of a commercial Free Software business. Or of course
http://wonka.acunia.com/.

> The easiest way would be if we could get write access to the repository, so 
> that we can provide code and bug fixes directly. (Of course, we intend to 
> give something back Classpath). Providing the code to a maintainer would be 
> okay for us, too.

I saw that Brian already send you the information on how to contribute
(see also http://www.gnu.org/software/classpath/doc/hacking.html#SEC2)
It would be nice if you have CVS access to integrate changes yourself
since merging changes from others does sometimes take a long time since
we have only that many developers.

> In our developer branch, we replaced our own Java API (expect from java.lang 
> and java.awt*) by GNU Classpath, to see whether there are any unexpected 
> problems. The result looks quite good: We didn't encounter much problems and 
> in Classpath, much more packages are implemented.

Very nice. What tests did you use?

> The only disadvantage is, 
> that with GNU Classpath, JamaicaVM needs more memory and seems to be somewhat 
> slower. Since JamaicaVM is designed for realtime systems, which are typically 
> rather small, embedded systems with weak CPUs, I would expect that we can 
> provide optimizations here.

There are some speed improvements that were recently contributed by the
Orp developers some have already been integrated. I will be integrating
some more in the next couple of days. But besides that GNU Classpath is
indeed not optimized at all so all help here would be greatly
appreciated.

> Since we need to do this anyway, 
> we'd volunteer to write a platform-independent layer for accessing the 
> operating system. (If you don't like this for some reason, no problem. In 
> that case, we would only use the Java code from a common repository and 
> continue with our own native code).

The native libraries of libgcj are already much better being more
platform-independent. Sadly we don't even have a plan on how to merge
these libraries yet. (libgcj uses the CNI interface for most native code
since JNI is much to slow for them).

> What do you think? Are we welcome?

Sure. I look forward to working with you.

Cheers,

Mark




From hindm@us.ibm.com Thu Oct 24 14:29:13 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184mjJ-0007Lk-00
	for classpath@gnu.org; Thu, 24 Oct 2002 14:29:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184mjF-0007L8-00
	for classpath@gnu.org; Thu, 24 Oct 2002 14:29:12 -0400
Received: from e1.ny.us.ibm.com ([32.97.182.101])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184mia-0006zV-00
	for classpath@gnu.org; Thu, 24 Oct 2002 14:28:28 -0400
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [9.56.224.206])
	by e1.ny.us.ibm.com (8.12.2/8.12.2) with ESMTP id g9OISQHO036780;
	Thu, 24 Oct 2002 14:28:26 -0400
Received: from d01ml233.pok.ibm.com (d01ml233.pok.ibm.com [9.56.224.56])
	by northrelay04.pok.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g9OISNl6017262;
	Thu, 24 Oct 2002 14:28:23 -0400
Subject: Re: [Jikesrvm-core] Re: Updates to GNU Classpath port of JRVM
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org, Julian Dolby <dolby@us.ibm.com>
X-Mailer: Lotus Notes Release 5.0.7  March 21, 2001
Message-ID: <OF9715113A.B423024E-ON85256C5C.0065317C@us.ibm.com>
From: Michael Hind <hindm@us.ibm.com>
Date: Thu, 24 Oct 2002 14:28:23 -0400
X-MIMETrack: Serialize by Router on D01ML233/01/M/IBM(Release 6.0 [IBM]|October 21, 2002) at
 10/24/2002 14:28:23
MIME-Version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: quoted-printable
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>





> Would you mind submitting these changes to GNU Classpath? (Brian can
> probably help with any copyright assignment or licensing issues.) Or
> describe the changes that you needed to make? Are they online somewhe=
re?

Hi Mark,

      Brian and I have been discussing this mostly on the
jikesrvm-researchers list.  (You may want to check the thread in the
archive.)

We very much want to contribution the changes.  We are about to get IBM=
's
approval to do this.  Brian recently mentioned the FSF licensing statem=
ent
requirement.   I'll have to get our legal folks involved again to deal =
with
the issues.

Mike

- - - - - - - - - - - - - - - -
Michael Hind, Manager, Dynamic Optimization Group, Jalape=F1o Project

IBM Watson Research Center
http://www.research.ibm.com/people/h/hind
hind@watson.ibm.com, 914 784-7589, tie: 863-7589
Jikes RVM open source release:
http://www.ibm.com/developerworks/oss/jikesrvm


                                                                       =
                                                          
                      Mark Wielaard                                    =
                                                          
                      <mark@klomp.org>         To:       Michael Hind/W=
atson/IBM@IBMUS                                           
                                               cc:       classpath@gnu.=
org, Julian Dolby/Watson/IBM@IBMUS                        
                      10/24/2002 11:41         Subject:  Re: [Jikesrvm-=
core] Re: Updates to GNU Classpath port of JRVM           
                      AM                                               =
                                                          
                                                                       =
                                                          
                                                                       =
                                                          



Hi,

On Tue, 2002-10-22 at 14:03, Michael Hind wrote:
> This message should have cc'd the classpath list as well, so Brian co=
uld
> see.

Thanks. Nice to know this is working.

>  The result is that the GNUClasspathSupport  directory in our current=
 CVS
> head is an implementation of the files
> that Classpath expects to be VM-supplied.

I found this code at
http://www-124.ibm.com/developerworks/oss/cvs/jikesrvm/rvm/src/vm/GNUCl=
asspathSupport/


If you have comments on the current Classpath VM interface please let u=
s
know. Were there things that are missing or could be made easier?

In the future I hope to move things like Thread.java and Runtime.java
out of the VM interfaces and just have small VMThread and VMRuntime stu=
b
classes. This is what was recently done for Throwable but I see that yo=
u
don't use the VMThrowable. Was anything missing from the VMThrowable
Interface or was it just easier for you to keep your own Throwable
implementation?

> The only gotcha is that I have made one or two
> structural changes to the Classpath
> code (I keep a check-out of Classpath'sCVS), involving moving some st=
uff
> out of the core vm classes into the
> classes like VMSystem.  In addition,in my CVS version of classpath, t=
here
> are various bug fixes to the classpath
> code that are required for Jikes RVM to pass our full suite of sanity=

> tests.

Would you mind submitting these changes to GNU Classpath? (Brian can
probably help with any copyright assignment or licensing issues.) Or
describe the changes that you needed to make? Are they online somewhere=
?

Thanks,

Mark


=





From gansha.wu@intel.com Thu Oct 24 22:45:31 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184uTb-0007yi-00
	for classpath@gnu.org; Thu, 24 Oct 2002 22:45:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184uTV-0007fn-00
	for classpath@gnu.org; Thu, 24 Oct 2002 22:45:27 -0400
Received: from fmr06.intel.com ([134.134.136.7] helo=caduceus.jf.intel.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184uTU-0007bt-00
	for classpath@gnu.org; Thu, 24 Oct 2002 22:45:24 -0400
Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6])
	by caduceus.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id g9P2gi416583
	for <classpath@gnu.org>; Fri, 25 Oct 2002 02:42:44 GMT
Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122])
	by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id g9P2gTL13234
	for <classpath@gnu.org>; Fri, 25 Oct 2002 02:42:30 GMT
Received: from pdsmsx17.pd.intel.com ([172.16.12.121])
 by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002102510451713218
 ; Fri, 25 Oct 2002 10:45:17 +0800
Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19)
	id <VQH7F7PB>; Fri, 25 Oct 2002 10:41:24 +0800
Message-ID: <A577A8CE35DBD211AC3F00A0C9E0115405099721@bjsmsx90.bj.intel.com>
From: "Wu, Gansha" <gansha.wu@intel.com>
To: "'Mark Wielaard'" <mark@klomp.org>, tromey@redhat.com
Cc: "Wu, Gansha" <gansha.wu@intel.com>, classpath@gnu.org
Subject: RE: java.util.zip.InflaterInputStream patch
Date: Fri, 25 Oct 2002 10:45:16 +0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi Mark,
     You're right. GNU Classpath's java.util.zip doesn't need the padding 
because it doesn't use zlib, but a patch there doesn't change the
correctness 
of GNU Classpath's pure Java java.util.zip implementation. ORP has another 
java.util.zip implementation which implements some critical methods by JNI 
native methods, and as such improves the performance of some real-world 
business applications significantly. This alternative implementation is
using 
zlib and so needs the patch. 
     BTW, ORP's zlib implementation is turned off in current ORP release,
and 
can be turned on by USE_NATIVE_ZIP_LIB with some changes to 
java.util.zip.ZipFile/Inflator/ZipEntry which are not in our submission.

Best regards...
Gansha

-----Original Message-----
From: Mark Wielaard [mailto:mark@klomp.org]
Sent: 2002?10?22? 7:08
To: tromey@redhat.com
Cc: Wu, Gansha; classpath@gnu.org
Subject: Re: java.util.zip.InflaterInputStream patch


Hi,

On Sat, 2002-10-19 at 21:50, Tom Tromey wrote:
> Mark> +          //add a padding byte, 
> Mark> +          //it's necessary when using native zlib
> Mark> +          ++len;
> 
> Mark> When is this needed?
> 
> I wonder if it is related to this comment in libgcj:
> 
>       /* Using the no_header option, zlib requires an extra padding byte
at the
>       end of the stream in order to successfully complete decompression
(see
>       zlib/contrib/minizip/unzip.c). We don't do this, so can end up with
a 
>       Z_BUF_ERROR at the end of a stream when zlib has completed inflation
>       and there's no more input. Thats not a problem. */

Thanks, that seems to be the situation when this code would be
triggered. But this shouldn't be a problem with our java.util.zip
(jazzlib) implementation since that doesn't use zlib.

What is the experience of other VM developers? Do you use jazzlib or
some form of native zlib java.util.zip?

If only we had a way to more easily share CNI and JNI code... Any VMs
(except libgcj) that support CNI btw? I heard that Kaffe once had
interoperability with gcj compiled native code but that it was not kept
up to date with the current gcj.

Thanks,

Mark



From ebb9@email.byu.edu Fri Oct 25 00:03:54 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184vhS-0005Eg-00
	for classpath@gnu.org; Fri, 25 Oct 2002 00:03:54 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184vhP-0005EP-00
	for classpath@gnu.org; Fri, 25 Oct 2002 00:03:53 -0400
Received: from email1.byu.edu ([128.187.22.133])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184vhP-0005EK-00
	for classpath@gnu.org; Fri, 25 Oct 2002 00:03:51 -0400
Received: from email.byu.edu ([10.7.224.202])
 by EMAIL1.BYU.EDU (PMDF V6.1-1 #30538)
 with ESMTPA id <01KO24DGN72Q8YC72F@EMAIL1.BYU.EDU> for classpath@gnu.org; Thu,
 24 Oct 2002 22:02:32 -0600 (MDT)
Date: Thu, 24 Oct 2002 22:03:36 -0600
From: Eric Blake <ebb9@email.byu.edu>
Subject: Re: LinkedHashMap.java: circular?
To: ykingma@xs4all.nl
Cc: Classpath list <classpath@gnu.org>
Message-id: <3DB8C298.6030509@email.byu.edu>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-15
Content-transfer-encoding: 7bit
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823
 Netscape/7.0
References: <200210242052.g9OKqjOw085596@smtpzilla5.xs4all.nl>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Ype, feel free to borrow the ideas of LinkedHashMap to write your own 
efficient version of a caching ordered hash table.  Writing your own 
version may be the best in the long run, because you can be more 
efficient (such as actually overriding put(), instead of having to use 
the addEntry() hack to remain API compatible).

However, your question led me into poking around in the code. 
Classpath's current version has a bug in that it changes access order 
via the entrySet().iterator(), when the docs say this should not happen.

Also, I do not feel that the Classpath version can be optimized into a 
circular list, because of the API of removeEldestEntry() - it is 
guaranteed to be called after the insertion but before the deletion, and 
the user has the right to see the list in that state.  Well, maybe a 
circular list is possible, but the list must have one more element than 
what size() normally reports to avoid object creation in the event of a 
likely entry removal.  I'll play with the idea, and see if I can improve 
the code, but I doubt it.

I'll see about fixing my bug in the near future, as well as committing a 
testcase to mauve.


Ype Kingma wrote:
> Eric,
> 
> I'm referring to the current cvs version from 
> subversions.gnu.org:/cvsroot/classpath .
> 
> The other day I needed a lru cache in jython (ie. python implemented in java)
> and I found that LinkedHashMap.java would do the job well, except that I'm 
> currently forced to use java 1.1 and the collections replacement for 1.1 does 
> not include a LinkedHashMap. 
> That meant I needed to write a linked hash map with a doubly linked list and 
> a maximum capacity in python.
> 
> With the maximum capacity constraint I found that when implementing
> the doubly linked list as a circular list the insertion of a new element when 
> the cache is full (ie. the normal case) can be implemented nicely by updating 
> the oldest element and simply moving the list head and tail pointers one 
> element. This also saves the creation of a new list element.
> 
> My question:
> Since this is probably a frequent use of LinkedHashMap I wondered whether a 
> circular list might be a good alternative for the current implementation of 
> the LinkedHashMap, in which the head and tail elements have their prev and 
> succ pointers set to null.
> 
> Anyway, in case I run into memory problems with my current python 
> implementation I'm probably going to use your LinkedHashMap class in java 1.1 
> as it is.
> For use as list elements, python objects in java are far too large, they have 
> an associated dictionary for their fields.
> 
> Thanks and regards,
> Ype
> 


-- 
This signature intentionally left boring.

Eric Blake             ebb9@email.byu.edu
   BYU student, free software programmer





From jeroen@sumatra.nl Fri Oct 25 04:56:28 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 1850GZ-0004sO-00
	for classpath@gnu.org; Fri, 25 Oct 2002 04:56:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 1850GY-0004sD-00
	for classpath@gnu.org; Fri, 25 Oct 2002 04:56:27 -0400
Received: from 62-177-154-235.bbeyond.nl ([62.177.154.235] helo=smtp.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 1850GX-0004s7-00
	for classpath@gnu.org; Fri, 25 Oct 2002 04:56:25 -0400
Received: from tpjeroen ([194.158.173.185]) by smtp.sumatrasoftware.com with Microsoft SMTPSVC(5.0.2195.5329);
	 Fri, 25 Oct 2002 10:48:14 +0200
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
Subject: Partial Serialization patch
Date: Fri, 25 Oct 2002 10:56:21 +0200
Message-ID: <009c01c27c04$643a9730$d601a8c0@tpjeroen>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_009D_01C27C15.27C36730"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4024
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
X-OriginalArrivalTime: 25 Oct 2002 08:48:14.0666 (UTC) FILETIME=[41927AA0:01C27C03]
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

This is a multi-part message in MIME format.

------=_NextPart_000_009D_01C27C15.27C36730
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

The current ObjectInputStream/ObjectOutputStream implementation doesn't
support multiple private fields with the same name.

Example:
import java.io.*;

class sertestbase implements Serializable {
  private int a = 1;
  public String toString() { return "" + a; }
}

class sertest extends sertestbase {
  private int a = 2;
  public static void main(String[] args) throws Throwable {
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    new ObjectOutputStream(baos).writeObject(new sertest());
    ByteArrayInputStream bais = new
ByteArrayInputStream(baos.toByteArray());
    Object o = new ObjectInputStream(bais).readObject();
    System.out.println(o);
  }
  public String toString() {
    return "" + a + ", base: " + super.toString();
  }
}

Attached is a patch for java/io/ObjectInputStream.java and
java/io/ObjectOutputStream.java, I haven't patched the native code (I
don't use it), but the change should be trivial.

Regards,
Jeroen

------=_NextPart_000_009D_01C27C15.27C36730
Content-Type: application/octet-stream;
	name="ser.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="ser.patch"

--- \classpath-cvs\classpath\java\io\ObjectInputStream.java	Wed Sep 11 =
09:43:37 2002
+++ ObjectInputStream.java	Fri Oct 25 10:39:40 2002
@@ -1405,7 +1405,7 @@
 		if (!default_initialize && set_value)
 		  dumpElementln ("  " + field_name + ": " + value);
 		if (set_value)
-		  setBooleanField (obj, field_name, value);
+		  setBooleanField (obj, stream_osc.forClass (), field_name, value);
 	      }
 	    else if (type =3D=3D Byte.TYPE)
 	      {
@@ -1414,7 +1414,7 @@
 		if (!default_initialize && set_value)
 		  dumpElementln ("  " + field_name + ": " + value);
 		if (set_value)
-		  setByteField (obj, field_name, value);
+		  setByteField (obj, stream_osc.forClass (), field_name, value);
 	      }
 	    else if (type =3D=3D Character.TYPE)
 	      {
@@ -1423,7 +1423,7 @@
 		if (!default_initialize && set_value)
 		  dumpElementln ("  " + field_name + ": " + value);
 		if (set_value)
-		  setCharField (obj, field_name, value);
+		  setCharField (obj, stream_osc.forClass (), field_name, value);
 	      }
 	    else if (type =3D=3D Double.TYPE)
 	      {
@@ -1432,7 +1432,7 @@
 		if (!default_initialize && set_value)
 		  dumpElementln ("  " + field_name + ": " + value);
 		if (set_value)
-		  setDoubleField (obj, field_name, value);
+		  setDoubleField (obj, stream_osc.forClass (), field_name, value);
 	      }
 	    else if (type =3D=3D Float.TYPE)
 	      {
@@ -1441,7 +1441,7 @@
 		if (!default_initialize && set_value)
 		  dumpElementln ("  " + field_name + ": " + value);
 		if (set_value)
-		  setFloatField (obj, field_name, value);
+		  setFloatField (obj, stream_osc.forClass (), field_name, value);
 	      }
 	    else if (type =3D=3D Integer.TYPE)
 	      {
@@ -1450,7 +1450,7 @@
 		if (!default_initialize && set_value)
 		  dumpElementln ("  " + field_name + ": " + value);
 		if (set_value)
-		  setIntField (obj, field_name, value);
+		  setIntField (obj, stream_osc.forClass (), field_name, value);
 	      }
 	    else if (type =3D=3D Long.TYPE)
 	      {
@@ -1459,7 +1459,7 @@
 		if (!default_initialize && set_value)
 		  dumpElementln ("  " + field_name + ": " + value);
 		if (set_value)
-		  setLongField (obj, field_name, value);
+		  setLongField (obj, stream_osc.forClass (), field_name, value);
 	      }
 	    else if (type =3D=3D Short.TYPE)
 	      {
@@ -1468,14 +1468,14 @@
 		if (!default_initialize && set_value)
 		  dumpElementln ("  " + field_name + ": " + value);
 		if (set_value)
-		  setShortField (obj, field_name, value);
+		  setShortField (obj, stream_osc.forClass (), field_name, value);
 	      }
 	    else
 	      {
 		Object value =3D
 		  default_initialize ? null : readObject ();
 		if (set_value)
-		  setObjectField (obj, field_name,
+		  setObjectField (obj, stream_osc.forClass (), field_name,
 				  real_field.getTypeString (), value);
 	      }
 	  }
@@ -1549,23 +1549,23 @@
=20
   private native void callConstructor (Class clazz, Object obj);
=20
-  private native void setBooleanField (Object obj, String field_name,
+  private native void setBooleanField (Object obj, Class clazz, String =
field_name,
 				       boolean val);
-  private native void setByteField (Object obj, String field_name,
+  private native void setByteField (Object obj, Class clazz, String =
field_name,
 				    byte val);
-  private native void setCharField (Object obj, String field_name,
+  private native void setCharField (Object obj, Class clazz, String =
field_name,
 				    char val);
-  private native void setDoubleField (Object obj, String field_name,
+  private native void setDoubleField (Object obj, Class clazz, String =
field_name,
 				      double val);
-  private native void setFloatField (Object obj, String field_name,
+  private native void setFloatField (Object obj, Class clazz, String =
field_name,
 				     float val);
-  private native void setIntField (Object obj, String field_name,
+  private native void setIntField (Object obj, Class clazz, String =
field_name,
 				   int val);
-  private native void setLongField (Object obj, String field_name,
+  private native void setLongField (Object obj, Class clazz, String =
field_name,
 				    long val);
-  private native void setShortField (Object obj, String field_name,
+  private native void setShortField (Object obj, Class clazz, String =
field_name,
 				     short val);
-  private native void setObjectField (Object obj, String field_name,
+  private native void setObjectField (Object obj, Class clazz, String =
field_name,
 					String type_code, Object val);
=20
=20
--- \classpath-cvs\classpath\java\io\ObjectOutputStream.java	Wed Sep 11 =
09:43:37 2002
+++ ObjectOutputStream.java	Fri Oct 25 10:34:33 2002
@@ -367,7 +367,7 @@
 		    fieldsAlreadyWritten =3D false;
 		    has_write =3D currentObjectStreamClass.hasWriteMethod ();
=20
-		    writeFields (obj, currentObjectStreamClass.fields,
+		    writeFields (obj, currentObjectStreamClass.forClass(), =
currentObjectStreamClass.fields,
 				 has_write);
=20
 // 		    if (has_write)
@@ -432,7 +432,7 @@
     throws IOException, NotActiveException
   {
     markFieldsWritten ();
-    writeFields (currentObject, currentObjectStreamClass.fields, =
false);
+    writeFields (currentObject, currentObjectStreamClass.forClass(), =
currentObjectStreamClass.fields, false);
   }
=20
=20
@@ -1157,7 +1157,7 @@
   // writes out FIELDS of OBJECT.  If CALL_WRITE_METHOD is true, use
   // object's writeObject (ObjectOutputStream), otherwise use default
   // serialization.  FIELDS are already in canonical order.
-  private void writeFields (Object obj,
+  private void writeFields (Object obj, Class clazz,
 			    ObjectStreamField[] fields,
 			    boolean call_write_method) throws IOException
   {
@@ -1179,23 +1179,23 @@
       type =3D fields[i].getType ();
=20
       if (type =3D=3D Boolean.TYPE)
-	realOutput.writeBoolean (getBooleanField (obj, field_name));
+	realOutput.writeBoolean (getBooleanField (obj, clazz, field_name));
       else if (type =3D=3D Byte.TYPE)
-	realOutput.writeByte (getByteField (obj, field_name));
+	realOutput.writeByte (getByteField (obj, clazz, field_name));
       else if (type =3D=3D Character.TYPE)
-	realOutput.writeChar (getCharField (obj, field_name));
+	realOutput.writeChar (getCharField (obj, clazz, field_name));
       else if (type =3D=3D Double.TYPE)
-	realOutput.writeDouble (getDoubleField (obj, field_name));
+	realOutput.writeDouble (getDoubleField (obj, clazz, field_name));
       else if (type =3D=3D Float.TYPE)
-	realOutput.writeFloat (getFloatField (obj, field_name));
+	realOutput.writeFloat (getFloatField (obj, clazz, field_name));
       else if (type =3D=3D Integer.TYPE)
-	realOutput.writeInt (getIntField (obj, field_name));
+	realOutput.writeInt (getIntField (obj, clazz, field_name));
       else if (type =3D=3D Long.TYPE)
-	realOutput.writeLong (getLongField (obj, field_name));
+	realOutput.writeLong (getLongField (obj, clazz, field_name));
       else if (type =3D=3D Short.TYPE)
-	realOutput.writeShort (getShortField (obj, field_name));
+	realOutput.writeShort (getShortField (obj, clazz, field_name));
       else
-	writeObject (getObjectField (obj, field_name,
+	writeObject (getObjectField (obj, clazz, field_name,
 				     fields[i].getTypeString ()));
     }
     setBlockDataMode (oldmode); // ??
@@ -1223,15 +1223,15 @@
=20
=20
   private native void callWriteMethod (Object obj);
-  private native boolean getBooleanField (Object obj, String =
field_name);
-  private native byte getByteField (Object obj, String field_name);
-  private native char getCharField (Object obj, String field_name);
-  private native double getDoubleField (Object obj, String field_name);
-  private native float getFloatField (Object obj, String field_name);
-  private native int getIntField (Object obj, String field_name);
-  private native long getLongField (Object obj, String field_name);
-  private native short getShortField (Object obj, String field_name);
-  private native Object getObjectField (Object obj, String field_name,
+  private native boolean getBooleanField (Object obj, Class clazz, =
String field_name);
+  private native byte getByteField (Object obj, Class clazz, String =
field_name);
+  private native char getCharField (Object obj, Class clazz, String =
field_name);
+  private native double getDoubleField (Object obj, Class clazz, String =
field_name);
+  private native float getFloatField (Object obj, Class clazz, String =
field_name);
+  private native int getIntField (Object obj, Class clazz, String =
field_name);
+  private native long getLongField (Object obj, Class clazz, String =
field_name);
+  private native short getShortField (Object obj, Class clazz, String =
field_name);
+  private native Object getObjectField (Object obj, Class clazz, String =
field_name,
 					String type_code);
=20
=20

------=_NextPart_000_009D_01C27C15.27C36730--




From mark@klomp.org Fri Oct 25 11:47:34 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 1856gP-0004Ev-00
	for classpath@gnu.org; Fri, 25 Oct 2002 11:47:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 1856gJ-0004AJ-00
	for classpath@gnu.org; Fri, 25 Oct 2002 11:47:29 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 1856gI-00048M-00
	for classpath@gnu.org; Fri, 25 Oct 2002 11:47:26 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1856fb-0006Io-00; Fri, 25 Oct 2002 17:46:43 +0200
Subject: Re: [kaffe]  Merging missing classes from GNU Classpath
From: Mark Wielaard <mark@klomp.org>
To: Dalibor Topic <robilad@yahoo.com>
Cc: kaffe@kaffe.org, Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>, 
	jim@kaffe.org, classpath@gnu.org
In-Reply-To: <20021025140211.73110.qmail@web10006.mail.yahoo.com>
References: <20021025140211.73110.qmail@web10006.mail.yahoo.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 25 Oct 2002 17:47:12 +0200
Message-Id: <1035560832.29035.479.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

(I added the classpath mailinglist to the CC.)

On Fri, 2002-10-25 at 16:02, Dalibor Topic wrote:
> I'd like to know what people think about merging some
> missing parts of the class library from the GNU
> Classpath project. It would extend the range of
> software that can run on kaffe, for example allowing
> Saxon 7.2 to run, as Ito has shown in this mail :
> http://www.kaffe.org/pipermail/kaffe/2002-September/008902.html
> 
> If everybody agrees it's a good thing to "outsource"
> part of the class library development, then I'll
> investigate what could be merged in.
>
> As it seems that full classpath integration is far
> away, I believe this step would ease the pain for
> those needing to run applications requiring class
> library features not yet supported in kaffe
> (java.util.WeakHashMap anyone?).
> 
> I'm interested in your opinions,

I think it is a good idea! And I am only moving very, very slowly
forward with reworking and understanding(!) the VM interface issues. So
I don't think just plugging Classpath into Kaffe will happen anytime
soon.

I have recently been thinking about Kaffe and GNU working more together.

Firstly I think it would be a good idea if you get the following GNU
packages working with Kaffe. This should be easy since it doesn't really
need any real Kaffe integration, just checking that it all works (and
some have nice testsuites). It will make the Kaffe 'product' more
complete:

- GNU Classpath-tools, standard tools
  Not yet released, but important bits, javap, javah, javadoc are here:
  <http://savannah.gnu.org/cgi-bin/viewcvs/cp-tools/cp-tools/>
  <http://savannah.gnu.org/cgi-bin/viewcvs/cp-tools/gjdoc/>
- GNU JAXP, Sax and Dom implementations and interfaces.
  http://www.gnu.org/software/classpathx/jaxp.html
- GNU Crypto a crypto library that can also be used as crypto provider.
  <http://www.gnu.org/software/gnu-crypto/>

- Kawa, the java based Scheme system. Contains lots of utility packages.
  <http://www.gnu.org/software/kawa/>
- GNU Paperclips, Servlet and JSP engine.
  http://www.gnu.org/software/paperclips/
- gnu.regexp, Regular Expressions for Java
  http://www.cacas.org/java/gnu/regexp/
- GNU Getopt in Java
  http://www.urbanophile.com/arenn/hacking/download.html

Then there is the following list of GNU Classpath 'easy targets'
(meaning, no-brainers, just use the complete package):

- java.awt.color
- java.awt.dnd
- java.awt.geom
- java.awt.im
- java.awt.image.renderable
- java.beans.beancontext
- java.util.logging [1] 
- java.util.prefs [2]
- javax.accessibility
- javax.naming, javax.sql, javax.transaction [3]

[1] Please ask Sascha Brawer (brawer@acm.org) about the status.
[2] I wrote this but never used it, it is not completely finished,
missing a real backend. But I have heard some reports from people that
used the MemoryBased backend successfully.
[3] Not completely merged from libgcj, but you can get it from the GCC
distribution. There very limited api doc which is why I don't like to
import it in Classpath yet. I did write some documentation for some of
the classes that were imported but not all. Minimal stuff to support
JDBC3.0 is in Classpath.

There are also a lot of javax.swing stubs, but I don't know how useful
they are except to get more things to compile. And you could also look
at the java.nio stuff but I have never really played with it and don't
know the status.

But how to go from there I don't know precisely. Things you might like
to play with:

- You already mentioned the new collection classes (IdentityHashMap,
LinkedHashMap, LinkedHashSet, WeakHashMap and RandomAccess support).
- java.lang.reflect.Proxy (this might make Jython run)
- Look at the Throwable VM interface and adapt it for Kaffe, this will
give you exception chaining and StackTraceElement.
- See if the pure jave java.util.zip (jazzlib) library is something for
kaffe.
- Likewise for the pure java java.math implementation (said to be faster
then going through JNI).
- Security Permission model is better supported in Classpath then in
Kaffe (but completely untested!)
- Transvirtual donated the java.rmi implementation to the FSF al long
time ago it has seen a couple of fixes and additions (some of the Orp
patches are still waiting to be merged into Classpath). I don't know if
Kaffe kept up to date with this version.
- Michael Koch (konqueror@gmx.de) recently did a lot of java.net 1.4
updates but I don't know if he has JNI support yet (he started with the
libgcj version which uses CNI).

We will have to make sure the we have good Mauve tests so you can see if
replacing things fixes or breaks things in Kaffe so please run and
contribute to Mauve regularly :)

And I would like to ask that improvements to classes that you import are
contributed back to the GNU Classpath project as described at:
http://www.gnu.org/software/classpath/doc/hacking.html#SEC2

Cheers,

Mark




From tromey@redhat.com Fri Oct 25 15:30:03 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185A9j-0006U4-00
	for classpath@gnu.org; Fri, 25 Oct 2002 15:30:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185A9f-0006PI-00
	for classpath@gnu.org; Fri, 25 Oct 2002 15:30:01 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185A9f-0006Nn-00
	for classpath@gnu.org; Fri, 25 Oct 2002 15:29:59 -0400
Received: from fleche.redhat.com (tz0160.peakpeak.com [207.174.69.160])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id NAA31070;
	Fri, 25 Oct 2002 13:29:35 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 4E6D14F840D; Fri, 25 Oct 2002 13:23:06 -0600 (MDT)
To: Mark Wielaard <mark@klomp.org>
Cc: Dalibor Topic <robilad@yahoo.com>, kaffe@kaffe.org,
        Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>, jim@kaffe.org,
        classpath@gnu.org
Subject: Re: [kaffe]  Merging missing classes from GNU Classpath
References: <20021025140211.73110.qmail@web10006.mail.yahoo.com>
	<1035560832.29035.479.camel@elsschot>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution: Tom
X-Zippy: Gibble, Gobble, we ACCEPT YOU ---
Date: 25 Oct 2002 13:23:06 -0600
In-Reply-To: <1035560832.29035.479.camel@elsschot>
Message-ID: <87r8eel3vp.fsf@fleche.redhat.com>
Lines: 10
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> - Michael Koch (konqueror@gmx.de) recently did a lot of java.net 1.4
Mark> updates but I don't know if he has JNI support yet (he started with the
Mark> libgcj version which uses CNI).

I don't think he has.  Also this code hasn't been merged back to
Classpath yet; he is planning to do it though.

Tom



From cbj@gnu.org Sat Oct 26 00:08:47 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185IFi-00014Y-00
	for classpath@gnu.org; Sat, 26 Oct 2002 00:08:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185IFg-0000wv-00
	for classpath@gnu.org; Sat, 26 Oct 2002 00:08:46 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185IFf-0000rJ-00
	for classpath@gnu.org; Sat, 26 Oct 2002 00:08:43 -0400
Received: from mail6.nc.rr.com (fe6 [24.93.67.53])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9Q48OiZ002041;
	Sat, 26 Oct 2002 00:08:24 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail6.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Sat, 26 Oct 2002 00:08:43 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9Q496A9012704;
	Sat, 26 Oct 2002 00:09:06 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9Q495PX012700;
	Sat, 26 Oct 2002 00:09:05 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Andy Walter <anwalt_pop@aicas.com>
Cc: classpath@gnu.org, aicas <aicas@aicas.com>
Subject: Re: JamaicaVM and GNU Classpath
References: <Pine.LNX.4.44.0210240859560.3233-100000@sophocles.leuven.intern.acunia.com>
	<200210241718.07870.anwalt_pop@aicas.com>
From: Brian Jones <cbj@gnu.org>
Date: 26 Oct 2002 00:09:05 -0400
In-Reply-To: <200210241718.07870.anwalt_pop@aicas.com>
Message-ID: <m3vg3p265a.fsf@lyta.haphazard.org>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Andy Walter <anwalt_pop@aicas.com> writes:

> I've seen that the Classpath AWT implementation uses peers. This has
> advantages on some targets, but is not very helpful on targets
> without any Window System at all. I personally like the idea of
> having two different AWT implementations (at aicas we were already
> discussing that matter), according to the target system. What about
> the other Classpath developers? Do you thank that including two AWT
> implementations is good or do you prefer having a single
> implementation that should fit for everybody?

Having one that works would be a start.  Supporting something other
than X/GTK seems reasonable at some point if someone is willing to do
the work.

Brian
-- 
Brian Jones <cbj@gnu.org>



From cbj@gnu.org Sat Oct 26 00:21:48 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185ISK-0003IY-00
	for classpath@gnu.org; Sat, 26 Oct 2002 00:21:48 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185ISI-0003IN-00
	for classpath@gnu.org; Sat, 26 Oct 2002 00:21:48 -0400
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185ISH-0003IH-00
	for classpath@gnu.org; Sat, 26 Oct 2002 00:21:46 -0400
Received: from mail4.nc.rr.com (fe4 [24.93.67.51])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9Q4LRiZ008245;
	Sat, 26 Oct 2002 00:21:27 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail4.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Sat, 26 Oct 2002 00:21:53 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9Q4M9A9012733;
	Sat, 26 Oct 2002 00:22:09 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9Q4M9Bk012729;
	Sat, 26 Oct 2002 00:22:09 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Andy Walter <anwalt_pop@aicas.com>
Cc: classpath@gnu.org
Subject: Re: JamaicaVM and GNU Classpath
References: <200210231821.49450.anwalt@aicas.com>
	<m3u1jcy7w8.fsf@lyta.haphazard.org>
	<200210241617.08218.anwalt_pop@aicas.com>
From: Brian Jones <cbj@gnu.org>
Date: 26 Oct 2002 00:22:09 -0400
In-Reply-To: <200210241617.08218.anwalt_pop@aicas.com>
Message-ID: <m3r8ed25ji.fsf@lyta.haphazard.org>
Lines: 32
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Andy Walter <anwalt_pop@aicas.com> writes:

> I don't know about NSPR and APR, but a library is not exactly what
> we wanted to use (because of code size and performance
> matters). What we currently have is a general set of macros for
> socket and file i/o access (and other evil functions such as
> malloc. Having a garbage collector that avoids or copes with memory
> fragmentation is close to being useless if the native code makes use
> of malloc that causes memory fragmentation for the memory outside of
> GC control). Each macro may or may not be defined in
> platform-dependent include files. If a macro was not implemented
> there, the generic one for POSIX systems is used.

Hey, I guess this answers that nagging question I had about how a JVM
is supposed to deal with native code memory allocation being somewhat
outside of the garbage collector arrangement in use...

In general I hate macros because I'm not one with the C compiler in
having it create the real source from a given input with macros,
etc. expanded.  However you seem to have proved out some system of
macros that works for a lot of strange environments and that is
encouraging.

> Since some of our target systems don't even provide a file system, not to 
> speak about networking, we can entirely omit those functions in that case. 

Thanks for helping us keep some perspective.  It's easy to forget or
casually ignore these systems sometimes when it isn't what you're
directly concerned with or working on.

-- 
Brian Jones <cbj@gnu.org>



From mark@klomp.org Sat Oct 26 07:13:59 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185OtC-0004yT-00
	for classpath@gnu.org; Sat, 26 Oct 2002 07:13:58 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185Ot9-0004rs-00
	for classpath@gnu.org; Sat, 26 Oct 2002 07:13:57 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185Ot8-0004gP-00
	for classpath@gnu.org; Sat, 26 Oct 2002 07:13:54 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 185OsH-0008A0-00; Sat, 26 Oct 2002 13:13:01 +0200
Subject: RE: java.util.zip.InflaterInputStream patch
From: Mark Wielaard <mark@klomp.org>
To: "Wu, Gansha" <gansha.wu@intel.com>
Cc: tromey@redhat.com, classpath@gnu.org
In-Reply-To: 
	<A577A8CE35DBD211AC3F00A0C9E0115405099721@bjsmsx90.bj.intel.com>
References: <A577A8CE35DBD211AC3F00A0C9E0115405099721@bjsmsx90.bj.intel.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 26 Oct 2002 13:13:31 +0200
Message-Id: <1035630811.29035.509.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Fri, 2002-10-25 at 04:45, Wu, Gansha wrote:
>      You're right. GNU Classpath's java.util.zip doesn't need the padding 
> because it doesn't use zlib, but a patch there doesn't change the
> correctness 
> of GNU Classpath's pure Java java.util.zip implementation. ORP has another 
> java.util.zip implementation which implements some critical methods by JNI 
> native methods, and as such improves the performance of some real-world 
> business applications significantly. This alternative implementation is
> using 
> zlib and so needs the patch. 
>
>      BTW, ORP's zlib implementation is turned off in current ORP release,
> and 
> can be turned on by USE_NATIVE_ZIP_LIB with some changes to 
> java.util.zip.ZipFile/Inflator/ZipEntry which are not in our submission.

Then I think it would be best to work around this bug in this JNI code
just like the libgcj version does. I don't like having workarounds in
our code for bugs in code that is not part of GNU Classpath. Unless one
of the jazzlib hackers says that this workaround is indeed not confusing
and obviously the correct way to go. It did confuse me though :)

Cheers,

Mark




From mark@klomp.org Sat Oct 26 07:26:58 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185P5m-0001KW-00
	for classpath@gnu.org; Sat, 26 Oct 2002 07:26:58 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185P5j-0001KB-00
	for classpath@gnu.org; Sat, 26 Oct 2002 07:26:57 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185P5i-0001JY-00
	for classpath@gnu.org; Sat, 26 Oct 2002 07:26:55 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 185P56-0008AX-00; Sat, 26 Oct 2002 13:26:16 +0200
Subject: Re: JamaicaVM and GNU Classpath
From: Mark Wielaard <mark@klomp.org>
To: Andy Walter <anwalt@aicas.com>
Cc: classpath@gnu.org, aicas <aicas@aicas.com>, Torsten Rupp <rupp@aicas.com>
In-Reply-To: <200210241929.19707.anwalt@aicas.com>
References: <200210231821.49450.anwalt@aicas.com>
	<1035475391.29141.253.camel@elsschot>  <200210241929.19707.anwalt@aicas.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 26 Oct 2002 13:26:45 +0200
Message-Id: <1035631606.29141.521.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Thu, 2002-10-24 at 19:29, Andy Walter wrote:

> You'll probably happy to read that our testsuite is based on Mauve. :-) 
> We have added some tests and included a small script-driven framework for our 
> nightly builds. Currently, we are not happy with the generated statistics 
> yet, which are rather primitive at the moment. However, one of our employees, 
> Denis Theinert, is assigned to improving this. The result should be a 
> statistics that says "Test ABC, which ran perfectly the day before, failed 
> last night" - and vice versa.
> 
> We didn't contact the Mauve developers so far, but as soon as our testsuite 
> works the way we like it, we plan to contribute to Mauve as well.

We also want to set something like that up for Kissme (or sablevm or
Orp) and mauve. So that would be a very nice contribution. Then we can
more easily compare what are VM issues and what are library issues. I
have already something simple setup to post Mauve results for (lib)gcj
to the gcc-testresults mailing list. See e.g.
http://gcc.gnu.org/ml/gcc-testresults/2002-10/msg00865.html

> However, we have not finished the integration of all Classpath packages. There 
> are some slight problems with java.io. I'm sure we can handle this within a 
> couple of days. I just wanted to contact you as soon as possible to see your 
> reactions.

Note that there are some (subtle) problems with the current java.io
setup in GNU Classpath. We want to use the setup that (lib)gcj uses and
that Jeroen Frijters uses for IK.VM.NET. See:

    http://gcc.gnu.org/ml/java/2002-10/msg00019.html
    http://gcc.gnu.org/ml/java/2002-10/msg00037.html

Giannis Georgalis (jgeorgal@uoc.gr) was also working on java.io so he
might know more about the status.

Cheers,

Mark




From mark@klomp.org Sat Oct 26 07:34:55 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185PDT-0003LH-00
	for classpath@gnu.org; Sat, 26 Oct 2002 07:34:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185PDP-0003Gj-00
	for classpath@gnu.org; Sat, 26 Oct 2002 07:34:54 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185PDP-0003Fz-00
	for classpath@gnu.org; Sat, 26 Oct 2002 07:34:51 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 185PCZ-0008Al-00; Sat, 26 Oct 2002 13:33:59 +0200
Subject: Re: [Jikesrvm-core] Re: Updates to GNU Classpath port of JRVM
From: Mark Wielaard <mark@klomp.org>
To: Michael Hind <hindm@us.ibm.com>
Cc: classpath@gnu.org, Julian Dolby <dolby@us.ibm.com>
In-Reply-To: <OF9715113A.B423024E-ON85256C5C.0065317C@us.ibm.com>
References: <OF9715113A.B423024E-ON85256C5C.0065317C@us.ibm.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 26 Oct 2002 13:34:29 +0200
Message-Id: <1035632069.29035.530.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Thu, 2002-10-24 at 20:28, Michael Hind wrote:
> 
> > Would you mind submitting these changes to GNU Classpath? (Brian can
> > probably help with any copyright assignment or licensing issues.) Or
> > describe the changes that you needed to make? Are they online somewhere?
> 
>       Brian and I have been discussing this mostly on the
> jikesrvm-researchers list.  (You may want to check the thread in the
> archive.)

Thanks. I found most of how you use Classpath in your CVS tree.

> We very much want to contribution the changes.  We are about to get IBM's
> approval to do this.  Brian recently mentioned the FSF licensing statement
> requirement.   I'll have to get our legal folks involved again to deal with
> the issues.

OK. I will wait patiently :)

I am mainly interested in what was good/bad about our current VM
integration interface and what VM specific changes you had to make to
Classpath proper. If at all possible I want to try to have as small
number of forks of the Classpath code to make sure that when we release
a new Classpath version VMs can just pick it up and plug it into the VM.
(Note that we are a long way from that ideal - and might never
completely reach it - and that till we reach a 1.0 version the VM
interface will probably keep changing a little bit between releases.)

Cheers,

Mark




From anwalt@aicas.com Thu Oct 24 13:32:00 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 184lpw-0005r7-00
	for classpath@gnu.org; Thu, 24 Oct 2002 13:32:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 184lps-0005oh-00
	for classpath@gnu.org; Thu, 24 Oct 2002 13:31:59 -0400
Received: from moutng.kundenserver.de ([212.227.126.189])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 184lps-0005ni-00
	for classpath@gnu.org; Thu, 24 Oct 2002 13:31:56 -0400
Received: from [212.227.126.161] (helo=mrelayng2.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 184lpn-0007dZ-00; Thu, 24 Oct 2002 19:31:51 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng2.kundenserver.de with asmtp (Exim 3.35 #1)
	id 184lpn-0006z9-00; Thu, 24 Oct 2002 19:31:51 +0200
Content-Type: text/plain;
  charset="iso-8859-15"
From: Andy Walter <anwalt@aicas.com>
To: Mark Wielaard <mark@klomp.org>
Subject: Re: JamaicaVM and GNU Classpath
Date: Thu, 24 Oct 2002 19:29:19 +0200
X-Mailer: KMail [version 1.4]
Cc: classpath@gnu.org,
 aicas <aicas@aicas.com>,
 Torsten Rupp <rupp@aicas.com>
References: <200210231821.49450.anwalt@aicas.com> <1035475391.29141.253.camel@elsschot>
In-Reply-To: <1035475391.29141.253.camel@elsschot>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200210241929.19707.anwalt@aicas.com>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi Mark,

On Thursday 24 October 2002 18:03, Mark Wielaard wrote:

> On Wed, 2002-10-23 at 18:21, Andy Walter wrote:
> > [...] we are very interested in joining your project.
>
> That would be very nice!

I'm glad to see that we are welcome here.


> For license questions you will have to contact licensing@gnu.org since
> they can give you advice on legal issues.

Thank you for the pointer. I will contact them soon.


> The GNU Classpath license does
> indeed allow certain kinds of derived works that are not Free Software.
> This was done because we felt that in the end this would benefit
> users/developers the most since it would result in having more free
> software available. But we do prefer working with Free Software and we
> will certainly not promote proprietary closed source software.

No problem. I understand that you don't promote closed source software  a=
nd=20
didn't expect that. We try to be as open as possible, i.e. we prefer stan=
dard=20
interfaces to proprietary ones whereever possible. Maybe, the sources of =
our=20
VM will one day be open as well but I don't expect this so soon. Even if =
you=20
convinced me (what might not be that difficult) this would be not suffici=
ent=20
=2E..

However, I managed to convince the rest of aicas that at least merging th=
e API=20
would be a great thing to everybody. I'm afraid more is not possible at t=
he=20
moment.


> So I would ask you kindly to only distribute you VM as free software.
> See for example Ada Core Technologies <http://www.gnat.com/> for an
> example of a commercial Free Software business. Or of course
> http://wonka.acunia.com/.

Of course, I know Acunia and that there are other open source VMs. They h=
ave=20
different business models. There is a binary version for Linux on our=20
homepage which is legally, but not functionally, restricted to 30 days.=20
Currently, more is really not possible.


> > The easiest way would be if we could get write access to the reposito=
ry,
> > so that we can provide code and bug fixes directly. (Of course, we in=
tend
> > to give something back Classpath). Providing the code to a maintainer
> > would be okay for us, too.
>
> I saw that Brian already send you the information on how to contribute
> (see also http://www.gnu.org/software/classpath/doc/hacking.html#SEC2)
> It would be nice if you have CVS access to integrate changes yourself
> since merging changes from others does sometimes take a long time since
> we have only that many developers.

Sure, this is the easiest way for everybody. We use our own repository he=
re=20
and intend to synchronize with the Classpath CVS about twice in a year.


> > In our developer branch, we replaced our own Java API (expect from
> > java.lang and java.awt*) by GNU Classpath, to see whether there are a=
ny
> > unexpected problems. The result looks quite good: We didn't encounter
> > much problems and in Classpath, much more packages are implemented.
>
> Very nice. What tests did you use?

You'll probably happy to read that our testsuite is based on Mauve. :-)=20
We have added some tests and included a small script-driven framework for=
 our=20
nightly builds. Currently, we are not happy with the generated statistics=
=20
yet, which are rather primitive at the moment. However, one of our employ=
ees,=20
Denis Theinert, is assigned to improving this. The result should be a=20
statistics that says "Test ABC, which ran perfectly the day before, faile=
d=20
last night" - and vice versa.

We didn't contact the Mauve developers so far, but as soon as our testsui=
te=20
works the way we like it, we plan to contribute to Mauve as well.

However, we have not finished the integration of all Classpath packages. =
There=20
are some slight problems with java.io. I'm sure we can handle this within=
 a=20
couple of days. I just wanted to contact you as soon as possible to see y=
our=20
reactions. If our legal guys do not agree (what I neither hope nor expect=
) we=20
could easily switch back now without having wasted much work.


[...]

> The native libraries of libgcj are already much better being more
> platform-independent. Sadly we don't even have a plan on how to merge
> these libraries yet. (libgcj uses the CNI interface for most native cod=
e
> since JNI is much to slow for them).

The native interface is always a problem. JNI is probably slow on every J=
ava=20
Virtual Machine. We have our own (internal) interface as well which is mu=
ch=20
faster but not very nice to use, because the developer has to take care a=
bout=20
too many things. Whenever possible, we prefer JNI. If performance becomes=
 too=20
poor, we probably rewrite some methods in JBI (our interface), but even i=
n=20
that case we'd continue to support the JNI methods, of course.


> > What do you think? Are we welcome?
>
> Sure. I look forward to working with you.

Great. So do I.


Kind regards,

=09Andy.

--=20
aicas GmbH * Hoepfner Burg                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From anwalt_pop@aicas.com Sat Oct 26 11:01:55 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185SRn-0003pC-00
	for classpath@gnu.org; Sat, 26 Oct 2002 11:01:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185SRe-0003VH-00
	for classpath@gnu.org; Sat, 26 Oct 2002 11:01:53 -0400
Received: from moutng.kundenserver.de ([212.227.126.171])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185SQr-0002xY-00; Sat, 26 Oct 2002 11:00:57 -0400
Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 185SQq-0004V8-00; Sat, 26 Oct 2002 17:00:56 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 185SQq-0006E1-00; Sat, 26 Oct 2002 17:00:56 +0200
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andy Walter <anwalt_pop@aicas.com>
To: Brian Jones <cbj@gnu.org>
Subject: Re: JamaicaVM and GNU Classpath
Date: Sat, 26 Oct 2002 16:58:20 +0200
X-Mailer: KMail [version 1.4]
Cc: classpath@gnu.org,
 aicas <aicas@aicas.com>,
 Torsten Rupp <rupp@aicas.com>
References: <200210231821.49450.anwalt@aicas.com> <200210241617.08218.anwalt_pop@aicas.com> <m3r8ed25ji.fsf@lyta.haphazard.org>
In-Reply-To: <m3r8ed25ji.fsf@lyta.haphazard.org>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200210261658.20066.anwalt_pop@aicas.com>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

On Saturday 26 October 2002 06:22, Brian Jones wrote:
> Hey, I guess this answers that nagging question I had about how a JVM
> is supposed to deal with native code memory allocation being somewhat
> outside of the garbage collector arrangement in use...

:-)

Of course, the garbage collector can not avoid operating system functions=
 from=20
allocating memory on their own. For some functions, a second version exis=
ts=20
that takes a pointer to a buffer as an argument where the result can be=20
stored. In that case you can ask your garbage collector for a certain amo=
unt=20
of memory and use that.

AFAIK there are TCP/IP related functions in Linux that insist on allocati=
ng=20
memory. The memory management of Linux should be able to cope more or les=
s=20
with fragmentation. But very small Operating Systems running on tiny devi=
ces=20
usually don't. However, in that case, they should provide functions that=20
don't necessarily allocate memory.


> In general I hate macros because I'm not one with the C compiler in
> having it create the real source from a given input with macros,
> etc. expanded.  However you seem to have proved out some system of
> macros that works for a lot of strange environments and that is
> encouraging.

Probably most Java programmers don't like macros. But for C programmes, m=
acros=20
can hardly be avoided. We decided to use macros here because in many case=
s,=20
quite similar native functions are provided by different operating system=
s.=20
Maybe only the data types differ or the order of the arguments. In those=20
cases, a macro is abstraction enough and causes no runtime penalty. If fo=
r a=20
special OS something more has to be done, the macro can still resolve to =
a=20
function call.


> Thanks for helping us keep some perspective.  It's easy to forget or
> casually ignore these systems sometimes when it isn't what you're
> directly concerned with or working on.

I know. We started with Linux and Solaris as target systems. But since we=
 had=20
to support many different systems we had to find a solution to make this=20
easier. It's somehow ironical that we just reached a fixed point now that=
 we=20
do this again, but maybe the second time, this is made faster.


Have a nice weekend,

=09Andy.

--=20
aicas GmbH * Hoepfner Burg                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From mark@klomp.org Sat Oct 26 21:22:20 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185c8C-0007AR-00
	for classpath@gnu.org; Sat, 26 Oct 2002 21:22:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185c8A-0007AG-00
	for classpath@gnu.org; Sat, 26 Oct 2002 21:22:19 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185c89-0007AC-00
	for classpath@gnu.org; Sat, 26 Oct 2002 21:22:18 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 185c7e-0000zt-00; Sun, 27 Oct 2002 02:21:46 +0100
Subject: Status update and some questions/suggestions about remaining
	Intel/Orp patches
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Cc: "Wu, Gansha" <gansha.wu@intel.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 27 Oct 2002 02:22:15 +0100
Message-Id: <1035681736.29141.1270.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

Most of the Intel/Orp patches have now be merged and checked in. I just
applied a lot "as is" but some things were done a bit different. I made
sure to create extensive ChangeLog entries for all changes so please
check the ChangeLog and the actual CVS diffs for more details.

Here are some questions/issues with the remaining things. I already
mentioned some of these when the patches were submitted or in previous
emails. Just repeating myself to give the complete picture.

There are some calls for volunteers or just suggestions for things to do
in the future. Please volunteer for any of these tasks and I will be
happy to send you more info patches :) But even just a simple "Good/Bad
Idea" reply would be appreciated.

Things not applied yet
======================

- Do we have any RMI expert on the list who could review these changes?
(The original implementation was donated by Transvirtual, after they
abandoned the code, but nobody has been maintaining it since :{)
Maybe someone has RMI example applications to test against?
I don't know that much about RMI and if there are no volunteers I will
just apply the patches as is since I believe the Orp developers are the
biggest users of this code and have tested it well.

- java/io/Object*Stream.java. We had these classes merged with libgcj
but they are diverging again. This is code I don't know much about and
has some very subtle issues that are easy to get wrong. One thing I like
about the libgcj version is that it has a lot less native methods and
does more with reflection. That makes the code much more portable. Is
there a (performance?) reason for using so many native calls? Also
Jeroen Frijters just submitted a small patch that should be integrated.
Any volunteers?

- ThreadLocal changes. I have to look closer at the changes but one of
the design decisions was to have all that inside the ThreadLocal classes
since Thread is a VM class that might be (very) different between VMs.
I recently submitted a suggestion for splitting Thread into a generic
java.lang.Thread class and a VM specific java.lang.VMThread helper
class. I will integrate the ThreadLocal patches while working on that.

- I couldn't find the native code implementation for
vm/reference/java/lang/PlatformProcess.java.

- I am not sure that the new Runtime.runShutdownHooks() is actually
thread save or even needed. What are the conditions under which is is
and may be called from a VM? How does it precisely interact with exit()?
It looks to me that a VM should just call Runtime.getRuntime().exit() on
a control-C.

Suggestions for the future
==========================

- I applied all of the initial size for StringBuffer patches since they
seems to be a bottleneck for performance. Initializing the StringBuffer
to something like at least half the expected size seems good practice in
general. I saw that GCJ has unsynchronized version of StringBuffer that
can be used by library code that knows it is save since it has the only
reference to the buffer.
Another thing to look at it the following idea of reusing StringBuffers:
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/0,1701,2488,00.html
(The article claims a speed improvement of 65%)

- I rewrote most of URLClassLoader based on the submitted patches and
added support for CodeDomains, Packages, (hopefully) newInstance()
Permissions and some bug fixes for IK.VM.NET.
One thing that we lose is an optimization that was in the Intel/Orp
patch that always started searching the most recently used jar/file
location. Sadly that is an optimization that is almost always correct,
since classes are mostly loaded in groups from the same location, but it
is not always correct since URLClassLoader guarantees that the locations
are searched in order (so a location/jar at the front may patch/override
a class/resource found in a later location/jar). We may want to
implement something like:
<http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html#JAR%20Index>
which makes caching locations safe and speedy.

- In the future we should make the SystemClassLoader (actually the
application classloader) a subclass of URLClassLoader and do all caching
in URLClassLoader. The VMClassLoader would then only be used to load the
bootstrap (Classpath and VM) classes. This would also make the
difference between a "null" and System/Application ClassLoader more
clear. Note that I did apply the change to return null for java.* - and
gnu.java.* - classes but not the one for changing all "null" loaders to
the systemClassLoader. I also tried to make more clear what should be
explicitly implemented by the VMClassLoader as bootclassloader and what
can be delegated to the application/systemclassloader to prevent
circular class load call chains. But I am sure that I missed some
things. I will concentrate on this and document it better next week.

Cheers,

Mark




From anwalt@aicas.com Sat Oct 26 10:17:36 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185Rku-00075p-00
	for classpath@gnu.org; Sat, 26 Oct 2002 10:17:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185Rkb-0006z4-00
	for classpath@gnu.org; Sat, 26 Oct 2002 10:17:35 -0400
Received: from moutng.kundenserver.de ([212.227.126.183])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185Rkb-0006z0-00
	for classpath@gnu.org; Sat, 26 Oct 2002 10:17:17 -0400
Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 185RkX-0001hB-00; Sat, 26 Oct 2002 16:17:13 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 185RkX-0005Yj-00; Sat, 26 Oct 2002 16:17:13 +0200
Content-Type: text/plain;
  charset="iso-8859-15"
From: Andy Walter <anwalt@aicas.com>
To: Mark Wielaard <mark@klomp.org>
Subject: Re: JamaicaVM and GNU Classpath
Date: Sat, 26 Oct 2002 16:14:37 +0200
X-Mailer: KMail [version 1.4]
Cc: classpath@gnu.org,
 aicas <aicas@aicas.com>,
 Torsten Rupp <rupp@aicas.com>
References: <200210231821.49450.anwalt@aicas.com> <200210241929.19707.anwalt@aicas.com> <1035631606.29141.521.camel@elsschot>
In-Reply-To: <1035631606.29141.521.camel@elsschot>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200210261614.37323.anwalt@aicas.com>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi Mark,

On Saturday 26 October 2002 13:26, Mark Wielaard wrote:
>
> We also want to set something like that up for Kissme (or sablevm or
> Orp) and mauve. So that would be a very nice contribution. Then we can
> more easily compare what are VM issues and what are library issues. I
> have already something simple setup to post Mauve results for (lib)gcj
> to the gcc-testresults mailing list. See e.g.
> http://gcc.gnu.org/ml/gcc-testresults/2002-10/msg00865.html

This looks indeed quite similar to what we currently have. Denis (whom we=
=20
assigned to the task of improving the statistics) is new to aicas and not=
=20
very experienced, so he'll probably take some time. But I'm quite content=
=20
with what he did so far and expect that by the end of november we have th=
is=20
finished.

What do you do with your statistics? We use CVS to store the detailed rep=
ort=20
and use a brief summary as log message. We use the CVS facilities of send=
ing=20
an eMail with the log message to all developers.

We use scripts to generate a wrapping main class for each test (which is =
maybe=20
not what the mauve developers intended, because running the test suite ta=
kes=20
some time that way, but we want to be able to generate proper log files e=
ven=20
in case some severe bug was found in the VM).

For the improved statistics, we plan to store the result of each single t=
est=20
class in a separate CVS'ed file, so comparing the results should be quite=
=20
easy.

Since we use autoconf to configure the script, another VM can be easily u=
sed.

I just wanted to give you a short overview. We don't like to release the=20
scripts in the state they are now, because they're just about to being=20
restructured. But if you have comments or special wishes which we can eas=
ily=20
adopt, this is probably the right time for it.

Maybe this discussion is off topic here. If you think so, we can continue=
 on=20
the mauve mailinglists (I just subscribed).


> > However, we have not finished the integration of all Classpath packag=
es.
> > There are some slight problems with java.io. I'm sure we can handle t=
his
> > within a couple of days. I just wanted to contact you as soon as poss=
ible
> > to see your reactions.
>
> Note that there are some (subtle) problems with the current java.io
> setup in GNU Classpath. We want to use the setup that (lib)gcj uses and
> that Jeroen Frijters uses for IK.VM.NET. See:
>
>     http://gcc.gnu.org/ml/java/2002-10/msg00019.html
>     http://gcc.gnu.org/ml/java/2002-10/msg00037.html

Thank you for the pointer. That probably explains why the call of (the PO=
SIX C=20
function) close in _javaio_close was commented out. I'll have a more=20
detailled look at the matter in the next couple of days.


Cheers,

=09Andy.

--=20
aicas GmbH * Hoepfner Burg                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From cbj@gnu.org Sat Oct 26 23:02:31 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185dh9-0007bw-00
	for classpath@gnu.org; Sat, 26 Oct 2002 23:02:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185dh7-0007bl-00
	for classpath@gnu.org; Sat, 26 Oct 2002 23:02:30 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185dh7-0007bf-00
	for classpath@gnu.org; Sat, 26 Oct 2002 23:02:29 -0400
Received: from mail7.nc.rr.com (fe7 [24.93.67.54])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9R32Sup020006;
	Sat, 26 Oct 2002 23:02:28 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Sat, 26 Oct 2002 23:01:56 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9R32uA9021322;
	Sat, 26 Oct 2002 23:02:56 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9R32uDN021318;
	Sat, 26 Oct 2002 23:02:56 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org, "Wu, Gansha" <gansha.wu@intel.com>
Subject: Re: Status update and some questions/suggestions about remaining Intel/Orp patches
References: <1035681736.29141.1270.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 26 Oct 2002 23:02:55 -0400
In-Reply-To: <1035681736.29141.1270.camel@elsschot>
Message-ID: <m3k7k41t40.fsf@lyta.haphazard.org>
Lines: 57
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> - Do we have any RMI expert on the list who could review these changes?
> (The original implementation was donated by Transvirtual, after they
> abandoned the code, but nobody has been maintaining it since :{)
> Maybe someone has RMI example applications to test against?
> I don't know that much about RMI and if there are no volunteers I will
> just apply the patches as is since I believe the Orp developers are the
> biggest users of this code and have tested it well.
>
> - java/io/Object*Stream.java. We had these classes merged with libgcj
> but they are diverging again. This is code I don't know much about and
> has some very subtle issues that are easy to get wrong. One thing I like
> about the libgcj version is that it has a lot less native methods and
> does more with reflection. That makes the code much more portable. Is
> there a (performance?) reason for using so many native calls? Also
> Jeroen Frijters just submitted a small patch that should be integrated.
> Any volunteers?

No expert here, RMI is used quite a bit in J2EE, and hence in JBoss,
so my guess is they have tested this in some way, the same for
serialization.  JBoss is LGPL (or was), so feel free to play with it.

I've been doing some work on serialization tests but I don't know if
Classpath + (any VM) is up to the necessary reflection to run the
tests.  Anyway the next release of japitools will have that, sometime
next week I hope.  I've not tried it with Classpath yet.

> - ThreadLocal changes. I have to look closer at the changes but one of
> the design decisions was to have all that inside the ThreadLocal classes
> since Thread is a VM class that might be (very) different between VMs.
> I recently submitted a suggestion for splitting Thread into a generic
> java.lang.Thread class and a VM specific java.lang.VMThread helper
> class. I will integrate the ThreadLocal patches while working on that.

M'kay. :)  

> - I couldn't find the native code implementation for
> vm/reference/java/lang/PlatformProcess.java.

Probably wasn't included, I don't think Classpath has native code for
Runtime.exec() yet.  Probably just "port" gcj CNI version to JNI.  I
assume for the moment that PlatformProcess is somehow related, should
it be in the VM interface?

> - I am not sure that the new Runtime.runShutdownHooks() is actually
> thread save or even needed. What are the conditions under which is is
> and may be called from a VM? How does it precisely interact with exit()?
> It looks to me that a VM should just call Runtime.getRuntime().exit() on
> a control-C.

There are things like this, and also in File you are supposed to be
able to register certain files for deletion when the VM
exits... probably hooks into the runShutDownHooks() somehow.

-- 
Brian Jones <cbj@gnu.org>



From cbj@gnu.org Sat Oct 26 23:25:42 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185e3a-0003E8-00
	for classpath@gnu.org; Sat, 26 Oct 2002 23:25:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185e3Y-0003AA-00
	for classpath@gnu.org; Sat, 26 Oct 2002 23:25:41 -0400
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185e3X-00038x-00
	for classpath@gnu.org; Sat, 26 Oct 2002 23:25:39 -0400
Received: from mail8.nc.rr.com (fe8 [24.93.67.55])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9R3Paup000235;
	Sat, 26 Oct 2002 23:25:36 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Sat, 26 Oct 2002 23:25:21 -0400
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9R3Q5A9021360;
	Sat, 26 Oct 2002 23:26:06 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9R3Q5m8021356;
	Sat, 26 Oct 2002 23:26:05 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Andy Walter <anwalt@aicas.com>
Cc: classpath@gnu.org, aicas <aicas@aicas.com>, Torsten Rupp <rupp@aicas.com>
Subject: Re: JamaicaVM and GNU Classpath
References: <200210231821.49450.anwalt@aicas.com>
	<1035475391.29141.253.camel@elsschot>
	<200210241929.19707.anwalt@aicas.com>
From: Brian Jones <cbj@gnu.org>
Date: 26 Oct 2002 23:26:05 -0400
In-Reply-To: <200210241929.19707.anwalt@aicas.com>
Message-ID: <m3fzus1s1e.fsf@lyta.haphazard.org>
Lines: 34
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Andy Walter <anwalt@aicas.com> writes:

> However, I managed to convince the rest of aicas that at least
> merging the API would be a great thing to everybody. I'm afraid more
> is not possible at the moment.

And that's a really big deal in and of itself sometimes.

> > So I would ask you kindly to only distribute you VM as free software.
> > See for example Ada Core Technologies <http://www.gnat.com/> for an
> > example of a commercial Free Software business. Or of course
> > http://wonka.acunia.com/.
> 
> Of course, I know Acunia and that there are other open source
> VMs. They have different business models. There is a binary version
> for Linux on our homepage which is legally, but not functionally,
> restricted to 30 days.  Currently, more is really not possible.

I am not quite so zealous with regards to free software.  There are
benefits and risks associated with both free and proprietary software
models.  Classpath is a project of the FSF and we want to promote free
software virtual machines as much as possible, but Classpath, the
library, is fairly neutral in this regard.

> Sure, this is the easiest way for everybody. We use our own repository here 
> and intend to synchronize with the Classpath CVS about twice in a year.

Twice in a year?  I think Internet Time stopped the day the bubble
burst.  ;)  It probably won't be too bad once the VM interface becomes
more stability and releases become more or less bug free due to
intense testing against Mauve.

-- 
Brian Jones <cbj@gnu.org>



From anwalt_pop@aicas.com Sun Oct 27 06:55:53 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185m1I-00061H-00
	for classpath@gnu.org; Sun, 27 Oct 2002 06:55:52 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185lp5-0002tf-00
	for classpath@gnu.org; Sun, 27 Oct 2002 06:43:20 -0500
Received: from moutng.kundenserver.de ([212.227.126.171])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185lp4-0002tS-00
	for classpath@gnu.org; Sun, 27 Oct 2002 06:43:14 -0500
Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 185lp1-0004vr-00; Sun, 27 Oct 2002 12:43:11 +0100
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 185lp1-0002CN-00; Sun, 27 Oct 2002 12:43:11 +0100
Content-Type: text/plain;
  charset="iso-8859-15"
From: Andy Walter <anwalt_pop@aicas.com>
To: Mark Wielaard <mark@klomp.org>,
 classpath@gnu.org
Subject: Re: Status update and some questions/suggestions about remaining Intel/Orp patches
Date: Sun, 27 Oct 2002 13:40:32 +0200
X-Mailer: KMail [version 1.4]
Cc: "Wu, Gansha" <gansha.wu@intel.com>
References: <1035681736.29141.1270.camel@elsschot>
In-Reply-To: <1035681736.29141.1270.camel@elsschot>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200210271240.32529.anwalt_pop@aicas.com>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Sunday 27 October 2002 02:22, Mark Wielaard wrote:
> - java/io/Object*Stream.java. We had these classes merged with libgcj
> but they are diverging again. This is code I don't know much about and
> has some very subtle issues that are easy to get wrong. One thing I lik=
e
> about the libgcj version is that it has a lot less native methods and
> does more with reflection. That makes the code much more portable. Is
> there a (performance?) reason for using so many native calls?

To me, avoiding native methods as often as possible is preferable as well=
=2E But=20
I'm not so sure whether using reflection in java.io.* is a such a good th=
ing.=20
Generating binaries that contain all needed classes (including those of t=
he=20
library) is an easy job, as long as reflection is not used. When reflecti=
on=20
is used, you have to tell your compiler explicitly something like "if thi=
s=20
method is called, we need that method as well". I had expected that the G=
CC=20
guys have this problem as well.


> Also Jeroen Frijters just submitted a small patch that should be integr=
ated.
> Any volunteers?

I'd be interested in becoming actively involved especially in the java.io=
=2E*=20
package. But before doing anything else, I'd like to make our VM run smoo=
thly=20
with Classpath. If the patch is still unapplied in, say, two weeks, I'll =
take=20
it.


Cheers,

=09Andy.

--=20
aicas GmbH * Hoepfner Burg                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From mark@klomp.org Sun Oct 27 10:06:43 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185ozz-0002Ma-00
	for classpath@gnu.org; Sun, 27 Oct 2002 10:06:43 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185ozv-0002EZ-00
	for classpath@gnu.org; Sun, 27 Oct 2002 10:06:42 -0500
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185ozu-0002Bx-00
	for classpath@gnu.org; Sun, 27 Oct 2002 10:06:38 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 185ozG-0002dn-00; Sun, 27 Oct 2002 16:05:58 +0100
Subject: Re: JamaicaVM and GNU Classpath
From: Mark Wielaard <mark@klomp.org>
Reply-To: mauve-discuss@sources.redhat.com
To: Andy Walter <anwalt@aicas.com>
Cc: classpath@gnu.org, aicas <aicas@aicas.com>, Torsten Rupp <rupp@aicas.com>, 
	mauve-discuss@sources.redhat.com
In-Reply-To: <200210261614.37323.anwalt@aicas.com>
References: <200210231821.49450.anwalt@aicas.com>
	<200210241929.19707.anwalt@aicas.com> <1035631606.29141.521.camel@elsschot>
	 <200210261614.37323.anwalt@aicas.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 27 Oct 2002 16:06:28 +0100
Message-Id: <1035731188.15723.11.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Sat, 2002-10-26 at 16:14, Andy Walter wrote:
> 
> What do you do with your statistics? We use CVS to store the detailed report 
> and use a brief summary as log message. We use the CVS facilities of sending 
> an eMail with the log message to all developers.

Not enough :( I just make sure that they are generated everyday so that
it is easy to see on what day which test stopped working by searching
the gcc-testresults archives.

> We use scripts to generate a wrapping main class for each test (which is maybe 
> not what the mauve developers intended, because running the test suite takes 
> some time that way, but we want to be able to generate proper log files even 
> in case some severe bug was found in the VM).

I once wrote something like that when Kissme was a lot less mature and
crashing a lot (at least on powerpc). They have not yet been integrated
into CVS yet, but can be found in the mauve-discuss archives:
http://sources.redhat.com/ml/mauve-discuss/2002-q3/msg00019.htm

> For the improved statistics, we plan to store the result of each single test 
> class in a separate CVS'ed file, so comparing the results should be quite 
> easy.
> 
> Since we use autoconf to configure the script, another VM can be easily used.

That would be very nice for comparing results.

> I just wanted to give you a short overview. We don't like to release the 
> scripts in the state they are now, because they're just about to being 
> restructured. But if you have comments or special wishes which we can easily 
> adopt, this is probably the right time for it.
> 
> Maybe this discussion is off topic here. If you think so, we can continue on 
> the mauve mailinglists (I just subscribed).

Yes. I have added mauve-discuss to the CC and set the reply-to
accordingly.

Cheers,

Mark





From mark@klomp.org Sun Oct 27 10:16:05 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 185p93-0000ND-00
	for classpath@gnu.org; Sun, 27 Oct 2002 10:16:05 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 185p90-0000KM-00
	for classpath@gnu.org; Sun, 27 Oct 2002 10:16:04 -0500
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 185p90-0000Gp-00
	for classpath@gnu.org; Sun, 27 Oct 2002 10:16:02 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] helo=localhost.localdomain)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 185p8K-0002eL-00; Sun, 27 Oct 2002 16:15:20 +0100
Subject: RE: java.util.zip.InflaterInputStream patch
From: Mark Wielaard <mark@klomp.org>
To: "Wu, Gansha" <gansha.wu@intel.com>
Cc: classpath@gnu.org
In-Reply-To: 
	<A577A8CE35DBD211AC3F00A0C9E0115405099721@bjsmsx90.bj.intel.com>
References: <A577A8CE35DBD211AC3F00A0C9E0115405099721@bjsmsx90.bj.intel.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 27 Oct 2002 16:15:50 +0100
Message-Id: <1035731750.15594.18.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Fri, 2002-10-25 at 04:45, Wu, Gansha wrote:
> ORP has another 
> java.util.zip implementation which implements some critical methods by JNI 
> native methods, and as such improves the performance of some real-world 
> business applications significantly.

Note that I just committed the following patch for ZipFile that makes it
a bit faster both when using pure java (tested with Kissme) and when
using native zlib code (tested with gcj). In some cases with Kissme the
speedup was several seconds, but with gcj it was only a few hunderd
miliseconds at most. So please try the new code with Orp to see if it
helps.

2002-10-27  Mark Wielaard  <mark@klomp.org>

  * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
  argument.
  (readLeShort): Likewise and use byte[].
  (readLeInt): Likewise.
  (readEntries): Use new versions of methods and use byte[] for reading
  a complete zip entry. Add ZipFile name to exceptions.
  (entries): Add ZipFile name to exceptions.
  (getEntry): Likewise.
  (checkLocalHeader): Use new versions of methods and add ZipFile name
  to exceptions.

Cheers,

Mark




From jeroen@sumatra.nl Mon Oct 28 02:52:25 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 1864hF-00075G-00
	for classpath@gnu.org; Mon, 28 Oct 2002 02:52:25 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 1864hC-00074v-00
	for classpath@gnu.org; Mon, 28 Oct 2002 02:52:24 -0500
Received: from 62-177-154-235.bbeyond.nl ([62.177.154.235] helo=smtp.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 1864hB-0006zu-00
	for classpath@gnu.org; Mon, 28 Oct 2002 02:52:21 -0500
Received: from tpjeroen ([194.158.173.185]) by smtp.sumatrasoftware.com with Microsoft SMTPSVC(5.0.2195.5329);
	 Mon, 28 Oct 2002 08:43:43 +0100
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "'Andy Walter'" <anwalt_pop@aicas.com>,
	"'Mark Wielaard'" <mark@klomp.org>,
	<classpath@gnu.org>
Cc: "'Wu, Gansha'" <gansha.wu@intel.com>
Subject: RE: Status update and some questions/suggestions about remaining Intel/Orp patches
Date: Mon, 28 Oct 2002 08:52:07 +0100
Message-ID: <01c501c27e56$e9f9baa0$d601a8c0@tpjeroen>
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, Build 10.0.4024
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <200210271240.32529.anwalt_pop@aicas.com>
Importance: Normal
X-OriginalArrivalTime: 28 Oct 2002 07:43:43.0280 (UTC) FILETIME=[BD491B00:01C27E55]
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Sunday, October 27, 2002 12:41, Andy Walter wrote:
> On Sunday 27 October 2002 02:22, Mark Wielaard wrote:
> > - java/io/Object*Stream.java. We had these classes merged 
> with libgcj
> > but they are diverging again. This is code I don't know 
> much about and
> > has some very subtle issues that are easy to get wrong. One 
> thing I like
> > about the libgcj version is that it has a lot less native 
> methods and
> > does more with reflection. That makes the code much more 
> portable. Is
> > there a (performance?) reason for using so many native calls?
> 
> To me, avoiding native methods as often as possible is 
> preferable as well.

I agree. I'm not using any JNI in my VM for the Classpath native methods
(although my VM does support it [but it isn't completely done yet]), for
one simple reason: I want my VM to be runnable in a sandbox, and native
code requires full trust.

> But 
> I'm not so sure whether using reflection in java.io.* is a 
> such a good thing. 
> Generating binaries that contain all needed classes 
> (including those of the 
> library) is an easy job, as long as reflection is not used. 

Mark was talking specifically about ObjectInput-/ObjectOutputStream and
they require some sort of reflection anyway. The current implementation
uses JNI reflection, but IMHO it would be preferrable to do the
reflection from Java. I think this has the potential to be faster too.

Regards,
Jeroen




From anwalt_pop@aicas.com Mon Oct 28 04:44:20 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 1866RX-0002T8-00
	for classpath@gnu.org; Mon, 28 Oct 2002 04:44:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 1866RR-0002Cm-00
	for classpath@gnu.org; Mon, 28 Oct 2002 04:44:17 -0500
Received: from moutng.kundenserver.de ([212.227.126.186])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 1866RR-0002AR-00
	for classpath@gnu.org; Mon, 28 Oct 2002 04:44:13 -0500
Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1866R5-0005C6-00; Mon, 28 Oct 2002 10:43:51 +0100
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 1866R5-00051C-00; Mon, 28 Oct 2002 10:43:51 +0100
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andy Walter <anwalt_pop@aicas.com>
To: "Jeroen Frijters" <jeroen@sumatra.nl>,
 "'Mark Wielaard'" <mark@klomp.org>,
 <classpath@gnu.org>
Subject: Re: Status update and some questions/suggestions about remaining Intel/Orp patches
Date: Mon, 28 Oct 2002 11:41:10 +0200
X-Mailer: KMail [version 1.4]
Cc: "'Wu, Gansha'" <gansha.wu@intel.com>
References: <01c501c27e56$e9f9baa0$d601a8c0@tpjeroen>
In-Reply-To: <01c501c27e56$e9f9baa0$d601a8c0@tpjeroen>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200210281041.10802.anwalt_pop@aicas.com>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Monday 28 October 2002 08:52, Jeroen Frijters wrote:
> > To me, avoiding native methods as often as possible is
> > preferable as well.
>
> I agree. I'm not using any JNI in my VM for the Classpath native method=
s
> (although my VM does support it [but it isn't completely done yet]), fo=
r
> one simple reason: I want my VM to be runnable in a sandbox, and native
> code requires full trust.

But this is a general problem of native code. I don't see how using anyth=
ing=20
else than JNI for native methods can help.


> Mark was talking specifically about ObjectInput-/ObjectOutputStream and
> they require some sort of reflection anyway.

I should have read more carefully. You're perfectly right.


> The current implementation
> uses JNI reflection, but IMHO it would be preferrable to do the
> reflection from Java. I think this has the potential to be faster too.

I agree as well. There is no need for native code there.


Cheers,

=09Andy.

--=20
aicas GmbH * Hoepfner Burg                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From jeroen@sumatra.nl Mon Oct 28 05:07:30 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 1866ny-0003xB-00
	for classpath@gnu.org; Mon, 28 Oct 2002 05:07:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 1866nu-0003r9-00
	for classpath@gnu.org; Mon, 28 Oct 2002 05:07:30 -0500
Received: from 62-177-154-235.bbeyond.nl ([62.177.154.235] helo=smtp.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 1866nu-0003r3-00
	for classpath@gnu.org; Mon, 28 Oct 2002 05:07:26 -0500
Received: from tpjeroen ([194.158.173.185]) by smtp.sumatrasoftware.com with Microsoft SMTPSVC(5.0.2195.5329);
	 Mon, 28 Oct 2002 10:58:58 +0100
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "'Andy Walter'" <anwalt_pop@aicas.com>,
	"'Mark Wielaard'" <mark@klomp.org>,
	<classpath@gnu.org>
Cc: "'Wu, Gansha'" <gansha.wu@intel.com>
Subject: RE: Status update and some questions/suggestions about remaining Intel/Orp patches
Date: Mon, 28 Oct 2002 11:07:23 +0100
Message-ID: <01e201c27e69$cf87bb00$d601a8c0@tpjeroen>
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, Build 10.0.4024
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <200210281041.10802.anwalt_pop@aicas.com>
Importance: Normal
X-OriginalArrivalTime: 28 Oct 2002 09:58:58.0960 (UTC) FILETIME=[A29B9900:01C27E68]
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Monday, October 28, 2002 10:41, Andy Walter wrote:
> But this is a general problem of native code. I don't see how 
> using anything else than JNI for native methods can help.

My VM isn't a "real" VM. It sits on top of the .NET runtime, so for
native code I use .NET libraries. So in addition to the Java security
model, I also have to deal with the .NET security model.

Regards,
Jeroen




From Jeffrey.Morgan@BristolWest.com Tue Oct 29 07:02:09 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 186V4T-0007VB-00
	for classpath@gnu.org; Tue, 29 Oct 2002 07:02:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 186V4N-0007SJ-00
	for classpath@gnu.org; Tue, 29 Oct 2002 07:02:07 -0500
Received: from mail.bristolwest.com ([12.8.14.180] helo=xchange.bristolwest.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 186V4M-0007RT-00
	for classpath@gnu.org; Tue, 29 Oct 2002 07:02:03 -0500
Received: from ohindex01.bristolwest.com ([10.83.25.14]) by xchange.bristolwest.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id VLB007JL; Tue, 29 Oct 2002 07:02:00 -0500
Received: by ohindex01.bristolwest.com with Internet Mail Service (5.5.2653.19)
	id <VSBPAYMC>; Tue, 29 Oct 2002 07:02:04 -0500
Message-ID: <5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com>
From: Jeffrey Morgan <Jeffrey.Morgan@BristolWest.com>
To: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: I wish to help
Date: Tue, 29 Oct 2002 07:02:02 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C27F42.FE2D5CB0"
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C27F42.FE2D5CB0
Content-Type: text/plain;
	charset="iso-8859-1"

I would like to contribute to the classpath project.
I would like to ask the current developers where I 
can be of the most use.  I have several years of JNI 
experience and have worked on several open source GUI 
toolkits.  I know the GTK library stack very well and would 
therefore prefer to work on AWT if possible.  I should
mention that I am the primary developer for java-gnome
and will be splitting my time between the two projects.

-Jeff

------_=_NextPart_001_01C27F42.FE2D5CB0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>I wish to help</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I would like to contribute to the classpath project.</FONT>
<BR><FONT SIZE=2>I would like to ask the current developers where I </FONT>
<BR><FONT SIZE=2>can be of the most use.&nbsp; I have several years of JNI </FONT>
<BR><FONT SIZE=2>experience and have worked on several open source GUI </FONT>
<BR><FONT SIZE=2>toolkits.&nbsp; I know the GTK library stack very well and would </FONT>
<BR><FONT SIZE=2>therefore prefer to work on AWT if possible.&nbsp; I should</FONT>
<BR><FONT SIZE=2>mention that I am the primary developer for java-gnome</FONT>
<BR><FONT SIZE=2>and will be splitting my time between the two projects.</FONT>
</P>

<P><FONT SIZE=2>-Jeff</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C27F42.FE2D5CB0--



From mark@klomp.org Tue Oct 29 17:00:23 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 186ePO-0007cX-00
	for classpath@gnu.org; Tue, 29 Oct 2002 17:00:22 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 186ePI-0007Hb-00
	for classpath@gnu.org; Tue, 29 Oct 2002 17:00:21 -0500
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 186ePH-0007Ab-00
	for classpath@gnu.org; Tue, 29 Oct 2002 17:00:15 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=localhost.localdomain ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 186eOf-0007na-00; Tue, 29 Oct 2002 22:59:37 +0100
Subject: Re: I wish to help
From: Mark Wielaard <mark@klomp.org>
To: Jeffrey Morgan <Jeffrey.Morgan@BristolWest.com>
Cc: "'classpath@gnu.org'" <classpath@gnu.org>
In-Reply-To: 
	<5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com>
References: 
	<5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 29 Oct 2002 23:00:09 +0100
Message-Id: <1035928809.16261.89.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Tue, 2002-10-29 at 13:02, Jeffrey Morgan wrote:
> I would like to contribute to the classpath project.

Thanks. That would be very nice!
We have a little document to help people get up to speed fast.
The GNU Classpath Hacker's Guide:
http://www.gnu.org/software/classpath/doc/hacking.html

But if anything in there is unclear please ask on the list.
There is also the HACKING file in CVS.
We do release snapshots from time to time, but we are still a
development project so working from CVS is preferred.
Please let us know if you need help setting things up.

> I would like to ask the current developers where I 
> can be of the most use.  I have several years of JNI 
> experience and have worked on several open source GUI 
> toolkits.  I know the GTK library stack very well and would 
> therefore prefer to work on AWT if possible.  I should
> mention that I am the primary developer for java-gnome
> and will be splitting my time between the two projects.

These are really good skills and very much needed!
I think that everybody will agree that we need people to work on our AWT
implementation so I will give you a short introduction on the current
status.

We have most of the AWT framework, AWT peer classes and C/JNI GTK+ (1.2)
bindings. But it doesn't work... On the other hand, it almost works :)
http://mail.gnu.org/pipermail/classpath/2002-July/002444.html
http://people.debian.org/~jewel/kissme/shots/kissme_awt.png
So there is some real hacking to do here. But it can lead to results
quickly.

I am afraid that the original AWT Hackers (Paul Fisher, who created the
GTK+ peers and Aaron Renn, who created most of the java awt framework)
are no longer working on the Classpath project. But we are merging our
class libraries with the libgcj team and the libgcj awt hackers (most
notably Tom Tromey) are still very active (although not working that
much on awt related things).

The GNU Classpath/libgcj merge status can be found at:
http://gcc.gnu.org/java/libgcj-classpath-compare.html
Almost everything from java.awt has already been merged.

An interesting outside project is the AWT implementation from Wonka
(called Rudolph). It has never really been tried with GNU Classpath, but
I suspect that the JamaicaVM people are going to try to get it working
with Classpath.
Chris Gray said that they wanted to relicense it if needed but I don't
know if they are actually going to donate it to the FSF for inclusion in
the GNU Classpath project. Note however that Rudolph is not a peer based
implementation.

Hope that gives you an idea on where we are with java.awt at the moment.

Cheers,

Mark




From cbj@gnu.org Tue Oct 29 19:22:56 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 186gdL-00066I-00
	for classpath@gnu.org; Tue, 29 Oct 2002 19:22:55 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 186gdJ-00062G-00
	for classpath@gnu.org; Tue, 29 Oct 2002 19:22:54 -0500
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 186gdJ-000623-00
	for classpath@gnu.org; Tue, 29 Oct 2002 19:22:53 -0500
Received: from mail6.nc.rr.com (fe6 [24.93.67.53])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9U0MViZ027904;
	Tue, 29 Oct 2002 19:22:31 -0500 (EST)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail6.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Tue, 29 Oct 2002 19:22:53 -0500
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9U0NQA9012352;
	Tue, 29 Oct 2002 19:23:26 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9U0NQdE012348;
	Tue, 29 Oct 2002 19:23:26 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: Jeffrey Morgan <Jeffrey.Morgan@bristolwest.com>,
   "'classpath@gnu.org'" <classpath@gnu.org>
Subject: Re: I wish to help
References: <5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com>
	<1035928809.16261.89.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 29 Oct 2002 19:23:26 -0500
In-Reply-To: <1035928809.16261.89.camel@elsschot>
Message-ID: <m3ela8srk1.fsf@lyta.haphazard.org>
Lines: 21
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> Chris Gray said that they wanted to relicense it if needed but I
> don't know if they are actually going to donate it to the FSF for
> inclusion in the GNU Classpath project. Note however that Rudolph is
> not a peer based implementation.

I'm trying to get something definite from Chris right now.  There has
been on-going discussion with RMS, FSF legal, and Chris since he made
that statement.  There is the potential we could end up including the
relicensed Rudolph as an external library if it would save us a lot of
work.  There are some logistics involved in getting our fixes or
changes back to the upstream source, for instance if we made it
possible to use native peers as an option since we have some of that
code already.

Opinions?

Brian
-- 
Brian Jones <cbj@gnu.org>



From brawer@acm.org Wed Oct 30 16:23:58 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 1870Ji-0002hB-00
	for classpath@gnu.org; Wed, 30 Oct 2002 16:23:58 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 1870Je-0002f5-00
	for classpath@gnu.org; Wed, 30 Oct 2002 16:23:56 -0500
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 1870Jd-0002ck-00
	for classpath@gnu.org; Wed, 30 Oct 2002 16:23:54 -0500
Received: from [192.168.1.33] (unknown [217.8.220.247])
	by smtp1.mail.ch.easynet.net (Postfix) with ESMTP id 80B404A294
	for <classpath@gnu.org>; Wed, 30 Oct 2002 22:23:51 +0100 (CET)
From: Sascha Brawer <brawer@acm.org>
To: GNU Classpath <classpath@gnu.org>
Subject: FYI: java.util.logging
Date: Wed, 30 Oct 2002 22:23:50 +0100
Message-Id: <20021030212350.29995@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
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

just for your information: I've checked in a bunch of bug fixes to the
java.util.logging package. See the ChangeLog entries for details.

I hope the ChangeLog is not too detailed, but for maintaining the code,
it might turn out to be useful to have that documentation available.

Best regards,

-- Sascha
   brawer at acm.org, http://www.coli.uni-sb.de/~brawer/





From mark@klomp.org Thu Oct 31 06:15:38 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187DIX-0008KJ-00
	for classpath@gnu.org; Thu, 31 Oct 2002 06:15:37 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187DIU-0008Hj-00
	for classpath@gnu.org; Thu, 31 Oct 2002 06:15:37 -0500
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187DIQ-0008Aw-00; Thu, 31 Oct 2002 06:15:31 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=localhost.localdomain ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 187DHs-0002wu-00; Thu, 31 Oct 2002 12:14:56 +0100
Subject: Re: I wish to help
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
Cc: Jeffrey Morgan <Jeffrey.Morgan@bristolwest.com>, "'classpath@gnu.org'"
	 <classpath@gnu.org>
In-Reply-To: <m3ela8srk1.fsf@lyta.haphazard.org>
References: 
	<5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com>
	<1035928809.16261.89.camel@elsschot>  <m3ela8srk1.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 31 Oct 2002 12:15:28 +0100
Message-Id: <1036062928.7364.115.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Wed, 2002-10-30 at 01:23, Brian Jones wrote:
> Mark Wielaard <mark@klomp.org> writes:
> 
> > Chris Gray said that they wanted to relicense it if needed but I
> > don't know if they are actually going to donate it to the FSF for
> > inclusion in the GNU Classpath project. Note however that Rudolph is
> > not a peer based implementation.
> 
> I'm trying to get something definite from Chris right now.  There has
> been on-going discussion with RMS, FSF legal, and Chris since he made
> that statement.  There is the potential we could end up including the
> relicensed Rudolph as an external library if it would save us a lot of
> work.  There are some logistics involved in getting our fixes or
> changes back to the upstream source, for instance if we made it
> possible to use native peers as an option since we have some of that
> code already.

Thanks for following up on that! It would be very nice to work more
closely with the Wonka people.

> Opinions?

With respect to licensing/copyright it would be best IMHO to get
everything assigned to the FSF as we have done with all other
contributors.

Has someone actually tried Rudolph with GNU Classpath? I have been
playing a little with our current AWT implementation and Kissme but have
not yet come much further then the screenshot posted by John Leuner.
There are some Kissme thread issues at the moment with the latest
pthreads that Stephen Crawley is working on (and if people want I have
some very ugly hacks to make it more or less work atm). But after that
is fixed nothing should stand in the way of hacking it into a more
usable form.

Also take into account that Wonka contains only the java.awt, 
java.awt.event and java.awt.image packages. We have that and
java.awt.color, java.awt.datatransfer, java.awt.dnd, java.awt.dnd.peer,
java.awt.font, java.awt.geom, java.awt.im, java.awt.im.spi,
java.awt.image.renderable, java.awt.peer and java.awt.print. The
important advantage that Rudolph has is of course that the code that
they have actually works! I haven't checked on class level btw.
(More info can be found on http://wonka.acunia.com/javadoc-0.9.3/)

A small thing, but important to me, is the fact that we have much better
documentation (apidoc) then the Wonka implementation. I know that RMS
finds it important to have good documentation for GNU programs so you
might want to bring up this point (certainly because it is a complicated
matter since the documentation is embedded into the source files).

And please make sure that all arrangements between Acunia and the FSF
are made clear and public. The last deal that was done with respect to
the AWT code (with Transvirtual) was never communicated clearly and that
produced some tensions. (I am perfectly happy to let RMS try to get a
deal that is in the best interest of all free software users as long as
it is clear in the end what has been decided.)

Thanks,

Mark




From mark@klomp.org Thu Oct 31 07:31:02 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187ETW-0000qv-00
	for classpath@gnu.org; Thu, 31 Oct 2002 07:31:02 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187ETT-0000pQ-00
	for classpath@gnu.org; Thu, 31 Oct 2002 07:31:01 -0500
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187ETS-0000pJ-00
	for classpath@gnu.org; Thu, 31 Oct 2002 07:30:58 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=localhost.localdomain ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 187ESt-00032g-00; Thu, 31 Oct 2002 13:30:23 +0100
Subject: Re: FYI: java.util.logging
From: Mark Wielaard <mark@klomp.org>
To: Sascha Brawer <brawer@acm.org>
Cc: GNU Classpath <classpath@gnu.org>
In-Reply-To: <20021030212350.29995@smtp.mail.ch.easynet.net>
References: <20021030212350.29995@smtp.mail.ch.easynet.net>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 31 Oct 2002 13:30:55 +0100
Message-Id: <1036067455.8271.142.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Wed, 2002-10-30 at 22:23, Sascha Brawer wrote:
> just for your information: I've checked in a bunch of bug fixes to the
> java.util.logging package. See the ChangeLog entries for details.
> 
> I hope the ChangeLog is not too detailed, but for maintaining the code,
> it might turn out to be useful to have that documentation available.

Your ChangeLog entries are fine. They will be a great help if some bug
is ever found or introduced or when someone tries to figure out what
change could have changed some behaviour. Thanks.

In the past you said that you thought that java.util.logging is still
alpha quality code which is one of the reasons it is not yet included
into libgcj. How do you feel about the code quality now?

BTW. Do you know why your commits do not appear on the commit-classpath
mailinglist? http://mail.gnu.org/pipermail/commit-classpath/

Cheers,

Mark




From anwalt_pop@aicas.com Thu Oct 31 08:38:40 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187FWy-0003mn-00
	for classpath@gnu.org; Thu, 31 Oct 2002 08:38:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187FWS-0003If-00
	for classpath@gnu.org; Thu, 31 Oct 2002 08:38:39 -0500
Received: from moutng.kundenserver.de ([212.227.126.187])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187FTY-0002HF-00; Thu, 31 Oct 2002 08:35:08 -0500
Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 187FTS-0005DD-00; Thu, 31 Oct 2002 14:35:02 +0100
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 187FTS-0003Y8-00; Thu, 31 Oct 2002 14:35:02 +0100
Content-Type: text/plain;
  charset="iso-8859-15"
From: Andy Walter <anwalt_pop@aicas.com>
To: Mark Wielaard <mark@klomp.org>,
 Brian Jones <cbj@gnu.org>
Subject: Re: I wish to help
Date: Thu, 31 Oct 2002 15:32:01 +0200
X-Mailer: KMail [version 1.4]
Cc: Jeffrey Morgan <Jeffrey.Morgan@bristolwest.com>,
 "'classpath@gnu.org'" <classpath@gnu.org>
References: <5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com> <m3ela8srk1.fsf@lyta.haphazard.org> <1036062928.7364.115.camel@elsschot>
In-Reply-To: <1036062928.7364.115.camel@elsschot>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200210311432.01766.anwalt_pop@aicas.com>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Thursday 31 October 2002 12:15, Mark Wielaard wrote:
> Has someone actually tried Rudolph with GNU Classpath?

Yes, it is running quite well here. But we replaced many native methods (=
all=20
but 5) by Java code. Since Rudolph uses a proprietary interface, this=20
replacement might be interesting for classpath. On the downside, our=20
implementation diverged from Rudolph.


> Also take into account that Wonka contains only the java.awt,
> java.awt.event and java.awt.image packages. We have that and
> java.awt.color, java.awt.datatransfer, java.awt.dnd, java.awt.dnd.peer,
> java.awt.font, java.awt.geom, java.awt.im, java.awt.im.spi,
> java.awt.image.renderable, java.awt.peer and java.awt.print. The
> important advantage that Rudolph has is of course that the code that
> they have actually works!

Not only that but it also doesn't depend on GTK. I think it would be grea=
t to=20
separate the top level graphics stuff from the low level peer classes by =
a=20
common, well-defined interface. That way had three sets of peer classes=20
(GTK-based, acunia framebuffer, jni framebuffer), but only one common set=
 of=20
top level classes, which are probably much more (I have to admit that=20
personally, I don't have to do much with graphics).

I expect that the sooner we agree on such a common layer, the fewer redun=
dant=20
work there is on the top level.


> And please make sure that all arrangements between Acunia and the FSF
> are made clear and public. The last deal that was done with respect to
> the AWT code (with Transvirtual) was never communicated clearly and tha=
t
> produced some tensions. (I am perfectly happy to let RMS try to get a
> deal that is in the best interest of all free software users as long as
> it is clear in the end what has been decided.)

RMS for sure is the right person to do this. I had expected all agreement=
s of=20
the FSF to be made public and am surprised to read this wasn't the case w=
ith=20
Transvirtual.


Cheers,

=09Andy.

--=20
aicas GmbH * Hoepfner Burg                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From cbj@gnu.org Thu Oct 31 10:44:33 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187HUm-0003Oy-00
	for classpath@gnu.org; Thu, 31 Oct 2002 10:44:32 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187HUG-0002aa-00
	for classpath@gnu.org; Thu, 31 Oct 2002 10:44:31 -0500
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187HUG-0002aU-00
	for classpath@gnu.org; Thu, 31 Oct 2002 10:44:00 -0500
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9VFhout010168;
	Thu, 31 Oct 2002 10:43:55 -0500 (EST)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Thu, 31 Oct 2002 10:43:31 -0500
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id g9VFiaA9029551;
	Thu, 31 Oct 2002 10:44:36 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id g9VFiamp029547;
	Thu, 31 Oct 2002 10:44:36 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: Sascha Brawer <brawer@acm.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: FYI: java.util.logging
References: <20021030212350.29995@smtp.mail.ch.easynet.net>
	<1036067455.8271.142.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 31 Oct 2002 10:44:36 -0500
In-Reply-To: <1036067455.8271.142.camel@elsschot>
Message-ID: <m3u1j2a9zv.fsf@lyta.haphazard.org>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> BTW. Do you know why your commits do not appear on the commit-classpath
> mailinglist? http://mail.gnu.org/pipermail/commit-classpath/

I'm trying to figure this out too.  Doesn't appear to be a setting
issue on the list itself.  

Brian
-- 
Brian Jones <cbj@gnu.org>



From tromey@redhat.com Thu Oct 31 12:18:52 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187Iy4-0004de-00
	for classpath@gnu.org; Thu, 31 Oct 2002 12:18:52 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187IxY-0004NS-00
	for classpath@gnu.org; Thu, 31 Oct 2002 12:18:51 -0500
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187IxX-0004N0-00; Thu, 31 Oct 2002 12:18:19 -0500
Received: from fleche.redhat.com (tq0096.peakpeak.com [207.174.177.96])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id KAA28468;
	Thu, 31 Oct 2002 10:18:14 -0700
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 8C2A94F840B; Thu, 31 Oct 2002 11:11:50 -0700 (MST)
To: Brian Jones <cbj@gnu.org>
Cc: Mark Wielaard <mark@klomp.org>, Sascha Brawer <brawer@acm.org>,
        GNU Classpath <classpath@gnu.org>
Subject: Re: FYI: java.util.logging
References: <20021030212350.29995@smtp.mail.ch.easynet.net>
	<1036067455.8271.142.camel@elsschot>
	<m3u1j2a9zv.fsf@lyta.haphazard.org>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution: Tom
X-Zippy: ...Get me a GIN and TONIC!!...make it HAIR TONIC!!
Date: 31 Oct 2002 11:11:49 -0700
In-Reply-To: <m3u1j2a9zv.fsf@lyta.haphazard.org>
Message-ID: <87smym32ca.fsf@fleche.redhat.com>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Brian" == Brian Jones <cbj@gnu.org> writes:

>> BTW. Do you know why your commits do not appear on the commit-classpath
>> mailinglist? http://mail.gnu.org/pipermail/commit-classpath/

Brian> I'm trying to figure this out too.  Doesn't appear to be a setting
Brian> issue on the list itself.  

I've seen this happen in cases where the regexps in CVSROOT fail to
match.  Sascha, could you `cat CVS/R*' from one of your classpath
directories?  Maybe that will have some useful information.

Tom



From mark@klomp.org Thu Oct 31 13:34:28 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187K9E-00081C-00
	for classpath@gnu.org; Thu, 31 Oct 2002 13:34:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187K8i-0007uP-00
	for classpath@gnu.org; Thu, 31 Oct 2002 13:34:27 -0500
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187K8h-0007ta-00
	for classpath@gnu.org; Thu, 31 Oct 2002 13:33:55 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=localhost.localdomain ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 187K88-0003cs-00
	for <classpath@gnu.org>; Thu, 31 Oct 2002 19:33:20 +0100
Subject: RMI update
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 31 Oct 2002 19:33:52 +0100
Message-Id: <1036089233.8271.179.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

The Orp RMI patches have been merged. I added copyright notices and made
the new files use the GNU code style. But most documentation is still
missing. I tried to create meaningful ChangeLog entries, but I don't
pretend to understand everything of it.

I have not tried it. It compiles. If it breaks anybodies setup I will be
happy to revert the patch. But I will be unable to fix it most likely.
Any volunteers for testing this?

I also had to tweak some imports a bit and add some stub classes since
we don't have the org.omg classes yet (look for XXX in the code). Brian,
you where in discussion about those classes. What is the status?


2002-10-31  Mark Wielaard <mark@klomp.org>:

  Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
  * configure.in (AC_OUTPUT): Add javax/rmi/Makefile,
  gnu/javax/rmi/Makefile, javax/rmi/CORBA/Makefile and
  gnu/javax/rmi/CORBA/Makefile.
  * javax/.cvsignore: New File.
  * javax/Makefile.am (SUBDIRS): Add rmi.
  * javax/rmi/.cvsignore: New File.
  * javax/rmi/Makefile.am: New file.
  * javax/rmi/CORBA/.cvsignore: New file.
  * javax/rmi/CORBA/Makefile.am: New file.
  * gnu/Makefile.am (SUBDIRS): Add javax.
  * gnu/javax/.cvsignore: New file.
  * gnu/javax/Makefile.am: New file.
  * gnu/javax/rmi/.cvsignore: New file.
  * gnu/javax/rmi/Makefile.am: New file.
  * gnu/javax/rmi/CORBA/.cvsignore: New file.
  * gnu/javax/rmi/CORBA/Makefile.am: New file.

  * java/rmi/MarshalledObject.java (equals): Check hashcode first.

  * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
  annotation.
  (loadClass): Take String as codebases.
  (getClassAnnotation): Use MyClassLoader annotations.
  * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
  call exportObject(this).

  * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
  (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
  (setAnnotation): Don't set locBytesStream and locStream.
  (replaceObject): Removed.
  (flush): Don't test locStream.
  (getLocButes): LikeWise.
  * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
  (leaseCache): New field.
  (dirty): Use leaseCache.
  (LeaseRecord): New inner class.
  * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
  explicitly call exportObject().
  * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
  false to communicate with Sun JDK130.
  * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
  * gnu/java/rmi/server/RMIObjectInputStream.java
  (UnicastConnectionManager): Removed field.
  * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
  Use UnicastServer.getExportedRef().
  * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
  (expireTime): Likewise.
  (CONNECTION_TIMEOUT): Likewise.
  (disconnect): Call sock.close().
  (isExpired): New method.
  (resetTime): Likewise.
  (run): Use do while loop and catch Exception for discardConnection().
  * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
  * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
  * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
  * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
  (exportObject): Use refcache.
  (unexportObject): Likewise.
  (getExportedRef): New method.
  * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
  constructor.
  (exportObject): Save manager.serverobj.
  (getStub): New method.

  * javax/rmi/PortableRemoteObject.java: New file.
  * gnu/javax/rmi/PortableServer.java: Likewise.

  * javax/rmi/CORBA/ClassDesc.java: New file.
  * javax/rmi/CORBA/PortableRemoteObjectDelegate.java: Likewise.
  * javax/rmi/CORBA/Stub.java: Likewise.
  * javax/rmi/CORBA/StubDelegate.java: Likewise.
  * javax/rmi/CORBA/Tie.java: Likewise.
  * javax/rmi/CORBA/Util.java: Likewise.
  * javax/rmi/CORBA/UtilDelegate.java: Likewise.
  * javax/rmi/CORBA/ValueHandler.java: Likewise.
  * gnu/javax/rmi/CORBA/DelegateFactory.java: Likewise.
  * gnu/javax/rmi/CORBA/GetDelegateInstanceException.java: Likewise.
  * gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java: Likewise.
  * gnu/javax/rmi/CORBA/StubDelegateImpl.java: Likewise.
  * gnu/javax/rmi/CORBA/UtilDelegateImpl.java: Likewise.
  * gnu/javax/rmi/CORBA/ValueHandlerImpl.java: Likewise.

  * javax/rmi/BAD_OPERATION.java: Stub class.
  * javax/rmi/ORB.java: Likewise
  * javax/rmi/CORBA/ObjectImpl.java: Likewise
  * javax/rmi/CORBA/SystemException.java: Likewise.

Cheers,

Mark






From tromey@redhat.com Thu Oct 31 13:43:10 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187KHe-0001YZ-00
	for classpath@gnu.org; Thu, 31 Oct 2002 13:43:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187KH5-0001Ut-00
	for classpath@gnu.org; Thu, 31 Oct 2002 13:43:07 -0500
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187KH5-0001U1-00; Thu, 31 Oct 2002 13:42:35 -0500
Received: from fleche.redhat.com (tq0096.peakpeak.com [207.174.177.96])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id LAA19046;
	Thu, 31 Oct 2002 11:42:27 -0700
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 7366C4F840B; Thu, 31 Oct 2002 12:36:09 -0700 (MST)
To: Andy Walter <anwalt_pop@aicas.com>
Cc: Mark Wielaard <mark@klomp.org>, Brian Jones <cbj@gnu.org>,
        Jeffrey Morgan <Jeffrey.Morgan@bristolwest.com>,
        "'classpath@gnu.org'" <classpath@gnu.org>
Subject: Re: I wish to help
References: <5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com>
	<m3ela8srk1.fsf@lyta.haphazard.org>
	<1036062928.7364.115.camel@elsschot>
	<200210311432.01766.anwalt_pop@aicas.com>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution: Tom
X-Zippy: ..I must be a VETERINARIAN..
Date: 31 Oct 2002 12:36:09 -0700
In-Reply-To: <200210311432.01766.anwalt_pop@aicas.com>
Message-ID: <87n0ou1jva.fsf@fleche.redhat.com>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Andy" == Andy Walter <anwalt_pop@aicas.com> writes:

Andy> Not only that but it also doesn't depend on GTK. I think it
Andy> would be great to separate the top level graphics stuff from the
Andy> low level peer classes by a common, well-defined interface.

Andy> I expect that the sooner we agree on such a common layer, the
Andy> fewer redundant work there is on the top level.

Does this need anything more than the peer interfaces already in
java.awt.peer?  Those aren't really well-defined, but we can define
them as need be.

The approach I've been taking on those occasions when I do AWT hacking
is to simply assume that we won't try to be compatible with Sun's AWT
peers.  So I just change the peer code to suit the needs I perceive.

Tom



From brawer@acm.org Thu Oct 31 15:49:42 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187MG6-0001nk-00
	for classpath@gnu.org; Thu, 31 Oct 2002 15:49:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187MG3-0001n0-00
	for classpath@gnu.org; Thu, 31 Oct 2002 15:49:41 -0500
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187MG1-0001m7-00; Thu, 31 Oct 2002 15:49:37 -0500
Received: from [192.168.1.33] (196.145.dyn-adsl.customer.ch.easynet.net [217.8.196.145])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id 540C264A24; Thu, 31 Oct 2002 21:49:34 +0100 (CET)
From: Sascha Brawer <brawer@acm.org>
To: Tom Tromey <tromey@redhat.com>, Brian Jones <cbj@gnu.org>
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: commit-classpath [was: FYI: java.util.logging]
Date: Thu, 31 Oct 2002 21:49:33 +0100
Message-Id: <20021031204933.9530@smtp.mail.ch.easynet.net>
In-Reply-To: <87smym32ca.fsf@fleche.redhat.com>
References: <87smym32ca.fsf@fleche.redhat.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
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

> BTW. Do you know why your commits do not appear on the commit-classpath
> mailinglist? http://mail.gnu.org/pipermail/commit-classpath/

I'm sorry, but I have no idea about this.

Brian> I'm trying to figure this out too.  Doesn't appear to be a setting
Brian> issue on the list itself.  

Tom Tromey <tromey@redhat.com> wrote on Thu, 31 Oct 2002 11:11:49 -0700:

>I've seen this happen in cases where the regexps in CVSROOT fail to
>match.  Sascha, could you `cat CVS/R*' from one of your classpath
>directories?  Maybe that will have some useful information.

% cat java/util/logging/CVS/R*
/cvsroot/classpath//classpath/java/util/logging
brawer@subversions.gnu.org:/cvsroot/classpath

I hope this helps...

-- Sascha





From tromey@redhat.com Thu Oct 31 13:40:48 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187KFL-0001C2-00
	for classpath@gnu.org; Thu, 31 Oct 2002 13:40:47 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187KFA-00019n-00
	for classpath@gnu.org; Thu, 31 Oct 2002 13:40:46 -0500
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187KF9-00019c-00; Thu, 31 Oct 2002 13:40:35 -0500
Received: from fleche.redhat.com (tq0096.peakpeak.com [207.174.177.96])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id LAA18531;
	Thu, 31 Oct 2002 11:40:29 -0700
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 7F8BA4F840B; Thu, 31 Oct 2002 12:34:11 -0700 (MST)
To: Mark Wielaard <mark@klomp.org>
Cc: Brian Jones <cbj@gnu.org>, Jeffrey Morgan <Jeffrey.Morgan@bristolwest.com>,
        "'classpath@gnu.org'" <classpath@gnu.org>
Subject: Re: I wish to help
References: <5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com>
	<1035928809.16261.89.camel@elsschot>
	<m3ela8srk1.fsf@lyta.haphazard.org>
	<1036062928.7364.115.camel@elsschot>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution: Tom
X-Zippy: Dehydrated EGGS are STREWN across ROULETTE TABLES..
Date: 31 Oct 2002 12:34:11 -0700
In-Reply-To: <1036062928.7364.115.camel@elsschot>
Message-ID: <87r8e61jyk.fsf@fleche.redhat.com>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> Also take into account that Wonka contains only the java.awt, 
Mark> java.awt.event and java.awt.image packages. We have that and
Mark> java.awt.color, java.awt.datatransfer, java.awt.dnd, java.awt.dnd.peer,
Mark> java.awt.font, java.awt.geom, java.awt.im, java.awt.im.spi,
Mark> java.awt.image.renderable, java.awt.peer and java.awt.print.

I think as with any merge, something like this must be done
class-by-class with careful attention paid to preserving the benefits
of both implementations.

Also, I think it is very important that native widgets be used in some
situations.  For instance, it's hard to picture running a native Linux
AWT on anything other than Gtk or Qt.  Writing a new toolkit is really
out of the question.

Tom



From brawer@acm.org Thu Oct 31 16:08:34 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187MYM-00068K-00
	for classpath@gnu.org; Thu, 31 Oct 2002 16:08:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187MYK-00067F-00
	for classpath@gnu.org; Thu, 31 Oct 2002 16:08:33 -0500
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187MYJ-00066q-00
	for classpath@gnu.org; Thu, 31 Oct 2002 16:08:31 -0500
Received: from [192.168.1.33] (196.145.dyn-adsl.customer.ch.easynet.net [217.8.196.145])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP id D107064A21
	for <classpath@gnu.org>; Thu, 31 Oct 2002 22:08:29 +0100 (CET)
From: Sascha Brawer <brawer@acm.org>
To: GNU Classpath <classpath@gnu.org>
Subject: Re: FYI: java.util.logging
Date: Thu, 31 Oct 2002 22:08:28 +0100
Message-Id: <20021031210829.17952@smtp.mail.ch.easynet.net>
In-Reply-To: <1036067455.8271.142.camel@elsschot>
References: <1036067455.8271.142.camel@elsschot>
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
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> wrote on Thu, 31 Oct 2002 13:30:55 +0100:

>In the past you said that you thought that java.util.logging is still
>alpha quality code which is one of the reasons it is not yet included
>into libgcj. How do you feel about the code quality now?

The package now should be quite usable, IMHO. It behaves very similar to
the Sun implementation, with some documented exceptions (for example, the
Classpath implementation escapes non-ASCII characters in XML log files,
while Sun J2SE 1.4 apparently does not, which can cause XML files to be
ill-formed).

Remaining problem areas:

1. serialization: should be compatible with Sun, but I haven't verified
this yet
2. localization: Classpath currently does not emit localized log records
3. Javadoc is still incomplete
4. java.util.logging.FileHandler does not switch over to a new log file
   when the maximum size is reached

I'll fix these soon. Apart from these, I think the code should now be
ready for general use.

-- Sascha





From mark@klomp.org Thu Oct 31 16:45:40 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187N8F-000784-00
	for classpath@gnu.org; Thu, 31 Oct 2002 16:45:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187N8B-00077i-00
	for classpath@gnu.org; Thu, 31 Oct 2002 16:45:37 -0500
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187N87-00076f-00; Thu, 31 Oct 2002 16:45:31 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=localhost.localdomain ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 187N7S-0003w0-00; Thu, 31 Oct 2002 22:44:50 +0100
Subject: Re: I wish to help
From: Mark Wielaard <mark@klomp.org>
To: Andy Walter <anwalt_pop@aicas.com>
Cc: Brian Jones <cbj@gnu.org>, Jeffrey Morgan
	 <Jeffrey.Morgan@bristolwest.com>, "'classpath@gnu.org'" <classpath@gnu.org>
In-Reply-To: <200210311432.01766.anwalt_pop@aicas.com>
References: 
	<5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com>
	<m3ela8srk1.fsf@lyta.haphazard.org> <1036062928.7364.115.camel@elsschot> 
	<200210311432.01766.anwalt_pop@aicas.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 31 Oct 2002 22:45:22 +0100
Message-Id: <1036100723.21161.205.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

On Thu, 2002-10-31 at 14:32, Andy Walter wrote:
> On Thursday 31 October 2002 12:15, Mark Wielaard wrote:
> > Has someone actually tried Rudolph with GNU Classpath?
> 
> Yes, it is running quite well here. But we replaced many native methods (all 
> but 5) by Java code. Since Rudolph uses a proprietary interface, this 
> replacement might be interesting for classpath. On the downside, our 
> implementation diverged from Rudolph.

Nice. Do you use any of the non-rudolph java.awt.* packages/classes?
We will probably have to merge a lot between the GNU Classpath
implementations and the Rudolph implementations anyhow when we decide to
import it. So that might be the ideal time to work away the diverged
classes.

> > Also take into account that Wonka contains only the java.awt,
> > java.awt.event and java.awt.image packages. We have that and
> > java.awt.color, java.awt.datatransfer, java.awt.dnd, java.awt.dnd.peer,
> > java.awt.font, java.awt.geom, java.awt.im, java.awt.im.spi,
> > java.awt.image.renderable, java.awt.peer and java.awt.print. The
> > important advantage that Rudolph has is of course that the code that
> > they have actually works!
> 
> Not only that but it also doesn't depend on GTK.

I don't know if I would count that as an important advantage :)
Having AWT classes based on GTK peers seems like a very good idea for
any GNU/Linux based system since it will give a more common look when
used on the desktop.

> I think it would be great to 
> separate the top level graphics stuff from the low level peer classes by a 
> common, well-defined interface. That way had three sets of peer classes 
> (GTK-based, acunia framebuffer, jni framebuffer), but only one common set of 
> top level classes, which are probably much more (I have to admit that 
> personally, I don't have to do much with graphics).
> 
> I expect that the sooner we agree on such a common layer, the fewer redundant 
> work there is on the top level.

Yes, that would be a great plan. I am glad that Jeffrey stepped in just
at this time so that we now have someone with GTK+ experience that help
define the correct interface. What do you think about the current
java.awt.peer classes that we have. Are they general/flexible enough?

> > And please make sure that all arrangements between Acunia and the FSF
> > are made clear and public. The last deal that was done with respect to
> > the AWT code (with Transvirtual) was never communicated clearly and that
> > produced some tensions. (I am perfectly happy to let RMS try to get a
> > deal that is in the best interest of all free software users as long as
> > it is clear in the end what has been decided.)
> 
> RMS for sure is the right person to do this. I had expected all agreements of 
> the FSF to be made public and am surprised to read this wasn't the case with 
> Transvirtual.

It was actually meant to be public knowledge. But at the time not
everybody was informed clearly of why and what decision was made. I
don't think that was very deliberate. Although the fact that not
everybody agreed with the decision was probably part of the reason that
it was not clearly communicated. (Read the archives if you are
interested in the details. At the time it felt important, but it is not
really relevant anymore. And I changed my opinion a bit since that
time.)

Cheers,

Mark




From mark@klomp.org Thu Oct 31 16:59:02 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187NLB-0001W0-00
	for classpath@gnu.org; Thu, 31 Oct 2002 16:59:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187NKc-0001O3-00
	for classpath@gnu.org; Thu, 31 Oct 2002 16:58:58 -0500
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187NK6-0001GQ-00; Thu, 31 Oct 2002 16:57:54 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=localhost.localdomain ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 187NJT-0003wQ-00; Thu, 31 Oct 2002 22:57:15 +0100
Subject: Re: FYI: java.util.logging
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
Cc: Sascha Brawer <brawer@acm.org>, GNU Classpath <classpath@gnu.org>
In-Reply-To: <m3u1j2a9zv.fsf@lyta.haphazard.org>
References: <20021030212350.29995@smtp.mail.ch.easynet.net>
	<1036067455.8271.142.camel@elsschot>  <m3u1j2a9zv.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 31 Oct 2002 22:57:48 +0100
Message-Id: <1036101468.4259.4.camel@elsschot>
Mime-Version: 1.0
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

On Thu, 2002-10-31 at 16:44, Brian Jones wrote:
> Mark Wielaard <mark@klomp.org> writes:
> 
> > BTW. Do you know why your commits do not appear on the commit-classpath
> > mailinglist? http://mail.gnu.org/pipermail/commit-classpath/
> 
> I'm trying to figure this out too.  Doesn't appear to be a setting
> issue on the list itself.  

Wasn't the last time this happened something wrong with the accounts on
the CVS server? People with or without an actual (cvs) account on the
machine didn't show up on the mailing list properly. But maybe that had
to do with our move to Savannah at the time.

Cheers,

Mark




From tromey@redhat.com Thu Oct 31 17:38:06 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187Nwz-0004S1-00
	for classpath@gnu.org; Thu, 31 Oct 2002 17:38:05 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187Nrf-00038m-00
	for classpath@gnu.org; Thu, 31 Oct 2002 17:32:38 -0500
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187Nre-00037d-00; Thu, 31 Oct 2002 17:32:34 -0500
Received: from fleche.redhat.com (tq0096.peakpeak.com [207.174.177.96])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id PAA11077;
	Thu, 31 Oct 2002 15:32:28 -0700
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 3BF534F840B; Thu, 31 Oct 2002 16:26:10 -0700 (MST)
To: Sascha Brawer <brawer@acm.org>
Cc: Brian Jones <cbj@gnu.org>, Mark Wielaard <mark@klomp.org>,
        GNU Classpath <classpath@gnu.org>
Subject: Re: commit-classpath [was: FYI: java.util.logging]
References: <87smym32ca.fsf@fleche.redhat.com>
	<20021031204933.9530@smtp.mail.ch.easynet.net>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution: Tom
X-Zippy: I'm changing the CHANNEL..  But all I get is commercials
 for ``RONCO MIRACLE BAMBOO STEAMERS''!
Date: 31 Oct 2002 16:26:10 -0700
In-Reply-To: <20021031204933.9530@smtp.mail.ch.easynet.net>
Message-ID: <87u1j2xka5.fsf@fleche.redhat.com>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Sascha" == Sascha Brawer <brawer@acm.org> writes:

Sascha> % cat java/util/logging/CVS/R*
Sascha> /cvsroot/classpath//classpath/java/util/logging

It is possible the `//' in the above causes the problem.
The Classpath CVSROOT compares against the regexp `^classpath'.
If you change the `//' to `/' in all the CVS/Repository files, you
could try a dummy commit (cvs commit -f) of some file to see that
fixes the problem.

Tom



From cbj@gnu.org Thu Oct 31 19:36:48 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187Pns-00073Q-00
	for classpath@gnu.org; Thu, 31 Oct 2002 19:36:48 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187Pnm-00072C-00
	for classpath@gnu.org; Thu, 31 Oct 2002 19:36:45 -0500
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187Pnk-0006xC-00
	for classpath@gnu.org; Thu, 31 Oct 2002 19:36:41 -0500
Received: from mail4.nc.rr.com (fe4 [24.93.67.51])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id gA10aIiZ003849;
	Thu, 31 Oct 2002 19:36:18 -0500 (EST)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail4.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Thu, 31 Oct 2002 19:36:49 -0500
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id gA10bJA9030546;
	Thu, 31 Oct 2002 19:37:20 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id gA10bJ5u030542;
	Thu, 31 Oct 2002 19:37:19 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org
Subject: Re: RMI update
References: <1036089233.8271.179.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 31 Oct 2002 19:37:19 -0500
In-Reply-To: <1036089233.8271.179.camel@elsschot>
Message-ID: <m3y98eqg5c.fsf@lyta.haphazard.org>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> I also had to tweak some imports a bit and add some stub classes since
> we don't have the org.omg classes yet (look for XXX in the code). Brian,
> you where in discussion about those classes. What is the status?

I sent email off into a blackhole at OMG, apparently I sent email to
the wrong person.  I'll take a look again and try to find someone
there that will respond.

Brian
-- 
Brian Jones <cbj@gnu.org>



From cbj@gnu.org Thu Oct 31 20:07:36 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187QHg-0000dX-00
	for classpath@gnu.org; Thu, 31 Oct 2002 20:07:36 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187QHd-0000cv-00
	for classpath@gnu.org; Thu, 31 Oct 2002 20:07:35 -0500
Received: from ncsmtp02.ogw.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187QHc-0000ch-00
	for classpath@gnu.org; Thu, 31 Oct 2002 20:07:33 -0500
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])
	by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id gA117Pup007261;
	Thu, 31 Oct 2002 20:07:25 -0500 (EST)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Thu, 31 Oct 2002 20:07:07 -0500
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id gA118DA9030595;
	Thu, 31 Oct 2002 20:08:13 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id gA118DoE030591;
	Thu, 31 Oct 2002 20:08:13 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: Jeffrey Morgan <Jeffrey.Morgan@bristolwest.com>,
   "'classpath@gnu.org'" <classpath@gnu.org>
Subject: Re: I wish to help
References: <5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com>
	<1035928809.16261.89.camel@elsschot>
	<m3ela8srk1.fsf@lyta.haphazard.org>
	<1036062928.7364.115.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 31 Oct 2002 20:08:13 -0500
In-Reply-To: <1036062928.7364.115.camel@elsschot>
Message-ID: <m3u1j2qepu.fsf@lyta.haphazard.org>
Lines: 66
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> On Wed, 2002-10-30 at 01:23, Brian Jones wrote:
> > Mark Wielaard <mark@klomp.org> writes:
> > 
> > > Chris Gray said that they wanted to relicense it if needed but I
> > > don't know if they are actually going to donate it to the FSF for
> > > inclusion in the GNU Classpath project. Note however that Rudolph is
> > > not a peer based implementation.
> > 
> > I'm trying to get something definite from Chris right now.  
> 
> Thanks for following up on that! It would be very nice to work more
> closely with the Wonka people.
> 
> > Opinions?
> 
> With respect to licensing/copyright it would be best IMHO to get
> everything assigned to the FSF as we have done with all other
> contributors.

That is not a possibility at this time.  You can imagine that they
would like fixes assigned back to them so they can use them under any
license they choose which also won't sit well with some of our
contributors.

> Also take into account that Wonka contains only the java.awt, 
> java.awt.event and java.awt.image packages. We have that and
> java.awt.color, java.awt.datatransfer, java.awt.dnd, java.awt.dnd.peer,
> java.awt.font, java.awt.geom, java.awt.im, java.awt.im.spi,
> java.awt.image.renderable, java.awt.peer and java.awt.print. The
> important advantage that Rudolph has is of course that the code that
> they have actually works! I haven't checked on class level btw.
> (More info can be found on http://wonka.acunia.com/javadoc-0.9.3/)
> 
> A small thing, but important to me, is the fact that we have much better
> documentation (apidoc) then the Wonka implementation. I know that RMS
> finds it important to have good documentation for GNU programs so you
> might want to bring up this point (certainly because it is a complicated
> matter since the documentation is embedded into the source files).

So I'm pretty much of the opinion that Classpath's AWT just needs a
little TLC from someone dedicated to it for a while to make it
useable.  Having JVMs without major threading issues will aid this
development.  This is why I would personally develop the peers against
Sun's VM, if I had the time to devote to it.

Acunia has almost officially made this offer, but because it would be
unlikely for me to get contributors to assign their copyright on
changes back to this corporation that may not be so benevolent in the
future (no guarantees) I'm inclined to believe we must continue
working on the current implementation.

It remains a possibility that if Acunia's current AWT is dual licensed
in the manner Chris described that parts of this work could be
integrated as an external library to provide optional functionality in
Classpath's AWT.  So inspection of their implementation would be
possible but no verbatim copying allowed into _our_ classes.  We could
create a separate directory to place their library with an appropriate
README indicating this is not part of Classpath and when we compile we
could link this library without trouble.  I hope this explains what is
meant by external library in reference to FSF projects.

Brian
-- 
Brian Jones <cbj@gnu.org>



From cbj@gnu.org Thu Oct 31 20:14:29 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 187QOL-0004JC-00
	for classpath@gnu.org; Thu, 31 Oct 2002 20:14:29 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 187QOG-0004D1-00
	for classpath@gnu.org; Thu, 31 Oct 2002 20:14:27 -0500
Received: from ncsmtp03.ogw.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 187QOF-0004C8-00
	for classpath@gnu.org; Thu, 31 Oct 2002 20:14:23 -0500
Received: from mail8.nc.rr.com (fe8 [24.93.67.55])
	by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id gA11E1iZ003573;
	Thu, 31 Oct 2002 20:14:01 -0500 (EST)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Thu, 31 Oct 2002 20:13:59 -0500
Received: from lyta.haphazard.org (localhost.localdomain [127.0.0.1])
	by lyta.haphazard.org (8.12.5/8.12.5) with ESMTP id gA11F3A9030612;
	Thu, 31 Oct 2002 20:15:03 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.12.5/8.12.5/Submit) id gA11F38O030608;
	Thu, 31 Oct 2002 20:15:03 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: tromey@redhat.com
Cc: Mark Wielaard <mark@klomp.org>,
   Jeffrey Morgan <Jeffrey.Morgan@bristolwest.com>,
   "'classpath@gnu.org'" <classpath@gnu.org>
Subject: Re: I wish to help
References: <5D753A0448365C448CE3D9097D767E8C03DFA38F@ohindex01.bristolwest.com>
	<1035928809.16261.89.camel@elsschot>
	<m3ela8srk1.fsf@lyta.haphazard.org>
	<1036062928.7364.115.camel@elsschot>
	<87r8e61jyk.fsf@fleche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 31 Oct 2002 20:15:03 -0500
In-Reply-To: <87r8e61jyk.fsf@fleche.redhat.com>
Message-ID: <m3pttqqeeg.fsf@lyta.haphazard.org>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Tom Tromey <tromey@redhat.com> writes:

> I think as with any merge, something like this must be done
> class-by-class with careful attention paid to preserving the benefits
> of both implementations.

A merge of the software remains impossible in this manner.  If there
are useful parts that might be treated as an external library then
this is the most likely route for this project; I'm mainly thinking of
things that are like our GTK peers, providing other functionality like
framebuffer support.

> Also, I think it is very important that native widgets be used in some
> situations.  For instance, it's hard to picture running a native Linux
> AWT on anything other than Gtk or Qt.  Writing a new toolkit is really
> out of the question.

Native peers are required.
-- 
Brian Jones <cbj@gnu.org>



