From MAILER-DAEMON Fri Oct 01 03:58:05 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDIIn-0007ON-3T
	for mharc-classpath@gnu.org; Fri, 01 Oct 2004 03:58:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDIIk-0007OC-8J
	for classpath@gnu.org; Fri, 01 Oct 2004 03:58:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDIIf-0007Nz-1s
	for classpath@gnu.org; Fri, 01 Oct 2004 03:57:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDIIe-0007Nw-PE
	for classpath@gnu.org; Fri, 01 Oct 2004 03:57:56 -0400
Received: from [84.128.213.51] (helo=jbox)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CDIBl-0007kg-8L
	for classpath@gnu.org; Fri, 01 Oct 2004 03:50:50 -0400
Received: from localhost ([127.0.0.1]) by jbox with esmtp (Exim 4.34)
	id 1CDIBG-00066D-2O; Fri, 01 Oct 2004 09:50:18 +0200
Message-ID: <415D0C37.1030606@kaffe.org>
Date: Fri, 01 Oct 2004 07:50:15 +0000
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.7.3) Gecko/20040924 Debian/1.7.3-2
X-Accept-Language: us, en
MIME-Version: 1.0
To: Stuart Ballard <sballard@netreach.com>
References: <m3ekkkljye.fsf@localhost.localdomain>	<415C502C.9080000@netreach.com>	<m33c0zk3a1.fsf@localhost.localdomain>
	<415C60C1.9070205@netreach.com>
In-Reply-To: <415C60C1.9070205@netreach.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: tromey@redhat.com, GNU Classpath Project <classpath@gnu.org>,
	kaffe@kaffe.org
Subject: Re: [kaffe] Re: japi note
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2004 07:58:03 -0000

Stuart Ballard wrote:

Thanks for the new version, Stuart! I'll make sure to update the kaffe file.

>> I've heard on irc that the only way to get eclipse 3 working is to use
>> the apache javax.xml stuff (xalan I think).  I'm already building that
>> as part of rhug, maybe I should run the comparison using that.
> 
> 
> Hmm. If the Classpath project officially recommends one source for 
> javax.xml, it seems like it would be misrepresenting the project if we 
> created a classpath.japi using something else. I'm not sure how official 
> the recommendation of JAXP is. Mark?

JAXP seems to be doing quite good in the XML part these days. There was 
some work by Chris & others to make it very good on the test suites, 
check out their mailing list archives for details.

>> Yeah.  Can Tritonus be built with free tools?  I haven't tried that
>> yet...
> 
> 
> Dalibor, Kaffe builds Tritonus entirely with free tools, right?

Yes.

>> Ideally jacorb or openorb would be included here too, but I'm pretty
>> sure those aren't yet buildable for various reasons.
> 
> 
> Yeah, I'd love to see that huge red org.omg section disappear :)

It didn't work for me when I tried buildig it, because of a missing 
CORBA file in Kaffe. See 
http://article.gmane.org/gmane.comp.corba.jacorb.devel/3039 for details. 
  I didn't investigate further, maybe it would work better with jikes vs 
having to modify the build files for kjc.

cheers,
dalibor topic



From MAILER-DAEMON Fri Oct 01 08:48:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDMpg-0001mz-2O
	for mharc-classpath@gnu.org; Fri, 01 Oct 2004 08:48:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDMpd-0001mD-5Q
	for classpath@gnu.org; Fri, 01 Oct 2004 08:48:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDMpc-0001lg-49
	for classpath@gnu.org; Fri, 01 Oct 2004 08:48:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDMpc-0001lW-1j
	for classpath@gnu.org; Fri, 01 Oct 2004 08:48:16 -0400
Received: from [24.25.9.101] (helo=ms-smtp-02-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CDMiz-0007WG-0V
	for classpath@gnu.org; Fri, 01 Oct 2004 08:41:25 -0400
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-02-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i91Cf04I021755; Fri, 1 Oct 2004 08:41:00 -0400 (EDT)
From: "C. Brian Jones" <cbj@gnu.org>
To: Stuart Ballard <sballard@netreach.com>
In-Reply-To: <415C2C91.8020608@netreach.com>
References: <m3ekkkljye.fsf@localhost.localdomain>
	<415BE53C.7010403@kaffe.org> <415C08C2.1030902@netreach.com>
	<200409301736.47695.konqueror@gmx.de> <415C2C91.8020608@netreach.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-fZSvMs1R8oW6OAAdgkz1"
Message-Id: <1096634459.4163.10.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Fri, 01 Oct 2004 08:41:00 -0400
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: tromey@redhat.com, classpath@gnu.org, Michael Koch <konqueror@gmx.de>
Subject: Re: japi note
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2004 12:48:17 -0000


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

On Thu, 2004-09-30 at 11:56, Stuart Ballard wrote:
> Michael Koch wrote:
> > Its possible again afaik. Another option would be to make it its own=20
> > CVS module in classpath or cp-tools.
>=20
> I won't object if this is the consensus of others, but my own preference=20
> is to keep japitools as a separate project. It isn't only useful for=20
> Classpath or classpath-using projects - it can be used to compare=20
> independent implementations of *any* API. For example, any of the=20
> "standard extensions" that Sun develops that aren't part of the core=20
> Java platform. The developers of various J2EE components might be=20
> interested too, for example.
>=20
> Since it does, indeed, seem like Savannah is accepting new registrations=20
> again, I've put in one for japitools.

Stuart, I've taken the serialization tests I once gave you to add to
japitools and added those to a module in Mauve called 'serialization'.=20
A new Mauve module seems like a good home for the japitools project to
me, but it's up to you... and Tom too.

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

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

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

iD8DBQBBXVBbcEcmdY33uzYRAsKxAJ0TbNyWTx1CPbXyI4T4LDmGM82vLACghEHa
dy+Z86Tk9oU3njStJI0R+iI=
=+XZf
-----END PGP SIGNATURE-----

--=-fZSvMs1R8oW6OAAdgkz1--




From MAILER-DAEMON Fri Oct 01 11:02:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDOv8-0001fL-Rr
	for mharc-classpath@gnu.org; Fri, 01 Oct 2004 11:02:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDOv6-0001eb-94
	for classpath@gnu.org; Fri, 01 Oct 2004 11:02:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDOv4-0001df-Hv
	for classpath@gnu.org; Fri, 01 Oct 2004 11:02:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDOv4-0001dM-E5
	for classpath@gnu.org; Fri, 01 Oct 2004 11:02:02 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CDOoa-0002ux-5Q
	for classpath@gnu.org; Fri, 01 Oct 2004 10:55:20 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Fri, 1 Oct 2004 10:58:52 -0400
Message-ID: <415D6FC9.3070206@netreach.com>
Date: Fri, 01 Oct 2004 10:55:05 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040912)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
X-Enigmail-Version: 0.85.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 01 Oct 2004 14:58:52.0363 (UTC)
	FILETIME=[2A5301B0:01C4A7C7]
Subject: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2004 15:02:05 -0000

It was only back in August that I commented on how amazing the level of 
coverage reported by japitools was these days. I listed the following holes:

- Swing
- CORBA
- Sound
- Imageio
- Security

None of these have been eliminated as such, and XML has been added to 
the list due to the dropping of the builtin JAXP, BUT:

Swing is no longer just "a big red hole with a few green bits filled 
in". Swing is now *entirely* green except for .plaf and .text. This is 
unbelievable considering the size of the task and the speed with which 
it's been achieved.

Security is in a similar situation only even more so - the only holes 
are auth.kerberos and auth.spi.

It seems to be established that Sound and XML are both just a matter of 
dropping in some third-party code. And CORBA too, except in that case we 
know some work needs to be done to make the third-party code compile 
outside of Sun's JDK.

In other words, the entire list of real holes boil down to:

- Bits of swing (plaf and text)
- Bits of security (kerberos and spi)
- Imageio
- Making some third-party CORBA code compile and filling in any holes

This is all that's necessary for *complete 1.4 API coverage at 80% or 
better for every single package*.

It doesn't seem like long ago that it seemed that even reaching 1.2 
compatibility was so far away that it was practically unachievable. To 
be this close to what, two days ago, was the latest JDK version, is 
absolutely incredible.

I know I'm not necessarily adding value to the list by posting a 
fanboyish message like this. But I figure that the hackers responsible 
for having climbed this huge hill deserve tremendous kudos and 
gratitude, and would probably appreciate being told that :)

Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Fri Oct 01 13:06:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDQrB-0000VW-11
	for mharc-classpath@gnu.org; Fri, 01 Oct 2004 13:06:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDQr8-0000VM-Os
	for classpath@gnu.org; Fri, 01 Oct 2004 13:06:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDQr8-0000V9-AE
	for classpath@gnu.org; Fri, 01 Oct 2004 13:06:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDQr8-0000V6-5W
	for classpath@gnu.org; Fri, 01 Oct 2004 13:06:06 -0400
Received: from [207.174.178.92] (helo=email2.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CDQkS-0005Ep-SR
	for classpath@gnu.org; Fri, 01 Oct 2004 12:59:13 -0400
Received: (qmail 30642 invoked by uid 513); 1 Oct 2004 17:09:04 -0000
Received: from 204.144.239.10 by email2 (envelope-from <tromey@redhat.com>,
	uid 504) with qmail-scanner-1.23 (clamscan: 0.75.1.  
	Clear:RC:1(204.144.239.10):. 
	Processed in 4.668766 secs); 01 Oct 2004 17:09:04 -0000
Received: from tf0010.peakpeak.com (HELO opsy.redhat.com) ([204.144.239.10])
	(envelope-sender <tromey@redhat.com>)
	by email2.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 1 Oct 2004 17:08:59 -0000
Received: by opsy.redhat.com (Postfix, from userid 500)
	id E0A352DC798; Fri,  1 Oct 2004 10:55:47 -0600 (MDT)
Sender: tromey@localhost.localdomain
To: Stuart Ballard <sballard@netreach.com>
References: <415D6FC9.3070206@netreach.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 01 Oct 2004 10:55:47 -0600
In-Reply-To: <415D6FC9.3070206@netreach.com>
Message-ID: <m37jqaidik.fsf@localhost.localdomain>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2004 17:06:06 -0000

>>>>> "Stuart" == Stuart Ballard <sballard@netreach.com> writes:

Stuart> It seems to be established that Sound and XML are both just a matter
Stuart> of dropping in some third-party code. And CORBA too, except in that
Stuart> case we know some work needs to be done to make the third-party code
Stuart> compile outside of Sun's JDK.

Yeah.  I just changed my nightly script to include Xalan and JacORB in
the results for libgcj.  I didn't include Tritonus since I didn't want
to figure out how to build it today, and there isn't a prebuilt .jar
including the javax.sound bits.

Stuart> - Imageio

Michael Koch has the library parts of this, just not checked in yet.
My understanding is that he doesn't have any providers.

Tom



From MAILER-DAEMON Fri Oct 01 15:19:10 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDSvu-00040p-8m
	for mharc-classpath@gnu.org; Fri, 01 Oct 2004 15:19:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDSvt-00040e-1k
	for classpath@gnu.org; Fri, 01 Oct 2004 15:19:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDSvs-00040F-6d
	for classpath@gnu.org; Fri, 01 Oct 2004 15:19:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDSvs-00040C-4J
	for classpath@gnu.org; Fri, 01 Oct 2004 15:19:08 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CDSoZ-0006zT-Iq
	for classpath@gnu.org; Fri, 01 Oct 2004 15:11:35 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Fri, 1 Oct 2004 15:15:09 -0400
Message-ID: <415DABDA.10708@netreach.com>
Date: Fri, 01 Oct 2004 15:11:22 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040912)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <415D6FC9.3070206@netreach.com>
	<m37jqaidik.fsf@localhost.localdomain>
In-Reply-To: <m37jqaidik.fsf@localhost.localdomain>
X-Enigmail-Version: 0.85.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 01 Oct 2004 19:15:10.0013 (UTC)
	FILETIME=[F81E2ED0:01C4A7EA]
Cc: classpath@gnu.org
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2004 19:19:09 -0000

Tom Tromey wrote:
> Yeah.  I just changed my nightly script to include Xalan and JacORB in
> the results for libgcj.  I didn't include Tritonus since I didn't want
> to figure out how to build it today, and there isn't a prebuilt .jar
> including the javax.sound bits.

Awesome :)

How did you manage to get JacORB to build?

> Michael Koch has the library parts of this, just not checked in yet.
> My understanding is that he doesn't have any providers.

Nice - lack of providers of course hurts the real-life usefulness, but 
doesn't hurt the japi scores in the slightest ;)

Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Fri Oct 01 16:59:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDUUc-0000R3-PG
	for mharc-classpath@gnu.org; Fri, 01 Oct 2004 16:59:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDUUb-0000QO-9b
	for classpath@gnu.org; Fri, 01 Oct 2004 16:59:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDUUa-0000QC-Pi
	for classpath@gnu.org; Fri, 01 Oct 2004 16:59:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDUUa-0000Q9-MH
	for classpath@gnu.org; Fri, 01 Oct 2004 16:59:04 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CDUNT-0004Vs-DV
	for classpath@gnu.org; Fri, 01 Oct 2004 16:51:43 -0400
Received: (qmail 10376 invoked by uid 65534); 1 Oct 2004 20:51:41 -0000
Received: from p213.54.235.84.tisdip.tiscali.de (EHLO [213.54.235.84])
	(213.54.235.84)
	by mail.gmx.net (mp007) with SMTP; 01 Oct 2004 22:51:41 +0200
X-Authenticated: #17532834
Message-ID: <415DC37E.6010705@gmx.net>
Date: Fri, 01 Oct 2004 22:52:14 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040930
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <415D6FC9.3070206@netreach.com>
	<m37jqaidik.fsf@localhost.localdomain>
In-Reply-To: <m37jqaidik.fsf@localhost.localdomain>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2004 20:59:05 -0000


>Stuart> - Imageio
>
>Michael Koch has the library parts of this, just not checked in yet.
>My understanding is that he doesn't have any providers.
>
>  
>
javax.imageio support would be great. I searched for Java libraries with 
friendly licenses and this one seemed to be very interesting:

JIU - The Java Imaging Utilities - 
http://jiu.sourceforge.net/status.html - GPL

AFAIK it is implemented in what Sun calls 'pure' Java. It may not be the 
fastest image codec library on earth but
I am sure the JNode guys will love it :D

Recently I wondered whether it would be possible to use the codecs of 
the GIMP from classpath. Is there anyone knowing the GIMP's source 
enough to tell me that?

cu
Robert



From MAILER-DAEMON Fri Oct 01 17:49:37 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDVHV-0004dY-Qe
	for mharc-classpath@gnu.org; Fri, 01 Oct 2004 17:49:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDVHU-0004dT-VC
	for classpath@gnu.org; Fri, 01 Oct 2004 17:49:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDVHU-0004dH-I9
	for classpath@gnu.org; Fri, 01 Oct 2004 17:49:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDVHU-0004dE-FV
	for classpath@gnu.org; Fri, 01 Oct 2004 17:49:36 -0400
Received: from [207.174.178.92] (helo=email2.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CDVAa-0003KS-QH
	for classpath@gnu.org; Fri, 01 Oct 2004 17:42:29 -0400
Received: (qmail 18254 invoked by uid 513); 1 Oct 2004 21:52:50 -0000
Received: from 204.144.239.10 by email2 (envelope-from <tromey@redhat.com>,
	uid 504) with qmail-scanner-1.23 (clamscan: 0.75.1.  
	Clear:RC:1(204.144.239.10):. 
	Processed in 1.232609 secs); 01 Oct 2004 21:52:50 -0000
Received: from tf0010.peakpeak.com (HELO opsy.redhat.com) ([204.144.239.10])
	(envelope-sender <tromey@redhat.com>)
	by email2.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 1 Oct 2004 21:52:48 -0000
Received: by opsy.redhat.com (Postfix, from userid 500)
	id D99442DC798; Fri,  1 Oct 2004 15:39:43 -0600 (MDT)
Sender: tromey@localhost.localdomain
To: Stuart Ballard <sballard@netreach.com>
References: <415D6FC9.3070206@netreach.com>
	<m37jqaidik.fsf@localhost.localdomain> <415DABDA.10708@netreach.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 01 Oct 2004 15:39:42 -0600
In-Reply-To: <415DABDA.10708@netreach.com>
Message-ID: <m3vfduf78h.fsf@localhost.localdomain>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2004 21:49:37 -0000

>>>>> "Stuart" == Stuart Ballard <sballard@netreach.com> writes:

Stuart> How did you manage to get JacORB to build?

I cheated and downloaded it prebuilt.

Stuart> Nice - lack of providers of course hurts the real-life
Stuart> usefulness, but doesn't hurt the japi scores in the slightest
Stuart> ;)

Perhaps we can wire in some already existing image readers once we've
got this.


BTW, it would be cool if japi mentioned how much each package
contributed to the total.  E.g., javax.security.auth.spi is red, but
it consists of a single interface, so looking at the colors gives a
false impression of where the holes really lie...

Tom



From MAILER-DAEMON Fri Oct 01 21:35:43 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDYoJ-00071W-9I
	for mharc-classpath@gnu.org; Fri, 01 Oct 2004 21:35:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDYoH-00071P-La
	for classpath@gnu.org; Fri, 01 Oct 2004 21:35:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDYoH-00071D-6e
	for classpath@gnu.org; Fri, 01 Oct 2004 21:35:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDYoH-00071A-3v
	for classpath@gnu.org; Fri, 01 Oct 2004 21:35:41 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CDYhi-00061M-2P
	for classpath@gnu.org; Fri, 01 Oct 2004 21:28:54 -0400
Received: (qmail 13157 invoked by uid 65534); 2 Oct 2004 01:28:53 -0000
Received: from p213.54.235.84.tisdip.tiscali.de (EHLO [213.54.235.84])
	(213.54.235.84)
	by mail.gmx.net (mp001) with SMTP; 02 Oct 2004 03:28:53 +0200
X-Authenticated: #17532834
Message-ID: <415E0476.4060004@gmx.net>
Date: Sat, 02 Oct 2004 03:29:26 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040930
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: java.beans XML examples
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Oct 2004 01:35:41 -0000

Hi there.
I am making good progress with the implementation of the XMLDecoder. 
Unfortunately first tests with some XML files I grabbed from online 
tutorials showed me that I have misunderstood the specification on 
certain parts.

Now I am asking you for XML files made by XMLEncoder for testing 
purposes. If you have made a GUI you may save it to disk and send me 
that file.
Handwritten stuff would be good too, especially if it contains corner 
cases or dirty tricks.

I want to use these files as a base for good mauve test cases (and 
simple functionality tests at first).

Thank you
Robert



From MAILER-DAEMON Sat Oct 02 08:41:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDjCP-0006vl-V6
	for mharc-classpath@gnu.org; Sat, 02 Oct 2004 08:41:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDjCN-0006vQ-8O
	for classpath@gnu.org; Sat, 02 Oct 2004 08:41:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDjCM-0006v6-OS
	for classpath@gnu.org; Sat, 02 Oct 2004 08:41:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDjCM-0006uw-GV
	for classpath@gnu.org; Sat, 02 Oct 2004 08:41:14 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CDj5N-0005ky-03
	for classpath@gnu.org; Sat, 02 Oct 2004 08:34:01 -0400
Received: (qmail 3346 invoked by uid 65534); 2 Oct 2004 12:33:59 -0000
Received: from p213.54.193.235.tisdip.tiscali.de (EHLO [213.54.193.235])
	(213.54.193.235)
	by mail.gmx.net (mp013) with SMTP; 02 Oct 2004 14:33:59 +0200
X-Authenticated: #17532834
Message-ID: <415EA05A.4000208@gmx.net>
Date: Sat, 02 Oct 2004 14:34:34 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040930
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Oct 2004 12:41:15 -0000

Hi.
I found the official specification papers for the java.bean.XMLDecoder 
which is part of JSR-57 andwant to download them but they are wrapped in 
a license
agreement. It does not look dangerous to me but I am cautious and wait 
until someone from this list says it is OK to accept it.

Here is the link showing the license agreement:
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=7848-persistence_javabeans-1.0-pfd-spec-oth-JSpec&SiteId=JCP&TransactionId=noreg

Btw: I got mail from Boston this morning :-)

cu
Robert





From MAILER-DAEMON Sat Oct 02 09:12:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDjgx-0005ZD-Gp
	for mharc-classpath@gnu.org; Sat, 02 Oct 2004 09:12:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDjgw-0005Z8-2L
	for classpath@gnu.org; Sat, 02 Oct 2004 09:12:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDjgv-0005Yw-Lf
	for classpath@gnu.org; Sat, 02 Oct 2004 09:12:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDjgv-0005Yt-Jy
	for classpath@gnu.org; Sat, 02 Oct 2004 09:12:49 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CDjaC-0000w6-Dq
	for classpath@gnu.org; Sat, 02 Oct 2004 09:05:53 -0400
Received: from ext-gw01.feelslikefriday.com ([217.195.237.146]
	helo=[192.168.0.19])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CDjZr-0006TI-00; Sat, 02 Oct 2004 15:05:31 +0200
From: Mark Wielaard <mark@klomp.org>
To: Robert Schuster <theBohemian@gmx.net>
In-Reply-To: <415EA05A.4000208@gmx.net>
References: <415EA05A.4000208@gmx.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-vkPCWH3MahIw8ic7LHOc"
Message-Id: <1096722348.1173.21.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 02 Oct 2004 15:05:48 +0200
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Oct 2004 13:12:50 -0000


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

Hi,

On Sat, 2004-10-02 at 14:34, Robert Schuster wrote:
> I found the official specification papers for the java.bean.XMLDecoder=20
> which is part of JSR-57 andwant to download them but they are wrapped in=20
> a license
> agreement. It does not look dangerous to me but I am cautious and wait=20
> until someone from this list says it is OK to accept it.

For GNU Classpath we only use publicly available information. Please do
not refer to proprietary information while working on GNU Classpath.

If this document is the only way to make a fully compatible
implementation for the XMLEncode and XMLDecoder then please let me know
and I run this agreement past FSF legal.

Best is to find a book in which this specification, or an explanation of
it, is published. If there is such a book I'll make sure you will get
it.

Cheers,

Mark

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

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

iD8DBQBBXqesxVhZCJWr9QwRAhU0AKCEZNLfzq8RyuhHt5P9d8STMMfiDQCfbga2
AIwawzBY8D84XLnVMRZqhWw=
=eofC
-----END PGP SIGNATURE-----

--=-vkPCWH3MahIw8ic7LHOc--




From MAILER-DAEMON Sat Oct 02 10:27:25 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDkr6-0005tY-Tk
	for mharc-classpath@gnu.org; Sat, 02 Oct 2004 10:27:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDkr5-0005tS-OO
	for classpath@gnu.org; Sat, 02 Oct 2004 10:27:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDkr5-0005tG-Bl
	for classpath@gnu.org; Sat, 02 Oct 2004 10:27:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDkr5-0005t1-5l
	for classpath@gnu.org; Sat, 02 Oct 2004 10:27:23 -0400
Received: from [24.24.2.56] (helo=ms-smtp-02.nyroc.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CDkkQ-0001GP-3G
	for classpath@gnu.org; Sat, 02 Oct 2004 10:20:30 -0400
Received: from [192.168.0.43] (alb-24-195-113-26.nycap.rr.com [24.195.113.26])
	by ms-smtp-02.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id
	i92EKQaX019274
	for <classpath@gnu.org>; Sat, 2 Oct 2004 10:20:27 -0400 (EDT)
From: James Damour <jdamour@nycap.rr.com>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-OLVfzHHrsTbuA2Ee7mYq"
Organization: SourceForge.net
Message-Id: <1096726969.30161.25.camel@hovel.lepus.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 02 Oct 2004 10:22:49 -0400
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: "James Damour \(Suvarov454\)" <suvarov454@users.sourceforge.net>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Oct 2004 14:27:23 -0000


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

On Thu, 2004-10-01 at 10:55, Stuart Ballard wrote:
> This is all that's necessary for *complete 1.4 API coverage at 80% or
> better for every single package*.
>=20
> It doesn't seem like long ago that it seemed that even reaching 1.2=20
> compatibility was so far away that it was practically unachievable. To
> be this close to what, two days ago, was the latest JDK version, is=20
> absolutely incredible.

For *my* purposes (i.e. getting MegaMek to run in a Free Java Runtime),
the most important news is the 98.44% compliance of GNU Classpath with
the Java v1.1 APIs.  The only thing that *I'm* missing is a bugfree set
of AWT Peer classes!  This is FANTASTIC news for me (especially because
Free Java hackers are now using MegaMek to debug the peers); by year's
end, I should be able to package it for Debian and achieve one of my
long-term goals for MegaMek.
--=20
James Damour (Suvarov454) <suvarov454@users.sourceforge.net>

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

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

iD8DBQBBXrm5JtJj6pH+EFQRAgPSAKC55IRCJ1zcqPq7X7mowbUVGSBpPQCcDpti
EqFe6yeVvdWu/V39v8z2QfQ=
=ukj2
-----END PGP SIGNATURE-----

--=-OLVfzHHrsTbuA2Ee7mYq--




From MAILER-DAEMON Sat Oct 02 12:05:55 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CDmOR-0005f1-04
	for mharc-classpath@gnu.org; Sat, 02 Oct 2004 12:05:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CDmOP-0005ek-4S
	for classpath@gnu.org; Sat, 02 Oct 2004 12:05:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CDmOO-0005eK-8U
	for classpath@gnu.org; Sat, 02 Oct 2004 12:05:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CDmOO-0005eH-7C
	for classpath@gnu.org; Sat, 02 Oct 2004 12:05:52 -0400
Received: from [130.237.208.17] (helo=mx.physto.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CDmHW-0004i5-JF
	for classpath@gnu.org; Sat, 02 Oct 2004 11:58:47 -0400
Received: from localhost (localhost [127.0.0.1])
	by mx.physto.se (Postfix) with ESMTP id 0041E304BE
	for <classpath@gnu.org>; Sat,  2 Oct 2004 17:58:43 +0200 (CEST)
Received: from mx.physto.se ([127.0.0.1])
	by localhost (syslx11.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 04078-10 for <classpath@gnu.org>;
	Sat,  2 Oct 2004 17:58:43 +0200 (CEST)
Received: from [130.242.128.121] (qcplx01.physto.se [130.242.128.121])
	by mx.physto.se (Postfix) with ESMTP id 754FC304BD
	for <classpath@gnu.org>; Sat,  2 Oct 2004 17:58:43 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: classpath@gnu.org
In-Reply-To: <20041001145615.3FF712F7CB@mx.physto.se>
References: <20041001145615.3FF712F7CB@mx.physto.se>
Content-Type: text/plain
Message-Id: <1096732698.27520.32.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Sat, 02 Oct 2004 17:58:19 +0200
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at physto.se
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Oct 2004 16:05:53 -0000

Robert Schuster wrote:
>javax.imageio support would be great. I searched for Java libraries
>with friendly licenses and this one seemed to be very interesting:

>JIU - The Java Imaging Utilities -
>http://jiu.sourceforge.net/status.html - GPL

Unfortunately, I don't think we can use GPL code, since Classpath's
license is GPL + exception, which is a more permissable license.
(I.e. you can go GPL+exception-->GPL but not in the other direction.)

But.. on the positive side, there are rumors that Michael Koch has
finished the imageio framework (but not the plugins).

One JPEG-encoder with a compatible license out there is the following:
http://cvs.sourceforge.net/viewcvs.py/jmol/Jmol/src/com/obrador/

>From obrador.com. Unfortunately it has subsequently been relicensed as
closed-source, but that's not a problem as long as we use the version
which was released under a free license.

This code, in turn is apparently based off the Independent JPEG group's
C code, which is the JPEG encoder 'everyone' uses. (libjpeg)

Still, the code could be better, and it'd need a some work to fit it
into the imageio framework. 

Also, if you study that JPEG encoder, a lot of the code is devoted to
doing the RGB->YCC colorspace conversion. That's unnecessary since you
can have awt.color do the same work for you.

I'm currently doing the implementation of java.awt.color.*, and I was
considering doing the JPEG-implementation after that. The inclusion
of the CS_PYCC ColorSpace in java seems to indicate to me that Sun's
implementation uses it for their JPEG encoding/decoding.

Sun's implementation also seems to use a binary ICC-profiles to define
the conversions of it's predefined colorspaces. This is both slower and
less accurate than having routines to do the conversion directly, which
is what I'm implementing. 

So, if you implemented this in java and used java.awt.color, the way I
suspect Sun does it, we could still be both better and faster since they
don't do the colorspace conversion very efficiently.

On the other hand, using a native library like libjpeg would be faster,
and mean less code maintainance for us. The downside is of course the
added dependency and decreased portability.
(although I think libjpeg works on most platforms)

/Sven




From MAILER-DAEMON Sun Oct 03 12:42:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CE9Re-0005IE-9L
	for mharc-classpath@gnu.org; Sun, 03 Oct 2004 12:42:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CE9Rc-0005Gh-CV
	for classpath@gnu.org; Sun, 03 Oct 2004 12:42:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CE9Rb-0005GN-QP
	for classpath@gnu.org; Sun, 03 Oct 2004 12:42:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CE9Ra-0005Fr-Of; Sun, 03 Oct 2004 12:42:42 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CE9Kf-0006vS-3c; Sun, 03 Oct 2004 12:35:33 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CE9KL-0002Is-00; Sun, 03 Oct 2004 18:35:13 +0200
From: Mark Wielaard <mark@klomp.org>
To: cp-tools-discuss@gnu.org, classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-ASSK+belQQTyDzirLcaA"
Message-Id: <1096821331.1087.211.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 03 Oct 2004 18:35:31 +0200
Cc: 
Subject: GNU Classpath Tools (cp-tools) now part of savannah classpath
	project
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Oct 2004 16:42:44 -0000


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

Hi all,

As discussed on the cp-tools list we decided to pull the administrative
tasks of the cp-tools and classpath savannah project together.
GNU Classpath Tools was officially always a subproject of GNU Classpath,
but for administrative purposes and because the tools were/could be
distributed separately from the core class libraries they were in
another savannah project. But now it seems it is much easier for the
administrative tasks for them to be the same savannah project.

Every savannah classpath hacker can now automatically help out with the
tools without having to ask to be added to a different savannah project.
All tools are distributed under the GNU General Public License.
The general GNU Classpath Hacker Guide policies apply.
http://www.gnu.org/software/classpath/docs/hacking.html

If you were already working on these CVS modules you will need to adjust
the CVSROOT through cvschroot from the cvsutils package. Or checkout the
modules freshly. Sorry for the inconvenience.

export CVS_RSH=3D"ssh"
cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/classpath co cp-tools
For the javah, javap, serialver tools and the currency/local parsers
that Guilhem has been working on.
=20
cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/classpath co gjdoc
For the gjdoc API generation tool.
=20
cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/classpath co texinfo-docle=
t
For the gjdoc doclet plugin that generates texinfo files.

cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/classpath co automakejar=20
For the automakejar tool that some of the above modules use.

Change anoncvs for your user name on savannah.
Everybody that was part of the cp-tools project is/was already part of
the classpath savannah project.

Discussion about the tools still goes to cp-tools-discuss@gnu.org.
http://lists.gnu.org/mailman/listinfo/cp-tools-discuss
Commit messages go to cp-tools-commit@gnu.org.
http://lists.gnu.org/mailman/listinfo/cp-tools-commit
(They should, it doesn't seem to actually work yet,
I have asked the savannah hackers to look into it.)

We are still working with the savannah hackers to move the patch, bug
and task trackers. If it cannot be done automatically then we need to go
over them by hand. There aren't that many though, and it would be good
to see which bugs/patches are still current.

Happy Hacking!

Mark

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

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

iD8DBQBBYCpTxVhZCJWr9QwRApXgAJ9owhg0YXvNGvykqIwK4x8+BEnrdwCfY0wr
z4UBkby5ZuLOl/kXG5RDtlY=
=RVNa
-----END PGP SIGNATURE-----

--=-ASSK+belQQTyDzirLcaA--




From MAILER-DAEMON Sun Oct 03 19:09:30 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEFTt-0000CH-6G
	for mharc-classpath@gnu.org; Sun, 03 Oct 2004 19:09:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEFTo-00009X-OD
	for classpath@gnu.org; Sun, 03 Oct 2004 19:09:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEFTm-000086-SW
	for classpath@gnu.org; Sun, 03 Oct 2004 19:09:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEFTm-00007x-Io
	for classpath@gnu.org; Sun, 03 Oct 2004 19:09:22 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CEFN2-0001R0-J6
	for classpath@gnu.org; Sun, 03 Oct 2004 19:02:25 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i93N1Rq2052279;
	Mon, 4 Oct 2004 09:01:29 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Mark Wielaard" <mark@klomp.org>
Date: Mon, 4 Oct 2004 09:01:28 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMEJDENAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <1096722348.1173.21.camel@localhost>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Oct 2004 23:09:25 -0000

Mark,

> For GNU Classpath we only use publicly available information. Please do
> not refer to proprietary information while working on GNU Classpath.
>
> If this document is the only way to make a fully compatible
> implementation for the XMLEncode and XMLDecoder then please let me know
> and I run this agreement past FSF legal.
>
> Best is to find a book in which this specification, or an explanation of
> it, is published. If there is such a book I'll make sure you will get
> it.

I think you will find that all the Java specifications are protected by a
similar license (which basically preserves the namespace usage and requires
complete conformance from an implementation). Even specs that get printed
will have a license included in the book. Only third party books that
describe an API will not have such a license, but nor are they definitive
sources of information on an API specification.

Best get this cleared through FSF legal ASAP.

Cheers,
David Holmes




From MAILER-DAEMON Mon Oct 04 03:11:52 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEN0i-00027C-Nb
	for mharc-classpath@gnu.org; Mon, 04 Oct 2004 03:11:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEN0h-00026m-OR
	for classpath@gnu.org; Mon, 04 Oct 2004 03:11:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEN0h-00026T-1m
	for classpath@gnu.org; Mon, 04 Oct 2004 03:11:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEN0g-00026Q-VR
	for classpath@gnu.org; Mon, 04 Oct 2004 03:11:51 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEMu1-0004qC-Li
	for classpath@gnu.org; Mon, 04 Oct 2004 03:04:57 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CEMtU-0004Sv-00; Mon, 04 Oct 2004 09:04:24 +0200
From: Mark Wielaard <mark@klomp.org>
To: David Holmes <dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCMEJDENAA.dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCMEJDENAA.dholmes@dltech.com.au>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-DauzKbFlyyCIScGHgJkS"
Message-Id: <1096873482.1109.47.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 04 Oct 2004 09:04:43 +0200
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Oct 2004 07:11:51 -0000


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

Hi David,

On Mon, 2004-10-04 at 01:01, David Holmes wrote:
> I think you will find that all the Java specifications are protected by a
> similar license (which basically preserves the namespace usage and requir=
es
> complete conformance from an implementation).

It got worse the last years. Specs, or at least draft specs would be
published publicly without having any click-through license to which
people have to consent. There are also some nice counter examples though
of expert groups doing everything publicly (JSR133 about the memory
model, JSR166 about concurrency util classes).

Besides, the terms/claims in these click-through documents seems to
change over time, so if we really need to accept them to be used as
primary source of information when working on GNU Classpath then we need
to (re)check each time.

>  Even specs that get printed
> will have a license included in the book. Only third party books that
> describe an API will not have such a license, but nor are they definitive
> sources of information on an API specification.

There is a lot of case law about using publicly published information
from printed books. So books (with a normal ISBN number) are always
prefered to use as authorative source. If that means not having the
"definitive source" then so be it. Programmers will use published books
or publicly published articles to write their programs, so we better
make sure we are at least compatible with what they use/expect.

> Best get this cleared through FSF legal ASAP.

It is pretty clear. Use public documentation, which doesn't need you to
consent to any additional click-through terms, as primary source when
working on GNU Classpath, preferably books. For anything else we (FSF
Legal) needs to look at the specific terms. Since as noticed above the
terms are not always the same.

FSF Legal will always advise not to take any unnessecary risks that
might endanger the (perceived) free software status of a GNU project.
(If we might need to go to court to proof that what we did was OK, then
don't!)

Cheers,

Mark

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

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

iD8DBQBBYPYKxVhZCJWr9QwRApMSAJ0aCz1f1v1lWiysQ56VftML6qakigCghiKw
HWeiBM1zwiTw7AIYKSImGhU=
=DTgu
-----END PGP SIGNATURE-----

--=-DauzKbFlyyCIScGHgJkS--




From MAILER-DAEMON Mon Oct 04 14:30:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEXb7-0004Ur-1j
	for mharc-classpath@gnu.org; Mon, 04 Oct 2004 14:30:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEXb4-0004UW-QO
	for classpath@gnu.org; Mon, 04 Oct 2004 14:30:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEXb4-0004UK-AZ
	for classpath@gnu.org; Mon, 04 Oct 2004 14:30:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEXb4-0004UH-3Y
	for classpath@gnu.org; Mon, 04 Oct 2004 14:30:06 -0400
Received: from [216.102.199.253] (helo=bothner.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CEXU4-00020N-2b
	for classpath@gnu.org; Mon, 04 Oct 2004 14:22:52 -0400
Received: from [192.168.1.10] ([192.168.1.10]) (authenticated bits=0)
	by bothner.com (8.12.11/8.12.11) with ESMTP id i94IVj3I004812
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 4 Oct 2004 11:31:45 -0700
Message-ID: <416194EE.9020904@bothner.com>
Date: Mon, 04 Oct 2004 11:22:38 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <NFBBKALFDCPFIDBNKAPCMEJDENAA.dholmes@dltech.com.au>
	<1096873482.1109.47.camel@localhost>
In-Reply-To: <1096873482.1109.47.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Oct 2004 18:30:07 -0000

Mark Wielaard wrote:

> Programmers will use published books
> or publicly published articles to write their programs, so we better
> make sure we are at least compatible with what they use/expect.

Programmers will use Sun's JavaDoc-generated API documents.  If anyone
reports a bug, that is what they will refer to.

> It is pretty clear. Use public documentation, which doesn't need you to
> consent to any additional click-through terms, as primary source when
> working on GNU Classpath, preferably books.

There is often no such documentation.  Most book are tutorial, not
reference works that are anywhere close to comprehensive, or are out
of date.  There is one Swing book I know (O'Reilly's) that attempts
to cover the APIs systematicaly, for example, but even it is surely
insufficient for a useful independent implementation.

Sun's documentation license for 1.5 is quite unclear in what it
covers.  For example a literal reading seems to prohibit writing
books or articles about the JDK.  (It is neither "developing
application" or an "independent implementation".)  In that case,
is it safe to depend on books and articles that may be the result of 
unpermitted actions?

It seems to me the license restricts how you use and distribute the
specification itself.  However, it cannot as a matter of copyright
law restrict the ideas or concepts of the specification, or prevent
us from learning from it.  It could make such restrictions under
trade secret law, but it would be nonsense to claim as a trade
secret something freely available on the web.

So the real concerns are any patents Sun may have, plus the trademarks
Sun may have.  But none of those are affected by whether or not we
read Sun's specifications.

Of course I would like a lawyer (and specifically Eben Moglen) to
evaluate this analysis.  Perhaps I'm wrong in dismising the
specification as a trade secret, for example.

> FSF Legal will always advise not to take any unnessecary risks that
> might endanger the (perceived) free software status of a GNU project.

Right, but even if reading the specification is a risk, I suspect it
falls into the "necessary" category.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



From MAILER-DAEMON Mon Oct 04 17:13:10 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEa8s-0001hq-Kj
	for mharc-classpath@gnu.org; Mon, 04 Oct 2004 17:13:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEa8p-0001hf-9r
	for classpath@gnu.org; Mon, 04 Oct 2004 17:13:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEa8o-0001hM-Jj
	for classpath@gnu.org; Mon, 04 Oct 2004 17:13:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEa8o-0001hC-HC
	for classpath@gnu.org; Mon, 04 Oct 2004 17:13:06 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEa25-0007rT-Cd
	for classpath@gnu.org; Mon, 04 Oct 2004 17:06:09 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CEa1i-0006Vc-00; Mon, 04 Oct 2004 23:05:46 +0200
From: Mark Wielaard <mark@klomp.org>
To: Per Bothner <per@bothner.com>
In-Reply-To: <416194EE.9020904@bothner.com>
References: <NFBBKALFDCPFIDBNKAPCMEJDENAA.dholmes@dltech.com.au>
	<1096873482.1109.47.camel@localhost>  <416194EE.9020904@bothner.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-sfN/HRItoUtuRrmfP9rH"
Message-Id: <1096923964.1097.19.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 04 Oct 2004 23:06:04 +0200
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Oct 2004 21:13:07 -0000


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

Hi,

On Mon, 2004-10-04 at 20:22, Per Bothner wrote:
> is it safe to depend on books and articles that may be the result of=20
> unpermitted actions?

When I discussed this with Richard Stallman he said the main reasoning
behind recommending a published book as primary reference when working
on GNU Classpath is that if a book publisher can/has produced a book to
explain the system, we can explain the system using source code (and
publish this source code). The source code we publish is probably even a
better/clearer description of the system than any book about the
subject.

Not a literal quote though. My interpretation of what he said.

> Of course I would like a lawyer (and specifically Eben Moglen) to
> evaluate this analysis.  Perhaps I'm wrong in dismising the
> specification as a trade secret, for example.
>=20
> > FSF Legal will always advise not to take any unnessecary risks that
> > might endanger the (perceived) free software status of a GNU project.
>=20
> Right, but even if reading the specification is a risk, I suspect it
> falls into the "necessary" category.

What I want to warn about is using anything that is not publicly
accessible. If you need to actively consent to some click-through
license then don't use it as your primary reference when working on code
for GNU Classpath before contacting me (or the mailinglist).

I am happy to look for alternative means to get at information. And if
there is a (really good) book published on the subject and you really
need it for completing a part for GNU Classpath then let me know and I
see what I can do.

Also, I am happy to make sure specific cases get reviewed by FSF legal.
But please make it a concrete case. "I am implementing <this> part for
GNU Classpath and to make a real compatible implementation I need to
access <this> information, which is only available if I accept the
following <terms>. I looked here and there for alternative specs, but I
am really stuck at this point."

There is a lot of work already for FSF legal. And if Eben or another
lawyer needs to review it then it might take a while before there is a
real formal response.

Cheers,

Mark

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

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

iD8DBQBBYbs8xVhZCJWr9QwRAvgtAKCrdr2jXznjsGWEALv//5mkqc4mtQCgj1mr
YLp7Y/p8dAd93a4Oi4Hktz0=
=+9PD
-----END PGP SIGNATURE-----

--=-sfN/HRItoUtuRrmfP9rH--




From MAILER-DAEMON Mon Oct 04 19:03:34 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEbrh-0008Ub-N3
	for mharc-classpath@gnu.org; Mon, 04 Oct 2004 19:03:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEbrf-0008UF-Ue
	for classpath@gnu.org; Mon, 04 Oct 2004 19:03:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEbre-0008Tn-QG
	for classpath@gnu.org; Mon, 04 Oct 2004 19:03:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEbre-0008Ta-Mr
	for classpath@gnu.org; Mon, 04 Oct 2004 19:03:30 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CEbkz-0005l7-Q5
	for classpath@gnu.org; Mon, 04 Oct 2004 18:56:38 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i94MsLhC091062;
	Tue, 5 Oct 2004 08:54:22 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Mark Wielaard" <mark@klomp.org>
Date: Tue, 5 Oct 2004 08:54:21 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCAEKEENAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <1096873482.1109.47.camel@localhost>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Importance: Normal
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Oct 2004 23:03:32 -0000

Mark,

> It got worse the last years. Specs, or at least draft specs would be
> published publicly without having any click-through license to which
> people have to consent. There are also some nice counter examples though
> of expert groups doing everything publicly (JSR133 about the memory
> model, JSR166 about concurrency util classes).

Even those "open" JSR's ultimately have a click-through license on the final
spec. All of Sun's API specifications are protected by such licenses.

I'm not a lawyer so I don't know how far a book can go in describing an API
before it either needs to re-assert the original license terms, or else
finds itself in violation of copyright. Not that I would expect Sun to
persue such issues because it is in Java's best interests to be written
about.

But it does concern me that such unofficial sources would be preferred over
the actual specification. Further, given Classpath's goals, I don't see how
it could ever claim to be what it is, without requiring compliance with
Sun's licenses regarding independent implementations.

David Holmes




From MAILER-DAEMON Mon Oct 04 20:07:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEcrl-0007Sx-Ga
	for mharc-classpath@gnu.org; Mon, 04 Oct 2004 20:07:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEcrj-0007SH-Bo
	for classpath@gnu.org; Mon, 04 Oct 2004 20:07:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEcrh-0007RH-Rq
	for classpath@gnu.org; Mon, 04 Oct 2004 20:07:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEcrh-0007RE-O8
	for classpath@gnu.org; Mon, 04 Oct 2004 20:07:37 -0400
Received: from [216.102.199.253] (helo=bothner.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CEckq-0005jg-LB
	for classpath@gnu.org; Mon, 04 Oct 2004 20:00:33 -0400
Received: from [192.168.1.10] ([192.168.1.10]) (authenticated bits=0)
	by bothner.com (8.12.11/8.12.11) with ESMTP id i9509Q90024333
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 4 Oct 2004 17:09:26 -0700
Message-ID: <4161E419.30309@bothner.com>
Date: Mon, 04 Oct 2004 17:00:25 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <NFBBKALFDCPFIDBNKAPCMEJDENAA.dholmes@dltech.com.au>	
	<1096873482.1109.47.camel@localhost> <416194EE.9020904@bothner.com>
	<1096923964.1097.19.camel@localhost>
In-Reply-To: <1096923964.1097.19.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2004 00:07:39 -0000

Mark Wielaard wrote:

> When I discussed this with Richard Stallman he said the main reasoning
> behind recommending a published book as primary reference when working
> on GNU Classpath is that if a book publisher can/has produced a book to
> explain the system,

He may have been thinking of books published by "authorities" (such
Sun employees or JCP experts).  Most Java books are written by random
people who don't have any special knowledge.  They are not published
to "explain the system" but to make money or burnish reputations.

 > we can explain the system using source code

Example programs in a book are not sufficient to implement an API.

>(and publish this source code).

Huh?  Of course we can't publish the source code from a book!

> What I want to warn about is using anything that is not publicly
> accessible. If you need to actively consent to some click-through
> license then don't use it as your primary reference when working on code
> for GNU Classpath before contacting me (or the mailinglist).

I disagree.  It's a mistake to try to implement Java APIs without
looking at the *published* APIs.  It's difficult and unnecessary.

Something with a click-through license is publicly accessible, at
least in the sense of not being a trade secret.  I don't see how
clicking on Sun's documentation license tarnishes me in any way.

The agreement says that Sun grants me certain rights.  The only
requirement on me if I click "I agree" is to "indemnify, hold harmless,
and defend Sun" from my use of the specification.  However, there is
no prohibition on using the specification in ways not permitted by
the specification.  I.e. the license grants me permission to use the
specification in limited ways, and we can argue over what that
permission means.  However, I am not explicitly agreeing to not use
the Specification in other ways.  In such other ways, copyright would 
set the boundaries.

My point is that clicking "I agree" does not change anything I can
or cannot do with or for Classpath.  It does give permission to work
a compatible TCK-passing re-implementation (which is difficult to do
in Free project), but I have not agreed to not work on a non-TCK-passing 
re-implementation. (Sorry for the triple negative.)  And by reading
the specification I further Sun's stated goal of compatibility.

To expand on that last point:  By not using Sun's specification we
increase the risk of incompatibility, which *increases* the risk of
Sun suing under trademark law.  If we use Sun's specification, and
have a stated policy of treating any divergence as a bug to be fixed
(limited by resource availability) we're in a stronger position than
if we wilfully ignore the published specification.

> Also, I am happy to make sure specific cases get reviewed by FSF legal.
> But please make it a concrete case. "I am implementing <this> part for
> GNU Classpath and to make a real compatible implementation I need to
> access <this> information, which is only available if I accept the
> following <terms>. I looked here and there for alternative specs, but I
> am really stuck at this point."

No, we need a general review of the JDK specification license.  Some
people have been assuming that it conflicts with working on Classpath,
but I don't think there is an essential conflict.  A strict cleanroom
approach would keep implementors from directly accessing either Sun's
implementation or specification, but such strict separation is not
legally required, and we don't have the resources for it.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



From MAILER-DAEMON Tue Oct 05 06:19:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEmQ7-0006Kh-A9
	for mharc-classpath@gnu.org; Tue, 05 Oct 2004 06:19:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEmQ6-0006KY-0U
	for classpath@gnu.org; Tue, 05 Oct 2004 06:19:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEmQ5-0006KD-AK
	for classpath@gnu.org; Tue, 05 Oct 2004 06:19:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEmQ5-0006K3-19
	for classpath@gnu.org; Tue, 05 Oct 2004 06:19:45 -0400
Received: from [84.128.220.109] (helo=jbox)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CEmJF-0006vd-QA
	for classpath@gnu.org; Tue, 05 Oct 2004 06:12:42 -0400
Received: from localhost ([127.0.0.1]) by jbox with esmtp (Exim 4.34)
	id 1CEmJ7-0001h0-51; Tue, 05 Oct 2004 10:12:33 +0000
Message-ID: <41627390.4040603@kaffe.org>
Date: Tue, 05 Oct 2004 10:12:32 +0000
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.7.3) Gecko/20041001 Debian/1.7.3-3
X-Accept-Language: us, en
MIME-Version: 1.0
To: Sven de Marothy <sven@physto.se>
References: <20041001145615.3FF712F7CB@mx.physto.se>
	<1096732698.27520.32.camel@qcplx01.physto.se>
In-Reply-To: <1096732698.27520.32.camel@qcplx01.physto.se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2004 10:19:46 -0000

Sven de Marothy wrote:
> Robert Schuster wrote:
> 
>>javax.imageio support would be great. I searched for Java libraries
>>with friendly licenses and this one seemed to be very interesting:
> 
> 
>>JIU - The Java Imaging Utilities -
>>http://jiu.sourceforge.net/status.html - GPL
> 
> 
> Unfortunately, I don't think we can use GPL code, since Classpath's
> license is GPL + exception, which is a more permissable license.
> (I.e. you can go GPL+exception-->GPL but not in the other direction.)

I could ask him if he'd like to contribute his code to GNU Classpath. 
GPL is OK for staging it in Kaffe until it's ready for inclusion into 
GNU Classpath if he agrees. The JIU author is doing some really nice 
work on collecting a nice list of VM ports & languages for the JVM, btw.

> But.. on the positive side, there are rumors that Michael Koch has
> finished the imageio framework (but not the plugins).

Michael Koch is being awesome, as usual. ;)

I have just synced up with Classpath's head yesterday, and today he 
continues pushing in new files into the CVS. Thanks, Michael!

On a side note, noone may have actually realized this, but according to 
japitools we're 75% there on java 1.2. *Without* CORBA.

cheers,
dalibor topic



From MAILER-DAEMON Tue Oct 05 12:32:57 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEsFF-0000Th-1Y
	for mharc-classpath@gnu.org; Tue, 05 Oct 2004 12:32:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEsFC-0000TS-SD
	for classpath@gnu.org; Tue, 05 Oct 2004 12:32:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEsFC-0000TG-De
	for classpath@gnu.org; Tue, 05 Oct 2004 12:32:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEsFC-0000TC-9y
	for classpath@gnu.org; Tue, 05 Oct 2004 12:32:54 -0400
Received: from [130.237.208.17] (helo=mx.physto.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEs8S-0003ld-Su
	for classpath@gnu.org; Tue, 05 Oct 2004 12:25:57 -0400
Received: from localhost (localhost [127.0.0.1])
	by mx.physto.se (Postfix) with ESMTP id F3B403078D;
	Tue,  5 Oct 2004 18:25:53 +0200 (CEST)
Received: from mx.physto.se ([127.0.0.1])
	by localhost (syslx11.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 09599-05; Tue,  5 Oct 2004 18:25:53 +0200 (CEST)
Received: from [130.242.128.121] (qcplx01.physto.se [130.242.128.121])
	by mx.physto.se (Postfix) with ESMTP id 7990F30774;
	Tue,  5 Oct 2004 18:25:53 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: Dalibor Topic <robilad@kaffe.org>
In-Reply-To: <41627390.4040603@kaffe.org>
References: <20041001145615.3FF712F7CB@mx.physto.se>
	<1096732698.27520.32.camel@qcplx01.physto.se>
	<41627390.4040603@kaffe.org>
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <1096993525.12842.30.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Tue, 05 Oct 2004 18:25:26 +0200
X-Virus-Scanned: by amavisd-new at physto.se
Content-Transfer-Encoding: quoted-printable
Cc: classpath@gnu.org
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2004 16:32:55 -0000

On Tue, 2004-10-05 at 12:12, Dalibor Topic wrote:
> Sven de Marothy wrote:
> > Robert Schuster wrote:
> >=20
> >>javax.imageio support would be great. I searched for Java libraries
> >>with friendly licenses and this one seemed to be very interesting:
> >=20
> >=20
> >>JIU - The Java Imaging Utilities -
> >>http://jiu.sourceforge.net/status.html - GPL
> >=20
> >=20
> > Unfortunately, I don't think we can use GPL code, since Classpath's
> > license is GPL + exception, which is a more permissable license.
> > (I.e. you can go GPL+exception-->GPL but not in the other direction.)
>=20
> I could ask him if he'd like to contribute his code to GNU Classpath.=20
> GPL is OK for staging it in Kaffe until it's ready for inclusion into=20
> GNU Classpath if he agrees. The JIU author is doing some really nice=20
> work on collecting a nice list of VM ports & languages for the JVM, btw=
.

Looking closer, apparently JIU doesn't include a JPEG encoder, but
rather uses imageio.. see this thread:
http://sourceforge.net/forum/forum.php?thread_id=3D1108586&forum_id=3D515=
34

A LGPL encoder and decoder is part of Kary Fr=E4mling's JVG package:
http://www.cs.hut.fi/~framling/JVG/

Although the LGPL is still more restrictive than the GPL+exception,
it's not -much- more restrictive. So that might be a good place
to solicit for contributions.

> > But.. on the positive side, there are rumors that Michael Koch has
> > finished the imageio framework (but not the plugins).
>=20
> Michael Koch is being awesome, as usual. ;)

I'll second that.. His commit rate is giving me an inferiority complex.
=3D)

/Sven




From MAILER-DAEMON Tue Oct 05 12:47:03 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEsSt-0005LF-Fq
	for mharc-classpath@gnu.org; Tue, 05 Oct 2004 12:47:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEsSr-0005L5-Lg
	for classpath@gnu.org; Tue, 05 Oct 2004 12:47:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEsSr-0005Kt-7w
	for classpath@gnu.org; Tue, 05 Oct 2004 12:47:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEsSr-0005Kq-37
	for classpath@gnu.org; Tue, 05 Oct 2004 12:47:01 -0400
Received: from [212.6.122.12] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEsLt-00060B-Vs
	for classpath@gnu.org; Tue, 05 Oct 2004 12:39:50 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-105.ewetel.net
	[80.228.94.105])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id i95GdALq029687;
	Tue, 5 Oct 2004 18:39:11 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CEsYJ-00020l-T0; Tue, 05 Oct 2004 18:52:39 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 5 Oct 2004 18:45:34 +0200
User-Agent: KMail/1.6.2
References: <20041001145615.3FF712F7CB@mx.physto.se>
	<41627390.4040603@kaffe.org>
	<1096993525.12842.30.camel@qcplx01.physto.se>
In-Reply-To: <1096993525.12842.30.camel@qcplx01.physto.se>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200410051845.35007.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Sven de Marothy <sven@physto.se>
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2004 16:47:01 -0000

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 5. Oktober 2004 18:25 schrieb Sven de Marothy:
> On Tue, 2004-10-05 at 12:12, Dalibor Topic wrote:
> > Sven de Marothy wrote:
> > > Robert Schuster wrote:
> > >>javax.imageio support would be great. I searched for Java
> > >> libraries with friendly licenses and this one seemed to be
> > >> very interesting:
> > >>
> > >>
> > >>JIU - The Java Imaging Utilities -
> > >>http://jiu.sourceforge.net/status.html - GPL
> > >
> > > Unfortunately, I don't think we can use GPL code, since
> > > Classpath's license is GPL + exception, which is a more
> > > permissable license. (I.e. you can go GPL+exception-->GPL but
> > > not in the other direction.)
> >
> > I could ask him if he'd like to contribute his code to GNU
> > Classpath. GPL is OK for staging it in Kaffe until it's ready for
> > inclusion into GNU Classpath if he agrees. The JIU author is
> > doing some really nice work on collecting a nice list of VM ports
> > & languages for the JVM, btw..
>
> Looking closer, apparently JIU doesn't include a JPEG encoder, but
> rather uses imageio.. see this thread:
> http://sourceforge.net/forum/forum.php?thread_id=3D1108586&forum_id=3D5
>1534
>
> A LGPL encoder and decoder is part of Kary Fr=E4mling's JVG package:
> http://www.cs.hut.fi/~framling/JVG/
>
> Although the LGPL is still more restrictive than the GPL+exception,
> it's not -much- more restrictive. So that might be a good place
> to solicit for contributions.
>
> > > But.. on the positive side, there are rumors that Michael Koch
> > > has finished the imageio framework (but not the plugins).
> >
> > Michael Koch is being awesome, as usual. ;)
>
> I'll second that.. His commit rate is giving me an inferiority
> complex. =3D)

Note that I wrote most of this code over a year ago. I just never=20
commited it. Now I go through it again and need to hammer my head=20
onto my desk all the time. Never look at code you wrote more then 12=20
month ago ...


Michael
=2D --=20
Homepage: http://www.worldforge.org/
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBYs+uWSOgCCdjSDsRAsuuAJ9WfDC1SEnPpXHfr36OzkFXJXRlgQCfWJ8g
sPED6pbRY2xmW2HZ2VdKUY0=3D
=3DsOhX
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Tue Oct 05 13:31:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEt9Z-0007ZI-DB
	for mharc-classpath@gnu.org; Tue, 05 Oct 2004 13:31:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEt9X-0007ZB-SX
	for classpath@gnu.org; Tue, 05 Oct 2004 13:31:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEt9X-0007Yl-2n
	for classpath@gnu.org; Tue, 05 Oct 2004 13:31:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEt9W-0007Yi-Vt
	for classpath@gnu.org; Tue, 05 Oct 2004 13:31:07 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEt2f-0004II-7Y
	for classpath@gnu.org; Tue, 05 Oct 2004 13:24:01 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Tue, 5 Oct 2004 13:27:14 -0400
Message-ID: <4162D8A4.5040500@netreach.com>
Date: Tue, 05 Oct 2004 13:23:48 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040912)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Dalibor Topic <robilad@kaffe.org>
References: <20041001145615.3FF712F7CB@mx.physto.se>	<1096732698.27520.32.camel@qcplx01.physto.se>
	<41627390.4040603@kaffe.org>
In-Reply-To: <41627390.4040603@kaffe.org>
X-Enigmail-Version: 0.85.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 05 Oct 2004 17:27:14.0139 (UTC)
	FILETIME=[8DD93AB0:01C4AB00]
Cc: Sven de Marothy <sven@physto.se>, classpath@gnu.org
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2004 17:31:08 -0000

Dalibor Topic wrote:
> On a side note, noone may have actually realized this, but according to 
> japitools we're 75% there on java 1.2. *Without* CORBA.

Most amazing is libgcj's score now that CORBA and XML both *are* included.

It's 77% of 1.4! [1]

Classpath's japi files, btw, are a month out of date, don't include 
CORBA, XML or Tritonus, and were built with the old version[2] - I 
understand that Tom is working on some classpath build issues.

I'm really interested to see what its total score is once these issues 
are resolved: in areas that *are* included, classpath is more 
consistently green than libgcj is - it might even hit 80%.

Kaffe's japi files appear to be from August 18th and again built with 
the old version[2]. I guess those aren't automatically built?

Stuart.

[1] Interestingly, libgcj scores higher against 1.4 than 1.3. This seems 
to indicate that the areas that are new in 1.4 are better-covered than 
1.3 as a whole.
[2] Being built with the old version appears to cost at least 0.5% in 
score due to incorrect output from the old version.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Tue Oct 05 14:00:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEtcC-0004wG-71
	for mharc-classpath@gnu.org; Tue, 05 Oct 2004 14:00:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEtcB-0004w9-D4
	for classpath@gnu.org; Tue, 05 Oct 2004 14:00:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEtc9-0004vH-RE
	for classpath@gnu.org; Tue, 05 Oct 2004 14:00:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEtc9-0004ub-1J
	for classpath@gnu.org; Tue, 05 Oct 2004 14:00:41 -0400
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEtV0-0008ED-5C
	for classpath@gnu.org; Tue, 05 Oct 2004 13:53:18 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-105.ewetel.net
	[80.228.94.105])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i95HqgcK000351;
	Tue, 5 Oct 2004 19:52:42 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CEthT-0002Fv-N6; Tue, 05 Oct 2004 20:06:11 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 5 Oct 2004 19:59:06 +0200
User-Agent: KMail/1.6.2
References: <20041001145615.3FF712F7CB@mx.physto.se>
	<41627390.4040603@kaffe.org> <4162D8A4.5040500@netreach.com>
In-Reply-To: <4162D8A4.5040500@netreach.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200410051959.06624.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Sven de Marothy <sven@physto.se>, Stuart Ballard <sballard@netreach.com>
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2004 18:00:43 -0000

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 5. Oktober 2004 19:23 schrieb Stuart Ballard:
> Dalibor Topic wrote:
> > On a side note, noone may have actually realized this, but
> > according to japitools we're 75% there on java 1.2. *Without*
> > CORBA.
>
> Most amazing is libgcj's score now that CORBA and XML both *are*
> included.
>
> It's 77% of 1.4! [1]
>
> Classpath's japi files, btw, are a month out of date, don't include
> CORBA, XML or Tritonus, and were built with the old version[2] - I
> understand that Tom is working on some classpath build issues.
>
> I'm really interested to see what its total score is once these
> issues are resolved: in areas that *are* included, classpath is
> more consistently green than libgcj is - it might even hit 80%.

I get 70.7% currently against 1.4 for classpath CVS without tritonus,=20
GNU jaxp or jacorb.


Michael
=2D --=20
Homepage: http://www.worldforge.org/
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBYuDqWSOgCCdjSDsRAp9JAJ9VL+wEOcH95cuQfn+9DZ2bpoCO7gCfd9cJ
86ONQXgNhRxow8ps23+Wttw=3D
=3DV2tq
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Tue Oct 05 14:53:06 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEuQq-00028e-Ir
	for mharc-classpath@gnu.org; Tue, 05 Oct 2004 14:53:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEuQp-000276-Ae
	for classpath@gnu.org; Tue, 05 Oct 2004 14:53:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEuQo-00026Z-RP
	for classpath@gnu.org; Tue, 05 Oct 2004 14:53:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEuQo-00026W-O4
	for classpath@gnu.org; Tue, 05 Oct 2004 14:53:02 -0400
Received: from [207.189.223.52] (helo=email3.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CEuJs-0008RX-DD
	for classpath@gnu.org; Tue, 05 Oct 2004 14:45:52 -0400
Received: (qmail 9973 invoked by uid 513); 5 Oct 2004 18:55:02 -0000
Received: from 204.144.239.204 by email3 (envelope-from <tromey@redhat.com>,
	uid 504) with qmail-scanner-1.23 (clamscan: 0.75.1.  
	Clear:RC:1(204.144.239.204):. 
	Processed in 1.112601 secs); 05 Oct 2004 18:55:02 -0000
Received: from tf0204.peakpeak.com (HELO opsy.redhat.com) ([204.144.239.204])
	(envelope-sender <tromey@redhat.com>)
	by email3.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 5 Oct 2004 18:55:01 -0000
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 309962DD26A; Tue,  5 Oct 2004 12:40:48 -0600 (MDT)
Sender: tromey@localhost.localdomain
To: Stuart Ballard <sballard@netreach.com>
References: <20041001145615.3FF712F7CB@mx.physto.se>
	<1096732698.27520.32.camel@qcplx01.physto.se>
	<41627390.4040603@kaffe.org> <4162D8A4.5040500@netreach.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 05 Oct 2004 12:40:48 -0600
In-Reply-To: <4162D8A4.5040500@netreach.com>
Message-ID: <m34ql9100f.fsf@localhost.localdomain>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Sven de Marothy <sven@physto.se>, classpath@gnu.org
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2004 18:53:03 -0000

Stuart> Classpath's japi files, btw, are a month out of date, don't include
Stuart> CORBA, XML or Tritonus, and were built with the old version[2] - I
Stuart> understand that Tom is working on some classpath build issues.

It wasn't building for a long time due to a local problem.
Then last night's gcj build died due to an apparently gcj regression :-(

Michael tells me that jikes output confuses japi.  So pending the gcj
fix there won't be updates...

Tom



From MAILER-DAEMON Tue Oct 05 15:01:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEuYf-0003Lw-0w
	for mharc-classpath@gnu.org; Tue, 05 Oct 2004 15:01:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEuYc-0003Lr-WD
	for classpath@gnu.org; Tue, 05 Oct 2004 15:01:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEuYc-0003Lf-Ia
	for classpath@gnu.org; Tue, 05 Oct 2004 15:01:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEuYc-0003Lc-Fm
	for classpath@gnu.org; Tue, 05 Oct 2004 15:01:06 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEuRU-0001Db-90
	for classpath@gnu.org; Tue, 05 Oct 2004 14:53:44 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Tue, 5 Oct 2004 14:56:58 -0400
Message-ID: <4162EDA4.4060304@netreach.com>
Date: Tue, 05 Oct 2004 14:53:24 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040912)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <20041001145615.3FF712F7CB@mx.physto.se>	<1096732698.27520.32.camel@qcplx01.physto.se>	<41627390.4040603@kaffe.org>
	<4162D8A4.5040500@netreach.com>
	<m34ql9100f.fsf@localhost.localdomain>
In-Reply-To: <m34ql9100f.fsf@localhost.localdomain>
X-Enigmail-Version: 0.85.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 05 Oct 2004 18:56:58.0495 (UTC)
	FILETIME=[172CC0F0:01C4AB0D]
Cc: Sven de Marothy <sven@physto.se>, classpath@gnu.org
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2004 19:01:07 -0000

Tom Tromey wrote:
> Michael tells me that jikes output confuses japi.  So pending the gcj
> fix there won't be updates...

Do you have a released version of gcj installed as well as the autobuilt 
cvs version that you could use to produce the Classpath japi?

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Tue Oct 05 15:26:13 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CEuwv-0001Ct-G0
	for mharc-classpath@gnu.org; Tue, 05 Oct 2004 15:26:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CEuwt-0001A6-94
	for classpath@gnu.org; Tue, 05 Oct 2004 15:26:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CEuws-00019T-Er
	for classpath@gnu.org; Tue, 05 Oct 2004 15:26:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CEuws-00019Q-5Z
	for classpath@gnu.org; Tue, 05 Oct 2004 15:26:10 -0400
Received: from [212.6.122.12] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEuq2-0004xZ-Sy
	for classpath@gnu.org; Tue, 05 Oct 2004 15:19:07 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-105.ewetel.net
	[80.228.94.105])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id i95JIqLq027182;
	Tue, 5 Oct 2004 21:18:53 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CEv2s-0002Pb-1N; Tue, 05 Oct 2004 21:32:22 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 5 Oct 2004 21:25:16 +0200
User-Agent: KMail/1.6.2
References: <20041001145615.3FF712F7CB@mx.physto.se>
	<m34ql9100f.fsf@localhost.localdomain>
	<4162EDA4.4060304@netreach.com>
In-Reply-To: <4162EDA4.4060304@netreach.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200410052125.16252.konqueror@gmx.de>
X-CheckCompat: OK
Cc: tromey@redhat.com, Sven de Marothy <sven@physto.se>,
	Stuart Ballard <sballard@netreach.com>
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2004 19:26:11 -0000

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 5. Oktober 2004 20:53 schrieb Stuart Ballard:
> Tom Tromey wrote:
> > Michael tells me that jikes output confuses japi.  So pending the
> > gcj fix there won't be updates...
>
> Do you have a released version of gcj installed as well as the
> autobuilt cvs version that you could use to produce the Classpath
> japi?

Released versions of gcj are buggy and produce a much worse japi=20
result.


Michael
=2D --=20
Homepage: http://www.worldforge.org/
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD4DBQFBYvUcWSOgCCdjSDsRArVWAJdeZvEEidnwvlYUYfEKx/6pW9H6AKCWsrJ4
dJv65NvAl/JmmAXaym0Hpg=3D=3D
=3DUmQx
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Wed Oct 06 14:13:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFGID-000405-Sc
	for mharc-classpath@gnu.org; Wed, 06 Oct 2004 14:13:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFGIC-000400-9B
	for classpath@gnu.org; Wed, 06 Oct 2004 14:13:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFGIA-0003zo-QX
	for classpath@gnu.org; Wed, 06 Oct 2004 14:13:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFGIA-0003zl-Kh
	for classpath@gnu.org; Wed, 06 Oct 2004 14:13:34 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFGBQ-0004ZW-Gz
	for classpath@gnu.org; Wed, 06 Oct 2004 14:06:36 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.36 #1
	(Debian)) id 1CFGBP-0007HY-00
	for <classpath@gnu.org>; Wed, 06 Oct 2004 20:06:35 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian))
	id 1CFGBM-0007HJ-00; Wed, 06 Oct 2004 20:06:32 +0200
Received: from kaffe.org (topic@mpiat2313 [139.19.20.102])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i96I6LuX008418;
	Wed, 6 Oct 2004 20:06:21 +0200 (MEST)
Message-ID: <4164341C.3000701@kaffe.org>
Date: Wed, 06 Oct 2004 20:06:20 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.6) Gecko/20040413 Debian/1.6-5
X-Accept-Language: en
MIME-Version: 1.0
To: Stuart Ballard <sballard@netreach.com>
References: <20041001145615.3FF712F7CB@mx.physto.se>	<1096732698.27520.32.camel@qcplx01.physto.se>
	<41627390.4040603@kaffe.org> <4162D8A4.5040500@netreach.com>
In-Reply-To: <4162D8A4.5040500@netreach.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: Sven de Marothy <sven@physto.se>, classpath@gnu.org
Subject: Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Oct 2004 18:13:37 -0000

Stuart Ballard wrote:
> Dalibor Topic wrote:

> Kaffe's japi files appear to be from August 18th and again built with 
> the old version[2]. I guess those aren't automatically built?

Nope, built by me by hand, ocassionally, when I can't hide from the 
demand :) Like right now ;)

I've put up a kaffe.japi.gz in the usual location[1], and added 
kaffe+jacorb.japi.jar for the stats with jacorb included.

With JacORB, Kaffe from CVS would have

Total: 80.86% good, 0.31% bad, 18.81% missing, 0.21% abs.add

That's astonishing, all right. But I'd like to point out another amazing 
thing:

  I've done the same comparison 6 weeks ago with Tom Tromey, and we were 
at 75% back then.

5 % in 6 weeks. 20 % to go. You do the math. :)

cheers,
dalibor topic

[1] http://www.kaffe.org/~robilad



From MAILER-DAEMON Wed Oct 06 19:47:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFLVU-0000jF-H0
	for mharc-classpath@gnu.org; Wed, 06 Oct 2004 19:47:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFLVS-0000hr-QI
	for classpath@gnu.org; Wed, 06 Oct 2004 19:47:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFLVS-0000hR-50
	for classpath@gnu.org; Wed, 06 Oct 2004 19:47:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFLVR-0000hI-W6
	for classpath@gnu.org; Wed, 06 Oct 2004 19:47:38 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CFLOK-0001BG-QZ
	for classpath@gnu.org; Wed, 06 Oct 2004 19:40:17 -0400
Received: (qmail 16371 invoked by uid 65534); 6 Oct 2004 23:39:49 -0000
Received: from p213.54.229.113.tisdip.tiscali.de (EHLO [213.54.229.113])
	(213.54.229.113)
	by mail.gmx.net (mp006) with SMTP; 07 Oct 2004 01:39:49 +0200
X-Authenticated: #17532834
Message-ID: <416481D1.8080605@gmx.net>
Date: Thu, 07 Oct 2004 01:37:53 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040930
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <20041001145615.3FF712F7CB@mx.physto.se>	<1096732698.27520.32.camel@qcplx01.physto.se>	<41627390.4040603@kaffe.org>
	<4162D8A4.5040500@netreach.com> <4164341C.3000701@kaffe.org>
In-Reply-To: <4164341C.3000701@kaffe.org>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Oct 2004 23:47:39 -0000

Hi

>
>  I've done the same comparison 6 weeks ago with Tom Tromey, and we 
> were at 75% back then.
>
> 5 % in 6 weeks. 20 % to go. You do the math. :)

I am excited too but on the other hand I worry about a lot bugs popping 
up ...

Has anyone seen that one: 
http://savannah.gnu.org/bugs/?func=detailitem&item_id=10491
I recently discovered it while writing some test files for the 
XMLDecoder I am working on. In an attempt to find the reason I followed 
to the C source that does the conversion (java_lang_Double.c) and its 
obvious to me that the code does not care about the special values: 
[+-]NaN, [+-]Infinity

After spending some time on ideas to fix this the following came to my mind:
a) do the NaN,Infinity in Java and the rest in C
b) do both in C because its faster
c) provide a pure Java and a pure C version, making JNode/... and real 
VMs equally happy

c) seems to be my favorite for an umbrella project like classpath but I 
dont know how I could make the two implementations optional.
Any ideas about this and my proposal?

cu
Robert



From MAILER-DAEMON Wed Oct 06 21:40:45 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFNGu-0004n0-UC
	for mharc-classpath@gnu.org; Wed, 06 Oct 2004 21:40:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFNGt-0004mf-K4
	for classpath@gnu.org; Wed, 06 Oct 2004 21:40:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFNGs-0004ls-Sk
	for classpath@gnu.org; Wed, 06 Oct 2004 21:40:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFNGs-0004lf-Oe
	for classpath@gnu.org; Wed, 06 Oct 2004 21:40:42 -0400
Received: from [63.249.108.128] (helo=unmodern.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFN9d-0007v2-GD
	for classpath@gnu.org; Wed, 06 Oct 2004 21:33:14 -0400
Received: by unmodern.net (Postfix, from userid 1000)
	id 18CFE39; Wed,  6 Oct 2004 18:33:08 -0700 (PDT)
To: Robert Schuster <theBohemian@gmx.net>
References: <20041001145615.3FF712F7CB@mx.physto.se>
	<1096732698.27520.32.camel@qcplx01.physto.se>
	<41627390.4040603@kaffe.org> <4162D8A4.5040500@netreach.com>
	<4164341C.3000701@kaffe.org> <416481D1.8080605@gmx.net>
From: Casey Marshall <csm@gnu.org>
Date: Wed, 06 Oct 2004 18:33:07 -0700
In-Reply-To: <416481D1.8080605@gmx.net> (Robert Schuster's message of "Thu,
	07 Oct 2004 01:37:53 +0200")
Message-ID: <87acuzl3cc.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 01:40:43 -0000

>>>>> "Robert" == Robert Schuster <theBohemian@gmx.net> writes:

Robert> Hi
>> 
>> I've done the same comparison 6 weeks ago with Tom Tromey, and we
>> were at 75% back then.
>> 
>> 5 % in 6 weeks. 20 % to go. You do the math. :)

That might turn out to be the longest 6 months ever, since Classpath
is still missing the badly-written web browser and HTML WYSIWYG
composer (javax.swing.text.html) :)

Robert> I am excited too but on the other hand I worry about a lot
Robert> bugs popping up ...

I don't worry that much about bugs. More bugs means more people are
interested, and it means better code as those bugs are fixed.

Robert> After spending some time on ideas to fix this the following
Robert> came to my mind:
Robert> a) do the NaN,Infinity in Java and the rest in C
Robert> b) do both in C because its faster
Robert> c) provide a pure Java and a pure C version, making
Robert> JNode/... and real VMs equally happy

I am a fan of (c), and in general I like it better if there is a pure
Java version first. I also don't tend to blindly believe that a C
version will be universally faster.

Robert> c) seems to be my favorite for an umbrella project like
Robert> classpath but I dont know how I could make the two
Robert> implementations optional.  Any ideas about this and my
Robert> proposal?

I'd suggest doing a pure Java version, if it's difficult to provide
both. Classpath should be complete and correct, and that can be done
in most of the library in Java code only, and done simpler and
clearer.

-- 
Casey Marshall || csm@gnu.org



From MAILER-DAEMON Thu Oct 07 03:50:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFT35-0003FL-2D
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 03:50:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFT33-0003Ek-24
	for classpath@gnu.org; Thu, 07 Oct 2004 03:50:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFT30-0003EF-SL
	for classpath@gnu.org; Thu, 07 Oct 2004 03:50:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFT30-0003EB-Ma
	for classpath@gnu.org; Thu, 07 Oct 2004 03:50:46 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CFSwC-0006Uy-9N; Thu, 07 Oct 2004 03:43:44 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 7 Oct 2004 09:43:37 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA687DBB@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: bug 10491 was Re: More astonishing progress in japi scores
Thread-Index: AcSsDfpXqHIIP7IKQTqXZT6xezd/HAAMuGvw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Casey Marshall" <csm@gnu.org>,
	"Robert Schuster" <theBohemian@gmx.net>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 07:50:49 -0000

Casey Marshall wrote:
> Robert> After spending some time on ideas to fix this the following
> Robert> came to my mind:
> Robert> a) do the NaN,Infinity in Java and the rest in C
> Robert> b) do both in C because its faster
> Robert> c) provide a pure Java and a pure C version, making
> Robert> JNode/... and real VMs equally happy
>=20
> I am a fan of (c), and in general I like it better if there is a pure
> Java version first. I also don't tend to blindly believe that a C
> version will be universally faster.
>=20
> Robert> c) seems to be my favorite for an umbrella project like
> Robert> classpath but I dont know how I could make the two
> Robert> implementations optional.  Any ideas about this and my
> Robert> proposal?
>=20
> I'd suggest doing a pure Java version, if it's difficult to provide
> both. Classpath should be complete and correct, and that can be done
> in most of the library in Java code only, and done simpler and
> clearer.

Hear! Hear!

(Sorry not to add anything meaningful, but I just had to voice my
support.)

Regards,
Jeroen



From MAILER-DAEMON Thu Oct 07 04:33:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFTiV-0006Fg-2r
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 04:33:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFTiS-0006Ew-Bk
	for classpath@gnu.org; Thu, 07 Oct 2004 04:33:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFTiN-0006Eb-07
	for classpath@gnu.org; Thu, 07 Oct 2004 04:33:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFTiJ-0006EW-V2
	for classpath@gnu.org; Thu, 07 Oct 2004 04:33:28 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFTbE-0004Od-3T
	for classpath@gnu.org; Thu, 07 Oct 2004 04:26:08 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 7 Oct 2004 10:26:04 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687DBF@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSsR0kkCFJFVjbASBS9c4vkUhwUCg==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "GNU Classpath" <classpath@gnu.org>
Subject: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 08:33:36 -0000

Hi,

I would like to propose to move the system properties to a public class
in the gnu.classpath package. This removes the need to use
GetPropertyAction to access the properties and -- more importantly to me
-- it also greatly simplifies class initialization dependencies
(currently, every class that requires access to the system properties
sucks in a huge dependency (java.lang.System, SecurityManager and who
knows what else).

The obvious downside is that we'd really need to get serious about
preventing untrusted code access to the gnu.classpath.* package.

Any thoughts, comments or objections?

Regards,
Jeroen



From MAILER-DAEMON Thu Oct 07 04:42:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFTqb-0008Eh-7u
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 04:42:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFTqZ-0008EW-GJ
	for classpath@gnu.org; Thu, 07 Oct 2004 04:41:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFTqY-0008EK-Nw
	for classpath@gnu.org; Thu, 07 Oct 2004 04:41:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFTqY-0008EH-Cx
	for classpath@gnu.org; Thu, 07 Oct 2004 04:41:58 -0400
Received: from [212.6.122.18] (helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFTji-0005We-Vd
	for classpath@gnu.org; Thu, 07 Oct 2004 04:34:55 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-132.ewetel.net
	[80.228.93.132])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id i978YnfX000930;
	Thu, 7 Oct 2004 10:34:51 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CFTwn-0000kX-I8; Thu, 07 Oct 2004 10:48:25 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Thu, 7 Oct 2004 10:41:18 +0200
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA687DBF@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DBF@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200410071041.18975.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 08:42:00 -0000

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Donnerstag, 7. Oktober 2004 10:26 schrieb Jeroen Frijters:
> Hi,
>
> I would like to propose to move the system properties to a public
> class in the gnu.classpath package. This removes the need to use
> GetPropertyAction to access the properties and -- more importantly
> to me -- it also greatly simplifies class initialization
> dependencies (currently, every class that requires access to the
> system properties sucks in a huge dependency (java.lang.System,
> SecurityManager and who knows what else).
>
> The obvious downside is that we'd really need to get serious about
> preventing untrusted code access to the gnu.classpath.* package.
>
> Any thoughts, comments or objections?

I'm all for simplifying and generalizing code but how do you want to=20
implement this in a secure way ? Any working code written for it=20
yet ?


Michael
=2D --=20
Homepage: http://www.worldforge.org/
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBZQEuWSOgCCdjSDsRAul4AJwIRbZYE7FjK5OhXP75nx6tgdqSIACdEW38
gOxettc3CPByC/pJpsBIL+o=3D
=3DzCMj
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Thu Oct 07 04:53:34 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFU1m-0002ej-6o
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 04:53:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFU1k-0002eb-Cp
	for classpath@gnu.org; Thu, 07 Oct 2004 04:53:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFU1j-0002eO-1H
	for classpath@gnu.org; Thu, 07 Oct 2004 04:53:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFTyl-0002I3-WF
	for classpath@gnu.org; Thu, 07 Oct 2004 04:50:28 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFTrg-0006df-Ai
	for classpath@gnu.org; Thu, 07 Oct 2004 04:43:08 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 7 Oct 2004 10:43:04 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687DC2@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSsSMbSXt7zz/S0SDOkeIzB/Av2cQAAF4Hw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>,
	<classpath@gnu.org>
Cc: 
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 08:53:32 -0000

Michael Koch wrote:
> Am Donnerstag, 7. Oktober 2004 10:26 schrieb Jeroen Frijters:
> > I would like to propose to move the system properties to a public
> > class in the gnu.classpath package. This removes the need to use
> > GetPropertyAction to access the properties and -- more importantly
> > to me -- it also greatly simplifies class initialization
> > dependencies (currently, every class that requires access to the
> > system properties sucks in a huge dependency (java.lang.System,
> > SecurityManager and who knows what else).
> >
> > The obvious downside is that we'd really need to get serious about
> > preventing untrusted code access to the gnu.classpath.* package.
> >
> > Any thoughts, comments or objections?
>=20
> I'm all for simplifying and generalizing code but how do you want to=20
> implement this in a secure way ?

I'm not sure yet. I think it would require VM support to make the
gnu.classpath package special (e.g. in that it can only be accessed by
code loaded by the bootstrap class loader).

> Any working code written for it yet ?

Not yet, I wanted to know how others feel about it before spending too
much time on it. If there isn't too much opposition I'll prototype it to
see how it works.

Regards,
Jeroen



From MAILER-DAEMON Thu Oct 07 05:13:58 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFULW-0006vz-0J
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 05:13:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFUJl-0006jV-Qp
	for classpath@gnu.org; Thu, 07 Oct 2004 05:12:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFUJc-0006ix-Lk
	for classpath@gnu.org; Thu, 07 Oct 2004 05:12:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFUJb-0006ih-Fe
	for classpath@gnu.org; Thu, 07 Oct 2004 05:12:00 -0400
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFUCc-000104-SD
	for classpath@gnu.org; Thu, 07 Oct 2004 05:04:48 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-132.ewetel.net
	[80.228.93.132])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i9794acK027712;
	Thu, 7 Oct 2004 11:04:36 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CFUPd-0000sM-7y; Thu, 07 Oct 2004 11:18:13 +0200
From: Michael Koch <konqueror@gmx.de>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Thu, 7 Oct 2004 11:11:07 +0200
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA687DC2@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DC2@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200410071111.07259.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 09:13:56 -0000

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Donnerstag, 7. Oktober 2004 10:43 schrieb Jeroen Frijters:
> Michael Koch wrote:
> > Am Donnerstag, 7. Oktober 2004 10:26 schrieb Jeroen Frijters:
> > > I would like to propose to move the system properties to a
> > > public class in the gnu.classpath package. This removes the
> > > need to use GetPropertyAction to access the properties and --
> > > more importantly to me -- it also greatly simplifies class
> > > initialization dependencies (currently, every class that
> > > requires access to the system properties sucks in a huge
> > > dependency (java.lang.System, SecurityManager and who knows
> > > what else).
> > >
> > > The obvious downside is that we'd really need to get serious
> > > about preventing untrusted code access to the gnu.classpath.*
> > > package.
> > >
> > > Any thoughts, comments or objections?
> >
> > I'm all for simplifying and generalizing code but how do you want
> > to implement this in a secure way ?
>
> I'm not sure yet. I think it would require VM support to make the
> gnu.classpath package special (e.g. in that it can only be accessed
> by code loaded by the bootstrap class loader).

Is this really a good idea ?


Michael
=2D --=20
Homepage: http://www.worldforge.org/
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBZQgrWSOgCCdjSDsRAtTUAJwOwmGThPRb6abwxdnyll4xHd/l/ACeJVP9
NX85kNlX8fLYJ+/URAEUyR0=3D
=3DZl/U
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Thu Oct 07 05:39:19 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFUk3-00078u-60
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 05:39:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFUjr-000754-7m
	for classpath@gnu.org; Thu, 07 Oct 2004 05:39:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFUjp-00074S-UB
	for classpath@gnu.org; Thu, 07 Oct 2004 05:39:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFUjl-00074E-34
	for classpath@gnu.org; Thu, 07 Oct 2004 05:39:02 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFUct-0004qt-9a
	for classpath@gnu.org; Thu, 07 Oct 2004 05:31:55 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 7 Oct 2004 11:31:51 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA687DC7@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSsTO3rsXDwvdO7SJmv1fwqYgzBYAAAusmQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>
Cc: classpath@gnu.org
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 09:39:12 -0000

Michael Koch wrote:
> > I'm not sure yet. I think it would require VM support to make the
> > gnu.classpath package special (e.g. in that it can only be accessed
> > by code loaded by the bootstrap class loader).
>=20
> Is this really a good idea ?

I think so, but I knew it might be controversial, so that's why I posted
before doing anything.

Regards,
Jeroen



From MAILER-DAEMON Thu Oct 07 05:59:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFV3D-0003ZN-E3
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 05:59:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFV3A-0003Yu-98
	for classpath@gnu.org; Thu, 07 Oct 2004 05:59:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFV37-0003Xx-Gc
	for classpath@gnu.org; Thu, 07 Oct 2004 05:59:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFV37-0003Xs-97
	for classpath@gnu.org; Thu, 07 Oct 2004 05:59:01 -0400
Received: from [62.253.162.43] (helo=mta03-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFUvu-0007SL-Jq
	for classpath@gnu.org; Thu, 07 Oct 2004 05:51:34 -0400
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta03-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20041007094941.QEIG25095.mta03-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Thu, 7 Oct 2004 10:49:41 +0100
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i979pKQn012004; Thu, 7 Oct 2004 10:51:21 +0100
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i979pJoU012000;
	Thu, 7 Oct 2004 10:51:19 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16741.4503.491512.312578@cuddles.cambridge.redhat.com>
Date: Thu, 7 Oct 2004 10:51:19 +0100
From: Andrew Haley <aph@redhat.com>
To: Robert Schuster <theBohemian@gmx.net>
In-Reply-To: <416481D1.8080605@gmx.net>
References: <20041001145615.3FF712F7CB@mx.physto.se>
	<1096732698.27520.32.camel@qcplx01.physto.se>
	<41627390.4040603@kaffe.org> <4162D8A4.5040500@netreach.com>
	<4164341C.3000701@kaffe.org> <416481D1.8080605@gmx.net>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 09:59:05 -0000

Robert Schuster writes:
 > Hi
 > 
 > >
 > >  I've done the same comparison 6 weeks ago with Tom Tromey, and we 
 > > were at 75% back then.
 > >
 > > 5 % in 6 weeks. 20 % to go. You do the math. :)
 > 
 > I am excited too but on the other hand I worry about a lot bugs popping 
 > up ...
 > 
 > Has anyone seen that one: 
 > http://savannah.gnu.org/bugs/?func=detailitem&item_id=10491
 > I recently discovered it while writing some test files for the 
 > XMLDecoder I am working on. In an attempt to find the reason I followed 
 > to the C source that does the conversion (java_lang_Double.c) and its 
 > obvious to me that the code does not care about the special values: 
 > [+-]NaN, [+-]Infinity

What is really wrong here?  The bug has no test case, and doesn't
really explain.

Andrew.



From MAILER-DAEMON Thu Oct 07 09:11:54 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFY3m-0003TD-Nj
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 09:11:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFY3i-0003R5-Dx
	for classpath@gnu.org; Thu, 07 Oct 2004 09:11:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFY3h-0003QZ-GC
	for classpath@gnu.org; Thu, 07 Oct 2004 09:11:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFY3h-0003QB-97
	for classpath@gnu.org; Thu, 07 Oct 2004 09:11:49 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CFXw8-0002Gz-Fp; Thu, 07 Oct 2004 09:04:00 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Thu, 7 Oct 2004 09:07:31 -0400
Message-ID: <41653EB4.10309@netreach.com>
Date: Thu, 07 Oct 2004 09:03:48 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040912)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Casey Marshall <csm@gnu.org>
References: <20041001145615.3FF712F7CB@mx.physto.se>	<1096732698.27520.32.camel@qcplx01.physto.se>	<41627390.4040603@kaffe.org>
	<4162D8A4.5040500@netreach.com>	<4164341C.3000701@kaffe.org>
	<416481D1.8080605@gmx.net> <87acuzl3cc.fsf@gnu.org>
In-Reply-To: <87acuzl3cc.fsf@gnu.org>
X-Enigmail-Version: 0.85.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 07 Oct 2004 13:07:31.0949 (UTC)
	FILETIME=[9AF739D0:01C4AC6E]
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 13:11:51 -0000

Casey Marshall wrote:
> That might turn out to be the longest 6 months ever, since Classpath
> is still missing the badly-written web browser and HTML WYSIWYG
> composer (javax.swing.text.html) :)

There's no way to wrap Gecko, KHTML/WebCore or GtkHtml to perform this 
function?

WebCore might be the most promising because AIUI they replaced all the 
Qt dependencies with a toolkit-independent mechanism, which could then 
be implemented as Swing calls. Plus I'm pretty sure the upcoming release 
supports WYSIWYG editing...

(Sure, any of these are likely to be far more powerful and conformant 
than Sun's implementations. But I'm not sure that being "too 
standards-compliant" can be considered a bug...)

Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Thu Oct 07 09:34:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFYPW-00004x-Vc
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 09:34:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFYPV-0008WH-Hs
	for classpath@gnu.org; Thu, 07 Oct 2004 09:34:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFYPT-0008Vf-R9
	for classpath@gnu.org; Thu, 07 Oct 2004 09:34:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFYPT-0008V9-D4
	for classpath@gnu.org; Thu, 07 Oct 2004 09:34:19 -0400
Received: from [130.237.205.63] (helo=mx.physto.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFYIJ-0005fH-Na
	for classpath@gnu.org; Thu, 07 Oct 2004 09:26:55 -0400
Received: from localhost (localhost [127.0.0.1])
	by mx.physto.se (Postfix) with ESMTP id 1B0231F7163;
	Thu,  7 Oct 2004 15:26:53 +0200 (CEST)
Received: from mx.physto.se ([127.0.0.1])
	by localhost (syslx05.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 09020-08; Thu,  7 Oct 2004 15:26:44 +0200 (CEST)
Received: from [130.242.128.121] (qcplx01.physto.se [130.242.128.121])
	by mx.physto.se (Postfix) with ESMTP id 38D661F7161;
	Thu,  7 Oct 2004 15:26:44 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: classpath@gnu.org
In-Reply-To: <20041007095538.CB48E3087B@mx.physto.se>
References: <20041007095538.CB48E3087B@mx.physto.se>
Content-Type: text/plain
Message-Id: <1097155574.16406.16.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Thu, 07 Oct 2004 15:26:14 +0200
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at physto.se
Cc: 
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 13:34:21 -0000

Andrew Haley writes:
>> Has anyone seen that one: 
>> http://savannah.gnu.org/bugs/?func=detailitem&item_id=10491
>> I recently discovered it while writing some test files for the 
>> XMLDecoder I am working on. In an attempt to find the reason I
followed 
>> to the C source that does the conversion (java_lang_Double.c) and its
>> obvious to me that the code does not care about the special values: 
>> [+-]NaN, [+-]Infinity

>What is really wrong here?  The bug has no test case, and doesn't
>really explain.

I think he's talking about Double.parseDouble(), an input string of
"NaN" should return a NaN double. Now, it throws an exception.

One-liner: 
System.out.println(Double.parseDouble("NaN"));

Although, personally.. I'm not so sure of re-writing it in Java. Seems
like overkill for a relatively trivial bug. 
(Of course, you could have both too, and add a build-time option. )

/Sven




From MAILER-DAEMON Thu Oct 07 09:52:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFYgy-0000AV-Er
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 09:52:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFYgv-00009u-PF
	for classpath@gnu.org; Thu, 07 Oct 2004 09:52:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFYgu-000094-1g
	for classpath@gnu.org; Thu, 07 Oct 2004 09:52:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFYgt-00008W-Ok
	for classpath@gnu.org; Thu, 07 Oct 2004 09:52:19 -0400
Received: from [209.225.28.211] (helo=mxsf11.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFYZu-0000Kg-Qy
	for classpath@gnu.org; Thu, 07 Oct 2004 09:45:06 -0400
Received: from mxip10.cluster1.charter.net (mxip10a.cluster1.charter.net
	[209.225.28.140])
	by mxsf11.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i97Dj3RP023790
	for <classpath@gnu.org>; Thu, 7 Oct 2004 09:45:04 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip10.cluster1.charter.net with ESMTP; 07 Oct 2004 09:45:04 -0400
X-Ironport-AV: i="3.85,129,1094443200"; 
	d="scan'208"; a="319526861:sNHT27691240"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA82604;
	Thu, 7 Oct 2004 08:35:40 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i97DZdfX013337; 
	Thu, 7 Oct 2004 08:35:39 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i97DZdl9013336;
	Thu, 7 Oct 2004 08:35:39 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410071335.i97DZdl9013336@arch20m.dellroad.org>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DC2@LEMBU.sumatrasoftware.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
Date: Thu, 7 Oct 2004 08:35:38 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org, Michael Koch <konqueror@gmx.de>
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 13:52:22 -0000

Jeroen Frijters wrote:
> I'm not sure yet. I think it would require VM support to make the
> gnu.classpath package special (e.g. in that it can only be accessed by
> code loaded by the bootstrap class loader).

If some kind of hack like this is required, I'd rather it not be
the VM's job to implement it. Instead, do it in classpath native code.
I don't think it's "right" to force all VMs to have such a hack when
it's not necessary.

For example, leave gnu.classpath non-public or whatever, then add
a package-access native method in java.lang.VMFoo that uses native
code to violate the normal access restrictions, allowing access to
gnu.classpath "remotely".

-Archie

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



From MAILER-DAEMON Thu Oct 07 10:07:01 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFYv6-0005qp-Tm
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 10:07:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFYv4-0005qX-Jq
	for classpath@gnu.org; Thu, 07 Oct 2004 10:06:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFYv3-0005q2-HC
	for classpath@gnu.org; Thu, 07 Oct 2004 10:06:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFYv3-0005pa-92
	for classpath@gnu.org; Thu, 07 Oct 2004 10:06:57 -0400
Received: from [212.6.122.18] (helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFYng-0002YE-VL
	for classpath@gnu.org; Thu, 07 Oct 2004 09:59:21 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-132.ewetel.net
	[80.228.93.132])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id i97DxGfX002683;
	Thu, 7 Oct 2004 15:59:16 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CFZ0o-0003d0-4D; Thu, 07 Oct 2004 16:12:54 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Thu, 7 Oct 2004 16:05:46 +0200
User-Agent: KMail/1.6.2
References: <200410071335.i97DZdl9013336@arch20m.dellroad.org>
In-Reply-To: <200410071335.i97DZdl9013336@arch20m.dellroad.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200410071605.46377.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 14:06:58 -0000

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Donnerstag, 7. Oktober 2004 15:35 schrieb Archie Cobbs:
> Jeroen Frijters wrote:
> > I'm not sure yet. I think it would require VM support to make the
> > gnu.classpath package special (e.g. in that it can only be
> > accessed by code loaded by the bootstrap class loader).
>
> If some kind of hack like this is required, I'd rather it not be
> the VM's job to implement it. Instead, do it in classpath native
> code. I don't think it's "right" to force all VMs to have such a
> hack when it's not necessary.
>
> For example, leave gnu.classpath non-public or whatever, then add
> a package-access native method in java.lang.VMFoo that uses native
> code to violate the normal access restrictions, allowing access to
> gnu.classpath "remotely".

Personally I'm against both types of such hacks. The current solution=20
probably duplicates some code but it easy to understand, needs no=20
hacks and extra support from the VMs.


Michael
=2D --=20
Homepage: http://www.worldforge.org/
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBZU06WSOgCCdjSDsRAoxnAJ0Z67ss7xQ+gS5PaujeoGlJAwk7PgCeNuU/
gPdDaHTTwdE9vi2zKyGVgDg=3D
=3De9Da
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Thu Oct 07 10:13:25 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFZ1J-0008FJ-Ms
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 10:13:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFZ1H-0008Ev-SW
	for classpath@gnu.org; Thu, 07 Oct 2004 10:13:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFZ1H-0008Ea-8Y
	for classpath@gnu.org; Thu, 07 Oct 2004 10:13:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFZ1H-0008EL-5d
	for classpath@gnu.org; Thu, 07 Oct 2004 10:13:23 -0400
Received: from [62.253.162.42] (helo=mta02-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFYu6-0003Xn-1E
	for classpath@gnu.org; Thu, 07 Oct 2004 10:05:58 -0400
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta02-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20041007140403.HQED24841.mta02-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Thu, 7 Oct 2004 15:04:03 +0100
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i97E5sQn013058; Thu, 7 Oct 2004 15:05:54 +0100
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i97E5r2A013054;
	Thu, 7 Oct 2004 15:05:53 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16741.19777.22791.617784@cuddles.cambridge.redhat.com>
Date: Thu, 7 Oct 2004 15:05:53 +0100
From: Andrew Haley <aph@redhat.com>
To: Sven de Marothy <sven@physto.se>
In-Reply-To: <1097155574.16406.16.camel@qcplx01.physto.se>
References: <20041007095538.CB48E3087B@mx.physto.se>
	<1097155574.16406.16.camel@qcplx01.physto.se>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath@gnu.org
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 14:13:24 -0000

Sven de Marothy writes:
 > Andrew Haley writes:
 > >> Has anyone seen that one: 
 > >> http://savannah.gnu.org/bugs/?func=detailitem&item_id=10491
 > >> I recently discovered it while writing some test files for the 
 > >> XMLDecoder I am working on. In an attempt to find the reason I
 > followed 
 > >> to the C source that does the conversion (java_lang_Double.c) and its
 > >> obvious to me that the code does not care about the special values: 
 > >> [+-]NaN, [+-]Infinity
 > 
 > >What is really wrong here?  The bug has no test case, and doesn't
 > >really explain.
 > 
 > I think he's talking about Double.parseDouble(), an input string of
 > "NaN" should return a NaN double. Now, it throws an exception.
 > 
 > One-liner: 
 > System.out.println(Double.parseDouble("NaN"));

I see.

 > Although, personally.. I'm not so sure of re-writing it in Java. Seems
 > like overkill for a relatively trivial bug. 

Yes.  Also, the fdlibm code we use at the moment is of high quality.
It seems anything we write afresh will be more buggy, at least to
start with.

Andrew.



From MAILER-DAEMON Thu Oct 07 10:16:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFZ4B-0000dk-BR
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 10:16:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFZ49-0000bq-3o
	for classpath@gnu.org; Thu, 07 Oct 2004 10:16:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFZ47-0000ao-JS
	for classpath@gnu.org; Thu, 07 Oct 2004 10:16:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFZ47-0000aZ-Fz
	for classpath@gnu.org; Thu, 07 Oct 2004 10:16:19 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFYxK-00043c-Vr
	for classpath@gnu.org; Thu, 07 Oct 2004 10:09:19 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 7 Oct 2004 16:09:14 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687DE4@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSsdhjMsitpkEw5SvablVyE1pIXOgAAAXnA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>,
	<classpath@gnu.org>
Cc: 
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 14:16:21 -0000

Michael Koch wrote:
> Personally I'm against both types of such hacks. The current solution=20
> probably duplicates some code but it easy to understand, needs no=20
> hacks and extra support from the VMs.

I don't think the current solution is easy to understand. The library
initialization bootstrapping is quite complex because many classes
require access to the system properties and currently that forces
java.lang.System to be touched (which in turn constructs
System.in/out/err and that sets off more static initializers).

This is not just a theoretical issue for me. IKVM is very different from
most VMs in this respect. I don't have a well defined place to
initialize the library, any class can be the first to be used by client
code.

In most cases this works fine, except for some scenarios where
gnu.java.io.EncodingManager is initialized before java.lang.System, then
it fails because of a cyclic dependency.

Regards,
Jeroen



From MAILER-DAEMON Thu Oct 07 10:24:27 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFZBz-0004Si-8e
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 10:24:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFZBw-0004Q7-MF
	for classpath@gnu.org; Thu, 07 Oct 2004 10:24:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFZBv-0004Om-CU
	for classpath@gnu.org; Thu, 07 Oct 2004 10:24:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFZBv-0004Oe-A1
	for classpath@gnu.org; Thu, 07 Oct 2004 10:24:23 -0400
Received: from [130.237.205.63] (helo=mx.physto.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFZ54-0005M1-BR
	for classpath@gnu.org; Thu, 07 Oct 2004 10:17:18 -0400
Received: from localhost (localhost [127.0.0.1])
	by mx.physto.se (Postfix) with ESMTP id 6847A1F7163;
	Thu,  7 Oct 2004 16:17:17 +0200 (CEST)
Received: from mx.physto.se ([127.0.0.1])
	by localhost (syslx05.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 11654-05; Thu,  7 Oct 2004 16:17:15 +0200 (CEST)
Received: from [130.242.128.121] (qcplx01.physto.se [130.242.128.121])
	by mx.physto.se (Postfix) with ESMTP id 99D111F7161;
	Thu,  7 Oct 2004 16:17:14 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: Andrew Haley <aph@redhat.com>
In-Reply-To: <16741.19777.22791.617784@cuddles.cambridge.redhat.com>
References: <20041007095538.CB48E3087B@mx.physto.se>
	<1097155574.16406.16.camel@qcplx01.physto.se>
	<16741.19777.22791.617784@cuddles.cambridge.redhat.com>
Content-Type: text/plain
Message-Id: <1097158604.17680.19.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Thu, 07 Oct 2004 16:16:45 +0200
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at physto.se
Cc: classpath@gnu.org
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 14:24:25 -0000

On Thu, 2004-10-07 at 16:05, Andrew Haley wrote:
> Yes.  Also, the fdlibm code we use at the moment is of high quality.
> It seems anything we write afresh will be more buggy, at least to
> start with.

Actually.. That's where the bug was! :-)
strtod (by ANSI C99) should handle Infinity and NaN.

The problem is the #ifdef on lines 268-273:
#ifdef KISSME_LINUX_USER
  val = strtod (p, &endptr);
#else
  val = _strtod_r (&reent, p, &endptr);
#endif

The former calls the standard library strtod function, the latter
calls the included fdlibm function. 

This appears to be an redundant construct. 
I don't quite see the reason here for using the fdlibm strtod.
So the fix for this would be to just replace this with:

  val = strtod (p, &endptr);

This works. Of course, this might not work on every C compiler. 
But it does work with gcc. 

/Sven




From MAILER-DAEMON Thu Oct 07 10:24:27 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFZBz-0004Sv-Fq
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 10:24:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFZBx-0004Qd-FJ
	for classpath@gnu.org; Thu, 07 Oct 2004 10:24:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFZBw-0004PY-6C
	for classpath@gnu.org; Thu, 07 Oct 2004 10:24:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFZBv-0004Oe-Rd
	for classpath@gnu.org; Thu, 07 Oct 2004 10:24:24 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFZ4u-0005L8-PR
	for classpath@gnu.org; Thu, 07 Oct 2004 10:17:09 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.36 #1
	(Debian)) id 1CFZ4u-0003yj-00
	for <classpath@gnu.org>; Thu, 07 Oct 2004 16:17:08 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian))
	id 1CFZ4q-0003y4-00; Thu, 07 Oct 2004 16:17:04 +0200
Received: from kaffe.org (topic@mpiat2313 [139.19.20.102])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i97EH0uX024291;
	Thu, 7 Oct 2004 16:17:04 +0200 (MEST)
Message-ID: <41654FDB.5020007@kaffe.org>
Date: Thu, 07 Oct 2004 16:16:59 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.6) Gecko/20040413 Debian/1.6-5
X-Accept-Language: en
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <D92197D0A6547B44A1567814F851FA687DE4@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DE4@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org, Michael Koch <konqueror@gmx.de>
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 14:24:25 -0000

Jeroen Frijters wrote:
> Michael Koch wrote:
> 
>>Personally I'm against both types of such hacks. The current solution 
>>probably duplicates some code but it easy to understand, needs no 
>>hacks and extra support from the VMs.
> 
> 
> I don't think the current solution is easy to understand. The library
> initialization bootstrapping is quite complex because many classes
> require access to the system properties and currently that forces
> java.lang.System to be touched (which in turn constructs
> System.in/out/err and that sets off more static initializers).

Couldn't we solve that by splitting off the dealing with properties into 
a static inner class of System instead?

cheers,
dalibor topic



From MAILER-DAEMON Thu Oct 07 10:28:52 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFZGG-0006pr-5g
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 10:28:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFZGE-0006oZ-48
	for classpath@gnu.org; Thu, 07 Oct 2004 10:28:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFZGD-0006o1-Ip
	for classpath@gnu.org; Thu, 07 Oct 2004 10:28:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFZGD-0006nr-En
	for classpath@gnu.org; Thu, 07 Oct 2004 10:28:49 -0400
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFZ98-0005uv-Th
	for classpath@gnu.org; Thu, 07 Oct 2004 10:21:31 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-132.ewetel.net
	[80.228.93.132])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id i97ELS7B004964;
	Thu, 7 Oct 2004 16:21:29 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CFZMI-0003e3-Q0; Thu, 07 Oct 2004 16:35:06 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Thu, 7 Oct 2004 16:27:59 +0200
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA687DE4@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DE4@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410071627.59211.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 14:28:50 -0000

Am Donnerstag, 7. Oktober 2004 16:09 schrieb Jeroen Frijters:
> Michael Koch wrote:
> > Personally I'm against both types of such hacks. The current
> > solution probably duplicates some code but it easy to understand,
> > needs no hacks and extra support from the VMs.
>
> I don't think the current solution is easy to understand. The
> library initialization bootstrapping is quite complex because many
> classes require access to the system properties and currently that
> forces java.lang.System to be touched (which in turn constructs
> System.in/out/err and that sets off more static initializers).
>
> This is not just a theoretical issue for me. IKVM is very different
> from most VMs in this respect. I don't have a well defined place to
> initialize the library, any class can be the first to be used by
> client code.
>
> In most cases this works fine, except for some scenarios where
> gnu.java.io.EncodingManager is initialized before java.lang.System,
> then it fails because of a cyclic dependency.

I don't think adding an extra layer with obscure hacks will make the 
situation better.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Thu Oct 07 10:47:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFZYB-0001cD-6k
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 10:47:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFZY8-0001az-W6
	for classpath@gnu.org; Thu, 07 Oct 2004 10:47:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFZY8-0001aR-Fy
	for classpath@gnu.org; Thu, 07 Oct 2004 10:47:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFZY8-0001aF-CW
	for classpath@gnu.org; Thu, 07 Oct 2004 10:47:20 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CFZRD-0000FU-HK
	for classpath@gnu.org; Thu, 07 Oct 2004 10:40:11 -0400
Received: (qmail 19293 invoked by uid 65534); 7 Oct 2004 14:40:09 -0000
Received: from p213.54.251.188.tisdip.tiscali.de (EHLO [213.54.251.188])
	(213.54.251.188)
	by mail.gmx.net (mp003) with SMTP; 07 Oct 2004 16:40:09 +0200
X-Authenticated: #17532834
Message-ID: <416554D7.5040007@gmx.net>
Date: Thu, 07 Oct 2004 16:38:15 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040930
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <20041007095538.CB48E3087B@mx.physto.se>
	<1097155574.16406.16.camel@qcplx01.physto.se>
In-Reply-To: <1097155574.16406.16.camel@qcplx01.physto.se>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/alternative;
	boundary="------------040700030800070007050706"
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 14:47:21 -0000

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

Hi
the mailer is funny. I got Sven's response to Andrew's mail but not 
Andrew's.

Sven de Marothy wrote:

>Andrew Haley writes:
>  
>
>>>Has anyone seen that one: 
>>>http://savannah.gnu.org/bugs/?func=detailitem&item_id=10491
>>>I recently discovered it while writing some test files for the 
>>>XMLDecoder I am working on. In an attempt to find the reason I
>>>      
>>>
>followed 
>  
>
>>>to the C source that does the conversion (java_lang_Double.c) and its
>>>obvious to me that the code does not care about the special values: 
>>>[+-]NaN, [+-]Infinity
>>>      
>>>
>
>  
>
>>What is really wrong here?  The bug has no test case, and doesn't
>>really explain.
>>    
>>
>
>I think he's talking about Double.parseDouble(), an input string of
>"NaN" should return a NaN double. Now, it throws an exception.
>
>One-liner: 
>System.out.println(Double.parseDouble("NaN"));
>  
>
Sorry, it was late and I was a bit unattentive when writing the bug 
report. I added the base for test cases showing the
defect and what was expected instead now.

>Although, personally.. I'm not so sure of re-writing it in Java. Seems
>like overkill for a relatively trivial bug. 
>(Of course, you could have both too, and add a build-time option. )
>
Having both as a compile time option seems to be in most people's 
interest (IMHO). I could fix the problem in Java and C but dont know how 
to make it
a compile time option. Help?

cu
Robert


--------------040700030800070007050706
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
the mailer is funny. I got Sven's response to Andrew's mail but not
Andrew's.<br>
<br>
Sven de Marothy wrote:
<blockquote cite="mid1097155574.16406.16.camel@qcplx01.physto.se"
 type="cite">
  <pre wrap="">Andrew Haley writes:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">Has anyone seen that one: 
<a class="moz-txt-link-freetext" href="http://savannah.gnu.org/bugs/?func=detailitem&item_id=10491">http://savannah.gnu.org/bugs/?func=detailitem&amp;item_id=10491</a>
I recently discovered it while writing some test files for the 
XMLDecoder I am working on. In an attempt to find the reason I
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->followed 
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">to the C source that does the conversion (java_lang_Double.c) and its
obvious to me that the code does not care about the special values: 
[+-]NaN, [+-]Infinity
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <pre wrap="">What is really wrong here?  The bug has no test case, and doesn't
really explain.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I think he's talking about Double.parseDouble(), an input string of
"NaN" should return a NaN double. Now, it throws an exception.

One-liner: 
System.out.println(Double.parseDouble("NaN"));
  </pre>
</blockquote>
Sorry, it was late and I was a bit unattentive when writing the bug
report. I added the base for test cases showing the<br>
defect and what was expected instead now.<br>
<br>
<blockquote cite="mid1097155574.16406.16.camel@qcplx01.physto.se"
 type="cite">
  <pre wrap="">Although, personally.. I'm not so sure of re-writing it in Java. Seems
like overkill for a relatively trivial bug. 
(Of course, you could have both too, and add a build-time option. )</pre>
</blockquote>
Having both as a compile time option seems to be in most people's
interest (IMHO). I could fix the problem in Java and C but dont know
how to make it<br>
a compile time option. Help?<br>
<br>
cu<br>
Robert<br>
<br>
</body>
</html>

--------------040700030800070007050706--



From MAILER-DAEMON Thu Oct 07 11:09:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFZtU-0000oK-GR
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 11:09:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFZtR-0000nw-VH
	for classpath@gnu.org; Thu, 07 Oct 2004 11:09:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFZtQ-0000nK-Ic
	for classpath@gnu.org; Thu, 07 Oct 2004 11:09:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFZtQ-0000nA-Es
	for classpath@gnu.org; Thu, 07 Oct 2004 11:09:20 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFZme-0003Vi-5i
	for classpath@gnu.org; Thu, 07 Oct 2004 11:02:20 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 7 Oct 2004 17:02:14 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687DE6@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSseTGbnIPQH+u1QWiZTTw7UPjppgABOjzQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>,
	<classpath@gnu.org>
Cc: 
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 15:09:22 -0000

Michael Koch wrote:
> I don't think adding an extra layer with obscure hacks will make the=20
> situation better.

It's not another layer and it's not an obscure hack. Think of it as
fixing one of Java's most glaring design deficiency.

I guess I've been programming in C# for too long (which has an
"internal" access modifier which is basically what we need), to me this
seems like a perfectly obvious thing to do.

Regards,
Jeroen



From MAILER-DAEMON Thu Oct 07 11:09:25 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFZtU-0000oR-NL
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 11:09:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFZtR-0000nx-VY
	for classpath@gnu.org; Thu, 07 Oct 2004 11:09:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFZtQ-0000nV-Oa
	for classpath@gnu.org; Thu, 07 Oct 2004 11:09:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFZtQ-0000nA-JP
	for classpath@gnu.org; Thu, 07 Oct 2004 11:09:20 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFZmd-0003Vi-7U
	for classpath@gnu.org; Thu, 07 Oct 2004 11:02:19 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 7 Oct 2004 17:04:07 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687DE5@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSseJiQrNdKtK3IQ/CogEQqYfWgqwABSllw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Dalibor Topic" <robilad@kaffe.org>
Cc: classpath@gnu.org, Michael Koch <konqueror@gmx.de>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 15:09:23 -0000

Dalibor Topic wrote:
> Couldn't we solve that by splitting off the dealing with=20
> properties into a static inner class of System instead?

That might help a little bit, but it would still require many classes to
initialize to access the properties (because it would have to be
reflection based and use AccessController.doPrivileged).

Regards,
Jeroen



From MAILER-DAEMON Thu Oct 07 11:19:55 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFa3f-0005Qs-5H
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 11:19:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFa3d-0005Qn-Qe
	for classpath@gnu.org; Thu, 07 Oct 2004 11:19:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFa3d-0005Qb-DT
	for classpath@gnu.org; Thu, 07 Oct 2004 11:19:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFa3d-0005QY-A0
	for classpath@gnu.org; Thu, 07 Oct 2004 11:19:53 -0400
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFZwQ-0004wf-LB
	for classpath@gnu.org; Thu, 07 Oct 2004 11:12:26 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-132.ewetel.net
	[80.228.93.132])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i97FBpcK007227;
	Thu, 7 Oct 2004 17:11:52 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CFa93-0003n3-O5; Thu, 07 Oct 2004 17:25:29 +0200
From: Michael Koch <konqueror@gmx.de>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Thu, 7 Oct 2004 17:18:21 +0200
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA687DE5@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DE5@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410071718.21932.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 15:19:54 -0000

Am Donnerstag, 7. Oktober 2004 17:04 schrieb Jeroen Frijters:
> Dalibor Topic wrote:
> > Couldn't we solve that by splitting off the dealing with
> > properties into a static inner class of System instead?
>
> That might help a little bit, but it would still require many
> classes to initialize to access the properties (because it would
> have to be reflection based and use AccessController.doPrivileged).

Sorry, but as long as I don't see any code and code I can't really 
judge about it. From what you said it seems to me its needs bad hacks 
like special treating of gnu.classpath package in the VM and/or 
native methods to circumvent security. Native methods are not allowed 
everywhere. So this is bad for classpath too.


Michael.
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Thu Oct 07 12:08:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFaoa-0001Nl-5d
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 12:08:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFaoY-0001N0-1e
	for classpath@gnu.org; Thu, 07 Oct 2004 12:08:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFaoW-0001M8-IQ
	for classpath@gnu.org; Thu, 07 Oct 2004 12:08:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFaoW-0001Lu-Dw
	for classpath@gnu.org; Thu, 07 Oct 2004 12:08:20 -0400
Received: from [216.102.199.253] (helo=bothner.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CFahc-0004MH-TH
	for classpath@gnu.org; Thu, 07 Oct 2004 12:01:13 -0400
Received: from [192.168.1.10] ([192.168.1.10]) (authenticated bits=0)
	by bothner.com (8.12.11/8.12.11) with ESMTP id i97GACov028211
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 7 Oct 2004 09:10:17 -0700
Message-ID: <41656841.6010905@bothner.com>
Date: Thu, 07 Oct 2004 09:01:05 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Sven de Marothy <sven@physto.se>
References: <20041007095538.CB48E3087B@mx.physto.se>	<1097155574.16406.16.camel@qcplx01.physto.se>	<16741.19777.22791.617784@cuddles.cambridge.redhat.com>
	<1097158604.17680.19.camel@qcplx01.physto.se>
In-Reply-To: <1097158604.17680.19.camel@qcplx01.physto.se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 16:08:22 -0000

Sven de Marothy wrote:

> Actually.. That's where the bug was! :-)
> strtod (by ANSI C99) should handle Infinity and NaN.
> 
> The problem is the #ifdef on lines 268-273:
> #ifdef KISSME_LINUX_USER
>   val = strtod (p, &endptr);
> #else
>   val = _strtod_r (&reent, p, &endptr);
> #endif
> 
> The former calls the standard library strtod function, the latter
> calls the included fdlibm function. 
> 
> This appears to be an redundant construct. 
> I don't quite see the reason here for using the fdlibm strtod.
> So the fix for this would be to just replace this with:
> 
>   val = strtod (p, &endptr);
> 
> This works. Of course, this might not work on every C compiler. 
> But it does work with gcc. 

The general reason for the _r forms of various functions is that
the non-_r forms aren't reentrant - i.e. threadsafe.  I don'tknow
why/if that is an issue for strtod.

That other issue is that system strtod may not be accurate.
Note that parseDouble is required to return the *closest*
double.  This is a difficult requirement to meet, and cannot be done
by simple (i.e. traditional) implementations.

If the strtod in glibc is threadsafe *and* accurate, then we should
probably use it, at least as a default.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



From MAILER-DAEMON Thu Oct 07 12:52:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFbVO-0001sF-99
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 12:52:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFbVC-0001q6-4G
	for classpath@gnu.org; Thu, 07 Oct 2004 12:52:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFbV9-0001oy-2W
	for classpath@gnu.org; Thu, 07 Oct 2004 12:52:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFbV8-0001oU-Sj
	for classpath@gnu.org; Thu, 07 Oct 2004 12:52:22 -0400
Received: from [63.249.108.128] (helo=unmodern.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFbOA-0002Uj-M6
	for classpath@gnu.org; Thu, 07 Oct 2004 12:45:10 -0400
Received: by unmodern.net (Postfix, from userid 1000)
	id EFED839; Thu,  7 Oct 2004 09:45:06 -0700 (PDT)
To: Stuart Ballard <sballard@netreach.com>
References: <20041001145615.3FF712F7CB@mx.physto.se>
	<1096732698.27520.32.camel@qcplx01.physto.se>
	<41627390.4040603@kaffe.org> <4162D8A4.5040500@netreach.com>
	<4164341C.3000701@kaffe.org> <416481D1.8080605@gmx.net>
	<87acuzl3cc.fsf@gnu.org> <41653EB4.10309@netreach.com>
From: Casey Marshall <csm@gnu.org>
Date: Thu, 07 Oct 2004 09:45:06 -0700
In-Reply-To: <41653EB4.10309@netreach.com> (Stuart Ballard's message of
	"Thu, 07 Oct 2004 09:03:48 -0400")
Message-ID: <87lleio4tp.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 16:52:28 -0000

>>>>> "Stuart" == Stuart Ballard <sballard@netreach.com> writes:

Stuart> Casey Marshall wrote:

>> That might turn out to be the longest 6 months ever, since Classpath
>> is still missing the badly-written web browser and HTML WYSIWYG
>> composer (javax.swing.text.html) :)

Stuart> There's no way to wrap Gecko, KHTML/WebCore or GtkHtml to
Stuart> perform this function?

That might be a good idea, even though it would go against my earlier
statement about pure-java reference implementations.

But, I don't think most people are interested in a Java reference
implementation of a web browser as much as they are the real core of
the language, and the engineering effort involved in creating one
would be monumental.

Stuart> WebCore might be the most promising because AIUI they replaced
Stuart> all the Qt dependencies with a toolkit-independent mechanism,
Stuart> which could then be implemented as Swing calls. Plus I'm
Stuart> pretty sure the upcoming release supports WYSIWYG editing...

Stuart> (Sure, any of these are likely to be far more powerful and
Stuart> conformant than Sun's implementations. But I'm not sure that
Stuart> being "too standards-compliant" can be considered a bug...)

JBoss developers might disagree with you...

-- 
Casey Marshall || csm@gnu.org



From MAILER-DAEMON Thu Oct 07 12:57:58 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFbaY-0003L7-BN
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 12:57:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFbaW-0003Ko-H6
	for classpath@gnu.org; Thu, 07 Oct 2004 12:57:56 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFbaV-0003KN-Lo
	for classpath@gnu.org; Thu, 07 Oct 2004 12:57:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFbaV-0003K6-FV
	for classpath@gnu.org; Thu, 07 Oct 2004 12:57:55 -0400
Received: from [193.74.71.21] (helo=xizor.is.scarlet.be)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CFbTb-00040V-0m; Thu, 07 Oct 2004 12:50:47 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by xizor.is.scarlet.be  with ESMTP id i97GogK06271; 
	Thu, 7 Oct 2004 18:50:42 +0200
From: Chris Gray <chris.gray@kiffer.be>
Organization: /k/ Embedded Java Systems
To: "Jeroen Frijters" <jeroen@sumatra.nl>, "Casey Marshall" <csm@gnu.org>,
	"Robert Schuster" <theBohemian@gmx.net>
Date: Thu, 7 Oct 2004 19:02:27 +0200
User-Agent: KMail/1.5.4
References: <D92197D0A6547B44A1567814F851FA687DBB@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DBB@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200410071902.27124.chris.gray@kiffer.be>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 16:57:56 -0000

On Thursday 07 October 2004 09:43, Jeroen Frijters wrote:
> Casey Marshall wrote:
> > Robert> After spending some time on ideas to fix this the following
> > Robert> came to my mind:
> > Robert> a) do the NaN,Infinity in Java and the rest in C
> > Robert> b) do both in C because its faster
> > Robert> c) provide a pure Java and a pure C version, making
> > Robert> JNode/... and real VMs equally happy
> >
> > I am a fan of (c), and in general I like it better if there is a pure
> > Java version first. I also don't tend to blindly believe that a C
> > version will be universally faster.
> > [...]
> Hear! Hear!
>
> (Sorry not to add anything meaningful, but I just had to voice my
> support.)

ME3

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




From MAILER-DAEMON Thu Oct 07 15:24:53 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFdsi-0005zj-PM
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 15:24:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFdsh-0005za-7n
	for classpath@gnu.org; Thu, 07 Oct 2004 15:24:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFdsg-0005zG-Ki
	for classpath@gnu.org; Thu, 07 Oct 2004 15:24:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFdsg-0005z6-GR
	for classpath@gnu.org; Thu, 07 Oct 2004 15:24:50 -0400
Received: from [130.237.205.63] (helo=mx.physto.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFdlh-0000oR-Iu
	for classpath@gnu.org; Thu, 07 Oct 2004 15:17:37 -0400
Received: from localhost (localhost [127.0.0.1])
	by mx.physto.se (Postfix) with ESMTP id AA5251F7163;
	Thu,  7 Oct 2004 21:17:35 +0200 (CEST)
Received: from mx.physto.se ([127.0.0.1])
	by localhost (syslx05.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 09020-09; Thu,  7 Oct 2004 21:17:34 +0200 (CEST)
Received: from [130.242.128.121] (qcplx01.physto.se [130.242.128.121])
	by mx.physto.se (Postfix) with ESMTP id A268F1F7161;
	Thu,  7 Oct 2004 21:17:34 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: Per Bothner <per@bothner.com>
In-Reply-To: <41656841.6010905@bothner.com>
References: <20041007095538.CB48E3087B@mx.physto.se>
	<1097155574.16406.16.camel@qcplx01.physto.se>
	<16741.19777.22791.617784@cuddles.cambridge.redhat.com>
	<1097158604.17680.19.camel@qcplx01.physto.se>
	<41656841.6010905@bothner.com>
Content-Type: text/plain
Message-Id: <1097176624.5761.26.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Thu, 07 Oct 2004 21:17:04 +0200
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at physto.se
Cc: classpath@gnu.org
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 19:24:51 -0000

On Thu, 2004-10-07 at 18:01, Per Bothner wrote:
> That other issue is that system strtod may not be accurate.
> Note that parseDouble is required to return the *closest*
> double.  This is a difficult requirement to meet, and cannot be done
> by simple (i.e. traditional) implementations.

Which is also a good argument against re-implementing it, unless we have
to. Apparently the strtod.c file in gcj/classpath is not actually from
fdlibm but rather from newlib. 

> If the strtod in glibc is threadsafe *and* accurate, then we should
> probably use it, at least as a default.

Dalibor Topic said on IRC that it has some problems on Irix. So it might
not be a good idea. So perhaps adding a special case would be best, or
you could solve it upstream by adding support for NaN and infinity to
newlib.

/Sven




From MAILER-DAEMON Thu Oct 07 16:37:26 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFf0w-00033x-AV
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 16:37:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFf0t-00033a-AS
	for classpath@gnu.org; Thu, 07 Oct 2004 16:37:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFf0s-00033H-JI
	for classpath@gnu.org; Thu, 07 Oct 2004 16:37:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFf0s-00033E-GO
	for classpath@gnu.org; Thu, 07 Oct 2004 16:37:22 -0400
Received: from [209.225.28.209] (helo=mxsf09.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFetx-0002jg-9F
	for classpath@gnu.org; Thu, 07 Oct 2004 16:30:13 -0400
Received: from mxip16.cluster1.charter.net (mxip16a.cluster1.charter.net
	[209.225.28.146])
	by mxsf09.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i97KU5Tx027628
	for <classpath@gnu.org>; Thu, 7 Oct 2004 16:30:07 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip16.cluster1.charter.net with ESMTP; 07 Oct 2004 16:30:04 -0400
X-Ironport-AV: i="3.85,129,1094443200"; 
	d="scan'208"; a="401067762:sNHT12843168"
Received: from arch20m.dellroad.org ([10.104.180.64])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id PAA86379;
	Thu, 7 Oct 2004 15:18:05 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i97KI2wJ002004; 
	Thu, 7 Oct 2004 15:18:02 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i97KI2c3002003;
	Thu, 7 Oct 2004 15:18:02 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410072018.i97KI2c3002003@arch20m.dellroad.org>
In-Reply-To: <1097176624.5761.26.camel@qcplx01.physto.se>
To: Sven de Marothy <sven@physto.se>
Date: Thu, 7 Oct 2004 15:18:02 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: Per Bothner <per@bothner.com>, classpath@gnu.org
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 20:37:23 -0000

Sven de Marothy wrote:
> > If the strtod in glibc is threadsafe *and* accurate, then we should
> > probably use it, at least as a default.
> 
> Dalibor Topic said on IRC that it has some problems on Irix. So it might
> not be a good idea. So perhaps adding a special case would be best, or
> you could solve it upstream by adding support for NaN and infinity to
> newlib.

Not everybody uses Linux, so what glibc does is not entirely relevant..

I'd prefer a 100% Java implementation, but that's probably a lot of work.

-Archie

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



From MAILER-DAEMON Thu Oct 07 17:02:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFfPE-0003gv-NG
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 17:02:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFfPC-0003ge-Or
	for classpath@gnu.org; Thu, 07 Oct 2004 17:02:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFfPC-0003gM-3k
	for classpath@gnu.org; Thu, 07 Oct 2004 17:02:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFfPC-0003gC-0N
	for classpath@gnu.org; Thu, 07 Oct 2004 17:02:30 -0400
Received: from [216.102.199.253] (helo=bothner.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CFfHr-0006DI-GX
	for classpath@gnu.org; Thu, 07 Oct 2004 16:54:55 -0400
Received: from [192.168.1.10] ([192.168.1.10]) (authenticated bits=0)
	by bothner.com (8.12.11/8.12.11) with ESMTP id i97L3r5s030696
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 7 Oct 2004 14:03:54 -0700
Message-ID: <4165AD16.30904@bothner.com>
Date: Thu, 07 Oct 2004 13:54:46 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Archie Cobbs <archie@dellroad.org>
References: <200410072018.i97KI2c3002003@arch20m.dellroad.org>
In-Reply-To: <200410072018.i97KI2c3002003@arch20m.dellroad.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 21:02:30 -0000

Archie Cobbs wrote:

> Sven de Marothy wrote:
> 
>>>If the strtod in glibc is threadsafe *and* accurate, then we should
>>>probably use it, at least as a default.
>>
>>Dalibor Topic said on IRC that it has some problems on Irix. So it might
>>not be a good idea. So perhaps adding a special case would be best, or
>>you could solve it upstream by adding support for NaN and infinity to
>>newlib.
> 
> Not everybody uses Linux, so what glibc does is not entirely relevant..

glibc is the *GNU* C library, so it's obviously not Linux-specific.
Classpath is the *GNU* Java library, so it isn't unreasonable to
optimize for the glibc case.  If on non-glibc platforms floating-point
conversion isn't quite as exact as the spec requires, fixing that is
not a priority.  Of course if somebody wants to work on a more portable
solution, that is great, as lang as it doesn't penalize the glibc case.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



From MAILER-DAEMON Thu Oct 07 18:22:33 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFgee-0006qS-Go
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 18:22:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFgec-0006q4-LT
	for classpath@gnu.org; Thu, 07 Oct 2004 18:22:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFgeb-0006pN-EI
	for classpath@gnu.org; Thu, 07 Oct 2004 18:22:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFgeb-0006pK-B6
	for classpath@gnu.org; Thu, 07 Oct 2004 18:22:29 -0400
Received: from [209.225.28.206] (helo=mxsf06.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFgXQ-0001Vl-RG
	for classpath@gnu.org; Thu, 07 Oct 2004 18:15:05 -0400
Received: from mxip16.cluster1.charter.net (mxip16a.cluster1.charter.net
	[209.225.28.146])
	by mxsf06.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i97MF3xv002518
	for <classpath@gnu.org>; Thu, 7 Oct 2004 18:15:03 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip16.cluster1.charter.net with ESMTP; 07 Oct 2004 18:15:03 -0400
X-Ironport-AV: i="3.85,129,1094443200"; 
	d="scan'208"; a="401357958:sNHT12838684"
Received: from arch20m.dellroad.org ([10.104.180.64])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id RAA87431;
	Thu, 7 Oct 2004 17:00:36 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i97M0UwJ002651; 
	Thu, 7 Oct 2004 17:00:30 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i97M0T8t002650;
	Thu, 7 Oct 2004 17:00:29 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410072200.i97M0T8t002650@arch20m.dellroad.org>
In-Reply-To: <4165AD16.30904@bothner.com>
To: Per Bothner <per@bothner.com>
Date: Thu, 7 Oct 2004 17:00:29 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 22:22:31 -0000

Per Bothner wrote:
> >>>If the strtod in glibc is threadsafe *and* accurate, then we should
> >>>probably use it, at least as a default.
> >>
> >>Dalibor Topic said on IRC that it has some problems on Irix. So it might
> >>not be a good idea. So perhaps adding a special case would be best, or
> >>you could solve it upstream by adding support for NaN and infinity to
> >>newlib.
> > 
> > Not everybody uses Linux, so what glibc does is not entirely relevant..
> 
> glibc is the *GNU* C library, so it's obviously not Linux-specific.
> Classpath is the *GNU* Java library, so it isn't unreasonable to
> optimize for the glibc case.  If on non-glibc platforms floating-point
> conversion isn't quite as exact as the spec requires, fixing that is
> not a priority.  Of course if somebody wants to work on a more portable
> solution, that is great, as lang as it doesn't penalize the glibc case.

Semi-agreed.. I just don't like having dependencies on non-standard
features. E.g., if POSIX specifies that strtod() should handle
"NaN", then that's fine. OTOH, if "NaN" is a glibc-only extension
that Classpath relies on, then that's more problematic; it means
Classpath would be broken on all *BSD operating systems for example.

-Archie

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



From MAILER-DAEMON Thu Oct 07 18:48:56 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFh4C-0007a7-4o
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 18:48:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFh4B-0007Zx-Bc
	for classpath@gnu.org; Thu, 07 Oct 2004 18:48:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFh4A-0007ZS-J0
	for classpath@gnu.org; Thu, 07 Oct 2004 18:48:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFh4A-0007ZP-G3
	for classpath@gnu.org; Thu, 07 Oct 2004 18:48:54 -0400
Received: from [132.206.27.50] (helo=deluge.cc.mcgill.ca)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFgxM-0005hM-Nm
	for classpath@gnu.org; Thu, 07 Oct 2004 18:41:52 -0400
Received: from mailscan3.cc.mcgill.ca (mailscan3.CC.McGill.CA [132.216.77.250])
	by deluge.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id i97Mfkh7016224;
	Thu, 7 Oct 2004 18:41:48 -0400 (EDT)
Received: from [142.157.140.253] (wireless140253.Wireless.McGill.CA
	[142.157.140.253])
	by mailscan3.cc.mcgill.ca (8.12.10/8.12.10) with ESMTP id
	i97MfHo9009761; Thu, 7 Oct 2004 18:41:17 -0400 (EDT)
Message-ID: <4165C675.9000507@mail.mcgill.ca>
Date: Thu, 07 Oct 2004 18:43:01 -0400
From: Chris Pickett <chris.pickett@mail.mcgill.ca>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040509)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Archie Cobbs <archie@dellroad.org>
References: <200410072200.i97M0T8t002650@arch20m.dellroad.org>
In-Reply-To: <200410072200.i97M0T8t002650@arch20m.dellroad.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Per Bothner <per@bothner.com>, classpath@gnu.org
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 22:48:55 -0000

Archie Cobbs wrote:
> Per Bothner wrote:
> 
>>>>>If the strtod in glibc is threadsafe *and* accurate, then we should
>>>>>probably use it, at least as a default.
>>>>
>>>>Dalibor Topic said on IRC that it has some problems on Irix. So it might
>>>>not be a good idea. So perhaps adding a special case would be best, or
>>>>you could solve it upstream by adding support for NaN and infinity to
>>>>newlib.
>>>
>>>Not everybody uses Linux, so what glibc does is not entirely relevant..
>>
>>glibc is the *GNU* C library, so it's obviously not Linux-specific.
>>Classpath is the *GNU* Java library, so it isn't unreasonable to
>>optimize for the glibc case.  If on non-glibc platforms floating-point
>>conversion isn't quite as exact as the spec requires, fixing that is
>>not a priority.  Of course if somebody wants to work on a more portable
>>solution, that is great, as lang as it doesn't penalize the glibc case.
> 
> 
> Semi-agreed.. I just don't like having dependencies on non-standard
> features. E.g., if POSIX specifies that strtod() should handle
> "NaN", then that's fine. OTOH, if "NaN" is a glibc-only extension
> that Classpath relies on, then that's more problematic; it means
> Classpath would be broken on all *BSD operating systems for example.

In case it helps:

http://www.opengroup.org/onlinepubs/009695399/functions/strtod.html
http://stevehollasch.com/cgindex/coding/ieeefloat.html

Chris



From MAILER-DAEMON Thu Oct 07 19:45:33 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFhwz-0002NY-K9
	for mharc-classpath@gnu.org; Thu, 07 Oct 2004 19:45:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFhwx-0002Ms-KL
	for classpath@gnu.org; Thu, 07 Oct 2004 19:45:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFhww-0002MC-Cy
	for classpath@gnu.org; Thu, 07 Oct 2004 19:45:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFhww-0002Lu-9N
	for classpath@gnu.org; Thu, 07 Oct 2004 19:45:30 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CFhpA-0005C3-AL
	for classpath@gnu.org; Thu, 07 Oct 2004 19:37:28 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i97Na4nX075158
	for <classpath@gnu.org>; Fri, 8 Oct 2004 09:36:06 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: <classpath@gnu.org>
Date: Fri, 8 Oct 2004 09:36:05 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCKEOCENAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DE4@LEMBU.sumatrasoftware.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2004 23:45:32 -0000

> Jeroen Frijters writes
> I don't think the current solution is easy to understand. The library
> initialization bootstrapping is quite complex because many classes
> require access to the system properties and currently that forces
> java.lang.System to be touched (which in turn constructs
> System.in/out/err and that sets off more static initializers).

That is true. Are you proposing that instead of saying System.getProperty
all the classes using these properties will instead get them from somewhere
else and we will leave System.getProperty for use by application code?

Actually you mention GetPropertyAction in your original mail, but I'm not
familiar with that. What is it?

> This is not just a theoretical issue for me. IKVM is very different from
> most VMs in this respect. I don't have a well defined place to
> initialize the library, any class can be the first to be used by client
> code.
>
> In most cases this works fine, except for some scenarios where
> gnu.java.io.EncodingManager is initialized before java.lang.System, then
> it fails because of a cyclic dependency.

In OVM we basically bit-the-bullet and forced initialization of System first
as that was what the docs implied was needed - and what the basic setup of
Object/System/Runtime tried to do (but see below). However, we found that we
needed to initialize the EncodingManager almost immediately to handle string
literals and that caused access to System.getProperty to fail because we
hadn't reached the stage where System.properties had been set. So we changed
the System initialization code to point System.defaultProperties at
Runtime.defaultProperties and we changed Runtime to point System.properties
at the right place too, until everything could be set the way it was
intended. And just for good measure we had to factor out the setting of the
encoding aliases and set them first.

Because of the above specialization we never adopted the Runtime/VMRuntime
split.

I'd oppose any change that forced us to rework all of what we have done, if
the change only benefited one other VM implementation. Note that is an "if",
I'm not clear exactly what you are proposing so I don't know how it may
benefit other VMs.

Can I also note that the initialization comments in System and Runtime and
Object are now all out of sync and no longer accurate. Since Object no
longer forces initialization of System it would seem as if the whole
"initialize System first" thing has been done away with. Did the person who
removed the static initializer from Object realize this?

Cheers,
David Holmes




From MAILER-DAEMON Fri Oct 08 03:45:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFpR0-0004AU-0z
	for mharc-classpath@gnu.org; Fri, 08 Oct 2004 03:45:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFpQx-0004AK-MR
	for classpath@gnu.org; Fri, 08 Oct 2004 03:44:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFpQw-0004A8-2p
	for classpath@gnu.org; Fri, 08 Oct 2004 03:44:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFpQv-0004A5-Op
	for classpath@gnu.org; Fri, 08 Oct 2004 03:44:57 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFpJl-0006pF-7i
	for classpath@gnu.org; Fri, 08 Oct 2004 03:37:33 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 8 Oct 2004 09:37:29 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687DE9@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSsxxOBr59PAy8+TGWrcbkaVNdJKAAP6H2Q
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>,
	<classpath@gnu.org>
Cc: 
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Oct 2004 07:45:00 -0000

David Holmes wrote:
> > Jeroen Frijters writes
> > I don't think the current solution is easy to understand.=20
> The library
> > initialization bootstrapping is quite complex because many classes
> > require access to the system properties and currently that forces
> > java.lang.System to be touched (which in turn constructs
> > System.in/out/err and that sets off more static initializers).
>=20
> That is true. Are you proposing that instead of saying=20
> System.getProperty all the classes using these properties will
> instead get them from somewhere else and we will leave
> System.getProperty for use by application code?

Exactly. I would like to make this new class public to do away with the
overhead (and initialization dependencies) of the security check, but
that would require some VM magic to make the class inaccessible from
untrusted code. Michael Koch (strongly) opposes this. How would you feel
about it?

> Actually you mention GetPropertyAction in your original mail,=20
> but I'm not familiar with that. What is it?

It lives gnu.java.security.action and is used in combination with
AccessControler.doPrivileged() to make sure that a possibly installed
security manager doesn't object to us getting a property.

> In OVM we basically bit-the-bullet and forced initialization=20
> of System first as that was what the docs implied was needed
> - and what the basic setup of Object/System/Runtime tried to
> do (but see below).

I don't have an efficient way to do that (well, I could push the
responsibility to the user of the library, but that would be lame).

> However, we found that we needed to initialize the EncodingManager
> almost immediately to handle string literals and that caused access
> to System.getProperty to fail because we hadn't reached the stage
> where System.properties had been set. So we changed the System
> initialization code to point System.defaultProperties at
> Runtime.defaultProperties and we changed Runtime to point=20
> System.properties at the right place too, until everything could
> be set the way it was intended. And just for good measure we had
> to factor out the setting of the encoding aliases and set them
> first.
>=20
> Because of the above specialization we never adopted the=20
> Runtime/VMRuntime split.
>=20
> I'd oppose any change that forced us to rework all of what we=20
> have done, if the change only benefited one other VM
> implementation. Note that is an "if", I'm not clear exactly
> what you are proposing so I don't know how it may
> benefit other VMs.

Would you like to work with me to try to refactor the way system
properties are handled to untangle the initialization dependencies and
to allow you to use more Classpath code as-is?

To be clear, I don't want this to be about hacking around partictular
problems. I want to improve the general design of the classes to reduce
any circular dependencies.

> Can I also note that the initialization comments in System=20
> and Runtime and Object are now all out of sync and no longer accurate.

Good point. I don't use Object.java to I hadn't really noticed it.

Regards,
Jeroen



From MAILER-DAEMON Fri Oct 08 03:50:06 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFpVt-0005lU-Sl
	for mharc-classpath@gnu.org; Fri, 08 Oct 2004 03:50:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFpVr-0005kG-31
	for classpath@gnu.org; Fri, 08 Oct 2004 03:50:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFpVo-0005jA-Ea
	for classpath@gnu.org; Fri, 08 Oct 2004 03:50:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFpVo-0005ip-4S
	for classpath@gnu.org; Fri, 08 Oct 2004 03:50:00 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFpOr-0007Ph-3s
	for classpath@gnu.org; Fri, 08 Oct 2004 03:42:49 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i987gFQQ024693;
	Fri, 8 Oct 2004 17:42:15 +1000 (EST)
Message-Id: <200410080742.i987gFQQ024693@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: Message from "Jeroen Frijters" <jeroen@sumatra.nl> of "Fri,
	08 Oct 2004 09:37:29 +0200."
	<D92197D0A6547B44A1567814F851FA687DE9@LEMBU.sumatrasoftware.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 08 Oct 2004 17:42:40 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Spam-Score: 2.818
X-Scanned-By: MIMEDefang 2.39 (DSTC)
Cc: crawley@piglet.dstc.edu.au, classpath@gnu.org
Subject: Re: Moving system properties to gnu.classpath.* 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Oct 2004 07:50:03 -0000


jeroen@sumatra.nl said:
> I would like to make this new class public to do away with the
> overhead (and initialization dependencies) of the security check, but
> that would require some VM magic to make the class inaccessible from
> untrusted code. Michael Koch (strongly) opposes this. How would you
> feel about it?

Speaking as yet another JVM implementor, I'm against this idea for the
reasons given by Michael and others.

Sorry.

-- Steve




From MAILER-DAEMON Fri Oct 08 04:14:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFptf-0003Is-6s
	for mharc-classpath@gnu.org; Fri, 08 Oct 2004 04:14:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFptb-0003H5-Nq
	for classpath@gnu.org; Fri, 08 Oct 2004 04:14:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFptU-0003FY-I0
	for classpath@gnu.org; Fri, 08 Oct 2004 04:14:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFptU-0003FH-5g
	for classpath@gnu.org; Fri, 08 Oct 2004 04:14:28 -0400
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFpmf-0002Cb-Ln
	for classpath@gnu.org; Fri, 08 Oct 2004 04:07:25 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-120.ewetel.net
	[80.228.93.120])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id i9887J7B007573;
	Fri, 8 Oct 2004 10:07:20 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CFpzo-0000ft-EA; Fri, 08 Oct 2004 10:21:00 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Fri, 8 Oct 2004 10:13:47 +0200
User-Agent: KMail/1.6.2
References: <200410080742.i987gFQQ024693@piglet.dstc.edu.au>
In-Reply-To: <200410080742.i987gFQQ024693@piglet.dstc.edu.au>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410081013.47750.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Stephen Crawley <crawley@dstc.edu.au>, crawley@piglet.dstc.edu.au,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Oct 2004 08:14:36 -0000

Am Freitag, 8. Oktober 2004 09:42 schrieb Stephen Crawley:
> jeroen@sumatra.nl said:
> > I would like to make this new class public to do away with the
> > overhead (and initialization dependencies) of the security check,
> > but that would require some VM magic to make the class
> > inaccessible from untrusted code. Michael Koch (strongly) opposes
> > this. How would you feel about it?
>
> Speaking as yet another JVM implementor, I'm against this idea for
> the reasons given by Michael and others.

In order to find a solution would the following be a solution for you: 

public final class VMSecureProperties
{
public String getProperty(String propName, String defaultValue)
{
  GetPropertyAction getProp = new GetPropertyAction(propName, 
defaultValue);
    return (String)AccessController.doPrivileged(getProp);
}
}

This reduces out code duplication and should it make possible to do 
whatever you want inside your VM.

What do you think ?


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Oct 08 04:23:05 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFq1p-0005Eh-0I
	for mharc-classpath@gnu.org; Fri, 08 Oct 2004 04:23:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFq1l-0005EG-MW
	for classpath@gnu.org; Fri, 08 Oct 2004 04:23:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFq1i-0005Dl-Ds
	for classpath@gnu.org; Fri, 08 Oct 2004 04:23:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFq1i-0005DW-1l
	for classpath@gnu.org; Fri, 08 Oct 2004 04:22:58 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFpum-0003Ho-SA
	for classpath@gnu.org; Fri, 08 Oct 2004 04:15:49 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 8 Oct 2004 10:15:44 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687DEB@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcStDhdemEc70SnRQZiR4H435LxzRAAAGMkg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>,
	<classpath@gnu.org>
Cc: Stephen Crawley <crawley@dstc.edu.au>, crawley@piglet.dstc.edu.au
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Oct 2004 08:23:02 -0000

Michael Koch wrote:
> Am Freitag, 8. Oktober 2004 09:42 schrieb Stephen Crawley:
> > jeroen@sumatra.nl said:
> > > I would like to make this new class public to do away with the
> > > overhead (and initialization dependencies) of the security check,
> > > but that would require some VM magic to make the class
> > > inaccessible from untrusted code. Michael Koch (strongly) opposes
> > > this. How would you feel about it?
> >
> > Speaking as yet another JVM implementor, I'm against this idea for
> > the reasons given by Michael and others.
>=20
> In order to find a solution would the following be a solution=20
> for you:=20
>=20
> public final class VMSecureProperties
> {
> public String getProperty(String propName, String defaultValue)
> {
>   GetPropertyAction getProp =3D new GetPropertyAction(propName,=20
> defaultValue);
>     return (String)AccessController.doPrivileged(getProp);
> }
> }
>=20
> This reduces out code duplication and should it make possible to do=20
> whatever you want inside your VM.

This is basically what I proposed, but it is a security hole. Any code
can call VMSecureProperties.getProperty, because it's public (and it
needs to be public because it is accessed from all over Classpath).

However, I just discovered that we don't need a VM hack to shield off
the gnu.classpath package (or whatever package we pick), it is supported
functionality by the VM. Whenenever code tries to access a package and a
security manager is installed, SecurityManager.checkPackageAccess() is
called, so all we need to do is all the gnu.classpath package to the
package.access system property.

Regards,
Jeroen



From MAILER-DAEMON Fri Oct 08 06:13:08 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFrkJ-0006zY-JW
	for mharc-classpath@gnu.org; Fri, 08 Oct 2004 06:13:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFrkG-0006xX-3A
	for classpath@gnu.org; Fri, 08 Oct 2004 06:13:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFrkE-0006wD-LJ
	for classpath@gnu.org; Fri, 08 Oct 2004 06:13:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFrkE-0006vl-F0
	for classpath@gnu.org; Fri, 08 Oct 2004 06:13:02 -0400
Received: from [212.6.122.18] (helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFrdB-0002D0-OR
	for classpath@gnu.org; Fri, 08 Oct 2004 06:05:46 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-120.ewetel.net
	[80.228.93.120])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id i98A5gfX005874;
	Fri, 8 Oct 2004 12:05:43 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CFrqO-0000vE-63; Fri, 08 Oct 2004 12:19:24 +0200
From: Michael Koch <konqueror@gmx.de>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Fri, 8 Oct 2004 12:12:10 +0200
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA687DEB@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DEB@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410081212.10887.konqueror@gmx.de>
X-CheckCompat: OK
Cc: crawley@piglet.dstc.edu.au, Stephen Crawley <crawley@dstc.edu.au>,
	classpath@gnu.org
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Oct 2004 10:13:05 -0000

Am Freitag, 8. Oktober 2004 10:15 schrieb Jeroen Frijters:
> Michael Koch wrote:
> > Am Freitag, 8. Oktober 2004 09:42 schrieb Stephen Crawley:
> > > jeroen@sumatra.nl said:
> > > > I would like to make this new class public to do away with
> > > > the overhead (and initialization dependencies) of the
> > > > security check, but that would require some VM magic to make
> > > > the class inaccessible from untrusted code. Michael Koch
> > > > (strongly) opposes this. How would you feel about it?
> > >
> > > Speaking as yet another JVM implementor, I'm against this idea
> > > for the reasons given by Michael and others.
> >
> > In order to find a solution would the following be a solution
> > for you:
> >
> > public final class VMSecureProperties
> > {
> > public String getProperty(String propName, String defaultValue)
> > {
> >   GetPropertyAction getProp = new GetPropertyAction(propName,
> > defaultValue);
> >     return (String)AccessController.doPrivileged(getProp);
> > }
> > }
> >
> > This reduces out code duplication and should it make possible to
> > do whatever you want inside your VM.
>
> This is basically what I proposed, but it is a security hole. Any
> code can call VMSecureProperties.getProperty, because it's public
> (and it needs to be public because it is accessed from all over
> Classpath).

Sorry, this was a fast hack inside my kmail .... ;-)

> However, I just discovered that we don't need a VM hack to shield
> off the gnu.classpath package (or whatever package we pick), it is
> supported functionality by the VM. Whenenever code tries to access
> a package and a security manager is installed,
> SecurityManager.checkPackageAccess() is called, so all we need to
> do is all the gnu.classpath package to the package.access system
> property.

Provide some code and we will see what comes out of the discussion.
I have to say I wasn't aware of this 
SecurityManager.checkPackageAccess() method before.

Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Oct 08 06:46:22 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFsGT-0006Fi-Tm
	for mharc-classpath@gnu.org; Fri, 08 Oct 2004 06:46:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFsGR-0006FU-W1
	for classpath@gnu.org; Fri, 08 Oct 2004 06:46:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFsGR-0006FA-Au
	for classpath@gnu.org; Fri, 08 Oct 2004 06:46:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFsGR-0006F0-8m
	for classpath@gnu.org; Fri, 08 Oct 2004 06:46:19 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFs9V-0006MH-Ao
	for classpath@gnu.org; Fri, 08 Oct 2004 06:39:14 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CFs93-0001i0-00; Fri, 08 Oct 2004 12:38:41 +0200
From: Mark Wielaard <mark@klomp.org>
To: David Holmes <dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCAEKEENAA.dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCAEKEENAA.dholmes@dltech.com.au>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-NqqosHZrsltLNDujqWK2"
Message-Id: <1097231941.1089.36.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 08 Oct 2004 12:39:01 +0200
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Oct 2004 10:46:20 -0000


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

Hi,

On Tue, 2004-10-05 at 00:54, David Holmes wrote:
> > It got worse the last years. Specs, or at least draft specs would be
> > published publicly without having any click-through license to which
> > people have to consent. There are also some nice counter examples thoug=
h
> > of expert groups doing everything publicly (JSR133 about the memory
> > model, JSR166 about concurrency util classes).
>=20
> Even those "open" JSR's ultimately have a click-through license on the fi=
nal
> spec.

I just looked at these two jsr's and both are not even available through
a click-through. (Strangely enough both just point to the sun 1.5.0
implementation documentation, which as far as I know doesn't include the
specs at all.)
JSR133 is available at http://www.cs.umd.edu/~pugh/java/memoryModel/
JSR166 is available at http://gee.cs.oswego.edu/dl/concurrency-interest/

The JCP also doesn't require the (final) specifications to be provided
under a click-wrap. As these JSR's show it it perfectly fine to publish
the specification, reference implementation and test compatability kit
in the public domain. (Unfortunately, as you point out most JSRs don't
do this at the moment. Please tell specification leads about the option
to do everything in the open.)

> But it does concern me that such unofficial sources would be preferred ov=
er
> the actual specification.

Of course actual specifications are preferred over unofficial sources.
But then the actual specifications have to be available in such a way
that we can be sure that we are free to use them. Also the use of
unofficial sources is often explicitly encouraged since what you might
call the "actual specification" (like the api documentation sun
publishes online) is often not strict enough to describe what is
actually expected. More often than not I have found books published
about various packages are much more in depth than the "official"
specification.

> Further, given Classpath's goals, I don't see how
> it could ever claim to be what it is, without requiring compliance with
> Sun's licenses regarding independent implementations.

I am not sure I am following you here. The given goal of GNU Classpath
is to provide a free implementation of the core class libraries so that
people can use these libraries to create (free) software for the GNU
system. For this we try to be as compatible as we can be while making
sure that the freedoms of the GNU project are preserved. Hopefully we
make this happen while also being 100% compatible with other
implementations.

GNU is not Unix, and GNU Classpath is not (the core) Java (library).
We just don't have a cute acronym to express that.

Cheers,

Mark

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

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

iD8DBQBBZm5FxVhZCJWr9QwRAiWwAKCQKwd6m2vTRc1MKArW7FgVgBCw2ACeLEQ9
ayr9IfjreSYNrVVxQvo6Elw=
=YVBr
-----END PGP SIGNATURE-----

--=-NqqosHZrsltLNDujqWK2--




From MAILER-DAEMON Fri Oct 08 09:33:06 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFurq-0004Ol-7R
	for mharc-classpath@gnu.org; Fri, 08 Oct 2004 09:33:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFuro-0004O8-TI
	for classpath@gnu.org; Fri, 08 Oct 2004 09:33:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFurm-0004N1-Bh
	for classpath@gnu.org; Fri, 08 Oct 2004 09:33:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFurl-0004Mp-P3
	for classpath@gnu.org; Fri, 08 Oct 2004 09:33:01 -0400
Received: from [62.253.162.43] (helo=mta03-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFuk9-00072V-47
	for classpath@gnu.org; Fri, 08 Oct 2004 09:25:09 -0400
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta03-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20041008132315.HMFR25095.mta03-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Fri, 8 Oct 2004 14:23:15 +0100
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i98DOsQn018078; Fri, 8 Oct 2004 14:24:54 +0100
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i98DOqph018072;
	Fri, 8 Oct 2004 14:24:52 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16742.38179.49569.819906@cuddles.cambridge.redhat.com>
Date: Fri, 8 Oct 2004 14:24:51 +0100
From: Andrew Haley <aph@redhat.com>
To: Sven de Marothy <sven@physto.se>
In-Reply-To: <1097176624.5761.26.camel@qcplx01.physto.se>
References: <20041007095538.CB48E3087B@mx.physto.se>
	<1097155574.16406.16.camel@qcplx01.physto.se>
	<16741.19777.22791.617784@cuddles.cambridge.redhat.com>
	<1097158604.17680.19.camel@qcplx01.physto.se>
	<41656841.6010905@bothner.com>
	<1097176624.5761.26.camel@qcplx01.physto.se>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: Per Bothner <per@bothner.com>, classpath@gnu.org
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Oct 2004 13:33:05 -0000

Sven de Marothy writes:
 > On Thu, 2004-10-07 at 18:01, Per Bothner wrote:
 > > That other issue is that system strtod may not be accurate.
 > > Note that parseDouble is required to return the *closest*
 > > double.  This is a difficult requirement to meet, and cannot be done
 > > by simple (i.e. traditional) implementations.
 > 
 > Which is also a good argument against re-implementing it, unless we have
 > to. Apparently the strtod.c file in gcj/classpath is not actually from
 > fdlibm but rather from newlib. 

That's right, it is.  I forgot.

The newlib implementation might be easy to translate into Java, but it
has a rather awkward licence.

Andrew.



From MAILER-DAEMON Fri Oct 08 10:10:56 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CFvSS-0003o2-5C
	for mharc-classpath@gnu.org; Fri, 08 Oct 2004 10:10:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CFvSP-0003mR-JQ
	for classpath@gnu.org; Fri, 08 Oct 2004 10:10:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CFvSO-0003ll-AR
	for classpath@gnu.org; Fri, 08 Oct 2004 10:10:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CFvSO-0003ld-3O
	for classpath@gnu.org; Fri, 08 Oct 2004 10:10:52 -0400
Received: from [209.225.28.225] (helo=mxsf25.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFvHy-0003pv-VV
	for classpath@gnu.org; Fri, 08 Oct 2004 10:00:08 -0400
Received: from mxip03.cluster1.charter.net (mxip03a.cluster1.charter.net
	[209.225.28.133])
	by mxsf25.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i98E042d019528
	for <classpath@gnu.org>; Fri, 8 Oct 2004 10:00:04 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip03.cluster1.charter.net with ESMTP; 08 Oct 2004 10:00:04 -0400
X-Ironport-AV: i="3.85,131,1094443200"; 
	d="scan'208"; a="338264958:sNHT12927972"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA95579;
	Fri, 8 Oct 2004 08:51:07 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i98Dp64V002727; 
	Fri, 8 Oct 2004 08:51:06 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i98Dp366002726;
	Fri, 8 Oct 2004 08:51:03 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410081351.i98Dp366002726@arch20m.dellroad.org>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DE9@LEMBU.sumatrasoftware.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
Date: Fri, 8 Oct 2004 08:51:03 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Oct 2004 14:10:54 -0000

Jeroen Frijters wrote:
> Would you like to work with me to try to refactor the way system
> properties are handled to untangle the initialization dependencies and
> to allow you to use more Classpath code as-is?

I think this is the best solution. If we can eliminate the dependencies
that are making it difficult in the first place, then no hacks are
required in either Classpath or the VM. Not sure if this is possible
or not though..

-Archie

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



From MAILER-DAEMON Sat Oct 09 07:54:57 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGFoP-0000km-PG
	for mharc-classpath@gnu.org; Sat, 09 Oct 2004 07:54:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGFoN-0000h5-Gr
	for classpath@gnu.org; Sat, 09 Oct 2004 07:54:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGFoM-0000gF-NW
	for classpath@gnu.org; Sat, 09 Oct 2004 07:54:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGFoM-0000g3-KF
	for classpath@gnu.org; Sat, 09 Oct 2004 07:54:54 -0400
Received: from [195.121.6.54] (helo=smtp15.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGFhN-000252-M5
	for classpath@gnu.org; Sat, 09 Oct 2004 07:47:41 -0400
Received: from [192.168.253.97] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp15.wxs.nl
	(iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with
	ESMTP id <0I5B005RQFEK47@smtp15.wxs.nl> for classpath@gnu.org; Sat,
	09 Oct 2004 13:47:08 +0200 (CEST)
Date: Sat, 09 Oct 2004 13:50:36 +0200
From: Ewout Prangsma <ewout@prangsma.net>
To: classpath@gnu.org
Message-id: <4167D08C.8000607@prangsma.net>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
Subject: Swing resources
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Oct 2004 11:54:55 -0000

Hi all,

Where can i find the resources used in classpath-swing such as 
icons/DetailsView.gif and other?

Thanks
Ewout



From MAILER-DAEMON Sat Oct 09 08:06:04 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGFzA-0005u5-1z
	for mharc-classpath@gnu.org; Sat, 09 Oct 2004 08:06:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGFz6-0005sc-CO
	for classpath@gnu.org; Sat, 09 Oct 2004 08:06:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGFz3-0005rU-Tr
	for classpath@gnu.org; Sat, 09 Oct 2004 08:05:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGFz3-0005qv-8b
	for classpath@gnu.org; Sat, 09 Oct 2004 08:05:57 -0400
Received: from [212.6.122.16] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGFsB-0004JW-C1
	for classpath@gnu.org; Sat, 09 Oct 2004 07:58:51 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-231.ewetel.net
	[80.228.94.231])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id i99BwnxK020713
	for <classpath@gnu.org>; Sat, 9 Oct 2004 13:58:50 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34) id 1CGG5U-0001RI-OJ
	for classpath@gnu.org; Sat, 09 Oct 2004 14:12:36 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Sat, 9 Oct 2004 14:05:26 +0200
User-Agent: KMail/1.6.2
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200410091405.26505.konqueror@gmx.de>
X-CheckCompat: OK
Subject: CVS broken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Oct 2004 12:06:01 -0000

Hi list,


I have broken CVS with my latest merges. Currently it needs the CAIRO 
headers to compile successfully. If you have CAIRO installed there 
will be no problme, but without. I will sort this out and notice you 
when it builds without CAIRO again.

Thanks for your patience.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Sat Oct 09 08:07:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGG0c-0006XM-PT
	for mharc-classpath@gnu.org; Sat, 09 Oct 2004 08:07:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGFyT-0005iB-TF
	for classpath@gnu.org; Sat, 09 Oct 2004 08:05:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGFxx-0005UL-95
	for classpath@gnu.org; Sat, 09 Oct 2004 08:04:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGFx6-00058X-2C
	for classpath@gnu.org; Sat, 09 Oct 2004 08:03:56 -0400
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGFq5-0003rN-Gc
	for classpath@gnu.org; Sat, 09 Oct 2004 07:56:41 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-231.ewetel.net
	[80.228.94.231])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id i99BuZIV008275;
	Sat, 9 Oct 2004 13:56:36 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CGG3K-0001R7-Jc; Sat, 09 Oct 2004 14:10:22 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Sat, 9 Oct 2004 14:03:12 +0200
User-Agent: KMail/1.6.2
References: <4167D08C.8000607@prangsma.net>
In-Reply-To: <4167D08C.8000607@prangsma.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410091403.12330.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Swing resources
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Oct 2004 12:07:33 -0000

Am Samstag, 9. Oktober 2004 13:50 schrieb Ewout Prangsma:
> Hi all,
>
> Where can i find the resources used in classpath-swing such as
> icons/DetailsView.gif and other?

Where is this used in GNU classpath ?


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Sat Oct 09 08:53:27 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGGj1-00037N-Np
	for mharc-classpath@gnu.org; Sat, 09 Oct 2004 08:53:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGGiz-00034V-GR
	for classpath@gnu.org; Sat, 09 Oct 2004 08:53:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGGiz-000341-0Y
	for classpath@gnu.org; Sat, 09 Oct 2004 08:53:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGGiy-00033o-NY
	for classpath@gnu.org; Sat, 09 Oct 2004 08:53:24 -0400
Received: from [195.121.6.14] (helo=smtp18.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGGc7-0004NE-BB
	for classpath@gnu.org; Sat, 09 Oct 2004 08:46:19 -0400
Received: from [192.168.253.97] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp18.wxs.nl
	(iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with
	ESMTP id <0I5B00HXKI4E4P@smtp18.wxs.nl> for classpath@gnu.org; Sat,
	09 Oct 2004 14:45:50 +0200 (CEST)
Date: Sat, 09 Oct 2004 14:49:18 +0200
From: Ewout Prangsma <ewout@prangsma.net>
In-reply-to: <200410091403.12330.konqueror@gmx.de>
To: Michael Koch <konqueror@gmx.de>
Message-id: <4167DE4E.3080808@prangsma.net>
MIME-version: 1.0
Content-type: multipart/alternative;
	boundary="Boundary_(ID_4FLI6K4p63ztc5rG29mNLQ)"
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
References: <4167D08C.8000607@prangsma.net>
	<200410091403.12330.konqueror@gmx.de>
Cc: classpath@gnu.org
Subject: Re: Swing resources
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Oct 2004 12:53:25 -0000

This is a multi-part message in MIME format.

--Boundary_(ID_4FLI6K4p63ztc5rG29mNLQ)
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT

The UIDefaults of BasicLookAndFeel

Ewout

Michael Koch wrote:

>Am Samstag, 9. Oktober 2004 13:50 schrieb Ewout Prangsma:
>  
>
>>Hi all,
>>
>>Where can i find the resources used in classpath-swing such as
>>icons/DetailsView.gif and other?
>>    
>>
>
>Where is this used in GNU classpath ?
>
>
>Michael
>  
>

--Boundary_(ID_4FLI6K4p63ztc5rG29mNLQ)
Content-type: text/html; charset=ISO-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
The UIDefaults of BasicLookAndFeel<br>
<br>
Ewout<br>
<br>
Michael Koch wrote:
<blockquote cite="mid200410091403.12330.konqueror@gmx.de" type="cite">
  <pre wrap="">Am Samstag, 9. Oktober 2004 13:50 schrieb Ewout Prangsma:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi all,

Where can i find the resources used in classpath-swing such as
icons/DetailsView.gif and other?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Where is this used in GNU classpath ?


Michael
  </pre>
</blockquote>
</body>
</html>

--Boundary_(ID_4FLI6K4p63ztc5rG29mNLQ)--



From MAILER-DAEMON Sat Oct 09 09:44:30 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGHWQ-0006em-Fs
	for mharc-classpath@gnu.org; Sat, 09 Oct 2004 09:44:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGHWO-0006ea-Gi
	for classpath@gnu.org; Sat, 09 Oct 2004 09:44:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGHWN-0006eH-Tx
	for classpath@gnu.org; Sat, 09 Oct 2004 09:44:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGHWN-0006e7-Qg
	for classpath@gnu.org; Sat, 09 Oct 2004 09:44:27 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGHPR-0004Dl-B1
	for classpath@gnu.org; Sat, 09 Oct 2004 09:37:17 -0400
Received: from ext-gw01.feelslikefriday.com ([217.195.237.146]
	helo=[192.168.0.19])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CGHOw-0005iS-00; Sat, 09 Oct 2004 15:36:46 +0200
From: Mark Wielaard <mark@klomp.org>
To: Ewout Prangsma <ewout@prangsma.net>
In-Reply-To: <4167DE4E.3080808@prangsma.net>
References: <4167D08C.8000607@prangsma.net>
	<200410091403.12330.konqueror@gmx.de> <4167DE4E.3080808@prangsma.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-QzzEKZeAdK2l7ctlylZ/"
Message-Id: <1097329026.1173.15.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 09 Oct 2004 15:37:06 +0200
Cc: classpath@gnu.org, Michael Koch <konqueror@gmx.de>
Subject: Re: Swing resources
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Oct 2004 13:44:28 -0000


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

Hi,

On Sat, 2004-10-09 at 14:49, Ewout Prangsma wrote:
> The UIDefaults of BasicLookAndFeel

I cannot remember there ever being such files.
And as the comment says: "XXX Don't use".

Cheers,

Mark

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

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

iD8DBQBBZ+mCxVhZCJWr9QwRAnJ1AJ9wSfLJOJK5lr3GK0CEHoGXEImtZACgqU9r
2rZTV4If7MX3mEwxJduTFBI=
=qEOJ
-----END PGP SIGNATURE-----

--=-QzzEKZeAdK2l7ctlylZ/--




From MAILER-DAEMON Sat Oct 09 10:42:59 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGIR1-0004Q3-7l
	for mharc-classpath@gnu.org; Sat, 09 Oct 2004 10:42:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGIQz-0004Mx-Ax
	for classpath@gnu.org; Sat, 09 Oct 2004 10:42:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGIQy-0004MQ-Qf
	for classpath@gnu.org; Sat, 09 Oct 2004 10:42:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGIQy-0004MH-Mp
	for classpath@gnu.org; Sat, 09 Oct 2004 10:42:56 -0400
Received: from [195.121.6.54] (helo=smtp15.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGIK3-0005lS-4o
	for classpath@gnu.org; Sat, 09 Oct 2004 10:35:47 -0400
Received: from [192.168.253.97] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp15.wxs.nl
	(iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with
	ESMTP id <0I5B005EBN7M47@smtp15.wxs.nl> for classpath@gnu.org; Sat,
	09 Oct 2004 16:35:46 +0200 (CEST)
Date: Sat, 09 Oct 2004 16:39:14 +0200
From: Ewout Prangsma <ewout@prangsma.net>
In-reply-to: <1097329026.1173.15.camel@localhost>
To: Mark Wielaard <mark@klomp.org>
Message-id: <4167F812.9040503@prangsma.net>
MIME-version: 1.0
Content-type: multipart/alternative;
	boundary="Boundary_(ID_Nwmt/tgj/Lj4k/+6R3ebhg)"
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
References: <4167D08C.8000607@prangsma.net>
	<200410091403.12330.konqueror@gmx.de> <4167DE4E.3080808@prangsma.net>
	<1097329026.1173.15.camel@localhost>
Cc: classpath@gnu.org, Michael Koch <konqueror@gmx.de>
Subject: Re: Swing resources
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Oct 2004 14:42:57 -0000

This is a multi-part message in MIME format.

--Boundary_(ID_Nwmt/tgj/Lj4k/+6R3ebhg)
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT

These resources are loaded (or better attempted to load) when Swing 
starts. I've created a workaround in ImageIcon, so that it no longer 
crashes when an NPE when these images are not found.

Ewout

Mark Wielaard wrote:

>Hi,
>
>On Sat, 2004-10-09 at 14:49, Ewout Prangsma wrote:
>  
>
>>The UIDefaults of BasicLookAndFeel
>>    
>>
>
>I cannot remember there ever being such files.
>And as the comment says: "XXX Don't use".
>
>Cheers,
>
>Mark
>  
>

--Boundary_(ID_Nwmt/tgj/Lj4k/+6R3ebhg)
Content-type: text/html; charset=ISO-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
These resources are loaded (or better attempted to load) when Swing
starts. I've created a workaround in ImageIcon, so that it no longer
crashes when an NPE when these images are not found.<br>
<br>
Ewout<br>
<br>
Mark Wielaard wrote:
<blockquote cite="mid1097329026.1173.15.camel@localhost" type="cite">
  <pre wrap="">Hi,

On Sat, 2004-10-09 at 14:49, Ewout Prangsma wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">The UIDefaults of BasicLookAndFeel
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I cannot remember there ever being such files.
And as the comment says: "XXX Don't use".

Cheers,

Mark
  </pre>
</blockquote>
</body>
</html>

--Boundary_(ID_Nwmt/tgj/Lj4k/+6R3ebhg)--



From MAILER-DAEMON Sat Oct 09 10:56:26 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGIe2-0002OF-DS
	for mharc-classpath@gnu.org; Sat, 09 Oct 2004 10:56:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGIe1-0002O6-A0
	for classpath@gnu.org; Sat, 09 Oct 2004 10:56:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGIe0-0002Nf-Gi
	for classpath@gnu.org; Sat, 09 Oct 2004 10:56:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGIe0-0002Nc-DD
	for classpath@gnu.org; Sat, 09 Oct 2004 10:56:24 -0400
Received: from [24.25.9.102] (helo=ms-smtp-03-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGIWj-0007xm-Be
	for classpath@gnu.org; Sat, 09 Oct 2004 10:48:53 -0400
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i99Emkkc022290; Sat, 9 Oct 2004 10:48:46 -0400 (EDT)
From: "C. Brian Jones" <cbj@gnu.org>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1097231941.1089.36.camel@localhost>
References: <NFBBKALFDCPFIDBNKAPCAEKEENAA.dholmes@dltech.com.au>
	<1097231941.1089.36.camel@localhost>
Content-Type: text/plain
Message-Id: <1097333325.28720.11.camel@fencepost.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Sat, 09 Oct 2004 10:48:45 -0400
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Oct 2004 14:56:25 -0000

On Fri, 2004-10-08 at 06:39, Mark Wielaard wrote:
> The JCP also doesn't require the (final) specifications to be provided
> under a click-wrap. As these JSR's show it it perfectly fine to publish
> the specification, reference implementation and test compatability kit
> in the public domain. (Unfortunately, as you point out most JSRs don't
> do this at the moment. Please tell specification leads about the option
> to do everything in the open.)

Getting specs open doesn't appear to be too hard but I've had trouble in
the past getting TCKs open because there is some feeling that in order
to assure compatibility that one prevent inspection of TCK source.  The
theory is this makes it more difficult to "fake" the TCK results which
prove or disprove compatibility.  The practice I've seen is to let
people self-certify.  All of these experiences were from my involvement
in OSS/J.

I don't buy these arguments.  People could "fake" the results with a
binary TCK as well.  People doing implementations have no motive to not
pass the TCK as customers (or users) would then find their code which
worked with the RI suddenly doesn't work on xyz despite claims of
compatibility.  Despite this, business types just don't get it sometimes
and in some cases the geeks aren't running the show behind the JSR.

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




From MAILER-DAEMON Sat Oct 09 10:56:26 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGIe2-0002OK-L5
	for mharc-classpath@gnu.org; Sat, 09 Oct 2004 10:56:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGIe1-0002O5-9l
	for classpath@gnu.org; Sat, 09 Oct 2004 10:56:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGIe0-0002Nm-M4
	for classpath@gnu.org; Sat, 09 Oct 2004 10:56:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGIe0-0002Nc-IR
	for classpath@gnu.org; Sat, 09 Oct 2004 10:56:24 -0400
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGIWr-0007yC-Lf
	for classpath@gnu.org; Sat, 09 Oct 2004 10:49:01 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-231.ewetel.net
	[80.228.94.231])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id i99En0IV011852
	for <classpath@gnu.org>; Sat, 9 Oct 2004 16:49:00 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34) id 1CGIkB-00021E-GP
	for classpath@gnu.org; Sat, 09 Oct 2004 17:02:47 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Sat, 9 Oct 2004 16:55:36 +0200
User-Agent: KMail/1.6.2
References: <200410091405.26505.konqueror@gmx.de>
In-Reply-To: <200410091405.26505.konqueror@gmx.de>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200410091655.36085.konqueror@gmx.de>
X-CheckCompat: OK
Subject: Re: CVS broken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Oct 2004 14:56:25 -0000

Am Samstag, 9. Oktober 2004 14:05 schrieb Michael Koch:
> Hi list,
>
>
> I have broken CVS with my latest merges. Currently it needs the
> CAIRO headers to compile successfully. If you have CAIRO installed
> there will be no problme, but without. I will sort this out and
> notice you when it builds without CAIRO again.
>
> Thanks for your patience.

Thanks to Mark. He fixed CVS again with his latest commit. I triggered 
the autobuilder and it reported success. So people, you can update 
again and work hard on it.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Sun Oct 10 19:22:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGn1A-0008RD-9a
	for mharc-classpath@gnu.org; Sun, 10 Oct 2004 19:22:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGn18-0008R4-Dj
	for classpath@gnu.org; Sun, 10 Oct 2004 19:22:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGn16-0008Qd-WD
	for classpath@gnu.org; Sun, 10 Oct 2004 19:22:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGn16-0008Qa-F1
	for classpath@gnu.org; Sun, 10 Oct 2004 19:22:16 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CGmu0-0000Hm-5j
	for classpath@gnu.org; Sun, 10 Oct 2004 19:14:56 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9ANDKJY086090;
	Mon, 11 Oct 2004 09:13:23 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Mon, 11 Oct 2004 09:13:21 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCGEPOENAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DE9@LEMBU.sumatrasoftware.com>
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Oct 2004 23:22:18 -0000

Jeroen,

> Would you like to work with me to try to refactor the way system
> properties are handled to untangle the initialization dependencies and
> to allow you to use more Classpath code as-is?

I'd like to use more of Classpath as-is but I don't think the particular
dependencies we have can be solved other than by doing the changes we did.
Basically we can't do any string actions until we initialize the
EncodingManager and alias properties, and that requires the System
properties to function straight away. Only if all these changes were moved
into the new system property class would it work for us.

And while I'd like to help with the general problem I frankly don't have the
time available to do so - sorry.

> Whenenever code tries to access a package and a security manager is
> installed, SecurityManager.checkPackageAccess() is called, so all we
> need to do is all the gnu.classpath package to the package.access system
> property.

Isn't that test in reflection only? For normal accesses wouldn't you be
relying on the class resolution process to identify access control errors -
and in this case wouldn't a public class with public methods pass VM access
control checks regardless (unless an internal VM access control hook is
used)?

I'm confused again about what is being proposed: a public API with some kind
of runtime check to deny access, or a private API with a runtime check to
allow access (doPrivileged?) ? The former still seems to need VM magic,
while the latter would require too much security infrastructure to be in
place too early in the initialization process.

David Holmes




From MAILER-DAEMON Sun Oct 10 19:38:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGnGi-0000fS-KR
	for mharc-classpath@gnu.org; Sun, 10 Oct 2004 19:38:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGnGg-0000fM-Ms
	for classpath@gnu.org; Sun, 10 Oct 2004 19:38:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGnGg-0000fA-9W
	for classpath@gnu.org; Sun, 10 Oct 2004 19:38:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGnGg-0000f7-6f
	for classpath@gnu.org; Sun, 10 Oct 2004 19:38:22 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CGn9O-00037O-1w
	for classpath@gnu.org; Sun, 10 Oct 2004 19:30:50 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9ANUHJY099112;
	Mon, 11 Oct 2004 09:30:18 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Mark Wielaard" <mark@klomp.org>
Date: Mon, 11 Oct 2004 09:30:16 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCCEPPENAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <1097231941.1089.36.camel@localhost>
Importance: Normal
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Oct 2004 23:38:22 -0000

Mark Wielaard writes:
> I just looked at these two jsr's and both are not even available through
> a click-through. (Strangely enough both just point to the sun 1.5.0
> implementation documentation, which as far as I know doesn't include the
> specs at all.)

Yes I was a little surprised to see this too. All of the JSR's covered by
the Tiger umbrella JSR's just point to the JDK as being the specification.
In otherwords the API Javadoc plus supporting package.html and other linked
pages *ARE* the specification.

And while you don't need to "accept" any license directly to read the online
documentation of the JDK you do need to accept the click-through to download
either the JDK or the DOCS, and the online doc page does have a link to
"Copyright and License Terms for Documentation". (I'm not a lawyer so I
don't know if reading the online docs implies any acceptance of the
licence - personally I'd expect that the license would be much more
prominent eg. "The documentation accessed from this page is protected by a
license .... any viewing of these pages constitutes acceptance of that
licence.")

> The JCP also doesn't require the (final) specifications to be provided
> under a click-wrap.

Being involved in this at present with another JSR I can assure you that the
JCP does require a click-through license for downloading specs. For these
Tiger related JSR's it seems the actual J2SE specification license is
assumed to apply.

Aren't all "standards" whether deemed open or not, protected by some similar
license?

> I am not sure I am following you here. The given goal of GNU Classpath
> is to provide a free implementation of the core class libraries so that
> people can use these libraries to create (free) software for the GNU
> system. For this we try to be as compatible as we can be while making
> sure that the freedoms of the GNU project are preserved. Hopefully we
> make this happen while also being 100% compatible with other
> implementations.
>
> GNU is not Unix, and GNU Classpath is not (the core) Java (library).
> We just don't have a cute acronym to express that.

I don't believe that not saying the "Java" word when describing what GNU
Classpath is lets you off the hook here. If nothing else the classes and
API's in the java* namespaces would fall under Sun's copyright.

Now I don't personally believe it would be in Sun's interests to come down
on GNU Classpath and "prosecute" this, rather it would be in Sun's (and the
Java Community's) best interests to have GNU Classpath be conformant with
the spec license and pass the TCK. But I'm concerned that the FSF's politics
on all this might deny the possibility of this ever happening. But that's
not my direct concern.

David




From MAILER-DAEMON Sun Oct 10 21:05:21 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGocr-0004W0-5i
	for mharc-classpath@gnu.org; Sun, 10 Oct 2004 21:05:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGoco-0004SZ-Vk
	for classpath@gnu.org; Sun, 10 Oct 2004 21:05:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGocn-0004Rb-Vp
	for classpath@gnu.org; Sun, 10 Oct 2004 21:05:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGocn-0004RK-Sw
	for classpath@gnu.org; Sun, 10 Oct 2004 21:05:17 -0400
Received: from [216.102.199.253] (helo=bothner.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CGoVP-0001r1-A9
	for classpath@gnu.org; Sun, 10 Oct 2004 20:57:39 -0400
Received: from [192.168.1.10] ([192.168.1.10]) (authenticated bits=0)
	by bothner.com (8.12.11/8.12.11) with ESMTP id i9B0vVtU004906
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 10 Oct 2004 17:57:32 -0700
Message-ID: <4169DA7B.3050303@bothner.com>
Date: Sun, 10 Oct 2004 17:57:31 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCCEPPENAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCCEPPENAA.dholmes@dltech.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 01:05:19 -0000

David Holmes wrote:

>>The JCP also doesn't require the (final) specifications to be provided
>>under a click-wrap.
> 
> Being involved in this at present with another JSR I can assure you that the
> JCP does require a click-through license for downloading specs.

I'm not saying you're wrong, but I think it would be useful if you could
point to a specific document that states such a requriement.

Notice also that the JCP and related agreement/processes ahve changed
over the years.

> I don't believe that not saying the "Java" word when describing what GNU
> Classpath is lets you off the hook here. If nothing else the classes and
> API's in the java* namespaces would fall under Sun's copyright.

You mean Sun's trademark, not copyright, of course.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



From MAILER-DAEMON Sun Oct 10 21:32:55 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGp3T-0002af-P0
	for mharc-classpath@gnu.org; Sun, 10 Oct 2004 21:32:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGp3R-0002aS-GU
	for classpath@gnu.org; Sun, 10 Oct 2004 21:32:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGp3Q-0002Zr-5h
	for classpath@gnu.org; Sun, 10 Oct 2004 21:32:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGp3Q-0002Zo-3C
	for classpath@gnu.org; Sun, 10 Oct 2004 21:32:48 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CGow5-0007DG-SX
	for classpath@gnu.org; Sun, 10 Oct 2004 21:25:14 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9B1NLJY098739;
	Mon, 11 Oct 2004 11:23:21 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Per Bothner" <per@bothner.com>
Date: Mon, 11 Oct 2004 11:23:20 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCAEACEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <4169DA7B.3050303@bothner.com>
Importance: Normal
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: RE: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 01:32:49 -0000

> > Being involved in this at present with another JSR I can assure
> > you that the JCP does require a click-through license for downloading
> > specs.
>
> I'm not saying you're wrong, but I think it would be useful if you could
> point to a specific document that states such a requriement.

I should said PMO rather than JCP. The JCP document itself doesn't cover
this, however the PMO seems to require it. If you look at the Spec lead
Guide on jcp.org you'll see that for Proposed Final Draft "The PMO will
provide the spec license ..." and then for Final Approval Ballot "The PMO
hosts the Final Approval Ballot for you, and uses Sun's general FCS license
unless you provide your own FCS license.".

On other words, the specification licenses are provided by the PMO not the
JCP itself. (Note that the specification license is distinct from the RI and
TCK licenses.) You'd need to contact the PMO directly to clarify this and to
see what possible licenses exist.

> > I don't believe that not saying the "Java" word when describing what GNU
> > Classpath is lets you off the hook here. If nothing else the classes and
> > API's in the java* namespaces would fall under Sun's copyright.
>
> You mean Sun's trademark, not copyright, of course.

I do? The API's are not as far as I am aware trademarked. It seems to me
that defining a set of API's that match Sun's Java API's would be copying
them - hence infringing on copyright. But I'm no IP lawyer.

Oh and I now see that every JavaDoc page states "Use is subject to license
terms" at the bottom with a link to the spec license. So whether you read
the javadocs online, download them yourself via the clikc-through, download
an actual specification or read an official book, then these API's are
always covered by Sun's specification license.

David Holmes




From MAILER-DAEMON Sun Oct 10 22:12:50 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGpgA-0005qk-K1
	for mharc-classpath@gnu.org; Sun, 10 Oct 2004 22:12:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGpg8-0005qZ-W5
	for classpath@gnu.org; Sun, 10 Oct 2004 22:12:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGpg8-0005qE-6g
	for classpath@gnu.org; Sun, 10 Oct 2004 22:12:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGpg8-0005pt-2N
	for classpath@gnu.org; Sun, 10 Oct 2004 22:12:48 -0400
Received: from [216.102.199.253] (helo=bothner.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CGpZ4-0005l1-JC
	for classpath@gnu.org; Sun, 10 Oct 2004 22:05:31 -0400
Received: from [192.168.1.10] ([192.168.1.10]) (authenticated bits=0)
	by bothner.com (8.12.11/8.12.11) with ESMTP id i9B25KU6005459
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 10 Oct 2004 19:05:21 -0700
Message-ID: <4169EA5F.1010509@bothner.com>
Date: Sun, 10 Oct 2004 19:05:19 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCAEACEOAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCAEACEOAA.dholmes@dltech.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 02:12:49 -0000

David Holmes wrote:
> I should said PMO rather than JCP. The JCP document itself doesn't cover
> this, however the PMO seems to require it. If you look at the Spec lead
> Guide on jcp.org you'll see that for Proposed Final Draft "The PMO will
> provide the spec license ..." and then for Final Approval Ballot "The PMO
> hosts the Final Approval Ballot for you, and uses Sun's general FCS license
> unless you provide your own FCS license.".
> 
> On other words, the specification licenses are provided by the PMO not the
> JCP itself. (Note that the specification license is distinct from the RI and
> TCK licenses.) You'd need to contact the PMO directly to clarify this and to
> see what possible licenses exist.

You're quoting from a section on the Proposed Final Draft.  It is not
unreasonable that the draft would have a more restrictive license than
the actual final spec.  However, the final release does say "the spec 
must be set up with a click-through license."

However, I'm sure Spec Leads can pick their license terms, at least
within certain limits.  And some JSRs are "open-source", at least the
implementation.

But JCP is all very complicated, with a huge amount of process, and I
can't pretend to what extent Classpath might have problems.

>>>I don't believe that not saying the "Java" word when describing what GNU
>>>Classpath is lets you off the hook here. If nothing else the classes and
>>>API's in the java* namespaces would fall under Sun's copyright.
>>
>>You mean Sun's trademark, not copyright, of course.

> I do? The API's are not as far as I am aware trademarked. It seems to me
> that defining a set of API's that match Sun's Java API's would be copying
> them - hence infringing on copyright.

Implementing a specification is *not* copying the specification.
However, I assume (as a non-lawyer) that copyright law does allow
Sun to place restrictions on downloading/reading (i.e. copying) the
specification, and hence there is a specification license.  Interpreting
the license is I understand more an issue of contract law than of
copyright law.

If you don't read the official specification and haven't agreed to
the license, then you can implement whatever you want without concern
about Sun's copyright, assuming you use public documents, such as books
and magazine articles.

However, avoiding the official Sun-licensed specification doesn't
protect you from patent or trademark issues.  And Sun has trademarked
"Java", so if you implement a class called java.lang.String then you
could conceivably be infringing on Sun's trademark.

That's why I believe Sun's trademarks and patents are a more
fundamental concern that the copyright.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



From MAILER-DAEMON Sun Oct 10 22:34:55 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGq1X-0008T5-4I
	for mharc-classpath@gnu.org; Sun, 10 Oct 2004 22:34:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGq1V-0008T0-I6
	for classpath@gnu.org; Sun, 10 Oct 2004 22:34:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGq1S-0008Sm-ID
	for classpath@gnu.org; Sun, 10 Oct 2004 22:34:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGq1S-0008Sj-Ft
	for classpath@gnu.org; Sun, 10 Oct 2004 22:34:50 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CGpuG-0001G3-Ls
	for classpath@gnu.org; Sun, 10 Oct 2004 22:27:25 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9B2Q1JY055275;
	Mon, 11 Oct 2004 12:26:01 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Per Bothner" <per@bothner.com>
Date: Mon, 11 Oct 2004 12:26:00 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCGEAFEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <4169EA5F.1010509@bothner.com>
Importance: Normal
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 02:34:53 -0000

> However, I'm sure Spec Leads can pick their license terms, at least
> within certain limits.  And some JSRs are "open-source", at least the
> implementation.

I think the spec leads can, within-limits, define the terms for the RI and
TCK - because in a sense they "own" that. But they don't own the spec itself
and I believe the PMO controls the actual license for that. But the easiest
way to know for sure is to ask the PMO. :)

> Implementing a specification is *not* copying the specification.

No it is not. But if you implement these specifications, and claim to be
doing so, then the Specification License applies.

To implement something that defines the same API's that happen to be in a
specification, without claiming to implement that specifications (which is
what Classpath seems to be trying to do) would seem to me to be copying
those API's.

> However, I assume (as a non-lawyer) that copyright law does allow
> Sun to place restrictions on downloading/reading (i.e. copying) the
> specification, and hence there is a specification license.  Interpreting
> the license is I understand more an issue of contract law than of
> copyright law.

I agree. My point was that I believe that if you tried to say "this isn't an
implementation of the specification XXX, it just happens to support the same
API's" then at best you would be breaching copyright.

> If you don't read the official specification and haven't agreed to
> the license, then you can implement whatever you want without concern
> about Sun's copyright, assuming you use public documents, such as books
> and magazine articles.

Hmmm - I'm not sure how far you can take this argument. Reasonable use
allows books and articles to describe parts of the API's. I don't think you
can get around the "reasonable use" restrictions by recombining from
multiple sources that individually would be considered "reasonable use".

> However, avoiding the official Sun-licensed specification doesn't
> protect you from patent or trademark issues.  And Sun has trademarked
> "Java", so if you implement a class called java.lang.String then you
> could conceivably be infringing on Sun's trademark.

Yes that could well be true.

> That's why I believe Sun's trademarks and patents are a more
> fundamental concern that the copyright.

Well whatever we want to call it, I don't think Classpath can pretend that
it is free from these concerns, just by not claiming to implement an actual
Java specification.

And to get back to the original issue I don't think any of the Classpath
implementors should have to be concerned about accepting the Sun
Specification License terms if they want to implement those new or enhanced
API's. Hence this issue should be clarified through FSF legal.

Otherwise, none of us will be able to quote from Sun's API docs when
clarifying the required behaviour of anything!

Cheers,
David Holmes




From MAILER-DAEMON Mon Oct 11 02:35:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGtmh-0007v9-MB
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 02:35:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGtmg-0007v4-H5
	for classpath@gnu.org; Mon, 11 Oct 2004 02:35:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGtmg-0007us-3f
	for classpath@gnu.org; Mon, 11 Oct 2004 02:35:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGtmg-0007uo-0w
	for classpath@gnu.org; Mon, 11 Oct 2004 02:35:50 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGtfQ-0002Gk-RL
	for classpath@gnu.org; Mon, 11 Oct 2004 02:28:21 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 11 Oct 2004 08:28:15 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687DF3@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSvHy5lRWgrGLqZSNiluqdyV78YFQAOq2fQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 06:35:50 -0000

David Holmes wrote:
> And while I'd like to help with the general problem I frankly=20
> don't have the time available to do so - sorry.

No problem. I'll try to cook up a proposal this week and hopefully you
can review it to see if it helps you or not.

> > Whenenever code tries to access a package and a security manager is
> > installed, SecurityManager.checkPackageAccess() is called, so all we
> > need to do is all the gnu.classpath package to the=20
> package.access system
> > property.
>=20
> Isn't that test in reflection only?

No, it's in the (system) class loader (or it is supposed to be,
Classpath doesn't yet have it). Try this on the Sun JVM:

public class test extends java.lang.SecurityManager
{
  public static void main(String[] args) throws Exception
  {
    System.setSecurityManager(new test());
    new java.util.Vector();
  }

  public void checkRead(String file) {}


  public void checkPackageAccess(String pkg)
  {
     if(pkg.equals("java.util")) throw new SecurityException();
     super.checkPackageAccess(pkg);
  }
}

Here is a interesting link I found:
http://www.net-security.org/vuln.php?id=3D3018

> I'm confused again about what is being proposed: a public API=20
> with some kind of runtime check to deny access, or a private
> API with a runtime check to allow access (doPrivileged?) ?
> The former still seems to need VM magic,

I'm proposing a public API in a special package that is not accessible
to untrusted code and this does not require any VM magic (just a proper
implementation of SecurityManager.checkPackageAccess())

Regards,
Jeroen



From MAILER-DAEMON Mon Oct 11 03:26:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGuZb-0001GZ-Bq
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 03:26:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGuZZ-0001GP-8y
	for classpath@gnu.org; Mon, 11 Oct 2004 03:26:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGuZY-0001G5-Lv
	for classpath@gnu.org; Mon, 11 Oct 2004 03:26:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGuZY-0001Fq-HV
	for classpath@gnu.org; Mon, 11 Oct 2004 03:26:20 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CGuSR-0003Tx-PU
	for classpath@gnu.org; Mon, 11 Oct 2004 03:19:00 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9B7IEJY004471;
	Mon, 11 Oct 2004 17:18:14 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Mon, 11 Oct 2004 17:18:12 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEAKEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DF3@LEMBU.sumatrasoftware.com>
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 07:26:21 -0000

> No problem. I'll try to cook up a proposal this week and hopefully you
> can review it to see if it helps you or not.

Sure.

> > Isn't that test in reflection only?
>
> No, it's in the (system) class loader (or it is supposed to be,
> Classpath doesn't yet have it). Try this on the Sun JVM:

Hmmm. While I can see what SecurityManager.checkPackageAccess is supposed to
do, the ClassLoader.loadClass documentation makes no mention of this
security check, consequently I can't tell if the security check occurs
before or after checking if the class is already loaded or can be loaded by
a parent. Further, as loadClass is not final, and as the class to be loaded
is actually loaded by a parent loader (ie the bootstrap loader) it would be
trivial to avoid any security check defined in the loadClass method itself.

The only way this check could work reliably is if the VM itself performs the
check. But it seems to me that this is a very underspecified part of the
security architecture - other than when invoked via the reflection method.
Curiously I've been unable to find any information as to when
checkPackageAccess should actually be invoked!

David




From MAILER-DAEMON Mon Oct 11 03:36:29 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGujN-0006SA-ED
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 03:36:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGujK-0006PP-Uj
	for classpath@gnu.org; Mon, 11 Oct 2004 03:36:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGujK-0006Ow-Ek
	for classpath@gnu.org; Mon, 11 Oct 2004 03:36:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGujK-0006Oo-6H
	for classpath@gnu.org; Mon, 11 Oct 2004 03:36:26 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGucK-0005Tt-1U
	for classpath@gnu.org; Mon, 11 Oct 2004 03:29:12 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 11 Oct 2004 09:29:08 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687DF6@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSvYsyJbRHZynJDQLGRtuwmWfMZWgAALSLQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 07:36:27 -0000

David Holmes wrote:
> Hmmm. While I can see what SecurityManager.checkPackageAccess=20
> is supposed to do, the ClassLoader.loadClass documentation makes no
> mention of this security check, consequently I can't tell if the
> security check occurs before or after checking if the class is
> already loaded or can be loaded by a parent.

Yeah, the documentation sucks, but how is this any different from any of
the other APIs ;-)

> Further, as loadClass is not final, and as the class to be loaded
> is actually loaded by a parent loader (ie the bootstrap loader)
> it would be trivial to avoid any security check defined in the
> loadClass method itself.

It isn't trivial without creating your own class loader (which is a
privileged operation). If you read the security bulletin I pointed to,
you'll see that Sun relies on this same mechanism to prevent access to
the sun.* package, so presumably it is intended to be secure.

> The only way this check could work reliably is if the VM=20
> itself performs the check. But it seems to me that this is a very
> underspecified part of the security architecture - other than when
> invoked via the reflection method.
> Curiously I've been unable to find any information as to when
> checkPackageAccess should actually be invoked!

I hope you're not arguing that we shouldn't implement it, just because
it is underspecified?

Regards,
Jeroen



From MAILER-DAEMON Mon Oct 11 07:52:17 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CGyir-00055T-R3
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 07:52:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CGyik-00054i-5i
	for classpath@gnu.org; Mon, 11 Oct 2004 07:52:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CGyih-00053g-QN
	for classpath@gnu.org; Mon, 11 Oct 2004 07:52:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CGyid-00053K-SH
	for classpath@gnu.org; Mon, 11 Oct 2004 07:52:00 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGybT-0004qd-Mb
	for classpath@gnu.org; Mon, 11 Oct 2004 07:44:36 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.36 #1
	(Debian)) id 1CGybS-0004aW-00
	for <classpath@gnu.org>; Mon, 11 Oct 2004 13:44:34 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian))
	id 1CGybN-0004a1-00; Mon, 11 Oct 2004 13:44:29 +0200
Received: from kaffe.org (topic@mpiat2313 [139.19.20.102])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i9BBiQuX008531;
	Mon, 11 Oct 2004 13:44:28 +0200 (MEST)
Message-ID: <416A721A.9010002@kaffe.org>
Date: Mon, 11 Oct 2004 13:44:26 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.6) Gecko/20040413 Debian/1.6-5
X-Accept-Language: en
MIME-Version: 1.0
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCCEPPENAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCCEPPENAA.dholmes@dltech.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 11:52:08 -0000

David Holmes wrote:

>>GNU is not Unix, and GNU Classpath is not (the core) Java (library).
>>We just don't have a cute acronym to express that.
> 
> 
> I don't believe that not saying the "Java" word when describing what GNU
> Classpath is lets you off the hook here. If nothing else the classes and
> API's in the java* namespaces would fall under Sun's copyright.
> 
> Now I don't personally believe it would be in Sun's interests to come down
> on GNU Classpath and "prosecute" this, rather it would be in Sun's (and the
> Java Community's) best interests to have GNU Classpath be conformant with
> the spec license and pass the TCK. But I'm concerned that the FSF's politics
> on all this might deny the possibility of this ever happening. But that's
> not my direct concern.

I get a few mails that ask me how legal Kaffe is a few times a year, so 
I hope this can serve as a 'no idea, hypothetical question' template for 
GNU Classpath, too :)

The ambiguousness in Sun's licenses surrounding Java technology is 
probably intentional, as it allows Sun's legal team to pick the battles 
they want to fight. The FSF can't do anything about other people's 
licenses that are designed to be open to interpretation, afaict, and it 
can't really tell you how the other people will interpret their licenses 
if you end up in court. Sun's licenses are ulrimately their own to 
figure out. :)

I guess that most people would agree that conforming to the specs is a 
great thing, and passing the TCK would be quite neat, too, as then VMs 
using GNU Classpath could claim to interpret the spec in similar ways as 
Sun does[1]. But it's not up to GNU Classpath to set the rules here, 
because GNU Classpath does not have a stake in Java(TM). If and when Sun 
wants, say, SableVM or Kaffe or gcj or IKVM or any other VM on GNU 
Classpath to be conformant to their specifications wrt to passing the 
TCK, they'll make their TCK available under an acceptable[2] license, 
and then something can (and probably will) be done about it.

FSF's politics have no influence on how Sun licenses their code, afaict. 
All the FSF can do is to say: 'that's OK', or 'that's not good enough 
for these reasons'. I'd be very surprised if giving up freedom in 
exchange for access to a marketing initiative, or for a promise of 
compatibility/scare of incompatibility ever became part of FSF politics. 
If Sun makes offers that demand such things, I'd guess that those offers 
are likely to be politely declined.

But that's OK. It's up to Sun to figure out how to license their code in 
ways that coincide with their intentions, hopes and fears. I'm sure that 
they'll find a good way to strike an acceptable balance *eventually*. 
That might take a few more years.[3] But there is no need to push Sun to 
hurry up, in my opinion. They'll get there on their own terms, when they 
are ready. They have enough clever people working for them to figure out 
what needs to be done, and how to go about it without being constantly 
whacked from the sidelines to 'open up Java already'.

For a bit of a silver lining, the 1.5 JSR indicates that the TCK may be 
released under a license that doesn't contaminate everything it touches 
with the SCSL, but it remains to be seen if that is actually going to be 
the case.

Till then, it's all 'what-if' speculation. Sun has tolerated[4] 
clean-room efforts like Kaffe since 1996, without threatening legal 
action, afaict, so I don't see why they should change their minds now. 
Sun's OpenOffice.org developers have recently created a Java vendor 
interface to make it easier for free runtime developers to plug their 
VMs into OOo, in order to get OOo to run on free runtimes, and further 
it's reach. I'm working on it from the Kaffe side. I doubt that would be 
happening if Sun regarded free runtimes as illegal thieves of their 
specification. I'd say that Kaffe or SableVM or gcj or IKVM are not 
threatening Sun's products, they are rather playing in a completely 
different league, by being free software, and by explicitely *not being* 
Java(TM).

To recapitulate: Kaffe in not Java(TM). Kaffe is not Pepsi(TM). Kaffe is 
also not Coca Cola(TM) and definitely not a BigMac(TM). :)

Kaffe is Kaffe. If it works for you, that's cool, if it doesn't let's 
fix it. But noone should claim that Kaffe is Java(TM), because that's 
simply not true[5].

cheers,
dalibor topic

[1] Which only matters if you are dealing in marketing anyway, as then 
you can slap cute Sun logos on your VM and make certain claims about 
your VM without fear that Sun's legal team will slap you for abusing 
their trade marks. But a cute logo doesn't mean that a VM is any good in 
practice, it just means that the VM vendor decided to 'tap into the 
power of the brand' and do whatever is required to get the right to slap 
that logo on their product. :)
[2] Which means no ambiguous 'NOTICE FROM SUN MICROSYSTEMS' stunts like 
the one someone pulled on Geronimo & JOnAS. :)
[3] My conservative guess is 2012, as according to X-Files, the world 
ends then, so why not try to get all the good karma you can get while 
you can? :)
[4] And I can see a sun.com address in kaffe's changelogs wrt to bug 
reports, so I'm sure Sun knew about Kaffe for a loong time. Jonathan 
Schwartz knows about it, for example, and it doesn't get very much 
higher up at Sun than Jonathan. I didn't get an impression that he or 
say, Simon Phipps, or Calvin Austin saw free runtimes as a threat to Sun 
or Java. I'd consider it more likely that when GNU Classpath covers all 
of Java 1.6/1.7, Sun will work with the FSF to get it into the JCP 
process and certified, and may tweak the FSF-incompatible parts of it 
like they did for the ASF. Cooperation to further Java, rather then 
whacking each other silly, is obviously in everyone's best interest, so 
I'd assume that Sun will do the right thing when they are confident 
about it being the right time to do it, not any sooner. Given that GNU 
Classpath is still a few years away from covering all of 1.5, now is 
probably not the right time to put any pressure on Sun, IMHO.
[5] And would expose them to rightful attacks from Sun's legal 
department. They need to go after violators of their trade marks or they 
stand a chance of losing them.



From MAILER-DAEMON Mon Oct 11 09:48:04 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CH0Wy-0003FQ-K6
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 09:48:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CH0Ww-0003Ck-Hx
	for classpath@gnu.org; Mon, 11 Oct 2004 09:48:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CH0Wv-0003BO-Kg
	for classpath@gnu.org; Mon, 11 Oct 2004 09:48:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CH0Wv-0003B4-FZ
	for classpath@gnu.org; Mon, 11 Oct 2004 09:48:01 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CH0P7-0001mg-SA
	for classpath@gnu.org; Mon, 11 Oct 2004 09:39:58 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 11 Oct 2004 15:39:31 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687E04@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: java.util.Date mess
Thread-Index: AcSvl7zqsCU6fxe+TLqNJik9A1CHyg==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "classpath" <classpath@gnu.org>
Subject: java.util.Date mess
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 13:48:02 -0000

Hi,

I have some code that depends on unspecified behavior of java.util.Date.
In the Sun JDK if you pass out of range parameters to the Date
constructors that take year, month, date, etc. it will automatically
convert to a valid date (for example, new Date(104, 8, 41) is Oct 11,
2004.)

I have a rather lame patch that addresses this (see below), would anyone
object to this?

Regards,
Jeroen

Index: java/util/Date.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/classpath/classpath/java/util/Date.java,v
retrieving revision 1.17
diff -u -r1.17 Date.java
--- java/util/Date.java	23 Apr 2004 20:34:11 -0000	1.17
+++ java/util/Date.java	11 Oct 2004 12:37:23 -0000
@@ -93,7 +93,7 @@
    */
   public Date(int year, int month, int day)
   {
-    time =3D new GregorianCalendar(year + 1900, month,
day).getTimeInMillis();
+    this(year, month, day, 0, 0, 0);
   }
=20
   /**
@@ -103,9 +103,7 @@
    */
   public Date(int year, int month, int day, int hour, int min)
   {
-    time =3D
-      new GregorianCalendar(year + 1900, month, day, hour,
-			    min).getTimeInMillis();
+    this(year, month, day, hour, min, 0);
   }
=20
   /**
@@ -115,9 +113,13 @@
    */
   public Date(int year, int month, int day, int hour, int min, int sec)
   {
-    time =3D
-      new GregorianCalendar(year + 1900, month, day, hour, min,
-			    sec).getTimeInMillis();
+    GregorianCalendar cal =3D new GregorianCalendar(year + 1900, 0, 1);
+    cal.add(GregorianCalendar.MONTH, month);
+    cal.add(GregorianCalendar.DAY_OF_MONTH, day - 1);
+    cal.add(GregorianCalendar.HOUR, hour);
+    cal.add(GregorianCalendar.MINUTE, min);
+    cal.add(GregorianCalendar.SECOND, sec);
+    time =3D cal.getTimeInMillis();
   }
=20
   /**



From MAILER-DAEMON Mon Oct 11 10:37:34 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CH1Ir-0003iM-Nz
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 10:37:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CH1Im-0003fb-A7
	for classpath@gnu.org; Mon, 11 Oct 2004 10:37:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CH1Ij-0003dV-BQ
	for classpath@gnu.org; Mon, 11 Oct 2004 10:37:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CH1Ij-0003d0-2W
	for classpath@gnu.org; Mon, 11 Oct 2004 10:37:25 -0400
Received: from [209.225.28.218] (helo=mxsf18.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CH1Bg-0003DS-QT
	for classpath@gnu.org; Mon, 11 Oct 2004 10:30:09 -0400
Received: from mxip04.cluster1.charter.net (mxip04a.cluster1.charter.net
	[209.225.28.134])
	by mxsf18.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i9BEU3YE026135
	for <classpath@gnu.org>; Mon, 11 Oct 2004 10:30:03 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip04.cluster1.charter.net with ESMTP; 11 Oct 2004 10:30:03 -0400
X-Ironport-AV: i="3.85,134,1094443200"; 
	d="scan'208"; a="339402298:sNHT18934160"
Received: from arch20m.dellroad.org ([10.104.180.64])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id JAA33582;
	Mon, 11 Oct 2004 09:21:58 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i9BDsONa017184; 
	Mon, 11 Oct 2004 08:54:25 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i9BDsM1U017183;
	Mon, 11 Oct 2004 08:54:22 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410111354.i9BDsM1U017183@arch20m.dellroad.org>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DF6@LEMBU.sumatrasoftware.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
Date: Mon, 11 Oct 2004 08:54:22 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 14:37:30 -0000

Jeroen Frijters wrote:
> It isn't trivial without creating your own class loader (which is a
> privileged operation).

I don't understand this point.

You're not saying we have to disallow creation of class loaders for
this to work, are you?

-Archie

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



From MAILER-DAEMON Mon Oct 11 10:44:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CH1PD-000509-JU
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 10:44:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CH1PC-0004zy-E5
	for classpath@gnu.org; Mon, 11 Oct 2004 10:44:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CH1PB-0004ze-Qg
	for classpath@gnu.org; Mon, 11 Oct 2004 10:44:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CH1PB-0004zU-Mg
	for classpath@gnu.org; Mon, 11 Oct 2004 10:44:05 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CH1ID-0004t6-WE
	for classpath@gnu.org; Mon, 11 Oct 2004 10:36:54 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 11 Oct 2004 16:36:50 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687E0D@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSvnwK8QKHGEI/4SbiKXpsOKi291wAAKQHA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Archie Cobbs" <archie@dellroad.org>
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 14:44:06 -0000

Archie Cobbs wrote:
> Jeroen Frijters wrote:
> > It isn't trivial without creating your own class loader (which is a
> > privileged operation).
>=20
> I don't understand this point.
>=20
> You're not saying we have to disallow creation of class loaders for
> this to work, are you?

Not in general, but untrusted code shouldn't be able to create custom
class loaders.

Regards,
Jeroen



From MAILER-DAEMON Mon Oct 11 11:32:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CH29f-0005NH-UM
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 11:32:08 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CH29c-0005LC-KY
	for classpath@gnu.org; Mon, 11 Oct 2004 11:32:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CH29a-0005Jy-9Q
	for classpath@gnu.org; Mon, 11 Oct 2004 11:32:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CH29Z-0005J1-KN
	for classpath@gnu.org; Mon, 11 Oct 2004 11:32:01 -0400
Received: from [130.237.205.63] (helo=mail2.physto.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CH21K-00065R-7Q
	for classpath@gnu.org; Mon, 11 Oct 2004 11:23:30 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail2.physto.se (Postfix) with ESMTP id 64E1E1F7163
	for <classpath@gnu.org>; Mon, 11 Oct 2004 17:23:28 +0200 (CEST)
Received: from mail2.physto.se ([127.0.0.1])
	by localhost (syslx05.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 02379-01 for <classpath@gnu.org>;
	Mon, 11 Oct 2004 17:23:25 +0200 (CEST)
Received: from [130.242.128.121] (qcplx01.physto.se [130.242.128.121])
	by mail2.physto.se (Postfix) with ESMTP id E405A1F7161
	for <classpath@gnu.org>; Mon, 11 Oct 2004 17:23:25 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: classpath@gnu.org
In-Reply-To: <20041011071930.F106830036@mail1.physto.se>
References: <20041011071930.F106830036@mail1.physto.se>
Content-Type: text/plain
Message-Id: <1097508167.6619.50.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Mon, 11 Oct 2004 17:22:47 +0200
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at physto.se
Subject: Re: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 15:32:06 -0000

Per Bothner wrote:
>> I do? The API's are not as far as I am aware trademarked. It seems to
me
>> that defining a set of API's that match Sun's Java API's would be
copying
>> them - hence infringing on copyright.

>Implementing a specification is *not* copying the specification.

This is correct. Under the US legal system the filtration-abstraction
-comparison test would not qualify the API itself as 'expressive' but
rather 'functional' code. The very case which set this precedent,
Computer Associates International, Inc. v. Altai, Inc was itself largely
about APIs. (The software in question was an API compatibility layer)

>However, I assume (as a non-lawyer) that copyright law does allow
>Sun to place restrictions on downloading/reading (i.e. copying) the
>specification, and hence there is a specification license. 
>Interpreting the license is I understand more an issue of contract law
than of copyright law.

This does not matter because the API itself is not expressive content
and therefore, copying it does not require license. It's simply not a
protectable expression.

Now, IANAL but having taken some courses on IP law, I think
you'd either have to be insane (or SCO) to try to sue someone over
reproducing a publicy documented API. 

(And obviously, patent and trademark issues are a different matter.)

/Sven




From MAILER-DAEMON Mon Oct 11 11:33:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CH2B8-0005xY-PQ
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 11:33:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CH2B7-0005wo-Q4
	for classpath@gnu.org; Mon, 11 Oct 2004 11:33:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CH2B7-0005wJ-CJ
	for classpath@gnu.org; Mon, 11 Oct 2004 11:33:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CH2B7-0005wB-9f
	for classpath@gnu.org; Mon, 11 Oct 2004 11:33:37 -0400
Received: from [66.33.211.26] (helo=merry.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CH23o-0006jV-3E
	for classpath@gnu.org; Mon, 11 Oct 2004 11:26:04 -0400
Received: from struggle.javabsp (adsl-68-122-1-183.dsl.pltn13.pacbell.net
	[68.122.1.183])
	by merry.dreamhost.com (Postfix) with ESMTP id 737A5175144
	for <classpath@gnu.org>; Mon, 11 Oct 2004 08:26:00 -0700 (PDT)
From: Ka-Hing Cheung <kahing@javabsp.org>
To: classpath@gnu.org
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E04@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA687E04@LEMBU.sumatrasoftware.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Mon, 11 Oct 2004 08:26:04 -0700
Message-Id: <1097508364.4720.8.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.1 
Subject: Re: java.util.Date mess
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 15:33:38 -0000

On Mon, 2004-10-11 at 15:39 +0200, Jeroen Frijters wrote:
> Hi,
> 
> I have some code that depends on unspecified behavior of java.util.Date.
> In the Sun JDK if you pass out of range parameters to the Date
> constructors that take year, month, date, etc. it will automatically
> convert to a valid date (for example, new Date(104, 8, 41) is Oct 11,
> 2004.)

Is that unspecified? The javadoc says:

"In all cases, arguments given to methods for these purposes need not
fall within the indicated ranges; for example, a date may be specified
as January 32 and is interpreted as meaning February 1."

-khc




From MAILER-DAEMON Mon Oct 11 11:37:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CH2Ew-0008LF-Dv
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 11:37:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CH2Eu-0008Ke-1c
	for classpath@gnu.org; Mon, 11 Oct 2004 11:37:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CH2Es-0008JZ-T8
	for classpath@gnu.org; Mon, 11 Oct 2004 11:37:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CH2Es-0008JH-QA
	for classpath@gnu.org; Mon, 11 Oct 2004 11:37:30 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CH27X-0007mN-U1
	for classpath@gnu.org; Mon, 11 Oct 2004 11:29:56 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 11 Oct 2004 17:29:52 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687E14@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: java.util.Date mess
Thread-Index: AcSvpum9Rb4qHLTlQ9KgbR6ymfO04AAAAEpw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Ka-Hing Cheung" <kahing@javabsp.org>,
	<classpath@gnu.org>
Cc: 
Subject: RE: java.util.Date mess
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 15:37:32 -0000

Ka-Hing Cheung wrote:
> On Mon, 2004-10-11 at 15:39 +0200, Jeroen Frijters wrote:
> > I have some code that depends on unspecified behavior of=20
> java.util.Date.
> > In the Sun JDK if you pass out of range parameters to the Date
> > constructors that take year, month, date, etc. it will automatically
> > convert to a valid date (for example, new Date(104, 8, 41)=20
> is Oct 11,
> > 2004.)
>=20
> Is that unspecified? The javadoc says:
>=20
> "In all cases, arguments given to methods for these purposes need not
> fall within the indicated ranges; for example, a date may be specified
> as January 32 and is interpreted as meaning February 1."

Thanks, I had overlooked that part at the top. The individual methods
all say:

Parameters:
  year - the year minus 1900.
  month - the month between 0-11.
  date - the day of the month between 1-31

So I assumed that these were the only valid inputs.

Regards,
Jeroen



From MAILER-DAEMON Mon Oct 11 18:47:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CH8wq-00018C-3i
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 18:47:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CH8wo-000181-Ea
	for classpath@gnu.org; Mon, 11 Oct 2004 18:47:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CH8wo-00017p-1D
	for classpath@gnu.org; Mon, 11 Oct 2004 18:47:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CH8wn-00017m-Ud
	for classpath@gnu.org; Mon, 11 Oct 2004 18:47:18 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CH8pM-0007q9-Iz
	for classpath@gnu.org; Mon, 11 Oct 2004 18:39:37 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9BMbJJY075115;
	Tue, 12 Oct 2004 08:37:20 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Tue, 12 Oct 2004 08:37:19 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCIEBCEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <D92197D0A6547B44A1567814F851FA687DF6@LEMBU.sumatrasoftware.com>
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 22:47:18 -0000

Jeroen,

> Yeah, the documentation sucks, but how is this any different from any of
> the other APIs ;-)

This seems to be a fairly critical part of the classloader security
architecture that is simply not documented. This makes it rather difficult
to know how it is supposed to be implemented.

> It isn't trivial without creating your own class loader (which is a
> privileged operation).

True, but the createClassloader permission is not supposed to imply
accessPackage.* permission, but that is what could occur. This might be a
small crack inside the vault but it is still a crack that should not be
there. Much of the security architecture talks about malicious classloaders,
but you are implying that all classloaders are trustworthy.

> If you read the security bulletin I pointed to,
> you'll see that Sun relies on this same mechanism to prevent access to
> the sun.* package, so presumably it is intended to be secure.

Presumably that is the intent. But then it depends on how you actually put
this security check in place. How can I say this without "tainting" you? -
Sun does not do this according to the letter of the method documentation.

> > The only way this check could work reliably is if the VM
> > itself performs the check. But it seems to me that this is a very
> > underspecified part of the security architecture - other than when
> > invoked via the reflection method.
> > Curiously I've been unable to find any information as to when
> > checkPackageAccess should actually be invoked!
>
> I hope you're not arguing that we shouldn't implement it, just because
> it is underspecified?

Of course not. Classpath should be implementing this regardless - it is part
of the security architecture. The problem is that we don't know exactly how
to implement it - ie where should the check take place. And it is my opinion
that the check would need to be done by the VM so that a malicious
classloader could not circumvent it.

I'm still quite surprised that I can find so little information about this
aspect of the security architecture. I'm tempted to file a Sun bug report
against Classloader.loadclass to request that it documents how the security
check is to take place.

David




From MAILER-DAEMON Mon Oct 11 18:52:45 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CH924-0003y4-T1
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 18:52:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CH921-0003xv-8K
	for classpath@gnu.org; Mon, 11 Oct 2004 18:52:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CH920-0003xN-8C
	for classpath@gnu.org; Mon, 11 Oct 2004 18:52:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CH920-0003x5-1q
	for classpath@gnu.org; Mon, 11 Oct 2004 18:52:40 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CH8up-0000Gl-08
	for classpath@gnu.org; Mon, 11 Oct 2004 18:45:15 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9BMh0JY078839;
	Tue, 12 Oct 2004 08:43:09 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Dalibor Topic" <robilad@kaffe.org>
Date: Tue, 12 Oct 2004 08:43:01 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEBDEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <416A721A.9010002@kaffe.org>
Importance: Normal
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: clickthrough license
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 22:52:41 -0000

Dalibor,

> Till then, it's all 'what-if' speculation. Sun has tolerated[4]
> clean-room efforts like Kaffe since 1996, without threatening legal
> action, afaict, so I don't see why they should change their minds now.

I hear everything you said. But the issue that started this discussion was
whether a classpath developer could accept Sun's clickthrough license to
read the latest Java specifications.

My argument has been that even without a click-through licencse, all of the
Java specifications and API's are protected by Sun's specification license,
no matter whether you downloaded them or simply read them online.

So the answer to this has to be "yes, it is ok for a Classpath developer to
accept Sun's specification license", otherwise none of us can refer to the
API docs or spec to clarify any aspect of the APIs.

David Holmes




From MAILER-DAEMON Mon Oct 11 19:38:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CH9kf-0007Z6-Hu
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 19:38:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CH9kd-0007XO-AS
	for classpath@gnu.org; Mon, 11 Oct 2004 19:38:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CH9kc-0007Wr-LU
	for classpath@gnu.org; Mon, 11 Oct 2004 19:38:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CH9kc-0007WT-Fz
	for classpath@gnu.org; Mon, 11 Oct 2004 19:38:46 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CH9dU-0008VR-7V
	for classpath@gnu.org; Mon, 11 Oct 2004 19:31:24 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9BNUtJY014239;
	Tue, 12 Oct 2004 09:30:56 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Tue, 12 Oct 2004 09:30:55 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCIEBFEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <NFBBKALFDCPFIDBNKAPCIEBCEOAA.dholmes@dltech.com.au>
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 23:38:47 -0000

I wrote:
> This seems to be a fairly critical part of the classloader security
> architecture that is simply not documented. This makes it rather difficult
> to know how it is supposed to be implemented.

Okay I found something that documents this and it is not what I thought. The
SecurityManager allows for checking (and hence denying) package access
during classloading (directly or via reflection) but you only get that
protection when you use a classloader that provides it. At present there is
only one classloader that documents that it will do a package access check,
and that is the classloader returned by URLClassLoader.newInstance.

This information came from a 2001 JDC TechTips article:

http://java.sun.com/developer/JDCTechTips/2001/tt0130.html

Now I don't see anything that says that the system/application classloader,
or even the bootstrap loader couldn't perform this check - but I'm not sure
it would be such a good idea, or help that much.

The question is: what were we trying to protect and under what conditions?

As I understand it the intent was to have a public class with public methods
that was meant to be inaccessible to anything not loaded by the bootstrap
loader. That would imply making the system classloader implement this check.
However, such a check would only occur when a security manager is installed
anyway, so what exactly are we trying to protect here?

Cheers,
David




From MAILER-DAEMON Mon Oct 11 19:48:19 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CH9tq-0001d9-PW
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 19:48:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CH9to-0001ay-Hm
	for classpath@gnu.org; Mon, 11 Oct 2004 19:48:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CH9tn-0001a4-NI
	for classpath@gnu.org; Mon, 11 Oct 2004 19:48:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CH9tn-0001ZZ-7a
	for classpath@gnu.org; Mon, 11 Oct 2004 19:48:15 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CH9lr-0001dW-Ca
	for classpath@gnu.org; Mon, 11 Oct 2004 19:40:04 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9BNbMJY020112;
	Tue, 12 Oct 2004 09:37:22 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Tue, 12 Oct 2004 09:37:22 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEBGEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <NFBBKALFDCPFIDBNKAPCIEBFEOAA.dholmes@dltech.com.au>
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2004 23:48:17 -0000

I wrote:
> At present there is only one
> classloader that documents that it will do a package access
> check, and that is the classloader returned by URLClassLoader.newInstance.

Bah! I can't even read straight this morning. According to the article the
system classloader *does* perform this check - not that this seems to be
documented anywhere.

So Classpath probably should define a system class loader that does this
too.

That said, given the check only comes into play when a security manager is
installed, and it may be avoided by a user-defined classloader, does this
actually provide the protection that was desired? (And what exactly was the
protection anyway?)

David




From MAILER-DAEMON Mon Oct 11 20:22:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHARC-0001Rn-Vt
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 20:22:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHARB-0001RZ-4u
	for classpath@gnu.org; Mon, 11 Oct 2004 20:22:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHARA-0001RL-PA
	for classpath@gnu.org; Mon, 11 Oct 2004 20:22:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHARA-0001R5-HH
	for classpath@gnu.org; Mon, 11 Oct 2004 20:22:44 -0400
Received: from [209.225.28.222] (helo=mxsf22.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHAJl-0007iP-HO
	for classpath@gnu.org; Mon, 11 Oct 2004 20:15:05 -0400
Received: from mxip16.cluster1.charter.net (mxip16a.cluster1.charter.net
	[209.225.28.146])
	by mxsf22.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i9C0F3kO011166
	for <classpath@gnu.org>; Mon, 11 Oct 2004 20:15:04 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip16.cluster1.charter.net with ESMTP; 11 Oct 2004 20:15:04 -0400
X-Ironport-AV: i="3.85,134,1094443200"; 
	d="scan'208"; a="419000633:sNHT12722024"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id TAA39638;
	Mon, 11 Oct 2004 19:02:08 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i9C027Nb000791; 
	Mon, 11 Oct 2004 19:02:07 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i9C027Ur000790;
	Mon, 11 Oct 2004 19:02:07 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410120002.i9C027Ur000790@arch20m.dellroad.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCIEBFEOAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Date: Mon, 11 Oct 2004 19:02:07 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 00:22:45 -0000

David Holmes wrote:
> As I understand it the intent was to have a public class with public methods
> that was meant to be inaccessible to anything not loaded by the bootstrap
> loader. That would imply making the system classloader implement this check.

How about just having this class use getClass().getClassLoader() to
check for itself, and refusing to function if not the boot loader?
Then we skip all the security stuff.

-Archie

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



From MAILER-DAEMON Mon Oct 11 20:30:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHAYz-0004BG-Jx
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 20:30:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHAYy-0004B4-5R
	for classpath@gnu.org; Mon, 11 Oct 2004 20:30:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHAYx-0004Af-8k
	for classpath@gnu.org; Mon, 11 Oct 2004 20:30:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHAYx-0004Ac-4e
	for classpath@gnu.org; Mon, 11 Oct 2004 20:30:47 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CHARk-0000rt-7P
	for classpath@gnu.org; Mon, 11 Oct 2004 20:23:20 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9C0LRJY058319;
	Tue, 12 Oct 2004 10:21:28 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Archie Cobbs" <archie@dellroad.org>
Date: Tue, 12 Oct 2004 10:21:26 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMEBHEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <200410120002.i9C027Ur000790@arch20m.dellroad.org>
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 00:30:48 -0000

Archie Cobbs writes:
> How about just having this class use getClass().getClassLoader() to
> check for itself, and refusing to function if not the boot loader?
> Then we skip all the security stuff.

You mean similar to the some of the security checks themselves, the code
being called checks the caller's classloader ?

That seems like another option - though the current initialization process
seems to be quite strong on avoiding any kind of security check during the
initialization process. I don't know if that is for functional or purely
performance reasons.

But I'll leave it to Jeroen to clarify exactly what protection is needed.

David Holmes




From MAILER-DAEMON Mon Oct 11 21:52:58 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHBqT-0007sP-Tg
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 21:52:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHBqS-0007sI-HM
	for classpath@gnu.org; Mon, 11 Oct 2004 21:52:56 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHBqR-0007rz-TT
	for classpath@gnu.org; Mon, 11 Oct 2004 21:52:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHBqR-0007rp-PE
	for classpath@gnu.org; Mon, 11 Oct 2004 21:52:55 -0400
Received: from [209.225.28.212] (helo=mxsf12.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHBiv-0007xc-PF
	for classpath@gnu.org; Mon, 11 Oct 2004 21:45:09 -0400
Received: from mxip03.cluster1.charter.net (mxip03a.cluster1.charter.net
	[209.225.28.133])
	by mxsf12.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i9C1j7LP001631
	for <classpath@gnu.org>; Mon, 11 Oct 2004 21:45:08 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip03.cluster1.charter.net with ESMTP; 11 Oct 2004 21:45:06 -0400
X-Ironport-AV: i="3.85,134,1094443200"; 
	d="scan'208"; a="348172041:sNHT12652072"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id UAA40579;
	Mon, 11 Oct 2004 20:38:45 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i9C1ciNb001310; 
	Mon, 11 Oct 2004 20:38:44 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i9C1chUM001309;
	Mon, 11 Oct 2004 20:38:43 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410120138.i9C1chUM001309@arch20m.dellroad.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCMEBHEOAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Date: Mon, 11 Oct 2004 20:38:43 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 01:52:56 -0000

David Holmes wrote:
> > How about just having this class use getClass().getClassLoader() to
> > check for itself, and refusing to function if not the boot loader?
> > Then we skip all the security stuff.
> 
> You mean similar to the some of the security checks themselves, the code
> being called checks the caller's classloader ?

I was actually thinking the class would check its own class loader.
So untrusted class loaders could load/define the class, but it wouldn't
work if they did. This check would be "simple" and perhaps more suitable
for initialization code.

-Archie

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



From MAILER-DAEMON Mon Oct 11 22:03:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHC0R-00020c-9v
	for mharc-classpath@gnu.org; Mon, 11 Oct 2004 22:03:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHC0P-0001zv-Al
	for classpath@gnu.org; Mon, 11 Oct 2004 22:03:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHC0O-0001ze-NI
	for classpath@gnu.org; Mon, 11 Oct 2004 22:03:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHC0O-0001zW-Gz
	for classpath@gnu.org; Mon, 11 Oct 2004 22:03:12 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CHBt2-0001PZ-0j
	for classpath@gnu.org; Mon, 11 Oct 2004 21:55:36 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9C1riJY039312;
	Tue, 12 Oct 2004 11:53:44 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Archie Cobbs" <archie@dellroad.org>
Date: Tue, 12 Oct 2004 11:53:43 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEBJEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <200410120138.i9C1chUM001309@arch20m.dellroad.org>
Importance: Normal
Cc: classpath@gnu.org
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 02:03:13 -0000

> I was actually thinking the class would check its own class loader.
> So untrusted class loaders could load/define the class, but it wouldn't
> work if they did. This check would be "simple" and perhaps more suitable
> for initialization code.

I don't follow. The protected class will always get loaded during system
initialization by the bootstrap loader. The issue is then to stop
application classes from accessing an already loaded class. Hence it is the
calling class, attempting to use the already loaded protected class, whose
classloader must be checked.

David Holmes




From MAILER-DAEMON Tue Oct 12 02:23:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHG4A-0007ia-U3
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 02:23:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHG49-0007iN-L6
	for classpath@gnu.org; Tue, 12 Oct 2004 02:23:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHG48-0007hz-TP
	for classpath@gnu.org; Tue, 12 Oct 2004 02:23:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHG48-0007hi-NK
	for classpath@gnu.org; Tue, 12 Oct 2004 02:23:20 -0400
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHFwu-0004LO-Te
	for classpath@gnu.org; Tue, 12 Oct 2004 02:15:53 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-95-116.ewetel.net
	[80.228.95.116])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id i9C6FoIV011569;
	Tue, 12 Oct 2004 08:15:51 +0200 (MEST)
Received: from [192.168.1.1] (helo=miraculix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CHGAQ-0005rN-5Y; Tue, 12 Oct 2004 08:29:50 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 12 Oct 2004 08:18:24 +0200
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA687E04@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E04@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410120818.24734.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: java.util.Date mess
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 06:23:21 -0000

On Monday 11 October 2004 15:39, Jeroen Frijters wrote:
> Hi,
>
> I have some code that depends on unspecified behavior of
> java.util.Date. In the Sun JDK if you pass out of range parameters
> to the Date constructors that take year, month, date, etc. it will
> automatically convert to a valid date (for example, new Date(104,
> 8, 41) is Oct 11, 2004.)
>
> I have a rather lame patch that addresses this (see below), would
> anyone object to this?

Are there mauve test that confirm that this breaks nothing ?


Michael



From MAILER-DAEMON Tue Oct 12 03:00:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHGeF-000678-1h
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 03:00:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHGeC-000663-Hx
	for classpath@gnu.org; Tue, 12 Oct 2004 03:00:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHGeB-00065C-1G
	for classpath@gnu.org; Tue, 12 Oct 2004 03:00:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHGeA-000659-Uk
	for classpath@gnu.org; Tue, 12 Oct 2004 03:00:34 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHGX3-0002E4-By
	for classpath@gnu.org; Tue, 12 Oct 2004 02:53:13 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 12 Oct 2004 08:54:37 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687E1A@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSv6qLEwrhlm0biQUOe1bGhVwGhKgAOxAqQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 07:00:36 -0000

David Holmes wrote:
> At present there is only one classloader that documents that it will
> do a package access check, and that is the classloader returned by
> URLClassLoader.newInstance.

According to the table in the TechTips article, the system class loader
also does the check (and that's the place that makes the most sense to
me).

> http://java.sun.com/developer/JDCTechTips/2001/tt0130.html

Thanks for this link, this article explains a lot.

> Now I don't see anything that says that the=20
> system/application classloader, or even the bootstrap loader
> couldn't perform this check - but I'm not sure
> it would be such a good idea, or help that much.

I think that a check in the system class loader would work and be
sufficient to protect access to our "private" package.

> The question is: what were we trying to protect and under=20
> what conditions?

Here is my scenario:
- I want to eliminate dependency cycles in the core classes as much as
possible.
- I don't want to use AccessController.doPrivileged or reflection (for
hopefully obvious reasons).
- To do the above I suggested we create a special package that is not
accessible from untrusted code (i.e. set the security property
"package.access" to e.g. "gnu.classpath.", then we can have public
classes in the gnu.classpath package that can be used from within
Classpath (i.e. all code loaded by the bootstrap class loader), but
cannot be accessed by code loaded with the system class loader (or any
other class loader, for that matter).
- If there is no SecurityManager, anyone can access the "private"
package (this is equivalent to the current situation, because currently
you can use reflection to get at the internals).

> As I understand it the intent was to have a public class with=20
> public methods that was meant to be inaccessible to anything not
> loaded by the bootstrap loader.

Exactly.

> That would imply making the system classloader implement this
> check.
> However, such a check would only occur when a security=20
> manager is installed anyway, so what exactly are we trying to
> protect here?

The public classes in the "private" package expose priviliged
operations, without doing any security checks (instead relying on the
fact that the package is "private").

Regards,
Jeroen



From MAILER-DAEMON Tue Oct 12 03:00:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHGeF-00067C-B7
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 03:00:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHGeC-000667-J8
	for classpath@gnu.org; Tue, 12 Oct 2004 03:00:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHGeB-00065Q-HJ
	for classpath@gnu.org; Tue, 12 Oct 2004 03:00:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHGeB-000659-7Y
	for classpath@gnu.org; Tue, 12 Oct 2004 03:00:35 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHGX2-0002E4-J0
	for classpath@gnu.org; Tue, 12 Oct 2004 02:53:12 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 12 Oct 2004 08:54:37 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687E19@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSv42aQVJiekeTUSmKu9Wr8jQDxdgAQOfMA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 07:00:37 -0000

David Holmes wrote:
> This seems to be a fairly critical part of the classloader security
> architecture that is simply not documented. This makes it=20
> rather difficult to know how it is supposed to be implemented.

It looks more like a hack to me, but it seems to do exactly what I want,
so I'm not complaining.

> > It isn't trivial without creating your own class loader (which is a
> > privileged operation).
>=20
> True, but the createClassloader permission is not supposed to imply
> accessPackage.* permission, but that is what could occur.=20
> This might be a small crack inside the vault but it is still a crack
> that should not be there. Much of the security architecture talks
about=20
> malicious classloaders, but you are implying that all classloaders are
> trustworthy.

True, but in reality I've never seen any evidence (or even suggestions)
that creating a class loader is safe on any VM (in fact, the Sun 1.4 VM
allows a custom class loader to redefine java.lang.Object and crash the
VM).

Regards,
Jeroen



From MAILER-DAEMON Tue Oct 12 03:00:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHGeF-00067U-Rn
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 03:00:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHGeC-00065z-D7
	for classpath@gnu.org; Tue, 12 Oct 2004 03:00:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHGeB-00065J-7J
	for classpath@gnu.org; Tue, 12 Oct 2004 03:00:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHGeB-000659-3o
	for classpath@gnu.org; Tue, 12 Oct 2004 03:00:35 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHGX4-0002E4-7z
	for classpath@gnu.org; Tue, 12 Oct 2004 02:53:14 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 12 Oct 2004 08:52:16 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687E1B@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSv69i7tiYliBWCTNifMHd2s4fpmAAO3c6w
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 07:00:37 -0000

David Holmes wrote:
> That said, given the check only comes into play when a=20
> security manager is installed, and it may be avoided by a
> user-defined classloader, does this actually provide the
> protection that was desired?

I'm pretty sure the check *cannot* be circumvented by a user-defined
class loader. It may not do the check itself, but that only means it can
load a class in another package (that happens to have the same name).
For it to load bootstrap classes, it will need to delegate to the system
class loader and that's the one doing the checking.

Regards,
Jeroen





From MAILER-DAEMON Tue Oct 12 03:09:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHGn9-0000e0-BK
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 03:09:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHBHu-0007m3-Dz
	for classpath@gnu.org; Mon, 11 Oct 2004 21:17:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHBHt-0007ln-Sx
	for classpath@gnu.org; Mon, 11 Oct 2004 21:17:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHBHt-0007ld-Mi
	for classpath@gnu.org; Mon, 11 Oct 2004 21:17:13 -0400
Received: from [66.11.181.4] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CHBAR-0001TO-Co
	for classpath@gnu.org; Mon, 11 Oct 2004 21:09:31 -0400
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.34 #1 (Debian))
	id 1CHBAP-0003lK-1e; Mon, 11 Oct 2004 21:09:29 -0400
Received: from localhost ([127.0.0.1])
	by glue.info.uqam.ca with esmtp (Exim 4.34)
	id 1CH9pi-0002e0-1r; Mon, 11 Oct 2004 19:44:02 -0400
From: "Grzegorz B. Prokopski" <gadek@sablevm.org>
To: SableVM Developers Mailing List <sablevm-devel@sablevm.org>
In-Reply-To: <87pt3ohpy5.fsf@stan.aopsys>
References: <1097458491.17347.352.camel@localhost.localdomain>
	<87pt3ohpy5.fsf@stan.aopsys>
Content-Type: text/plain
Organization: SableVM - LGPL'ed Free Java VM http://sablevm.org
Message-Id: <1097543320.2667.122.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 11 Oct 2004 21:08:42 -0400
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 12 Oct 2004 03:09:50 -0400
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: SableVM 1.1.7 *prerelease* available - please test!
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 01:17:14 -0000

On Mon, 2004-10-11 at 18:04, Laurent Martelli wrote:
> I can't seem to get AWT/SWING to work at all, I always have this error
> (I tried "xhost +" with no success):
> 
> _X11TransSocketOpen: socket() failed for local
> _X11TransSocketOpenCOTSClient: Unable to open socket for local
> _X11TransOpen: transport open failed for local/stan:0

I've never seen the above, but I keep getting:

(:26130): Gdk-WARNING **: gdkdrawable-x11.c:912 drawable is not a pixmap
or window

Instead of a window being displayed :-(

Unpacking the boot class path makes no difference.  The tests I ran
work nicely with 1.1.6-6, so I suspect latest merge of code from
GNU CP CVS (10th October) might have broken it?

Cc:ing classpath ML, maybe our AWT-masters can give us a hand?

Cheers,

				Grzegorz B. Prokopski
-- 
Grzegorz B. Prokopski           <gadek@sablevm.org>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org





From MAILER-DAEMON Tue Oct 12 03:17:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHGuO-0002Fh-7Q
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 03:17:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHGuN-0002FW-BG
	for classpath@gnu.org; Tue, 12 Oct 2004 03:17:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHGuM-0002F6-DR
	for classpath@gnu.org; Tue, 12 Oct 2004 03:17:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHGuM-0002F3-Ah
	for classpath@gnu.org; Tue, 12 Oct 2004 03:17:18 -0400
Received: from [212.6.122.18] (helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHGnE-00059f-R0
	for classpath@gnu.org; Tue, 12 Oct 2004 03:09:57 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-95-116.ewetel.net
	[80.228.95.116])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id i9C79MEe005337;
	Tue, 12 Oct 2004 09:09:22 +0200 (MEST)
Received: from [192.168.1.1] (helo=miraculix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CHGmg-0006zc-BI; Tue, 12 Oct 2004 09:09:22 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 12 Oct 2004 09:11:57 +0200
User-Agent: KMail/1.6.2
References: <1097458491.17347.352.camel@localhost.localdomain>
	<87pt3ohpy5.fsf@stan.aopsys>
	<1097543320.2667.122.camel@localhost.localdomain>
In-Reply-To: <1097543320.2667.122.camel@localhost.localdomain>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200410120911.57109.konqueror@gmx.de>
X-CheckCompat: OK
Cc: SableVM Developers Mailing List <sablevm-devel@sablevm.org>,
	"Grzegorz B. Prokopski" <gadek@sablevm.org>
Subject: Re: SableVM 1.1.7 *prerelease* available - please test!
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 07:17:19 -0000

On Tuesday 12 October 2004 03:08, Grzegorz B. Prokopski wrote:
> On Mon, 2004-10-11 at 18:04, Laurent Martelli wrote:
> > I can't seem to get AWT/SWING to work at all, I always have this
> > error (I tried "xhost +" with no success):
> >
> > _X11TransSocketOpen: socket() failed for local
> > _X11TransSocketOpenCOTSClient: Unable to open socket for local
> > _X11TransOpen: transport open failed for local/stan:0
>
> I've never seen the above, but I keep getting:
>
> (:26130): Gdk-WARNING **: gdkdrawable-x11.c:912 drawable is not a
> pixmap or window
>
> Instead of a window being displayed :-(
>
> Unpacking the boot class path makes no difference.  The tests I ran
> work nicely with 1.1.6-6, so I suspect latest merge of code from
> GNU CP CVS (10th October) might have broken it?
>
> Cc:ing classpath ML, maybe our AWT-masters can give us a hand?

Can you try this patch ?

http://gcc.gnu.org/ml/java-patches/2004-q4/msg00090.html

Personally I don't see this problem, but Mark reported it.


Michael



From MAILER-DAEMON Tue Oct 12 05:42:57 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHJBJ-0000GD-3H
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 05:42:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHJBB-0000F2-2T
	for classpath@gnu.org; Tue, 12 Oct 2004 05:42:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHJB9-0000Dq-7m
	for classpath@gnu.org; Tue, 12 Oct 2004 05:42:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHJB8-0000DM-VD
	for classpath@gnu.org; Tue, 12 Oct 2004 05:42:47 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHJ45-0007cZ-1I
	for classpath@gnu.org; Tue, 12 Oct 2004 05:35:29 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C4B03F.026A9F6C"
Date: Tue, 12 Oct 2004 11:35:24 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687E1C@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: java.util.Date mess
Thread-Index: AcSwIyCJlhqG+IBKReSMY5ST/BmW6wAGzeAg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>,
	<classpath@gnu.org>
Cc: Mauve Discuss <mauve-discuss@sources.redhat.com>
Subject: RE: java.util.Date mess
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 09:42:50 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C4B03F.026A9F6C
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Michael Koch wrote:
> On Monday 11 October 2004 15:39, Jeroen Frijters wrote:
> > I have some code that depends on unspecified behavior of
> > java.util.Date. In the Sun JDK if you pass out of range parameters
> > to the Date constructors that take year, month, date, etc. it will
> > automatically convert to a valid date (for example, new Date(104,
> > 8, 41) is Oct 11, 2004.)
> >
> > I have a rather lame patch that addresses this (see below), would
> > anyone object to this?
>=20
> Are there mauve test that confirm that this breaks nothing ?

I made a new Mauve test (attached) that works better with my patch
(after I fixed one error in my patch and fixed an additional Date bug),
but it still fails on three tests. One is due to a bug in
GregorianCalendar and I haven't investigated the other two.

Is the attached test OK to commit? Do I need to modify any other Mauve
files to add the test?

Regards,
Jeroen

------_=_NextPart_001_01C4B03F.026A9F6C
Content-Type: application/octet-stream;
	name="range.java"
Content-Transfer-Encoding: base64
Content-Description: range.java
Content-Disposition: attachment;
	filename="range.java"

Ly8gVGFnczogSkRLMS4wDQoNCi8vIENvcHlyaWdodCAoQykgMjAwNCBGcmVlIFNvZnR3YXJlIEZv
dW5kYXRpb24sIEluYy4NCi8vIENvbnRyaWJ1dGVkIGJ5IEplcm9lbiBGcmlqdGVycyA8amVyb2Vu
QGZyaWp0ZXJzLm5ldD4uDQoNCi8vIFRoaXMgZmlsZSBpcyBwYXJ0IG9mIE1hdXZlLg0KDQovLyBN
YXV2ZSBpcyBmcmVlIHNvZnR3YXJlOyB5b3UgY2FuIHJlZGlzdHJpYnV0ZSBpdCBhbmQvb3IgbW9k
aWZ5DQovLyBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNl
bnNlIGFzIHB1Ymxpc2hlZCBieQ0KLy8gdGhlIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbjsgZWl0
aGVyIHZlcnNpb24gMiwgb3IgKGF0IHlvdXIgb3B0aW9uKQ0KLy8gYW55IGxhdGVyIHZlcnNpb24u
DQoNCi8vIE1hdXZlIGlzIGRpc3RyaWJ1dGVkIGluIHRoZSBob3BlIHRoYXQgaXQgd2lsbCBiZSB1
c2VmdWwsDQovLyBidXQgV0lUSE9VVCBBTlkgV0FSUkFOVFk7IHdpdGhvdXQgZXZlbiB0aGUgaW1w
bGllZCB3YXJyYW50eSBvZg0KLy8gTUVSQ0hBTlRBQklMSVRZIG9yIEZJVE5FU1MgRk9SIEEgUEFS
VElDVUxBUiBQVVJQT1NFLiAgU2VlIHRoZQ0KLy8gR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2Ug
Zm9yIG1vcmUgZGV0YWlscy4NCg0KLy8gWW91IHNob3VsZCBoYXZlIHJlY2VpdmVkIGEgY29weSBv
ZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UNCi8vIGFsb25nIHdpdGggTWF1dmU7IHNl
ZSB0aGUgZmlsZSBDT1BZSU5HLiAgSWYgbm90LCB3cml0ZSB0bw0KLy8gdGhlIEZyZWUgU29mdHdh
cmUgRm91bmRhdGlvbiwgNTkgVGVtcGxlIFBsYWNlIC0gU3VpdGUgMzMwLA0KLy8gQm9zdG9uLCBN
QSAwMjExMS0xMzA3LCBVU0EuDQoNCnBhY2thZ2UgZ251LnRlc3RsZXQuamF2YS51dGlsLkRhdGU7
DQoNCmltcG9ydCBnbnUudGVzdGxldC5UZXN0bGV0Ow0KaW1wb3J0IGdudS50ZXN0bGV0LlRlc3RI
YXJuZXNzOw0KaW1wb3J0IGphdmEudXRpbC5EYXRlOw0KDQpwdWJsaWMgY2xhc3MgcmFuZ2UgaW1w
bGVtZW50cyBUZXN0bGV0DQp7DQogIHByaXZhdGUgVGVzdEhhcm5lc3MgaGFybmVzczsNCg0KICBw
dWJsaWMgdm9pZCB0ZXN0IChUZXN0SGFybmVzcyBoYXJuZXNzKQ0KICB7DQogICAgdGhpcy5oYXJu
ZXNzID0gaGFybmVzczsNCg0KICAgIGNoZWNrKDcwLCAwLCAxLCAwLCAwLCAwLCAwKTsNCiAgICBj
aGVjaygxMDQsIDksIDEyLCAwLCAwLCAwLCAxMDk3NTM5MjAwMDAwTCk7DQogICAgY2hlY2soMTA0
LCA5LCAxMiwgMCwgMCwgMCwgMTA5NzUzOTIwMDAwMEwpOw0KICAgIGNoZWNrKDEwNCwgOSwgMTIs
IDEyLCAzNCwgMCwgMTA5NzU4NDQ0MDAwMEwpOw0KICAgIGNoZWNrKDEwNCwgOSwgMTIsIDEyLCAz
NCwgNTYsIDEwOTc1ODQ0OTYwMDBMKTsNCiAgICBjaGVjaygxMDQsIC0xLCAwLCAwLCAwLCAwLCAx
MDcwMTUwNDAwMDAwTCk7DQogICAgY2hlY2soMTA0LCA5OSwgOTksIDk5LCA5OSwgOTksIDEzNDIw
NjgwMzkwMDBMKTsNCiAgICBjaGVjaygxMDQsIDk5OSwgOTk5LCA5OTksIDk5OSwgOTk5LCAzNzg1
NTgzMTcxNzA0TCk7DQogICAgY2hlY2soMTA0LCAtMSwgLTEsIC0xLCAtMSwgLTEsIDEwNzAwNjAz
MzkwMDBMKTsNCiAgICBjaGVjaygxMDQsIC05OTksIC05OTksIC05OTksIC05OTksIC05OTksIC0x
NjQwMDExOTcxNzA0TCk7DQogIH0NCg0KICBwcml2YXRlIHZvaWQgY2hlY2soaW50IHllYXIsIGlu
dCBtb250aCwgaW50IGRheSwgaW50IGhvdXJzLCBpbnQgbWlucywgaW50IHNlY3MsIGxvbmcgbCkN
CiAgew0KICAgIHRyeQ0KICAgICAgew0KICAgICAgICBEYXRlIGQgPSBuZXcgRGF0ZSh5ZWFyLCBt
b250aCwgZGF5LCBob3VycywgbWlucywgc2Vjcyk7DQogICAgICAgIGhhcm5lc3MuY2hlY2soZC5n
ZXRUaW1lKCkgLSBkLmdldFRpbWV6b25lT2Zmc2V0KCkgKiA2MCAqIDEwMDAgPT0gbCk7DQogICAg
ICB9DQogICAgY2F0Y2ggKFRocm93YWJsZSB0KQ0KICAgICAgew0KICAgICAgICBoYXJuZXNzLmRl
YnVnKHQpOw0KICAgICAgICBoYXJuZXNzLmNoZWNrKGZhbHNlKTsNCiAgICAgIH0NCiAgfQ0KfQ0K

------_=_NextPart_001_01C4B03F.026A9F6C--



From MAILER-DAEMON Tue Oct 12 05:48:21 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHJGX-000203-J9
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 05:48:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHJGV-0001zX-B7
	for classpath@gnu.org; Tue, 12 Oct 2004 05:48:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHJGU-0001yH-Dp
	for classpath@gnu.org; Tue, 12 Oct 2004 05:48:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHJGT-0001y8-6t
	for classpath@gnu.org; Tue, 12 Oct 2004 05:48:18 -0400
Received: from [62.253.162.94] (helo=mta10-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHJ9N-0000Ji-GP
	for classpath@gnu.org; Tue, 12 Oct 2004 05:40:57 -0400
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta10-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20041012093930.KMOH20770.mta10-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Tue, 12 Oct 2004 10:39:30 +0100
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i9C9esQn016715; Tue, 12 Oct 2004 10:40:54 +0100
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i9C9erVP016711;
	Tue, 12 Oct 2004 10:40:53 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16747.42661.267373.605540@cuddles.cambridge.redhat.com>
Date: Tue, 12 Oct 2004 10:40:53 +0100
From: Andrew Haley <aph@redhat.com>
To: <classpath@gnu.org>, "Mauve Discuss" <mauve-discuss@sources.redhat.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E1C@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA687E1C@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: 
Subject: RE: java.util.Date mess
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 09:48:19 -0000

A modest proposal: could those people attaching files please give them
a content-type of "text/plain" rather than "application/binary"?
They'd still be transmitted faithfully, bus mailers could display them
inline.

Thanks,
Andrew.



From MAILER-DAEMON Tue Oct 12 05:49:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHJHt-0002FW-HJ
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 05:49:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHJHq-0002Eu-Fl
	for classpath@gnu.org; Tue, 12 Oct 2004 05:49:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHJHn-0002E6-K2
	for classpath@gnu.org; Tue, 12 Oct 2004 05:49:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHJHn-0002E3-EW
	for classpath@gnu.org; Tue, 12 Oct 2004 05:49:39 -0400
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHJ9y-0000TS-R7
	for classpath@gnu.org; Tue, 12 Oct 2004 05:41:35 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-95-116.ewetel.net
	[80.228.95.116])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id i9C9fWIV003143;
	Tue, 12 Oct 2004 11:41:32 +0200 (MEST)
Received: from [192.168.1.1] (helo=miraculix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CHJ9w-0001Ro-Fd; Tue, 12 Oct 2004 11:41:32 +0200
From: Michael Koch <konqueror@gmx.de>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Tue, 12 Oct 2004 11:41:31 +0200
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA687E1C@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E1C@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200410121141.31542.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org, Mauve Discuss <mauve-discuss@sources.redhat.com>
Subject: Re: java.util.Date mess
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 09:49:43 -0000

On Tuesday 12 October 2004 11:35, Jeroen Frijters wrote:
> Michael Koch wrote:
> > On Monday 11 October 2004 15:39, Jeroen Frijters wrote:
> > > I have some code that depends on unspecified behavior of
> > > java.util.Date. In the Sun JDK if you pass out of range
> > > parameters to the Date constructors that take year, month,
> > > date, etc. it will automatically convert to a valid date (for
> > > example, new Date(104, 8, 41) is Oct 11, 2004.)
> > >
> > > I have a rather lame patch that addresses this (see below),
> > > would anyone object to this?
> >
> > Are there mauve test that confirm that this breaks nothing ?
>
> I made a new Mauve test (attached) that works better with my patch
> (after I fixed one error in my patch and fixed an additional Date
> bug), but it still fails on three tests. One is due to a bug in
> GregorianCalendar and I haven't investigated the other two.
>
> Is the attached test OK to commit? Do I need to modify any other
> Mauve files to add the test?

Just add the file with a proper ChangeLog entry and be done. Thats all 
you need to do. Thanks for the testcase.


Michael



From MAILER-DAEMON Tue Oct 12 09:53:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHN66-0002ir-W4
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 09:53:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHN64-0002hK-5w
	for classpath@gnu.org; Tue, 12 Oct 2004 09:53:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHN62-0002gf-T3
	for classpath@gnu.org; Tue, 12 Oct 2004 09:53:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHN62-0002gV-PB
	for classpath@gnu.org; Tue, 12 Oct 2004 09:53:46 -0400
Received: from [209.225.28.224] (helo=mxsf24.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHMym-00045d-Me
	for classpath@gnu.org; Tue, 12 Oct 2004 09:46:16 -0400
Received: from mxip11.cluster1.charter.net (mxip11a.cluster1.charter.net
	[209.225.28.141])
	by mxsf24.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i9CDkEMv005639
	for <classpath@gnu.org>; Tue, 12 Oct 2004 09:46:14 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip11.cluster1.charter.net with ESMTP; 12 Oct 2004 09:46:14 -0400
X-Ironport-AV: i="3.85,136,1094443200"; 
	d="scan'208"; a="414831760:sNHT16888204"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA47953;
	Tue, 12 Oct 2004 08:39:12 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i9CDdBNb005349; 
	Tue, 12 Oct 2004 08:39:11 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i9CDd9tw005348;
	Tue, 12 Oct 2004 08:39:09 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410121339.i9CDd9tw005348@arch20m.dellroad.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCEEBJEOAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Date: Tue, 12 Oct 2004 08:39:09 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 13:53:49 -0000

David Holmes wrote:
> > I was actually thinking the class would check its own class loader.
> > So untrusted class loaders could load/define the class, but it wouldn't
> > work if they did. This check would be "simple" and perhaps more suitable
> > for initialization code.
> 
> I don't follow. The protected class will always get loaded during system
> initialization by the bootstrap loader. The issue is then to stop
> application classes from accessing an already loaded class. Hence it is the
> calling class, attempting to use the already loaded protected class, whose
> classloader must be checked.

You're right, nevermind :-)

-Archie

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



From MAILER-DAEMON Tue Oct 12 10:24:56 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHNaC-0002wO-4s
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 10:24:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHNa8-0002vp-V3
	for classpath@gnu.org; Tue, 12 Oct 2004 10:24:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHNa7-0002v7-NP
	for classpath@gnu.org; Tue, 12 Oct 2004 10:24:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHNa7-0002ux-LC
	for classpath@gnu.org; Tue, 12 Oct 2004 10:24:51 -0400
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHNT2-0001fm-R9
	for classpath@gnu.org; Tue, 12 Oct 2004 10:17:33 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-95-116.ewetel.net
	[80.228.95.116])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i9CEGu2p020163;
	Tue, 12 Oct 2004 16:16:56 +0200 (MEST)
Received: from [192.168.1.1] (helo=miraculix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CHNST-0002A4-Hv; Tue, 12 Oct 2004 16:16:57 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 12 Oct 2004 16:16:55 +0200
User-Agent: KMail/1.6.2
References: <1097458491.17347.352.camel@localhost.localdomain>
	<87pt3ohpy5.fsf@stan.aopsys>
	<1097543320.2667.122.camel@localhost.localdomain>
In-Reply-To: <1097543320.2667.122.camel@localhost.localdomain>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200410121616.55564.konqueror@gmx.de>
X-CheckCompat: OK
Cc: SableVM Developers Mailing List <sablevm-devel@sablevm.org>,
	"Grzegorz B. Prokopski" <gadek@sablevm.org>
Subject: Re: SableVM 1.1.7 *prerelease* available - please test!
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 14:24:53 -0000

On Tuesday 12 October 2004 03:08, Grzegorz B. Prokopski wrote:
> On Mon, 2004-10-11 at 18:04, Laurent Martelli wrote:
> > I can't seem to get AWT/SWING to work at all, I always have this
> > error (I tried "xhost +" with no success):
> >
> > _X11TransSocketOpen: socket() failed for local
> > _X11TransSocketOpenCOTSClient: Unable to open socket for local
> > _X11TransOpen: transport open failed for local/stan:0
>
> I've never seen the above, but I keep getting:
>
> (:26130): Gdk-WARNING **: gdkdrawable-x11.c:912 drawable is not a
> pixmap or window
>
> Instead of a window being displayed :-(
>
> Unpacking the boot class path makes no difference.  The tests I ran
> work nicely with 1.1.6-6, so I suspect latest merge of code from
> GNU CP CVS (10th October) might have broken it?
>
> Cc:ing classpath ML, maybe our AWT-masters can give us a hand?

I forgot to say: this bug only occurs with some window managers. 
metacity afaik shows the bug, KDE does not.


Michael



From MAILER-DAEMON Tue Oct 12 11:07:50 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHOFi-0002LV-5r
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 11:07:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHOFf-0002Iv-F0
	for classpath@gnu.org; Tue, 12 Oct 2004 11:07:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHOFe-0002IV-2r
	for classpath@gnu.org; Tue, 12 Oct 2004 11:07:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHOFe-0002IS-0C
	for classpath@gnu.org; Tue, 12 Oct 2004 11:07:46 -0400
Received: from [209.225.28.205] (helo=mxsf05.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHO8F-0002VS-Dx
	for classpath@gnu.org; Tue, 12 Oct 2004 11:00:08 -0400
Received: from mxip14.cluster1.charter.net (mxip14a.cluster1.charter.net
	[209.225.28.144])
	by mxsf05.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i9CF05mV014592
	for <classpath@gnu.org>; Tue, 12 Oct 2004 11:00:05 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip14.cluster1.charter.net with ESMTP; 12 Oct 2004 11:00:05 -0400
X-Ironport-AV: i="3.85,137,1094443200"; 
	d="scan'208"; a="402134913:sNHT17961320"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id JAA48804;
	Tue, 12 Oct 2004 09:50:52 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i9CEoqNb005912; 
	Tue, 12 Oct 2004 09:50:52 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i9CEopoh005911;
	Tue, 12 Oct 2004 09:50:51 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410121450.i9CEopoh005911@arch20m.dellroad.org>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E19@LEMBU.sumatrasoftware.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
Date: Tue, 12 Oct 2004 09:50:51 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 15:07:48 -0000

Jeroen Frijters wrote:
> True, but in reality I've never seen any evidence (or even suggestions)
> that creating a class loader is safe on any VM (in fact, the Sun 1.4 VM
> allows a custom class loader to redefine java.lang.Object and crash the
> VM).

Trying to fully understand... pardon my questions.. why is creating
a user-defined class loader not "safe"? Just because you load your
own classes doesn't mean they aren't subject to whatever SecurityManager
is in place, right? So how could they do anything not already allowed?

Also, I thought the VM spec required java.lang.* could only be
loaded by the bootstrap loader. Do you have an example source file
that demonstrates this bug?

-Archie

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



From MAILER-DAEMON Tue Oct 12 11:46:05 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHOqj-00035d-IO
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 11:46:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHOqh-00034S-Ff
	for classpath@gnu.org; Tue, 12 Oct 2004 11:46:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHOqg-000348-Ro
	for classpath@gnu.org; Tue, 12 Oct 2004 11:46:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHOqg-00033y-OY
	for classpath@gnu.org; Tue, 12 Oct 2004 11:46:02 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHOjT-0001oM-3I
	for classpath@gnu.org; Tue, 12 Oct 2004 11:38:35 -0400
Date: Tue, 12 Oct 2004 17:38:31 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C4B071.BB0CB2F7"
Message-ID: <D92197D0A6547B44A1567814F851FA687E37@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: yes
Content-class: urn:content-classes:message
X-MS-TNEF-Correlator: 
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSwbFw6v3HGMgduSWeGqPQQFLVOVQABLQng
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Archie Cobbs" <archie@dellroad.org>
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 15:46:03 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C4B071.BB0CB2F7
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Archie Cobbs wrote:
> Trying to fully understand... pardon my questions.. why is creating
> a user-defined class loader not "safe"?

I don't know. In the history of Java there have been many security holes
related to class loading, so I'm guessing it's just caution.

> Just because you load your own classes doesn't mean they aren't
> subject to whatever SecurityManager is in place, right?
> So how could they do anything not already allowed?

In theory you're right, but in practice the VMs probably have lots of
bugs.

> Also, I thought the VM spec required java.lang.* could only be
> loaded by the bootstrap loader. Do you have an example source file
> that demonstrates this bug?

Attached.

Regards,
Jeroen

------_=_NextPart_001_01C4B071.BB0CB2F7
Content-Type: application/octet-stream;
	name="Crash.java"
Content-Transfer-Encoding: base64
Content-Description: Crash.java
Content-Disposition: attachment;
	filename="Crash.java"

aW1wb3J0IGphdmEuaW8uKjsNCg0KY2xhc3MgQ3Jhc2ggZXh0ZW5kcyBDbGFzc0xvYWRlcg0Kew0K
ICAvKg0KcGFja2FnZSBqYXZhLmxhbmc7DQoNCnB1YmxpYyBjbGFzcyBPYmplY3QNCnsNCiAgaW50
IGZpZWxkOw0KICBwdWJsaWMgYm9vbGVhbiBlcXVhbHMoT2JqZWN0IG8pIHsgU3lzdGVtLm91dC5w
cmludGxuKG8uZmllbGQpOyByZXR1cm4gZmFsc2U7IH0NCn0NCiAgKi8NCiANCiAgc3RhdGljIGJ5
dGVbXSBidWYgPSB7DQooYnl0ZSkweENBLCAoYnl0ZSkweEZFLCAoYnl0ZSkweEJBLCAoYnl0ZSkw
eEJFLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDMwLCAoYnl0
ZSkweDAwLCAoYnl0ZSkweDFCLCAoYnl0ZSkweDAxLA0KKGJ5dGUpMHgwMCwgKGJ5dGUpMHgxMCwg
KGJ5dGUpMHg2QSwgKGJ5dGUpMHg2MSwgKGJ5dGUpMHg3NiwgKGJ5dGUpMHg2MSwgKGJ5dGUpMHgy
RiwgKGJ5dGUpMHg2QywgKGJ5dGUpMHg2MSwgKGJ5dGUpMHg2RSwgKGJ5dGUpMHg2NywNCihieXRl
KTB4MkYsIChieXRlKTB4NEYsIChieXRlKTB4NjIsIChieXRlKTB4NkEsIChieXRlKTB4NjUsIChi
eXRlKTB4NjMsIChieXRlKTB4NzQsIChieXRlKTB4MDcsIChieXRlKTB4MDAsIChieXRlKTB4MDEs
IChieXRlKTB4MDEsDQooYnl0ZSkweDAwLCAoYnl0ZSkweDA1LCAoYnl0ZSkweDY2LCAoYnl0ZSkw
eDY5LCAoYnl0ZSkweDY1LCAoYnl0ZSkweDZDLCAoYnl0ZSkweDY0LCAoYnl0ZSkweDAxLCAoYnl0
ZSkweDAwLCAoYnl0ZSkweDAxLCAoYnl0ZSkweDQ5LA0KKGJ5dGUpMHgwMSwgKGJ5dGUpMHgwMCwg
KGJ5dGUpMHgwNiwgKGJ5dGUpMHg2NSwgKGJ5dGUpMHg3MSwgKGJ5dGUpMHg3NSwgKGJ5dGUpMHg2
MSwgKGJ5dGUpMHg2QywgKGJ5dGUpMHg3MywgKGJ5dGUpMHgwMSwgKGJ5dGUpMHgwMCwNCihieXRl
KTB4MTUsIChieXRlKTB4MjgsIChieXRlKTB4NEMsIChieXRlKTB4NkEsIChieXRlKTB4NjEsIChi
eXRlKTB4NzYsIChieXRlKTB4NjEsIChieXRlKTB4MkYsIChieXRlKTB4NkMsIChieXRlKTB4NjEs
IChieXRlKTB4NkUsDQooYnl0ZSkweDY3LCAoYnl0ZSkweDJGLCAoYnl0ZSkweDRGLCAoYnl0ZSkw
eDYyLCAoYnl0ZSkweDZBLCAoYnl0ZSkweDY1LCAoYnl0ZSkweDYzLCAoYnl0ZSkweDc0LCAoYnl0
ZSkweDNCLCAoYnl0ZSkweDI5LCAoYnl0ZSkweDVBLA0KKGJ5dGUpMHgwMSwgKGJ5dGUpMHgwMCwg
KGJ5dGUpMHgwNCwgKGJ5dGUpMHg0MywgKGJ5dGUpMHg2RiwgKGJ5dGUpMHg2NCwgKGJ5dGUpMHg2
NSwgKGJ5dGUpMHgwMSwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwRiwgKGJ5dGUpMHg0QywNCihieXRl
KTB4NjksIChieXRlKTB4NkUsIChieXRlKTB4NjUsIChieXRlKTB4NEUsIChieXRlKTB4NzUsIChi
eXRlKTB4NkQsIChieXRlKTB4NjIsIChieXRlKTB4NjUsIChieXRlKTB4NzIsIChieXRlKTB4NTQs
IChieXRlKTB4NjEsDQooYnl0ZSkweDYyLCAoYnl0ZSkweDZDLCAoYnl0ZSkweDY1LCAoYnl0ZSkw
eDAxLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAzLCAoYnl0ZSkweDZGLCAoYnl0ZSkweDc1LCAoYnl0
ZSkweDc0LCAoYnl0ZSkweDAxLCAoYnl0ZSkweDAwLA0KKGJ5dGUpMHgxNSwgKGJ5dGUpMHg0Qywg
KGJ5dGUpMHg2QSwgKGJ5dGUpMHg2MSwgKGJ5dGUpMHg3NiwgKGJ5dGUpMHg2MSwgKGJ5dGUpMHgy
RiwgKGJ5dGUpMHg2OSwgKGJ5dGUpMHg2RiwgKGJ5dGUpMHgyRiwgKGJ5dGUpMHg1MCwNCihieXRl
KTB4NzIsIChieXRlKTB4NjksIChieXRlKTB4NkUsIChieXRlKTB4NzQsIChieXRlKTB4NTMsIChi
eXRlKTB4NzQsIChieXRlKTB4NzIsIChieXRlKTB4NjUsIChieXRlKTB4NjEsIChieXRlKTB4NkQs
IChieXRlKTB4M0IsDQooYnl0ZSkweDBDLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDA5LCAoYnl0ZSkw
eDAwLCAoYnl0ZSkweDBBLCAoYnl0ZSkweDAxLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDEwLCAoYnl0
ZSkweDZBLCAoYnl0ZSkweDYxLCAoYnl0ZSkweDc2LA0KKGJ5dGUpMHg2MSwgKGJ5dGUpMHgyRiwg
KGJ5dGUpMHg2QywgKGJ5dGUpMHg2MSwgKGJ5dGUpMHg2RSwgKGJ5dGUpMHg2NywgKGJ5dGUpMHgy
RiwgKGJ5dGUpMHg1MywgKGJ5dGUpMHg3OSwgKGJ5dGUpMHg3MywgKGJ5dGUpMHg3NCwNCihieXRl
KTB4NjUsIChieXRlKTB4NkQsIChieXRlKTB4MDcsIChieXRlKTB4MDAsIChieXRlKTB4MEMsIChi
eXRlKTB4MDksIChieXRlKTB4MDAsIChieXRlKTB4MEQsIChieXRlKTB4MDAsIChieXRlKTB4MEIs
IChieXRlKTB4MEMsDQooYnl0ZSkweDAwLCAoYnl0ZSkweDAzLCAoYnl0ZSkweDAwLCAoYnl0ZSkw
eDA0LCAoYnl0ZSkweDA5LCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAyLCAoYnl0ZSkweDAwLCAoYnl0
ZSkweDBGLCAoYnl0ZSkweDAxLCAoYnl0ZSkweDAwLA0KKGJ5dGUpMHgwNywgKGJ5dGUpMHg3MCwg
KGJ5dGUpMHg3MiwgKGJ5dGUpMHg2OSwgKGJ5dGUpMHg2RSwgKGJ5dGUpMHg3NCwgKGJ5dGUpMHg2
QywgKGJ5dGUpMHg2RSwgKGJ5dGUpMHgwMSwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwNCwNCihieXRl
KTB4MjgsIChieXRlKTB4NDksIChieXRlKTB4MjksIChieXRlKTB4NTYsIChieXRlKTB4MEMsIChi
eXRlKTB4MDAsIChieXRlKTB4MTEsIChieXRlKTB4MDAsIChieXRlKTB4MTIsIChieXRlKTB4MDEs
IChieXRlKTB4MDAsDQooYnl0ZSkweDEzLCAoYnl0ZSkweDZBLCAoYnl0ZSkweDYxLCAoYnl0ZSkw
eDc2LCAoYnl0ZSkweDYxLCAoYnl0ZSkweDJGLCAoYnl0ZSkweDY5LCAoYnl0ZSkweDZGLCAoYnl0
ZSkweDJGLCAoYnl0ZSkweDUwLCAoYnl0ZSkweDcyLA0KKGJ5dGUpMHg2OSwgKGJ5dGUpMHg2RSwg
KGJ5dGUpMHg3NCwgKGJ5dGUpMHg1MywgKGJ5dGUpMHg3NCwgKGJ5dGUpMHg3MiwgKGJ5dGUpMHg2
NSwgKGJ5dGUpMHg2MSwgKGJ5dGUpMHg2RCwgKGJ5dGUpMHgwNywgKGJ5dGUpMHgwMCwNCihieXRl
KTB4MTQsIChieXRlKTB4MEEsIChieXRlKTB4MDAsIChieXRlKTB4MTUsIChieXRlKTB4MDAsIChi
eXRlKTB4MTMsIChieXRlKTB4MDEsIChieXRlKTB4MDAsIChieXRlKTB4MDYsIChieXRlKTB4M0Ms
IChieXRlKTB4NjksDQooYnl0ZSkweDZFLCAoYnl0ZSkweDY5LCAoYnl0ZSkweDc0LCAoYnl0ZSkw
eDNFLCAoYnl0ZSkweDAxLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAzLCAoYnl0ZSkweDI4LCAoYnl0
ZSkweDI5LCAoYnl0ZSkweDU2LCAoYnl0ZSkweDAxLA0KKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwQSwg
KGJ5dGUpMHg1MywgKGJ5dGUpMHg2RiwgKGJ5dGUpMHg3NSwgKGJ5dGUpMHg3MiwgKGJ5dGUpMHg2
MywgKGJ5dGUpMHg2NSwgKGJ5dGUpMHg0NiwgKGJ5dGUpMHg2OSwgKGJ5dGUpMHg2QywNCihieXRl
KTB4NjUsIChieXRlKTB4MDEsIChieXRlKTB4MDAsIChieXRlKTB4MEIsIChieXRlKTB4NEYsIChi
eXRlKTB4NjIsIChieXRlKTB4NkEsIChieXRlKTB4NjUsIChieXRlKTB4NjMsIChieXRlKTB4NzQs
IChieXRlKTB4MkUsDQooYnl0ZSkweDZBLCAoYnl0ZSkweDYxLCAoYnl0ZSkweDc2LCAoYnl0ZSkw
eDYxLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDIxLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAyLCAoYnl0
ZSkweDAwLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAwLA0KKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwMCwg
KGJ5dGUpMHgwMSwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgw
MywgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwNCwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwMCwNCihieXRl
KTB4MDAsIChieXRlKTB4MDIsIChieXRlKTB4MDAsIChieXRlKTB4MDEsIChieXRlKTB4MDAsIChi
eXRlKTB4MDUsIChieXRlKTB4MDAsIChieXRlKTB4MDYsIChieXRlKTB4MDAsIChieXRlKTB4MDEs
IChieXRlKTB4MDAsDQooYnl0ZSkweDA3LCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAwLCAoYnl0ZSkw
eDAwLCAoYnl0ZSkweDI4LCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAyLCAoYnl0ZSkweDAwLCAoYnl0
ZSkweDAyLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAwLA0KKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwQywg
KGJ5dGUpMHhCMiwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwRSwgKGJ5dGUpMHgyQiwgKGJ5dGUpMHhC
NCwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgxMCwgKGJ5dGUpMHhCNiwgKGJ5dGUpMHgwMCwNCihieXRl
KTB4MTYsIChieXRlKTB4MDMsIChieXRlKTB4QUMsIChieXRlKTB4MDAsIChieXRlKTB4MDAsIChi
eXRlKTB4MDAsIChieXRlKTB4MDEsIChieXRlKTB4MDAsIChieXRlKTB4MDgsIChieXRlKTB4MDAs
IChieXRlKTB4MDAsDQooYnl0ZSkweDAwLCAoYnl0ZSkweDBBLCAoYnl0ZSkweDAwLCAoYnl0ZSkw
eDAyLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDA2LCAoYnl0
ZSkweDAwLCAoYnl0ZSkweDBBLCAoYnl0ZSkweDAwLA0KKGJ5dGUpMHgwNiwgKGJ5dGUpMHgwMCwg
KGJ5dGUpMHgwMSwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgxNywgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgx
OCwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwMSwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwNywNCihieXRl
KTB4MDAsIChieXRlKTB4MDAsIChieXRlKTB4MDAsIChieXRlKTB4MTksIChieXRlKTB4MDAsIChi
eXRlKTB4MDAsIChieXRlKTB4MDAsIChieXRlKTB4MDEsIChieXRlKTB4MDAsIChieXRlKTB4MDAs
IChieXRlKTB4MDAsDQooYnl0ZSkweDAxLCAoYnl0ZSkweEIxLCAoYnl0ZSkweDAwLCAoYnl0ZSkw
eDAwLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAxLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDA4LCAoYnl0
ZSkweDAwLCAoYnl0ZSkweDAwLCAoYnl0ZSkweDAwLA0KKGJ5dGUpMHgwNiwgKGJ5dGUpMHgwMCwg
KGJ5dGUpMHgwMSwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgw
MywgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgwMSwgKGJ5dGUpMHgwMCwgKGJ5dGUpMHgxOSwNCihieXRl
KTB4MDAsIChieXRlKTB4MDAsIChieXRlKTB4MDAsIChieXRlKTB4MDIsIChieXRlKTB4MDAsIChi
eXRlKTB4MUENCiAgfTsNCg0KICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdz
KSB0aHJvd3MgRXhjZXB0aW9uDQogIHsNCiAgICBDcmFzaCBsb2FkZXIgPSBuZXcgQ3Jhc2goKTsN
CiAgICBDbGFzcyBjID0gbG9hZGVyLmRlZmluZUNsYXNzKGJ1ZiwgMCwgYnVmLmxlbmd0aCk7DQog
ICAgYy5uZXdJbnN0YW5jZSgpLmVxdWFscygiZm9vIik7DQogIH0NCn0NCg==

------_=_NextPart_001_01C4B071.BB0CB2F7--



From MAILER-DAEMON Tue Oct 12 11:48:53 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHOtR-0004dL-8p
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 11:48:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHOtQ-0004dG-3b
	for classpath@gnu.org; Tue, 12 Oct 2004 11:48:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHOtP-0004d4-LR
	for classpath@gnu.org; Tue, 12 Oct 2004 11:48:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHOtP-0004d1-Iz
	for classpath@gnu.org; Tue, 12 Oct 2004 11:48:51 -0400
Received: from [62.253.162.48] (helo=mta08-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHOmI-0002JB-N9
	for classpath@gnu.org; Tue, 12 Oct 2004 11:41:30 -0400
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta08-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20041012154120.KBSO26479.mta08-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Tue, 12 Oct 2004 16:41:20 +0100
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i9CFfNQn018206; Tue, 12 Oct 2004 16:41:23 +0100
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i9CFfMMR018202;
	Tue, 12 Oct 2004 16:41:22 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16747.64290.368665.531233@cuddles.cambridge.redhat.com>
Date: Tue, 12 Oct 2004 16:41:22 +0100
From: Andrew Haley <aph@redhat.com>
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <200410121450.i9CEopoh005911@arch20m.dellroad.org>
References: <D92197D0A6547B44A1567814F851FA687E19@LEMBU.sumatrasoftware.com>
	<200410121450.i9CEopoh005911@arch20m.dellroad.org>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 15:48:52 -0000

Archie Cobbs writes:
 > Jeroen Frijters wrote:
 > > True, but in reality I've never seen any evidence (or even suggestions)
 > > that creating a class loader is safe on any VM (in fact, the Sun 1.4 VM
 > > allows a custom class loader to redefine java.lang.Object and crash the
 > > VM).
 > 
 > Trying to fully understand... pardon my questions.. why is creating
 > a user-defined class loader not "safe"? Just because you load your
 > own classes doesn't mean they aren't subject to whatever SecurityManager
 > is in place, right? So how could they do anything not already allowed?

Well, there's the famous "Java is not type-safe"
<http://matrix.research.att.com/vj/bug.html> but AFAIK that was fixed
by loading constraints
<http://www.developer.com/java/other/article.php/10936_2248831_2>

More stuff at "Type safety in the JVM: some problems in Java 2 SDK 1.2
and proposed solutions"
<http://www.kestrel.edu/HTML/projects/java/ccpe01.pdf>

AFAIK these are now fixed...

Andrew.



From MAILER-DAEMON Tue Oct 12 15:08:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHS0W-0004D7-91
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 15:08:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHS0S-0004Ct-6E
	for classpath@gnu.org; Tue, 12 Oct 2004 15:08:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHS0R-0004CZ-Eu
	for classpath@gnu.org; Tue, 12 Oct 2004 15:08:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHS0R-0004CE-9Y
	for classpath@gnu.org; Tue, 12 Oct 2004 15:08:19 -0400
Received: from [209.225.28.214] (helo=mxsf14.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHRsV-0006CI-Al
	for classpath@gnu.org; Tue, 12 Oct 2004 15:00:07 -0400
Received: from mxip19.cluster1.charter.net (mxip19a.cluster1.charter.net
	[209.225.28.149])
	by mxsf14.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i9CJ04Zs015365
	for <classpath@gnu.org>; Tue, 12 Oct 2004 15:00:04 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip19.cluster1.charter.net with ESMTP; 12 Oct 2004 15:00:04 -0400
X-Ironport-AV: i="3.85,137,1094443200"; 
	d="scan'208"; a="381912359:sNHT25554610"
Received: from arch20m.dellroad.org ([10.104.180.64])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id NAA01624;
	Tue, 12 Oct 2004 13:57:02 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i9CIuxrx002176; 
	Tue, 12 Oct 2004 13:56:59 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i9CIuwxQ002175;
	Tue, 12 Oct 2004 13:56:58 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410121856.i9CIuwxQ002175@arch20m.dellroad.org>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E37@LEMBU.sumatrasoftware.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
Date: Tue, 12 Oct 2004 13:56:58 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 19:08:22 -0000

Jeroen Frijters wrote:
> > Just because you load your own classes doesn't mean they aren't
> > subject to whatever SecurityManager is in place, right?
> > So how could they do anything not already allowed?
> 
> In theory you're right, but in practice the VMs probably have lots of
> bugs.

Sure.. but bugs are not a reason to implement something incorrectly.
I.e., the blame for bugs isn't transitive (screaming customers
notwithstanding :-)

> > Also, I thought the VM spec required java.lang.* could only be
> > loaded by the bootstrap loader. Do you have an example source file
> > that demonstrates this bug?

I don't get the crash...

    $ java -version
    java version "1.4.2-p5"
    $ javac Crash.java && java Crash
    Note: Crash.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    Exception in thread "main" java.lang.VerifyError: (class: java/lang/Object, method: <init> signature: ()V) Constructor must call super() or this()
	    at java.lang.Class.getDeclaredConstructors0(Native Method)
	    at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
	    at java.lang.Class.getConstructor0(Class.java:1922)
	    at java.lang.Class.newInstance0(Class.java:278)
	    at java.lang.Class.newInstance(Class.java:261)
	    at Crash.main(Crash.java:58)

Maybe this has been fixed in 1.4.2?

-Archie

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



From MAILER-DAEMON Tue Oct 12 18:40:06 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHVJN-0002mo-Lv
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 18:40:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHVJK-0002lj-9n
	for classpath@gnu.org; Tue, 12 Oct 2004 18:40:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHVJJ-0002lH-Q8
	for classpath@gnu.org; Tue, 12 Oct 2004 18:40:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHVJJ-0002kq-KK
	for classpath@gnu.org; Tue, 12 Oct 2004 18:40:01 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CHVCB-0007ez-Ei
	for classpath@gnu.org; Tue, 12 Oct 2004 18:32:40 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9CMUqJE066406
	for <classpath@gnu.org>; Wed, 13 Oct 2004 08:30:54 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Wed, 13 Oct 2004 08:30:53 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCOECJEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E37@LEMBU.sumatrasoftware.com>
Importance: Normal
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 22:40:04 -0000

> > Also, I thought the VM spec required java.lang.* could only be
> > loaded by the bootstrap loader. Do you have an example source file
> > that demonstrates this bug?
> 
> Attached.

This doesn't crash 1.4.2 but it DOES crash 5.0 :-(

What hope is there? :(

David Holmes



From MAILER-DAEMON Tue Oct 12 18:46:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHVPH-0005eK-LC
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 18:46:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHVPF-0005dK-SQ
	for classpath@gnu.org; Tue, 12 Oct 2004 18:46:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHVPF-0005cl-DV
	for classpath@gnu.org; Tue, 12 Oct 2004 18:46:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHVPF-0005ci-CA
	for classpath@gnu.org; Tue, 12 Oct 2004 18:46:09 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CHVI7-0000Po-LY
	for classpath@gnu.org; Tue, 12 Oct 2004 18:38:49 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9CMaYJE069925;
	Wed, 13 Oct 2004 08:36:35 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Wed, 13 Oct 2004 08:36:34 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEECKEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E1B@LEMBU.sumatrasoftware.com>
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 22:46:10 -0000

> I'm pretty sure the check *cannot* be circumvented by a user-defined
> class loader. It may not do the check itself, but that only means it can
> load a class in another package (that happens to have the same name).
> For it to load bootstrap classes, it will need to delegate to the system
> class loader and that's the one doing the checking.

That assumes that the test is unconditionally performed in loadClass - in
which case you can't circumvent the check.

I'm not clear on exactly what the merits of this mechanism are in general,
but I guess that the primary motivation is to deny access to untrusted code,
rather than just user-code. I'm not sure what dire consequences would arise
from accessing these system properties, but it is probably much less dire
than someone accessing sun.misc.unsafe :)

Question: is the classpath security implementation at the stage where it
supports policy files etc? Do individual VM's define where the policy file
should be found?

David Holmes





From MAILER-DAEMON Tue Oct 12 19:20:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHVwB-0004Er-7q
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 19:20:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHVw8-0004Dr-J7
	for classpath@gnu.org; Tue, 12 Oct 2004 19:20:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHVw4-0004D3-Eo
	for classpath@gnu.org; Tue, 12 Oct 2004 19:20:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHVw4-0004Cw-3r
	for classpath@gnu.org; Tue, 12 Oct 2004 19:20:04 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CHVn6-00075l-7u
	for classpath@gnu.org; Tue, 12 Oct 2004 19:10:48 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by mx20.gnu.org with esmtp (Exim 4.34) id 1CHSW2-0006So-En
	for classpath@gnu.org; Tue, 12 Oct 2004 15:40:58 -0400
Date: Tue, 12 Oct 2004 21:39:33 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Message-ID: <D92197D0A6547B44A1567814F851FA687E3F@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
Content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-TNEF-Correlator: 
Thread-Topic: Moving system properties to gnu.classpath.*
Thread-Index: AcSwjeJFay6apimHSSyZjkqNJ5bAYwABP8mQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Archie Cobbs" <archie@dellroad.org>
Cc: classpath@gnu.org
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2004 23:20:09 -0000

Archie Cobbs wrote:
> I don't get the crash...
>=20
>     $ java -version
>     java version "1.4.2-p5"
>     $ javac Crash.java && java Crash
>     Note: Crash.java uses or overrides a deprecated API.
>     Note: Recompile with -deprecation for details.
>     Exception in thread "main" java.lang.VerifyError: (class:=20
> java/lang/Object, method: <init> signature: ()V) Constructor=20
> must call super() or this()
> 	    at java.lang.Class.getDeclaredConstructors0(Native Method)
> 	    at=20
> java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
> 	    at java.lang.Class.getConstructor0(Class.java:1922)
> 	    at java.lang.Class.newInstance0(Class.java:278)
> 	    at java.lang.Class.newInstance(Class.java:261)
> 	    at Crash.main(Crash.java:58)
>=20
> Maybe this has been fixed in 1.4.2?

Interesting. I get the same VerifierError with 1.4.2, but 1.5 crashes
(as does 1.4.1).

Regards,
Jeroen



From MAILER-DAEMON Tue Oct 12 20:18:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHWqq-0007Rm-RF
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 20:18:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHWqp-0007RX-8A
	for classpath@gnu.org; Tue, 12 Oct 2004 20:18:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHWqo-0007RL-PR
	for classpath@gnu.org; Tue, 12 Oct 2004 20:18:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHWqo-0007RI-LV
	for classpath@gnu.org; Tue, 12 Oct 2004 20:18:42 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CHWjc-0001T4-Bw
	for classpath@gnu.org; Tue, 12 Oct 2004 20:11:16 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i9D0BAlD013406;
	Tue, 12 Oct 2004 20:11:10 -0400
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9D0B4r20988; 
	Tue, 12 Oct 2004 20:11:04 -0400
Received: from [172.16.14.67] (towel.toronto.redhat.com [172.16.14.67])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	i9D0B3bU003213; Tue, 12 Oct 2004 20:11:04 -0400
Message-ID: <416C7297.2020805@redhat.com>
Date: Tue, 12 Oct 2004 20:11:03 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <D92197D0A6547B44A1567814F851FA687E04@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E04@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>
Subject: Re: java.util.Date mess
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2004 00:18:43 -0000

Jeroen Frijters wrote:

>Hi,
>
>I have some code that depends on unspecified behavior of java.util.Date.
>In the Sun JDK if you pass out of range parameters to the Date
>constructors that take year, month, date, etc. it will automatically
>convert to a valid date (for example, new Date(104, 8, 41) is Oct 11,
>2004.)
>
>I have a rather lame patch that addresses this (see below), would anyone
>object to this?
>  
>

Hi Jeroen,

Unfortunately I don't think this patch is the correct fix. 
GregorianCalendar should already "roll over" overflowed date values, 
regardless of whether these are set by the constructor or by the add() 
method - check the test case below for an example - so I believe the way 
the Date() constructors are calling GregorianCalendar are correct.

import java.util.*;

public class Cal6
{
  public static void main (String[] args)
  {
    Calendar cal = new GregorianCalendar(2004, 1, 45);
    System.out.println (cal.get(Calendar.DAY_OF_MONTH));
  }
}

I think the real problem lies in the interaction between 
GregorianCalendar and TimeZone - we need to make sure the DAY_OF_MONTH 
and other values in a lenient calendar instance get normalized before 
querying the TimeZone.

Interestingly, I did some tests with overriding 
SimpleTimeZone.getOffset() and it seems that Sun's implementation of 
GregorianCalendar never actually calls this method. Perhaps they have 
some private internal interface between Calendar and TimeZone.

Regards

Bryce




From MAILER-DAEMON Tue Oct 12 21:10:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHXek-0004Zx-8q
	for mharc-classpath@gnu.org; Tue, 12 Oct 2004 21:10:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHXeh-0004Zr-K8
	for classpath@gnu.org; Tue, 12 Oct 2004 21:10:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHXeh-0004Zd-1o
	for classpath@gnu.org; Tue, 12 Oct 2004 21:10:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHXee-0004Za-Pf
	for classpath@gnu.org; Tue, 12 Oct 2004 21:10:14 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHXXa-0001Y9-8f
	for classpath@gnu.org; Tue, 12 Oct 2004 21:02:54 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i9D12Lwl022703;
	Wed, 13 Oct 2004 11:02:21 +1000 (EST)
Message-Id: <200410130102.i9D12Lwl022703@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: classpath <classpath@gnu.org>, crawley@piglet.dstc.edu.au
In-Reply-To: Message from Bryce McKinlay <mckinlay@redhat.com> 
	of "Tue, 12 Oct 2004 20:11:03 -0400." <416C7297.2020805@redhat.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 13 Oct 2004 11:02:44 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Spam-Score: -1.734
X-Scanned-By: MIMEDefang 2.39 (DSTC)
Cc: 
Subject: GregorianCalendar doesn't work with large +ve/-ve time values 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2004 01:10:15 -0000


Folks,

There has been a fair bit of discussion about Date-related bugs
recently.  I'd like to draw your attention to the long-standing #9495
bug against java.util.GregorianCalendar which fails when you try
to convert a large +ve or -ve millisecond value to a Date.

There is a new(-ish) Mauve testcase that exercises GregorianCalendar
millisecond conversion across its range of input values:

    gnu.testlet.java.util.GregorianCalendar.conversion.java

The root cause of the bug is that the conversion calculations are done
using 'int' instead of 'long'.  For large millisecond values, some of
the calculations are wrapping around.

-- Steve





From MAILER-DAEMON Wed Oct 13 02:02:13 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHcDF-0007ZB-2d
	for mharc-classpath@gnu.org; Wed, 13 Oct 2004 02:02:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHapm-0002nI-CK
	for classpath@gnu.org; Wed, 13 Oct 2004 00:33:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHapk-0002mT-Pe
	for classpath@gnu.org; Wed, 13 Oct 2004 00:33:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHapk-0002mQ-N5
	for classpath@gnu.org; Wed, 13 Oct 2004 00:33:52 -0400
Received: from [66.11.181.4] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CHaiO-0001qK-7a
	for classpath@gnu.org; Wed, 13 Oct 2004 00:26:16 -0400
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.34 #1 (Debian))
	id 1CHaiH-0007I2-OZ; Wed, 13 Oct 2004 00:26:09 -0400
Received: from localhost ([127.0.0.1])
	by glue.info.uqam.ca with esmtp (Exim 4.34)
	id 1CHZLl-0005ug-6U; Tue, 12 Oct 2004 22:58:49 -0400
From: "Grzegorz B. Prokopski" <gadek@sablevm.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E37@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA687E37@LEMBU.sumatrasoftware.com>
Content-Type: text/plain
Organization: SableVM - LGPL'ed Free Java VM http://sablevm.org
Message-Id: <1097641508.2667.218.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 13 Oct 2004 00:25:10 -0400
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Wed, 13 Oct 2004 02:02:11 -0400
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2004 04:33:54 -0000

On Tue, 2004-10-12 at 11:38, Jeroen Frijters wrote:
> Archie Cobbs wrote:
> > Trying to fully understand... pardon my questions.. why is creating
> > a user-defined class loader not "safe"?
> 
> I don't know. In the history of Java there have been many security holes
> related to class loading, so I'm guessing it's just caution.
> 
> > Just because you load your own classes doesn't mean they aren't
> > subject to whatever SecurityManager is in place, right?
> > So how could they do anything not already allowed?
> 
> In theory you're right, but in practice the VMs probably have lots of
> bugs.
> 
> > Also, I thought the VM spec required java.lang.* could only be
> > loaded by the bootstrap loader. Do you have an example source file
> > that demonstrates this bug?
> 
> Attached.

I was curious what your code does...  Here's the output.

gadek@gadek:/tmp$ jikes-sablevm Crash.java
gadek@gadek:/tmp$ sablevm -Y Crash
java.lang.NullPointerException: Deprecated usage no longer supported.
   at java.lang.ClassLoader.defineClass (ClassLoader.java:622)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:586)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:561)
   at Crash.main (Crash.java:57)
   at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
   at java.lang.VirtualMachine.main (VirtualMachine.java:92)

gadek@gadek:/tmp$ kaffe Crash
java.lang.SecurityException: Prohibited package: java/lang/Object
   at java.lang.ClassLoader.defineClass0 (ClassLoader.java)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:180)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:172)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:163)
   at Crash.main (Crash.java:57)

Looks like nothing bad should happen.  Does it actually crash some JVMs?

Cheers,

			Grzegorz B. Prokopski
-- 
Grzegorz B. Prokopski           <gadek@sablevm.org>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org





From MAILER-DAEMON Wed Oct 13 02:02:13 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHcDF-0007ZG-9a
	for mharc-classpath@gnu.org; Wed, 13 Oct 2004 02:02:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHaq8-0002ph-EM
	for classpath@gnu.org; Wed, 13 Oct 2004 00:34:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHaq7-0002p5-Et
	for classpath@gnu.org; Wed, 13 Oct 2004 00:34:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHaq7-0002p2-C3
	for classpath@gnu.org; Wed, 13 Oct 2004 00:34:15 -0400
Received: from [66.11.181.4] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CHaio-0001tI-TN
	for classpath@gnu.org; Wed, 13 Oct 2004 00:26:43 -0400
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.34 #1 (Debian))
	id 1CHaim-0007I8-MI; Wed, 13 Oct 2004 00:26:40 -0400
Received: from localhost ([127.0.0.1])
	by glue.info.uqam.ca with esmtp (Exim 4.34)
	id 1CHZMG-0005ul-74; Tue, 12 Oct 2004 22:59:20 -0400
From: "Grzegorz B. Prokopski" <gadek@sablevm.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E37@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA687E37@LEMBU.sumatrasoftware.com>
Content-Type: text/plain
Organization: SableVM - LGPL'ed Free Java VM http://sablevm.org
Message-Id: <1097641509.2667.220.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 13 Oct 2004 00:25:54 -0400
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Wed, 13 Oct 2004 02:02:11 -0400
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2004 04:34:16 -0000

On Tue, 2004-10-12 at 11:38, Jeroen Frijters wrote:
> Archie Cobbs wrote:
> > Trying to fully understand... pardon my questions.. why is creating
> > a user-defined class loader not "safe"?
> 
> I don't know. In the history of Java there have been many security holes
> related to class loading, so I'm guessing it's just caution.
> 
> > Just because you load your own classes doesn't mean they aren't
> > subject to whatever SecurityManager is in place, right?
> > So how could they do anything not already allowed?
> 
> In theory you're right, but in practice the VMs probably have lots of
> bugs.
> 
> > Also, I thought the VM spec required java.lang.* could only be
> > loaded by the bootstrap loader. Do you have an example source file
> > that demonstrates this bug?
> 
> Attached.

I was curious what your code does...  Here's the output.

gadek@gadek:/tmp$ jikes-sablevm Crash.java
gadek@gadek:/tmp$ sablevm -Y Crash
java.lang.NullPointerException: Deprecated usage no longer supported.
   at java.lang.ClassLoader.defineClass (ClassLoader.java:622)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:586)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:561)
   at Crash.main (Crash.java:57)
   at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
   at java.lang.VirtualMachine.main (VirtualMachine.java:92)

gadek@gadek:/tmp$ kaffe Crash
java.lang.SecurityException: Prohibited package: java/lang/Object
   at java.lang.ClassLoader.defineClass0 (ClassLoader.java)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:180)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:172)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:163)
   at Crash.main (Crash.java:57)

Looks like nothing bad should happen.  Does it actually crash some JVMs?

Cheers,

			Grzegorz B. Prokopski
-- 
Grzegorz B. Prokopski           <gadek@sablevm.org>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org





From MAILER-DAEMON Wed Oct 13 02:09:16 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHcK3-00014O-TR
	for mharc-classpath@gnu.org; Wed, 13 Oct 2004 02:09:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHcK2-00012t-Fj
	for classpath@gnu.org; Wed, 13 Oct 2004 02:09:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHcK1-00012M-W3
	for classpath@gnu.org; Wed, 13 Oct 2004 02:09:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHcK1-00012E-RT
	for classpath@gnu.org; Wed, 13 Oct 2004 02:09:13 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CHcCd-0001Qp-4T
	for classpath@gnu.org; Wed, 13 Oct 2004 02:01:35 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9D60dFA066705;
	Wed, 13 Oct 2004 16:00:39 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Grzegorz B. Prokopski" <gadek@sablevm.org>
Date: Wed, 13 Oct 2004 16:00:39 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCGEECEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <1097641508.2667.218.camel@localhost.localdomain>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2004 06:09:14 -0000

> Grzegorz B. Prokopski writes:
> I was curious what your code does...  Here's the output.
>
> gadek@gadek:/tmp$ jikes-sablevm Crash.java
> gadek@gadek:/tmp$ sablevm -Y Crash
> java.lang.NullPointerException: Deprecated usage no longer supported.

Ouch! That's a rather agressive stance to deprecated methods. I think there
are a number of Swing apps that won't run there if all deprecated methods
have actually been removed!

> gadek@gadek:/tmp$ kaffe Crash
> java.lang.SecurityException: Prohibited package: java/lang/Object

That's basically what it should do.

> Looks like nothing bad should happen.  Does it actually crash some JVMs?

Absolutely: Sun's JDK < 1.4.2 and Sun's JDK 5.0

David Holmes




From MAILER-DAEMON Wed Oct 13 03:09:55 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHdGl-00085g-Bu
	for mharc-classpath@gnu.org; Wed, 13 Oct 2004 03:09:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHdGj-00083X-KO
	for classpath@gnu.org; Wed, 13 Oct 2004 03:09:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHdGj-000837-4j
	for classpath@gnu.org; Wed, 13 Oct 2004 03:09:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHdGj-000831-2J
	for classpath@gnu.org; Wed, 13 Oct 2004 03:09:53 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHd9I-0003vU-Ez
	for classpath@gnu.org; Wed, 13 Oct 2004 03:02:13 -0400
Date: Wed, 13 Oct 2004 09:02:02 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Message-ID: <D92197D0A6547B44A1567814F851FA687E40@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
Content-class: urn:content-classes:message
X-MS-TNEF-Correlator: 
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Thread-Topic: Moving system properties to gnu.classpath.*
thread-index: AcSw6mJWccoa5yHSQReyOg/L+TxTUAAB33jQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>,
	"Grzegorz B. Prokopski" <gadek@sablevm.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2004 07:09:53 -0000

David Holmes wrote:
> > Grzegorz B. Prokopski writes:
> > gadek@gadek:/tmp$ kaffe Crash
> > java.lang.SecurityException: Prohibited package: java/lang/Object
>=20
> That's basically what it should do.

I don't see why java(.lang) should be a special package. On IKVM trying
to redefine java.lang.Object will throw a ClassFormatError (all classes
are required to extend java.lang.Object), but other than that you can
load whatever classes you want (including java.lang.String, which will
then be a separate type from the real string. (This isn't very useful
because you'll usually get a LinkageError when you try to use it.))

Regards,
Jeroen



From MAILER-DAEMON Wed Oct 13 03:15:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHdMV-00016R-JO
	for mharc-classpath@gnu.org; Wed, 13 Oct 2004 03:15:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHdMU-00014S-0T
	for classpath@gnu.org; Wed, 13 Oct 2004 03:15:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHdMS-000134-68
	for classpath@gnu.org; Wed, 13 Oct 2004 03:15:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHdMR-00012g-U3
	for classpath@gnu.org; Wed, 13 Oct 2004 03:15:48 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHdFH-00051D-IB
	for classpath@gnu.org; Wed, 13 Oct 2004 03:08:23 -0400
Date: Wed, 13 Oct 2004 09:08:17 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Message-ID: <D92197D0A6547B44A1567814F851FA687E41@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
Content-class: urn:content-classes:message
X-MS-TNEF-Correlator: 
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Thread-Topic: java.util.Date mess
thread-index: AcSwuVqLLt7kqcPfRc+sk+h7r48aKQAOTfsg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Bryce McKinlay" <mckinlay@redhat.com>
Cc: classpath <classpath@gnu.org>
Subject: RE: java.util.Date mess
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2004 07:15:50 -0000

Bryce McKinlay wrote:
> Jeroen Frijters wrote:
> >I have some code that depends on unspecified behavior of=20
> java.util.Date.
> >In the Sun JDK if you pass out of range parameters to the Date
> >constructors that take year, month, date, etc. it will automatically
> >convert to a valid date (for example, new Date(104, 8, 41) is Oct 11,
> >2004.)
> >
> >I have a rather lame patch that addresses this (see below),=20
> >would anyone object to this?
>
> Unfortunately I don't think this patch is the correct fix.=20
> GregorianCalendar should already "roll over" overflowed date values,=20
> regardless of whether these are set by the constructor or by=20
> the add() method - check the test case below for an example - so I=20
> believe the way the Date() constructors are calling GregorianCalendar
> are correct.

Ugh. Thanks. So this basically means that GregorianCalendar is totally
broken, between this bug, the fact that it croaks on new
GregorianCalendar(1970, 0, 1).get(Calendar.DAY_OF_MONTH) and the bug
that Stephen Crawley posted about.

> I think the real problem lies in the interaction between=20
> GregorianCalendar and TimeZone - we need to make sure the=20
> DAY_OF_MONTH and other values in a lenient calendar instance
> get normalized before querying the TimeZone.

Yes. I'll see if I can get it fixed.

Regards,
Jeroen



From MAILER-DAEMON Wed Oct 13 03:22:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHdSp-0001sn-GU
	for mharc-classpath@gnu.org; Wed, 13 Oct 2004 03:22:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHdSl-0001sX-AN
	for classpath@gnu.org; Wed, 13 Oct 2004 03:22:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHdSk-0001sF-M9
	for classpath@gnu.org; Wed, 13 Oct 2004 03:22:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHdSk-0001s5-Ka
	for classpath@gnu.org; Wed, 13 Oct 2004 03:22:18 -0400
Received: from [193.14.119.138] (helo=johanna.resare.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHdLd-0006IB-1v
	for classpath@gnu.org; Wed, 13 Oct 2004 03:14:57 -0400
Received: from molly.resare.com
	(c-2f1f72d5.01-60-6c6b701.cust.bredbandsbolaget.se [213.114.31.47])
	by johanna.resare.com (Postfix) with ESMTP
	id 75277D6D09; Wed, 13 Oct 2004 09:14:40 +0200 (CEST)
Received: from [192.168.110.42] (marit [192.168.110.42])
	by molly.resare.com (Postfix) with ESMTP
	id 52408D2E2C; Wed, 13 Oct 2004 09:14:54 +0200 (CEST)
From: Noa Resare <noa@resare.com>
To: Stephen Crawley <crawley@dstc.edu.au>
In-Reply-To: <200410130102.i9D12Lwl022703@piglet.dstc.edu.au>
References: <200410130102.i9D12Lwl022703@piglet.dstc.edu.au>
Content-Type: text/plain
Date: Wed, 13 Oct 2004 09:14:53 +0200
Message-Id: <1097651693.4781.2.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 1.5.94.1 (1.5.94.1-1) 
Content-Transfer-Encoding: 7bit
Cc: crawley@piglet.dstc.edu.au, classpath <classpath@gnu.org>
Subject: Re: GregorianCalendar doesn't work with large +ve/-ve time values
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2004 07:22:22 -0000

On ons, 2004-10-13 at 11:02 +1000, Stephen Crawley wrote:
> Folks,
> 
> There has been a fair bit of discussion about Date-related bugs
> recently.  I'd like to draw your attention to the long-standing #9495
> bug against java.util.GregorianCalendar which fails when you try
> to convert a large +ve or -ve millisecond value to a Date.
> 
> There is a new(-ish) Mauve testcase that exercises GregorianCalendar
> millisecond conversion across its range of input values:
> 
>     gnu.testlet.java.util.GregorianCalendar.conversion.java
> 
> The root cause of the bug is that the conversion calculations are done
> using 'int' instead of 'long'.  For large millisecond values, some of
> the calculations are wrapping around.

I think this is on my  "mauve regressions to fix for kaffe 1.1.5"
hitlist so I will probably look at it later this week.

/noa




From MAILER-DAEMON Wed Oct 13 03:23:53 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHdUH-0002Zt-86
	for mharc-classpath@gnu.org; Wed, 13 Oct 2004 03:23:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHdUF-0002Zo-RV
	for classpath@gnu.org; Wed, 13 Oct 2004 03:23:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHdUF-0002Zc-EP
	for classpath@gnu.org; Wed, 13 Oct 2004 03:23:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CHdUF-0002ZZ-9t
	for classpath@gnu.org; Wed, 13 Oct 2004 03:23:51 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CHdMy-0006dA-I3
	for classpath@gnu.org; Wed, 13 Oct 2004 03:16:21 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9D7BiE3026213;
	Wed, 13 Oct 2004 17:11:45 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>,
	"Grzegorz B. Prokopski" <gadek@sablevm.org>
Date: Wed, 13 Oct 2004 17:11:44 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMEEEEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E40@LEMBU.sumatrasoftware.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: Moving system properties to gnu.classpath.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2004 07:23:52 -0000

Jeroen wrote:
> I don't see why java(.lang) should be a special package.

At least as of 1.4.2 defineClass(name, ...) is specified to throw
SecurityException if the class name starts with "java.". The deprecated
defineClass(byte[] ...) is not specified this way.

David Holmes




From MAILER-DAEMON Thu Oct 14 00:29:54 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHxFS-0004zI-IW
	for mharc-classpath@gnu.org; Thu, 14 Oct 2004 00:29:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHxFK-0004xY-38
	for classpath@gnu.org; Thu, 14 Oct 2004 00:29:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHxFJ-0004xM-Ie
	for classpath@gnu.org; Thu, 14 Oct 2004 00:29:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CHxFI-0004wi-LX; Thu, 14 Oct 2004 00:29:44 -0400
Received: from [63.249.108.128] (helo=unmodern.net)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CHx8B-00014m-RT; Thu, 14 Oct 2004 00:22:24 -0400
Received: by unmodern.net (Postfix, from userid 1000)
	id E044639; Wed, 13 Oct 2004 21:22:22 -0700 (PDT)
To: classpath@gnu.org
From: Casey Marshall <csm@gnu.org>
Date: Wed, 13 Oct 2004 21:22:22 -0700
Message-ID: <87lleaudxd.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Cc: classpath-patches@gnu.org
Subject: RFC: remove print statements from Security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Oct 2004 04:29:46 -0000

--=-=-=

Hi,

I'd like to propose that we remove the print statements from the
provider loading code in java.security.Security, as with the attached
patch. It wasn't recieved well when proposed [1] and now actually
makes tests fail on libgcj [2].

I personally find it rather amateurish -- they look like debug
statements and they can't be turned off.

Alternatively, how about printing them only if a DEBUG constant is set
to 'true'?

Cheers,

-- 
Casey Marshall || csm@gnu.org

[1] http://gcc.gnu.org/ml/java-patches/2003-q1/msg00659.html
[2] http://gcc.gnu.org/ml/java/2004-10/msg00084.html

"Oh - sorry!  I was reading the baked potato timer by mistake! Will
people not leave that in here?  It just makes us look like we don't
know what the hell we're doing!" -- Red Dwarf, "Blue".


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=security.patch

Index: java/security/Security.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/security/Security.java,v
retrieving revision 1.31
diff -u -b -B -r1.31 Security.java
--- java/security/Security.java	11 Oct 2004 13:20:37 -0000	1.31
+++ java/security/Security.java	14 Oct 2004 03:47:19 -0000
@@ -82,19 +82,9 @@
       if (!loadProviders (base, "classpath")
 	  && !loaded
 	  && providers.size() == 0)
-        {
-	  // No providers found and both security files failed to load properly.
-	  System.err.println
-	    ("WARNING: could not properly read security provider files:");
-	  System.err.println
-	    ("         " + base + "/security/" + vendor + ".security");
-	  System.err.println
-	    ("         " + base + "/security/" + "classpath" + ".security");
-	  System.err.println
-	    ("         Falling back to standard GNU security provider");
+        // If no provider file was found, install our default provider.
 	  providers.addElement (new gnu.java.security.provider.Gnu());
         }
-  }
 
   // This class can't be instantiated.
   private Security()

--=-=-=--



From MAILER-DAEMON Thu Oct 14 02:33:27 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CHzB0-0007LP-Cy
	for mharc-classpath@gnu.org; Thu, 14 Oct 2004 02:33:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CHzAz-0007LC-78
	for classpath@gnu.org; Thu, 14 Oct 2004 02:33:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CHzAy-0007Kw-PT
	for classpath@gnu.org; Thu, 14 Oct 2004 02:33:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CHzAy-0007Kf-5h; Thu, 14 Oct 2004 02:33:24 -0400
Received: from [212.6.122.28] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CHz3g-0004vA-Dq; Thu, 14 Oct 2004 02:25:52 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-95-093.ewetel.net
	[80.228.95.93])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i9E6Poss027924;
	Thu, 14 Oct 2004 08:25:51 +0200 (MEST)
Received: from [192.168.1.1] (helo=miraculix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CHz3n-0000d0-Sv; Thu, 14 Oct 2004 08:25:59 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Thu, 14 Oct 2004 08:25:52 +0200
User-Agent: KMail/1.6.2
References: <87lleaudxd.fsf@gnu.org>
In-Reply-To: <87lleaudxd.fsf@gnu.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200410140825.52497.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Casey Marshall <csm@gnu.org>, classpath-patches@gnu.org
Subject: Re: RFC: remove print statements from Security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Oct 2004 06:33:25 -0000

On Thursday 14 October 2004 06:22, Casey Marshall wrote:
> Hi,
>
> I'd like to propose that we remove the print statements from the
> provider loading code in java.security.Security, as with the
> attached patch. It wasn't recieved well when proposed [1] and now
> actually makes tests fail on libgcj [2].
>
> I personally find it rather amateurish -- they look like debug
> statements and they can't be turned off.
>
> Alternatively, how about printing them only if a DEBUG constant is
> set to 'true'?

It's your code. You may decide. I would vote for removing it if its 
not needed in the future. If it can be used to debug new code (e.g. 
Providers) you can use the DEBUG solution.


Michael



From MAILER-DAEMON Thu Oct 14 04:06:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CI0co-0006Ss-85
	for mharc-classpath@gnu.org; Thu, 14 Oct 2004 04:06:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CI0ck-0006SC-U7
	for classpath@gnu.org; Thu, 14 Oct 2004 04:06:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CI0ci-0006Ri-Pp
	for classpath@gnu.org; Thu, 14 Oct 2004 04:06:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CI0ci-0006R1-Fh; Thu, 14 Oct 2004 04:06:08 -0400
Received: from [212.162.56.50] (helo=d59.x-mailer.de)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CI0Ua-0004qj-TO; Thu, 14 Oct 2004 03:57:45 -0400
Received: from [216.239.55.7] (helo=[172.30.9.141])
	by d59.x-mailer.de with asmtp (TLSv1:RC4-SHA:128) (Exim 4.24)
	id 1CI0UY-0001Im-L5; Thu, 14 Oct 2004 09:57:42 +0200
In-Reply-To: <200410140825.52497.konqueror@gmx.de>
References: <87lleaudxd.fsf@gnu.org> <200410140825.52497.konqueror@gmx.de>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <BA7613CE-1DB6-11D9-8E43-000A95C2681C@brawer.ch>
Content-Transfer-Encoding: 7bit
From: Sascha Brawer <sascha@brawer.ch>
Date: Thu, 14 Oct 2004 09:57:43 +0200
To: Casey Marshall <csm@gnu.org>
X-Mailer: Apple Mail (2.619)
Cc: classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: RFC: remove print statements from Security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Oct 2004 08:06:11 -0000

On Thursday 14 October 2004 06:22, Casey Marshall wrote:

> I'd like to propose that we remove the print statements from the
> provider loading code in java.security.Security [...] Alternatively,
> how about printing them only if a DEBUG constant is
> set to 'true'?

You might find java.util.logging useful for this.

-- Sascha




From MAILER-DAEMON Thu Oct 14 12:50:52 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CI8oW-0003XP-Ij
	for mharc-classpath@gnu.org; Thu, 14 Oct 2004 12:50:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CI8oU-0003Wu-D1
	for classpath@gnu.org; Thu, 14 Oct 2004 12:50:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CI8oT-0003Wc-Nx
	for classpath@gnu.org; Thu, 14 Oct 2004 12:50:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CI8oT-0003WZ-KW; Thu, 14 Oct 2004 12:50:49 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CI8ge-0002Fj-LI; Thu, 14 Oct 2004 12:42:44 -0400
Received: from ext-gw01.feelslikefriday.com ([217.195.237.146]
	helo=[192.168.0.19])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CI8gE-0000HH-00; Thu, 14 Oct 2004 18:42:19 +0200
From: Mark Wielaard <mark@klomp.org>
To: Casey Marshall <csm@gnu.org>
In-Reply-To: <87lleaudxd.fsf@gnu.org>
References: <87lleaudxd.fsf@gnu.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-yWVuKWWMQYBJpYB3CANA"
Message-Id: <1097772161.1088.60.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 14 Oct 2004 18:42:41 +0200
Cc: classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: RFC: remove print statements from Security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Oct 2004 16:50:51 -0000


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

Hi,

On Thu, 2004-10-14 at 06:22, Casey Marshall wrote:
> I'd like to propose that we remove the print statements from the
> provider loading code in java.security.Security, as with the attached
> patch. It wasn't recieved well when proposed [1] and now actually
> makes tests fail on libgcj [2].

Although I introduced this I don't mind if is was removed. Although I
think they are nice to have since it warns the end user that GNU
Classpath wasn't installed correctly (which seem to actually be the case
in [2]). The important part is falling back on a default provider in
case of (user/installation) errors.

If you remove this could you add a little note to VM Integration Guide
doc/vmintegration.texinfo about the importance of setting up the system
property gnu.classpath.home.url and how it is used by Security,
LogManager and InitialContext to find default configuration files. (A
default is set in System when the VM doesn't set it, but this only works
correctly when GNU Classpath is used out of the box. Something gcj still
doesn't do.)

Thanks,

Mark

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

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

iD8DBQBBbqyAxVhZCJWr9QwRApT4AJ0R0EAsbhXP1l7rOfLwnGrNq2ngeACfQH3v
7w4FKnj6W7hoCevLO3rabAQ=
=67w7
-----END PGP SIGNATURE-----

--=-yWVuKWWMQYBJpYB3CANA--




From MAILER-DAEMON Sun Oct 17 14:06:22 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CJFQE-0005sE-EU
	for mharc-classpath@gnu.org; Sun, 17 Oct 2004 14:06:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CJFQC-0005rn-3r
	for classpath@gnu.org; Sun, 17 Oct 2004 14:06:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CJFQB-0005rb-Nv
	for classpath@gnu.org; Sun, 17 Oct 2004 14:06:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CJFQB-0005rY-K4
	for classpath@gnu.org; Sun, 17 Oct 2004 14:06:19 -0400
Received: from [63.249.108.128] (helo=unmodern.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CJFIo-0001eY-4K
	for classpath@gnu.org; Sun, 17 Oct 2004 13:58:42 -0400
Received: by unmodern.net (Postfix, from userid 1000)
	id 7E1CF39; Sun, 17 Oct 2004 10:58:40 -0700 (PDT)
To: classpath@gnu.org
From: Casey Marshall <csm@gnu.org>
Date: Sun, 17 Oct 2004 10:58:40 -0700
Message-ID: <87pt3hjkfj.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: RFC: import gnu.crypto.pki
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Oct 2004 18:06:20 -0000

Hi,

For some time I had been developing the X.509 certificate code in
Classpath (gnu.java.security.x509) in Jessie, and then moved the code
to GNU Crypto. Since then I've improved the code a great deal over the
original version, which is fairly limited and buggy [1]. The version
in GNU Crypto CVS has:

   - A much more complete and robust X.509 parser.
   - A better, more easily extensible framework.
   - An implementation of the certificate path-checking algorithm
     described in RFC 3280.
   - A large test suite based on NIST's PKITS test suite.

I would like to merge this code back into Classpath, and to maintain
it there. This is desirable, because features of the standard library
(like signed Jar files) depend on having a full X.509 implementation.
It would also be nice to move the PKITS test suite into Mauve (it is
already written to use Mauve's base classes).

Ideally, I think moving everything into Classpath (including GNU
Crypto's algorithms and Jessie's SSL implementation) would be nice,
since then we'd have everything the JDK has, APIs and
implementations. But for now I think the PKI code should go back in.

Comments?

-- 
Casey Marshall || csm@gnu.org

1. https://savannah.gnu.org/bugs/?func=detailitem&item_id=9947



From MAILER-DAEMON Mon Oct 18 12:01:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CJZwl-0007fB-L5
	for mharc-classpath@gnu.org; Mon, 18 Oct 2004 12:01:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CJZwg-0007aD-Ko
	for classpath@gnu.org; Mon, 18 Oct 2004 12:01:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CJZwa-0007YT-CP
	for classpath@gnu.org; Mon, 18 Oct 2004 12:01:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CJZwZ-0007YO-Gg
	for classpath@gnu.org; Mon, 18 Oct 2004 12:01:07 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CJZp7-00015c-TU
	for classpath@gnu.org; Mon, 18 Oct 2004 11:53:26 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i9IFrDrH020984
	for <classpath@gnu.org>; Mon, 18 Oct 2004 11:53:13 -0400
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9IFrBr05187
	for <classpath@gnu.org>; Mon, 18 Oct 2004 11:53:12 -0400
Received: from [172.16.14.67] (towel.toronto.redhat.com [172.16.14.67])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	i9IFrAbU002466
	for <classpath@gnu.org>; Mon, 18 Oct 2004 11:53:10 -0400
Message-ID: <4173E6E6.7050504@redhat.com>
Date: Mon, 18 Oct 2004 11:53:10 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
Content-Type: multipart/mixed; boundary="------------090305010703040307050607"
Subject: Locale ResourceBundles
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Oct 2004 16:01:16 -0000

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

Over the weekend I looked a bit at ResourceBundle usage in Calendar etc 
again.

The problem:

Various classes, such as Calendar, need to load Locale information from 
ResourceBundles. The ResourceBundle.getBundle() calls are frequent 
enough, eg every time a Calendar instance is created, and sometimes 
every time certain calls are made, that the calling-classloader check 
performed by getBundle can be a significant performance issue. To avoid 
this check, we use the 3-argument form of getBundle(), which includes an 
explicit ClassLoader argument.

However, getting the classloader argument for getBundle() can be a 
problem. Currently we use the system classloader as returned by 
getSystemClassLoader() (using something like 
Calendar.class.getClassLoader() unfortunately doesn't work because that 
may return "null" for the system classloader, and null is not a valid 
argument for getBundle() ). But, getSystemClassLoader is a privileged 
call and requires an AccessController.doPrivileged() to call safely in a 
secure environment.

Rather than having to add an AccessController.doPrivilaged() to every 
getBundle() call in every class that uses Locale data, I wondered if we 
can use a "LocaleHelper" class to cache the system classloader and 
simplify locale bundle lookups from the classes that need access to them.

My question is - could the LocaleHelper class be a security problem? As 
far as I can tell it isn't - the worst that can happen is that untrusted 
code could load a ResourceBundle using the system classloader, but since 
getBundle() itself is not a privileged call, and getBundle() is not 
called with elevated privileges anyway, I don't see any problems there. 
The code could do the same thing by calling getBundle() directly. Have I 
missed anything?

Bryce



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

/* LocaleHelper.java
   Copyright (C) 2004 Free Software Foundation, Inc.

This file is part of GNU Classpath.

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

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

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 gnu.java.locale;

import java.security.AccessController;
import java.security.PrivilegedAction;
import gnu.java.security.action.GetSystemClassLoaderAction;

/**
 * This class provides a convienient interface to access Locale information.
 */
public class LocaleHelper
{
  /** The system classloader is used to load Locale resource bundles. Passing
   *  this to ResourceBundle.getBundle() explicitly avoids a potentially
   *  expensive calling-classloader check. */
  private static ClassLoader systemClassLoader;
  
  static
  {
    PrivilegedAction action = new GetSystemClassLoaderAction();
    systemClassLoader = (ClassLoader) AccessController.doPrivileged(action);
  }
  
  /** Retrieve LocaleInformation ResourceBundle for the given locale.  */
  public static ResourceBundle getLocaleInformation(Locale locale)
  {
    return ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", 
				    locale, systemClassLoader);
  }

  /** Retrieve Calendar ResourceBundle for the given locale.  */
  public static ResourceBundle getCalendar(Locale locale)
  {
    return ResourceBundle.getBundle("gnu.java.locale.Calendar", 
				    locale, systemClassLoader);
  }
}

--------------090305010703040307050607--



From MAILER-DAEMON Mon Oct 18 12:24:05 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CJaIn-000307-Jg
	for mharc-classpath@gnu.org; Mon, 18 Oct 2004 12:24:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CJaIm-0002zy-0H
	for classpath@gnu.org; Mon, 18 Oct 2004 12:24:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CJaIl-0002ze-AH
	for classpath@gnu.org; Mon, 18 Oct 2004 12:24:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CJaIl-0002zJ-5N
	for classpath@gnu.org; Mon, 18 Oct 2004 12:24:03 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CJaAm-0004eI-JE
	for classpath@gnu.org; Mon, 18 Oct 2004 12:15:48 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 18 Oct 2004 18:15:44 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <D92197D0A6547B44A1567814F851FA687EAC@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Locale ResourceBundles
thread-index: AcS1K4cJYw+gUtotTMSj+e7Zlp8GtAAAdzTg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Bryce McKinlay" <mckinlay@redhat.com>,
	"classpath" <classpath@gnu.org>
Cc: 
Subject: RE: Locale ResourceBundles
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Oct 2004 16:24:04 -0000

Bryce McKinlay wrote:
> My question is - could the LocaleHelper class be a security=20
> problem?

It doesn't look like it, but I can't resist the temptation to point out
that this wouldn't be an issue if we adopted a Classpath private package
for helper classes like this.

Regards,
Jeroen



From MAILER-DAEMON Mon Oct 18 19:57:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CJhNk-0003j9-Fx
	for mharc-classpath@gnu.org; Mon, 18 Oct 2004 19:57:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CJhNi-0003j4-UX
	for classpath@gnu.org; Mon, 18 Oct 2004 19:57:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CJhNi-0003is-Ft
	for classpath@gnu.org; Mon, 18 Oct 2004 19:57:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CJhNi-0003ip-C4
	for classpath@gnu.org; Mon, 18 Oct 2004 19:57:38 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CJhGB-0006WB-U3
	for classpath@gnu.org; Mon, 18 Oct 2004 19:49:52 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9INm1lX087277;
	Tue, 19 Oct 2004 09:48:02 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Bryce McKinlay" <mckinlay@redhat.com>, "classpath" <classpath@gnu.org>
Date: Tue, 19 Oct 2004 09:48:04 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCAEIPEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <4173E6E6.7050504@redhat.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Importance: Normal
Cc: 
Subject: RE: Locale ResourceBundles
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Oct 2004 23:57:39 -0000

Bryce,

> However, getting the classloader argument for getBundle() can be a
> problem. Currently we use the system classloader as returned by
> getSystemClassLoader() (using something like
> Calendar.class.getClassLoader() unfortunately doesn't work because that
> may return "null" for the system classloader, and null is not a valid
> argument for getBundle() ).

I'm a little confused by your terminology here, the "system class loader" as
returned by ClassLoader.getSystemClassLoader and as implemented by
VMClassloader.getSystemClassLoader is the *application* class loader  ie
that loader used to load the class whose main method you want to execute.
This classloader should never be null.

In contrast, the bootstrap classloader, which is used to load the "system
classes" (those logically in the 'bootstrap classpath'), such a Object,
Class, Calendar etc, may be null. If you do Calendar.class.getClassloader
you are asking for the bootstrap loader not the "system loader".

So which classloader do you actually want?

> But, getSystemClassLoader is a privileged
> call and requires an AccessController.doPrivileged() to call safely in a
> secure environment.

It requires a security manager check involving the calling classloader -
which is the same overhead that you were trying to avoid by using the
getBundle form that takes a classloader - at least when a security manager
is installed.

> Rather than having to add an AccessController.doPrivilaged() to every
> getBundle() call in every class that uses Locale data, I wondered if we
> can use a "LocaleHelper" class to cache the system classloader and
> simplify locale bundle lookups from the classes that need access to them.
>
> My question is - could the LocaleHelper class be a security problem?

I'm confused as to who as is asking for what here and which code you are
trying to optimise - my apologies if my lack of understanding has made me
miss the point.

I would expect caching to be performed at each level. If the calendar
requires locale information and the locale requires a resource bundle, then
I would expect Calendar to cache the locale, and locale to cache the
resource bundle, and resource bundle to actually cache the resources. Any
necessary security checks when acquiring the initial values would be
performed as defined/required, but should only happen once per
calender/locale combination. Short-circuiting the security checks would seem
to me to be presuming what security checks needs to be made, and while it
might seem harmless, to me it seems the wrong thing to do. But as I said I'm
not clear exactly what code you are planning on changing to use the cached
application class loader.

Cheers,
David Holmes




From MAILER-DAEMON Tue Oct 19 11:40:31 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CJw6B-0001JP-Gq
	for mharc-classpath@gnu.org; Tue, 19 Oct 2004 11:40:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CJw69-0001J6-33
	for classpath@gnu.org; Tue, 19 Oct 2004 11:40:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CJw68-0001IL-5D
	for classpath@gnu.org; Tue, 19 Oct 2004 11:40:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CJw68-0001II-27
	for classpath@gnu.org; Tue, 19 Oct 2004 11:40:28 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CJvyQ-0003PE-He
	for classpath@gnu.org; Tue, 19 Oct 2004 11:32:30 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i9JFWKhF017832;
	Tue, 19 Oct 2004 11:32:25 -0400
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9JFWHr30553; 
	Tue, 19 Oct 2004 11:32:17 -0400
Received: from [172.16.14.67] (towel.toronto.redhat.com [172.16.14.67])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	i9JFWDbU016651; Tue, 19 Oct 2004 11:32:17 -0400
Message-ID: <4175337D.9020403@redhat.com>
Date: Tue, 19 Oct 2004 11:32:13 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCAEIPEOAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCAEIPEOAA.dholmes@dltech.com.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>
Subject: Re: Locale ResourceBundles
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Oct 2004 15:40:29 -0000

David Holmes wrote:

>In contrast, the bootstrap classloader, which is used to load the "system
>classes" (those logically in the 'bootstrap classpath'), such a Object,
>Class, Calendar etc, may be null. If you do Calendar.class.getClassloader
>you are asking for the bootstrap loader not the "system loader".
>
>So which classloader do you actually want?
>  
>

Good question. As you point out, getSystemClassLoader() will give the 
application classloader, so if we use the result of 
getSystemClassLoader(), then resources could be loaded from the 
application classpath instead of just the bootstrap classpath (ie 
glibj.jar). Which one we want depends on whether users/applications 
should be able to add their own locale data independently of 
Classpath's. I'm not sure whether that would be a useful feature, but 
I'm going on the assumption that its not really a _bad_ thing. Any opinions?

>>But, getSystemClassLoader is a privileged
>>call and requires an AccessController.doPrivileged() to call safely in a
>>secure environment.
>>    
>>
>
>It requires a security manager check involving the calling classloader -
>which is the same overhead that you were trying to avoid by using the
>getBundle form that takes a classloader - at least when a security manager
>is installed.
>  
>

Yes, but the getSystemClassLoader() call only needs to be made once. 
After that, the ClassLoader can be stored in a private field and reused 
for subsequent getBundle() calls.

>>Rather than having to add an AccessController.doPrivilaged() to every
>>getBundle() call in every class that uses Locale data, I wondered if we
>>can use a "LocaleHelper" class to cache the system classloader and
>>simplify locale bundle lookups from the classes that need access to them.
>>
>>My question is - could the LocaleHelper class be a security problem?
>>    
>>
>
>I'm confused as to who as is asking for what here and which code you are
>trying to optimise - my apologies if my lack of understanding has made me
>miss the point.
>
>I would expect caching to be performed at each level. If the calendar
>requires locale information and the locale requires a resource bundle, then
>I would expect Calendar to cache the locale, and locale to cache the
>resource bundle, and resource bundle to actually cache the resources. 
>

The missing link here is the Locale->ResourceBundle association. The 
Locale class is just an identifier, it doesn't have any API to actually 
load/examine the Locale information. This is left up to the classes that 
actually need the locale data to implement.

Calendar could certainly maintain its own cache of Locale->bundle 
mappings, thus bypassing the classloader stuff, but I think that a) 
having too many levels of caching becomes counter-productive - 
ResourceBundle already has a perfectly good cache, and b) the problem is 
not just in Calendar: every class that wants to load Locale data would 
need its own cache.

>Any
>necessary security checks when acquiring the initial values would be
>performed as defined/required, but should only happen once per
>calender/locale combination. Short-circuiting the security checks would seem
>to me to be presuming what security checks needs to be made, and while it
>might seem harmless, to me it seems the wrong thing to do
>

I don't think we're short-circuiting any security checks here. All we're 
doing is passing a ClassLoader explicitly to getBundle() instead of 
forcing it to look on the stack to determine which classloader to use.

Regards

Bryce




From MAILER-DAEMON Tue Oct 19 17:11:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CK1GB-0005hD-So
	for mharc-classpath@gnu.org; Tue, 19 Oct 2004 17:11:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CK1G8-0005gV-Pc
	for classpath@gnu.org; Tue, 19 Oct 2004 17:11:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CK1G8-0005fw-3E
	for classpath@gnu.org; Tue, 19 Oct 2004 17:11:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CK1G7-0005eu-0c; Tue, 19 Oct 2004 17:11:07 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CK18I-0004D4-U7; Tue, 19 Oct 2004 17:03:03 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i9JL2kGi016667;
	Tue, 19 Oct 2004 17:02:56 -0400
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9JL2Zr27446; 
	Tue, 19 Oct 2004 17:02:35 -0400
Received: from [172.16.14.67] (towel.toronto.redhat.com [172.16.14.67])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	i9JL2ZbU028737; Tue, 19 Oct 2004 17:02:35 -0400
Message-ID: <417580EB.7060804@redhat.com>
Date: Tue, 19 Oct 2004 17:02:35 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <87lleaudxd.fsf@gnu.org> <1097772161.1088.60.camel@localhost>
In-Reply-To: <1097772161.1088.60.camel@localhost>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Casey Marshall <csm@gnu.org>, classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: RFC: remove print statements from Security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Oct 2004 21:11:08 -0000

Mark Wielaard wrote:

>If you remove this could you add a little note to VM Integration Guide
>doc/vmintegration.texinfo about the importance of setting up the system
>property gnu.classpath.home.url and how it is used by Security,
>LogManager and InitialContext to find default configuration files. 
>

Is there a reason to use a non-standard system property here? whats 
wrong with java.home?

Regards

Bryce




From MAILER-DAEMON Tue Oct 19 18:41:43 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CK2fm-0001YA-PO
	for mharc-classpath@gnu.org; Tue, 19 Oct 2004 18:41:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CK2fl-0001XZ-DW
	for classpath@gnu.org; Tue, 19 Oct 2004 18:41:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CK2fk-0001XN-Vm
	for classpath@gnu.org; Tue, 19 Oct 2004 18:41:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CK2fk-0001XK-SW
	for classpath@gnu.org; Tue, 19 Oct 2004 18:41:40 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CK2YI-0000Ev-88
	for classpath@gnu.org; Tue, 19 Oct 2004 18:33:58 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i9JMWhFe060859;
	Wed, 20 Oct 2004 08:32:44 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Bryce McKinlay" <mckinlay@redhat.com>
Date: Wed, 20 Oct 2004 08:32:43 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCCEKDEOAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <4175337D.9020403@redhat.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Locale ResourceBundles
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Oct 2004 22:41:41 -0000

> Bryce McKinlay wrote:
> Good question. As you point out, getSystemClassLoader() will give the
> application classloader, so if we use the result of
> getSystemClassLoader(), then resources could be loaded from the
> application classpath instead of just the bootstrap classpath (ie
> glibj.jar). Which one we want depends on whether users/applications
> should be able to add their own locale data independently of
> Classpath's. I'm not sure whether that would be a useful feature, but
> I'm going on the assumption that its not really a _bad_ thing.
> Any opinions?

I don't know enough about where these resources are  supposed to be loaded
from to know whether a user/application should be able to define them
locally. But if they are allowed to do so, then it would seem to me that the
calls to load the resources must always use the current classloader (the
context classloader?) to ensure that locally defined resources are found. In
which case any attempt to pre-cache the classloader to use (even if the one
from getSystemClassLoader) could be incorrect as it could lead to a failure
to load the resource.

On the other hand, if we know these resources must be loaded from the
application classpath, then caching the system/application class loader
would be fine.

David Holmes




From MAILER-DAEMON Wed Oct 20 16:47:13 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CKNMX-0003IJ-6h
	for mharc-classpath@gnu.org; Wed, 20 Oct 2004 16:47:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CKNMU-0003GP-RE
	for classpath@gnu.org; Wed, 20 Oct 2004 16:47:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CKNMU-0003Fp-5I
	for classpath@gnu.org; Wed, 20 Oct 2004 16:47:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CKNMU-0003Fm-1g
	for classpath@gnu.org; Wed, 20 Oct 2004 16:47:10 -0400
Received: from [139.165.32.99] (helo=serv54.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CKNEx-00020B-7y
	for classpath@gnu.org; Wed, 20 Oct 2004 16:39:23 -0400
Received: (qmail 7310 invoked by uid 510); 20 Oct 2004 22:39:21 +0200
Received: from 139.165.201.14 by serv54.segi.ulg.ac.be (envelope-from
	<arnaud.vandyck@ulg.ac.be>, uid 501) with qmail-scanner-1.23 
	(drweb: 4. spamassassin: 2.64.  Clear:RC:1(139.165.201.14):. 
	Processed in 0.904255 secs); 20 Oct 2004 20:39:21 -0000
Received: from unknown (HELO oz.fapse.ulg.ac.be) ([139.165.201.14])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv54.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <sablevm-devel@sablevm.org>; 20 Oct 2004 22:39:20 +0200
Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.34)
	id 1CKNEt-00019O-7K; Wed, 20 Oct 2004 22:39:19 +0200
To: SableVM Developers Mailing List <sablevm-devel@sablevm.org>
From: Arnaud Vandyck <avdyk@gnu.org>
Mail-Followup-To: SableVM Developers Mailing List
	<sablevm-devel@sablevm.org>, java@gcc.gnu.org, ClassPath List
	<classpath@gnu.org>
Date: Wed, 20 Oct 2004 22:39:18 +0200
Message-ID: <87y8i1jf9l.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Cc: ClassPath List <classpath@gnu.org>, java@gcc.gnu.org
Subject: [FW] Re: which jvm for gnujaxp?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Oct 2004 20:47:11 -0000

--=-=-=

Hi all,

I had a problem running gnujaxp transformation with sablevm, jamvm (but
I don't know their mailing list) and gij. I did succeed with kaffe.

Chris investigate a little more and it seems the problem is when native
code is called (libxml or libxsl).

Here is an example.

NOTE: I post this mail on several mailing lists but only reply on your
      own one, thanks.


--=-=-=
Content-Type: message/rfc822
Content-Disposition: inline

In-Reply-To: <87acukpgl9.fsf@oz.fapse.ulg.ac.be>
References: <87oej1d5zk.fsf@oz.fapse.ulg.ac.be>
	<20041017175330.GA18462@bluezoo.org>
	<87acukpgl9.fsf@oz.fapse.ulg.ac.be>
Message-Id: <87D00FA3-212E-11D9-9B11-000D934FF4B2@bluezoo.org>
From: Chris Burdess <dog@bluezoo.org>
Subject: Re: which jvm for gnujaxp?
Date: Mon, 18 Oct 2004 18:52:51 +0100
To: Arnaud Vandyck <avdyk@ressource-toi.org>
Lines: 248
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===-=-="

--===-=-=
Content-Type: text/plain; format=flowed

Arnaud Vandyck wrote:
> Can I forward this mail to the gcj dev mailing list?

Sure. I attach a simple test case which uses the libxmlj SAX parser to 
parse an XML file given on argv. Using java=gij, I get the following:

# ./saxtest test.xml
 >> Parsing test.xml
Exception in thread "main" java.lang.UnsatisfiedLinkError: parseStream
    <<No stacktrace available>>
Exception in thread "Thread-1" java.lang.UnsatisfiedLinkError: 
freeLibxsltGlobal
    <<No stacktrace available>>

# gij --version
gij (GNU libgcj) version 3.4.2

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is 
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.

# uname -a
Darwin bobtail.local 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug  5 
19:26:16 PDT2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC  Power 
Macintosh powerpc

Using the Apple-supplied java, the program behaves as expected.
-- 
Chris Burdess


--===-=-=
Content-Type: text/plain; name=saxtest.java
Content-Disposition: attachment; filename=saxtest.java

import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.IOException;
import java.net.URL;
import java.net.MalformedURLException;

import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;

import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.Locator;
import org.xml.sax.SAXParseException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.DefaultHandler;

public class saxtest extends DefaultHandler
{

  Locator locator;

  public void setDocumentLocator(Locator l)
    {
      locator = l;
    }

  public void startDocument()
    {
      msg("startDocument");
    }

  public void endDocument()
    {
      msg("endDocument");
    }

  public void startElement(String uri, String localName, String qname,
                           Attributes atts)
    {
      if (uri == null)
        msg("startElement "+qname);
      else
        msg("startElementNS "+uri+" "+localName);
      int len = atts.getLength();
      for (int i = 0; i < len; i++)
        {
          String attrUri = atts.getURI(i);
          if (attrUri == null)
            System.out.println("\tattribute "+atts.getQName(i)+" = "+atts.getValue(i));
          else
            System.out.println("\tattributeNS "+attrUri+" "+
                               atts.getLocalName(i)+" = "+atts.getValue(i));
        }
    }

  public void endElement(String uri, String localName, String qname)
    {
      if (uri == null)
        msg("endElement "+qname);
      else
        msg("endElementNS "+uri+" "+localName);
    }

  public void characters(char[] ch, int start, int len)
    {
      msg("characters: "+new String(ch, start, len));
    }

  public void warning(SAXParseException e)
    {
      msg("WARNING: "+e.getMessage());
    }

  public void error(SAXParseException e)
    {
      msg("ERROR: "+e.getMessage());
    }

  public void fatalError(SAXParseException e)
    {
      msg("FATAL ERROR: "+e.getMessage());
    }

  public InputSource resolveEntity (String publicId, String systemId)
    throws IOException
    {
      msg("resolveEntity: "+systemId);
      try
        {
          URL url = new URL (systemId);
          return new InputSource (url.openStream ());
        }
      catch (MalformedURLException e)
        {
          File file = new File (systemId);
          if (!file.exists ())
            {
              return null;
            }
          InputStream in = new FileInputStream (file);
          return new InputSource (in);
        }
    }

  void msg (String message)
    {
      if (locator != null)
        {
          String systemId = locator.getSystemId ();
          if (systemId != null)
            {
              int ls = systemId.lastIndexOf ('/');
              if (ls != -1)
                {
                  systemId = systemId.substring (ls + 1);
                }
              System.out.print (systemId + ':');
            }
          System.out.print (locator.getLineNumber ());
          int col = locator.getColumnNumber ();
          if (col != -1)
            {
              System.out.print ("," + col);
            }
          System.out.print (":");
        }
      System.out.println(message);
    }

  public static void main (String[] args)
    {
      saxtest test = new saxtest ();
      try
        {
          SAXParserFactory factory = SAXParserFactory.newInstance ();
          factory.setValidating (true);
          SAXParser parser = factory.newSAXParser ();
          XMLReader reader = parser.getXMLReader ();
          reader.setContentHandler (test);
          reader.setErrorHandler (test);
          reader.setEntityResolver (test);
          for (int i = 0; i < args.length; i++)
            {
              System.out.println (">> Parsing " + args[i]);
              reader.parse (args[i]);
            }
        }
      catch (Exception e)
        {
          e.printStackTrace ();
        }
    }

}

--===-=-=
Content-Type: application/octet-stream; name=saxtest
Content-Disposition: attachment; filename=saxtest

#!/bin/sh

prefix=/usr/local

java=gij
LIB=$prefix/lib
export CLASSPATH=.:$prefix/share/java/gnujaxp.jar

# System specific
case `uname` in
	Linux)
		#JAVA_HOME=/usr/lib/j2se/1.3
		;;
	Darwin)
		export DYLD_LIBRARY_PATH=${LIB}
		;;
esac

key=javax.xml.parsers.SAXParserFactory
value=gnu.xml.aelfred2.JAXPFactory
JAXP_PROPERTIES="-D$key=$value"

#echo $JAXP_PROPERTIES
#time $java -Djava.library.path=${LIB} $JAXP_PROPERTIES saxtest $*

key=javax.xml.parsers.SAXParserFactory
value=gnu.xml.libxmlj.sax.GnomeSAXParserFactory
JAXP_PROPERTIES="-D$key=$value"

#echo $JAXP_PROPERTIES
time $java -Djava.library.path=${LIB} $JAXP_PROPERTIES saxtest $*

--===-=-=--

--=-=-=



-- 
Arnaud Vandyck
http://fosdem.org/
Free and Open Source Developers' European Meeting
February 26-27 2005,
Bruxelles, Belgium

--=-=-=--



From MAILER-DAEMON Wed Oct 20 17:05:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CKNeJ-00017w-2V
	for mharc-classpath@gnu.org; Wed, 20 Oct 2004 17:05:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CKNeH-00017j-PQ
	for classpath@gnu.org; Wed, 20 Oct 2004 17:05:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CKNeG-00017M-Ur
	for classpath@gnu.org; Wed, 20 Oct 2004 17:05:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CKNeG-00017B-DV
	for classpath@gnu.org; Wed, 20 Oct 2004 17:05:32 -0400
Received: from [139.165.32.99] (helo=serv54.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CKNVw-0004p1-RF
	for classpath@gnu.org; Wed, 20 Oct 2004 16:56:57 -0400
Received: (qmail 8670 invoked by uid 510); 20 Oct 2004 22:56:55 +0200
Received: from 139.165.201.14 by serv54.segi.ulg.ac.be (envelope-from
	<arnaud.vandyck@ulg.ac.be>, uid 501) with qmail-scanner-1.23 
	(drweb: 4. spamassassin: 2.64.  Clear:RC:1(139.165.201.14):. 
	Processed in 0.515856 secs); 20 Oct 2004 20:56:55 -0000
Received: from unknown (HELO oz.fapse.ulg.ac.be) ([139.165.201.14])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv54.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 20 Oct 2004 22:56:54 +0200
Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.34)
	id 1CKNVt-0003ju-NF
	for classpath@gnu.org; Wed, 20 Oct 2004 22:56:53 +0200
To: classpath@gnu.org
From: Arnaud Vandyck <avdyk@gnu.org>
Mail-Followup-To: classpath@gnu.org
Date: Wed, 20 Oct 2004 22:56:53 +0200
Message-ID: <87pt3djega.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Subject: [gjdoc] problem building gjdoc
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Oct 2004 21:05:33 -0000

Hi,

I'm trying to build gjdoc with the autotools (all the files from cvs):

$ ./autogen.sh
[...]
$ make
[...]
jar cfm gnu-classpath-tools-gjdoc-0.1.4-cvs.jar gjdoc.mf -C classes gnu \
 dtd/gjdoc.dtd \
dtd/ent/iso-amsa.ent dtd/ent/iso-lat2.ent dtd/ent/iso-num.ent dtd/ent/iso-amsn.ent dtd/ent/iso-pub.ent dtd/ent/iso-grk4.ent dtd/ent/iso-amsb.ent dtd/ent/iso-amsc.ent dtd/ent/iso-cyr1.ent dtd/ent/iso-grk2.ent dtd/ent/iso-tech.ent dtd/ent/iso-grk3.ent dtd/ent/iso-dia.ent dtd/ent/iso-grk1.ent dtd/ent/iso-amsr.ent dtd/ent/iso-lat1.ent dtd/ent/iso-box.ent dtd/ent/iso-cyr2.ent dtd/ent/iso-amso.ent dtd/dbcentx.mod \
rng/gjdoc-classdoc.rng rng/gjdoc-common.rng rng/gjdoc-index.rng doctranslets/gjdoc_common.xsl doctranslets/html/allpackages.xsl doctranslets/html/allclasses.xsl doctranslets/html/index_noframes.xsl doctranslets/html/html_common.xsl doctranslets/html/packagedoc.xsl doctranslets/html/gjdoc.xsl doctranslets/html/descriptor.xsl doctranslets/html/doctranslet.xsl doctranslets/html/fulltree.xsl doctranslets/html/index.xsl doctranslets/html/packageclasses.xsl doctranslets/html/classdoc.xsl
classes/dtd/gjdoc.dtd: no such file or directory
classes/dtd/ent/iso-amsa.ent: no such file or directory
classes/dtd/ent/iso-lat2.ent: no such file or directory
classes/dtd/ent/iso-num.ent: no such file or directory
classes/dtd/ent/iso-amsn.ent: no such file or directory
classes/dtd/ent/iso-pub.ent: no such file or directory
classes/dtd/ent/iso-grk4.ent: no such file or directory
classes/dtd/ent/iso-amsb.ent: no such file or directory
classes/dtd/ent/iso-amsc.ent: no such file or directory
classes/dtd/ent/iso-cyr1.ent: no such file or directory
classes/dtd/ent/iso-grk2.ent: no such file or directory
classes/dtd/ent/iso-tech.ent: no such file or directory
classes/dtd/ent/iso-grk3.ent: no such file or directory
classes/dtd/ent/iso-dia.ent: no such file or directory
classes/dtd/ent/iso-grk1.ent: no such file or directory
classes/dtd/ent/iso-amsr.ent: no such file or directory
classes/dtd/ent/iso-lat1.ent: no such file or directory
classes/dtd/ent/iso-box.ent: no such file or directory
classes/dtd/ent/iso-cyr2.ent: no such file or directory
classes/dtd/ent/iso-amso.ent: no such file or directory
classes/dtd/dbcentx.mod: no such file or directory
classes/rng/gjdoc-classdoc.rng: no such file or directory
classes/rng/gjdoc-common.rng: no such file or directory
classes/rng/gjdoc-index.rng: no such file or directory
classes/doctranslets/gjdoc_common.xsl: no such file or directory
classes/doctranslets/html/allpackages.xsl: no such file or directory
classes/doctranslets/html/allclasses.xsl: no such file or directory
classes/doctranslets/html/index_noframes.xsl: no such file or directory
classes/doctranslets/html/html_common.xsl: no such file or directory
classes/doctranslets/html/packagedoc.xsl: no such file or directory
classes/doctranslets/html/gjdoc.xsl: no such file or directory
classes/doctranslets/html/descriptor.xsl: no such file or directory
classes/doctranslets/html/doctranslet.xsl: no such file or directory
classes/doctranslets/html/fulltree.xsl: no such file or directory
classes/doctranslets/html/index.xsl: no such file or directory
classes/doctranslets/html/packageclasses.xsl: no such file or directory
classes/doctranslets/html/classdoc.xsl: no such file or directory
make: *** [gnu-classpath-tools-gjdoc-0.1.4-cvs.jar] Erreur 2
~/prj/gnu/gjdoc $ 


-- 
 Arnaud Vandyck
  ,= ,-_-. =.
 ((_/)o o(\_))
  `-'(. .)`-'
      \_/



From MAILER-DAEMON Wed Oct 20 20:53:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CKRCX-0008Ri-NH
	for mharc-classpath@gnu.org; Wed, 20 Oct 2004 20:53:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CKRCV-0008RC-Ug
	for classpath@gnu.org; Wed, 20 Oct 2004 20:53:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CKRCV-0008R0-GF
	for classpath@gnu.org; Wed, 20 Oct 2004 20:53:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CKRCV-0008Qx-D3
	for classpath@gnu.org; Wed, 20 Oct 2004 20:53:07 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CKR4o-00065e-N1
	for classpath@gnu.org; Wed, 20 Oct 2004 20:45:11 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9L0j4lI030492;
	Wed, 20 Oct 2004 20:45:04 -0400
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9L0j4r17165; 
	Wed, 20 Oct 2004 20:45:04 -0400
Received: from [172.16.14.67] (towel.toronto.redhat.com [172.16.14.67])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	i9L0j3bU020799; Wed, 20 Oct 2004 20:45:03 -0400
Message-ID: <4177068F.2080708@redhat.com>
Date: Wed, 20 Oct 2004 20:45:03 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <D92197D0A6547B44A1567814F851FA687E6B@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA687E6B@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: [cp-patches] GregorianCalendar mess
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Oct 2004 00:53:08 -0000

Jeroen Frijters wrote:

>>Perhaps a separate pass to normalize the fields is needed,
>>which can be called by both calculateDay() and computeTime()?
>>    
>>
>
>The nasty thing about this class is that all of its state is protected,
>so subclasses could (theoretically) depend on all sorts of nasty
>implementation details. I don't know if we should care about such a
>theoretical scenario, but it bothers me never the less.
>  
>

Yeah, subclasses that (ab)use the protected state are asking for 
trouble. I think its much more important to get it right in terms of the 
public interfaces than worry about what subclasses might do.

>That doesn't work. The docs explicitly say that set doesn't do anything
>other than setting that particular field and the result of roll over
>depends on the contents of the other fields. For example, the follow
>code should print two identical dates:
>
>GregorianCalendar cal = new GregorianCalendar();
>
>cal.set(Calendar.MONTH, Calendar.FEBRUARY);
>cal.set(Calendar.DAY_OF_MONTH, 31);
>cal.set(Calendar.MONTH, Calendar.MARCH);
>System.out.println(cal.getTime());
>
>cal.set(Calendar.MONTH, Calendar.MARCH);
>cal.set(Calendar.DAY_OF_MONTH, 31);
>cal.set(Calendar.MONTH, Calendar.MARCH);
>System.out.println(cal.getTime());
>  
>

On the other hand, consider something like:

cal.set(Calendar.MONTH, Calendar.FEBRUARY);
cal.set(Calendar.DAY_OF_MONTH, 31);
System.out.println(cal.get(Calendar.DAY_OF_MONTH));



This will print "2" (in a leap year), indicating that the fields are 
being rolled/recalculated upon any get() call.

I still think the right thing to do is to have a separate 
recalculation/normalization pass, including processing any roll-overs 
that might be required due to out-of-range values in a lenient instance. 
I think that proper rolling behaviour (currently we are pretty buggy 
here) could be implemented relatively easily using recursion. For 
example, if someone has set MINUTES to an out of range value, 
recalculate() updates the minute field, then since it rolls over to the 
hours field, call recalculate(Calendar.HOUR_OF_DAY, ...) with the 
recalculated hours value, which will may turn call 
recalculate(Calendar.DAY_OF_YEAR,..), and so on. Note that this 
recalculate() method would be different from the current 
calculateFields(), because it recalculates the fields solely based on 
the values of other fields, not from the milliseconds time value.

This recalculation should be done, if necessary, at the start of any of 
the get() calls. This should fix numerous bugs with the current 
implementation, and would simplify other methods such as calculateTime() 
as they will no longer have to deal with out-of-range values.

An interesting observation from mucking around with test cases: at least 
in JDK 1.5, isSet() always returns true.

Regards

Bryce




From MAILER-DAEMON Wed Oct 20 21:44:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CKS0N-0001C9-8F
	for mharc-classpath@gnu.org; Wed, 20 Oct 2004 21:44:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CKS0J-0001Bh-AY
	for classpath@gnu.org; Wed, 20 Oct 2004 21:44:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CKS0I-0001BJ-Gc
	for classpath@gnu.org; Wed, 20 Oct 2004 21:44:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CKS0I-0001Ay-CC
	for classpath@gnu.org; Wed, 20 Oct 2004 21:44:34 -0400
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CKRsa-00058K-4J
	for classpath@gnu.org; Wed, 20 Oct 2004 21:36:36 -0400
Received: from sp1n294en1.watson.ibm.com (sp1n294en1.watson.ibm.com
	[129.34.20.40])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i9L1ZO7151042
	for <classpath@gnu.org>; Wed, 20 Oct 2004 21:35:24 -0400
Received: from sp1n294en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id i9L1aXI05230
	for <classpath@gnu.org>; Wed, 20 Oct 2004 21:36:33 -0400
Received: from [9.65.241.107] (sig-9-65-241-107.mts.ibm.com [9.65.241.107])
	by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id i9L1aVi43420; Wed, 20 Oct 2004 21:36:31 -0400
Message-ID: <41771298.2070702@watson.ibm.com>
Date: Wed, 20 Oct 2004 21:36:24 -0400
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: trouble configuring Classpath CVS head
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Oct 2004 01:44:35 -0000

I just ran "cvs update" in my Classpath source tree for the first time 
since October 6th.  I then ran "autogen.sh".  When I tried to actually 
run configure, though, my output included the following:

--begin quoted output
checking how to run the C preprocessor... gcc -E
../classpath/configure: line 23257: syntax error near unexpected token 
`GTK,'
../classpath/configure: line 23257: `     PKG_CHECK_MODULES(GTK, 
gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 libart-2.0)'
--end quoted output
Anyone else encountering trouble?  I saw that PKG_CHECK_MODULES is 
defined in classpath/pkg.m4, and I went ahead and manually copied 
pkg.m4 to /usr/local/share/aclocal.  I'm wondering whether perhaps 
autogen.sh should invoke aclocal with the flag "-I ."

I'm using pkg-config version 0.14.0 and autoconf 2.59 and automake 
(and aclocal) version 1.9.2.



-- 
Steven Augart

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



From MAILER-DAEMON Wed Oct 20 21:49:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CKS5D-0003GR-UT
	for mharc-classpath@gnu.org; Wed, 20 Oct 2004 21:49:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CKS59-0003E0-J1
	for classpath@gnu.org; Wed, 20 Oct 2004 21:49:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CKS58-0003Cz-GI
	for classpath@gnu.org; Wed, 20 Oct 2004 21:49:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CKS58-0003Cm-4n
	for classpath@gnu.org; Wed, 20 Oct 2004 21:49:34 -0400
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CKRxW-0005uP-DJ
	for classpath@gnu.org; Wed, 20 Oct 2004 21:41:42 -0400
Received: from sp1n294en1.watson.ibm.com (sp1n294en1.watson.ibm.com
	[129.34.20.40])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i9L1eV7196978
	for <classpath@gnu.org>; Wed, 20 Oct 2004 21:40:32 -0400
Received: from sp1n294en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id i9L1feI40992
	for <classpath@gnu.org>; Wed, 20 Oct 2004 21:41:40 -0400
Received: from [9.65.241.107] (sig-9-65-241-107.mts.ibm.com [9.65.241.107])
	by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id i9L1fdi37286; Wed, 20 Oct 2004 21:41:39 -0400
Message-ID: <417713CC.4070006@watson.ibm.com>
Date: Wed, 20 Oct 2004 21:41:32 -0400
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Steven Augart <augart@watson.ibm.com>
References: <41771298.2070702@watson.ibm.com>
In-Reply-To: <41771298.2070702@watson.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: trouble configuring Classpath CVS head
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Oct 2004 01:49:38 -0000

Steven Augart wrote:
  I saw that PKG_CHECK_MODULES is
> defined in classpath/pkg.m4, and I went ahead and manually copied pkg.m4 
> to /usr/local/share/aclocal

I should have explicitly mentioned here that, once I manually copied 
pkg.m4, then when I ran autogen.sh it did create aclocal.m4 with the 
PKG_CHECK_MODULES definition included, and autoconf did make a valid 
configure script.

-- 
Steven Augart

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



From MAILER-DAEMON Thu Oct 21 04:30:14 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CKYKr-0007tb-Qh
	for mharc-classpath@gnu.org; Thu, 21 Oct 2004 04:30:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CKYKp-0007tL-Ft
	for classpath@gnu.org; Thu, 21 Oct 2004 04:30:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CKYKn-0007sk-J7
	for classpath@gnu.org; Thu, 21 Oct 2004 04:30:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CKYKn-0007sS-5H
	for classpath@gnu.org; Thu, 21 Oct 2004 04:30:09 -0400
Received: from [217.12.12.139] (helo=smtp802.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CKYD8-0001h2-Vl
	for classpath@gnu.org; Thu, 21 Oct 2004 04:22:15 -0400
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(classpath@gnu.org@217.44.226.227 with poptime)
	by smtp802.mail.ukl.yahoo.com with SMTP; 21 Oct 2004 08:22:13 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.34)
	id 1CKYD6-0002D9-Qv
	for classpath@gnu.org; Thu, 21 Oct 2004 09:22:12 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: classpath@gnu.org
In-Reply-To: <417713CC.4070006@watson.ibm.com>
References: <41771298.2070702@watson.ibm.com> <417713CC.4070006@watson.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-lthwBwM7yAcMvjUXqyZW"
Message-Id: <1098346932.30820.73.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 21 Oct 2004 09:22:12 +0100
Subject: Re: trouble configuring Classpath CVS head
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Oct 2004 08:30:12 -0000


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

On Thu, 2004-10-21 at 02:41, Steven Augart wrote:
> Steven Augart wrote:
>   I saw that PKG_CHECK_MODULES is
> > defined in classpath/pkg.m4, and I went ahead and manually copied pkg.m=
4=20
> > to /usr/local/share/aclocal
>=20
> I should have explicitly mentioned here that, once I manually copied=20
> pkg.m4, then when I ran autogen.sh it did create aclocal.m4 with the=20
> PKG_CHECK_MODULES definition included, and autoconf did make a valid=20
> configure script.

Odd -- I've just done nearly the same thing (my first compile + install
of Classpath for a while -- pre-October at least) and everything went
fine (well, it installed at least).

Cheers,
--=20
Andrew :-)

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

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

"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner


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

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

iD8DBQBBd3G0u+fW6pI0dq4RApJ0AJ47Dioj7UO51qrVISt8JyC0ZQhMBgCgkzn8
5c50vga2wBtXs+ty3oJW32E=
=pEUn
-----END PGP SIGNATURE-----

--=-lthwBwM7yAcMvjUXqyZW--




From MAILER-DAEMON Thu Oct 21 10:38:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CKe54-00019K-3B
	for mharc-classpath@gnu.org; Thu, 21 Oct 2004 10:38:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CKe51-000196-T8
	for classpath@gnu.org; Thu, 21 Oct 2004 10:38:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CKe51-00018m-8w
	for classpath@gnu.org; Thu, 21 Oct 2004 10:38:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CKe51-00018c-5j
	for classpath@gnu.org; Thu, 21 Oct 2004 10:38:15 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CKdwn-00013S-0N
	for classpath@gnu.org; Thu, 21 Oct 2004 10:29:45 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9LETXmr000803;
	Thu, 21 Oct 2004 10:29:38 -0400
Received: from opsy.redhat.com (vpn50-86.rdu.redhat.com [172.16.50.86])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9LETWr12260; 
	Thu, 21 Oct 2004 10:29:32 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 9BF2E2DC79D; Thu, 21 Oct 2004 08:28:55 -0600 (MDT)
Sender: tromey@redhat.com
To: Steven Augart <augart@watson.ibm.com>
References: <41771298.2070702@watson.ibm.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 21 Oct 2004 08:28:55 -0600
In-Reply-To: <41771298.2070702@watson.ibm.com>
Message-ID: <m3pt3cuouw.fsf@localhost.localdomain>
Lines: 17
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: trouble configuring Classpath CVS head
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Oct 2004 14:38:16 -0000

>>>>> "Steven" == Steven Augart <augart@watson.ibm.com> writes:

Steven> I just ran "cvs update" in my Classpath source tree for the first time
Steven> since October 6th.  I then ran "autogen.sh".  When I tried to actually
Steven> run configure, though, my output included the following:

Steven> ../classpath/configure: line 23257: `     PKG_CHECK_MODULES(GTK,
Steven> gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 libart-2.0)'

Steven> I'm using pkg-config version 0.14.0 and autoconf 2.59 and automake
Steven> (and aclocal) version 1.9.2.

You have to make sure aclocal can see pkg.m4.  "aclocal -I ." should
work, since pkg.m4 is in classpath cvs.  Perhaps autogen.sh should do
this automatically.

Tom



From MAILER-DAEMON Thu Oct 21 14:22:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CKhaM-0003YW-Un
	for mharc-classpath@gnu.org; Thu, 21 Oct 2004 14:22:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CKhaL-0003YD-Fi
	for classpath@gnu.org; Thu, 21 Oct 2004 14:22:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CKhaK-0003Xj-L0
	for classpath@gnu.org; Thu, 21 Oct 2004 14:22:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CKhaK-0003Xg-Ie
	for classpath@gnu.org; Thu, 21 Oct 2004 14:22:48 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CKhSA-0001Z7-B8; Thu, 21 Oct 2004 14:14:22 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9LIELXc015500;
	Thu, 21 Oct 2004 14:14:21 -0400
Received: from opsy.redhat.com (vpn50-86.rdu.redhat.com [172.16.50.86])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9LIEKr11391; 
	Thu, 21 Oct 2004 14:14:20 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id ED55D2DC79D; Thu, 21 Oct 2004 12:13:42 -0600 (MDT)
Sender: tromey@redhat.com
To: Casey Marshall <csm@gnu.org>
References: <87pt3hjkfj.fsf@gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 21 Oct 2004 12:13:42 -0600
In-Reply-To: <87pt3hjkfj.fsf@gnu.org>
Message-ID: <m3wtxkszvt.fsf@localhost.localdomain>
Lines: 14
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: RFC: import gnu.crypto.pki
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Oct 2004 18:22:49 -0000

>>>>> "Casey" == Casey Marshall <csm@gnu.org> writes:

Casey> For some time I had been developing the X.509 certificate code in
Casey> Classpath (gnu.java.security.x509) in Jessie, and then moved the code
Casey> to GNU Crypto.

Casey> I would like to merge this code back into Classpath, and to maintain
Casey> it there. This is desirable, because features of the standard library
Casey> (like signed Jar files) depend on having a full X.509 implementation.

This settles it for me -- we need signed jar files in the core, so
this dependency, IMO, should also be in the core.

Tom



From MAILER-DAEMON Thu Oct 21 19:36:03 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CKmTT-0008E9-Pu
	for mharc-classpath@gnu.org; Thu, 21 Oct 2004 19:36:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CKmTR-0008E3-O1
	for classpath@gnu.org; Thu, 21 Oct 2004 19:36:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CKmTR-0008Dr-9L
	for classpath@gnu.org; Thu, 21 Oct 2004 19:36:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CKmTR-0008Do-6j
	for classpath@gnu.org; Thu, 21 Oct 2004 19:36:01 -0400
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CKmLP-0002t9-Mc; Thu, 21 Oct 2004 19:27:43 -0400
Received: from sp1n294en1.watson.ibm.com (sp1n294en1.watson.ibm.com
	[129.34.20.40])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i9LNRfG178186; Thu, 21 Oct 2004 19:27:41 -0400
Received: from sp1n294en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id i9LNReI40968; Thu, 21 Oct 2004 19:27:40 -0400
Received: from watson.ibm.com (bilbo.watson.ibm.com [9.2.32.197])
	by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id i9LNRdi36508; Thu, 21 Oct 2004 19:27:40 -0400
Message-ID: <417845EB.1020507@watson.ibm.com>
Date: Thu, 21 Oct 2004 19:27:39 -0400
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: gnu_andrew@member.fsf.org
References: <41771298.2070702@watson.ibm.com> <417713CC.4070006@watson.ibm.com>
	<1098346932.30820.73.camel@rivendell>
In-Reply-To: <1098346932.30820.73.camel@rivendell>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: trouble configuring Classpath CVS head
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Oct 2004 23:36:01 -0000

Andrew John Hughes wrote:
> On Thu, 2004-10-21 at 02:41, Steven Augart wrote:
> 
>>Steven Augart wrote:
>>  I saw that PKG_CHECK_MODULES is
>>
>>>defined in classpath/pkg.m4, and I went ahead and manually copied pkg.m4 
>>>to /usr/local/share/aclocal
>>
>>I should have explicitly mentioned here that, once I manually copied 
>>pkg.m4, then when I ran autogen.sh it did create aclocal.m4 with the 
>>PKG_CHECK_MODULES definition included, and autoconf did make a valid 
>>configure script.
> 
> 
> Odd -- I've just done nearly the same thing (my first compile + install
> of Classpath for a while -- pre-October at least) and everything went
> fine (well, it installed at least).

Unless you built with --disable-gtk-peers, you would have encountered 
the problem if it were present on your system.

I think some systems will have a version of pkg.m4 already installed 
in /usr/local/share/aclocal or /usr/share/aclocal.  I expect that 
accounts for the differing behavior.

I've modified autogen.sh by having it call $ACLOCAL with the 
additional flag "-I .".  That seems to have done the trick; I went 
ahead and committed the change.

-- 
Steven Augart

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




From MAILER-DAEMON Fri Oct 22 03:22:01 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CKtkP-0004sz-E2
	for mharc-classpath@gnu.org; Fri, 22 Oct 2004 03:22:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CKtkN-0004sD-0I
	for classpath@gnu.org; Fri, 22 Oct 2004 03:21:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CKtkL-0004rD-EH
	for classpath@gnu.org; Fri, 22 Oct 2004 03:21:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CKtkK-0004qV-Mx
	for classpath@gnu.org; Fri, 22 Oct 2004 03:21:56 -0400
Received: from [212.6.122.12] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CKtcS-0002IE-A0; Fri, 22 Oct 2004 03:13:48 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-065.ewetel.net
	[80.228.93.65])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id i9M7DYKQ000568;
	Fri, 22 Oct 2004 09:13:35 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CKtd0-0000ag-5I; Fri, 22 Oct 2004 09:14:22 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Fri, 22 Oct 2004 09:13:45 +0200
User-Agent: KMail/1.6.2
References: <41771298.2070702@watson.ibm.com>
	<1098346932.30820.73.camel@rivendell>
	<417845EB.1020507@watson.ibm.com>
In-Reply-To: <417845EB.1020507@watson.ibm.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410220913.45814.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Steven Augart <augart@watson.ibm.com>
Subject: Re: trouble configuring Classpath CVS head
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Oct 2004 07:21:59 -0000

Am Freitag, 22. Oktober 2004 01:27 schrieb Steven Augart:
> Andrew John Hughes wrote:
> > On Thu, 2004-10-21 at 02:41, Steven Augart wrote:
> >>Steven Augart wrote:
> >>  I saw that PKG_CHECK_MODULES is
> >>
> >>>defined in classpath/pkg.m4, and I went ahead and manually
> >>> copied pkg.m4 to /usr/local/share/aclocal
> >>
> >>I should have explicitly mentioned here that, once I manually
> >> copied pkg.m4, then when I ran autogen.sh it did create
> >> aclocal.m4 with the PKG_CHECK_MODULES definition included, and
> >> autoconf did make a valid configure script.
> >
> > Odd -- I've just done nearly the same thing (my first compile +
> > install of Classpath for a while -- pre-October at least) and
> > everything went fine (well, it installed at least).
>
> Unless you built with --disable-gtk-peers, you would have
> encountered the problem if it were present on your system.
>
> I think some systems will have a version of pkg.m4 already
> installed in /usr/local/share/aclocal or /usr/share/aclocal.  I
> expect that accounts for the differing behavior.
>
> I've modified autogen.sh by having it call $ACLOCAL with the
> additional flag "-I .".  That seems to have done the trick; I went
> ahead and committed the change.

Thanks, thats the right solution. I somehow borked this when I 
introduced the new autogen.sh script some days ago. Sorry about the 
trouble.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Sat Oct 23 11:41:03 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CLO0s-0003Rg-RU
	for mharc-classpath@gnu.org; Sat, 23 Oct 2004 11:41:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CLO0q-0003Oo-NT
	for classpath@gnu.org; Sat, 23 Oct 2004 11:41:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CLO0p-0003Nu-Dc
	for classpath@gnu.org; Sat, 23 Oct 2004 11:40:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CLO0p-0003Nr-9P
	for classpath@gnu.org; Sat, 23 Oct 2004 11:40:59 -0400
Received: from [217.12.12.197] (helo=smtp807.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CLNt5-0006K4-NH
	for classpath@gnu.org; Sat, 23 Oct 2004 11:33:00 -0400
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(classpath@gnu.org@217.44.226.227 with poptime)
	by smtp807.mail.ukl.yahoo.com with SMTP; 23 Oct 2004 15:32:58 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.34)
	id 1CLNt4-00046V-9u
	for classpath@gnu.org; Sat, 23 Oct 2004 16:32:58 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-w8GlIzmzJ8T9ui85fadl"
Message-Id: <1098545578.9291.63.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 23 Oct 2004 16:32:58 +0100
Subject: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Oct 2004 15:41:01 -0000


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

Hi all,
	I know the issue of Eclipse working with GNU Classpath has mentioned
several times on the mailing list in the past.  Can anyone give me a
status update, especially as regards the 3.x series?  We have an
upcoming project at University which we involve building a plugin for
Eclipse, and, obviously, I would much prefer this to be on a Free Java
platform.  As a result, getting Classpath working well with Eclipse is
an area I'd particularly like to look into.

	I last looked at Eclipse just after JAXP was removed from Classpath.=20
IIRC, it failed looking for the XML stuff, which suggests that JAXP
needs to be there -- what's the best way to get this back in (or other
such extensions -- I'm only familiar with this as regards Sun's)? I'm
using JamVM with CVS classpath, at present.

Plus, with the XML decoder, are there any plans to put this stuff back
in?  It means more maintenance work, but perhaps the current maintainers
could move to working on Classpath?  I don't know what the comparative
sizes are of the developers and users as regards Classpath and JAXP,
but, as a guess, I would say that Classpath has the upper hand.  Also,
anyone used to Sun's Java (including things that rely on it) would
probably expect it to exist (although, of course, that's no reason in
itself -- they also may expect com.sun...)

Anyway, thanks, and continue on with the great work,
--=20
Andrew :-)

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

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

"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner


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

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

iD8DBQBBenmqu+fW6pI0dq4RAsstAJ9Yd5FKj2ePijFNVkYXa5C9bCfNBQCfTG67
910E3/3yowf/RWUrvd6ygDo=
=9hDB
-----END PGP SIGNATURE-----

--=-w8GlIzmzJ8T9ui85fadl--




From MAILER-DAEMON Sat Oct 23 15:08:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CLRFH-0000Do-17
	for mharc-classpath@gnu.org; Sat, 23 Oct 2004 15:08:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CLRFF-0000Dj-Gh
	for classpath@gnu.org; Sat, 23 Oct 2004 15:08:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CLRFF-0000DX-3R
	for classpath@gnu.org; Sat, 23 Oct 2004 15:08:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CLRFF-0000DU-0W
	for classpath@gnu.org; Sat, 23 Oct 2004 15:08:05 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CLR7S-00083O-HY; Sat, 23 Oct 2004 15:00:02 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CLR6w-0007JM-00; Sat, 23 Oct 2004 20:59:30 +0200
From: Mark Wielaard <mark@klomp.org>
To: gnu_andrew@member.fsf.org
In-Reply-To: <1098545578.9291.63.camel@rivendell>
References: <1098545578.9291.63.camel@rivendell>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-YsYMj6KY15bCdr2g/y7e"
Message-Id: <1098557994.14929.68.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 23 Oct 2004 20:59:54 +0200
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Oct 2004 19:08:05 -0000


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

Hi,

On Sat, 2004-10-23 at 17:32, Andrew John Hughes wrote:
> 	I know the issue of Eclipse working with GNU Classpath has mentioned
> several times on the mailing list in the past.  Can anyone give me a
> status update, especially as regards the 3.x series?

Not much has changed since 0.10 when we could startup 3.0 but not do
much else (basically the java editor view is broken which makes most of
the IDE a bit useless).

> I last looked at Eclipse just after JAXP was removed from Classpath.=20
> IIRC, it failed looking for the XML stuff, which suggests that JAXP
> needs to be there -- what's the best way to get this back in (or other
> such extensions -- I'm only familiar with this as regards Sun's)? I'm
> using JamVM with CVS classpath, at present.

Yep. And unfortunately something is preventing the use of pure GNU JAXP.
So you will have to install Xalan-J for now. If you are using jamvm then
you could try something like:

PATH=3D.:$PATH ./eclipse -vm jamvm -debug -consoleLog -vmargs -ms256M -mx25=
6M \
  -bootclasspath/p ~/xalan/bin/xml-apis.jar:~/xalan/bin/xercesImpl.jar:~/xa=
lan/bin/xalan.jar \
  -Dosgi.locking=3Dnone

We still need to investigate what goes wrong when GNU JAXP is installed.

> Plus, with the XML decoder, are there any plans to put this stuff back
> in?  It means more maintenance work, but perhaps the current maintainers
> could move to working on Classpath?

For 0.12 I want to at least move GNU JAXP in again in the external
directory. Maybe it can become a regular part of GNU Classpath, we would
need to discuss that with Chris and Arnaud.

Cheers,

Mark

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

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

iD8DBQBBeqopxVhZCJWr9QwRAoerAJ9KeLokv3ApZG3uASyddYrEgOV7GgCghKuP
2eRujEkakFtdXfUpXo2rPkE=
=uVgl
-----END PGP SIGNATURE-----

--=-YsYMj6KY15bCdr2g/y7e--




From MAILER-DAEMON Sun Oct 24 05:45:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CLewX-0000Q0-ID
	for mharc-classpath@gnu.org; Sun, 24 Oct 2004 05:45:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CLewV-0000Pd-2f
	for classpath@gnu.org; Sun, 24 Oct 2004 05:45:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CLewU-0000PQ-Ea
	for classpath@gnu.org; Sun, 24 Oct 2004 05:45:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CLewU-0000PN-3L; Sun, 24 Oct 2004 05:45:38 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CLeok-0005vv-6O; Sun, 24 Oct 2004 05:37:38 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CLeoA-0001TV-00; Sun, 24 Oct 2004 11:37:02 +0200
From: Mark Wielaard <mark@klomp.org>
To: Bryce McKinlay <mckinlay@redhat.com>
In-Reply-To: <417580EB.7060804@redhat.com>
References: <87lleaudxd.fsf@gnu.org> <1097772161.1088.60.camel@localhost>
	<417580EB.7060804@redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-9F7Azik9rjYs5YoxG8qy"
Message-Id: <1098610645.14930.144.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 24 Oct 2004 11:37:25 +0200
Cc: Casey Marshall <csm@gnu.org>, classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: RFC: remove print statements from Security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Oct 2004 09:45:39 -0000


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

Hi,

On Tue, 2004-10-19 at 23:02, Bryce McKinlay wrote:
> Mark Wielaard wrote:
>=20
> >If you remove this could you add a little note to VM Integration Guide
> >doc/vmintegration.texinfo about the importance of setting up the system
> >property gnu.classpath.home.url and how it is used by Security,
> >LogManager and InitialContext to find default configuration files.=20
> >
>=20
> Is there a reason to use a non-standard system property here? whats=20
> wrong with java.home?

Maybe we can use something like "java.home" if it has a good standard
definition. Since we have separated the implementation of the core class
libraries in GNU Classpath from the different runtimes using it and you
can basically install different combinations together, which might share
the same GNU Classpath glibj installation (that is how I am using it
with different runtimes). So I am not sure if using something like
"java.home" actually makes sense.

Also we wanted to make the gnu.classpath.home.url property more generic
by allowing any valid URL so that we can access resources anywhere they
are actually installed (which might not be on the file system).

But I am not too attached to the current implementation. And the
gnu.classpath.home.url property is currently only used for Security,
LogManager and the InitialContext properties. So it shouldn't be hard to
rewrite it to something else if you care.

Cheers,

Mark

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

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

iD8DBQBBe3fVxVhZCJWr9QwRAgMNAJ4pf6OgBDRHHargVmaUL3/kf12WKgCfbdbU
yi0m8u6AUvtkhnb8IAWY1rI=
=D4nG
-----END PGP SIGNATURE-----

--=-9F7Azik9rjYs5YoxG8qy--




From MAILER-DAEMON Sun Oct 24 06:03:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CLfE0-0004dq-5D
	for mharc-classpath@gnu.org; Sun, 24 Oct 2004 06:03:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CLfDw-0004dC-Ek
	for classpath@gnu.org; Sun, 24 Oct 2004 06:03:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CLfDu-0004cb-P0
	for classpath@gnu.org; Sun, 24 Oct 2004 06:03:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CLfDu-0004cU-GH; Sun, 24 Oct 2004 06:03:38 -0400
Received: from [84.128.213.86] (helo=jbox)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CLf6E-0000Rp-NH; Sun, 24 Oct 2004 05:55:43 -0400
Received: from localhost ([127.0.0.1]) by jbox with esmtp (Exim 4.34)
	id 1CLf66-0000bZ-TG; Sun, 24 Oct 2004 09:55:34 +0000
Message-ID: <417B7C16.3070108@kaffe.org>
Date: Sun, 24 Oct 2004 09:55:34 +0000
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.7.3) Gecko/20041007 Debian/1.7.3-5
X-Accept-Language: us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <87lleaudxd.fsf@gnu.org>
	<1097772161.1088.60.camel@localhost>	<417580EB.7060804@redhat.com>
	<1098610645.14930.144.camel@localhost>
In-Reply-To: <1098610645.14930.144.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Casey Marshall <csm@gnu.org>, classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: RFC: remove print statements from Security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Oct 2004 10:03:41 -0000

Mark Wielaard wrote:
> Hi,
> 
> On Tue, 2004-10-19 at 23:02, Bryce McKinlay wrote:
> 
>>Mark Wielaard wrote:
>>
>>
>>>If you remove this could you add a little note to VM Integration Guide
>>>doc/vmintegration.texinfo about the importance of setting up the system
>>>property gnu.classpath.home.url and how it is used by Security,
>>>LogManager and InitialContext to find default configuration files. 
>>>
>>
>>Is there a reason to use a non-standard system property here? whats 
>>wrong with java.home?

[snip]

> But I am not too attached to the current implementation. And the
> gnu.classpath.home.url property is currently only used for Security,
> LogManager and the InitialContext properties. So it shouldn't be hard to
> rewrite it to something else if you care.

I'd propose to use different, better named URLs instead of a generic 
java.home one with some magic paths appended to it. I'be for using 
explicit gnu.classpath.security.configuration.url, 
gnu.classpath.logging.configuration.url and 
gnu.classpath.naming.confoguration.url properties.

The reasoning behind is that using a single magic property with some 
more path magic applied to it codifies a particular undocumented 
expectation on the source tree & installed tree layout. That's a bad 
thing in my experience.

It makes GNU Classpath unmodified harder in Kaffe, as I have to play 
tricks in the bild system, or to spend time maintaining trivial changes 
manually in sync with the GNU Classpath, as I already do for the DSO names.

cheers,
dalibor topic



From MAILER-DAEMON Sun Oct 24 13:56:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CLmbp-0006aM-Nq
	for mharc-classpath@gnu.org; Sun, 24 Oct 2004 13:56:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CLmbn-0006Zh-Pz
	for classpath@gnu.org; Sun, 24 Oct 2004 13:56:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CLmbn-0006ZR-8D
	for classpath@gnu.org; Sun, 24 Oct 2004 13:56:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CLmbm-0006ZA-Ki; Sun, 24 Oct 2004 13:56:46 -0400
Received: from [63.249.108.128] (helo=unmodern.net)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CLmTp-00050L-64; Sun, 24 Oct 2004 13:48:33 -0400
Received: by unmodern.net (Postfix, from userid 1000)
	id 291AF39; Sun, 24 Oct 2004 10:48:32 -0700 (PDT)
To: Dalibor Topic <robilad@kaffe.org>
References: <87lleaudxd.fsf@gnu.org> <1097772161.1088.60.camel@localhost>
	<417580EB.7060804@redhat.com> <1098610645.14930.144.camel@localhost>
	<417B7C16.3070108@kaffe.org>
From: Casey Marshall <csm@gnu.org>
Date: Sun, 24 Oct 2004 10:48:32 -0700
In-Reply-To: <417B7C16.3070108@kaffe.org> (Dalibor Topic's message of "Sun,
	24 Oct 2004 09:55:34 +0000")
Message-ID: <87bresqa6n.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org,
	classpath-patches@gnu.org
Subject: Re: RFC: remove print statements from Security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Oct 2004 17:56:48 -0000

>>>>> "Dalibor" == Dalibor Topic <robilad@kaffe.org> writes:

Dalibor> Mark Wielaard wrote:
>> Hi,
>> On Tue, 2004-10-19 at 23:02, Bryce McKinlay wrote:
>> 
>>> Mark Wielaard wrote:
>>> 
>>> 
>>>> If you remove this could you add a little note to VM Integration Guide
>>>> doc/vmintegration.texinfo about the importance of setting up the system
>>>> property gnu.classpath.home.url and how it is used by Security,
>>>> LogManager and InitialContext to find default configuration files.
>>> 
>>> Is there a reason to use a non-standard system property here? whats
>>> wrong with java.home?

Dalibor> [snip]

>> But I am not too attached to the current implementation. And the
>> gnu.classpath.home.url property is currently only used for
>> Security, LogManager and the InitialContext properties. So it
>> shouldn't be hard to rewrite it to something else if you care.

Dalibor> I'd propose to use different, better named URLs instead of a
Dalibor> generic java.home one with some magic paths appended to
Dalibor> it. I'be for using explicit
Dalibor> gnu.classpath.security.configuration.url,
Dalibor> gnu.classpath.logging.configuration.url and
Dalibor> gnu.classpath.naming.confoguration.url properties.

I think this is a good idea, but perhaps we should build a default
path from 'java.home'.

I like this idea because it gives the best answer to the question
"what is the most generic and portable way to implement this?" --
through a property for each configuration URL, and with sensible
defaults.

-- 
Casey Marshall || csm@gnu.org



From MAILER-DAEMON Mon Oct 25 06:23:30 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CM20g-0003Xw-AN
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 06:23:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CM20e-0003WG-95
	for classpath@gnu.org; Mon, 25 Oct 2004 06:23:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CM20d-0003VF-6B
	for classpath@gnu.org; Mon, 25 Oct 2004 06:23:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CM20c-0003Up-N1
	for classpath@gnu.org; Mon, 25 Oct 2004 06:23:27 -0400
Received: from [139.165.32.99] (helo=serv54.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CM1sr-00089N-Fw
	for classpath@gnu.org; Mon, 25 Oct 2004 06:15:25 -0400
Received: (qmail 24425 invoked by uid 510); 25 Oct 2004 12:15:22 +0200
Received: from 139.165.77.198 by serv54.segi.ulg.ac.be (envelope-from
	<arnaud.vandyck@ulg.ac.be>, uid 501) with qmail-scanner-1.23 
	(drweb: 4. spamassassin: 2.64.  Clear:RC:1(139.165.77.198):. 
	Processed in 0.111876 secs); 25 Oct 2004 10:15:22 -0000
Received: from vbstefi118.fapse.ulg.ac.be (HELO oz.fapse.ulg.ac.be)
	([139.165.77.198]) (envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv54.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 25 Oct 2004 12:15:22 +0200
Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.34)
	id 1CM1sm-0002qy-UR
	for classpath@gnu.org; Mon, 25 Oct 2004 12:15:20 +0200
To: classpath@gnu.org
References: <1098545578.9291.63.camel@rivendell>
	<1098557994.14929.68.camel@localhost>
From: Arnaud Vandyck <avdyk@gnu.org>
Mail-Followup-To: classpath@gnu.org
Date: Mon, 25 Oct 2004 12:15:18 +0200
In-Reply-To: <1098557994.14929.68.camel@localhost> (Mark Wielaard's message
	of "Sat, 23 Oct 2004 20:59:54 +0200")
Message-ID: <87fz43qf2h.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 10:23:28 -0000

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

Sat, 23 Oct 2004 20:59:54 +0200, 
Mark Wielaard <mark@klomp.org> wrote: 

> For 0.12 I want to at least move GNU JAXP in again in the external
> directory. Maybe it can become a regular part of GNU Classpath, we
> would need to discuss that with Chris and Arnaud.

'Merging' gnujaxp in classpath make sense to me. Maybe you can add a
- --without-xml parameter to the configure script for small devices or for
easy customization. jaxp is a part of java since 1.4.

Cheers,

- -- 
 Arnaud Vandyck
  ,= ,-_-. =.
 ((_/)o o(\_))
  `-'(. .)`-'
      \_/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBfNI44vzFZu62tMIRAs4PAKCqfLTwI6N6rCUa8+z2iRVhzDjQaACfbv5A
e56zKMIQEpyWAUcZaK0ajiw=
=LF7A
-----END PGP SIGNATURE-----



From MAILER-DAEMON Mon Oct 25 06:31:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CM28Q-0004uy-TD
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 06:31:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CM28O-0004tL-IS
	for classpath@gnu.org; Mon, 25 Oct 2004 06:31:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CM28N-0004ss-8N
	for classpath@gnu.org; Mon, 25 Oct 2004 06:31:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CM28M-0004sd-So
	for classpath@gnu.org; Mon, 25 Oct 2004 06:31:26 -0400
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CM20c-0000ku-8f; Mon, 25 Oct 2004 06:23:26 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-074.ewetel.net
	[80.228.93.74])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i9PANOgN011640;
	Mon, 25 Oct 2004 12:23:24 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CM21b-00010y-3O; Mon, 25 Oct 2004 12:24:27 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Mon, 25 Oct 2004 12:23:46 +0200
User-Agent: KMail/1.6.2
References: <1098545578.9291.63.camel@rivendell>
	<1098557994.14929.68.camel@localhost>
	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>
In-Reply-To: <87fz43qf2h.fsf@oz.fapse.ulg.ac.be>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410251223.46971.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Arnaud Vandyck <avdyk@gnu.org>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 10:31:29 -0000

Am Montag, 25. Oktober 2004 12:15 schrieb Arnaud Vandyck:
> Sat, 23 Oct 2004 20:59:54 +0200,
>
> Mark Wielaard <mark@klomp.org> wrote:
> > For 0.12 I want to at least move GNU JAXP in again in the
> > external directory. Maybe it can become a regular part of GNU
> > Classpath, we would need to discuss that with Chris and Arnaud.
>
> 'Merging' gnujaxp in classpath make sense to me. Maybe you can add
> a --without-xml parameter to the configure script for small devices
> or for easy customization. jaxp is a part of java since 1.4.

Doing this isn't trivial as java.beans will depend on it and 
javax.imageio on some parts of GNU jaxp too.

I think we have to implement something like profiles in the near 
future to handle small devices and such.
  

Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Mon Oct 25 07:56:06 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CM3SH-00050S-TK
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 07:56:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CM3SF-00050B-HF
	for classpath@gnu.org; Mon, 25 Oct 2004 07:56:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CM3SE-0004zY-CO
	for classpath@gnu.org; Mon, 25 Oct 2004 07:56:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CM3SE-0004zV-8K
	for classpath@gnu.org; Mon, 25 Oct 2004 07:56:02 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CM3KM-00040v-94
	for classpath@gnu.org; Mon, 25 Oct 2004 07:47:54 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.36 #1
	(Debian)) id 1CM3KL-0002Dh-00
	for <classpath@gnu.org>; Mon, 25 Oct 2004 13:47:53 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian))
	id 1CM3KG-0002DA-00; Mon, 25 Oct 2004 13:47:48 +0200
Received: from kaffe.org (topic@mpiat2313 [139.19.20.102])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i9PBljIF014088;
	Mon, 25 Oct 2004 13:47:48 +0200 (MEST)
Message-ID: <417CE7E1.2080904@kaffe.org>
Date: Mon, 25 Oct 2004 13:47:45 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.6) Gecko/20040413 Debian/1.6-5
X-Accept-Language: en
MIME-Version: 1.0
To: Michael Koch <konqueror@gmx.de>
References: <1098545578.9291.63.camel@rivendell>	<1098557994.14929.68.camel@localhost>	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>
	<200410251223.46971.konqueror@gmx.de>
In-Reply-To: <200410251223.46971.konqueror@gmx.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org, Arnaud Vandyck <avdyk@gnu.org>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 11:56:04 -0000

Michael Koch wrote:
> Am Montag, 25. Oktober 2004 12:15 schrieb Arnaud Vandyck:
> 
>>Sat, 23 Oct 2004 20:59:54 +0200,
>>
>>Mark Wielaard <mark@klomp.org> wrote:
>>
>>>For 0.12 I want to at least move GNU JAXP in again in the
>>>external directory. Maybe it can become a regular part of GNU
>>>Classpath, we would need to discuss that with Chris and Arnaud.
>>
>>'Merging' gnujaxp in classpath make sense to me. Maybe you can add
>>a --without-xml parameter to the configure script for small devices
>>or for easy customization. jaxp is a part of java since 1.4.
> 
> 
> Doing this isn't trivial as java.beans will depend on it and 
> javax.imageio on some parts of GNU jaxp too.
> 
> I think we have to implement something like profiles in the near 
> future to handle small devices and such.

I think that GNU Classpath should support the latest APIs in general, 
which are 1.4/1.5 atm. As JAXP is part of it, it should be easily 
integratable into GNU Classpath's class library, in my opinion. It 
doesn't need to be merged in directly, simply supporting & requiring it 
in the build process would be enough, I think. It's just another 
dependency like gtk is for working AWT/Swing support. Given that classes 
outside JAXP (beans, imageio) depend on it, I'd be for making GNU JAXP 
(or another JAXP implementation, if necessary) a hard requirement.

If someone really needs a JDK 1.0 subset of Classpath, they'll have to 
put enough work into rewriting the core classes anyway that it would 
warrant a fork, in my opinion. If someone just needs a simple way to jar 
a subset of classes in the build, then that should be fairly trivial to 
implement.

cheers,
dalibor topic



From MAILER-DAEMON Mon Oct 25 07:59:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CM3VD-0005pp-D9
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 07:59:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CM3VB-0005pc-Po
	for classpath@gnu.org; Mon, 25 Oct 2004 07:59:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CM3VB-0005pD-1H
	for classpath@gnu.org; Mon, 25 Oct 2004 07:59:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CM3VA-0005pA-Uo
	for classpath@gnu.org; Mon, 25 Oct 2004 07:59:05 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CM3NK-0004bb-18
	for classpath@gnu.org; Mon, 25 Oct 2004 07:50:58 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.36 #1
	(Debian)) id 1CM3NJ-0002Rg-00
	for <classpath@gnu.org>; Mon, 25 Oct 2004 13:50:57 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian))
	id 1CM3NC-0002Qv-00; Mon, 25 Oct 2004 13:50:50 +0200
Received: from kaffe.org (topic@mpiat2313 [139.19.20.102])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i9PBonIF015323;
	Mon, 25 Oct 2004 13:50:49 +0200 (MEST)
Message-ID: <417CE899.2090606@kaffe.org>
Date: Mon, 25 Oct 2004 13:50:49 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.6) Gecko/20040413 Debian/1.6-5
X-Accept-Language: en
MIME-Version: 1.0
To: Casey Marshall <csm@gnu.org>
References: <87lleaudxd.fsf@gnu.org>
	<1097772161.1088.60.camel@localhost>	<417580EB.7060804@redhat.com>
	<1098610645.14930.144.camel@localhost>	<417B7C16.3070108@kaffe.org>
	<87bresqa6n.fsf@gnu.org>
In-Reply-To: <87bresqa6n.fsf@gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org,
	classpath-patches@gnu.org
Subject: Re: RFC: remove print statements from Security
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 11:59:06 -0000

Casey Marshall wrote:
>>>>>>"Dalibor" == Dalibor Topic <robilad@kaffe.org> writes:

> 
> Dalibor> I'd propose to use different, better named URLs instead of a
> Dalibor> generic java.home one with some magic paths appended to
> Dalibor> it. I'be for using explicit
> Dalibor> gnu.classpath.security.configuration.url,
> Dalibor> gnu.classpath.logging.configuration.url and
> Dalibor> gnu.classpath.naming.confoguration.url properties.
> 
> I think this is a good idea, but perhaps we should build a default
> path from 'java.home'.
> 
> I like this idea because it gives the best answer to the question
> "what is the most generic and portable way to implement this?" --
> through a property for each configuration URL, and with sensible
> defaults.
> 

OK, I'll follow up with an implementation tonight.

cheers,
dalibor topic



From MAILER-DAEMON Mon Oct 25 08:26:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CM3vp-0005hd-HN
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 08:26:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CM3vm-0005gT-Ib
	for classpath@gnu.org; Mon, 25 Oct 2004 08:26:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CM3vl-0005fY-1h
	for classpath@gnu.org; Mon, 25 Oct 2004 08:26:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CM3vk-0005fR-MA
	for classpath@gnu.org; Mon, 25 Oct 2004 08:26:32 -0400
Received: from [212.6.122.12] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CM3nj-0000pr-Bv; Mon, 25 Oct 2004 08:18:15 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-074.ewetel.net
	[80.228.93.74])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id i9PCHfKQ008677;
	Mon, 25 Oct 2004 14:17:42 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CM3oC-0001JW-P7; Mon, 25 Oct 2004 14:18:44 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Mon, 25 Oct 2004 14:18:03 +0200
User-Agent: KMail/1.6.2
References: <1098545578.9291.63.camel@rivendell>
	<200410251223.46971.konqueror@gmx.de> <417CE7E1.2080904@kaffe.org>
In-Reply-To: <417CE7E1.2080904@kaffe.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410251418.03397.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Arnaud Vandyck <avdyk@gnu.org>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 12:26:35 -0000

Am Montag, 25. Oktober 2004 13:47 schrieb Dalibor Topic:
> Michael Koch wrote:
> > Am Montag, 25. Oktober 2004 12:15 schrieb Arnaud Vandyck:
> >>Sat, 23 Oct 2004 20:59:54 +0200,
> >>
> >>Mark Wielaard <mark@klomp.org> wrote:
> >>>For 0.12 I want to at least move GNU JAXP in again in the
> >>>external directory. Maybe it can become a regular part of GNU
> >>>Classpath, we would need to discuss that with Chris and Arnaud.
> >>
> >>'Merging' gnujaxp in classpath make sense to me. Maybe you can
> >> add a --without-xml parameter to the configure script for small
> >> devices or for easy customization. jaxp is a part of java since
> >> 1.4.
> >
> > Doing this isn't trivial as java.beans will depend on it and
> > javax.imageio on some parts of GNU jaxp too.
> >
> > I think we have to implement something like profiles in the near
> > future to handle small devices and such.
>
> I think that GNU Classpath should support the latest APIs in
> general, which are 1.4/1.5 atm. As JAXP is part of it, it should be
> easily integratable into GNU Classpath's class library, in my
> opinion. It doesn't need to be merged in directly, simply
> supporting & requiring it in the build process would be enough, I
> think. It's just another dependency like gtk is for working
> AWT/Swing support. Given that classes outside JAXP (beans, imageio)
> depend on it, I'd be for making GNU JAXP (or another JAXP
> implementation, if necessary) a hard requirement.

Sorry but having such a hard requirement is nonsense. Then its best to 
maintain it inside GNU classpath. Then people will only need to get 
GNU classpath if they wanna build it. Note that GTK stuff is 
optionaly and cannot compared with jaxp.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Mon Oct 25 13:27:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CM8ch-00013H-HM
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 13:27:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CM8cf-00011f-1t
	for classpath@gnu.org; Mon, 25 Oct 2004 13:27:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CM8cd-00011I-U1
	for classpath@gnu.org; Mon, 25 Oct 2004 13:27:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CM8cd-00010k-Mz
	for classpath@gnu.org; Mon, 25 Oct 2004 13:27:07 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CM8Tb-0004qP-Il
	for classpath@gnu.org; Mon, 25 Oct 2004 13:17:47 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9PHHk6F025645;
	Mon, 25 Oct 2004 13:17:46 -0400
Received: from opsy.redhat.com (vpn50-54.rdu.redhat.com [172.16.50.54])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9PHHer07029; 
	Mon, 25 Oct 2004 13:17:40 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 4D4AF2DC086; Mon, 25 Oct 2004 11:16:51 -0600 (MDT)
Sender: tromey@redhat.com
To: Mark Wielaard <mark@klomp.org>
References: <1098545578.9291.63.camel@rivendell>
	<1098557994.14929.68.camel@localhost>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 25 Oct 2004 11:16:51 -0600
In-Reply-To: <1098557994.14929.68.camel@localhost>
Message-ID: <m3ekjmn2f0.fsf@localhost.localdomain>
Lines: 35
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 17:27:09 -0000

>> I know the issue of Eclipse working with GNU Classpath has mentioned
>> several times on the mailing list in the past.  Can anyone give me a
>> status update, especially as regards the 3.x series?

Mark> Not much has changed since 0.10 when we could startup 3.0 but not do
Mark> much else (basically the java editor view is broken which makes most of
Mark> the IDE a bit useless).

I've been running Eclipse as a test case for the binary compatibility
work in gcj (and also the upcoming GCC 4.0 release).  I ran into this
bug too and I fixed it this weekend.  Try again with the BreakIterator
patch I committed today, the JDT editor should work now.

Mark> PATH=.:$PATH ./eclipse -vm jamvm -debug -consoleLog -vmargs -ms256M -mx256M \
Mark>   -bootclasspath/p ~/xalan/bin/xml-apis.jar:~/xalan/bin/xercesImpl.jar:~/xalan/bin/xalan.jar \
Mark>   -Dosgi.locking=none

For newer versions of Eclipse you need
-Dorg.eclipse.core.runtime.ignoreLockFile=true instead.
I read that on this list a while back, apologies since I forgot who
discovered this.

There's a couple other minor tweaks you need to make it work with
gij, I'll post to the gcj list.

Mark> For 0.12 I want to at least move GNU JAXP in again in the external
Mark> directory. Maybe it can become a regular part of GNU Classpath, we would
Mark> need to discuss that with Chris and Arnaud.

IMO Classpath should have as much of J2SE as possible, including tools
and everything else.  It is simply more convenient if it is all in one
repository.  For JAXP in particular it would be nice to find out why
Eclipse doesn't work with it before checking it in...

Tom



From MAILER-DAEMON Mon Oct 25 14:11:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CM9JS-0005lo-P1
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 14:11:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CM9JR-0005lP-6y
	for classpath@gnu.org; Mon, 25 Oct 2004 14:11:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CM9JQ-0005l1-F1
	for classpath@gnu.org; Mon, 25 Oct 2004 14:11:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CM9JQ-0005kn-9d
	for classpath@gnu.org; Mon, 25 Oct 2004 14:11:20 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CM9BA-0003ft-Pr; Mon, 25 Oct 2004 14:02:49 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9PI2Z8K005076;
	Mon, 25 Oct 2004 14:02:35 -0400
Received: from opsy.redhat.com (vpn50-54.rdu.redhat.com [172.16.50.54])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9PI2Tr21366; 
	Mon, 25 Oct 2004 14:02:29 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 3E29F2DC086; Mon, 25 Oct 2004 12:01:40 -0600 (MDT)
Sender: tromey@redhat.com
To: Dalibor Topic <robilad@kaffe.org>
References: <1098545578.9291.63.camel@rivendell>
	<1098557994.14929.68.camel@localhost>
	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>
	<200410251223.46971.konqueror@gmx.de> <417CE7E1.2080904@kaffe.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 25 Oct 2004 12:01:39 -0600
In-Reply-To: <417CE7E1.2080904@kaffe.org>
Message-ID: <m34qkin0cc.fsf@localhost.localdomain>
Lines: 37
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, Arnaud Vandyck <avdyk@gnu.org>,
	Michael Koch <konqueror@gmx.de>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 18:11:21 -0000

>>>>> "Dalibor" == Dalibor Topic <robilad@kaffe.org> writes:

Dalibor> Given that classes outside JAXP (beans, imageio) depend on
Dalibor> it, I'd be for making GNU JAXP (or another JAXP
Dalibor> implementation, if necessary) a hard requirement.

Me too, for the same reasons.  It is just like the PKI thing Casey
asked about last week.  Classpath's core has to be self-contained,
meaning all dependencies have to be integrated.

Dalibor> If someone really needs a JDK 1.0 subset of Classpath, they'll have to
Dalibor> put enough work into rewriting the core classes anyway that it would
Dalibor> warrant a fork, in my opinion. If someone just needs a simple way to
Dalibor> jar a subset of classes in the build, then that should be fairly
Dalibor> trivial to implement.

I think that things like J2ME and the various small profiles exist
because the reference implementation is not free software.  We can do
better than that.

For instance, someone could write a tool to cut down the class library
to custom-fit your application.  Or we could mark up the library
source with Classpath-specific 1.5 attributes that end up in the class
files, and that are used to remove parts of the classes later on.
(There are probably lots of cool things we could do with attributes,
something worth brainstorming about.)

I know this approach avoids some of the things needed for real
compatibility, for instance when semantics change over time.  But is
anyone really clamoring for JDK 1.0 compatibility?  My impression is
that when this has come up on this list it is just as a way to get a
release out that has 100% compatibility with *something* -- but for me
that is not an interesting end in and of itself.  In fact, I think a
release that is compatible with just JDK 1.0 is kind of laughable at
this date.

Tom



From MAILER-DAEMON Mon Oct 25 14:12:58 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CM9Kz-0006X4-Vo
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 14:12:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CM9Kx-0006WV-RU
	for classpath@gnu.org; Mon, 25 Oct 2004 14:12:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CM9Kx-0006WE-Aa
	for classpath@gnu.org; Mon, 25 Oct 2004 14:12:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CM9Kx-0006W3-5V
	for classpath@gnu.org; Mon, 25 Oct 2004 14:12:55 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CM9DA-0003xe-JH; Mon, 25 Oct 2004 14:04:52 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9PI4UXg005641;
	Mon, 25 Oct 2004 14:04:30 -0400
Received: from opsy.redhat.com (vpn50-54.rdu.redhat.com [172.16.50.54])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9PI4Tr21964; 
	Mon, 25 Oct 2004 14:04:29 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id B20482DC086; Mon, 25 Oct 2004 12:03:39 -0600 (MDT)
Sender: tromey@redhat.com
To: Dalibor Topic <robilad@kaffe.org>
References: <1098545578.9291.63.camel@rivendell>
	<1098557994.14929.68.camel@localhost>
	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>
	<200410251223.46971.konqueror@gmx.de> <417CE7E1.2080904@kaffe.org>
	<m34qkin0cc.fsf@localhost.localdomain>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 25 Oct 2004 12:03:39 -0600
In-Reply-To: <m34qkin0cc.fsf@localhost.localdomain>
Message-ID: <m3y8hullok.fsf@localhost.localdomain>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, Arnaud Vandyck <avdyk@gnu.org>,
	Michael Koch <konqueror@gmx.de>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 18:12:56 -0000

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

>>>>> "Dalibor" == Dalibor Topic <robilad@kaffe.org> writes:
Dalibor> Given that classes outside JAXP (beans, imageio) depend on
Dalibor> it, I'd be for making GNU JAXP (or another JAXP
Dalibor> implementation, if necessary) a hard requirement.

Tom> Me too, for the same reasons.

Oops, I misread Dalibor's post.

To clarify, my opinion is that all necessary dependencies should be
integrated into Classpath, so that the core is self-contained.  I
don't think we should have any required external dependencies on parts
of the java core (a stronger statement may not be possible due to our
Gtk dependency...).

Tom



From MAILER-DAEMON Mon Oct 25 14:37:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CM9iR-0002a8-D9
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 14:37:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CM9iP-0002ZV-68
	for classpath@gnu.org; Mon, 25 Oct 2004 14:37:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CM9iN-0002YY-Ih
	for classpath@gnu.org; Mon, 25 Oct 2004 14:37:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CM9iN-0002YV-GF
	for classpath@gnu.org; Mon, 25 Oct 2004 14:37:07 -0400
Received: from [216.102.199.253] (helo=bothner.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CM9Zi-0007C5-Hx
	for classpath@gnu.org; Mon, 25 Oct 2004 14:28:10 -0400
Received: from [192.168.1.10] ([192.168.1.10]) (authenticated bits=0)
	by bothner.com (8.12.11/8.12.11) with ESMTP id i9PIS6wg011258
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 25 Oct 2004 11:28:07 -0700
Message-ID: <417D45B6.9000901@bothner.com>
Date: Mon, 25 Oct 2004 11:28:06 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <1098545578.9291.63.camel@rivendell>	<1098557994.14929.68.camel@localhost>	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>	<200410251223.46971.konqueror@gmx.de>
	<417CE7E1.2080904@kaffe.org> <m34qkin0cc.fsf@localhost.localdomain>
In-Reply-To: <m34qkin0cc.fsf@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 18:37:09 -0000

Tom Tromey wrote:

> In fact, I think a release that is compatible with just JDK 1.0
 > is kind of laughable at this date.

I agree.  If complete-TCK-passing compatibility with something
is desirable, at least go for 1.1.x, since that matches what
MS used to ship (except for evil extensions, of course), and
since we already implement most (all?) of what 1.1 added.

I suspect the main thing missing at this point is a dependable
security implementation, including the verifier and the
SecurityManager, most of which realy isn't Classpath per se.
(On the other hand, if Tom's new verifier can share code between
the gcj compiler and runtime, maybe it can be parameterized
further so it can be plugged into other VMs?)
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



From MAILER-DAEMON Mon Oct 25 14:41:22 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CM9mU-0003Ut-Hp
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 14:41:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CM9mS-0003UZ-IU
	for classpath@gnu.org; Mon, 25 Oct 2004 14:41:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CM9mS-0003UN-4L
	for classpath@gnu.org; Mon, 25 Oct 2004 14:41:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CM9mS-0003UK-1f
	for classpath@gnu.org; Mon, 25 Oct 2004 14:41:20 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CM9eg-0007wr-ON
	for classpath@gnu.org; Mon, 25 Oct 2004 14:33:19 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.36 #1
	(Debian)) id 1CM9eg-0001FH-00
	for <classpath@gnu.org>; Mon, 25 Oct 2004 20:33:18 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian))
	id 1CM9eT-0001Cn-00; Mon, 25 Oct 2004 20:33:05 +0200
Received: from kaffe.org (topic@mpiat2313 [139.19.20.102])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i9PIX4IF004891;
	Mon, 25 Oct 2004 20:33:05 +0200 (MEST)
Message-ID: <417D46E0.2040702@kaffe.org>
Date: Mon, 25 Oct 2004 20:33:04 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.6) Gecko/20040413 Debian/1.6-5
X-Accept-Language: en
MIME-Version: 1.0
To: tromey@redhat.com
References: <1098545578.9291.63.camel@rivendell>	<1098557994.14929.68.camel@localhost>	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>	<200410251223.46971.konqueror@gmx.de>
	<417CE7E1.2080904@kaffe.org>	<m34qkin0cc.fsf@localhost.localdomain>
	<m3y8hullok.fsf@localhost.localdomain>
In-Reply-To: <m3y8hullok.fsf@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org, Arnaud Vandyck <avdyk@gnu.org>,
	Michael Koch <konqueror@gmx.de>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 18:41:20 -0000

Tom Tromey wrote:
>>>>>>"Tom" == Tom Tromey <tromey@redhat.com> writes:
> 
> 
>>>>>>"Dalibor" == Dalibor Topic <robilad@kaffe.org> writes:
> 
> Dalibor> Given that classes outside JAXP (beans, imageio) depend on
> Dalibor> it, I'd be for making GNU JAXP (or another JAXP
> Dalibor> implementation, if necessary) a hard requirement.
> 
> Tom> Me too, for the same reasons.
> 
> Oops, I misread Dalibor's post.
> 
> To clarify, my opinion is that all necessary dependencies should be
> integrated into Classpath, so that the core is self-contained.  I
> don't think we should have any required external dependencies on parts
> of the java core (a stronger statement may not be possible due to our
> Gtk dependency...).

Hi Tom, Hallo Michael,

I guess I was pretty imprecise in my choice of wording. Sorry for that.

I, too, want to see GNU JAXP integrated into GNU Classpath.

I don't think it's absolutely inevitable to merge GNU JAXP's source code 
in, if and only if it can be made a hard requirement during the build 
process. In that case, to build classpath one would need that additional 
dependency. Plus point on the modularisation side (you could still use 
GNU JAXP separately from GNU Classpath). Minus point on the maintenance 
side (you need to continue dealing with two possibly asynchronious 
packages).

I definitely wouldn't object to merging GNU JAXP in, as that's what I do 
in kaffe already, and that works quite well. It would also keep my 
maintenance and resyncing time a little lower, so that would be quite 
cool.[1]

If GNU JAXP development moves over to GNU Classpath's tree, or there is 
someone who keeps the things in sync, than that's my preferred solution, 
as I'd chose easier maintenance over better modularisation :) I'd favor 
merging it in, rather then having someone as a manual patch courier 
between the projects, as that reduces the mutual maintenance work.

But I could live with a hard external dependency, in case there is some 
good reason for it.

cheers,
dalibor topic

[1] In the not-so-long run, the plan is to use GNU Classpath out of the 
box anyway. Then I'll finally have more time to do other things than 
syncing up with Michael's latest patches :)



From MAILER-DAEMON Mon Oct 25 15:03:08 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMA7Y-0007nE-Nz
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 15:03:08 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMA7Y-0007n9-7I
	for classpath@gnu.org; Mon, 25 Oct 2004 15:03:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMA7X-0007mx-NA
	for classpath@gnu.org; Mon, 25 Oct 2004 15:03:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMA7X-0007mu-Ji
	for classpath@gnu.org; Mon, 25 Oct 2004 15:03:07 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CM9zW-0002lC-Jd
	for classpath@gnu.org; Mon, 25 Oct 2004 14:54:50 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.36 #1
	(Debian)) id 1CM9zV-000409-00
	for <classpath@gnu.org>; Mon, 25 Oct 2004 20:54:49 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian))
	id 1CM9zQ-0003zV-00; Mon, 25 Oct 2004 20:54:44 +0200
Received: from kaffe.org (topic@mpiat2313 [139.19.20.102])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i9PIsgIF015922;
	Mon, 25 Oct 2004 20:54:44 +0200 (MEST)
Message-ID: <417D4BF2.2020707@kaffe.org>
Date: Mon, 25 Oct 2004 20:54:42 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.6) Gecko/20040413 Debian/1.6-5
X-Accept-Language: en
MIME-Version: 1.0
To: tromey@redhat.com
References: <1098545578.9291.63.camel@rivendell>	<1098557994.14929.68.camel@localhost>	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>	<200410251223.46971.konqueror@gmx.de>
	<417CE7E1.2080904@kaffe.org> <m34qkin0cc.fsf@localhost.localdomain>
In-Reply-To: <m34qkin0cc.fsf@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org, Arnaud Vandyck <avdyk@gnu.org>,
	Michael Koch <konqueror@gmx.de>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 19:03:08 -0000

Tom Tromey wrote:
> For instance, someone could write a tool to cut down the class library
> to custom-fit your application.  Or we could mark up the library
> source with Classpath-specific 1.5 attributes that end up in the class
> files, and that are used to remove parts of the classes later on.
> (There are probably lots of cool things we could do with attributes,
> something worth brainstorming about.)

Tools to do former exist. My experience with them and Kaffe was not very 
good. See [1] for a list of such tools.

> I know this approach avoids some of the things needed for real
> compatibility, for instance when semantics change over time.  But is
> anyone really clamoring for JDK 1.0 compatibility?  My impression is
> that when this has come up on this list it is just as a way to get a
> release out that has 100% compatibility with *something* -- but for me
> that is not an interesting end in and of itself.  In fact, I think a
> release that is compatible with just JDK 1.0 is kind of laughable at
> this date.

It was meant as a hillarious example :)

cheers,
dalibor topic

[1] http://proguard.sourceforge.net/alternatives.html



From MAILER-DAEMON Mon Oct 25 15:14:54 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMAIw-0002wZ-6p
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 15:14:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMAIu-0002wD-4T
	for classpath@gnu.org; Mon, 25 Oct 2004 15:14:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMAIs-0002vf-SZ
	for classpath@gnu.org; Mon, 25 Oct 2004 15:14:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMAIs-0002vc-BJ
	for classpath@gnu.org; Mon, 25 Oct 2004 15:14:50 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CMAAl-0004aN-Un
	for classpath@gnu.org; Mon, 25 Oct 2004 15:06:28 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9PJ6Qqe022496;
	Mon, 25 Oct 2004 15:06:26 -0400
Received: from opsy.redhat.com (vpn50-54.rdu.redhat.com [172.16.50.54])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9PJ6Pr08243; 
	Mon, 25 Oct 2004 15:06:25 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id B21112DC086; Mon, 25 Oct 2004 13:05:35 -0600 (MDT)
Sender: tromey@redhat.com
To: Per Bothner <per@bothner.com>
References: <1098545578.9291.63.camel@rivendell>
	<1098557994.14929.68.camel@localhost>
	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>
	<200410251223.46971.konqueror@gmx.de> <417CE7E1.2080904@kaffe.org>
	<m34qkin0cc.fsf@localhost.localdomain> <417D45B6.9000901@bothner.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 25 Oct 2004 13:05:35 -0600
In-Reply-To: <417D45B6.9000901@bothner.com>
Message-ID: <m3lldulitc.fsf@localhost.localdomain>
Lines: 21
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 19:14:52 -0000

>>>>> "Per" == Per Bothner <per@bothner.com> writes:

Per> I suspect the main thing missing at this point is a dependable
Per> security implementation, including the verifier and the
Per> SecurityManager, most of which realy isn't Classpath per se.

Another missing piece that isn't really there is the locale data.

According to japi we aren't really missing much API at all.  I suspect
some of the "errors" listed on the comparison page are actually things
that changed in later JDK releases (it would be cool if japi knew how
to do a 3 way comparison so we could filter these out).

Per> (On the other hand, if Tom's new verifier can share code between
Per> the gcj compiler and runtime, maybe it can be parameterized
Per> further so it can be plugged into other VMs?)

Yeah, this is actually easy to do.  I plugged it into gcjx in a day or
so, basically you just need some typedefs and glue functions.

Tom



From MAILER-DAEMON Mon Oct 25 15:34:16 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMAbf-0006ip-Tm
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 15:34:16 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMAbe-0006ig-A8
	for classpath@gnu.org; Mon, 25 Oct 2004 15:34:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMAbd-0006iU-Rr
	for classpath@gnu.org; Mon, 25 Oct 2004 15:34:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMAbd-0006iR-Np
	for classpath@gnu.org; Mon, 25 Oct 2004 15:34:13 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMATi-0007ZE-LW
	for classpath@gnu.org; Mon, 25 Oct 2004 15:26:02 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Mon, 25 Oct 2004 15:28:53 -0400
Message-ID: <417D5347.5030906@netreach.com>
Date: Mon, 25 Oct 2004 15:25:59 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <1098545578.9291.63.camel@rivendell>	<1098557994.14929.68.camel@localhost>	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>	<200410251223.46971.konqueror@gmx.de>
	<417CE7E1.2080904@kaffe.org>	<m34qkin0cc.fsf@localhost.localdomain>
	<417D45B6.9000901@bothner.com>
	<m3lldulitc.fsf@localhost.localdomain>
In-Reply-To: <m3lldulitc.fsf@localhost.localdomain>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 25 Oct 2004 19:28:53.0261 (UTC)
	FILETIME=[DCB9DBD0:01C4BAC8]
Cc: Per Bothner <per@bothner.com>, classpath@gnu.org
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 19:34:14 -0000

Tom Tromey wrote:
> According to japi we aren't really missing much API at all.  I suspect
> some of the "errors" listed on the comparison page are actually things
> that changed in later JDK releases (it would be cool if japi knew how
> to do a 3 way comparison so we could filter these out).

Actually thanks to Michael Koch I know exactly how to implement that - I 
just haven't found the time to integrate it yet. His initial patch was a 
3-liner which provided the key insight into how to make it work, but 
there are some subtleties that need to be taken into consideration that 
I didn't think of to start with.

For example, against JDK1.0 the entire java.awt.peer package is listed 
as missing; that should naturally be skipped based on this filter, but 
then what do you show as the percentage for that package? 100% missing 
but no errors, 100% good even though "good" simply means one big error 
that was skipped, or (ideally) "100% skipped", where skipped is a new 
category that doesn't count against us *or* for us in the statistics.

Savannah has accepted the japitools project, btw, and I'm waiting for 
them to import my CVS history now. Then anyone who wants to help hacking 
on this can get access to the repository, and we can make a japitools 
mailing list etc.

I'm hoping that having the project open to other developers will allow 
me to delegate a few of the simpler tasks that need to be done. And 
maybe the more complicated tasks, too - I'm unlikely to be able to make 
any attempt to interpret the 1.5 bytecode features or incorporate them 
into japi files in the forseeable future, but I'd love if someone else 
could work on this. Any volunteers? :)

Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Mon Oct 25 16:17:25 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMBHR-0007rs-AF
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 16:17:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMBHN-0007rU-Q5
	for classpath@gnu.org; Mon, 25 Oct 2004 16:17:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMBHM-0007qy-Ie
	for classpath@gnu.org; Mon, 25 Oct 2004 16:17:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMBHM-0007qv-D6
	for classpath@gnu.org; Mon, 25 Oct 2004 16:17:20 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMB9W-0005Lj-4s
	for classpath@gnu.org; Mon, 25 Oct 2004 16:09:14 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CMB92-0006rU-00
	for <classpath@gnu.org>; Mon, 25 Oct 2004 22:08:44 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <m3y8hullok.fsf@localhost.localdomain>
References: <1098545578.9291.63.camel@rivendell>
	<1098557994.14929.68.camel@localhost>
	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>
	<200410251223.46971.konqueror@gmx.de> <417CE7E1.2080904@kaffe.org>
	<m34qkin0cc.fsf@localhost.localdomain>
	<m3y8hullok.fsf@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-HtnG24ceHTGxTaZ2QgW+"
Message-Id: <1098734952.1680.31.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 25 Oct 2004 22:09:12 +0200
Subject: GNU JAXP integration and what should be in 1.0?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 20:17:22 -0000


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

Hi,

Everybody agrees that integrating GNU JAXP somehow into the default GNU
Classpath build would be nice. That is what we will do somehow for 0.12
(target date Friday November 5). Whether we do that by importing it as
we did in the past as a external package or by completely merging in GNU
JAXP depends on what the current developers (Chris, Arnaud, Musachy)
think works best for them and whether all GNU Classpath requirements=20
(http://www.gnu.org/software/classpath/docs/hacking.html#SEC2) can be
followed. I am currently rewriting some classes for GNU JAXP for which
we don't have paperwork on file with the FSF. But it seems this can be
completed at the end of this week.

What else should go into GNU Classpath before we can call it 1.0 depends
more on when we think we have a complete, well tested and documented
library that we would fully recommend other free software hackers base
their new projects on than on whether we are fully compatible with a
particular release of a proprietary library. Although realistically we
want to be as complete a replacement as possible. Roman started an
overview at http://ontographics.com/classpath/status-1.0.html
It would be good if we could complete that for 1.1, 1.2, 1.3 and 1.4
where possible.

Cheers,

Mark

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

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

iD8DBQBBfV1oxVhZCJWr9QwRAnzkAKCpeUQZb+rQG1Jth9ULsO4GPnvICACZAbH9
hgRDgcPllhiw6rm0AHAISfU=
=kjva
-----END PGP SIGNATURE-----

--=-HtnG24ceHTGxTaZ2QgW+--




From MAILER-DAEMON Mon Oct 25 16:18:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMBIk-0008Rt-OU
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 16:18:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMBIj-0008RU-JO
	for classpath@gnu.org; Mon, 25 Oct 2004 16:18:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMBIi-0008Qy-Pl
	for classpath@gnu.org; Mon, 25 Oct 2004 16:18:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMBIi-0008Qv-Ke
	for classpath@gnu.org; Mon, 25 Oct 2004 16:18:44 -0400
Received: from [82.69.92.124] (helo=bluezoo.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CMBAd-0005eD-4v; Mon, 25 Oct 2004 16:10:23 -0400
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by bluezoo.org (Postfix) with ESMTP
	id 4E88015DB33; Mon, 25 Oct 2004 21:10:19 +0100 (BST)
In-Reply-To: <417D46E0.2040702@kaffe.org>
References: <1098545578.9291.63.camel@rivendell>	<1098557994.14929.68.camel@localhost>	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>	<200410251223.46971.konqueror@gmx.de>
	<417CE7E1.2080904@kaffe.org>	<m34qkin0cc.fsf@localhost.localdomain>
	<m3y8hullok.fsf@localhost.localdomain> <417D46E0.2040702@kaffe.org>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <E3ADFAAC-26C1-11D9-9A49-000D934FF4B2@bluezoo.org>
Content-Transfer-Encoding: 7bit
From: Chris Burdess <dog@bluezoo.org>
Date: Mon, 25 Oct 2004 21:10:17 +0100
To: Dalibor Topic <robilad@kaffe.org>
X-Pgp-Agent: GPGMail 1.0.1 (v33, 10.3)
X-Mailer: Apple Mail (2.619)
Cc: tromey@redhat.com, classpath@gnu.org, Arnaud Vandyck <avdyk@gnu.org>,
	Michael Koch <konqueror@gmx.de>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 20:18:45 -0000

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

Dalibor Topic wrote:
> I, too, want to see GNU JAXP integrated into GNU Classpath.
>
> I don't think it's absolutely inevitable to merge GNU JAXP's source 
> code in, if and only if it can be made a hard requirement during the 
> build process. In that case, to build classpath one would need that 
> additional dependency. Plus point on the modularisation side (you 
> could still use GNU JAXP separately from GNU Classpath). Minus point 
> on the maintenance side (you need to continue dealing with two 
> possibly asynchronious packages).

Moving GNU JAXP to the Classpath project is not a problem for the 
current JAXP developers.

Note on modularisation: as I understand it GNU JAXP is only really used 
by Classpath and the various free JVM implementations (libgcj, kaffe, 
etc), which already use Classpath or are attempting to unify their code 
with it.
- -- 
Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBfV2q6dl1DEqHgrgRAi6UAJ4luvD5D7YeHOFV6DcIX3hMcvb5jgCgjdhC
2s5TgQwX2STFSo6COi1JUxs=
=ql5O
-----END PGP SIGNATURE-----




From MAILER-DAEMON Mon Oct 25 16:23:27 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMBNG-0001UW-V2
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 16:23:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMBNF-0001UC-86
	for classpath@gnu.org; Mon, 25 Oct 2004 16:23:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMBNE-0001Ts-Gg
	for classpath@gnu.org; Mon, 25 Oct 2004 16:23:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMBNE-0001Tp-8r
	for classpath@gnu.org; Mon, 25 Oct 2004 16:23:24 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMBF8-0006SO-D5
	for classpath@gnu.org; Mon, 25 Oct 2004 16:15:02 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.36 #1
	(Debian)) id 1CMBF7-0001gb-00
	for <classpath@gnu.org>; Mon, 25 Oct 2004 22:15:01 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian))
	id 1CMBEv-0001fE-00; Mon, 25 Oct 2004 22:14:49 +0200
Received: from kaffe.org (topic@mpiat2313 [139.19.20.102])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i9PKEnIF008812;
	Mon, 25 Oct 2004 22:14:49 +0200 (MEST)
Message-ID: <417D5EB8.8040309@kaffe.org>
Date: Mon, 25 Oct 2004 22:14:48 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.6) Gecko/20040413 Debian/1.6-5
X-Accept-Language: en
MIME-Version: 1.0
To: Chris Burdess <dog@bluezoo.org>
References: <1098545578.9291.63.camel@rivendell>	<1098557994.14929.68.camel@localhost>	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>	<200410251223.46971.konqueror@gmx.de>
	<417CE7E1.2080904@kaffe.org>	<m34qkin0cc.fsf@localhost.localdomain>
	<m3y8hullok.fsf@localhost.localdomain> <417D46E0.2040702@kaffe.org>
	<E3ADFAAC-26C1-11D9-9A49-000D934FF4B2@bluezoo.org>
In-Reply-To: <E3ADFAAC-26C1-11D9-9A49-000D934FF4B2@bluezoo.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: tromey@redhat.com, classpath@gnu.org, Arnaud Vandyck <avdyk@gnu.org>,
	Michael Koch <konqueror@gmx.de>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 20:23:25 -0000

Chris Burdess wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Dalibor Topic wrote:
> 
>> I, too, want to see GNU JAXP integrated into GNU Classpath.
>>
>> I don't think it's absolutely inevitable to merge GNU JAXP's source 
>> code in, if and only if it can be made a hard requirement during the 
>> build process. In that case, to build classpath one would need that 
>> additional dependency. Plus point on the modularisation side (you 
>> could still use GNU JAXP separately from GNU Classpath). Minus point 
>> on the maintenance side (you need to continue dealing with two 
>> possibly asynchronious packages).
> 
> 
> Moving GNU JAXP to the Classpath project is not a problem for the 
> current JAXP developers.
> 
> Note on modularisation: as I understand it GNU JAXP is only really used 
> by Classpath and the various free JVM implementations (libgcj, kaffe, 
> etc), which already use Classpath or are attempting to unify their code 
> with it.

Cool, than merging it in is the way to go from my perspective, too.

cheers,
dalibor topic



From MAILER-DAEMON Mon Oct 25 19:31:21 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMEJ6-0000tB-QA
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 19:31:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMEJ4-0000sc-HP
	for classpath@gnu.org; Mon, 25 Oct 2004 19:31:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMEJ3-0000rk-FQ
	for classpath@gnu.org; Mon, 25 Oct 2004 19:31:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMEJ3-0000rR-BA
	for classpath@gnu.org; Mon, 25 Oct 2004 19:31:17 -0400
Received: from [80.138.234.52] (helo=jbox)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CMEB4-0006dR-Br
	for classpath@gnu.org; Mon, 25 Oct 2004 19:23:02 -0400
Received: from localhost ([127.0.0.1]) by jbox with esmtp (Exim 4.34)
	id 1CMEAr-0000Ty-CN; Mon, 25 Oct 2004 23:22:49 +0000
Message-ID: <417D8AC8.50909@kaffe.org>
Date: Mon, 25 Oct 2004 23:22:48 +0000
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.7.3) Gecko/20041007 Debian/1.7.3-5
X-Accept-Language: us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <1098545578.9291.63.camel@rivendell>	<1098557994.14929.68.camel@localhost>	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>	<200410251223.46971.konqueror@gmx.de>
	<417CE7E1.2080904@kaffe.org>	<m34qkin0cc.fsf@localhost.localdomain>
	<417D45B6.9000901@bothner.com>
	<m3lldulitc.fsf@localhost.localdomain>
In-Reply-To: <m3lldulitc.fsf@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Per Bothner <per@bothner.com>, classpath@gnu.org
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2004 23:31:18 -0000

Tom Tromey wrote:
>>>>>>"Per" == Per Bothner <per@bothner.com> writes:
> 
> 
> Per> I suspect the main thing missing at this point is a dependable
> Per> security implementation, including the verifier and the
> Per> SecurityManager, most of which realy isn't Classpath per se.
> 
> Another missing piece that isn't really there is the locale data.

I think Guilhem was working on that within cp-tools.

> Per> (On the other hand, if Tom's new verifier can share code between
> Per> the gcj compiler and runtime, maybe it can be parameterized
> Per> further so it can be plugged into other VMs?)
> 
> Yeah, this is actually easy to do.  I plugged it into gcjx in a day or
> so, basically you just need some typedefs and glue functions.

Yeah, it would be interesting to plug it into Kaffe as well as another 
verifier option. I'd hope one day we'll see one full, complete verifier, 
rather than 5 mostly complete ones. ;) If it has become pluggable, it 
would also be an interesting option for wonka.

cheers,
dalibor topic



From MAILER-DAEMON Mon Oct 25 22:30:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMH6E-0007VX-Sp
	for mharc-classpath@gnu.org; Mon, 25 Oct 2004 22:30:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMH6C-0007VP-Oq
	for classpath@gnu.org; Mon, 25 Oct 2004 22:30:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMH6C-0007VD-CQ
	for classpath@gnu.org; Mon, 25 Oct 2004 22:30:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMH6C-0007VA-9R
	for classpath@gnu.org; Mon, 25 Oct 2004 22:30:12 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CMGyV-0003A8-1I
	for classpath@gnu.org; Mon, 25 Oct 2004 22:22:15 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9Q2MCVO026981;
	Mon, 25 Oct 2004 22:22:12 -0400
Received: from opsy.redhat.com (vpn50-26.rdu.redhat.com [172.16.50.26])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9Q2MBr11553; 
	Mon, 25 Oct 2004 22:22:12 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 7A61D2DC086; Mon, 25 Oct 2004 20:21:21 -0600 (MDT)
Sender: tromey@redhat.com
To: Dalibor Topic <robilad@kaffe.org>
References: <1098545578.9291.63.camel@rivendell>
	<1098557994.14929.68.camel@localhost>
	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>
	<200410251223.46971.konqueror@gmx.de> <417CE7E1.2080904@kaffe.org>
	<m34qkin0cc.fsf@localhost.localdomain> <417D45B6.9000901@bothner.com>
	<m3lldulitc.fsf@localhost.localdomain> <417D8AC8.50909@kaffe.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 25 Oct 2004 20:21:21 -0600
In-Reply-To: <417D8AC8.50909@kaffe.org>
Message-ID: <m3lldui5i6.fsf@localhost.localdomain>
Lines: 8
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Per Bothner <per@bothner.com>, classpath@gnu.org
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2004 02:30:13 -0000

>>>>> "Dalibor" == Dalibor Topic <robilad@kaffe.org> writes:

Dalibor> I'd hope one day we'll see one full, complete
Dalibor> verifier, rather than 5 mostly complete ones. ;)

FWIW, as far as I know the one in libgcj is complete.

Tom



From MAILER-DAEMON Tue Oct 26 04:31:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMMkB-0007TH-CI
	for mharc-classpath@gnu.org; Tue, 26 Oct 2004 04:31:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMMk8-0007Sc-Nz
	for classpath@gnu.org; Tue, 26 Oct 2004 04:31:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMMk7-0007S1-2b
	for classpath@gnu.org; Tue, 26 Oct 2004 04:31:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMMk6-0007Ry-R1
	for classpath@gnu.org; Tue, 26 Oct 2004 04:31:46 -0400
Received: from [139.165.32.99] (helo=serv54.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CMMcI-0006PX-Df
	for classpath@gnu.org; Tue, 26 Oct 2004 04:23:42 -0400
Received: (qmail 17022 invoked by uid 510); 26 Oct 2004 10:23:40 +0200
Received: from 139.165.77.198 by serv54.segi.ulg.ac.be (envelope-from
	<arnaud.vandyck@ulg.ac.be>, uid 501) with qmail-scanner-1.23 
	(drweb: 4. spamassassin: 2.64.  Clear:RC:1(139.165.77.198):. 
	Processed in 0.070354 secs); 26 Oct 2004 08:23:40 -0000
Received: from vbstefi118.fapse.ulg.ac.be (HELO oz.fapse.ulg.ac.be)
	([139.165.77.198]) (envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv54.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 26 Oct 2004 10:23:40 +0200
Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.34)
	id 1CMMcF-0003Ea-A7
	for classpath@gnu.org; Tue, 26 Oct 2004 10:23:39 +0200
To: classpath@gnu.org
References: <1098545578.9291.63.camel@rivendell>
	<1098557994.14929.68.camel@localhost>
	<87fz43qf2h.fsf@oz.fapse.ulg.ac.be>
	<200410251223.46971.konqueror@gmx.de> <417CE7E1.2080904@kaffe.org>
	<m34qkin0cc.fsf@localhost.localdomain>
	<m3y8hullok.fsf@localhost.localdomain> <417D46E0.2040702@kaffe.org>
	<E3ADFAAC-26C1-11D9-9A49-000D934FF4B2@bluezoo.org>
From: Arnaud Vandyck <avdyk@gnu.org>
Mail-Followup-To: classpath@gnu.org
Date: Tue, 26 Oct 2004 10:23:39 +0200
In-Reply-To: <E3ADFAAC-26C1-11D9-9A49-000D934FF4B2@bluezoo.org> (Chris
	Burdess's message of "Mon, 25 Oct 2004 21:10:17 +0100")
Message-ID: <87654xubuc.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2004 08:31:49 -0000

Mon, 25 Oct 2004 21:10:17 +0100, 
Chris Burdess <dog@bluezoo.org> wrote: 

> Dalibor Topic wrote:
>> I, too, want to see GNU JAXP integrated into GNU Classpath.

[...]

> Moving GNU JAXP to the Classpath project is not a problem for the
> current JAXP developers.
>
> Note on modularisation: as I understand it GNU JAXP is only really
> used by Classpath and the various free JVM implementations (libgcj,
> kaffe, etc), which already use Classpath or are attempting to unify
> their code with it.

Yes, other worst alternatives exist. Also, note that GNU JAXP release
cycle is not the same as classpath; and if we really want a separate
module, I suppose it's possible to add some instructions to the make
dist target or something.

-- 
Arnaud Vandyck
http://fosdem.org/
Free and Open Source Developers' European Meeting
February 26-27 2005,
Bruxelles, Belgium



From MAILER-DAEMON Tue Oct 26 04:47:00 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMMyq-0003Mz-AB
	for mharc-classpath@gnu.org; Tue, 26 Oct 2004 04:47:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMMyi-0003L1-5Q
	for classpath@gnu.org; Tue, 26 Oct 2004 04:46:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMMyg-0003Jk-5U
	for classpath@gnu.org; Tue, 26 Oct 2004 04:46:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMMyd-0003JE-SO
	for classpath@gnu.org; Tue, 26 Oct 2004 04:46:48 -0400
Received: from [212.6.122.18] (helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CMMqv-0008Ub-5W; Tue, 26 Oct 2004 04:38:49 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-023.ewetel.net
	[80.228.93.23])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id i9Q8clQD029538;
	Tue, 26 Oct 2004 10:38:48 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CMMry-0003Zp-72; Tue, 26 Oct 2004 10:39:54 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 26 Oct 2004 10:39:12 +0200
User-Agent: KMail/1.6.2
References: <1098545578.9291.63.camel@rivendell>
	<E3ADFAAC-26C1-11D9-9A49-000D934FF4B2@bluezoo.org>
	<87654xubuc.fsf@oz.fapse.ulg.ac.be>
In-Reply-To: <87654xubuc.fsf@oz.fapse.ulg.ac.be>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410261039.12395.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Arnaud Vandyck <avdyk@gnu.org>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2004 08:46:58 -0000

Am Dienstag, 26. Oktober 2004 10:23 schrieb Arnaud Vandyck:
> Mon, 25 Oct 2004 21:10:17 +0100,
>
> Chris Burdess <dog@bluezoo.org> wrote:
> > Dalibor Topic wrote:
> >> I, too, want to see GNU JAXP integrated into GNU Classpath.
>
> [...]
>
> > Moving GNU JAXP to the Classpath project is not a problem for the
> > current JAXP developers.
> >
> > Note on modularisation: as I understand it GNU JAXP is only
> > really used by Classpath and the various free JVM implementations
> > (libgcj, kaffe, etc), which already use Classpath or are
> > attempting to unify their code with it.
>
> Yes, other worst alternatives exist. Also, note that GNU JAXP
> release cycle is not the same as classpath; and if we really want a
> separate module, I suppose it's possible to add some instructions
> to the make dist target or something.

The question is: Does GNU JAXP wants/needs an extra release cylce when 
its merged ? Personally I think thats a bad idea.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Tue Oct 26 07:22:55 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMPPj-0005Cs-0z
	for mharc-classpath@gnu.org; Tue, 26 Oct 2004 07:22:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMPPg-0005Ce-2i
	for classpath@gnu.org; Tue, 26 Oct 2004 07:22:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMPPe-0005Bu-LC
	for classpath@gnu.org; Tue, 26 Oct 2004 07:22:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMPPe-0005Bq-EK
	for classpath@gnu.org; Tue, 26 Oct 2004 07:22:50 -0400
Received: from [139.165.32.99] (helo=serv54.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CMPHi-0004jz-Cg
	for classpath@gnu.org; Tue, 26 Oct 2004 07:14:50 -0400
Received: (qmail 31025 invoked by uid 510); 26 Oct 2004 13:14:19 +0200
Received: from 139.165.77.198 by serv54.segi.ulg.ac.be (envelope-from
	<arnaud.vandyck@ulg.ac.be>, uid 501) with qmail-scanner-1.23 
	(drweb: 4. spamassassin: 2.64.  Clear:RC:1(139.165.77.198):. 
	Processed in 0.077575 secs); 26 Oct 2004 11:14:19 -0000
Received: from vbstefi118.fapse.ulg.ac.be (HELO oz.fapse.ulg.ac.be)
	([139.165.77.198]) (envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv54.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 26 Oct 2004 13:14:19 +0200
Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.34)
	id 1CMPHM-0003mB-Cu
	for classpath@gnu.org; Tue, 26 Oct 2004 13:14:16 +0200
To: classpath@gnu.org
References: <1098545578.9291.63.camel@rivendell>
	<E3ADFAAC-26C1-11D9-9A49-000D934FF4B2@bluezoo.org>
	<87654xubuc.fsf@oz.fapse.ulg.ac.be>
	<200410261039.12395.konqueror@gmx.de>
From: Arnaud Vandyck <avdyk@gnu.org>
Mail-Followup-To: classpath@gnu.org
Date: Tue, 26 Oct 2004 13:14:16 +0200
In-Reply-To: <200410261039.12395.konqueror@gmx.de> (Michael Koch's message
	of "Tue, 26 Oct 2004 10:39:12 +0200")
Message-ID: <874qkhd94n.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Subject: Re: Eclipse
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2004 11:22:52 -0000

Tue, 26 Oct 2004 10:39:12 +0200, 
Michael Koch <konqueror@gmx.de> wrote: 

> Am Dienstag, 26. Oktober 2004 10:23 schrieb Arnaud Vandyck:

[...]

>> Yes, other worst alternatives exist. Also, note that GNU JAXP
>> release cycle is not the same as classpath; and if we really want a
>> separate module, I suppose it's possible to add some instructions
>> to the make dist target or something.
>
> The question is: Does GNU JAXP wants/needs an extra release cylce when 
> its merged ? Personally I think thats a bad idea.

Not a different release cycle, but if some people wants GNU JAXP but not
all GNU CLASSPATH, maybe it could be kind to ship a separate module when
it has evolved.

-- 
 Arnaud Vandyck
  ,= ,-_-. =.
 ((_/)o o(\_))
  `-'(. .)`-'
      \_/



From MAILER-DAEMON Tue Oct 26 08:58:04 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMQto-00072v-Dt
	for mharc-classpath@gnu.org; Tue, 26 Oct 2004 08:58:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMQtm-00072Z-4n
	for classpath@gnu.org; Tue, 26 Oct 2004 08:58:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMQtj-00071W-T6
	for classpath@gnu.org; Tue, 26 Oct 2004 08:58:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMQtj-00071T-D6
	for classpath@gnu.org; Tue, 26 Oct 2004 08:57:59 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CMQlt-0001vB-NJ
	for classpath@gnu.org; Tue, 26 Oct 2004 08:49:54 -0400
Received: (qmail 15718 invoked by uid 65534); 26 Oct 2004 12:49:31 -0000
Received: from p213.54.220.129.tisdip.tiscali.de (EHLO [213.54.220.129])
	(213.54.220.129)
	by mail.gmx.net (mp013) with SMTP; 26 Oct 2004 14:49:31 +0200
X-Authenticated: #17532834
Message-ID: <417E3A35.2080504@gmx.net>
Date: Tue, 26 Oct 2004 13:51:17 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040930
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: updating java.beans class to 1.5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2004 12:58:03 -0000

Hi there,
in an attempt to fix bug 10799 I saw that the affected class 
(java.beans.PropertyEditorSupport) needs some general cleanup and fixing 
(it was last modified in 1998!). I took the online version of the 1.5 
API documentation and realized that the 2 constructors are now public 
(were protected) and two new methods have been added.
My question is: Should I stick with strict 1.4 compatibility (no public 
constructors, no new methods) or upgrade everything to be up to date?

AFAIK the changes Sun made are binary compatible or am I wrong?

cu
Robert



From MAILER-DAEMON Tue Oct 26 09:08:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMR3S-0001So-KL
	for mharc-classpath@gnu.org; Tue, 26 Oct 2004 09:08:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMR3Q-0001Qr-RW
	for classpath@gnu.org; Tue, 26 Oct 2004 09:08:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMR3P-0001QN-Q3
	for classpath@gnu.org; Tue, 26 Oct 2004 09:08:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMR3P-0001QC-Ka
	for classpath@gnu.org; Tue, 26 Oct 2004 09:07:59 -0400
Received: from [212.6.122.16] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMQvY-0003OF-RM
	for classpath@gnu.org; Tue, 26 Oct 2004 08:59:53 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-023.ewetel.net
	[80.228.93.23])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id i9QCxpNM006556;
	Tue, 26 Oct 2004 14:59:51 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CMQwc-0004Fo-V8; Tue, 26 Oct 2004 15:00:58 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 26 Oct 2004 15:00:15 +0200
User-Agent: KMail/1.6.2
References: <417E3A35.2080504@gmx.net>
In-Reply-To: <417E3A35.2080504@gmx.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200410261500.15344.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: updating java.beans class to 1.5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2004 13:08:01 -0000

Am Dienstag, 26. Oktober 2004 13:51 schrieb Robert Schuster:
> Hi there,
> in an attempt to fix bug 10799 I saw that the affected class
> (java.beans.PropertyEditorSupport) needs some general cleanup and
> fixing (it was last modified in 1998!). I took the online version
> of the 1.5 API documentation and realized that the 2 constructors
> are now public (were protected) and two new methods have been
> added.
> My question is: Should I stick with strict 1.4 compatibility (no
> public constructors, no new methods) or upgrade everything to be up
> to date?

I would say go ahead but add @specnote tags telling what got changed 
in the public API.

> AFAIK the changes Sun made are binary compatible or am I wrong?

Yes this is binary compatible.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Tue Oct 26 10:02:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMRti-00082G-Nw
	for mharc-classpath@gnu.org; Tue, 26 Oct 2004 10:02:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMRtf-00081P-V8
	for classpath@gnu.org; Tue, 26 Oct 2004 10:02:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMRtf-000810-7A
	for classpath@gnu.org; Tue, 26 Oct 2004 10:01:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMRtf-00080x-4O
	for classpath@gnu.org; Tue, 26 Oct 2004 10:01:59 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMRlj-00036G-ML
	for classpath@gnu.org; Tue, 26 Oct 2004 09:53:47 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Tue, 26 Oct 2004 09:56:47 -0400
Message-ID: <417E56EA.6080704@netreach.com>
Date: Tue, 26 Oct 2004 09:53:46 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Robert Schuster <theBohemian@gmx.net>
References: <417E3A35.2080504@gmx.net>
In-Reply-To: <417E3A35.2080504@gmx.net>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 26 Oct 2004 13:56:47.0125 (UTC)
	FILETIME=[A23C8C50:01C4BB63]
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: updating java.beans class to 1.5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2004 14:02:00 -0000

Robert Schuster wrote:
> AFAIK the changes Sun made are binary compatible or am I wrong?

http://www.kaffe.org/~stuart/japi/jcompat.txt contains some notes I made 
on exactly what kinds of changes are binary compatible. These are the 
criteria that japitools use to determine what errors to list.

I just noticed that this page is slightly incomplete: "Less access -> 
more access", which is the criterion that applies here, is only listed 
under "Classes", and not under "methods", "fields", "constructors" or 
"interfaces". In fact, of course, it applies to all of them.

Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Tue Oct 26 11:47:06 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMTXO-00004q-03
	for mharc-classpath@gnu.org; Tue, 26 Oct 2004 11:47:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMTXL-0008VZ-Nu
	for classpath@gnu.org; Tue, 26 Oct 2004 11:47:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMTXK-0008Un-PD
	for classpath@gnu.org; Tue, 26 Oct 2004 11:47:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMTXK-0008Ue-L3
	for classpath@gnu.org; Tue, 26 Oct 2004 11:47:02 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CMTPR-0002Fv-O7
	for classpath@gnu.org; Tue, 26 Oct 2004 11:38:54 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9QFcjlf023748;
	Tue, 26 Oct 2004 11:38:45 -0400
Received: from opsy.redhat.com (vpn50-9.rdu.redhat.com [172.16.50.9])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9QFcdr06099; 
	Tue, 26 Oct 2004 11:38:40 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id E50002DC086; Tue, 26 Oct 2004 09:37:47 -0600 (MDT)
Sender: tromey@redhat.com
To: Michael Koch <konqueror@gmx.de>
References: <417E3A35.2080504@gmx.net> <200410261500.15344.konqueror@gmx.de>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 26 Oct 2004 09:37:47 -0600
In-Reply-To: <200410261500.15344.konqueror@gmx.de>
Message-ID: <m34qkhij78.fsf@localhost.localdomain>
Lines: 10
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: updating java.beans class to 1.5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2004 15:47:04 -0000

>>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:

Michael> I would say go ahead but add @specnote tags telling what got
Michael> changed in the public API.

Yes, I agree.  Also the new methods should be marked "@since 1.5".
Interesting, neither @specnote nor @since appear in hacking.texinfo.
Anybody want to update the coding standards with this?

Tom



From MAILER-DAEMON Wed Oct 27 04:12:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMiui-0007Hj-1v
	for mharc-classpath@gnu.org; Wed, 27 Oct 2004 04:12:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMiuf-0007H6-F7
	for classpath@gnu.org; Wed, 27 Oct 2004 04:12:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMiue-0007Gb-5r
	for classpath@gnu.org; Wed, 27 Oct 2004 04:12:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMiud-0007Fx-Fv
	for classpath@gnu.org; Wed, 27 Oct 2004 04:12:07 -0400
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMimo-0006k3-5b
	for classpath@gnu.org; Wed, 27 Oct 2004 04:04:02 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-92-174.ewetel.net
	[80.228.92.174])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i9R83mgN009187;
	Wed, 27 Oct 2004 10:03:49 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CMinj-0000iA-4i; Wed, 27 Oct 2004 10:04:59 +0200
From: Michael Koch <konqueror@gmx.de>
To: java@gcc.gnu.org
Date: Wed, 27 Oct 2004 10:04:15 +0200
User-Agent: KMail/1.6.2
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200410271004.16003.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: GTK peer
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Oct 2004 08:12:10 -0000

Hi list,


I wrote a little shell script locally to scan the GTK peer JNI headers 
and their implementation files for missing methods and noticed the 
following:

This method is in an implementation file but in no header:

Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoShowGlyphs

These methods are mentioned in a header file but not in an 
implementation file:

Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject
Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetVisible
Java_gnu_java_awt_peer_gtk_GtkFramePeer_nativeSetIconImageFromData
Java_gnu_java_awt_peer_gtk_GtkMenuComponentPeer_dispose
Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_gtkScrolledWindowSetScrollPosition

Somebody hacking on this should look into this.

I will polish my script snippet a bit more and the submit it as patch 
for Makefile.am for GNU classpath and libgcj.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Wed Oct 27 11:50:53 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMq4b-0002iU-IQ
	for mharc-classpath@gnu.org; Wed, 27 Oct 2004 11:50:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMq4a-0002iO-EX
	for classpath@gnu.org; Wed, 27 Oct 2004 11:50:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMq4Z-0002iA-SP
	for classpath@gnu.org; Wed, 27 Oct 2004 11:50:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMq4Z-0002i7-Ph
	for classpath@gnu.org; Wed, 27 Oct 2004 11:50:51 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMpwi-0000wh-SQ
	for classpath@gnu.org; Wed, 27 Oct 2004 11:42:45 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Wed, 27 Oct 2004 11:45:52 -0400
Message-ID: <417FC1EE.4000100@netreach.com>
Date: Wed, 27 Oct 2004 11:42:38 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 27 Oct 2004 15:45:55.0114 (UTC)
	FILETIME=[0B8E20A0:01C4BC3C]
Subject: Japitools status - Savannah and v5 support
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Oct 2004 15:50:52 -0000

I just noticed that the Savannah people have put japitools' CVS online 
(I don't think I got any notification that this had been done, but it 
might have just been spamfiltered away).

Unfortunately it seems that you still can't create new mailing lists on 
Savannah - I've asked whether there's any ETA or a workaround for this, 
but I'm not terribly hopeful, considering how long it took for them to 
start accepting new projects again after their downtime. I confess to 
being a little disenchanted with Savannah in general but I imagine that 
if any Classpath developers are interested in participating in japitools 
development they'll already have Savannah accounts, which wouldn't be 
true if I hosted anywhere else.

If anyone wants to be added to the Japitools project on Savannah, let me 
know your savannah username.

For now, if people here don't object, I'll post occasional status 
reports on the Classpath list which would otherwise have gone to a 
japitools list.

I'm still working on false-positive elimination from the results of 
earlier JDKs. I have a pretty good handle on exactly what needs to 
change where - it's a surprisingly deep and subtle change because if 
you're not careful it breaks a lot of assumptions about things like 
percentages adding up to 100% (what kind of moron would assume that, 
honestly? ;) )

Furthermore, I started thinking about what would be needed to get real 
support for J?SE?.? where one of those ?s is a 5 (hereafter refered to 
as "v5" to keep things simple). There are a few things that need to be 
considered here:

1) Jode in its current form cannot understand the new v5 constructs. One 
of four things needs to happen here:

   a) The CVS version of Jode may have some support for this stuff. We 
could move to it, if it does. On the other hand that version has been 
under development for years and never released, which raises obvious 
questions about how actively maintained it is. I also understand that 
the API has changed substantially (for the better - but still) so it may 
be some work to integrate.

   b) We could hack support for the new features into our local copy of 
Jode. We've done this for several bugfixes in Jode already. May be 
difficult because I, certainly, don't really understand the Jode code.

   c) We could find an alternative bytecode-reading library that already 
understands the new constructs and adapt Japize to use it. The 
adaptation process shouldn't be too hard because Japize doesn't require 
very much information out of the bytecode library - pretty much only the 
metadata, and the bytecode library is already pretty well abstracted 
because there used to be a reflection implementation.

   d) We could write our own bytecode-reading library to understand the 
new constructs. Again, the fact that Japize doesn't really need that 
much information works in our favor. Against us is the fact that, at 
least if I write it, I know nothing about bytecode formats.


2) My own understanding of the exact semantics of the new v5 features is 
much weaker than my understanding of the semantics that already existed, 
and I don't find the documentation terribly accessible. When I wrote 
japitools originally (4 years ago now) I already was pretty clear on 
exactly what could possibly exist on a class and a quick read of the 
relevant JLS section quickly crystallized my understanding of what was 
required for binary compatibility. By comparison, I've never written a 
program using the v5 constructs and may not do so any time soon, 
considering that my day job and much of my personal hacking has moved to 
C#, so I really don't have a good sense of their implications.

I sat down and tried to formulate a list of questions about v5 to figure 
out exactly what needs to be implemented, and this is what I came up with:

- Generics:
   - Are generics in Java per-class only or might they be per-method?
   - For each generic parameter, do I need to store anything beyond the 
constraining superclass?
   - Co- and contravariance?
   - When a generic parameter type is a field value, method parameter or 
return type, does anything special happen?
   - In what ways is it legal to modify generic type parameters while 
retaining binary backward compatibility? java.lang.Class<T> and the 
collections APIs demonstrate that adding generic parameters to a 
previously non-generic class is okay. How about...
     - adding new generic parameters to a class that did have them before?
     - Changing the constraining class to be more specific?
     - Less specific?
     - Anything special happen if either the parameter or the class 
*with* the parameter is actually an interface?
     - What about removing a generic type parameter - that's presumably 
forbidden?
   - How is the generic meta-information stored in the bytecode format?

- Annotations:
   - I have no idea. Anyone understand how annotations impact backward 
compatibility and what information needs to be stored per class and/or 
member to make this happen?
 

- Others:
   - Are there any other new 1.5 features that japitools should bear in 
mind?


-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Wed Oct 27 12:37:55 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CMqo7-0003NX-Kb
	for mharc-classpath@gnu.org; Wed, 27 Oct 2004 12:37:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CMqo5-0003NR-Pv
	for classpath@gnu.org; Wed, 27 Oct 2004 12:37:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CMqo5-0003NB-80
	for classpath@gnu.org; Wed, 27 Oct 2004 12:37:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CMqo5-0003N1-5D
	for classpath@gnu.org; Wed, 27 Oct 2004 12:37:53 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMqfY-00089N-4r
	for classpath@gnu.org; Wed, 27 Oct 2004 12:29:04 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Wed, 27 Oct 2004 12:32:10 -0400
Message-ID: <417FCCC5.7000802@netreach.com>
Date: Wed, 27 Oct 2004 12:28:53 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stuart Ballard <sballard@netreach.com>
References: <417FC1EE.4000100@netreach.com>
In-Reply-To: <417FC1EE.4000100@netreach.com>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 27 Oct 2004 16:32:11.0997 (UTC)
	FILETIME=[82B4D8D0:01C4BC42]
Cc: classpath <classpath@gnu.org>
Subject: Re: Japitools status - Savannah and v5 support
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Oct 2004 16:37:54 -0000

Stuart Ballard wrote:
>   - In what ways is it legal to modify generic type parameters while 
> retaining binary backward compatibility? java.lang.Class<T> and the 
> collections APIs demonstrate that adding generic parameters to a 
> previously non-generic class is okay. How about...
>     - adding new generic parameters to a class that did have them before?
>     - Changing the constraining class to be more specific?
>     - Less specific?
>     - Anything special happen if either the parameter or the class 
> *with* the parameter is actually an interface?
>     - What about removing a generic type parameter - that's presumably 
> forbidden?

Ooh, some more:

       - Changing a field, method parameter or return value from a 
concrete class to a generic parameter that's constrained to the same 
class as the concrete class used to be? (presumably legal based on 
collections)
       - That's constrained to a more specific class?
       - That's constrained to a less specific class?
       - Changing from a generic parameter class to it's concrete 
constraining class?
       - To a more specific class?
       - To a less specific class?
       - Can a throws clause contain a generic parameter? Presumably if 
it does that type has to be constrained to something under Throwable. If 
so, in what ways can it be legally modified?
       - Can a class inherit from a generic class with parameters? 
Implement a generic interface with parameters? Can the parameters passed 
there be generic parameter types themselves, or constructed from them? 
(class Foo<T> implements List<Map<T,String>>)? If so, what changes to 
the superclass and interfaces are binary compatible, and what aren't? 
(deliberately being vague here because there seem to be so many possible 
changes that they're hard to pin down)

Sure there are more too... it's a big mess, AFAICT.

Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Thu Oct 28 13:48:04 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CNENY-0005Ub-0z
	for mharc-classpath@gnu.org; Thu, 28 Oct 2004 13:48:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CNENU-0005U3-Ky
	for classpath@gnu.org; Thu, 28 Oct 2004 13:48:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CNENT-0005TO-GC
	for classpath@gnu.org; Thu, 28 Oct 2004 13:47:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CNENT-0005T7-1W
	for classpath@gnu.org; Thu, 28 Oct 2004 13:47:59 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNEFc-00072l-6R
	for classpath@gnu.org; Thu, 28 Oct 2004 13:39:53 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Thu, 28 Oct 2004 13:43:11 -0400
Message-ID: <41812ECD.4060307@netreach.com>
Date: Thu, 28 Oct 2004 13:39:25 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
References: <417FC1EE.4000100@netreach.com>
In-Reply-To: <417FC1EE.4000100@netreach.com>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 28 Oct 2004 17:43:11.0634 (UTC)
	FILETIME=[980F9F20:01C4BD15]
Subject: More japitools status
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Oct 2004 17:48:01 -0000

Stuart Ballard wrote:
> For now, if people here don't object, I'll post occasional status 
> reports on the Classpath list which would otherwise have gone to a 
> japitools list.

Please do let me know if you'd prefer me not to post this stuff here.

> I'm still working on false-positive elimination from the results of 
> earlier JDKs. I have a pretty good handle on exactly what needs to 
> change where - it's a surprisingly deep and subtle change because if 
> you're not careful it breaks a lot of assumptions about things like 
> percentages adding up to 100% (what kind of moron would assume that, 
> honestly? ;) )

Good progress on this front. I have a version of japicompat that tracks 
which errors are due to compatibility with the latest JDK instead of the 
one being tested, skips reporting those errors, and provides data to the 
output filter (japiotext or japiohtml) to allow them to calculate the 
percentages accordingly.

I also have a version of japiohtml that understands the new data and 
makes an attempt to present it in a reasonable way. I'm currently 
tracking down issues in its percentage calculation and bar graph 
generation - in various places, 1px-wide colored bars show up in colors 
where the actual percentage is supposed to be zero, and one memorable 
report showed java.io as having "-0.3% bad". When I'm confident in the 
results, I'll switch to using this version to generate the "nightly" 
results.

Even so, my testing so far suggests that this drastically reduces the 
number of errors reported against earlier JDK versions, to the point 
where "zero errors against 1.0 and 1.1 except as necessary for 1.4 
compatibility" looks like it might be an easily achievable goal.

Be aware that the percentage scores from the new version are not 
directly comparable to the scores from the old, due to changes in the 
way they are calculated. Naturally it's impossible to give a 100% 
accurate percentage of something as vaguely-defined as "API coverage" so 
whatever approach I take will have some kinds of systemic errors. The 
"truth", inasmuch as it exists, lies somewhere between the old and new 
techniques, although I think it's closer to the new.

Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Fri Oct 29 04:38:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CNSHX-0005Z2-MD
	for mharc-classpath@gnu.org; Fri, 29 Oct 2004 04:38:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CNSHV-0005YY-G5
	for classpath@gnu.org; Fri, 29 Oct 2004 04:38:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CNSHU-0005YH-OM
	for classpath@gnu.org; Fri, 29 Oct 2004 04:38:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CNSHU-0005YE-Gn
	for classpath@gnu.org; Fri, 29 Oct 2004 04:38:44 -0400
Received: from [212.227.126.185] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNS9F-0005Sp-9w
	for classpath@gnu.org; Fri, 29 Oct 2004 04:30:13 -0400
Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1CNS9B-00060U-00
	for classpath@gnu.org; Fri, 29 Oct 2004 10:30:09 +0200
Received: from [212.126.219.82] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 1CNS9C-0007ss-00; Fri, 29 Oct 2004 10:30:10 +0200
Message-ID: <4181FF90.8010601@aicas.com>
Date: Fri, 29 Oct 2004 10:30:08 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.76.5.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/mixed; boundary="------------050505070403020300080008"
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	auth:f9c39743fddc2557f7fa7c1a513f7ea5
Cc: Andy Walter <anwalt@aicas.com>
Subject: Patch for gnu_java_net_PlainDatagramSocketImpl.c
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Oct 2004 08:38:45 -0000

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

Hi,

gnu_java_net_PlainDatagramSocketImpl.c seems to contain a small error. 
Please find a patch below. I also changed "this" into "thiz" for 
C++-compatibility in gnu_java_net_PlainDatagramSocketImpl.c and 
gnu_java_net_PlainSocketImpl.c .

Bye,

Torsten

--------------050505070403020300080008
Content-Type: text/plain;
 name="gnu_java_net_PlainDatagramSocketImpl.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	filename="gnu_java_net_PlainDatagramSocketImpl.patch"

--- gnu_java_net_PlainDatagramSocketImpl.c	Fri Oct 29 10:13:28 2004
+++ gnu_java_net_PlainDatagramSocketImpl.c.new	Fri Oct 29 10:05:19 2004
@@ -67,13 +67,13 @@
  * Creates a new datagram socket
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainDatagramSocketImpl_create(JNIEnv *env, jobject this)
+Java_gnu_java_net_PlainDatagramSocketImpl_create(JNIEnv *env, jobject thiz)
 {
   assert(env!=NULL);
   assert((*env)!=NULL);
 
 #ifndef WITHOUT_NETWORK
-  _javanet_create(env, this, 0);
+  _javanet_create(env, thiz, 0);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -84,13 +84,13 @@
  * Close the socket.
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainDatagramSocketImpl_close(JNIEnv *env, jobject this)
+Java_gnu_java_net_PlainDatagramSocketImpl_close(JNIEnv *env, jobject thiz)
 {
   assert(env!=NULL);
   assert((*env)!=NULL);
 
 #ifndef WITHOUT_NETWORK
-  _javanet_close(env, this, 0);
+  _javanet_close(env, thiz, 0);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -103,14 +103,14 @@
  * variables. 
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainDatagramSocketImpl_bind(JNIEnv *env, jobject this, 
+Java_gnu_java_net_PlainDatagramSocketImpl_bind(JNIEnv *env, jobject thiz, 
                                            jint port, jobject addr)
 {
   assert(env!=NULL);
   assert((*env)!=NULL);
 
 #ifndef WITHOUT_NETWORK
-  _javanet_bind(env, this, addr, port, 0);
+  _javanet_bind(env, thiz, addr, port, 0);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -121,14 +121,14 @@
  * This method sets the specified option for a socket
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainDatagramSocketImpl_setOption(JNIEnv *env, jobject this, 
+Java_gnu_java_net_PlainDatagramSocketImpl_setOption(JNIEnv *env, jobject thiz, 
                                                 jint option_id, jobject val)
 {
   assert(env!=NULL);
   assert((*env)!=NULL);
 
 #ifndef WITHOUT_NETWORK
-  _javanet_set_option(env, this, option_id, val);
+  _javanet_set_option(env, thiz, option_id, val);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -139,15 +139,16 @@
  * This method sets the specified option for a socket
  */
 JNIEXPORT jobject JNICALL
-Java_gnu_java_net_PlainDatagramSocketImpl_getOption(JNIEnv *env, jobject this, 
+Java_gnu_java_net_PlainDatagramSocketImpl_getOption(JNIEnv *env, jobject thiz, 
                                                 jint option_id)
 {
   assert(env!=NULL);
   assert((*env)!=NULL);
 
 #ifndef WITHOUT_NETWORK
-  return(_javanet_get_option(env, this, option_id));
+  return(_javanet_get_option(env, thiz, option_id));
 #else /* not WITHOUT_NETWORK */
+  return NULL;
 #endif /* not WITHOUT_NETWORK */
 }
 
@@ -157,12 +158,12 @@
  * Reads a buffer from a remote host
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainDatagramSocketImpl_receive0(JNIEnv *env, jobject this, 
+Java_gnu_java_net_PlainDatagramSocketImpl_receive0(JNIEnv *env, jobject thiz, 
                                               jobject packet)
 {
 #ifndef WITHOUT_NETWORK
-  int  addr, port, bytes_read;
-  unsigned int maxlen, offset;
+  int           addr, port;
+  unsigned int  maxlen, offset, bytes_read;
   jclass        cls, addr_cls;
   jfieldID	fid;
   jmethodID     mid;
@@ -227,7 +228,7 @@
 
   /* Now get the maximal available length from the packet */
   fid = (*env)->GetFieldID(env, cls, "maxlen", "I");
-  if (mid == NULL)
+  if (fid == NULL)
     {
       JCL_ThrowException(env, IO_EXCEPTION, "Internal error: maxlen");
       return;
@@ -242,7 +243,7 @@
 
   /* Receive the packet */
   /* should we try some sort of validation on the length? */
-  bytes_read = _javanet_recvfrom(env, this, arr, offset, maxlen, &addr, &port); 
+  bytes_read = _javanet_recvfrom(env, thiz, arr, offset, maxlen, &addr, &port); 
   if ((bytes_read == -1) || (*env)->ExceptionOccurred(env))
     {
       JCL_ThrowException(env, IO_EXCEPTION, "Internal error: receive");
@@ -355,7 +356,7 @@
  * Writes a buffer to the remote host
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainDatagramSocketImpl_sendto(JNIEnv *env, jobject this, 
+Java_gnu_java_net_PlainDatagramSocketImpl_sendto(JNIEnv *env, jobject thiz, 
                                              jobject addr, jint port, jarray buf, 
                                              jint offset, jint len)
 {
@@ -371,7 +372,7 @@
 
   DBG("PlainDatagramSocketImpl.sendto(): have addr\n");
 
-  _javanet_sendto(env, this, buf, offset, len, netAddress, port);
+  _javanet_sendto(env, thiz, buf, offset, len, netAddress, port);
   if ((*env)->ExceptionOccurred(env))
     { JCL_ThrowException(env, IO_EXCEPTION, "Internal error: send data"); return; }
 
@@ -386,7 +387,7 @@
  * Joins a multicast group
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainDatagramSocketImpl_join(JNIEnv *env, jobject this, 
+Java_gnu_java_net_PlainDatagramSocketImpl_join(JNIEnv *env, jobject thiz, 
                                            jobject addr)
 {
 #ifndef WITHOUT_NETWORK
@@ -404,7 +405,7 @@
       return;
     }
 
-  fd = _javanet_get_int_field(env, this, "native_fd");
+  fd = _javanet_get_int_field(env, thiz, "native_fd");
   if ((*env)->ExceptionOccurred(env))
     {
       JCL_ThrowException(env, IO_EXCEPTION, "Internal error");
@@ -432,7 +433,7 @@
  * Leaves a multicast group
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainDatagramSocketImpl_leave(JNIEnv *env, jobject this, 
+Java_gnu_java_net_PlainDatagramSocketImpl_leave(JNIEnv *env, jobject thiz, 
                                             jobject addr)
 {
 #ifndef WITHOUT_NETWORK
@@ -450,7 +451,7 @@
       return;
     }
 
-  fd = _javanet_get_int_field(env, this, "native_fd");
+  fd = _javanet_get_int_field(env, thiz, "native_fd");
   if ((*env)->ExceptionOccurred(env))
     { JCL_ThrowException(env, IO_EXCEPTION, "Internal error"); return; }
 
@@ -467,3 +468,4 @@
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
+

--------------050505070403020300080008
Content-Type: text/plain;
 name="gnu_java_net_PlainSocketImpl.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="gnu_java_net_PlainSocketImpl.patch"

--- gnu_java_net_PlainSocketImpl.c	Fri Oct 29 10:18:05 2004
+++ gnu_java_net_PlainSocketImpl.c.new	Fri Oct 29 10:17:24 2004
@@ -68,13 +68,13 @@
  * Creates a new stream or datagram socket
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainSocketImpl_create(JNIEnv *env, jobject this, jboolean stream)
+Java_gnu_java_net_PlainSocketImpl_create(JNIEnv *env, jobject thiz, jboolean stream)
 {
 #ifndef WITHOUT_NETWORK
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  _javanet_create(env, this, stream);
+  _javanet_create(env, thiz, stream);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -86,13 +86,13 @@
  * action as well.
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainSocketImpl_close(JNIEnv *env, jobject this)
+Java_gnu_java_net_PlainSocketImpl_close(JNIEnv *env, jobject thiz)
 {
 #ifndef WITHOUT_NETWORK
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  _javanet_close(env, this, 1);
+  _javanet_close(env, thiz, 1);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -103,14 +103,14 @@
  * Connects to the specified destination.
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainSocketImpl_connect(JNIEnv *env, jobject this, 
+Java_gnu_java_net_PlainSocketImpl_connect(JNIEnv *env, jobject thiz, 
                                       jobject addr, jint port)
 {
 #ifndef WITHOUT_NETWORK
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  _javanet_connect(env, this, addr, port);
+  _javanet_connect(env, thiz, addr, port);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -123,14 +123,14 @@
  * variables. 
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainSocketImpl_bind(JNIEnv *env, jobject this, jobject addr,
+Java_gnu_java_net_PlainSocketImpl_bind(JNIEnv *env, jobject thiz, jobject addr,
                                    jint port)
 {
 #ifndef WITHOUT_NETWORK
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  _javanet_bind(env, this, addr, port, 1);
+  _javanet_bind(env, thiz, addr, port, 1);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -142,13 +142,13 @@
  * connections allowed.
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainSocketImpl_listen(JNIEnv *env, jobject this, jint queuelen)
+Java_gnu_java_net_PlainSocketImpl_listen(JNIEnv *env, jobject thiz, jint queuelen)
 {
 #ifndef WITHOUT_NETWORK
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  _javanet_listen(env, this, queuelen);
+  _javanet_listen(env, thiz, queuelen);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -160,13 +160,13 @@
  * object. Note that we assume this is a PlainSocketImpl just like us.
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainSocketImpl_accept(JNIEnv *env, jobject this, jobject impl)
+Java_gnu_java_net_PlainSocketImpl_accept(JNIEnv *env, jobject thiz, jobject impl)
 {
 #ifndef WITHOUT_NETWORK
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  _javanet_accept(env, this, impl);
+  _javanet_accept(env, thiz, impl);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -174,7 +174,7 @@
 /*************************************************************************/
 
 JNIEXPORT jint JNICALL
-Java_gnu_java_net_PlainSocketImpl_available(JNIEnv *env, jobject this)
+Java_gnu_java_net_PlainSocketImpl_available(JNIEnv *env, jobject thiz)
 {
 #ifndef WITHOUT_NETWORK
   jclass   cls;
@@ -186,7 +186,7 @@
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  cls = (*env)->GetObjectClass(env, this);
+  cls = (*env)->GetObjectClass(env, thiz);
   if (cls == 0)
     {
       JCL_ThrowException(env, IO_EXCEPTION, "internal error");
@@ -200,7 +200,7 @@
       return 0;
     }
 
-  fd = (*env)->GetIntField(env, this, fid);
+  fd = (*env)->GetIntField(env, thiz, fid);
   
   TARGET_NATIVE_NETWORK_SOCKET_RECEIVE_AVAILABLE(fd,bytesAvailable,result);
   if (result != TARGET_NATIVE_OK)
@@ -211,6 +211,7 @@
 
   return bytesAvailable;
 #else /* not WITHOUT_NETWORK */
+  return 0;
 #endif /* not WITHOUT_NETWORK */
 }
 
@@ -220,14 +221,14 @@
  * This method sets the specified option for a socket
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainSocketImpl_setOption(JNIEnv *env, jobject this, 
+Java_gnu_java_net_PlainSocketImpl_setOption(JNIEnv *env, jobject thiz, 
                                         jint option_id, jobject val)
 {
 #ifndef WITHOUT_NETWORK
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  _javanet_set_option(env, this, option_id, val);
+  _javanet_set_option(env, thiz, option_id, val);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
@@ -238,15 +239,16 @@
  * This method sets the specified option for a socket
  */
 JNIEXPORT jobject JNICALL
-Java_gnu_java_net_PlainSocketImpl_getOption(JNIEnv *env, jobject this, 
+Java_gnu_java_net_PlainSocketImpl_getOption(JNIEnv *env, jobject thiz, 
                                         jint option_id)
 {
 #ifndef WITHOUT_NETWORK
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  return(_javanet_get_option(env, this, option_id));
+  return(_javanet_get_option(env, thiz, option_id));
 #else /* not WITHOUT_NETWORK */
+  return NULL;
 #endif /* not WITHOUT_NETWORK */
 }
 
@@ -256,15 +258,16 @@
  * Reads a buffer from a remote host
  */
 JNIEXPORT jint JNICALL
-Java_gnu_java_net_PlainSocketImpl_read(JNIEnv *env, jobject this, jarray buf,
+Java_gnu_java_net_PlainSocketImpl_read(JNIEnv *env, jobject thiz, jarray buf,
                                    jint offset, jint len)
 {
 #ifndef WITHOUT_NETWORK
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  return(_javanet_recvfrom(env, this, buf, offset, len, 0, 0));
+  return(_javanet_recvfrom(env, thiz, buf, offset, len, 0, 0));
 #else /* not WITHOUT_NETWORK */
+  return 0;
 #endif /* not WITHOUT_NETWORK */
 }
 
@@ -274,16 +277,18 @@
  * Writes a buffer to the remote host
  */
 JNIEXPORT void JNICALL
-Java_gnu_java_net_PlainSocketImpl_write(JNIEnv *env, jobject this, jarray buf,
+Java_gnu_java_net_PlainSocketImpl_write(JNIEnv *env, jobject thiz, jarray buf,
                                     jint offset, jint len)
 {
 #ifndef WITHOUT_NETWORK
   assert(env!=NULL);
   assert((*env)!=NULL);
 
-  _javanet_sendto(env, this, buf, offset, len, 0, 0);
+  _javanet_sendto(env, thiz, buf, offset, len, 0, 0);
 #else /* not WITHOUT_NETWORK */
 #endif /* not WITHOUT_NETWORK */
 }
 
 /* end of file */
+
+

--------------050505070403020300080008--




From MAILER-DAEMON Fri Oct 29 04:52:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CNSV7-000076-Fo
	for mharc-classpath@gnu.org; Fri, 29 Oct 2004 04:52:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CNSV4-00006J-NX
	for classpath@gnu.org; Fri, 29 Oct 2004 04:52:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CNSV4-00005v-10
	for classpath@gnu.org; Fri, 29 Oct 2004 04:52:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CNSV3-00005r-H9
	for classpath@gnu.org; Fri, 29 Oct 2004 04:52:45 -0400
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNSMR-0007dE-Ng
	for classpath@gnu.org; Fri, 29 Oct 2004 04:43:52 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-92-239.ewetel.net
	[80.228.92.239])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i9T8hdA3018118;
	Fri, 29 Oct 2004 10:43:40 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CNSNY-0000hb-R4; Fri, 29 Oct 2004 10:45:00 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Fri, 29 Oct 2004 10:44:02 +0200
User-Agent: KMail/1.6.2
References: <4181FF90.8010601@aicas.com>
In-Reply-To: <4181FF90.8010601@aicas.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200410291044.02592.konqueror@gmx.de>
X-CheckCompat: OK
Cc: "Dr. Torsten Rupp" <rupp@aicas.com>, Andy Walter <anwalt@aicas.com>
Subject: Re: Patch for gnu_java_net_PlainDatagramSocketImpl.c
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Oct 2004 08:52:47 -0000

Am Freitag, 29. Oktober 2004 10:30 schrieb Dr. Torsten Rupp:
> Hi,
>
> gnu_java_net_PlainDatagramSocketImpl.c seems to contain a small
> error. Please find a patch below. I also changed "this" into "thiz"
> for C++-compatibility in gnu_java_net_PlainDatagramSocketImpl.c and
> gnu_java_net_PlainSocketImpl.c .

Thanks for your contribution.

It was hard for me to see the functional changes in your patch as it 
does functional changes and code cleanups. Can you please provide 
seperate patches for this in the future ?

We should rewrite all usages of "this" to "obj". I think this is most 
common name inside GNU classpath sources and cleaning this up to use 
one name for the same thing over all is good.

I can't test this patch because I go into holiday today. I'm sure MArk 
will test it and do the right comments on it. From what I saw as 
functional changes it was okay.


Thanks,

Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Oct 29 05:02:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CNSeI-0001jf-KE
	for mharc-classpath@gnu.org; Fri, 29 Oct 2004 05:02:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CNSeF-0001jV-TT
	for classpath@gnu.org; Fri, 29 Oct 2004 05:02:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CNSeE-0001jJ-Dy
	for classpath@gnu.org; Fri, 29 Oct 2004 05:02:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CNSeD-0001jG-TR
	for classpath@gnu.org; Fri, 29 Oct 2004 05:02:14 -0400
Received: from [212.6.122.28] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNSW8-0001AT-9O
	for classpath@gnu.org; Fri, 29 Oct 2004 04:53:52 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-92-239.ewetel.net
	[80.228.92.239])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i9T8rnmk017905;
	Fri, 29 Oct 2004 10:53:50 +0200 (MEST)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CNSXO-0000hv-Nw; Fri, 29 Oct 2004 10:55:10 +0200
From: Michael Koch <konqueror@gmx.de>
To: java@gcc.gnu.org
Date: Fri, 29 Oct 2004 10:54:12 +0200
User-Agent: KMail/1.6.2
References: <200410271004.16003.konqueror@gmx.de>
In-Reply-To: <200410271004.16003.konqueror@gmx.de>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200410291054.12740.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: GTK peer
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Oct 2004 09:02:16 -0000

Am Mittwoch, 27. Oktober 2004 10:04 schrieb Michael Koch:
> Hi list,
>
>
> I wrote a little shell script locally to scan the GTK peer JNI
> headers and their implementation files for missing methods and
> noticed the following:
>
> This method is in an implementation file but in no header:
>
> Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoShowGlyphs
>
> These methods are mentioned in a header file but not in an
> implementation file:
>
> Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject
> Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetVisible
> Java_gnu_java_awt_peer_gtk_GtkFramePeer_nativeSetIconImageFromData
> Java_gnu_java_awt_peer_gtk_GtkMenuComponentPeer_dispose
> Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_gtkScrolledWindowSetSc
>rollPosition
>
> Somebody hacking on this should look into this.
>
> I will polish my script snippet a bit more and the submit it as
> patch for Makefile.am for GNU classpath and libgcj.

I commited some patches to GNU classpath which solves most of the 
issues with the above methods. The remaining issues are with:

Java_gnu_java_awt_peer_gtk_GtkFramePeer_nativeSetIconImageFromData
Java_gnu_java_awt_peer_gtk_GtkMenuComponentPeer_dispose

I wasn't able to find the right solution for them at first look.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Oct 29 10:10:27 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CNXSV-0000Ls-MV
	for mharc-classpath@gnu.org; Fri, 29 Oct 2004 10:10:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CNXSU-0000Ld-Hx
	for classpath@gnu.org; Fri, 29 Oct 2004 10:10:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CNXST-0000Kz-B4
	for classpath@gnu.org; Fri, 29 Oct 2004 10:10:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CNXST-0000Kw-8I
	for classpath@gnu.org; Fri, 29 Oct 2004 10:10:25 -0400
Received: from [209.225.28.210] (helo=mxsf10.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNXIX-0008Bn-Dq
	for classpath@gnu.org; Fri, 29 Oct 2004 10:00:09 -0400
Received: from mxip18.cluster1.charter.net (mxip18a.cluster1.charter.net
	[209.225.28.148])
	by mxsf10.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i9TE04Th025400
	for <classpath@gnu.org>; Fri, 29 Oct 2004 10:00:05 -0400
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip18.cluster1.charter.net with ESMTP; 29 Oct 2004 10:00:04 -0400
X-Ironport-AV: i="3.86,110,1096862400"; 
	d="scan'208"; a="485030696:sNHT19038886"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA37373;
	Fri, 29 Oct 2004 08:49:17 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i9TDnGNN002852; 
	Fri, 29 Oct 2004 08:49:16 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i9TDnGsr002851;
	Fri, 29 Oct 2004 08:49:16 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200410291349.i9TDnGsr002851@arch20m.dellroad.org>
In-Reply-To: <4181FF90.8010601@aicas.com>
To: "Dr. Torsten Rupp" <rupp@aicas.com>
Date: Fri, 29 Oct 2004 08:49:15 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: Andy Walter <anwalt@aicas.com>, classpath <classpath@gnu.org>
Subject: Re: Patch for gnu_java_net_PlainDatagramSocketImpl.c
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Oct 2004 14:10:27 -0000

Dr. Torsten Rupp wrote:
> gnu_java_net_PlainDatagramSocketImpl.c seems to contain a small error. 
> Please find a patch below. I also changed "this" into "thiz" for 
> C++-compatibility in gnu_java_net_PlainDatagramSocketImpl.c and 
> gnu_java_net_PlainSocketImpl.c .
> 
> -Java_gnu_java_net_PlainDatagramSocketImpl_receive0(JNIEnv *env, jobject this, 
> +Java_gnu_java_net_PlainDatagramSocketImpl_receive0(JNIEnv *env, jobject thiz, 
>                                                jobject packet)
>  {
>  #ifndef WITHOUT_NETWORK
> -  int  addr, port, bytes_read;
> -  unsigned int maxlen, offset;
> +  int           addr, port;
> +  unsigned int  maxlen, offset, bytes_read;
>    jclass        cls, addr_cls;
>    jfieldID	fid;
>    jmethodID     mid;
> @@ -242,7 +243,7 @@
>  
>    /* Receive the packet */
>    /* should we try some sort of validation on the length? */
> -  bytes_read = _javanet_recvfrom(env, this, arr, offset, maxlen, &addr, &port); 
> +  bytes_read = _javanet_recvfrom(env, thiz, arr, offset, maxlen, &addr, &port); 
>    if ((bytes_read == -1) || (*env)->ExceptionOccurred(env))
>      {
>        JCL_ThrowException(env, IO_EXCEPTION, "Internal error: receive");

You changed bytes_read to an unsigned int, yet you are still comparing
it to -1 .. so something seems not quite right.

-Archie

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



From MAILER-DAEMON Fri Oct 29 10:27:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CNXj5-00046G-HX
	for mharc-classpath@gnu.org; Fri, 29 Oct 2004 10:27:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CNXj3-000463-Qd
	for classpath@gnu.org; Fri, 29 Oct 2004 10:27:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CNXj2-00045R-FW
	for classpath@gnu.org; Fri, 29 Oct 2004 10:27:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CNXj2-00045O-CF
	for classpath@gnu.org; Fri, 29 Oct 2004 10:27:32 -0400
Received: from [212.227.126.189] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNXao-0002fN-Qt
	for classpath@gnu.org; Fri, 29 Oct 2004 10:19:03 -0400
Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1CNXa0-0003bY-00
	for classpath@gnu.org; Fri, 29 Oct 2004 16:18:12 +0200
Received: from [212.126.219.82] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 1CNXa0-0002p7-00; Fri, 29 Oct 2004 16:18:12 +0200
Message-ID: <41825123.4080702@aicas.com>
Date: Fri, 29 Oct 2004 16:18:11 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.76.5.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	auth:f9c39743fddc2557f7fa7c1a513f7ea5
Subject: Last patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Oct 2004 14:27:34 -0000

Dear Classpath-member,

in my last patch for gnu_java_net_PlainDatagramSocketImpl.c is a small 
error causing a warning:

bytes_read = _javanet_recvfrom(env, thiz, arr, offset, maxlen, &addr, 
&port);

bytes_read have to be "int" not "unsigned int". Sorry.

By,

Torsten




From MAILER-DAEMON Fri Oct 29 10:33:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CNXoM-0005jW-2e
	for mharc-classpath@gnu.org; Fri, 29 Oct 2004 10:33:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CNXoK-0005j0-1G
	for classpath@gnu.org; Fri, 29 Oct 2004 10:33:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CNXoJ-0005ih-DS
	for classpath@gnu.org; Fri, 29 Oct 2004 10:32:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CNXoJ-0005iW-9P
	for classpath@gnu.org; Fri, 29 Oct 2004 10:32:59 -0400
Received: from [212.227.126.185] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNXfz-0003Wi-PM
	for classpath@gnu.org; Fri, 29 Oct 2004 10:24:23 -0400
Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1CNXfz-0003ZF-00
	for classpath@gnu.org; Fri, 29 Oct 2004 16:24:23 +0200
Received: from [212.126.219.82] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 1CNXfz-0000bW-00; Fri, 29 Oct 2004 16:24:23 +0200
Message-ID: <41825296.30108@aicas.com>
Date: Fri, 29 Oct 2004 16:24:22 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.76.5.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	auth:f9c39743fddc2557f7fa7c1a513f7ea5
Cc: Andy Walter <anwalt@aicas.com>
Subject: Usage of "attribute"
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Oct 2004 14:33:00 -0000

Dear Classpath-members,

after my last update of the Classpath sources I detected some parameters 
of functions which are unused and are marked by

__attribute__ ((__unused__)

Unfortunatelly this is not portable to some non-GNU compilers (as I 
know... at least I have one C-compiler for ARM which can not handle 
this). Can we use a macro for this? E. g.

#ifdef __GNUC__
   #define VARIABLE_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
#else
   #define VARIABLE_ATTRIBUTE_UNUSED
#endif

A configure-test would also be possible instead "#ifdef __GNUC__".


Another idea would be some construct of the form

if ((parameter)==(parameter));

for each unused parameter. This would avoid a C-compiler warning for 
still not implemented functions and keep the prototypes clean 
(implemenation later will become simpler, because the header files do 
not change).

By,

Torsten




From MAILER-DAEMON Fri Oct 29 11:46:58 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CNYxt-0000Mp-SN
	for mharc-classpath@gnu.org; Fri, 29 Oct 2004 11:46:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CNYxr-0000Mj-A7
	for classpath@gnu.org; Fri, 29 Oct 2004 11:46:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CNYxq-0000MX-S3
	for classpath@gnu.org; Fri, 29 Oct 2004 11:46:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CNYxq-0000MU-OO
	for classpath@gnu.org; Fri, 29 Oct 2004 11:46:54 -0400
Received: from [193.14.119.138] (helo=johanna.resare.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNYpj-0006YT-Ry
	for classpath@gnu.org; Fri, 29 Oct 2004 11:38:32 -0400
Received: from molly.resare.com
	(c-771f72d5.01-60-6c6b701.cust.bredbandsbolaget.se [213.114.31.119])
	by johanna.resare.com (Postfix) with ESMTP id BCC9AD6BD0
	for <classpath@gnu.org>; Fri, 29 Oct 2004 17:37:39 +0200 (CEST)
Received: from 192.168.110.42 (marit [192.168.110.42])
	by molly.resare.com (Postfix) with ESMTP id 6DC89D2E1B
	for <classpath@gnu.org>; Fri, 29 Oct 2004 17:38:29 +0200 (CEST)
From: Noa Resare <noa@resare.com>
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="=-+bW32Uw/JZ22fzjWTrQe"
Date: Fri, 29 Oct 2004 17:38:28 +0200
Message-Id: <1099064309.3733.29.camel@c-241f72d5.01-60-6c6b701.cust.bredbandsbolaget.se>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.1 (2.0.1-2) 
Subject: DST related Calendar regression
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Oct 2004 15:46:55 -0000


--=-+bW32Uw/JZ22fzjWTrQe
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On 04-10-08 mckinlay@redhat.com checked in changes to java.util.Calendar
that effectively made an explicitly set DST_OFFSET value to a function
of the set TimeZone for the Calendar object if an other field (such as
YEAR) is set in the calendar after DST_OFFSET is set.

I think this is wrong, as someone who sets DST_OFFSET explicitly and not
via .setTimeZone() presumably knows what she is doing and expects the
provided DST_OFFSET to be used.

A concrete example of this is when you use a SimpleDateFormat to parse a
date with timezone information. Under certain circumstances[1] the
underlying Calendar uses the current TimeZone for DST info instead of
the information provided in the date to be parsed.

The real problem here is that there are two ways of specifying timezone
information, either by Calendar.setTimeZone() or by setting DST_OFFSET
and ZONE_OFFSET with Calendar.set(). When these two pieces of
information are in conflict we need to determine which one to use.

The attached patch implements a behavior when the value of DST_OFFSET is
calculated as a function of the value of getTimeZone() and the current
time except when the user explicitly sets DST_OFFSET. In that case the
value of DST_OFFSET overrides the value derived from the timezone. 

The patch doesn't have any mauve regressions as verified by my testdiff
[2] tool.

/noa

ps. This also fixes DateFormatTest regression in kaffe.

1) the last test in mauve gnu/testlet/java/text/SimpleDateFormat/regress
2) http://resare.com/noa/testdiff/


--=-+bW32Uw/JZ22fzjWTrQe
Content-Disposition: attachment; filename=classpath-calendar.patch
Content-Type: text/x-patch; name=classpath-calendar.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit

Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.2719
diff -u -r1.2719 ChangeLog
--- ChangeLog	29 Oct 2004 08:54:34 -0000	1.2719
+++ ChangeLog	29 Oct 2004 15:40:05 -0000
@@ -1,3 +1,8 @@
+2004-10-29  Noa Resare  <noa@resare.com>
+
+	* java/util/Calendar.java(set):
+	Fix for DST related regression.
+
 2004-10-29  Michael Koch  <konqueror@gmx.de>
 
 	* gnu/java/awt/peer/gtk/GtkComponentPeer.java
Index: java/util/Calendar.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/Calendar.java,v
retrieving revision 1.30
diff -u -r1.30 Calendar.java
--- java/util/Calendar.java	22 Oct 2004 17:15:57 -0000	1.30
+++ java/util/Calendar.java	29 Oct 2004 15:40:06 -0000
@@ -347,6 +347,13 @@
   private int minimalDaysInFirstWeek;
 
   /**
+   * Is set to true if DST_OFFSET is explicitly set. In that case
+   * it's value overrides the value computed from the current
+   * time and the timezone. 
+   */
+  private boolean explicitDSTOffset = false;
+
+  /**
    * The version of the serialized data on the stream. 
    * <dl><dt>0 or not present</dt>
    * <dd> JDK 1.1.5 or later.</dd>
@@ -650,10 +657,12 @@
       case HOUR:
 	isSet[HOUR_OF_DAY] = false;
 	break;
+      case DST_OFFSET:
+        explicitDSTOffset = true;
       }
 
     // May have crossed over a DST boundary.
-    if (field != DST_OFFSET && field != ZONE_OFFSET)
+    if (!explicitDSTOffset && (field != DST_OFFSET && field != ZONE_OFFSET))
       isSet[DST_OFFSET] = false;
   }
 
@@ -676,7 +685,8 @@
     isSet[DAY_OF_WEEK] = false;
     isSet[DAY_OF_WEEK_IN_MONTH] = false;
 
-    isSet[DST_OFFSET] = false;  // May have crossed a DST boundary.
+    if (!explicitDSTOffset)
+      isSet[DST_OFFSET] = false;  // May have crossed a DST boundary.
   }
 
   /**

--=-+bW32Uw/JZ22fzjWTrQe--




From MAILER-DAEMON Fri Oct 29 12:00:36 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CNZB6-0003Wg-2O
	for mharc-classpath@gnu.org; Fri, 29 Oct 2004 12:00:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CNZB3-0003W5-F1
	for classpath@gnu.org; Fri, 29 Oct 2004 12:00:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CNZB2-0003Vt-S2
	for classpath@gnu.org; Fri, 29 Oct 2004 12:00:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CNZB2-0003Vp-Gs
	for classpath@gnu.org; Fri, 29 Oct 2004 12:00:32 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNZ30-0000KG-Pr
	for classpath@gnu.org; Fri, 29 Oct 2004 11:52:15 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Fri, 29 Oct 2004 11:55:45 -0400
Message-ID: <41826727.3010005@netreach.com>
Date: Fri, 29 Oct 2004 11:52:07 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>, Kaffe <kaffe@kaffe.org>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 29 Oct 2004 15:55:45.0443 (UTC)
	FILETIME=[C03EAF30:01C4BDCF]
Cc: 
Subject: Japi results updated - full 1.0 and 1.1 *extremely* close
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Oct 2004 16:00:34 -0000

Two japi developments on the same day :)

Firstly it looks like Tom's gcj issues are solved so we have an 
up-to-date classpath japi file[1].

Secondly, I just implemented the filtering out of errors caused by 
incompatibility between, say, JDK1.1 and JDK1.4. It turns out that when 
I do this, Classpath has exactly 3 errors against 1.0 (three missing 
fields on java.awt.Font) and 5 errors against 1.1 (the same three, plus 
one missing method and the non-deprecatedness of getenv which I believe 
matches 1.5 instead)

Libgcj people, you have one additional error: java.lang.Class has the 
wrong SerialVersionUID.

Kaffe developers, you seem to be at the same level of coverage except 
for three problems in java.util.zip, and the fact that your compiler 
doesn't seem to be accurately preserving deprecatedness, so a whole 
bunch of deprecation problems show up. Might be worth fixing that too ;)

I have a few more things I want to do before making a release of this, 
but I thought people might want to know about this so they can 
immediately set to fixing those 4 remaining errors to claim complete 1.1 
and 1.0 coverage :)

For the full results see the website, http://www.kaffe.org/~stuart/japi/

Thanks to Michael Koch for the key insight that made this possible.

Stuart.

[1] The classpath japi file doesn't appear to include JAXP or JacORB, so 
the results in these areas don't quite reflect reality.
-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Fri Oct 29 12:02:00 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CNZCR-0003ms-Si
	for mharc-classpath@gnu.org; Fri, 29 Oct 2004 12:01:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CNZCP-0003lb-Eb
	for classpath@gnu.org; Fri, 29 Oct 2004 12:01:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CNZCO-0003l4-Ju
	for classpath@gnu.org; Fri, 29 Oct 2004 12:01:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CNZCO-0003l0-Fw
	for classpath@gnu.org; Fri, 29 Oct 2004 12:01:56 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CNZ4V-0000b4-4Y
	for classpath@gnu.org; Fri, 29 Oct 2004 11:53:47 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9TFrdiB031207;
	Fri, 29 Oct 2004 11:53:39 -0400
Received: from opsy.redhat.com (vpn50-5.rdu.redhat.com [172.16.50.5])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9TFrXr25290; 
	Fri, 29 Oct 2004 11:53:34 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id A9F782DC132; Fri, 29 Oct 2004 09:52:32 -0600 (MDT)
Sender: tromey@redhat.com
To: "Dr. Torsten Rupp" <rupp@aicas.com>
References: <41825296.30108@aicas.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 29 Oct 2004 09:52:32 -0600
In-Reply-To: <41825296.30108@aicas.com>
Message-ID: <m37jp98qtb.fsf@localhost.localdomain>
Lines: 26
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Andy Walter <anwalt@aicas.com>, classpath <classpath@gnu.org>
Subject: Re: Usage of "attribute"
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Oct 2004 16:01:57 -0000

>>>>> "Torsten" == Torsten Rupp <rupp@aicas.com> writes:

Torsten> Unfortunatelly this is not portable to some non-GNU compilers (as I
Torsten> know... at least I have one C-compiler for ARM which can not handle
Torsten> this). Can we use a macro for this? E. g.
Torsten> #ifdef __GNUC__
Torsten>    #define VARIABLE_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
Torsten> #else
Torsten>    #define VARIABLE_ATTRIBUTE_UNUSED
Torsten> #endif

gtkpeer.h does this:

#ifndef __GNUC__
#define __attribute__(x) /* nothing */
#endif

Just go ahead and add this to whatever other header needs it.

Torsten> Another idea would be some construct of the form
Torsten> if ((parameter)==(parameter));

IMO it is better to use attribute.  These little tricks have a way of
breaking as compilers change.

Tom



From MAILER-DAEMON Sun Oct 31 14:37:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1COLVn-0003lT-JE
	for mharc-classpath@gnu.org; Sun, 31 Oct 2004 14:37:11 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1COLVl-0003hy-QI
	for classpath@gnu.org; Sun, 31 Oct 2004 14:37:09 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1COLVl-0003hW-A0
	for classpath@gnu.org; Sun, 31 Oct 2004 14:37:09 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1COLVl-0003hR-7n
	for classpath@gnu.org; Sun, 31 Oct 2004 14:37:09 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1COLNT-00060n-Ho
	for classpath@gnu.org; Sun, 31 Oct 2004 14:28:35 -0500
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1COLMt-00053v-00; Sun, 31 Oct 2004 20:27:59 +0100
From: Mark Wielaard <mark@klomp.org>
To: "Dr. Torsten Rupp" <rupp@aicas.com>
In-Reply-To: <4181FF90.8010601@aicas.com>
References: <4181FF90.8010601@aicas.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-B7BHc7VxWFoWPEhdLlOJ"
Message-Id: <1099250909.5756.52.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 31 Oct 2004 20:28:29 +0100
Cc: Andy Walter <anwalt@aicas.com>, classpath <classpath@gnu.org>
Subject: Re: Patch for gnu_java_net_PlainDatagramSocketImpl.c
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Oct 2004 19:37:10 -0000


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

Hi,

On Fri, 2004-10-29 at 10:30, Dr. Torsten Rupp wrote:
> gnu_java_net_PlainDatagramSocketImpl.c seems to contain a small error.=20
> Please find a patch below. I also changed "this" into "thiz" for=20
> C++-compatibility in gnu_java_net_PlainDatagramSocketImpl.c and=20
> gnu_java_net_PlainSocketImpl.c .

Please provide a ChangeLog entry next time.
It was hard to find the actual patch.
I saw the correction of checking that fid was not NULL after getting the
maxlen field id. And you added code for a WITHOUT_NETWORK code path in a
couple of places. Were that the only real code changes in the patch?

A suggested ChangeLog would be:

2004-10-31  Torsten Rupp   <rupp@aicas.com>

	* native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
	Rename all 'this' arguments to functions to 'thiz'.
	Add dummy return values for WITHOUT_NETWORK code path.
	(Java_gnu_java_net_PlainDatagramSocketImpl_receive0):
	Check fid not NULL for maxlen field id.

See also http://www.gnu.org/software/classpath/docs/hacking.html#SEC9

We never actually define WITHOUT_NETWORK.
How do you configure and compile normally?
We should probably add a --disable-network configuration flag that
defines this.

Cheers,

Mark

BTW. Patches are normally discussed on classpath-patches@gnu.org
     <http://lists.gnu.org/mailman/listinfo/classpath-patches>

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

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

iD8DBQBBhTzdxVhZCJWr9QwRAoePAJ9d2nTgLaShfgzAuM0L3gvZF49XygCfZ23n
z531On1kean/ybsEDki87n0=
=2Fta
-----END PGP SIGNATURE-----

--=-B7BHc7VxWFoWPEhdLlOJ--




From MAILER-DAEMON Sun Oct 31 14:37:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1COLWN-0004FH-OY
	for mharc-classpath@gnu.org; Sun, 31 Oct 2004 14:37:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1COLWM-0004Ey-42
	for classpath@gnu.org; Sun, 31 Oct 2004 14:37:46 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1COLWL-0004EU-6y
	for classpath@gnu.org; Sun, 31 Oct 2004 14:37:45 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1COLWL-0004EG-2k
	for classpath@gnu.org; Sun, 31 Oct 2004 14:37:45 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1COLOK-00068Q-Cb
	for classpath@gnu.org; Sun, 31 Oct 2004 14:29:28 -0500
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1COLNc-000540-00; Sun, 31 Oct 2004 20:28:44 +0100
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <m37jp98qtb.fsf@localhost.localdomain>
References: <41825296.30108@aicas.com> <m37jp98qtb.fsf@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-FNgj1hPImIjQuWai8ikc"
Message-Id: <1099250955.5751.55.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 31 Oct 2004 20:29:15 +0100
Cc: "Dr. Torsten Rupp" <rupp@aicas.com>, classpath <classpath@gnu.org>,
	Andy Walter <anwalt@aicas.com>
Subject: Re: Usage of "attribute"
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Oct 2004 19:37:46 -0000


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

Hi,

On Fri, 2004-10-29 at 17:52, Tom Tromey wrote:
> gtkpeer.h does this:
>=20
> #ifndef __GNUC__
> #define __attribute__(x) /* nothing */
> #endif
>=20
> Just go ahead and add this to whatever other header needs it.

jcl.h is probably included everywhere.

> Torsten> Another idea would be some construct of the form
> Torsten> if ((parameter)=3D=3D(parameter));
>=20
> IMO it is better to use attribute.  These little tricks have a way of
> breaking as compilers change.

Agreed. And I think it is more obscure than __attribute((__unused__)).

Cheers,

Mark

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

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

iD8DBQBBhT0LxVhZCJWr9QwRAqWOAJ9d0FWkwZLeP6sTEmj+/J7cQKy/fgCgqPcS
W0FD6Qs2LQVQ1vo6Se5UzbM=
=sRQE
-----END PGP SIGNATURE-----

--=-FNgj1hPImIjQuWai8ikc--




From MAILER-DAEMON Sun Oct 31 14:41:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1COLZf-0005fg-5a
	for mharc-classpath@gnu.org; Sun, 31 Oct 2004 14:41:11 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1COLZd-0005dZ-RB
	for classpath@gnu.org; Sun, 31 Oct 2004 14:41:09 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1COLZd-0005cx-AT
	for classpath@gnu.org; Sun, 31 Oct 2004 14:41:09 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1COLZd-0005co-7Y
	for classpath@gnu.org; Sun, 31 Oct 2004 14:41:09 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1COLRD-0006ZU-S2
	for classpath@gnu.org; Sun, 31 Oct 2004 14:32:28 -0500
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1COLQh-00054T-00; Sun, 31 Oct 2004 20:31:55 +0100
From: Mark Wielaard <mark@klomp.org>
To: "Dr. Torsten Rupp" <rupp@aicas.com>
In-Reply-To: <41825123.4080702@aicas.com>
References: <41825123.4080702@aicas.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-nHB65El15C4ShH/w3lAI"
Message-Id: <1099251145.5756.58.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 31 Oct 2004 20:32:26 +0100
Cc: classpath <classpath@gnu.org>
Subject: Re: Last patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Oct 2004 19:41:10 -0000


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

Hi,

On Fri, 2004-10-29 at 16:18, Dr. Torsten Rupp wrote:
> in my last patch for gnu_java_net_PlainDatagramSocketImpl.c is a small=20
> error causing a warning:
>
> bytes_read have to be "int" not "unsigned int". Sorry.

Could you resubmit the patch with this cleaned up?

Thanks,

Mark

P.S. Don't forget to update the copyright by adding the current year to
files you change. I believe this has not always been done for this file.
But lets try to keep it up to date.

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

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

iD8DBQBBhT3JxVhZCJWr9QwRAlS8AJsFj0KLC6MjYEgA/hjoX9ee2qZ05QCgoDXj
opRie8BIcpSHeRUz3aATlno=
=vSDz
-----END PGP SIGNATURE-----

--=-nHB65El15C4ShH/w3lAI--




From MAILER-DAEMON Sun Oct 31 15:12:16 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1COM3k-0005Nm-C1
	for mharc-classpath@gnu.org; Sun, 31 Oct 2004 15:12:16 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1COM3h-0005N0-9B
	for classpath@gnu.org; Sun, 31 Oct 2004 15:12:13 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1COM3g-0005MM-0l
	for classpath@gnu.org; Sun, 31 Oct 2004 15:12:12 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1COM3f-0005Lz-9D
	for classpath@gnu.org; Sun, 31 Oct 2004 15:12:11 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1COLvG-0003SH-5f
	for classpath@gnu.org; Sun, 31 Oct 2004 15:03:30 -0500
Received: from slauerhoff.wildebeest.org ([192.168.1.27] ident=mark)
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1COLud-0005CH-00; Sun, 31 Oct 2004 21:02:51 +0100
From: Mark Wielaard <mark@klomp.org>
To: Noa Resare <noa@resare.com>
In-Reply-To: <1099064309.3733.29.camel@c-241f72d5.01-60-6c6b701.cust.bredbandsbolaget.se>
References: <1099064309.3733.29.camel@c-241f72d5.01-60-6c6b701.cust.bredbandsbolaget.se>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-zvtTFMA5VrNb/3VXBgtK"
Message-Id: <1099253001.5750.69.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 31 Oct 2004 21:03:21 +0100
Cc: classpath@gnu.org
Subject: Re: DST related Calendar regression
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Oct 2004 20:12:13 -0000


--=-zvtTFMA5VrNb/3VXBgtK
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Noa,

On Fri, 2004-10-29 at 17:38, Noa Resare wrote:
> The attached patch implements a behavior when the value of DST_OFFSET is
> calculated as a function of the value of getTimeZone() and the current
> time except when the user explicitly sets DST_OFFSET. In that case the
> value of DST_OFFSET overrides the value derived from the timezone.=20

I agree with your analyses and have checked in your patch. But with a
little more explicit ChangeLog entry:

2004-10-31  Noa Resare  <noa@resare.com>=20

        * java/util/Calendar.java (explicitDSTOffset): New instance field.
        (set(int,int)): Set and use new field.
        (set(int,int,int)): Check new field.

> The patch doesn't have any mauve regressions as verified by my testdiff
> [2] tool.
> 2) http://resare.com/noa/testdiff/

That is a very nice tool!

> ps. This also fixes DateFormatTest regression in kaffe.

Should/Could these tests be added to mauve?
Then other hackers will also run them more regularly when updating the
GNU Classpath class library.

Thanks,

Mark

BTW. Please send (proposed) patches to classpath-patches@gnu.org

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

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

iD8DBQBBhUUIxVhZCJWr9QwRAtrVAKCe8z16ov4uqvjXLy1e75UfWdfg+gCeKr74
rzFjSoAGj9D0hDqNs4BxdLo=
=frU3
-----END PGP SIGNATURE-----

--=-zvtTFMA5VrNb/3VXBgtK--




