From MAILER-DAEMON Fri Jul 01 05:00:19 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoHNg-0004VA-EX
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 05:00:16 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoHNS-0004ON-N8
	for classpath@gnu.org; Fri, 01 Jul 2005 05:00:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoHNO-0004Mp-O1
	for classpath@gnu.org; Fri, 01 Jul 2005 04:59:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoHNO-0004Mb-Eq
	for classpath@gnu.org; Fri, 01 Jul 2005 04:59:58 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DoHQv-0007Dk-B7; Fri, 01 Jul 2005 05:03:37 -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, 1 Jul 2005 10:58:18 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Message-ID: <D92197D0A6547B44A1567814F851FA680CADEB@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Eclipse broken with 0.16
Thread-Index: AcV+GwaZPEuU5QWhTDiTsk+4MGBiLw==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <dog@gnu.org>,
	"GNU Classpath" <classpath@gnu.org>
Cc: 
Subject: Eclipse broken with 0.16
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 Jul 2005 09:00:13 -0000

Hi Chris,

I just tried running Eclipse 3.0 and 3.1m5 and both crash when exiting,
due to a problem with persisting its settings:

java.lang.NullPointerException
	at gnu.xml.dom.DomNamedNodeMap.setNamedItem
(DomNamedNodeMap.java:209)
	at gnu.xml.dom.DomNamedNodeMap.setNamedItemNS
(DomNamedNodeMap.java:163)
	at gnu.xml.dom.DomElement.clone (DomElement.java:127)
	at gnu.xml.dom.DomNode.cloneNode (DomNode.java:1117)
	at gnu.xml.dom.DomNode.cloneNode (DomNode.java:1125)
	at gnu.xml.dom.DomNode.cloneNode (DomNode.java:1125)
	at gnu.xml.transform.TransformerImpl.transform
(TransformerImpl.java:191)
	at org.eclipse.ui.XMLMemento.save (XMLMemento.java)
	at org.eclipse.ui.internal.Workbench.saveMementoToFile
(Workbench.java)
	[...]

Can you please take a look at this?

Thanks,
Jeroen



From MAILER-DAEMON Fri Jul 01 05:31:32 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoHrv-000687-R8
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 05:31:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoHrr-00066G-Fb
	for classpath@gnu.org; Fri, 01 Jul 2005 05:31:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoHrl-000631-KR
	for classpath@gnu.org; Fri, 01 Jul 2005 05:31:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoHrk-00060i-SG
	for classpath@gnu.org; Fri, 01 Jul 2005 05:31:20 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DoHvC-0002k0-CE; Fri, 01 Jul 2005 05:34:54 -0400
Received: from dog by dinopsis.arachsys.com with local (Exim 3.35 #1)
	id 1DoHq5-00037C-00; Fri, 01 Jul 2005 10:29:37 +0100
Date: Fri, 1 Jul 2005 10:29:37 +0100
From: Chris Burdess <dog@bluezoo.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
Message-ID: <20050701092937.GA11657@bluezoo.org>
Mail-Followup-To: Jeroen Frijters <jeroen@sumatra.nl>, dog@gnu.org,
	GNU Classpath <classpath@gnu.org>
References: <D92197D0A6547B44A1567814F851FA680CADEB@LEMBU.sumatrasoftware.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CADEB@LEMBU.sumatrasoftware.com>
User-Agent: Mutt/1.3.28i
X-URL: http://www.bluezoo.org/
Cc: dog@gnu.org, GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 09:31:29 -0000

Jeroen Frijters wrote:
> I just tried running Eclipse 3.0 and 3.1m5 and both crash when exiting,
> due to a problem with persisting its settings:
> 
> java.lang.NullPointerException
> 	at gnu.xml.dom.DomNamedNodeMap.setNamedItem
> (DomNamedNodeMap.java:209)
> 	at gnu.xml.dom.DomNamedNodeMap.setNamedItemNS
> (DomNamedNodeMap.java:163)
> 	at gnu.xml.dom.DomElement.clone (DomElement.java:127)
> 	at gnu.xml.dom.DomNode.cloneNode (DomNode.java:1117)
> 	at gnu.xml.dom.DomNode.cloneNode (DomNode.java:1125)
> 	at gnu.xml.dom.DomNode.cloneNode (DomNode.java:1125)
> 	at gnu.xml.transform.TransformerImpl.transform
> (TransformerImpl.java:191)
> 	at org.eclipse.ui.XMLMemento.save (XMLMemento.java)
> 	at org.eclipse.ui.internal.Workbench.saveMementoToFile
> (Workbench.java)
> 	[...]
> 
> Can you please take a look at this?

Could you test it with current HEAD?
-- 
Chris Burdess



From MAILER-DAEMON Fri Jul 01 06:01:02 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoIKR-0007VC-S2
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 06:01:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoIKN-0007TB-BT
	for classpath@gnu.org; Fri, 01 Jul 2005 06:00:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoIKI-0007QP-2q
	for classpath@gnu.org; Fri, 01 Jul 2005 06:00:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoIKG-000765-6n
	for classpath@gnu.org; Fri, 01 Jul 2005 06:00:48 -0400
Received: from [195.41.46.237] (helo=pfepc.post.tele.dk)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoI9B-0005S4-6W
	for classpath@gnu.org; Fri, 01 Jul 2005 05:49:21 -0400
Received: from mh2 (unknown [83.89.170.34])
	by pfepc.post.tele.dk (Postfix) with ESMTP id D8EFE262851
	for <classpath@gnu.org>; Fri,  1 Jul 2005 11:43:43 +0200 (CEST)
Date: Fri, 01 Jul 2005 11:43:41 +0200
To: classpath@gnu.org
From: "Martin Husted Hartvig" <hagar@jnode.org>
Organization: JNode
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Message-ID: <op.ss8am3qsjy02mb@mh2>
User-Agent: Opera M2/8.01 (Win32, build 7642)
Content-Transfer-Encoding: quoted-printable
Subject: JNode release 0.2.1
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 Jul 2005 10:00:57 -0000

The JNode team is proud to announce the release of the version 0.2.1 of =20
the JNode.org operating system.
JNode.org is an open source java OS written fully in java (with a very =20
small assembler nano-kernel).

This release focused on improving the GUI handling and reducing the memor=
y =20
usages.
Screenshots are available here: http://www.jnode.org/node/132

New features & improvements in this release are:

Many GUI improvements
The first (NoGC) of a list of MMTk based garbage collector
Various memory reduction improvements
Support for plugin fragments


More information can be found at http://www.jnode.org







From MAILER-DAEMON Fri Jul 01 06:39:13 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoIvQ-0008Cv-WE
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 06:39:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoIvO-0008BS-82
	for classpath@gnu.org; Fri, 01 Jul 2005 06:39:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoIvM-0008Ae-GT
	for classpath@gnu.org; Fri, 01 Jul 2005 06:39:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoIt6-0007Xu-US
	for classpath@gnu.org; Fri, 01 Jul 2005 06:36:49 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DoIfR-0000dw-Dc; Fri, 01 Jul 2005 06:22:41 -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, 1 Jul 2005 12:17:23 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Message-ID: <D92197D0A6547B44A1567814F851FA680CADED@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Eclipse broken with 0.16
Thread-Index: AcV+H2aS4bxY2oqIQxWz5RHZGCq3xQABor0w
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Chris Burdess" <dog@bluezoo.org>
Cc: dog@gnu.org, GNU Classpath <classpath@gnu.org>
Subject: RE: Eclipse broken with 0.16
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 Jul 2005 10:39:11 -0000

Chris Burdess wrote:
> Jeroen Frijters wrote:
> > I just tried running Eclipse 3.0 and 3.1m5 and both crash=20
> when exiting,
> > due to a problem with persisting its settings:
> >=20
> > java.lang.NullPointerException
> > 	at gnu.xml.dom.DomNamedNodeMap.setNamedItem
> > (DomNamedNodeMap.java:209)
> > 	at gnu.xml.dom.DomNamedNodeMap.setNamedItemNS
> > (DomNamedNodeMap.java:163)
> > 	at gnu.xml.dom.DomElement.clone (DomElement.java:127)
> > 	at gnu.xml.dom.DomNode.cloneNode (DomNode.java:1117)
> > 	at gnu.xml.dom.DomNode.cloneNode (DomNode.java:1125)
> > 	at gnu.xml.dom.DomNode.cloneNode (DomNode.java:1125)
> > 	at gnu.xml.transform.TransformerImpl.transform
> > (TransformerImpl.java:191)
> > 	at org.eclipse.ui.XMLMemento.save (XMLMemento.java)
> > 	at org.eclipse.ui.internal.Workbench.saveMementoToFile
> > (Workbench.java)
> > 	[...]
> >=20
> > Can you please take a look at this?
>=20
> Could you test it with current HEAD?

It works with HEAD. Sorry, I hadn't noticed that you already checked in
some changes.

Regards,
Jeroen



From MAILER-DAEMON Fri Jul 01 07:37:03 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoJpP-00076H-FH
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 07:37:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoJpN-000753-1A
	for classpath@gnu.org; Fri, 01 Jul 2005 07:37:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoJpL-000746-Jy
	for classpath@gnu.org; Fri, 01 Jul 2005 07:37:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoJo9-00060j-9g
	for classpath@gnu.org; Fri, 01 Jul 2005 07:35:45 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DoJNe-0006ip-PY; Fri, 01 Jul 2005 07:08:23 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DoJIb-0004mq-00; Fri, 01 Jul 2005 13:03:09 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CADED@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CADED@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-INJcXs8nMl0hNMO0Qqiu"
Date: Fri, 01 Jul 2005 13:03:03 +0200
Message-Id: <1120215783.6005.5.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: GNU Classpath <classpath@gnu.org>, dog@gnu.org
Subject: RE: Eclipse broken with 0.16
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 Jul 2005 11:37:01 -0000


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

Hi,

On Fri, 2005-07-01 at 12:17 +0200, Jeroen Frijters wrote:
> Chris Burdess wrote:
> > Jeroen Frijters wrote:
> > > I just tried running Eclipse 3.0 and 3.1m5 and both crash=20
> > when exiting,
> > > due to a problem with persisting its settings:
> > >=20
> > > Can you please take a look at this?
> >=20
> > Could you test it with current HEAD?
>=20
> It works with HEAD. Sorry, I hadn't noticed that you already checked in
> some changes.

Sigh. My apologies. I had tested against 3.1-final and I hadn't seen
this failure. Chris said he had some extra fixes, but I didn't wait for
them for the release since I thought they were only for the transform
part. Seems I should have.

Workaround: Don't exit eclipse. See, it is just emacs :)

Sorry,

Mark

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

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

iD8DBQBCxSLnxVhZCJWr9QwRArCaAJ49rrQlD9HAUmQjJdIi3TvszsJv3QCgrmjr
6Ckf2+TMvvRCGx8HeIGh7RU=
=gSTX
-----END PGP SIGNATURE-----

--=-INJcXs8nMl0hNMO0Qqiu--




From MAILER-DAEMON Fri Jul 01 11:56:51 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoNso-0001Gf-KA
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 11:56:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoNsc-0001BI-Bd
	for classpath@gnu.org; Fri, 01 Jul 2005 11:56:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoNsO-00013T-EO
	for classpath@gnu.org; Fri, 01 Jul 2005 11:56:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoNsO-000134-CY
	for classpath@gnu.org; Fri, 01 Jul 2005 11:56:24 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoNvO-0000pH-Nw
	for classpath@gnu.org; Fri, 01 Jul 2005 11:59:31 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DoNqL-0006SF-00
	for <classpath@gnu.org>; Fri, 01 Jul 2005 17:54:17 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Pn7s6idu05xe48k4JTR+"
Date: Fri, 01 Jul 2005 17:54:13 +0200
Message-Id: <1120233254.6005.30.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: GNU Classpath 0.16 "Harmony!" released
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 Jul 2005 15:56:44 -0000


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

GNU Classpath 0.16 "Harmony!" released.

We are pleased to announce a new developer snapshot of GNU Classpath.

GNU Classpath, essential libraries for java, is a project to create free
core class libraries for use with runtimes, compilers and tools for the
java programming language.

The GNU Classpath developer snapshot releases are not directly aimed
at the end user but are meant to be integrated into larger development
platforms. For example the GCC (gcj) and Kaffe projects will use the
developer snapshots as a base for future versions.

This is the first release of GNU Classpath since our Harmony
collaboration with the Apache group.  Instructions for developers
wanting to try out and help with the core library implementation can
be found at: http://developer.classpath.org/

New is our wiki with simple steps to setup a quick development
environment.  For example developers using cygwin can find examples
here: http://developer.classpath.org/mediation/ClasspathOnCygwin

Some highlights of changes in this release (more extensive list below):

AWT GtkScrollBar and GtkImage improvements. All image operations are
now working correctly. Graphics2D has been upgraded to use Cairo
0.5.x. Free Swing updates for 1.5 top-level compatibility. JTree
interface completed. JFileChooser has been implemented. Completed
implementations of BoxLayout, GrayFilter and SplitPane. Upgraded the
Corba features to 1.3 and included new CORBA 2.3 features. Start of
generic JDWP framework. And lots of bug fixes based on real world
application usage.

31 people actively contributed code to this release and made 389 CVS
commits during the last two months of development. diffstat since 0.15:
1248 files changed, 133649 insertions(+), 41802 deletions(-)

More details about the various changes and contributions below.

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

File: classpath-0.16.tar.gz
MD5sum: 220a9c86719a2c6bd7ba9b9877495113
SHA1sum: be6d30fbfe4d71015a455a367411a6d55df3484e

This release depends on gtk+ 2.4 for AWT support. But gtk+ 2.6 or
higher is recommended. Included, but not activated by default in this
release is a Graphics2D implementation based on the Cairo Graphics
framework (http://www.cairographics.org). Enabling this makes programs
like JEdit start up on GNU Classpath based runtimes.  To enable this
support install the cairo 0.5.x snapshot, configure GNU Classpath with
--enable-gtk-cairo and make sure the system property
gnu.java.awt.peer.gtk.Graphics=3DGraphics2D is set.

This release was explicitly tested against the last Eclipse 3.1
release (thanks to various eclipse hackers for the support).  For end
user we do however recommend to use the GCJ4 packaged version of
Eclipse 3.1 that have been prepared for the various distributions:

Fedora Core
 http://overholt.ca/wp/?p=3D27
Debian GNU/Linux
 http://gnu.wildebeest.org/diary-man-di//index.php?p=3D19
Ubuntu
 http://www.larvalstage.net/index.php?/archives/2-Introducing-Eclipse-3.1.h=
tml

Not yet included is an implementation of Generic collection classes
and classes for other 1.5 language extensions.  Work on this is being
done on a special development branch that will be included in a future
GNU Classpath release when free runtimes, compilers and tools have all
been upgraded to support these new language features.

One of the major focuses of the GNU Classpath project is expanding
and using the Mauve test suite for Compatibility, Completeness and
Correctness checking.  Various groups around GNU Classpath collaborate
on the free software Mauve test suite which contains ~30.000 core
library tests.  Mauve has various modules for testing core class
library implementations, byte code verifiers, source to byte code and
native code compiler tests.  Mauve also contains the Wonka visual test
suite and the Jacks Compiler Killer Suite. This release passes 28801
of the mauve core library tests.  See for more information:
http://www.sourceware.org/mauve/

Conformance reports for the included jaxp support can be found in the
doc/README.jaxp file.

The GNU Classpath developers site http://developer.classpath.org/
provides detailed information on how to start with helping the GNU
Classpath project and gives an overview of the core class library
packages currently provided.  For each snapshot release generated
documentation is provided through the GNU Classpath Tools gjdoc
project. A documentation generation framework for java source files
used by the GNU project. Full documentation on the currently
implementated packages and classes can be found at:
http://developer.classpath.org/doc/

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

1). Who should use this software?

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

For end users we recommend to use one of the development environments
based on GNU Classpath which combine the core libraries with compilers
and other tools needed for creating applications and libraries.

    * GCC with GCJ  (http://gcc.gnu.org/java/)
    * Kaffe         (http://www.kaffe.org/)

Both projects have CVS versions which track GNU Classpath closely.

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

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

You will also need a runtime environment.  Most active GNU Classpath
hackers use JamVM (http://jamvm.sourceforge.net/) and the gcj or Jikes
bytecode compiler (http://www.jikes.org) for quick development.  But
other environments can certainly be used to hack on the GNU Classpath
core libraries.

For other environments that might need modified version of the current
release see the README file.  A complete list of virtual machines and
compilers known to be based on GNU Classpath can be found at our
website: http://www.gnu.org/software/classpath/stories.html

Note that these are just byte code execution compilers and/or
runtimes. For development of programs written in the java programming
language you will also need compilers and other tools for creating
libraries and/or executables (see question 1).

3). What platforms are supported?

GNU/Linux and FreeBSD on x86 and powerpc are regularly tested by the
developers.  Since 0.12 there is also support for cygwin.  We plan to
eventually support many others.  Many more architectures and platforms
are supported.  Check the actual runtime you use together with GNU
Classpath for detailed information on the supported platforms.

4). Where do I go for more information?

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

The GNU Classpath developer recently held a conference during Fosdem.
This was a standing room event and provided lot of communication between
the GNU Classpath, Kaffe, GCJ, IKVM, Apache, java-gnome and Cacao hackers
and users. The presentations of this event have been publised and should
give a good overview of the current status and future plans of the project:
http://www.gnu.org/software/classpath/events/escape_fosdem05.html

Developers wanting to help out with the project will find more
information and tools on http://developer.classpath.org/

5). How do I extend the functionality of the core classes?

Besides combining GNU Classpath with the runtimes and compilers above
you might want to add support for additional encryption libraries and
algorithms as provided by GNU Crypto
(http://www.gnu.org/software/gnu-crypto/).  And for additional
extension libraries (mail, activation, infobus, servlet, etc.) check
out GNU ClasspathX (http://www.gnu.org/software/classpathx).

Additional network protocol support is provided by a sub-project
called GNU Classpath Inetlib, an extension library to provide extra
network protocol support (ftp, finger, gopher) for GNU Classpath, but
it can also standalone to ease adding http, imap, pop3 and smtp client
support to applictions. Also distributed from
<ftp://ftp.gnu.org/gnu/classpath/>

The following projects extend the functionality of GNU Classpath
with additional algorithms, new core packages and tools.
All are released under GPL compatible licenses:

* Jessie: A free implementation of the JSSE. Secure Sockets Extension.
  http://www.nongnu.org/jessie/
* Tritonus: A implementation of the javax.sound API.
  http://www.tritonus.org/
* gcjwebplugin: A plugin for the execution of applets in web browsers.
  http://www.nongnu.org/gcjwebplugin/

Note that the above libraries might already have been included in the
various platforms that also integrate GNU Classpath like done by the
Kaffe project.

6). What is new in this release?

New in release 0.16 (Jun 30, 2005)
(See the ChangeLog file for a full list of changes.)

* Better GTK scrollbar peer implementation when using GTK >=3D 2.6.
* GdkGraphics2D has been updated to use Cairo 0.5.x APIs.
* BufferedImage and GtkImage rewrites. All image drawing operations
  should now work correctly (flipping requires gtk+ >=3D 2.6)
* Future Graphics2D, Image and Text work is documented at:
  http://developer.classpath.org/mediation/ClasspathGraphicsImagesText
* Free Swing Top-Level Compatibility. JFrame, JDialog, JApplet,
  JInternalFrame, and JWindow are now 1.5 compatible in the sense that you
  can call add() and setLayout() directly on them, which will have the same
  effect as calling getContentPane().add() and getContentPane().setLayout()=
.
* The JTree interface has been completed. JTrees now recognizes mouse click=
s
  and selections work, but the visual implementation is not yet complete.
  Work on expansion and collapsing of the tree nodes is being implemented.
* BoxLayout works properly now.
* Fixed GrayFilter to actually work.
* Metal SplitPane implemented.
* Lots of free swing text and editor stuff work now.

* When gtk+ 2.6 or higher is installed the default log handler will produce
  stack traces whenever a WARNING, CRITICAL or ERROR message is produced.

* The CORBA implementation is now a working prototype that should support
  features up till 1.3 inclusive.
  We would invite groups writing CORBA dependent applications to
  try Classpath implementation, reporting any possible bugs.

  The CORBA prototype is interoperable with Sun's implementation v 1.4,
  transferring object references, primitive types, narrow and wide
  strings, arrays, structures, trees, abstract interfaces and
  value types (feature of CORBA 2.3) between these two platforms.
  The remote exceptions are transferred and handled correctly.
  The stringified object references (IORs) from various sources are
  parsed as required.
  The transient (for current session) and permanent (till jre restart)
  redirections work.
  Both Little and Big Endian encoded messages are accepted.
  The implementation is verified using tests from the former cost.omg.org.
  The current release includes working examples (see the examples directory=
),
  demonstrating the client-server communication, using either CORBA Request
  or IDL-based  stub (usually generated by a IDL to java compiler).
  These examples also show how to use the Classpath CORBA naming service.
  The IDL to java compiler is not yet written, but as our library must be
  compatible, it naturally accepts the output of other idlj implementations=
.

* New --with-vm-classes configure option, and new 'build' setting
  for --with-glibj. (Only for integrators.)

Runtime interface changes:

* Start of a generic JDWP framework in gnu/classpath/jdwp.
  This is unfinished, but feedback (at classpath@gnu.org) from runtime
  hackers is greatly appreciated. Although most of the work is currently
  being done around gcj/gij we want this framework to be as VM neutral as
  possible. Early design is described in:
  http://gcc.gnu.org/ml/java/2005-05/msg00260.html
* Native method VMClass.getModifiers() now takes an additional
  boolean parameter.
* Deprecated native method VMClassLoader.defineClass(ClassLoader,
  String, byte[], int, int) has been replaced by
  VMClassLoader.defineClass(ClassLoader, String, byte[], int, int,
  ProtectionDomain)
* VMClassLoader.loadClass(String name, boolean resolve) is now native,
  replacing the former version which just returned null.
* Deprecated native method VMClassLoader.getPrimitiveClass(String) has
  been replaced by new native method VMClassLoader.getPrimitiveClass(char).
* Previously empty implementations of methods VMThread.countStackFrames(),
  VMThrowable.fillInStackTrace(), and VMThrowable.getStackTrace() have
  been removed; these methods are now native methods.
* Fields "exceptionTypes" and "parameterTypes" have been removed from
  Contructor.java and getExceptionTypes() and getParameterTypes() are
  now native methods.

The following people helped with this release:

Andreas Jaeger (mprec updates)
Andreas Tobler (Darwin support)
Andrew John Hughes (Locale and net fixes, URI RFC2986 updates)
Andrew Overholt (File locking)
Anthony Balkissoon (JList, Free Swing 1.5 updates  and mouse event fixes)
Archie Cobbs (VM interface updates)
Audrius Meskauskas (Corba and HTML work)
Bryce McKinlay (RMI work)
Chris Burdess (XML work)
Christian Thalinger (fdlibm updates)
Dalibor Topic (SHA1PRNG and GdkPixbugDecoder updates)
David Daney (BitSet bugfixes)
David Gilbert (Lots and lots of documentation and awt/swing fixes)
Gary Benson (MessageFormat fixes)
Goffredo Baroncelli (HTTPURLConnection fixes)
Jan Roehrich (JTree fixes)
Jeroen Frijters (ClassLoader and nio cleanups)
Ka-Hing Cheung (TreePath and TreeSelection fixes)
Kalle Olavi Niemitalo (Build fixes)
Keith Seitz (JDWP work)
Kim Ho (JFileChooser implementation)
Lillian Angel (JTree implementation and lots of bug fixes)
Mark Wielaard (build fixes, GdkPixpufDecoder fixes and packaging)
Michael Koch (Locale updates, bug and build fixes)
Olga Rodimina (MenuSelectionManager)
Robert Schuster (charset and awt fixes)
Roman Kennke (BoxLayout, GrayFilter and SplitPane, plus bugfixes all over)
Sven de Marothy (GtkImage rewrite, 2D, awt, free swing and date/time fixes)
Thomas Fitzsimmons (Lot of upgrades to the gtk+ AWT and cairo 2D support)
Tom Tromey (libgcj merging, build infrastructure and bug fixes)
Ziga Mahkovec (Graphics2D upgraded to cairo 0.5 and new regex features)

We would also like to thank the numerous bug reporters and testers!

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

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

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

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

iD8DBQBCxWclxVhZCJWr9QwRAuqnAJ92xYXnlb+MITMBS1xFgjf2QEkkJgCfRHWi
Gy7UoWcbcyRO6Pk68m6AORI=
=nzDo
-----END PGP SIGNATURE-----

--=-Pn7s6idu05xe48k4JTR+--




From MAILER-DAEMON Fri Jul 01 11:57:00 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoNsy-0001IZ-1o
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 11:57:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoNsl-0001FX-A3
	for classpath@gnu.org; Fri, 01 Jul 2005 11:56:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoNsa-0001AA-W2
	for classpath@gnu.org; Fri, 01 Jul 2005 11:56:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoNsY-000134-38
	for classpath@gnu.org; Fri, 01 Jul 2005 11:56:34 -0400
Received: from [129.78.64.52] (helo=dhaka.ucc.usyd.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoNjI-0008SX-Ho
	for classpath@gnu.org; Fri, 01 Jul 2005 11:47:00 -0400
Received: from dhaka.ucc.usyd.edu.au (localhost.ucc.usyd.edu.au [127.0.0.1])
	by dhaka-postfilter.ucc.usyd.edu.au (Postfix) with ESMTP id 14CC0771B78
	for <classpath@gnu.org>; Sat,  2 Jul 2005 01:41:36 +1000 (EST)
Received: from [172.16.79.245] (pc-245.inthouse.usyd.edu.au [172.16.79.245])
	by dhaka.ucc.usyd.edu.au (Postfix) with ESMTP id C1B41771B39
	for <classpath@gnu.org>; Sat,  2 Jul 2005 01:41:36 +1000 (EST)
Message-ID: <42C5663E.60706@mail.usyd.edu.au>
Date: Sat, 02 Jul 2005 01:50:22 +1000
From: Dimitri Koussa <dkou0180@mail.usyd.edu.au>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-usyd-cess: $Revision: 120 $; cleaned=0 defanged=0
Subject: New volunteer needing task
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: dimitri.koussa@gmail.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Jul 2005 15:56:49 -0000

<!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">
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
I am new to GNU Classpath and I would like to contribute.<br>
I would appreciate any help with finding an appropriate task.<br>
<br>
As part of an individual student project at university, I have chosen
to work on GNU Classpath.<br>
(Any comments on whether this is a bad idea?)<br>
I have to hand in a proposal next week detailing what I am going to do.<br>
The project needs to be worthy of around 200 hours of work.<br>
<br>
These tasks are from the ClasspathOpenTasks:<br>
</font>
<ul>
  <li>
    <p><font face="Helvetica, Arial, sans-serif">javax.imageio
(javax.imageio.plugins.bmp and javax.imageio.plugins.jpeg)<br>
    </font></p>
  </li>
  <li>
    <p><font face="Helvetica, Arial, sans-serif">Mauve Tests for
javax.imageio</font></p>
  </li>
  <li>
    <p><font face="Helvetica, Arial, sans-serif">Composite Contexts
(java.awt.AlphaComposite.java, createContext())<br>
    </font></p>
  </li>
  <li>
    <p><font face="Helvetica, Arial, sans-serif">Script for running
regression tests</font></p>
  </li>
  <li>
    <p><font face="Helvetica, Arial, sans-serif">Script for running
Japitools</font></p>
  </li>
  <li>
    <p><font face="Helvetica, Arial, sans-serif">Script for running
gjdoc</font></p>
  </li>
</ul>
<font face="Helvetica, Arial, sans-serif">Is any one working on any of
these?<br>
Would these tasks be too little/much work for 200 hours?<br>
<br>
Any feedback would be appreciated.<br>
<br>
Thanks<br>
- Dimitri<br>
</font>
</body>
</html>



From MAILER-DAEMON Fri Jul 01 12:30:15 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoOP9-0007TT-Ff
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 12:30:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoOKh-0005rx-4i
	for classpath@gnu.org; Fri, 01 Jul 2005 12:25:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoOKW-0005mx-NN
	for classpath@gnu.org; Fri, 01 Jul 2005 12:25:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoOKT-0005cm-Kp
	for classpath@gnu.org; Fri, 01 Jul 2005 12:25:25 -0400
Received: from [62.13.128.169] (helo=outmail128169.authsmtp.net)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DoOHq-0004Dv-Io
	for classpath@gnu.org; Fri, 01 Jul 2005 12:22:43 -0400
Received: from [192.168.1.2] (host81-130-208-103.in-addr.btopenworld.com
	[81.130.208.103]) (authenticated bits=0)
	by squirrel.dmpriest.net.uk (8.13.3/8.13.3/Kp) with ESMTP id
	j61GHGUP062539; Fri, 1 Jul 2005 17:17:16 +0100 (BST)
	(envelope-from david.gilbert@object-refinery.com)
Message-ID: <42C57A9E.70209@object-refinery.com>
Date: Fri, 01 Jul 2005 17:17:18 +0000
From: David Gilbert <david.gilbert@object-refinery.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050426)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: dimitri.koussa@gmail.com
References: <42C5663E.60706@mail.usyd.edu.au>
In-Reply-To: <42C5663E.60706@mail.usyd.edu.au>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:Kp
X-Powered-By: AuthSMTP - http://www.authsmtp.com - Authenticated SMTP Mail
	Relay
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own
	anti-virus system!
Cc: classpath@gnu.org
Subject: Re: New volunteer needing task
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 Jul 2005 16:30:14 -0000

Hi Dimitri,

Someone submitted some Mauve tests for javax.imageio that checks the PNG
image test suite:

http://sources.redhat.com/ml/mauve-patches/2005/msg00052.html

They haven't been integrated into Mauve yet, but probably should be. 
GNU Classpath doesn't have an imageio plugin to read/write PNG images
yet (as far as I know), that would probably be achievable in 200 hours
(you could just do the reading part if you run out of time).  A good
thing about this is there are good specs for the PNG format and ImageIO
framework around.

Another useful project would be some code (or a script) to run Mauve on
two different API implementations, and generate a report of the
differences.  I have some code that generates an HTML report from one
run, and have been meaning to work on something that would generate a
similar report comparing two runs.  This would help with regression
testing when submitting patches to GNU Classpath.  That also should be
achievable in 200 hours (perhaps less, but you could spend the rest of
the time on documentation etc.).

No doubt others on the list will have good ideas for you also, but feel
free to contact me if you want further info/help with either of these tasks.

Regards,

Dave Gilbert

Dimitri Koussa wrote:

> Hi,
>
> I am new to GNU Classpath and I would like to contribute.
> I would appreciate any help with finding an appropriate task.
>
> As part of an individual student project at university, I have chosen
> to work on GNU Classpath.
> (Any comments on whether this is a bad idea?)
> I have to hand in a proposal next week detailing what I am going to do.
> The project needs to be worthy of around 200 hours of work.
>
> These tasks are from the ClasspathOpenTasks:
>
>    *
>
>       javax.imageio (javax.imageio.plugins.bmp and
>       javax.imageio.plugins.jpeg)
>
>    *
>
>       Mauve Tests for javax.imageio
>
>    *
>
>       Composite Contexts (java.awt.AlphaComposite.java, createContext())
>
>    *
>
>       Script for running regression tests
>
>    *
>
>       Script for running Japitools
>
>    *
>
>       Script for running gjdoc
>
> Is any one working on any of these?
> Would these tasks be too little/much work for 200 hours?
>
> Any feedback would be appreciated.
>
> Thanks
> - Dimitri
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Classpath mailing list
>Classpath@gnu.org
>http://lists.gnu.org/mailman/listinfo/classpath
>  
>




From MAILER-DAEMON Fri Jul 01 13:40:31 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoPV8-0004Sl-LZ
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 13:40:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoPV6-0004SX-HD
	for classpath@gnu.org; Fri, 01 Jul 2005 13:40:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoPV2-0004Qn-OJ
	for classpath@gnu.org; Fri, 01 Jul 2005 13:40:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoPV1-0004Pg-FP
	for classpath@gnu.org; Fri, 01 Jul 2005 13:40:23 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1DoPYe-0005eZ-PH; Fri, 01 Jul 2005 13:44:09 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j61HcmmO000754;
	Fri, 1 Jul 2005 13:38:48 -0400
Received: from opsy.redhat.com (vpn50-104.rdu.redhat.com [172.16.50.104])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j61Hclu23426; 
	Fri, 1 Jul 2005 13:38:47 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 701882DD928; Fri,  1 Jul 2005 11:34:05 -0600 (MDT)
Sender: tromey@redhat.com
To: Mark Wielaard <mark@klomp.org>
References: <D92197D0A6547B44A1567814F851FA680CADED@LEMBU.sumatrasoftware.com>
	<1120215783.6005.5.camel@localhost.localdomain>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 01 Jul 2005 11:34:05 -0600
In-Reply-To: <1120215783.6005.5.camel@localhost.localdomain>
Message-ID: <m3ekai8m7m.fsf@localhost.localdomain>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: dog@gnu.org, GNU Classpath <classpath@gnu.org>,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 17:40:28 -0000

>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> Sigh. My apologies. I had tested against 3.1-final and I hadn't seen
Mark> this failure. Chris said he had some extra fixes, but I didn't wait for
Mark> them for the release since I thought they were only for the transform
Mark> part. Seems I should have.

Mark> Workaround: Don't exit eclipse. See, it is just emacs :)

How about doing an immediate 0.16.1 or 0.17 release instead?

Tom



From MAILER-DAEMON Fri Jul 01 14:33:54 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoQKn-0004Vv-N4
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 14:33:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoQKj-0004Tm-Cb
	for classpath@gnu.org; Fri, 01 Jul 2005 14:33:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoQKf-0004QU-0H
	for classpath@gnu.org; Fri, 01 Jul 2005 14:33:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoQKe-0004QD-Q1
	for classpath@gnu.org; Fri, 01 Jul 2005 14:33:44 -0400
Received: from [213.9.79.54] (helo=box7954) by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1DoQOC-0000Jn-Oo; Fri, 01 Jul 2005 14:37:25 -0400
Received: from i64e6.i.strato-dslnet.de ([85.73.100.230] helo=[192.168.1.9])
	by box7954 with asmtp (Exim 3.35 #1 (Debian))
	id 1DoQHa-0005gy-00; Fri, 01 Jul 2005 20:30:34 +0200
From: Roman Kennke <roman@kennke.org>
To: Tom Tromey <tromey@redhat.com>
In-Reply-To: <m3ekai8m7m.fsf@localhost.localdomain>
References: <D92197D0A6547B44A1567814F851FA680CADED@LEMBU.sumatrasoftware.com>
	<1120215783.6005.5.camel@localhost.localdomain>
	<m3ekai8m7m.fsf@localhost.localdomain>
Content-Type: text/plain
Date: Fri, 01 Jul 2005 20:32:11 +0200
Message-Id: <1120242731.4172.15.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
Cc: dog@gnu.org, Mark Wielaard <mark@klomp.org>,
	GNU Classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 18:33:50 -0000

Am Freitag, den 01.07.2005, 11:34 -0600 schrieb Tom Tromey:
> >>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
> 
> Mark> Sigh. My apologies. I had tested against 3.1-final and I hadn't seen
> Mark> this failure. Chris said he had some extra fixes, but I didn't wait for
> Mark> them for the release since I thought they were only for the transform
> Mark> part. Seems I should have.
> 
> Mark> Workaround: Don't exit eclipse. See, it is just emacs :)
> 
> How about doing an immediate 0.16.1 or 0.17 release instead?

Not a bad idea, but I would suggest to merge the specific fix back to
the release version, since I have committed some changes to HEAD that
lead to some smaller regressions in Swing, not very noticable but
anyway. More specifically, the effect of the changes is that sometimes
Swing components don't get updated on screen when they should. I am
going to fix this soon, but this needs some evaluation on my side, so I
don't introduce this repaint loop thing again.

/Roman





From MAILER-DAEMON Fri Jul 01 14:40:40 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoQRM-0005zn-Jf
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 14:40:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoQRK-0005yw-R3
	for classpath@gnu.org; Fri, 01 Jul 2005 14:40:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoQRJ-0005yW-UE
	for classpath@gnu.org; Fri, 01 Jul 2005 14:40:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoQLO-0004QD-Gh
	for classpath@gnu.org; Fri, 01 Jul 2005 14:34:30 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoPui-00077t-G2
	for classpath@gnu.org; Fri, 01 Jul 2005 14:06:57 -0400
Received: from dog by dinopsis.arachsys.com with local (Exim 3.35 #1)
	id 1DoPpG-00041C-00; Fri, 01 Jul 2005 19:01:18 +0100
Date: Fri, 1 Jul 2005 19:01:18 +0100
From: Chris Burdess <dog@bluezoo.org>
To: Tom Tromey <tromey@redhat.com>
Message-ID: <20050701180118.GA14067@bluezoo.org>
Mail-Followup-To: Tom Tromey <tromey@redhat.com>,
	GNU Classpath <classpath@gnu.org>
References: <D92197D0A6547B44A1567814F851FA680CADED@LEMBU.sumatrasoftware.com>
	<1120215783.6005.5.camel@localhost.localdomain>
	<m3ekai8m7m.fsf@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <m3ekai8m7m.fsf@localhost.localdomain>
User-Agent: Mutt/1.3.28i
X-URL: http://www.bluezoo.org/
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 18:40:39 -0000

Tom Tromey wrote:
> Mark> Sigh. My apologies. I had tested against 3.1-final and I hadn't seen
> Mark> this failure. Chris said he had some extra fixes, but I didn't wait for
> Mark> them for the release since I thought they were only for the transform
> Mark> part. Seems I should have.
> 
> Mark> Workaround: Don't exit eclipse. See, it is just emacs :)
> 
> How about doing an immediate 0.16.1 or 0.17 release instead?

I have finished my current batch of XML updates now, so if everyone is
happy that there are no regressions, I would have no problem with this.
-- 
Chris Burdess



From MAILER-DAEMON Fri Jul 01 15:25:25 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoR8f-0004Z0-4e
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 15:25:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoR8Z-0004VU-As
	for classpath@gnu.org; Fri, 01 Jul 2005 15:25:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoR8T-0004R0-31
	for classpath@gnu.org; Fri, 01 Jul 2005 15:25:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoR8S-0004Po-JU
	for classpath@gnu.org; Fri, 01 Jul 2005 15:25:12 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DoRA1-0003eQ-Sz; Fri, 01 Jul 2005 15:26:50 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DoR4a-0007mr-00; Fri, 01 Jul 2005 21:21:12 +0200
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <m3ekai8m7m.fsf@localhost.localdomain>
References: <D92197D0A6547B44A1567814F851FA680CADED@LEMBU.sumatrasoftware.com>
	<1120215783.6005.5.camel@localhost.localdomain>
	<m3ekai8m7m.fsf@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-7A0HLpkcf6IEQmjpJSqH"
Date: Fri, 01 Jul 2005 21:21:10 +0200
Message-Id: <1120245670.6005.42.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: dog@gnu.org, GNU Classpath <classpath@gnu.org>,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 19:25:23 -0000


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

Hi,

On Fri, 2005-07-01 at 11:34 -0600, Tom Tromey wrote:
> >>>>> "Mark" =3D=3D Mark Wielaard <mark@klomp.org> writes:
>=20
> Mark> Sigh. My apologies. I had tested against 3.1-final and I hadn't see=
n
> Mark> this failure. Chris said he had some extra fixes, but I didn't wait=
 for
> Mark> them for the release since I thought they were only for the transfo=
rm
> Mark> part. Seems I should have.
>=20
> Mark> Workaround: Don't exit eclipse. See, it is just emacs :)
>=20
> How about doing an immediate 0.16.1 or 0.17 release instead?

Lets sit on that during the weekend.
I don't think it is very release critical.
But that is because I didn't see it during our release testing.
(Which might mean that we need better release testing. But we tested a
lot for this one on a lot of applications including Eclipse.)

As our announcement said please use Eclipse packages from your favorite
distributor. They do provide support and patch Eclipse to actually
integrate better with the rest of the system. I doubt many people run
"bare eclipse" on "bare GNU Classpath".

But lets see how many bug reports we have on Monday and decide then.
Alternatively we can do a 0.17 at the end of the month instead of doing
it in two months. Normally integrators deal with these kind of issues.
But we should make sure the "critical patches" are easily available of
course (Chris, which of your patches is the 'essential' one?).

Cheers,

Mark

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

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

iD8DBQBCxZemxVhZCJWr9QwRAmgqAJ42QngJHcWC7ABJ2ZhGPvilGjlDnACfeDaH
aovvXF8by/oxcb7S9JGfduI=
=KKS4
-----END PGP SIGNATURE-----

--=-7A0HLpkcf6IEQmjpJSqH--




From MAILER-DAEMON Fri Jul 01 16:19:48 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoRzI-0006a3-2X
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 16:19:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoRzD-0006ZE-Hu
	for classpath@gnu.org; Fri, 01 Jul 2005 16:19:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoRz9-0006WV-Dt
	for classpath@gnu.org; Fri, 01 Jul 2005 16:19:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoRxV-00034r-F4
	for classpath@gnu.org; Fri, 01 Jul 2005 16:17:57 -0400
Received: from [32.97.182.145] (helo=e5.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DoRmU-00062s-BY
	for classpath@gnu.org; Fri, 01 Jul 2005 16:06:34 -0400
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e5.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j61K1BXx004553
	for <classpath@gnu.org>; Fri, 1 Jul 2005 16:01:11 -0400
Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id
	j61K1BZe233504
	for <classpath@gnu.org>; Fri, 1 Jul 2005 16:01:11 -0400
Received: from d01av02.pok.ibm.com (loopback [127.0.0.1])
	by d01av02.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j61K1BIm019425
	for <classpath@gnu.org>; Fri, 1 Jul 2005 16:01:11 -0400
Received: from [9.56.227.90] (d01ml604.pok.ibm.com [9.56.227.90])
	by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j61K1BAq019422
	for <classpath@gnu.org>; Fri, 1 Jul 2005 16:01:11 -0400
In-Reply-To: <1120245670.6005.42.camel@localhost.localdomain>
To: GNU Classpath <classpath@gnu.org>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.1IBM2 August 03, 2004
From: David P Grove <groved@us.ibm.com>
Message-ID: <OF6290AD0E.2A306FEB-ON85257031.006DD093-85257031.006DF8B7@us.ibm.com>
Date: Fri, 1 Jul 2005 16:01:09 -0400
X-MIMETrack: Serialize by Router on D01ML604/01/M/IBM(Build V70_06092005|June
	09, 2005) at 07/01/2005 16:01:10,
	Serialize complete at 07/01/2005 16:01:10
Content-Type: text/plain; charset="US-ASCII"
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 20:19:46 -0000

For what it's worth, given this bug Jikes RVM is likely to stick at 0.15 
until either 0.16.1 or 0.17 comes out.

--dave



From MAILER-DAEMON Fri Jul 01 16:55:34 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoSXs-0008Tj-Ik
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 16:55:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoSXj-0008Nq-Tk
	for classpath@gnu.org; Fri, 01 Jul 2005 16:55:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoSXV-0008Iu-Rr
	for classpath@gnu.org; Fri, 01 Jul 2005 16:55:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoSXT-0008Hp-9T
	for classpath@gnu.org; Fri, 01 Jul 2005 16:55:07 -0400
Received: from [195.186.19.62] (helo=mail14.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoSa9-0000Bw-Oe
	for classpath@gnu.org; Fri, 01 Jul 2005 16:57:53 -0400
Received: from [127.0.0.1] (81.63.63.26) by mail14.bluewin.ch (Bluewin
	7.2.060.1) id 429D73F2003B56B9; Fri, 1 Jul 2005 20:52:28 +0000
Message-ID: <42C5AD07.30709@bluewin.ch>
Date: Fri, 01 Jul 2005 22:52:23 +0200
From: Meskauskas Audrius <audriusa@bluewin.ch>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Gilbert <david.gilbert@object-refinery.com>, 
	"classpath@gnu.org" <classpath@gnu.org>
References: <42C5663E.60706@mail.usyd.edu.au>
	<42C57A9E.70209@object-refinery.com>
In-Reply-To: <42C57A9E.70209@object-refinery.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: CORBA task
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: audriusa@bluewin.ch
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Jul 2005 20:55:27 -0000

Hi Dimitri,

The most important CORBA task now is an IDL to java compiler, we do not have it at the moment. The compiler can be written using javacc generated parser in the input (the grammar file is already available) and the Apache Velocity templates in the output (I can give some templates from the work I already started). But you still need to know exactly what java classes must be generated by that compiler, an how. For this, you can experiment with idlj of other CORBA implementations. This is a difficult task and I cannot promise success without REALLY using these 200 hours, till the last minute inclusive. But the task would help to learn a lot about the generated parsers, automated template based code generation and the CORBA IDL concept. 

Cheers
Audrius.






From MAILER-DAEMON Fri Jul 01 23:29:52 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoYhU-0002px-Bg
	for mharc-classpath@gnu.org; Fri, 01 Jul 2005 23:29:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoYhS-0002ph-SV
	for classpath@gnu.org; Fri, 01 Jul 2005 23:29:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoYhQ-0002p8-ON
	for classpath@gnu.org; Fri, 01 Jul 2005 23:29:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoYgu-0002Y9-Ma
	for classpath@gnu.org; Fri, 01 Jul 2005 23:29:16 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoYKR-00035L-MW
	for classpath@gnu.org; Fri, 01 Jul 2005 23:06:03 -0400
Received: from zander by namlook.thomas.planescape.com with local (Exim 3.35
	#1 (Debian)) id 1DoUMa-0001pn-00; Sat, 02 Jul 2005 00:52:00 +0200
Date: Sat, 2 Jul 2005 00:52:00 +0200
To: David P Grove <groved@us.ibm.com>
Message-ID: <20050701225200.GB6999@planescape.com>
References: <1120245670.6005.42.camel@localhost.localdomain>
	<OF6290AD0E.2A306FEB-ON85257031.006DD093-85257031.006DF8B7@us.ibm.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="vGgW1X5XWziG23Ko"
Content-Disposition: inline
In-Reply-To: <OF6290AD0E.2A306FEB-ON85257031.006DD093-85257031.006DF8B7@us.ibm.com>
From: Thomas Zander <zander@kde.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 03:29:51 -0000


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

On Fri, Jul 01, 2005 at 04:01:09PM -0400, David P Grove wrote:
> For what it's worth, given this bug Jikes RVM is likely to stick at 0.15=
=20
> until either 0.16.1 or 0.17 comes out.

Assuming the 0.16 is tagged; what about branching it in cvs and
backporting the patch that solves this for projects like jikesRVM.

Mark: Feel free to msg me on IRC on the cvs stuff needed for this.
--=20
Thomas Zander

--vGgW1X5XWziG23Ko
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCxckQCojCW6H2z/QRApo2AJ4oyHizsref3tU/DmjNSM2D7nHVCACg7sV4
ZWseh3YGueDUg7hfYD0zRtc=
=ggNU
-----END PGP SIGNATURE-----

--vGgW1X5XWziG23Ko--



From MAILER-DAEMON Sat Jul 02 02:29:39 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DobVS-0000pn-6V
	for mharc-classpath@gnu.org; Sat, 02 Jul 2005 02:29:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DobV4-0000ju-1l
	for classpath@gnu.org; Sat, 02 Jul 2005 02:29:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DobV0-0000j6-Vw
	for classpath@gnu.org; Sat, 02 Jul 2005 02:29:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DobUz-0000SL-5u
	for classpath@gnu.org; Sat, 02 Jul 2005 02:29:09 -0400
Received: from [66.199.137.226] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1DobB5-0002lV-5q
	for classpath@gnu.org; Sat, 02 Jul 2005 02:08:35 -0400
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.50 #1 (Debian))
	id 1Dob5e-0005qM-Op; Sat, 02 Jul 2005 02:02:59 -0400
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by glue.info.uqam.ca with esmtp (Exim 4.50)
	id 1Dob4K-0003gI-U3; Sat, 02 Jul 2005 02:01:37 -0400
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: Thomas Zander <zander@kde.org>
In-Reply-To: <20050701225200.GB6999@planescape.com>
References: <1120245670.6005.42.camel@localhost.localdomain>
	<OF6290AD0E.2A306FEB-ON85257031.006DD093-85257031.006DF8B7@us.ibm.com>
	<20050701225200.GB6999@planescape.com>
Content-Type: text/plain
Organization: Debian http://www.debian.org - The Free Operating System
Date: Sat, 02 Jul 2005 02:02:34 -0400
Message-Id: <1120284155.32552.5.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 06:29:15 -0000

On Sat, 2005-02-07 at 00:52 +0200, Thomas Zander wrote:
> On Fri, Jul 01, 2005 at 04:01:09PM -0400, David P Grove wrote:
> > For what it's worth, given this bug Jikes RVM is likely to stick at 0.15 
> > until either 0.16.1 or 0.17 comes out.
> 
> Assuming the 0.16 is tagged; what about branching it in cvs and
> backporting the patch that solves this for projects like jikesRVM.

Before anything else, could we first see the patch that solves this
problem?  Maybe it's just a few-liner...

			Grzegorz B. Prokopski

PS: I can confirm the same thing happens with SableVM and GNU CP 0.16.
-- 
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 Sat Jul 02 04:05:04 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Doczl-00053l-Ra
	for mharc-classpath@gnu.org; Sat, 02 Jul 2005 04:05:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Docw3-0004bt-0F
	for classpath@gnu.org; Sat, 02 Jul 2005 04:01:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DocvZ-0004XR-Ht
	for classpath@gnu.org; Sat, 02 Jul 2005 04:00:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DocvV-0004RM-Jn
	for classpath@gnu.org; Sat, 02 Jul 2005 04:00:37 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Docqt-0006uA-I8
	for classpath@gnu.org; Sat, 02 Jul 2005 03:55:51 -0400
Received: from dog by dinopsis.arachsys.com with local (Exim 3.35 #1)
	id 1DoclZ-0001j9-00; Sat, 02 Jul 2005 08:50:21 +0100
Date: Sat, 2 Jul 2005 08:50:21 +0100
From: Chris Burdess <dog@bluezoo.org>
To: "Grzegorz B. Prokopski" <gadek@debian.org>
Message-ID: <20050702075020.GA4098@bluezoo.org>
Mail-Followup-To: "Grzegorz B. Prokopski" <gadek@debian.org>,
	GNU Classpath <classpath@gnu.org>
References: <1120245670.6005.42.camel@localhost.localdomain>
	<OF6290AD0E.2A306FEB-ON85257031.006DD093-85257031.006DF8B7@us.ibm.com>
	<20050701225200.GB6999@planescape.com>
	<1120284155.32552.5.camel@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1120284155.32552.5.camel@localhost.localdomain>
User-Agent: Mutt/1.3.28i
X-URL: http://www.bluezoo.org/
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 08:04:57 -0000

Grzegorz B. Prokopski wrote:
> Before anything else, could we first see the patch that solves this
> problem?  Maybe it's just a few-liner...

Hi gadek,

This particular problem was solved by

Index: gnu/xml/dom/DomNamedNodeMap.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/xml/dom/DomNamedNodeMap.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gnu/xml/dom/DomNamedNodeMap.java    10 Feb 2005 17:21:25 -0000      1.2
+++ gnu/xml/dom/DomNamedNodeMap.java    30 Jun 2005 22:09:07 -0000      1.3
@@ -206,6 +206,10 @@
         if (ns)
           {
             String tln = ctx.getLocalName();
+            if (tln == null)
+              {
+                tln = ctx.getNodeName();
+              }
             if (tln.equals(localName))
               {
                 String tu = ctx.getNamespaceURI();

... but there are a whole load of related changes that I've been applying
over the last couple of days.
-- 
Chris Burdess



From MAILER-DAEMON Sat Jul 02 20:05:57 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dorzh-000316-5j
	for mharc-classpath@gnu.org; Sat, 02 Jul 2005 20:05:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dorzd-0002zz-Tl
	for classpath@gnu.org; Sat, 02 Jul 2005 20:05:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dorza-0002xg-GD
	for classpath@gnu.org; Sat, 02 Jul 2005 20:05:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DorzY-0002wF-3L
	for classpath@gnu.org; Sat, 02 Jul 2005 20:05:48 -0400
Received: from [81.5.129.62] (helo=tangency.co.uk)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dos0h-0000ft-Uj
	for classpath@gnu.org; Sat, 02 Jul 2005 20:07:00 -0400
Received: from localhost (localhost [127.0.0.1]) (uid 1000)
	by tangency.co.uk with local; Sun, 03 Jul 2005 01:00:31 +0100
	id 00033CC9.42C72A9F.00007EDD
Date: Sun, 3 Jul 2005 01:00:31 +0100
From: "S. Meslin-Weber" <steph@tangency.co.uk>
To: GNU Classpath ML <classpath@gnu.org>
Message-ID: <20050703000031.GD21836@tangency.co.uk>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=_tangency.co.uk-32477-1120348831-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Cc: SableVM Users ML <sablevm-user@sablevm.org>
Subject: SableVM on Cygwin
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 Jul 2005 00:05:54 -0000

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_tangency.co.uk-32477-1120348831-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Everyone,

After getting JamVM+Classpath working on Cygwin this week, I couldn't
wait to get SableVM on there too. It was surprisingly easy once Gadek
gave me some very welcome help :-).

As this was part of a GNU Classpath effort, I've added the instructions
to the GNU Classpath wiki at:

  http://developer.classpath.org/mediation/ClasspathOnCygwin

Comments and corrections gratefully welcome!

Steph

--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Stephane Meslin-Weber         Email: steph@tangency.co.uk
Senior Software Engineer      Web: http://odonata.tangency.co.uk
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--=_tangency.co.uk-32477-1120348831-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFCxyqf5QGfd9PDUN0RAjWhAJ9jFEgCQU/cKLp7cOhaIwme9Bk9WwCgjbEZ
Av9/a+Ub3G+Yz2WF80pY2UE=
=GFp7
-----END PGP SIGNATURE-----

--=_tangency.co.uk-32477-1120348831-0001-2--



From MAILER-DAEMON Sun Jul 03 01:30:27 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dox3i-0007cY-VA
	for mharc-classpath@gnu.org; Sun, 03 Jul 2005 01:30:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dox3h-0007c5-Qk
	for classpath@gnu.org; Sun, 03 Jul 2005 01:30:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dowyg-0006UN-7e
	for classpath@gnu.org; Sun, 03 Jul 2005 01:25:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DowyZ-0006KF-MQ
	for classpath@gnu.org; Sun, 03 Jul 2005 01:25:07 -0400
Received: from [66.199.137.226] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1Dowij-0004uM-UL
	for classpath@gnu.org; Sun, 03 Jul 2005 01:08:46 -0400
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.50 #1 (Debian))
	id 1DowdE-0008PN-N6; Sun, 03 Jul 2005 01:03:04 -0400
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by glue.info.uqam.ca with esmtp (Exim 4.50)
	id 1Dowbw-0001J6-2E; Sun, 03 Jul 2005 01:01:44 -0400
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: Chris Burdess <dog@bluezoo.org>
In-Reply-To: <20050702075020.GA4098@bluezoo.org>
References: <1120245670.6005.42.camel@localhost.localdomain>
	<OF6290AD0E.2A306FEB-ON85257031.006DD093-85257031.006DF8B7@us.ibm.com>
	<20050701225200.GB6999@planescape.com>
	<1120284155.32552.5.camel@localhost.localdomain>
	<20050702075020.GA4098@bluezoo.org>
Content-Type: text/plain
Organization: Debian http://www.debian.org - The Free Operating System
Date: Sun, 03 Jul 2005 01:02:37 -0400
Message-Id: <1120366958.11743.48.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 05:30:26 -0000

On Sat, 2005-02-07 at 08:50 +0100, Chris Burdess wrote:
> Grzegorz B. Prokopski wrote:
> > Before anything else, could we first see the patch that solves this
> > problem?  Maybe it's just a few-liner...
> 
> Hi gadek,
> 
> This particular problem was solved by

Thanks a lot!  This particular problem with Eclipse is gone now.

> ... but there are a whole load of related changes that I've been applying
> over the last couple of days.

I am sure there was.  But from a VM developer POV I must admit that as
much as I would love to include the profitable changes that have been
made in last days, still it would be hard for me to choose which ones
they were and which of these are not too risky for a stable SableVM
release :-)

In other words, if you feel that some of other parts of your patches
were also critically important (~bugfixes only), it would be great if
you could send them as separate patches.  As Mark said, it's unlikely
that VM devs would ship GNU Classpath unpatched, so this sounds like
the right thing to do.  "We" (the VM devs) just need to know which
patches we should apply :-)

Thanks & 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 Sun Jul 03 04:28:43 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dozou-0002q3-SL
	for mharc-classpath@gnu.org; Sun, 03 Jul 2005 04:27:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DozoZ-0002R6-Uv
	for classpath@gnu.org; Sun, 03 Jul 2005 04:27:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DozoK-0002Dd-Ra
	for classpath@gnu.org; Sun, 03 Jul 2005 04:26:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DozoF-0001d8-Tx
	for classpath@gnu.org; Sun, 03 Jul 2005 04:26:41 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dozm3-0006So-Uo
	for classpath@gnu.org; Sun, 03 Jul 2005 04:24:24 -0400
Received: from dumas.thomas.planescape.com ([10.0.0.2] ident=zander)
	by namlook.thomas.planescape.com with esmtp (Exim 3.35 #1 (Debian))
	id 1DozgN-0003We-00
	for <classpath@gnu.org>; Sun, 03 Jul 2005 10:18:31 +0200
From: Thomas Zander <zander@kde.org>
To: classpath@gnu.org
Date: Sun, 3 Jul 2005 10:17:44 +0200
User-Agent: KMail/1.8.50
References: <1120245670.6005.42.camel@localhost.localdomain>
	<20050702075020.GA4098@bluezoo.org>
	<1120366958.11743.48.camel@localhost.localdomain>
In-Reply-To: <1120366958.11743.48.camel@localhost.localdomain>
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200507031017.50738.zander@kde.org>
Subject: Re: Eclipse broken with 0.16
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 Jul 2005 08:27:19 -0000

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

On Sunday 3 July 2005 07:02, Grzegorz B. Prokopski wrote:
> > ... but there are a whole load of related changes that I've been
> > applying over the last couple of days.
>
> I am sure there was.  But from a VM developer POV I must admit that as
> much as I would love to include the profitable changes that have been
> made in last days, still it would be hard for me to choose which ones
> they were and which of these are not too risky for a stable SableVM
> release :-)
>
> In other words, if you feel that some of other parts of your patches
> were also critically important (~bugfixes only), it would be great if
> you could send them as separate patches.  As Mark said, it's unlikely
> that VM devs would ship GNU Classpath unpatched, so this sounds like
> the right thing to do.  "We" (the VM devs) just need to know which
> patches we should apply :-)

Let me point to the option to create a stable-branch again, this kind of 
work is exactly what they are meant for.

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

iD8DBQFCx58uCojCW6H2z/QRAhVrAKDj+c5swpjvBU9rEXzgvGP9MNzzTQCaAw2h
jDYbDV5qY/vqjf+R9+bT4cU=
=Njaj
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sun Jul 03 10:35:56 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dp5XZ-0002q5-Gf
	for mharc-classpath@gnu.org; Sun, 03 Jul 2005 10:33:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dp5XN-0002k1-Iu
	for classpath@gnu.org; Sun, 03 Jul 2005 10:33:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dp5XE-0002eN-Dt
	for classpath@gnu.org; Sun, 03 Jul 2005 10:33:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dp5XC-0002bg-Gc
	for classpath@gnu.org; Sun, 03 Jul 2005 10:33:26 -0400
Received: from [129.78.208.3] (helo=lhasa.ucc.usyd.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dp5ZH-0003G1-Cn
	for classpath@gnu.org; Sun, 03 Jul 2005 10:35:35 -0400
Received: from lhasa.ucc.usyd.edu.au (localhost.ucc.usyd.edu.au [127.0.0.1])
	by lhasa-postfilter.ucc.usyd.edu.au (Postfix) with ESMTP id 8714066BB49;
	Mon,  4 Jul 2005 00:29:43 +1000 (EST)
Received: from [172.16.79.245] (pc-245.inthouse.usyd.edu.au [172.16.79.245])
	by lhasa.ucc.usyd.edu.au (Postfix) with ESMTP id 115E266BB3E;
	Mon,  4 Jul 2005 00:29:42 +1000 (EST)
Message-ID: <42C7F865.9070107@mail.usyd.edu.au>
Date: Mon, 04 Jul 2005 00:38:29 +1000
From: Dimitri Koussa <dkou0180@mail.usyd.edu.au>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Gilbert <david.gilbert@object-refinery.com>
References: <42C5663E.60706@mail.usyd.edu.au>
	<42C57A9E.70209@object-refinery.com>
In-Reply-To: <42C57A9E.70209@object-refinery.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-usyd-cess: $Revision: 120 $; cleaned=0 defanged=0
Cc: classpath@gnu.org
Subject: Re: New volunteer needing task
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: dimitri.koussa@gmail.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Jul 2005 14:33:46 -0000

Hi David,

Thanks for the tasks.
I am interested in working on the imageio plugin for PNG images.

The ImageIO.getReaderFormatNames() method returns an entry that is "png".
ImageIO.getWriterFormatNames() does the same.
Does this mean that the plugins have been written?

I searched the mailing list and found this:
http://lists.gnu.org/archive/html/classpath/2002-07/msg00013.html
Although it does not show whether the class was written or not.

Which package would a PNG imageio plugin go under?
Would it be javax.imageio.plugins.png?

Thanks
- Dimitri



From MAILER-DAEMON Sun Jul 03 16:34:03 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DpBAB-0005k3-DW
	for mharc-classpath@gnu.org; Sun, 03 Jul 2005 16:34:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DpBA9-0005je-SY
	for classpath@gnu.org; Sun, 03 Jul 2005 16:34:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DpBA8-0005j0-8b
	for classpath@gnu.org; Sun, 03 Jul 2005 16:34:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DpB5e-00047u-Ud
	for classpath@gnu.org; Sun, 03 Jul 2005 16:29:22 -0400
Received: from [209.225.28.212] (helo=mxsf12.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpAxa-0006lb-Cz
	for classpath@gnu.org; Sun, 03 Jul 2005 16:21:02 -0400
Received: from mxip03a.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
	j63KFClx003692
	for <classpath@gnu.org>; Sun, 3 Jul 2005 16:15:12 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.105.219)
	by mxip03a.cluster1.charter.net with ESMTP; 03 Jul 2005 16:15:12 -0400
X-IronPort-AV: i="3.93,254,1115006400"; 
	d="scan'208"; a="1079266025:sNHT18996808"
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 PAA75637
	for <classpath@gnu.org>; Sun, 3 Jul 2005 15:06:33 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j63K6VNj033207
	for <classpath@gnu.org>; Sun, 3 Jul 2005 15:06:31 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42C84547.5020102@dellroad.org>
Date: Sun, 03 Jul 2005 15:06:31 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
Content-Type: multipart/mixed; boundary="------------040104010409020302090409"
Subject: Fix for configure 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: Sun, 03 Jul 2005 20:34:02 -0000

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

2005-07-03  Archie Cobbs  <archie@dellroad.org>

         * m4/acinclude.m4: fix broken expr(1) syntax

-Archie

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

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

Index: m4/acinclude.m4
===================================================================
RCS file: /cvsroot/classpath/classpath/m4/acinclude.m4,v
retrieving revision 1.4
diff -u -r1.4 acinclude.m4
--- m4/acinclude.m4	17 Jun 2005 19:32:13 -0000	1.4
+++ m4/acinclude.m4	3 Jul 2005 20:02:54 -0000
@@ -147,7 +147,7 @@
     JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
     JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
     JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
-    if expr "$JIKES_VERSION_MAJOR" == 1 > /dev/null; then
+    if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
       if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
         JIKES=""
       fi

--------------040104010409020302090409--



From MAILER-DAEMON Mon Jul 04 11:08:26 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DpSYc-0003op-HV
	for mharc-classpath@gnu.org; Mon, 04 Jul 2005 11:08:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DpSYa-0003o0-Aj
	for classpath@gnu.org; Mon, 04 Jul 2005 11:08:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DpSYZ-0003nL-17
	for classpath@gnu.org; Mon, 04 Jul 2005 11:08:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DpSWe-0002le-CD
	for classpath@gnu.org; Mon, 04 Jul 2005 11:06:24 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpSFR-000353-Vh
	for classpath@gnu.org; Mon, 04 Jul 2005 10:48:38 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DpS9m-0000gT-00
	for <classpath@gnu.org>; Mon, 04 Jul 2005 16:42:46 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-2BglJASWTu16kxT3Exz/"
Date: Mon, 04 Jul 2005 16:42:50 +0200
Message-Id: <1120488170.15714.113.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: No 0.16.1, but quick 0.17?
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 Jul 2005 15:08:24 -0000


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

Hi,

I don't think we need a branch or backporting fixlets to 0.16 for small
bug fixes. We are in rapid development mode for various parts of our
library. If people want we can make a new 0.17 release at the end of
this week (next weekend) that incorporates all new work done since 0.16.
It is a good idea in general that people have the feeling we are always
"ready to release". And I would like to see clear progress and not
various branches and forks at this time. And creating new versions costs
real (non-trivial) maintenance and testing time. Time that I rather
spend on pushing out real new versions.

So if people feel we need a new release soon then here are some extra
goals for 0.17:
- Get XML DOM fixes in.
  Done. Chris, I assume you want to see all other fixes also deployed
  soon.
- Update integration manual.
  Andrew Hughes posted a RFC:
  http://lists.gnu.org/archive/html/classpath/2005-06/msg00104.html
- swing busy paint/validate loops cleanups
  The removal of paint() and revalidate() has improved the feel of free
  swing a lot and although there are some small redrawing issues I think
  this is a big improvement on usability over 0.16. Roman, do you feel
  this is an improvement? What other fixes do you think are essential to
  fixup any remaining drawing glitches before 0.17?
- gcj 3.4 miscompilation (not found yet)
  This was reported on irc. The GNU Classpath Examples Swing Demo
  doesn't receive any button events. If at all possible I like to find a
  workaround for this issue since I want to switch to gcj 4.0 soon. It
  would be nice to have the last release that supported gcj < 4 actually
  works for our demos.
- has someone looked at this error? I see it a lot when trying out
  various swing examples, but don't have a sure way to replicate yet:
  Exception during event dispatch:
  java.lang.ClassCastException: javax/swing/JMenuItem
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent
       (DefaultKeyboardFocusManager.java:197)
    at java.awt.EventDispatchThread.run (EventDispatchThread.java:74)
- when zip not found classes are not compiled/installated?
  Reported by Stephane for cygwin.
- There were some hangs reported with eclipse. I have seen this happen
  myself now, although I think this is not new. It looks like our io/net
  can get interrupted somehow and doesn't recover correctly.
  (look at libgcj CNI code to see if they deal with this better then our
  JNI code).
- In general get all the new cool stuff already done (and being done
  this week) ready to rock! Corba updates, ObjectStreamClass fixes,
  build/configure fixes, FSF address change, Swing/AWT documentation
  updates, jtable fixes, etc, all already done since 0.16 was released.

What do people think?
Please work under the assumption that we can release a new version at
any time. So think whether you would be embarrassed by a release that
ships with the code that you are about the check in. If so, don't :)

Cheers,

Mark

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

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

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

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

iD8DBQBCyUrqxVhZCJWr9QwRAi96AJ0coq81yDtcS05XYqc4yyc0a8GqPACgjmS6
fm6GCJekxWb3o74XNGFDvrM=
=dewL
-----END PGP SIGNATURE-----

--=-2BglJASWTu16kxT3Exz/--




From MAILER-DAEMON Mon Jul 04 11:50:08 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DpT8i-0005Ot-AY
	for mharc-classpath@gnu.org; Mon, 04 Jul 2005 11:45:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DpT8H-0005Js-3j
	for classpath@gnu.org; Mon, 04 Jul 2005 11:45:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DpT82-0005DJ-Fy
	for classpath@gnu.org; Mon, 04 Jul 2005 11:45:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DpT82-0005BX-Dt
	for classpath@gnu.org; Mon, 04 Jul 2005 11:45:02 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpT9F-0007r6-Rf
	for classpath@gnu.org; Mon, 04 Jul 2005 11:46:18 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Mon, 4 Jul 2005 17:40:14 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAE0C@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: No 0.16.1, but quick 0.17?
Thread-Index: AcWAqpau2+n0oUJoTyi4pK8cBd+oIAAA65dQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>,
	<classpath@gnu.org>
Cc: 
Subject: RE: No 0.16.1, but quick 0.17?
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 Jul 2005 15:45:37 -0000

Mark Wielaard wrote:
> I don't think we need a branch or backporting fixlets to 0.16=20
> for small bug fixes. We are in rapid development mode for various
> parts of our library. If people want we can make a new 0.17 release
> at the end of this week (next weekend) that incorporates all new
> work done since 0.16.

I agree, quickly doing a 0.17 seems like a good idea.

> - has someone looked at this error? I see it a lot when trying out
>   various swing examples, but don't have a sure way to replicate yet:
>   Exception during event dispatch:
>   java.lang.ClassCastException: javax/swing/JMenuItem
>     at java.awt.DefaultKeyboardFocusManager.dispatchEvent
>        (DefaultKeyboardFocusManager.java:197)
>     at java.awt.EventDispatchThread.run (EventDispatchThread.java:74)

This looks like the bug that I proposed a patch for, but as Tom pointed
out wasn't quite correct. I think Tom's patch should go in.

Regards,
Jeroen



From MAILER-DAEMON Mon Jul 04 12:27:36 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DpTnD-00044i-P3
	for mharc-classpath@gnu.org; Mon, 04 Jul 2005 12:27:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DpTFF-0007Tq-LN
	for classpath@gnu.org; Mon, 04 Jul 2005 11:52:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DpTFB-0007Qd-Bc
	for classpath@gnu.org; Mon, 04 Jul 2005 11:52:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DpT8h-0005BX-62
	for classpath@gnu.org; Mon, 04 Jul 2005 11:45:43 -0400
Received: from [131.188.32.25] (helo=faui25.informatik.uni-erlangen.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpSwG-0006sO-N2
	for classpath@gnu.org; Mon, 04 Jul 2005 11:32:53 -0400
Received: from [131.188.32.121] (faui24m.informatik.uni-erlangen.de
	[131.188.32.121])
	by faui25.informatik.uni-erlangen.de (8.9.3p3/8.1.9-FAU) with ESMTP id
	RAA12427
	for <classpath@gnu.org>; Mon, 4 Jul 2005 17:26:49 +0200 (MET DST)
Message-ID: <42C95539.9080906@informatik.uni-erlangen.de>
Date: Mon, 04 Jul 2005 17:26:49 +0200
From: Ronald Veldema <Ronald.Veldema@informatik.uni-erlangen.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Mon, 04 Jul 2005 12:27:32 -0400
Subject: javax.vecmath
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 Jul 2005 15:52:30 -0000


Hi all,
    I've written part of javax.vecmath (contains things like vectors,
matrixes, etc for Java3D).
Any interrest ? I've only done about 80 K sofar.
Ps, already signed one of those FSF-classpath-copy-right forms once.
Cheers,
Ronald.



From MAILER-DAEMON Mon Jul 04 15:05:07 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DpWFe-0007Tf-Mb
	for mharc-classpath@gnu.org; Mon, 04 Jul 2005 15:05:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DpWD2-0006xa-OF
	for classpath@gnu.org; Mon, 04 Jul 2005 15:02:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DpWCs-0006sH-BQ
	for classpath@gnu.org; Mon, 04 Jul 2005 15:02:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DpWCr-0006oc-NH
	for classpath@gnu.org; Mon, 04 Jul 2005 15:02:13 -0400
Received: from [213.9.79.54] (helo=box7954.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1DpW9r-00088p-Lj
	for classpath@gnu.org; Mon, 04 Jul 2005 14:59:07 -0400
Received: from i6218.i.strato-dslnet.de ([85.73.98.24] helo=[192.168.1.9])
	by box7954.elkhouse.de with esmtpsa (TLS-1.0:RSA_ARCFOUR_MD5:16)
	(Exim 4.50) id 1DpW2Z-0004oh-6A; Mon, 04 Jul 2005 20:51:35 +0200
From: Roman Kennke <roman@kennke.org>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1120488170.15714.113.camel@localhost.localdomain>
References: <1120488170.15714.113.camel@localhost.localdomain>
Content-Type: text/plain
Date: Mon, 04 Jul 2005 20:53:17 +0200
Message-Id: <1120503197.3942.1.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: No 0.16.1, but quick 0.17?
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 Jul 2005 19:05:05 -0000

Hi,

> - swing busy paint/validate loops cleanups
>   The removal of paint() and revalidate() has improved the feel of free
>   swing a lot and although there are some small redrawing issues I think
>   this is a big improvement on usability over 0.16. Roman, do you feel
>   this is an improvement? What other fixes do you think are essential to
>   fixup any remaining drawing glitches before 0.17?

I think the fixes are not too hard. I have to investigate which of the
property changes in JComponent need repainting and put this in
ComponentUI (instead of JComponent itself). I certainly will fix this
until the end of the week.

/Roman





From MAILER-DAEMON Tue Jul 05 01:36:12 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dpg6O-00058U-79
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 01:36:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dpg6L-00056t-B9
	for classpath@gnu.org; Tue, 05 Jul 2005 01:36:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dpfy3-0003HR-Aa
	for classpath@gnu.org; Tue, 05 Jul 2005 01:27:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dpfxx-0003AM-E9
	for classpath@gnu.org; Tue, 05 Jul 2005 01:27:30 -0400
Received: from [66.199.137.226] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1Dpfpq-0003HN-KS
	for classpath@gnu.org; Tue, 05 Jul 2005 01:19:06 -0400
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.50 #1 (Debian))
	id 1Dpfjt-0007kv-3Q
	for <classpath@gnu.org>; Tue, 05 Jul 2005 01:12:57 -0400
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by glue.info.uqam.ca with esmtp (Exim 4.50) id 1Dpfic-0005Tk-GL
	for classpath@gnu.org; Tue, 05 Jul 2005 01:11:38 -0400
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: classpath@gnu.org
Content-Type: text/plain
Organization: Debian http://www.debian.org - The Free Operating System
Date: Tue, 05 Jul 2005 01:12:32 -0400
Message-Id: <1120540353.32688.3.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Content-Transfer-Encoding: 7bit
Subject: SableVM SDK 1.12 released
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 Jul 2005 05:36:09 -0000

The developers of the SableVM Project are proud to announce the
official release of SableVM SDK 1.12.  SableVM is a liberally licensed
Free Java virtual machine.  See the "About SableVM" section below for
more informations about SableVM.  SableVM SDK is a rather complete
development kit for the Java programming language.

Here is a list of the most important changes and new features.  In
this version, we:

- Introduced SableVM SDK which provides a rather complete JAVA_HOME-like
  environment and consists of:
  - SableVM - provides 'java',
  - jikes - provides 'javac',
  - gjdoc - provides 'javadoc',
  - fastjar - provides 'jar',
  - cp-tools - provides 'javah', 'javap', and others.
- Added libffi and libpopt to SableVM sources for user's convenience.
- Fixed write barriers for generational garbage collector.
- Imported GNU Classpath 0.16 release (plus later fixes).
- Improved AIX support.
- Improved Cygwin support (not yet supported by SableVM SDK).
- Fixed some other bugs.


=== ABOUT SABLEVM ===

SableVM is a robust, extremely portable, efficient, and
specifications-compliant Java Virtual Machine that aims to be easy to
maintain and to extend.  It features a state-of-the-art and efficient
interpreter engine.  Its source code is very accessible and easy to
understand.  It also has many robustness features that have been the
object of careful design.

SableVM is a clean-room implementation of the publicly available
specifications.

SableVM is licensed under the terms of the GNU Lesser General Public
License (LGPL).  It also uses a modified version of GNU Classpath
called sablevm-classpath which is licensed under the terms of the GNU
General Public License (GPL) with a linking exception.

The license of SableVM (LGPL) was specifically chosen as to maximize
your ability to legally link and run popular applications, such as
Eclipse (http://eclipse.org) and Ant (http://ant.apache.org), which
are licensed in ways which might conflict with the terms of the GNU
General Public License (GPL).  See the the following link for more
information:

  http://sablevm.org/wiki/License_FAQ

The SableVM web site is located at:

  http://sablevm.org


=== INSTALLATION FROM SOURCE ===

SableVM is available for download at:

  http://sablevm.org/download/release/

Altough this release introduced the SableVM SDK integration package we
still provide the separate packages of sablevm and sablevm-classpath
for use in environments SableVM SDK does not support well yet.

We suggest you install SableVM SDK.  You must only download *one*
archive:

- sablevm-sdk-1.12.tar.gz.

In the (uncommon) case you wanted to install SableVM in the old way
you must download and later install *both*:

- sablevm-1.12.tar.gz
- sablevm-classpath-1.12.tar.gz.

See the INSTALL file included in the sablevm-1.12.tar.gz archive or
the sablevm/INSTALL file included in sablevm-sdk-1.12.tar.gz for
build environment requirements and installation procedures.

=== UPDATES ===

Note that since the release of SableVM 1.11 we provide "bugfix"
releases (1.11.1, 1.11.2, 1.11.3).  These releases are NOT announced on
the sablevm-announce mailing list, but instead the announcements are
sent to the sablevm-user mailing list.  You might want to subscribe to
the sablevm-user mailing list to receive informations about these
updates.

We make frequent releases, but we also provide daily snapshots of the
source code repository trunk at:

  http://sablevm.org/download/snapshot/

Note that the code of this trunk is more robust than the code usually
found in the CVS trunk of many other free software projects.  The
trunk only contains code that has been first tested by developers
within their own sandboxes.  A detailed explanation of the different
development branches is available at:

  http://sablevm.org/wiki/Development_Branches


=== NOTES ===

We appreciate your feedback.  Please feel invited to contact us.  See:

  http://sablevm.org/support.html

You can also join us in real-time on the #sablevm IRC channel on
irc.sablevm.org (alias: irc.freenode.net, irc.debian.org).


=== BINARY PACKAGES ===

Binary packages of new SableVM versions are usually available in the
GNU/Linux Debian "unstable" distribution shortly after the official
release.  These packages normally migrate to the "testing"
distribution a few weeks later.

Some other GNU/Linux distributions (Gentoo, etc.) and other operating
systems (*BSD, etc.) also provide binary packages or a convenient
build environment to compile and install sablevm.  For details see:

  http://sablevm.org/download.html


=== DEVELOPMENT OF SABLEVM ===

If you would like to help developing SableVM please join us!  For all
interested we provide a very comfortable environment:

* Subversion accounts

  We provide accounts in our Subversion repository for developers who
  want to work collaboratively on improving SableVM or its class
  libraries.  If you want to join, you should simply ask us for a
  subversion account on the development mailing list
  <sablevm-devel@sablevm.org>.

  Subversion is an improved CVS that takes approximately 10 minutes to
  learn for a person familiar with CVS.

* Very frequent updates from upstream GNU Classpath CVS repository

  The trunk of sablevm-classpath is synchronized with the GNU
  Classpath CVS trunk every few days.

* Private sandbox for each developer

  Each developer is given full access to his own "sandbox" to create
  private development branches (as they're nearly 0-cost to create in
  Subversion).  So each developer's development doesn't interfere with
  other developers.  Each developer can also create private "tags" on
  any code in Subversion.  These tags are publicly available via the
  Web interface at:

  http://sablevm.org/svn/developers/

* No copyright assignment requirement

  We accept contributions without asking for copyright assignment for
  developers.  Our contribution policy is available at:

http://devel.sablevm.org/svn/repository/sablevm/trunk/doc/contribution_policy.txt


=== Additional Information ===

You will find a wealth of additional information in SableVM's wiki
pages at:

  http://sablevm.org/wiki/


=== CONCLUSION ===

We wish you great fun using SableVM.

Enjoy!


        The SableVM Project developers
-- 
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 Jul 05 02:02:44 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DpgW3-0002Gt-6O
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 02:02:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DpgVM-00028n-Tp
	for classpath@gnu.org; Tue, 05 Jul 2005 02:02:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DpgVI-00027f-Sj
	for classpath@gnu.org; Tue, 05 Jul 2005 02:01:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DpgVG-0001o8-NH
	for classpath@gnu.org; Tue, 05 Jul 2005 02:01:55 -0400
Received: from [130.102.104.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpgKI-00053a-6d
	for classpath@gnu.org; Tue, 05 Jul 2005 01:50:34 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.13.0/8.13.0) with ESMTP id j655hG41006970
	for <classpath@gnu.org>; Tue, 5 Jul 2005 15:43:16 +1000 (EST)
Message-Id: <200507050543.j655hG41006970@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: classpath@gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 05 Jul 2005 15:44:15 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.45 (DSTC)
Subject: Patch for Jikes 1.22
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 Jul 2005 06:02:37 -0000


Folks,

I've submitted a two-line patch to the Jikes project on SourceForge
that works around the problem which shown up when you use Jikes 1.22 to
compile against a Classpath class tree.

The symptom is that the compiler dies with an assertion error at
line 1110 of "symbol.h" in the IsInner method.  The workaround is to 
simply remove the assertion.

I cannot vouch for the correctness of the patch ... but it works for me.

As a matter of interest, how does SableVM deal with this bug?

-- Steve




From MAILER-DAEMON Tue Jul 05 02:57:35 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DphN7-0005tZ-B8
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 02:57:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DphMz-0005sR-82
	for classpath@gnu.org; Tue, 05 Jul 2005 02:57:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DphMs-0005pZ-Cg
	for classpath@gnu.org; Tue, 05 Jul 2005 02:57:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DphMr-0005dT-CQ
	for classpath@gnu.org; Tue, 05 Jul 2005 02:57:17 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DphI0-0000y2-55
	for classpath@gnu.org; Tue, 05 Jul 2005 02:52:16 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DphC2-0005HB-00; Tue, 05 Jul 2005 08:46:06 +0200
From: Mark Wielaard <mark@klomp.org>
To: Stephen Crawley <crawley@dstc.edu.au>
In-Reply-To: <200507050543.j655hG41006970@piglet.dstc.edu.au>
References: <200507050543.j655hG41006970@piglet.dstc.edu.au>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-69yUoAl9q0iiD2YPu9s1"
Date: Tue, 05 Jul 2005 08:45:58 +0200
Message-Id: <1120545958.5605.15.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org
Subject: Re: Patch for Jikes 1.22
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 Jul 2005 06:57:27 -0000


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

Hi,

On Tue, 2005-07-05 at 15:44 +1000, Stephen Crawley wrote:
> I've submitted a two-line patch to the Jikes project on SourceForge
> that works around the problem which shown up when you use Jikes 1.22 to
> compile against a Classpath class tree.
>=20
> The symptom is that the compiler dies with an assertion error at
> line 1110 of "symbol.h" in the IsInner method.  The workaround is to=20
> simply remove the assertion.

On what platform have you seen this?
Any idea which file/class triggers it? Or a workaround for our sources?

I am using Jikes Compiler - Version 1.22 - 3 October 2004
(Debian package: 1:1.22-2) on both x86 and ppc GNU/Linux systems and it
seems to work fine. I have not seen any jikes related problem for
months.

The only Debian specific fixes I can see in the package are a m68K
compiler fix (-O1) and two deprecation warning/error fixes that
shouldn't impact our build since we explicitly disable deprecation
warnings.

        src/error.cpp: bug 4059; deprecation diagnostics should be
        warnings, not errors.
        src/decl.cpp: bug 4058; shouldn't warn about deprecation in depreca=
ted
        contexts. (closes: #289346)

Thanks,

Mark

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

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

iD8DBQBCyiylxVhZCJWr9QwRAp7LAJ4ibstpQyYYCHGokrUx4hMSDGOkJQCgr9y/
588qijCULTrkTJXnJ96I2Fs=
=Rnzg
-----END PGP SIGNATURE-----

--=-69yUoAl9q0iiD2YPu9s1--




From MAILER-DAEMON Tue Jul 05 03:04:31 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DphTr-0007H4-BH
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 03:04:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DphTo-0007FP-M6
	for classpath@gnu.org; Tue, 05 Jul 2005 03:04:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DphTl-0007Cv-8c
	for classpath@gnu.org; Tue, 05 Jul 2005 03:04:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DphTk-000790-IH
	for classpath@gnu.org; Tue, 05 Jul 2005 03:04:24 -0400
Received: from [130.102.104.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DphWR-00023j-PH
	for classpath@gnu.org; Tue, 05 Jul 2005 03:07:12 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.13.0/8.13.0) with ESMTP id j656xg4J014471;
	Tue, 5 Jul 2005 16:59:43 +1000 (EST)
Message-Id: <200507050659.j656xg4J014471@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: Message from Mark Wielaard <mark@klomp.org> of "Tue,
	05 Jul 2005 08:45:58 +0200."
	<1120545958.5605.15.camel@localhost.localdomain> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 05 Jul 2005 17:00:41 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.45 (DSTC)
Cc: crawley@piglet.dstc.edu.au, Stephen Crawley <crawley@dstc.edu.au>,
	classpath@gnu.org
Subject: Re: Patch for Jikes 1.22 
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 Jul 2005 07:04:29 -0000


Mark,

> On what platform have you seen this?

I'm running Fedora Core 4, and Jikes compiled from the 1.22 release
source tarball from SourceForge.  Jikes was compiled on FC4 with the
GCC 4.0.x toolchain included therein.

> Any idea which file/class triggers it? Or a workaround for our sources?

The problem occurs when I build the Kissme core classes against Classpath.

A few weeks ago I took a look at a jikes core dump file with gdb and
ascertained that the problem occurs while READING one of the bytecode
files from the previously compiled Classpath tree.  It also occurred
when I had compiled Classpath with GCJ ... which lead me to think that
it was the assertion that was at fault.

I will get back to you with the Classpath file and (I hope) a patch
for that file.

-- Steve




From MAILER-DAEMON Tue Jul 05 03:24:59 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dphnd-0003dC-44
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 03:24:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DphnY-0003bD-9S
	for classpath@gnu.org; Tue, 05 Jul 2005 03:24:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DphnV-0003Zl-F2
	for classpath@gnu.org; Tue, 05 Jul 2005 03:24:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DphnU-0003Sl-GN
	for classpath@gnu.org; Tue, 05 Jul 2005 03:24:48 -0400
Received: from [130.102.104.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dphlz-0003Ys-0p
	for classpath@gnu.org; Tue, 05 Jul 2005 03:23:15 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.13.0/8.13.0) with ESMTP id j657FjXq015729;
	Tue, 5 Jul 2005 17:15:46 +1000 (EST)
Message-Id: <200507050715.j657FjXq015729@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: Message from Mark Wielaard <mark@klomp.org> of "Tue,
	05 Jul 2005 09:11:40 +0200."
	<1120547500.5605.30.camel@localhost.localdomain> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 05 Jul 2005 17:16:45 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.45 (DSTC)
Cc: crawley@piglet.dstc.edu.au, Stephen Crawley <crawley@dstc.edu.au>,
	classpath@gnu.org
Subject: Re: Patch for Jikes 1.22 
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 Jul 2005 07:24:54 -0000


Mark,

> But I worked around it by removing the +U from the kissme Makefile.

I'll try that.

Thanks,

-- Steve






From MAILER-DAEMON Tue Jul 05 03:25:28 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dpho6-0003o9-HK
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 03:25:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dpho2-0003li-2r
	for classpath@gnu.org; Tue, 05 Jul 2005 03:25:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dphny-0003kT-Cp
	for classpath@gnu.org; Tue, 05 Jul 2005 03:25:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dphnx-0003Sl-Kr
	for classpath@gnu.org; Tue, 05 Jul 2005 03:25:17 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dphgw-00038Y-20
	for classpath@gnu.org; Tue, 05 Jul 2005 03:18:02 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dphav-0005Uj-00; Tue, 05 Jul 2005 09:11:49 +0200
From: Mark Wielaard <mark@klomp.org>
To: Stephen Crawley <crawley@dstc.edu.au>
In-Reply-To: <200507050659.j656xg4J014471@piglet.dstc.edu.au>
References: <200507050659.j656xg4J014471@piglet.dstc.edu.au>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-kDWh2QH3dYNoIAC2RIDf"
Date: Tue, 05 Jul 2005 09:11:40 +0200
Message-Id: <1120547500.5605.30.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: crawley@piglet.dstc.edu.au, classpath@gnu.org
Subject: Re: Patch for Jikes 1.22
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 Jul 2005 07:25:25 -0000


--=-kDWh2QH3dYNoIAC2RIDf
Content-Type: multipart/mixed; boundary="=-yP3h2e4+K695kQGrGgjy"


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

Hi,

On Tue, 2005-07-05 at 17:00 +1000, Stephen Crawley wrote:
> The problem occurs when I build the Kissme core classes against Classpath=
.

Aha. Sorry, yes, I am seeing that too.
But I worked around it by removing the +U from the kissme Makefile.

Cheers,

Mark

--=-yP3h2e4+K695kQGrGgjy
Content-Disposition: inline; filename=Makefile.am.patch
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name=Makefile.am.patch; charset=ANSI_X3.4-1968

SW5kZXg6IE1ha2VmaWxlLmFtDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jvb3Qva2lzc21l
L01ha2VmaWxlLmFtLHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS41MA0KZGlmZiAtdSAtcjEuNTAg
TWFrZWZpbGUuYW0NCi0tLSBNYWtlZmlsZS5hbQkyMSBEZWMgMjAwNCAxNToyMToyMSAtMDAwMAkx
LjUwDQorKysgTWFrZWZpbGUuYW0JNSBKdWwgMjAwNSAwNzoxMDo1MSAtMDAwMA0KQEAgLTQ3LDcg
KzQ3LDcgQEANCiBpZiBDQU5fQ09NUElMRV9LQ1ANCiAJZmluZCBAS0NQX0RJUkAgLW5hbWUgJyou
Y2xhc3MnIC1leGVjIHJtIHt9ICc7Jw0KIAljZCBAS0NQX0RJUkAgOyBcDQotCSAgJChKQVZBQykg
K1UgLWNsYXNzcGF0aCAkKEtDUF9CVUlMRF9DTEFTU1BBVEgpIFwNCisJICAkKEpBVkFDKSAtY2xh
c3NwYXRoICQoS0NQX0JVSUxEX0NMQVNTUEFUSCkgXA0KIAkgIGBmaW5kIC4gLW5hbWUgJyouamF2
YSdgDQogZWxzZQ0KIAlAZWNobyBTb3JyeSAuLi4geW91IGRvIG5vdCBhcHBlYXIgdG8gaGF2ZSBL
aXNzbWUgQ2xhc3NwYXRoIHNvdXJjZSBjb2RlDQpAQCAtNjgsNyArNjgsNyBAQA0KIAlpZiAhIHRl
c3QgLWQgY2xhc3NlcyA7IHRoZW4gbWtkaXIgY2xhc3NlcyA7IGZpDQogCXJtIC1mIGBmaW5kIGNs
YXNzZXMgLW5hbWUgXCouY2xhc3NgDQogCWNkICQodG9wX3NyY2RpcikvY2xhc3NlcyA7IFwNCi0J
ICAkKEpBVkFDX0JPT1QpICtVIC1jbGFzc3BhdGggJChLSVNTTUVfQlVJTERfQ0xBU1NQQVRIKSAt
ZCBAYWJzX2J1aWxkZGlyQC9jbGFzc2VzIFwNCisJICAkKEpBVkFDX0JPT1QpIC1jbGFzc3BhdGgg
JChLSVNTTUVfQlVJTERfQ0xBU1NQQVRIKSAtZCBAYWJzX2J1aWxkZGlyQC9jbGFzc2VzIFwNCiAJ
ICAgIGBmaW5kICQoS0lTU01FX1BBQ0tBR0VTKSAtbmFtZSAnKi5qYXZhJ2ANCiAJY2QgJCh0b3Bf
YnVpbGRkaXIpL2NsYXNzZXMNCiBlbHNlDQo=


--=-yP3h2e4+K695kQGrGgjy--

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

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

iD8DBQBCyjKsxVhZCJWr9QwRAtlMAJ4lM/mq6DmCoznGpa3KmsJDV7HI5QCfZOar
g7MTNOyiWf8Bzj4MOlOfo/s=
=LuIn
-----END PGP SIGNATURE-----

--=-kDWh2QH3dYNoIAC2RIDf--




From MAILER-DAEMON Tue Jul 05 03:25:32 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DphoB-0003qT-M1
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 03:25:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dpho7-0003oS-1i
	for classpath@gnu.org; Tue, 05 Jul 2005 03:25:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dpho3-0003lz-Ib
	for classpath@gnu.org; Tue, 05 Jul 2005 03:25:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dpho2-0003Sl-01
	for classpath@gnu.org; Tue, 05 Jul 2005 03:25:22 -0400
Received: from [66.199.137.226] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1Dphel-00030W-C4
	for classpath@gnu.org; Tue, 05 Jul 2005 03:15:47 -0400
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.50 #1 (Debian))
	id 1DphYm-00085d-Ai; Tue, 05 Jul 2005 03:09:36 -0400
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by glue.info.uqam.ca with esmtp (Exim 4.50)
	id 1DphXN-0005w6-JZ; Tue, 05 Jul 2005 03:08:09 -0400
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: Stephen Crawley <crawley@dstc.edu.au>
In-Reply-To: <200507050543.j655hG41006970@piglet.dstc.edu.au>
References: <200507050543.j655hG41006970@piglet.dstc.edu.au>
Content-Type: text/plain
Organization: Debian http://www.debian.org - The Free Operating System
Date: Tue, 05 Jul 2005 03:09:10 -0400
Message-Id: <1120547352.1311.4.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Patch for Jikes 1.22
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 Jul 2005 07:25:29 -0000

On Tue, 2005-05-07 at 15:44 +1000, Stephen Crawley wrote:
> Folks,
> 
> I've submitted a two-line patch to the Jikes project on SourceForge
> that works around the problem which shown up when you use Jikes 1.22 to
> compile against a Classpath class tree.
> 
> The symptom is that the compiler dies with an assertion error at
> line 1110 of "symbol.h" in the IsInner method.  The workaround is to 
> simply remove the assertion.
> 
> I cannot vouch for the correctness of the patch ... but it works for me.

I don't know much of the quality of jikes code, but "just" removing
a failing assertion from SableVM has always proven to be a bad idea,
eventually.

> As a matter of interest, how does SableVM deal with this bug?

I don't think we've hit it.  SableVM SDK 1.12 uses Jikes 1.22 plus
a little patch for deprecated method handling.

			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 Jul 05 12:12:15 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dpq1u-0008Jw-St
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 12:12:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dpq1s-0008JL-6f
	for classpath@gnu.org; Tue, 05 Jul 2005 12:12:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dpq1q-0008IM-EE
	for classpath@gnu.org; Tue, 05 Jul 2005 12:12:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dpq0M-0007XK-Ma
	for classpath@gnu.org; Tue, 05 Jul 2005 12:10:38 -0400
Received: from [202.225.89.178] (helo=rcpt-expgw.biglobe.ne.jp)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dpplw-0006qM-QP
	for classpath@gnu.org; Tue, 05 Jul 2005 11:55:45 -0400
Received: from smtp-gw.biglobe.ne.jp
	by rcpt-expgw.biglobe.ne.jp (mssh/3613031104) with ESMTP id
	j65FnQqf012735; Wed, 6 Jul 2005 00:49:26 +0900 (JST)
X-Biglobe-Sender: <freebeans@xqb.biglobe.ne.jp>
Received: from [192.168.0.12] (221.170.206.41 [221.170.206.41]) by
	smtp-gw.biglobe.ne.jp
	id AAPXC0A82746; Wed, 06 Jul 2005 00:49:26 +0900 (JST)
Date: Wed, 06 Jul 2005 00:49:27 +0900
From: freebeans <freebeans@xqb.biglobe.ne.jp>
To: classpath@gnu.org
Message-Id: <20050706004355.EB48.FREEBEANS@xqb.biglobe.ne.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.10.02 [ja]
Subject: Mysaifu JVM version 0.0.5 released
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 Jul 2005 16:12:12 -0000

Hello,
 Mysaifu JVM version 0.0.5 is now available for download from
http://www2s.biglobe.ne.jp/~dat/java/project/jvm/index_en.html

 Mysaifu JVM is a Java virtual machine which runs on Pocket PC 2003.
 GNU Classpath is this JVM's library (GNU Classpath 0.13 base). 

Thank you.

-- 
freebeans <freebeans@xqb.biglobe.ne.jp>




From MAILER-DAEMON Tue Jul 05 14:54:46 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DpsZB-00019m-7Q
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 14:54:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DpsZ0-00014U-FC
	for classpath@gnu.org; Tue, 05 Jul 2005 14:54:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DpsYr-0000yv-7p
	for classpath@gnu.org; Tue, 05 Jul 2005 14:54:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DpsYr-0000yQ-0Q
	for classpath@gnu.org; Tue, 05 Jul 2005 14:54:25 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dpsbw-0004ug-6i
	for classpath@gnu.org; Tue, 05 Jul 2005 14:57:36 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DpsVz-0000jE-00; Tue, 05 Jul 2005 20:51:27 +0200
From: Mark Wielaard <mark@klomp.org>
To: Ronald Veldema <Ronald.Veldema@informatik.uni-erlangen.de>
In-Reply-To: <42C95539.9080906@informatik.uni-erlangen.de>
References: <42C95539.9080906@informatik.uni-erlangen.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Pp3CBBMiXl6STmNVBjgb"
Date: Tue, 05 Jul 2005 20:51:24 +0200
Message-Id: <1120589484.11058.25.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org
Subject: Re: javax.vecmath
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 Jul 2005 18:54:39 -0000


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

Hi Ronald,

On Mon, 2005-07-04 at 17:26 +0200, Ronald Veldema wrote:
>     I've written part of javax.vecmath (contains things like vectors,
> matrixes, etc for Java3D).
> Any interrest ?

Cool. But I hate to say that there is already a free implementation.
Could you cross-check with the version at:
http://www.objectclub.jp/download/vecmath_e
I know people have used this for things like http://www.xith3d.com/
See http://www.spindazzle.org/green/index.php?p=3D45

Maybe you have a better, completer or more documented version, if so we
are certainly interested.

Cheers,

Mark

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

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

iD8DBQBCytasxVhZCJWr9QwRAjZ9AKCPU6N4gfOO23VzVe6pb5uYZnMI4ACeIRjd
2/ulAygn/RnfkThDrZg7WJI=
=tiUu
-----END PGP SIGNATURE-----

--=-Pp3CBBMiXl6STmNVBjgb--




From MAILER-DAEMON Tue Jul 05 15:07:35 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dpslb-0004m5-5k
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 15:07:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DpslW-0004kr-J3
	for classpath@gnu.org; Tue, 05 Jul 2005 15:07:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DpslS-0004iu-5r
	for classpath@gnu.org; Tue, 05 Jul 2005 15:07:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DpslR-0004iY-Qf
	for classpath@gnu.org; Tue, 05 Jul 2005 15:07:25 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dpspj-0005yE-7W
	for classpath@gnu.org; Tue, 05 Jul 2005 15:11:51 -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 j65J5NIW018844;
	Tue, 5 Jul 2005 15:05:23 -0400
Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j65J5MV01017; 
	Tue, 5 Jul 2005 15:05:22 -0400
Received: from dhcp-172-16-25-146.sfbay.redhat.com
	(dhcp-172-16-25-146.sfbay.redhat.com [172.16.25.146])
	by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id j65J5KWM027418;
	Tue, 5 Jul 2005 15:05:21 -0400
From: Anthony Green <green@redhat.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1120589484.11058.25.camel@localhost.localdomain>
References: <42C95539.9080906@informatik.uni-erlangen.de>
	<1120589484.11058.25.camel@localhost.localdomain>
Content-Type: text/plain
Date: Tue, 05 Jul 2005 12:05:20 -0700
Message-Id: <1120590320.2951.23.camel@dhcp-172-16-25-146.sfbay.redhat.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-5) 
Content-Transfer-Encoding: 7bit
Cc: Ronald Veldema <Ronald.Veldema@informatik.uni-erlangen.de>,
	classpath@gnu.org
Subject: Re: javax.vecmath
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 Jul 2005 19:07:32 -0000

On Tue, 2005-07-05 at 20:51 +0200, Mark Wielaard wrote:
> Could you cross-check with the version at:
> http://www.objectclub.jp/download/vecmath_e
> I know people have used this for things like http://www.xith3d.com/
> See http://www.spindazzle.org/green/index.php?p=45
> 
> Maybe you have a better, completer or more documented version, if so we
> are certainly interested.

ISTR there being holes in the version I packaged (relative to the latest
specs), and it doesn't seem to be actively maintained.  I think a new
actively maintained implementation would be fantastic.

AG





From MAILER-DAEMON Tue Jul 05 16:24:46 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DptyH-0001al-Sc
	for mharc-classpath@gnu.org; Tue, 05 Jul 2005 16:24:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dpty9-0001X0-28
	for classpath@gnu.org; Tue, 05 Jul 2005 16:24:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dpty3-0001UN-MK
	for classpath@gnu.org; Tue, 05 Jul 2005 16:24:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dpty2-0001S3-Iu
	for classpath@gnu.org; Tue, 05 Jul 2005 16:24:30 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Dpu12-0003uE-W4
	for classpath@gnu.org; Tue, 05 Jul 2005 16:27:37 -0400
Received: (qmail invoked by alias); 05 Jul 2005 20:21:12 -0000
Received: from p54818462.dip0.t-ipconnect.de (EHLO [192.168.0.203])
	[84.129.132.98]
	by mail.gmx.net (mp013) with SMTP; 05 Jul 2005 22:21:12 +0200
X-Authenticated: #1941950
Message-ID: <42CAEC73.7020106@gmx.de>
Date: Tue, 05 Jul 2005 22:24:19 +0200
From: Wolfgang Baer <WBaer@gmx.de>
User-Agent: Debian Thunderbird 1.0.2 (X11/20050602)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ronald Veldema <Ronald.Veldema@informatik.uni-erlangen.de>
References: <42C95539.9080906@informatik.uni-erlangen.de>	<1120589484.11058.25.camel@localhost.localdomain>
	<1120590320.2951.23.camel@dhcp-172-16-25-146.sfbay.redhat.com>
In-Reply-To: <1120590320.2951.23.camel@dhcp-172-16-25-146.sfbay.redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: classpath@gnu.org
Subject: Re: javax.vecmath
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 Jul 2005 20:24:40 -0000

Anthony Green wrote:
> On Tue, 2005-07-05 at 20:51 +0200, Mark Wielaard wrote:
> 
>>Could you cross-check with the version at:
>>http://www.objectclub.jp/download/vecmath_e
>>I know people have used this for things like http://www.xith3d.com/
>>See http://www.spindazzle.org/green/index.php?p=45
>>
>>Maybe you have a better, completer or more documented version, if so we
>>are certainly interested.
> 
> 
> ISTR there being holes in the version I packaged (relative to the latest
> specs), and it doesn't seem to be actively maintained.  I think a new
> actively maintained implementation would be fantastic.

I am also interested :-)  I have packaged the above mentioned
implementation for debian - it is based on the Java3D 1.2
specification.

Therefore a Java3D 1.3 spec vecmath implementation would be
very welcome.

Wolfgang



From MAILER-DAEMON Wed Jul 06 11:53:38 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqCDS-0004lx-9j
	for mharc-classpath@gnu.org; Wed, 06 Jul 2005 11:53:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqCDM-0004h8-Ey
	for classpath@gnu.org; Wed, 06 Jul 2005 11:53:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqCDE-0004cJ-Bh
	for classpath@gnu.org; Wed, 06 Jul 2005 11:53:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqCDC-0004XZ-0h
	for classpath@gnu.org; Wed, 06 Jul 2005 11:53:22 -0400
Received: from [132.227.60.2] (helo=isis.lip6.fr)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DqC7v-0008Ew-QE
	for classpath@gnu.org; Wed, 06 Jul 2005 11:47:56 -0400
Received: from src.lip6.fr (src.lip6.fr [132.227.64.100])
	by isis.lip6.fr (8.13.1/jtpda-5.4+victor) with ESMTP id j66FfO8c024999
	; Wed, 6 Jul 2005 17:41:24 +0200
X-pt: isis.lip6.fr
Received: from [132.227.64.215] (src16 [132.227.64.215])
	by src.lip6.fr (8.12.9-20030917/jtpda-5.4+victor) with ESMTP id
	j66FfO9B005069 ; Wed, 6 Jul 2005 17:41:24 +0200
Message-ID: <42CBFBCE.8000509@menlina.com>
Date: Wed, 06 Jul 2005 17:42:06 +0200
From: Nicolas Geoffray <nicolas.geoffray@menlina.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050509)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="------------040506000304070200060806"
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0b2
	(isis.lip6.fr [132.227.60.2]);
	Wed, 06 Jul 2005 17:41:24 +0200 (CEST)
X-Scanned-By: isis.lip6.fr
Cc: 
Subject: ResourceBundle optimisation
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 Jul 2005 15:53:33 -0000

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

Hi everyone,

I've been doing benchmarks beween my vm and another one launching Tomcat 
and noticed that the startup spent a long time trying to find Resouces 
with getBundle.
The thing is, ResourceBundle uses a cache for the resources it founds, 
but i think it's not perfectly used.

When getBundle is entered, it first tries to find the resource in the 
cache. If it's not found, it calls tryBundle. Then tryBundle tries to 
load ressources with different locales, but never searches in the cache, 
allthough it could.

I made a patch for it and gained 2 minutes during startup of tomcat 
(using an ibook 500Mhz). It's attached.


Nicolas

--------------040506000304070200060806
Content-Type: text/x-patch;
 name="classpath-0.13-ResourceBundle.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="classpath-0.13-ResourceBundle.diff"

--- java/util/ResourceBundle.java	2005-01-07 00:32:28.000000000 +0100
+++ java/util/ResourceBundle.java	2005-06-29 17:19:43.101862656 +0200
@@ -287,23 +287,21 @@
   private static class BundleKey
   {
     String baseName;
-    Locale locale;
     ClassLoader classLoader;
     int hashcode;
 
     BundleKey() {}
 
-    BundleKey(String s, Locale l, ClassLoader cl)
+    BundleKey(String s, ClassLoader cl)
     {
-      set(s, l, cl);
+      set(s, cl);
     }
     
-    void set(String s, Locale l, ClassLoader cl)
+    void set(String s, ClassLoader cl)
     {
       baseName = s;
-      locale = l;
       classLoader = cl;
-      hashcode = baseName.hashCode() ^ locale.hashCode() ^
+      hashcode = baseName.hashCode() ^
         classLoader.hashCode();
     }
     
@@ -319,7 +317,6 @@
       BundleKey key = (BundleKey) o;
       return hashcode == key.hashcode &&
 	baseName.equals(key.baseName) &&
-        locale.equals(key.locale) &&
 	classLoader.equals(key.classLoader);
     }    
   }
@@ -419,22 +416,6 @@
 	lastDefaultLocale = defaultLocale;
       }
 
-    // This will throw NullPointerException if any arguments are null.
-    lookupKey.set(baseName, locale, classLoader);
-    
-    Object obj = bundleCache.get(lookupKey);
-    ResourceBundle rb = null;
-    
-    if (obj instanceof ResourceBundle)
-      {
-        return (ResourceBundle) obj;
-      }
-    else if (obj == nullEntry)
-      {
-        // Lookup has failed previously. Fall through.
-      }
-    else
-      {
 	// First, look for a bundle for the specified locale. We don't want
 	// the base bundle this time.
 	boolean wantBase = locale.equals(defaultLocale);
@@ -445,22 +426,10 @@
 	if (bundle == null && !locale.equals(defaultLocale))
 	  bundle = tryBundle(baseName, defaultLocale, classLoader, true);
 
-	BundleKey key = new BundleKey(baseName, locale, classLoader);
-        if (bundle == null)
-	  {
-	    // Cache the fact that this lookup has previously failed.
-	    bundleCache.put(key, nullEntry);
-	  }
-	else
-	  {
-            // Cache the result and return it.
-	    bundleCache.put(key, bundle);
-	    return bundle;
-	  }
-      }
+      if(bundle == null)
+        throw new MissingResourceException("Bundle " + baseName + " not found", baseName, "");
 
-    throw new MissingResourceException("Bundle " + baseName + " not found",
-				       baseName, "");
+      return bundle;
   }
 
   /**
@@ -527,9 +496,10 @@
 	      is = ClassLoader.getSystemResourceAsStream(resourceName);
 	    else
 	      is = classloader.getResourceAsStream(resourceName);
-	    if (is != null)
+        if (is != null){
 	      bundle = new PropertyResourceBundle(is);
 	  }
+      }
 	catch (IOException ex)
 	  {
 	    MissingResourceException mre = new MissingResourceException
@@ -593,12 +563,32 @@
     String bundleName = sb.toString();
     ResourceBundle first = null; // The most specialized bundle.
     ResourceBundle last = null; // The least specialized bundle.
-    
+    ResourceBundle foundBundle = null;
     while (true)
       {
-        ResourceBundle foundBundle = tryBundle(bundleName, classLoader);
+
+      lookupKey.set(bundleName, classLoader);
+
+      Object obj = bundleCache.get(lookupKey);
+
+      if (obj instanceof ResourceBundle)
+      {
+        foundBundle =  (ResourceBundle) obj;
+      }
+      else if (obj == nullEntry)
+      {
+        foundBundle = null;
+      }
+      else{
+        foundBundle = tryBundle(bundleName, classLoader);
+      }
+
+      BundleKey key = new BundleKey(bundleName, classLoader);
 	if (foundBundle != null)
 	  {
+
+        bundleCache.put(key, foundBundle);
+
 	    if (first == null)
 	      first = foundBundle;
 	    if (last != null)
@@ -606,6 +596,10 @@
 	    foundBundle.locale = locale;
 	    last = foundBundle;
 	  }
+      else
+        // Cache the fact that this lookup has previously failed.
+        bundleCache.put(key, nullEntry);
+
 	int idx = bundleName.lastIndexOf('_');
 	// Try the non-localized base name only if we already have a
 	// localized child bundle, or wantBase is true.

--------------040506000304070200060806--



From MAILER-DAEMON Wed Jul 06 16:07:26 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqGB3-000775-RB
	for mharc-classpath@gnu.org; Wed, 06 Jul 2005 16:07:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqGAV-0006x2-ON
	for classpath@gnu.org; Wed, 06 Jul 2005 16:06:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqGAG-0006q5-W3
	for classpath@gnu.org; Wed, 06 Jul 2005 16:06:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqGAF-0006ec-0h
	for classpath@gnu.org; Wed, 06 Jul 2005 16:06:35 -0400
Received: from [193.252.22.26] (helo=smtp5.wanadoo.fr)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqG7s-0001Cv-0I
	for classpath@gnu.org; Wed, 06 Jul 2005 16:04:08 -0400
Received: from me-wanadoo.net (localhost [127.0.0.1])
	by mwinf0508.wanadoo.fr (SMTP Server) with ESMTP id 5653F1C000F7
	for <classpath@gnu.org>; Wed,  6 Jul 2005 21:57:36 +0200 (CEST)
Received: from [192.168.0.200] (AVelizy-151-1-52-246.w82-120.abo.wanadoo.fr
	[82.120.29.246])
	by mwinf0508.wanadoo.fr (SMTP Server) with ESMTP id 7211F1C000F1;
	Wed,  6 Jul 2005 21:57:33 +0200 (CEST)
X-ME-UUID: 20050706195735467.7211F1C000F1@mwinf0508.wanadoo.fr
Message-ID: <42CC37D8.2030805@menlina.com>
Date: Wed, 06 Jul 2005 21:58:16 +0200
From: Nicolas Geoffray <nicolas.geoffray@menlina.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050509)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
References: <42CBFBCE.8000509@menlina.com>
In-Reply-To: <42CBFBCE.8000509@menlina.com>
Content-Type: multipart/mixed; boundary="------------090800010302090502080407"
Cc: 
Subject: Re: ResourceBundle optimisation
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 Jul 2005 20:07:24 -0000

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

My mistake, i gave you a patch against classpath-0.13. Here's a patch 
against the latest cvs.

Nicolas Geoffray wrote:

> Hi everyone,
>
> I've been doing benchmarks beween my vm and another one launching 
> Tomcat and noticed that the startup spent a long time trying to find 
> Resouces with getBundle.
> The thing is, ResourceBundle uses a cache for the resources it founds, 
> but i think it's not perfectly used.
>
> When getBundle is entered, it first tries to find the resource in the 
> cache. If it's not found, it calls tryBundle. Then tryBundle tries to 
> load ressources with different locales, but never searches in the 
> cache, allthough it could.
>
> I made a patch for it and gained 2 minutes during startup of tomcat 
> (using an ibook 500Mhz). It's attached.
>
>
> Nicolas
>
>------------------------------------------------------------------------
>
>  
>


--------------090800010302090502080407
Content-Type: text/x-patch;
 name="Cache-ResourceBundle.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Cache-ResourceBundle.diff"

--- java/util/ResourceBundle.java	2005-07-06 21:51:21.243969910 +0200
+++ java/util/ResourceBundle.java	2005-07-06 21:53:14.870450642 +0200
@@ -247,24 +247,21 @@
   private static class BundleKey
   {
     String baseName;
-    Locale locale;
     ClassLoader classLoader;
     int hashcode;
 
     BundleKey() {}
 
-    BundleKey(String s, Locale l, ClassLoader cl)
+    BundleKey(String s, ClassLoader cl)
     {
-      set(s, l, cl);
+      set(s, cl);
     }
     
-    void set(String s, Locale l, ClassLoader cl)
+    void set(String s, ClassLoader cl)
     {
       baseName = s;
-      locale = l;
       classLoader = cl;
-      hashcode = baseName.hashCode() ^ locale.hashCode() ^
-        classLoader.hashCode();
+      hashcode = baseName.hashCode() ^ classLoader.hashCode();
     }
     
     public int hashCode()
@@ -279,7 +276,6 @@
       BundleKey key = (BundleKey) o;
       return hashcode == key.hashcode &&
 	baseName.equals(key.baseName) &&
-        locale.equals(key.locale) &&
 	classLoader.equals(key.classLoader);
     }    
   }
@@ -379,48 +375,20 @@
 	lastDefaultLocale = defaultLocale;
       }
 
-    // This will throw NullPointerException if any arguments are null.
-    lookupKey.set(baseName, locale, classLoader);
-    
-    Object obj = bundleCache.get(lookupKey);
-    ResourceBundle rb = null;
-    
-    if (obj instanceof ResourceBundle)
-      {
-        return (ResourceBundle) obj;
-      }
-    else if (obj == nullEntry)
-      {
-        // Lookup has failed previously. Fall through.
-      }
-    else
-      {
-	// First, look for a bundle for the specified locale. We don't want
-	// the base bundle this time.
-	boolean wantBase = locale.equals(defaultLocale);
-	ResourceBundle bundle = tryBundle(baseName, locale, classLoader, 
+    // First, look for a bundle for the specified locale. We don't want
+    // the base bundle this time.
+    boolean wantBase = locale.equals(defaultLocale);
+    ResourceBundle bundle = tryBundle(baseName, locale, classLoader, 
 					  wantBase);
 
-        // Try the default locale if neccessary.
-	if (bundle == null && !locale.equals(defaultLocale))
-	  bundle = tryBundle(baseName, defaultLocale, classLoader, true);
+    // Try the default locale if neccessary.
+    if (bundle == null && !locale.equals(defaultLocale))
+      bundle = tryBundle(baseName, defaultLocale, classLoader, true);
 
-	BundleKey key = new BundleKey(baseName, locale, classLoader);
-        if (bundle == null)
-	  {
-	    // Cache the fact that this lookup has previously failed.
-	    bundleCache.put(key, nullEntry);
-	  }
-	else
-	  {
-            // Cache the result and return it.
-	    bundleCache.put(key, bundle);
-	    return bundle;
-	  }
-      }
-
-    throw new MissingResourceException("Bundle " + baseName + " not found",
+    if (bundle == null)
+      throw new MissingResourceException("Bundle " + baseName + " not found",
 				       baseName, "");
+    return bundle;
   }
 
   /**
@@ -553,12 +521,32 @@
     String bundleName = sb.toString();
     ResourceBundle first = null; // The most specialized bundle.
     ResourceBundle last = null; // The least specialized bundle.
-    
+    ResourceBundle foundBundle = null;
     while (true)
       {
-        ResourceBundle foundBundle = tryBundle(bundleName, classLoader);
+
+      lookupKey.set(bundleName, classLoader);
+
+      Object obj = bundleCache.get(lookupKey);
+
+      if (obj instanceof ResourceBundle)
+      {
+        foundBundle =  (ResourceBundle) obj;
+      }
+      else if (obj == nullEntry)
+      {
+        foundBundle = null;
+      }
+      else{
+        foundBundle = tryBundle(bundleName, classLoader);
+      }
+
+      BundleKey key = new BundleKey(bundleName, classLoader);
 	if (foundBundle != null)
 	  {
+
+        bundleCache.put(key, foundBundle);
+
 	    if (first == null)
 	      first = foundBundle;
 	    if (last != null)
@@ -566,6 +554,10 @@
 	    foundBundle.locale = locale;
 	    last = foundBundle;
 	  }
+      else
+        // Cache the fact that this lookup has previously failed.
+        bundleCache.put(key, nullEntry);
+
 	int idx = bundleName.lastIndexOf('_');
 	// Try the non-localized base name only if we already have a
 	// localized child bundle, or wantBase is true.

--------------090800010302090502080407--




From MAILER-DAEMON Wed Jul 06 22:59:32 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqMbn-00048X-ER
	for mharc-classpath@gnu.org; Wed, 06 Jul 2005 22:59:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqMbi-000456-Lf
	for classpath@gnu.org; Wed, 06 Jul 2005 22:59:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqMbf-00043b-9i
	for classpath@gnu.org; Wed, 06 Jul 2005 22:59:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqMbf-00043B-3N
	for classpath@gnu.org; Wed, 06 Jul 2005 22:59:19 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DqMgC-0001pV-Oh
	for classpath@gnu.org; Wed, 06 Jul 2005 23:04:01 -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 j672vOIZ014118;
	Wed, 6 Jul 2005 22:57:24 -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 j672vOV07126; 
	Wed, 6 Jul 2005 22:57:24 -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
	j672vN1M000699; Wed, 6 Jul 2005 22:57:24 -0400
Message-ID: <42CC9A13.2020900@redhat.com>
Date: Wed, 06 Jul 2005 22:57:23 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Nicolas Geoffray <nicolas.geoffray@menlina.com>
References: <42CBFBCE.8000509@menlina.com> <42CC37D8.2030805@menlina.com>
In-Reply-To: <42CC37D8.2030805@menlina.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: ResourceBundle optimisation
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 Jul 2005 02:59:24 -0000

Nicolas Geoffray wrote:

> My mistake, i gave you a patch against classpath-0.13. Here's a patch 
> against the latest cvs.
>
> Nicolas Geoffray wrote:
>
>> Hi everyone,
>>
>> I've been doing benchmarks beween my vm and another one launching 
>> Tomcat and noticed that the startup spent a long time trying to find 
>> Resouces with getBundle.
>> The thing is, ResourceBundle uses a cache for the resources it 
>> founds, but i think it's not perfectly used.
>>
>> When getBundle is entered, it first tries to find the resource in the 
>> cache. If it's not found, it calls tryBundle. Then tryBundle tries to 
>> load ressources with different locales, but never searches in the 
>> cache, allthough it could.
>>
>> I made a patch for it and gained 2 minutes during startup of tomcat 
>> (using an ibook 500Mhz). It's attached.
>

Hi Nicolas,

I don't think this patch is correct. If an application requests the same 
bundle baseName, but with a different locale, the locale argument will 
be ignored and the first bundle placed in the cache will be returned.

Never the less, I'd be interested to know where the 2 minute speedup 
came from, and if there is anything we can do to improve ResourceBundle 
without breaking its semantics. Does Tomcat request the same bundle 
baseName for many different locales?

Regards

Bryce




From MAILER-DAEMON Thu Jul 07 05:24:01 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqSQe-0002y4-TJ
	for mharc-classpath@gnu.org; Thu, 07 Jul 2005 05:12:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqSN4-0002dj-Gn
	for classpath@gnu.org; Thu, 07 Jul 2005 05:08:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqSKj-0002UI-CI
	for classpath@gnu.org; Thu, 07 Jul 2005 05:06:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqSDk-0001N3-EC
	for classpath@gnu.org; Thu, 07 Jul 2005 04:59:02 -0400
Received: from [132.227.60.2] (helo=isis.lip6.fr)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DqRv8-0005H0-Bl
	for classpath@gnu.org; Thu, 07 Jul 2005 04:39:46 -0400
Received: from src.lip6.fr (src.lip6.fr [132.227.64.100])
	by isis.lip6.fr (8.13.1/jtpda-5.4+victor) with ESMTP id j678X6nh014461
	; Thu, 7 Jul 2005 10:33:06 +0200
X-pt: isis.lip6.fr
Received: from [132.227.64.215] (src16 [132.227.64.215])
	by src.lip6.fr (8.12.9-20030917/jtpda-5.4+victor) with ESMTP id
	j678X59B018521 ; Thu, 7 Jul 2005 10:33:06 +0200
Message-ID: <42CCE8EE.9000704@menlina.com>
Date: Thu, 07 Jul 2005 10:33:50 +0200
From: Nicolas Geoffray <nicolas.geoffray@menlina.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050509)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bryce McKinlay <mckinlay@redhat.com>
References: <42CBFBCE.8000509@menlina.com> <42CC37D8.2030805@menlina.com>
	<42CC9A13.2020900@redhat.com>
In-Reply-To: <42CC9A13.2020900@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0b2
	(isis.lip6.fr [132.227.60.2]);
	Thu, 07 Jul 2005 10:33:06 +0200 (CEST)
X-Scanned-By: isis.lip6.fr
Cc: classpath@gnu.org
Subject: Re: ResourceBundle optimisation
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 Jul 2005 09:11:48 -0000
X-List-Received-Date: Thu, 07 Jul 2005 09:11:48 -0000

Hi Bryce,

Bryce McKinlay wrote:

> Nicolas Geoffray wrote:
>
>> My mistake, i gave you a patch against classpath-0.13. Here's a patch 
>> against the latest cvs.
>>
>> Nicolas Geoffray wrote:
>>
>>> Hi everyone,
>>>
>>> I've been doing benchmarks beween my vm and another one launching 
>>> Tomcat and noticed that the startup spent a long time trying to find 
>>> Resouces with getBundle.
>>> The thing is, ResourceBundle uses a cache for the resources it 
>>> founds, but i think it's not perfectly used.
>>>
>>> When getBundle is entered, it first tries to find the resource in 
>>> the cache. If it's not found, it calls tryBundle. Then tryBundle 
>>> tries to load ressources with different locales, but never searches 
>>> in the cache, allthough it could.
>>>
>>> I made a patch for it and gained 2 minutes during startup of tomcat 
>>> (using an ibook 500Mhz). It's attached.
>>
>>
>
> Hi Nicolas,
>
> I don't think this patch is correct. If an application requests the 
> same bundle baseName, but with a different locale, the locale argument 
> will be ignored and the first bundle placed in the cache will be 
> returned.
>
No, because in tryBundle, a new string is created with basename + 
locale. It is that new string that is put in the cache, not just the 
basename.
For example, say you're looking for a resource "MyResource" with locale 
en_US. If it is found, then the result is cached with a key created from 
MyResource_en_US, not MyResource.

> Never the less, I'd be interested to know where the 2 minute speedup 
> came from, and if there is anything we can do to improve 
> ResourceBundle without breaking its semantics. Does Tomcat request the 
> same bundle baseName for many different locales?
>
It is when it loads struts. It is looking for a resource 
ApplicationProperties with all the locales classpath has. With the 
current implementation of ResourceBundle, looking for all resources 
takes a real long time. Here's an example :
1) You're in getBundle looking for resource ApplicationProperties with 
locale AA_aa
2) It's not in the cache, so you go into tryBundle
3) In tryBundle, you don't find ApplicationProperties_AA_aa
4) In tryBundle you find ApplicationProperties_AA so you return it
5) In getBundle you cache ApplicationProperties_AA_aa with the result 
(ApplicationProperties_AA is not cached)
6) In the next getBundle, you're looking for ApplicationProperties with 
locale AA...

The patch improves the researches by caching ApplicationProperties_AA.

Even better, in tryBundle when a result is found for a resource, we 
could cache all intermediary resources we were looking for. For example 
if we were looking for ApplicationProperties_AA_aa, and finally found a 
result for ApplicationProperties (with no locale), we could cache 
ApplicationProperties, ApplicationProperties_AA_aa, and 
ApplicationProperties_AA with that same result.

I haven't done this greater optimisation, as i'm not sure of the 
correctness of the patch regarding "the most specialized bundle" in 
tryBundle.

> Regards
>
> Bryce
>
Nicolas



From MAILER-DAEMON Thu Jul 07 06:12:18 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqTMX-0007A1-QA
	for mharc-classpath@gnu.org; Thu, 07 Jul 2005 06:12:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqTMQ-000769-VL
	for classpath@gnu.org; Thu, 07 Jul 2005 06:12:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqTMI-0006yI-1B
	for classpath@gnu.org; Thu, 07 Jul 2005 06:11:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqTMF-0006tr-FA
	for classpath@gnu.org; Thu, 07 Jul 2005 06:11:51 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqTN6-0003i2-Sq
	for classpath@gnu.org; Thu, 07 Jul 2005 06:12:45 -0400
Received: from dumas.thomas.planescape.com ([10.0.0.2] ident=zander)
	by namlook.thomas.planescape.com with esmtp (Exim 3.35 #1 (Debian))
	id 1DqTGa-0002AV-00
	for <classpath@gnu.org>; Thu, 07 Jul 2005 12:06:00 +0200
From: Thomas Zander <zander@kde.org>
To: classpath@gnu.org
Date: Thu, 7 Jul 2005 12:05:11 +0200
User-Agent: KMail/1.8.50
References: <42CBFBCE.8000509@menlina.com> <42CC9A13.2020900@redhat.com>
	<42CCE8EE.9000704@menlina.com>
In-Reply-To: <42CCE8EE.9000704@menlina.com>
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200507071205.11662.zander@kde.org>
Subject: Re: ResourceBundle optimisation
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 Jul 2005 10:12:06 -0000

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

On Thursday 7 July 2005 10:33, Nicolas Geoffray wrote:
> Even better, in tryBundle when a result is found for a resource, we
> could cache all intermediary resources we were looking for. For example
> if we were looking for ApplicationProperties_AA_aa, and finally found a
> result for ApplicationProperties (with no locale), we could cache
> ApplicationProperties, ApplicationProperties_AA_aa, and
> ApplicationProperties_AA with that same result.

Won't that break things when new (more specialised) resource bundles are 
added to the classpath at a later time?
Then again, we probably also don't store URL of already loaded RBs to 
check if the file was updated so we can reload.

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

iD8DBQFCzP5XCojCW6H2z/QRAgFOAJ49gTky0QjwOdtPgY61uQyL65OOPgCePqiy
vHETC5fADDn16JQyPIs3SoA=
=iJJx
-----END PGP SIGNATURE-----



From MAILER-DAEMON Thu Jul 07 06:23:19 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqTXJ-0002GA-UC
	for mharc-classpath@gnu.org; Thu, 07 Jul 2005 06:23:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqLkD-0006zd-1e
	for classpath@gnu.org; Wed, 06 Jul 2005 22:04:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqLk5-0006w5-Eb
	for classpath@gnu.org; Wed, 06 Jul 2005 22:03:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqLk4-0006sj-Ay
	for classpath@gnu.org; Wed, 06 Jul 2005 22:03:56 -0400
Received: from [216.239.128.26] (helo=smtp.omnis.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqLdQ-0006jo-8W
	for classpath@gnu.org; Wed, 06 Jul 2005 21:57:04 -0400
Received: from [10.2.2.20] (68-113-105-219.dhcp.leds.al.charter.com
	[68.113.105.219])
	by smtp-relay.omnis.com (Postfix) with ESMTP id 9F322140788C
	for <classpath@gnu.org>; Wed,  6 Jul 2005 18:50:27 -0700 (PDT)
Message-ID: <42CC8A63.7080902@awarix.com>
Date: Wed, 06 Jul 2005 20:50:27 -0500
From: Archie Cobbs <archie@awarix.com>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Thu, 07 Jul 2005 06:23:15 -0400
Subject: JNI assertion failure
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 Jul 2005 02:04:07 -0000

With Classpath 0.16, trying to run a very simple Swing demo under JCVM,
I get a JNI assertion failure in a call to GetIntField(), because the object
type and the fieldID are not compatible:

    gnu/java/awt/peer/gtk/GdkGraphics@0x85e0308 not instance of 
gnu/java/awt/peer/gtk/GtkGenericPeer

Here is the relevant stack trace snippet:

#4  0x282d6c1b in abort () from /lib/libc.so.5
#5  0x280ae91d in GetIntField (jenv=0x107ed6a0, obj=0x29795698,
     field=0x107527c8) at jni_native.c:82
#6  0x29f99d72 in set_state (env=0x107ed6a0, obj=0x29795698, table=0x10471440,
     state=0x109ea4c0) at native_state.c:217
#7  0x29f862d7 in 
Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__Lgnu_java_awt_peer_gtk_GtkComponentPeer_2 
(env=0x107ed6a0, obj=0x29795698, peer=0x2979569c)
     at gnu_java_awt_peer_gtk_GdkGraphics.c:154
#8  0x280d4289 in _jc_dynamic_invoke (func=0x29f86214, jcni=0, nparams=3,
     ptypes=0x2979562c "\n\n\n\t", nwords=3, words=0x29795620,
     retval=0x107ed628) at arch/i386/arch_functions.c:336
#9  0x280aa802 in _jc_invoke_jni_a (env=0x107ed600, method=0x107f9d60,
     func=0x29f86214, obj=0x85e0308, params=0x29795754) at invoke.c:692

Could an AWT person take a look at the above trace and error?

Thanks,
-Archie

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



From MAILER-DAEMON Thu Jul 07 10:35:50 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqXTe-0006dD-Vx
	for mharc-classpath@gnu.org; Thu, 07 Jul 2005 10:35:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqXTX-0006Ye-0M
	for classpath@gnu.org; Thu, 07 Jul 2005 10:35:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqXTO-0006Ur-4c
	for classpath@gnu.org; Thu, 07 Jul 2005 10:35:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqXTN-0006RE-R1
	for classpath@gnu.org; Thu, 07 Jul 2005 10:35:29 -0400
Received: from [64.233.170.201] (helo=rproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqXVh-0001U0-K5
	for classpath@gnu.org; Thu, 07 Jul 2005 10:37:53 -0400
Received: by rproxy.gmail.com with SMTP id a36so174907rnf
	for <classpath@gnu.org>; Thu, 07 Jul 2005 07:31:11 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding;
	b=j0RGgWVS/xrtbtVo4eyHdjX60Ae5I1mt+b5jbkb30OHz7H17hyjeOdeoufSTcjo4gMOsgHIlFcz+p7SEAwBQ1ZlvDp0GN1ylObb69wS50Jyxh2VQ4t3+peeEsetfbV8yFpluXjir3dmXNpFcG0qAmM8XnRyrqztRxHDCxqOVEhs=
Received: by 10.38.150.13 with SMTP id x13mr686225rnd;
	Thu, 07 Jul 2005 07:31:11 -0700 (PDT)
Received: from ?213.4.67.26? ([213.4.67.26])
	by mx.gmail.com with ESMTP id 71sm826088rna.2005.07.07.07.31.08;
	Thu, 07 Jul 2005 07:31:11 -0700 (PDT)
Message-ID: <42CD3CB2.2090006@gmail.com>
Date: Thu, 07 Jul 2005 16:31:14 +0200
From: Cresques <cresques@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.7.7) Gecko/20050414
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: about classpath with pocket pc
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 Jul 2005 14:35:41 -0000

Hi,
    have anyone compiled and used classpath on a pocket pc with windows 
mobile 2003? I'm very interested on the execution of java applications 
on this environment, and GNU classpath seems a perfect way to achieve 
it, but I don't know if ther're something advanced to this goal.

  thanks in advance

       Luis




From MAILER-DAEMON Thu Jul 07 10:54:23 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqXld-0006eH-GB
	for mharc-classpath@gnu.org; Thu, 07 Jul 2005 10:54:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqXlX-0006br-Ab
	for classpath@gnu.org; Thu, 07 Jul 2005 10:54:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqXlS-0006XL-AU
	for classpath@gnu.org; Thu, 07 Jul 2005 10:54:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqXlR-0006VL-Ch
	for classpath@gnu.org; Thu, 07 Jul 2005 10:54:09 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DqXpB-0003nk-Ri
	for classpath@gnu.org; Thu, 07 Jul 2005 10:58:02 -0400
Received: (qmail invoked by alias); 07 Jul 2005 14:51:17 -0000
Received: from unknown (EHLO [131.173.86.161]) [131.173.86.161]
	by mail.gmx.net (mp025) with SMTP; 07 Jul 2005 16:51:17 +0200
X-Authenticated: #1941950
Message-ID: <42CD41E6.8010001@gmx.de>
Date: Thu, 07 Jul 2005 16:53:26 +0200
From: Wolfgang Baer <WBaer@gmx.de>
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cresques <cresques@gmail.com>
References: <42CD3CB2.2090006@gmail.com>
In-Reply-To: <42CD3CB2.2090006@gmail.com>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: classpath@gnu.org
Subject: Re: about classpath with pocket pc
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 Jul 2005 14:54:17 -0000

Cresques wrote:
> Hi,
>    have anyone compiled and used classpath on a pocket pc with windows
> mobile 2003? I'm very interested on the execution of java applications
> on this environment, and GNU classpath seems a perfect way to achieve
> it, but I don't know if ther're something advanced to this goal.

There was a post about a jvm yesterday

http://lists.gnu.org/archive/html/classpath/2005-07/msg00033.html

Wolfgang



From MAILER-DAEMON Thu Jul 07 12:34:24 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqZK3-0006uj-UA
	for mharc-classpath@gnu.org; Thu, 07 Jul 2005 12:34:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqZJr-0006pp-4k
	for classpath@gnu.org; Thu, 07 Jul 2005 12:33:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqZJf-0006h8-KZ
	for classpath@gnu.org; Thu, 07 Jul 2005 12:33:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqZJc-0006eT-J4
	for classpath@gnu.org; Thu, 07 Jul 2005 12:33:32 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DqZLz-0002yC-OP
	for classpath@gnu.org; Thu, 07 Jul 2005 12:35:59 -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 j67GTFHI029958;
	Thu, 7 Jul 2005 12:29:15 -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 j67GTEV03606; 
	Thu, 7 Jul 2005 12:29:14 -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
	j67GTD1M030108; Thu, 7 Jul 2005 12:29:13 -0400
Message-ID: <42CD5859.5000007@redhat.com>
Date: Thu, 07 Jul 2005 12:29:13 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Thomas Zander <zander@kde.org>
References: <42CBFBCE.8000509@menlina.com>
	<42CC9A13.2020900@redhat.com>	<42CCE8EE.9000704@menlina.com>
	<200507071205.11662.zander@kde.org>
In-Reply-To: <200507071205.11662.zander@kde.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: ResourceBundle optimisation
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 Jul 2005 16:33:52 -0000

Thomas Zander wrote:

>Won't that break things when new (more specialised) resource bundles are 
>added to the classpath at a later time?
>Then again, we probably also don't store URL of already loaded RBs to 
>check if the file was updated so we can reload.
>  
>
I don't think its valid to make changes to the resource bundles at 
runtime. We can't really cache things at all if this were allowed.

Bryce




From MAILER-DAEMON Thu Jul 07 12:37:53 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqZNo-0008Bo-CE
	for mharc-classpath@gnu.org; Thu, 07 Jul 2005 12:37:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqZNl-00089s-6f
	for classpath@gnu.org; Thu, 07 Jul 2005 12:37:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqZNi-00088L-1u
	for classpath@gnu.org; Thu, 07 Jul 2005 12:37:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqZNh-00085k-An
	for classpath@gnu.org; Thu, 07 Jul 2005 12:37:45 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DqZR3-0003k8-05
	for classpath@gnu.org; Thu, 07 Jul 2005 12:41:13 -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 j67GYSq7031534
	for <classpath@gnu.org>; Thu, 7 Jul 2005 12:34:28 -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 j67GYQV05046
	for <classpath@gnu.org>; Thu, 7 Jul 2005 12:34:27 -0400
Received: from tow.toronto.redhat.com (tow.toronto.redhat.com [172.16.14.160])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	j67GYP1M030291
	for <classpath@gnu.org>; Thu, 7 Jul 2005 12:34:25 -0400
From: Lillian Angel <langel@redhat.com>
To: classpath@gnu.org
Content-Type: text/plain
Date: Thu, 07 Jul 2005 12:34:25 -0400
Message-Id: <1120754065.21524.30.camel@tow.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-11.fc5) 
Content-Transfer-Encoding: 7bit
Subject: Question about GNU Icons
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 Jul 2005 16:37:50 -0000

Hello,

I have been working on JTree for sometime and for some reason the icons
for the tree do not seem to be in the classpath/javax/swing/basic/plaf/
folder. Is it okay to use those from gnu/javax/swing/plaf/gtk/icons ?

Thanks!
Lillian.




From MAILER-DAEMON Thu Jul 07 14:59:18 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dqbaf-0007MD-EY
	for mharc-classpath@gnu.org; Thu, 07 Jul 2005 14:59:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqbaY-0007Ig-Vh
	for classpath@gnu.org; Thu, 07 Jul 2005 14:59:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqbaQ-0007Dl-Fl
	for classpath@gnu.org; Thu, 07 Jul 2005 14:59:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqbaQ-0007Di-BN
	for classpath@gnu.org; Thu, 07 Jul 2005 14:59:02 -0400
Received: from [213.9.79.54] (helo=box7954.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1Dqbdf-0006dC-S1
	for classpath@gnu.org; Thu, 07 Jul 2005 15:02:24 -0400
Received: from i67e6.i.strato-dslnet.de ([85.73.103.230] helo=[192.168.1.10])
	by box7954.elkhouse.de with esmtpsa (TLS-1.0:RSA_ARCFOUR_MD5:16)
	(Exim 4.50) id 1DqbVf-0001xy-1J; Thu, 07 Jul 2005 20:54:07 +0200
From: Roman Kennke <roman@kennke.org>
To: Lillian Angel <langel@redhat.com>
In-Reply-To: <1120754065.21524.30.camel@tow.toronto.redhat.com>
References: <1120754065.21524.30.camel@tow.toronto.redhat.com>
Content-Type: text/plain
Date: Thu, 07 Jul 2005 20:55:55 +0200
Message-Id: <1120762555.4231.1.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Question about GNU Icons
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 Jul 2005 18:59:15 -0000

Am Donnerstag, den 07.07.2005, 12:34 -0400 schrieb Lillian Angel:
> Hello,
> 
> I have been working on JTree for sometime and for some reason the icons
> for the tree do not seem to be in the classpath/javax/swing/basic/plaf/
> folder. Is it okay to use those from gnu/javax/swing/plaf/gtk/icons ?

Sure. As I said on IRC, load them with new
ImageIcon(getClass().getResource("/path/to/icons/icon.png")) so you will
get no problems with paths etc.

/Roman





From MAILER-DAEMON Fri Jul 08 02:32:31 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqmPX-0006L7-4b
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 02:32:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqmPP-0006IT-Vg
	for classpath@gnu.org; Fri, 08 Jul 2005 02:32:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqmOk-0006Ca-S7
	for classpath@gnu.org; Fri, 08 Jul 2005 02:32:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DqmO9-0005w2-C3; Fri, 08 Jul 2005 02:31:05 -0400
Received: from [66.33.198.201] (helo=jareth.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DqmHn-0005aE-7R; Fri, 08 Jul 2005 02:24:31 -0400
Received: from [192.168.0.100] (dsl2-63-249-108-128.cruzio.com
	[63.249.108.128]) by jareth.dreamhost.com (Postfix) with ESMTP
	id CFA9B6B600; Thu,  7 Jul 2005 23:17:36 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v730)
To: Classpath Patches <classpath-patches@gnu.org>
Message-Id: <5E0323C4-3EA1-4645-9CCF-6DC92AB4814F@gnu.org>
Content-Type: multipart/mixed; boundary=Apple-Mail-2-762334636
From: Casey Marshall <csm@gnu.org>
Date: Thu, 7 Jul 2005 23:17:35 -0700
X-Mailer: Apple Mail (2.730)
Cc: Classpath <classpath@gnu.org>
Subject: PATCH: logfile rotation, native methods
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 Jul 2005 06:32:26 -0000


--Apple-Mail-2-762334636
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Hi,

The attached patch implements log file rotation in the  
java.util.logging.FileHandler class.

One feature this implementation requires, in order to function  
properly, are file locks, which to my dismay are still not  
implemented. On that point, I'd like to ask what the requirements on  
JNI code are for Classpath, if any. I know there are at least two  
"standard" APIs in Classpath for native functionality -- the  
TARGET_NATIVE macro nonsense, and the VM* classes (I get the feeling  
that the latter is preferred now). Should file locks (and, say,  
memory-mapped files) use one of these? Or would it be acceptable to  
simply write the JNI code directly, surrounded by appropriate #ifdef's?

Ok?

2005-07-07  Casey Marshall  <csm@gnu.org>

     * java/util/logging/FileHandler.java
     (written): new field.
     (logFiles): new field.
     (<init>): initialize the OutputStream last.
     (createFileStream): made non-static; append '.%g' to 'pattern'
     if not included; open existing files if 'append' is set; return
     byte-counting stream; use 'has', not 'String.indexOf'.
     (publish): rotate the file if we go beyond the byte limit; flush
     the stream after publishing each record.
     (rotate): new method.
     (has): new method.
     (ostr): new member class.


--Apple-Mail-2-762334636
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream; x-unix-mode=0644;
	name="FileHandler.patch"
Content-Disposition: attachment;
	filename=FileHandler.patch

Index: java/util/logging/FileHandler.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/logging/FileHandler.java,v
retrieving revision 1.7
diff -u -B -b -r1.7 FileHandler.java
--- java/util/logging/FileHandler.java	2 Jul 2005 20:32:44 -0000	1.7
+++ java/util/logging/FileHandler.java	8 Jul 2005 06:09:52 -0000
@@ -40,7 +40,15 @@
 
 import java.io.File;
 import java.io.FileOutputStream;
+import java.io.FilterOutputStream;
 import java.io.IOException;
+import java.io.OutputStream;
+
+import java.nio.channels.FileChannel;
+import java.nio.channels.FileLock;
+
+import java.util.LinkedList;
+import java.util.ListIterator;
 
 /**
  * A <code>FileHandler</code> publishes log records to a set of log
@@ -219,6 +227,19 @@
 
 
   /**
+   * The number of bytes that have currently been written to the stream.
+   */
+  private long written;
+
+
+  /**
+   * A linked list of files we are, or have written to. The entries
+   * are file path strings, kept in the order 
+   */
+  private LinkedList logFiles;
+
+
+  /**
    * Constructs a <code>FileHandler</code>, taking all property values
    * from the current {@link LogManager LogManager} configuration.
    *
@@ -331,8 +352,7 @@
 		     boolean append)
     throws IOException, SecurityException
   {
-    super(createFileStream(pattern, limit, count, append,
-			   /* generation */ 0),
+    super(/* output stream, created below */ null,
 	  "java.util.logging.FileHandler",
 	  /* default level */ Level.ALL,
 	  /* formatter */ null,
@@ -345,11 +365,16 @@
     this.limit = limit;
     this.count = count;
     this.append = append;
+    this.written = 0;
+    this.logFiles = new LinkedList ();
+
+    setOutputStream (createFileStream (pattern, limit, count, append,
+                                       /* generation */ 0));
   }
 
 
   /* FIXME: Javadoc missing. */
-  private static java.io.OutputStream createFileStream(String pattern,
+  private OutputStream createFileStream(String pattern,
 						       int limit,
 						       int count,
 						       boolean append,
@@ -372,6 +397,9 @@
     if (pattern == null)
       pattern = "%h/java%u.log";
 
+    if (count > 1 && !has (pattern, 'g'))
+      pattern = pattern + ".%g";
+
     do
     {
       path = replaceFileNameEscapes(pattern, generation, unique, count);
@@ -379,16 +407,28 @@
       try
       {
 	File file = new File(path);
-	if (file.createNewFile())
-	  return new FileOutputStream(path, append);
+        if (!file.exists () || append)
+          {
+            FileOutputStream fout = new FileOutputStream (file, append);
+            // FIXME we need file locks for this to work properly, but they
+            // are not implemented yet in Classpath! Madness!
+//             FileChannel channel = fout.getChannel ();
+//             FileLock lock = channel.tryLock ();
+//             if (lock != null) // We've locked the file.
+//               {
+                if (logFiles.isEmpty ())
+                  logFiles.addFirst (path);
+                return new ostr (fout);
+//               }
+          }
       }
       catch (Exception ex)
       {
-	ex.printStackTrace();	
+        reportError (null, ex, ErrorManager.OPEN_FAILURE);
       }
 
       unique = unique + 1;
-      if (pattern.indexOf("%u") < 0)
+      if (!has (pattern, 'u'))
         pattern = pattern + ".%u";
     }
     while (true);
@@ -486,21 +526,120 @@
   }
 
 
-  /* FIXME: Javadoc missing, implementation incomplete. */
+  /* FIXME: Javadoc missing. */
   public void publish(LogRecord record)
   {
+    if (limit > 0 && written >= limit)
+      rotate ();
     super.publish(record);
+    flush ();
+  }
 
-    /* FIXME: Decide when to switch over. How do we get to
-     * the number of bytes published so far? Two possibilities:
-     * 1. File.length, 2. have metering wrapper around
-     * output stream counting the number of written bytes.
+  /**
+   * Rotates the current log files, possibly removing one if we
+   * exceed the file count.
      */
+  private synchronized void rotate ()
+  {
+    if (logFiles.size () > 0)
+      {
+        File f1 = null;
+        ListIterator lit = null;
+
+        // If we reach the file count, ditch the oldest file.
+        if (logFiles.size () == count)
+          {
+            f1 = new File ((String) logFiles.getLast ());
+            f1.delete ();
+            lit = logFiles.listIterator (logFiles.size () - 1);
+          }
+        // Otherwise, move the oldest to a new location.
+        else
+          {
+            String path = replaceFileNameEscapes (pattern, logFiles.size (),
+                                                  /* unique */ 0, count);
+            f1 = new File (path);
+            logFiles.addLast (path);
+            lit = logFiles.listIterator (logFiles.size () - 1);
+          }
+
+        // Now rotate the files.
+        while (lit.hasPrevious ())
+          {
+            String s = (String) lit.previous ();
+            File f2 = new File (s);
+            f2.renameTo (f1);
+            f1 = f2;
+          }
+      }
+
+    setOutputStream (createFileStream (pattern, limit, count, append,
+                                       /* generation */ 0));
+
+    // Reset written count.
+    written = 0;
+  }
+
+  /**
+   * Tell if <code>pattern</code> contains the pattern sequence
+   * with character <code>escape</code>. That is, if <code>escape</code>
+   * is 'g', this method returns true if the given pattern contains
+   * "%g", and not just the substring "%g" (for example, in the case of
+   * "%%g").
+   *
+   * @param pattern The pattern to test.
+   * @param escape The escape character to search for.
+   * @return True iff the pattern contains the escape sequence with the
+   *  given character.
+   */
+  private static boolean has (final String pattern, final char escape)
+  {
+    final int len = pattern.length ();
+    boolean sawPercent = false;
+    for (int i = 0; i < len; i++)
+      {
+        char c = pattern.charAt (i);
+        if (sawPercent)
+          {
+            if (c == escape)
+              return true;
+            if (c == '%') // Double percent
+              {
+                sawPercent = false;
+                continue;
+              }
+          }
+        sawPercent = (c == '%');
+      }
+    return false;
+  }
   
-    /* FIXME: Switch over if needed! This implementation always
-     * writes into a single file, i.e. behaves as if limit
-     * always was zero. So, the implementation is somewhat
-     * functional but incomplete.
+  /**
+   * An output stream that tracks the number of bytes written to it.
      */
+  private final class ostr extends FilterOutputStream
+  {
+    private ostr (OutputStream out)
+    {
+      super (out);
+    }
+
+    public void write (final int b) throws IOException
+    {
+      out.write (b);
+      FileHandler.this.written++; // FIXME: synchronize?
+    }
+
+    public void write (final byte[] b) throws IOException
+    {
+      write (b, 0, b.length);
+    }
+
+    public void write (final byte[] b, final int offset, final int length)
+      throws IOException
+    {
+      out.write (b, offset, length);
+      FileHandler.this.written += length; // FIXME: synchronize?
+    }
   }
 }

--Apple-Mail-2-762334636--



From MAILER-DAEMON Fri Jul 08 07:04:05 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqqeK-0000r4-Ki
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 07:04:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqqeC-0000pn-Ns
	for classpath@gnu.org; Fri, 08 Jul 2005 07:03:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dqqe8-0000oF-31
	for classpath@gnu.org; Fri, 08 Jul 2005 07:03:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dqqe7-0000li-Jg
	for classpath@gnu.org; Fri, 08 Jul 2005 07:03:51 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqqbR-0000B1-FI
	for classpath@gnu.org; Fri, 08 Jul 2005 07:01:05 -0400
Received: from [192.168.0.253] (helo=[192.168.0.253] ident=zander)
	by namlook.thomas.planescape.com with esmtp (Exim 3.35 #1 (Debian))
	id 1DqqVF-0000BG-00
	for <classpath@gnu.org>; Fri, 08 Jul 2005 12:54:41 +0200
From: Thomas Zander <zander@kde.org>
To: classpath@gnu.org
Date: Fri, 8 Jul 2005 12:53:15 +0200
User-Agent: KMail/1.8.50
References: <42CBFBCE.8000509@menlina.com> <200507071205.11662.zander@kde.org>
	<42CD5859.5000007@redhat.com>
In-Reply-To: <42CD5859.5000007@redhat.com>
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200507081253.15777.zander@kde.org>
Subject: Re: ResourceBundle optimisation
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 Jul 2005 11:03:58 -0000

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

On Thursday 7 July 2005 18:29, you wrote:
> Thomas Zander wrote:
> >Won't that break things when new (more specialised) resource bundles
> > are added to the classpath at a later time?
> >Then again, we probably also don't store URL of already loaded RBs to
> >check if the file was updated so we can reload.
>
> I don't think its valid to make changes to the resource bundles at
> runtime. We can't really cache things at all if this were allowed.

I'm pretty sure its not an API design to disallow this. So its 
implementation specific and your argument that Sun does not do it is 
indeed a pretty strong one.  I'm not sure I agree with it, but its a good 
argument nontheless.

I do disagree that this assumtion makes caching impossible, I even would 
go so far as to say its really wanted and what people expect due to the 
expected uptime of servers like tomcat.

My original point still stands;  loading "foo.properties" while 
"foo_nl_NL.properties" was requested will effectively make it impossible 
to find foo_nl* if its placed in the classpath later.  Which is 
definitely not what I expect.

Solution isn't that hard; you can use dnotify or even simple stats on 
fetch-from-cache to check your cache being dirty, for example.
- -- 
Thomas Zander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCzlsbCojCW6H2z/QRAtaLAKDw7AD3EvDx/RCus25gS/j+kPPy/QCggYcv
FIr0kAz5lPtRbwdDpjUqBac=
=tewV
-----END PGP SIGNATURE-----



From MAILER-DAEMON Fri Jul 08 07:57:02 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqrTa-0005uw-57
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 07:57:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqrTW-0005tC-19
	for classpath@gnu.org; Fri, 08 Jul 2005 07:56:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqrTQ-0005p1-EU
	for classpath@gnu.org; Fri, 08 Jul 2005 07:56:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqrTM-0005mt-JV
	for classpath@gnu.org; Fri, 08 Jul 2005 07:56:48 -0400
Received: from [194.139.33.98] (helo=dhuumrelay0.mail.eu.uu.net)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DqrSb-0004U2-FR
	for classpath@gnu.org; Fri, 08 Jul 2005 07:56:01 -0400
Received: from charly (dhuumprxy0.dtm.ops.eu.uu.net [194.139.33.74])
	by dhuumrelay0.mail.eu.uu.net (8.13.3/8.13.3) with ESMTP id
	j68Bn38D026041 for <classpath@gnu.org>; Fri, 8 Jul 2005 11:49:04 GMT
X-Authenticated-As: none
To: classpath@gnu.org
Cc: 
X-Mailer: Lotus Notes Version 5.0 (Intl)   14. April 1999
Message-ID: <OF312E66D3.D95300DB-ONC1257038.0040160A@dvholten.de>
From: dvholten@computer.org
Date: Fri, 08 Jul 2005 11:50:33 GMT
X-Priority: 3 (Normal)
X-MIMETrack: Serialize by Im Leerlauf on dvh/DvH(Version 5.0 (Intl) | 14.
	April 1999) at 08.07.2005 13:50:43,
	Serialize complete at 08.07.2005 13:50:43
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="=_alternative 00410D99C1257038_="
Subject: Re: ResourceBundle optimisation
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 Jul 2005 11:56:58 -0000

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 00410D99C1257038_=
Content-Type: text/plain; charset="us-ascii"

While you are at it...

I remember a discussion ( somewhere, somewhen long ago) about a probable
bug with ResourceBundles, that they stay in memory (because of caching) 
and that they should be dropped from cache somehow.
Maybe its a good idea to use one of the WeakReference-things to drop it
when no longer needed.

Another idea: invent a System.property to control cache-behaviour.
With a useful default, users can tune as they like: 
cache, no cache, cache forever, cache with expiration...

dvholten
--=_alternative 00410D99C1257038_=
Content-Type: text/html; charset="us-ascii"




<br><font size=2 face="sans-serif">While you are at it...</font>
<br>
<br><font size=2 face="sans-serif">I remember a discussion ( somewhere, somewhen long ago) about a probable</font>
<br><font size=2 face="sans-serif">bug with ResourceBundles, that they stay in memory (because of caching) </font>
<br><font size=2 face="sans-serif">and that they should be dropped from cache somehow.</font>
<br><font size=2 face="sans-serif">Maybe its a good idea to use one of the WeakReference-things to drop it</font>
<br><font size=2 face="sans-serif">when no longer needed.</font>
<br>
<br><font size=2 face="sans-serif">Another idea: invent a System.property to control cache-behaviour.</font>
<br><font size=2 face="sans-serif">With a useful default, users can tune as they like: </font>
<br><font size=2 face="sans-serif">cache, no cache, cache forever, cache with expiration...</font>
<br>
<br><font size=2 face="sans-serif">dvholten</font>
--=_alternative 00410D99C1257038_=--



From MAILER-DAEMON Fri Jul 08 08:26:43 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqrwE-0006tj-4C
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 08:26:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqrwA-0006sp-49
	for classpath@gnu.org; Fri, 08 Jul 2005 08:26:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dqrtx-0006RB-4n
	for classpath@gnu.org; Fri, 08 Jul 2005 08:24:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1Dqrtc-0006GP-QY; Fri, 08 Jul 2005 08:23:56 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DqrwU-00072d-5x; Fri, 08 Jul 2005 08:26:54 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dqrpz-0004np-00; Fri, 08 Jul 2005 14:20:11 +0200
From: Mark Wielaard <mark@klomp.org>
To: Casey Marshall <csm@gnu.org>
In-Reply-To: <5E0323C4-3EA1-4645-9CCF-6DC92AB4814F@gnu.org>
References: <5E0323C4-3EA1-4645-9CCF-6DC92AB4814F@gnu.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-PZ8+27QkuTb0DowLw9eY"
Date: Fri, 08 Jul 2005 14:20:00 +0200
Message-Id: <1120825200.5881.19.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: Classpath <classpath@gnu.org>,
	Classpath Patches <classpath-patches@gnu.org>
Subject: Re: [cp-patches] PATCH: logfile rotation, native methods
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 Jul 2005 12:26:35 -0000


--=-PZ8+27QkuTb0DowLw9eY
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Casey,

On Thu, 2005-07-07 at 23:17 -0700, Casey Marshall wrote:
> One feature this implementation requires, in order to function =20
> properly, are file locks, which to my dismay are still not =20
> implemented. On that point, I'd like to ask what the requirements on =20
> JNI code are for Classpath, if any. I know there are at least two =20
> "standard" APIs in Classpath for native functionality -- the =20
> TARGET_NATIVE macro nonsense, and the VM* classes (I get the feeling =20
> that the latter is preferred now). Should file locks (and, say, =20
> memory-mapped files) use one of these? Or would it be acceptable to =20
> simply write the JNI code directly, surrounded by appropriate #ifdef's?

The VM* classes and the TARGET_NATIVE macros are on two different
"layers" of portability. The VM* classes make it possible to replace our
java/POSIX/C/JNI default implementation from vm/reference with a version
that uses CNI, C# or something completely different if the runtime
writer wants that. The TARGET_NATIVE macros provide (an admittedly
awkward) way to write "portable" C code. I think you should feel free to
ignore them for new code since they make the code unreadable and
debugging a nightmare. And they don't provide us any extra portability
in practice since there is only one implementation. Please write clean
(were possible autoconf-ed) GNU/Posix JNI C implementations for any VM*
class in vm/reference. More "requirements" (goals) are here:
http://www.gnu.org/software/classpath/docs/hacking.html#SEC10

Cheers,

Mark

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

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

iD8DBQBCzm9wxVhZCJWr9QwRAtTbAJ95hxsoYA9TbmCRX815NAizLMWvuQCfWvFA
nfh+5d8bdz5z58dwuetu8Is=
=MLgR
-----END PGP SIGNATURE-----

--=-PZ8+27QkuTb0DowLw9eY--




From MAILER-DAEMON Fri Jul 08 08:26:51 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqrwQ-0006zg-BI
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 08:26:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqrwN-0006xm-Px
	for classpath@gnu.org; Fri, 08 Jul 2005 08:26:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dqrtl-0006JH-N4
	for classpath@gnu.org; Fri, 08 Jul 2005 08:24:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dqrte-0006GP-MP
	for classpath@gnu.org; Fri, 08 Jul 2005 08:23:58 -0400
Received: from [212.126.219.82] (helo=mail.aicas.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqrqM-0006jt-Ru
	for classpath@gnu.org; Fri, 08 Jul 2005 08:20:35 -0400
Received: from [192.168.1.72] (unknown [192.168.1.72])
	by mail.aicas.de (Postfix) with ESMTP id ED66B6BC58C;
	Fri,  8 Jul 2005 14:13:49 +0200 (CEST)
Message-ID: <42CE6DEE.2030501@aicas.com>
Date: Fri, 08 Jul 2005 14:13:34 +0200
From: Roman Kennke <kennke@aicas.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: dvholten@computer.org
References: <OF312E66D3.D95300DB-ONC1257038.0040160A@dvholten.de>
In-Reply-To: <OF312E66D3.D95300DB-ONC1257038.0040160A@dvholten.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: ResourceBundle optimisation
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 Jul 2005 12:26:48 -0000

Hi,

> Another idea: invent a System.property to control cache-behaviour.
> With a useful default, users can tune as they like:
> cache, no cache, cache forever, cache with expiration...

Indeed, a good idea! Someone should set up a page in the Wiki about the 
system properties that the user can use for manipulation of GNU 
Classpath (Java2D, Look&Feel, FocusManager, ResourceBundle caching etc 
et al)

/Roman




From MAILER-DAEMON Fri Jul 08 08:44:30 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqsDU-0004iv-TO
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 08:44:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqsD3-0004az-Rl
	for classpath@gnu.org; Fri, 08 Jul 2005 08:44:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqsCq-0004VF-RQ
	for classpath@gnu.org; Fri, 08 Jul 2005 08:43:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqsCq-0004Kp-Kt
	for classpath@gnu.org; Fri, 08 Jul 2005 08:43:48 -0400
Received: from [66.98.208.95] (helo=server1.t35.net)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dqs4L-0007bE-L8
	for classpath@gnu.org; Fri, 08 Jul 2005 08:35:02 -0400
Received: from [59.93.167.244] (helo=[59.93.167.244])
	by server1.t35.net with esmtpa (Exim 4.51)
	id 1DqrxW-00030G-JG; Fri, 08 Jul 2005 08:28:02 -0400
Message-ID: <42CE7183.4010606@randomink.org>
Date: Fri, 08 Jul 2005 17:58:51 +0530
From: Soumyadip Modak <soumyadip@randomink.org>
User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath <classpath@gnu.org>, 
	Fedora-Java <fedora-devel-java-list@redhat.com>,
	OpenExchange <devel@open-xchange.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - server1.t35.net
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - randomink.org
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Cc: 
Subject: Compiling OpenExchange with gcj and 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 Jul 2005 12:44:03 -0000

Hello,
Recently I've been looking at OpenExchange on Fedora Core 4. I was 
hoping to utilise FC4's extensive free Java tools to build OX. OX 
configure script didn't thorw up any problems but make failed witha lot 
of errors. Can anyone please guide me how to rectify these problems to 
get a completely free groupware solution ?

Errors :

Making all in javabuild
make[1]: Entering directory `/root/open-xchange-0.8.0-3/javabuild'
/usr/bin/ant -f ../build.xml
Buildfile: ../build.xml

init:

compilewebdav:
    [javac] Compiling 14 source files to /root/open-xchange-0.8.0-3/build
    [javac] ----------
    [javac] 1. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactInsEdit.java
    [javac]  (at line 96)
    [javac]     import com.openexchange.tools.encoding.Base64;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import com.openexchange.tools.encoding.Base64 is never used
    [javac] ----------
    [javac] ----------
    [javac] 2. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactInsEdit.java
    [javac]  (at line 98)
    [javac]     import sun.misc.BASE64Decoder;
    [javac]            ^^^^^^^^
    [javac] The import sun.misc cannot be resolved
    [javac] ----------
    [javac] 3. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactInsEdit.java
    [javac]  (at line 99)
    [javac]     import sun.misc.BASE64Encoder;
    [javac]            ^^^^^^^^
    [javac] The import sun.misc cannot be resolved
    [javac] ----------
    [javac] 4. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactInsEdit.java
    [javac]  (at line 158)
    [javac]     byte cached[] = new BASE64Decoder().decodeBuffer(ca);
    [javac]                         ^^^^^^^^^^^^^
    [javac] BASE64Decoder cannot be resolved to a type
    [javac] ----------
    [javac] 5. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactInsEdit.java
    [javac]  (at line 546)
    [javac]     String fullcache = new BASE64Encoder().encodeBuffer(cache);
    [javac]                            ^^^^^^^^^^^^^
    [javac] BASE64Encoder cannot be resolved to a type
    [javac] ----------
    [javac] ----------
    [javac] 6. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactManagement.java
    [javac]  (at line 85)
    [javac]     import sun.misc.BASE64Decoder;
    [javac]            ^^^^^^^^
    [javac] The import sun.misc cannot be resolved
    [javac] ----------
    [javac] 7. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactManagement.java
    [javac]  (at line 86)
    [javac]     import sun.misc.BASE64Encoder;
    [javac]            ^^^^^^^^
    [javac] The import sun.misc cannot be resolved
    [javac] ----------
    [javac] 8. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactManagement.java
    [javac]  (at line 168)
    [javac]     byte cached[] = new 
BASE64Decoder().decodeBuffer(img);           
    [javac]                         ^^^^^^^^^^^^^
    [javac] BASE64Decoder cannot be resolved to a type
    [javac] ----------
    [javac] ----------
    [javac] 9. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/sessiond/SocketHandler.java
    [javac]  (at line 52)
    [javac]     import sun.misc.BASE64Decoder;
    [javac]            ^^^^^^^^
    [javac] The import sun.misc cannot be resolved
    [javac] ----------
    [javac] 10. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/sessiond/SocketHandler.java
    [javac]  (at line 53)
    [javac]     import sun.misc.BASE64Encoder;
    [javac]            ^^^^^^^^
    [javac] The import sun.misc cannot be resolved
    [javac] ----------
    [javac] 11. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/sessiond/SocketHandler.java
    [javac]  (at line 282)
    [javac]     auth_data = new String(new 
BASE64Decoder().decodeBuffer(st.nextToken()), "UTF-8");
    [javac]                                ^^^^^^^^^^^^^
    [javac] BASE64Decoder cannot be resolved to a type
    [javac] ----------
    [javac] 12. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/sessiond/SocketHandler.java
    [javac]  (at line 342)
    [javac]     response = new 
BASE64Encoder().encode((h.get("uid").toString() + "\1" + h.get("passw
    [javac] d").toString() + "\1" + h.get("lang").toString() + "\1" + 
h.get("localip").toString() + "\1" + 
h.get("host").toString()).getBytes("UTF-8"));
    [javac]                    ^^^^^^^^^^^^^
    [javac] BASE64Encoder cannot be resolved to a type
    [javac] ----------
    [javac] 13. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/sessiond/SocketHandler.java
    [javac]  (at line 348)
    [javac]     auth_data = new String(new 
BASE64Decoder().decodeBuffer(st.nextToken()), "UTF-8");
    [javac]                                ^^^^^^^^^^^^^
    [javac] BASE64Decoder cannot be resolved to a type
    [javac] ----------
    [javac] 14. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/sessiond/SocketHandler.java
    [javac]  (at line 362)
    [javac]     response = new 
BASE64Encoder().encode((h.get("uid").toString() + "\1" + h.get("passw
    [javac] d").toString() + "\1" + h.get("lang").toString() + "\1" + 
h.get("localip").toString() + "\1" + h.get("host").toString() + "\1" + 
acttime + "\1" + l_ts + "\1" + l_lt).getBytes("UTF-8"));
    [javac]                    ^^^^^^^^^^^^^
    [javac] BASE64Encoder cannot be resolved to a type
    [javac] ----------
    [javac] ----------
    [javac] 15. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/tools/webdav/OXServlet.java
    [javac]  (at line 59)
    [javac]     import javax.servlet.SingleThreadModel;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The type SingleThreadModel is deprecated
    [javac] ----------
    [javac] ----------
    [javac] 16. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/tools/webdav/OXServlet.java
    [javac]  (at line 88)
    [javac]     public abstract class OXServlet extends WebDavServlet 
implements SingleThreadModel, Logger {
    [javac]     
                                                                 
^^^^^^^^^^^^^^^^^
    [javac] The type SingleThreadModel is deprecated
    [javac] ----------
    [javac] ----------
    [javac] 17. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/tools/webdav/OXServlet.java
    [javac]  (at line 362)
    [javac]     byte[] decoded = new 
sun.misc.BASE64Decoder().decodeBuffer(auth);
    [javac]                          ^^^^^^^^
    [javac] sun.misc cannot be resolved to a type
    [javac] ----------
    [javac] ----------
    [javac] 18. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/umin/OXUsermin.java
    [javac]  (at line 74)
    [javac]     import javax.servlet.SingleThreadModel;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The type SingleThreadModel is deprecated
    [javac] ----------
    [javac] ----------
    [javac] 19. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/umin/OXUsermin.java
    [javac]  (at line 80)
    [javac]     import sun.misc.BASE64Encoder;
    [javac]            ^^^^^^^^
    [javac] The import sun.misc cannot be resolved
    [javac] ----------
    [javac] 20. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/umin/OXUsermin.java
    [javac]  (at line 82)
    [javac]     public class OXUsermin extends HttpServlet implements 
SingleThreadModel{
    [javac]                  ^^^^^^^^^
    [javac] The serializable class OXUsermin does not declare a static 
final serialVersionUID field of type long
    [javac] ----------
    [javac] 21. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/umin/OXUsermin.java
    [javac]  (at line 82)
    [javac]     public class OXUsermin extends HttpServlet implements 
SingleThreadModel{
    [javac]                                                           
^^^^^^^^^^^^^^^^^
    [javac] The type SingleThreadModel is deprecated
    [javac] ----------
    [javac] 22. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/umin/OXUsermin.java
    [javac]  (at line 127)
    [javac]     BASE64Encoder base64 = new BASE64Encoder();
    [javac]     ^^^^^^^^^^^^^
    [javac] BASE64Encoder cannot be resolved to a type
    [javac] ----------
    [javac] 23. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/umin/OXUsermin.java
    [javac]  (at line 127)
    [javac]     BASE64Encoder base64 = new BASE64Encoder();
    [javac]                                ^^^^^^^^^^^^^
    [javac] BASE64Encoder cannot be resolved to a type
    [javac] ----------
    [javac] ----------
    [javac] 24. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/ComposeMessage.java
    [javac]  (at line 383)
    [javac]     new ParserDelegator().parse(new 
StringReader(tmp_wms.getHTMLMailText().toString()),
    [javac]                           ^^^^^
    [javac] The method parse(StringReader, html2text, boolean) is 
undefined for the type ParserDelegator
    [javac] ----------
    [javac] 25. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/ComposeMessage.java
    [javac]  (at line 1325)
    [javac]     new ParserDelegator().parse(new StringReader(text), 
parser, true);
    [javac]                           ^^^^^
    [javac] The method parse(StringReader, html2text, boolean) is 
undefined for the type ParserDelegator
    [javac] ----------
    [javac] ----------
    [javac] 26. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 68)
    [javac]     import com.sun.mail.imap.IMAPFolder;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 27. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 69)
    [javac]     import com.sun.mail.imap.Rights;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 28. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 180)
    [javac]     IMAPFolder fa = (IMAPFolder)imapStore.getFolder("INBOX");
    [javac]     ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 29. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 180)
    [javac]     IMAPFolder fa = (IMAPFolder)imapStore.getFolder("INBOX");
    [javac]                      ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 30. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 347)
    [javac]     IMAPFolder fa = (IMAPFolder)tmpFolder;
    [javac]     ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 31. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 347)
    [javac]     IMAPFolder fa = (IMAPFolder)tmpFolder;
    [javac]                      ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 32. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 348)
    [javac]     Rights rights = fa.myRights();
    [javac]     ^^^^^^
    [javac] Rights cannot be resolved to a type
    [javac] ----------
    [javac] 33. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 349)
    [javac]     if (!rights.contains(Rights.Right.READ) && 
!tmpFolder.isSubscribed()) {
    [javac]                          ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 34. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 352)
    [javac]     if (!rights.contains(Rights.Right.INSERT)){
    [javac]                          ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 35. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 507)
    [javac]     IMAPFolder fa = (IMAPFolder)tmpFolder;
    [javac]     ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 36. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 507)
    [javac]     IMAPFolder fa = (IMAPFolder)tmpFolder;
    [javac]                      ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 37. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 508)
    [javac]     Rights rights = fa.myRights();
    [javac]     ^^^^^^
    [javac] Rights cannot be resolved to a type
    [javac] ----------
    [javac] 38. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
    [javac]  (at line 509)
    [javac]     if (!rights.contains(Rights.Right.INSERT)){
    [javac]                          ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] ----------
    [javac] 39. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 72)
    [javac]     import com.sun.mail.imap.IMAPFolder;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 40. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 73)
    [javac]     import com.sun.mail.imap.Rights;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 41. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 166)
    [javac]     } else if (!WebmailFolderUtilities.hasRight(dstFolder, 
Rights.Right.INSERT)) {
    [javac]                                                            
^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 42. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 178)
    [javac]     if (mmg.length != 0 && 
WebmailFolderUtilities.hasRight(srcFolder, Rights.Right.DELET
    [javac] E)) {
    [javac]     
                                                                  ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 43. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 196)
    [javac]     if (ex instanceof com.sun.mail.iap.CommandFailedException) {
    [javac]                       ^^^^^^^^^^^^
    [javac] com.sun.mail cannot be resolved to a type
    [javac] ----------
    [javac] 44. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java

    [javac]  (at line 275)
    [javac]     } else if (!WebmailFolderUtilities.hasRight(dstFolder, 
Rights.Right.INSERT)) {
    [javac]                                                            
^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 45. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 298)
    [javac]     if (ex instanceof com.sun.mail.iap.CommandFailedException) {
    [javac]                       ^^^^^^^^^^^^
    [javac] com.sun.mail cannot be resolved to a type
    [javac] ----------

    [javac] 46. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 353)
    [javac]     } else if (!WebmailFolderUtilities.hasRight(srcFolder, 
Rights.Right.DELETE)) {
    [javac]                                                            
^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 47. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 401)
    [javac]     } else if (!WebmailFolderUtilities.hasRight(dstFolder, 
Rights.Right.DELETE)) {
    [javac]        
    [javac]                                                    ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 48. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 429)
    [javac]     if (ex instanceof com.sun.mail.iap.CommandFailedException) {
    [javac]                       ^^^^^^^^^^^^
    [javac] com.sun.mail cannot be resolved to a type
    [javac] ----------
    [javac] 49. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java

    [javac]  (at line 752)
    [javac]     IMAPFolder fa = (IMAPFolder)folder;
    [javac]     ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 50. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 752)
    [javac]     IMAPFolder fa = (IMAPFolder)folder;
    [javac]                      ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 51. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 753)
    [javac]     Rights rights = fa.myRights();
    [javac]     ^^^^^^
    [javac] Rights cannot be resolved to a type
    [javac] ----------
    [javac] 52. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageAction.java
    [javac]  (at line 754)
    [javac]     if (rights.contains(Rights.Right.KEEP_SEEN)) {
    [javac]                         ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] ----------
    [javac] 53. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageDisplay.java
    [javac]  (at line 60)
    [javac]     import java.util.*;
    [javac]            ^^^^^^^^^
    [javac] The import java.util is never used
    [javac] ----------
    [javac] ----------
    [javac] 54. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageDisplay.java
    [javac]  (at line 79)
    [javac]     import javax.mail.internet.*;
    [javac]            ^^^^^^^^^^^^^^^^^^^
    [javac] The import javax.mail.internet is never used
    [javac] ----------
    [javac] ----------
    [javac] 55. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageDisplay.java
    [javac]  (at line 93)
    [javac]     import com.sun.mail.imap.Rights;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 56. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageDisplay.java
    [javac]  (at line 95)
    [javac]     import com.openexchange.webmail.*;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import com.openexchange.webmail is never used
    [javac] ----------
    [javac] 57. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageDisplay.java
    [javac]  (at line 276)
    [javac]     if (WebmailFolderUtilities.hasRight(folder, 
Rights.Right.KEEP_SEEN)) {
    [javac]                                                 ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] ----------
    [javac] 58. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageList.java
    [javac]  (at line 72)
    [javac]     import com.sun.mail.imap.Rights;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 59. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageList.java
    [javac]  (at line 778)
    [javac]     KEEP_SEEN = WebmailFolderUtilities.hasRight(folder, 
Rights.Right.KEEP_SEEN);
    [javac]                                                         ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 60. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageList.java
    [javac]  (at line 1105)
    [javac]     boolean delete = WebmailFolderUtilities.hasRight(folder, 
Rights.Right.DELETE);
    [javac]       
    [javac]                                                       ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 61. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageList.java
    [javac]  (at line 1157)
    [javac]     boolean KEEP_SEEN = 
WebmailFolderUtilities.hasRight(folder, Rights.Right.KEEP_SEEN);
    [javac]     
                                                            ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 62. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageList.java
    [javac]  (at line 1158)
    [javac]     boolean DELETE = WebmailFolderUtilities.hasRight(folder, 
Rights.Right.DELETE);
    [javac]                                                              
^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] 63. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageList.java
    [javac]  (at line 1159)
    [javac]     boolean WRITE = WebmailFolderUtilities.hasRight(folder, 
Rights.Right.WRITE);
    [javac]         
    [javac]                                                    ^^^^^^
    [javac] Rights cannot be resolved
    [javac] ----------
    [javac] ----------
    [javac] 64. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/OXWorker.java
    [javac]  (at line 442)
    [javac]     String auth = "Basic " + new 
sun.misc.BASE64Encoder().encode((nasObjectOperations.getWUSObject(no).getUsername() 
+ ":" + nasObjectOperations.getWUSObject(no).getPassword()).getBytes());
    [javac]                                  ^^^^^^^^
    [javac] sun.misc cannot be resolved to a type
    [javac] ----------
    [javac] ----------
    [javac] 65. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/folder/WebmailFolderUtilities.java
    [javac]  (at line 52)
    [javac]     import com.sun.mail.imap.IMAPFolder;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 66. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/folder/WebmailFolderUtilities.java
    [javac]  (at line 53)
    [javac]     import com.sun.mail.imap.Rights;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 67. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/folder/WebmailFolderUtilities.java
    [javac]  (at line 54)
    [javac]     import javax.mail.MessagingException;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import javax.mail.MessagingException is never used
    [javac] ----------
    [javac] 68. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/folder/WebmailFolderUtilities.java
    [javac]  (at line 64)
    [javac]     public static boolean hasRight(Folder folder, 
Rights.Right right) {
    [javac]                                                   ^^^^^^
    [javac] Rights cannot be resolved to a type
    [javac] ----------
    [javac] ----------
    [javac] 69. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 54)
    [javac]     import com.sun.mail.iap.ProtocolException;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 70. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 55)
    [javac]     import com.sun.mail.iap.Response;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 71. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 56)
    [javac]     import com.sun.mail.imap.IMAPFolder;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 72. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 57)
    [javac]     import com.sun.mail.imap.protocol.IMAPProtocol;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 73. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 58)
    [javac]     import com.sun.mail.imap.protocol.IMAPResponse;
    [javac]            ^^^^^^^^^^^^
    [javac] The import com.sun.mail cannot be resolved
    [javac] ----------
    [javac] 74. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 79)
    [javac]     IMAPFolder f = (IMAPFolder)folder;
    [javac]     ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 75. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 79)
    [javac]     IMAPFolder f = (IMAPFolder)folder;
    [javac]                     ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 76. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 81)
    [javac]     Object val = f.doCommand(new IMAPFolder.ProtocolCommand() {
    [javac]                                  ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 77. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 153)
    [javac]     IMAPFolder f = (IMAPFolder)folder;
    [javac]     ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 78. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 153)
    [javac]     IMAPFolder f = (IMAPFolder)folder;
    [javac]                     ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] 79. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/imap/IMAPCommand.java
    [javac]  (at line 155)
    [javac]     Object val = f.doCommand(new 
IMAPFolder.ProtocolCommand() {      
    [javac]                                  ^^^^^^^^^^
    [javac] IMAPFolder cannot be resolved to a type
    [javac] ----------
    [javac] ----------
    [javac] 80. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 50)
    [javac]     import javax.swing.text.html.HTMLEditorKit;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import javax.swing.text.html.HTMLEditorKit cannot be 
resolved
    [javac] ----------
    [javac] 81. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 59)
    [javac]     public class html2text extends 
HTMLEditorKit.ParserCallback {
    [javac]                                    ^^^^^^^^^^^^^
    [javac] HTMLEditorKit cannot be resolved to a type
    [javac] ----------
    [javac] 82. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 70)
    [javac]     if (tag.equals(HTML.Tag.BLOCKQUOTE)) {
    [javac]                    ^^^^^^^^^^^^^^^^^^^
    [javac] HTML.Tag.BLOCKQUOTE cannot be resolved
    [javac] ----------
    [javac] 83. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 75)
    [javac]     } else if (tag.equals(HTML.Tag.DIV)) {
    [javac]                           ^^^^^^^^^^^^
    [javac] HTML.Tag.DIV cannot be resolved
    [javac] ----------
    [javac] 84. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 84)
    [javac]     if (tag.equals(HTML.Tag.BLOCKQUOTE)) {
    [javac]                    ^^^^^^^^^^^^^^^^^^^
    [javac] HTML.Tag.BLOCKQUOTE cannot be resolved
    [javac] ----------
    [javac] 85. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 88)
    [javac]     } else if (tag.equals(HTML.Tag.P)) {
    [javac]                           ^^^^^^^^^^
    [javac] HTML.Tag.P cannot be resolved
    [javac] ----------
    [javac] 86. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 92)
    [javac]     } else if (tag.equals(HTML.Tag.H1) ||
    [javac]                           ^^^^^^^^^^^
    [javac] HTML.Tag.H1 cannot be resolved
    [javac] ----------
    [javac] 87. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 93)
    [javac]     tag.equals(HTML.Tag.H2) ||
    [javac]                ^^^^^^^^^^^
    [javac] HTML.Tag.H2 cannot be resolved
    [javac] ----------
    [javac] 88. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 94)
    [javac]     tag.equals(HTML.Tag.H3) ||
    [javac]                ^^^^^^^^^^^
    [javac] HTML.Tag.H3 cannot be resolved
    [javac] ----------
    [javac] 89. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 95)
    [javac]     tag.equals(HTML.Tag.H4) ||
    [javac]                ^^^^^^^^^^^
    [javac] HTML.Tag.H4 cannot be resolved
    [javac] ----------
    [javac] 90. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 96)
    [javac]     tag.equals(HTML.Tag.H5) ||
    [javac]                ^^^^^^^^^^^
    [javac] HTML.Tag.H5 cannot be resolved
    [javac] ----------
    [javac] 91. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 97)
    [javac]     tag.equals(HTML.Tag.H6) ||
    [javac]                ^^^^^^^^^^^
    [javac] HTML.Tag.H6 cannot be resolved
    [javac] ----------
    [javac] 92. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 98)
    [javac]     tag.equals(HTML.Tag.ADDRESS) ||
    [javac]                ^^^^^^^^^^^^^^^^
    [javac] HTML.Tag.ADDRESS cannot be resolved
    [javac] ----------
    [javac] 93. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 99)
    [javac]     tag.equals(HTML.Tag.PRE)) {
    [javac]                ^^^^^^^^^^^^
    [javac] HTML.Tag.PRE cannot be resolved
    [javac] ----------
    [javac] 94. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java
    [javac]  (at line 113)
    [javac]     if (tag.equals(HTML.Tag.BR)) {
    [javac]                    ^^^^^^^^^^^
    [javac] HTML.Tag.BR cannot be resolved
    [javac] ----------
    [javac] ----------
    [javac] 95. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/Management.java
    [javac]  (at line 69)
    [javac]     import javax.naming.ldap.LdapContext;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import javax.naming.ldap.LdapContext is never used
    [javac] ----------
    [javac] ----------
    [javac] 96. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/Management.java
    [javac]  (at line 74)
    [javac]     import com.openexchange.groupware.ldap.GlobalLdapPool;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import com.openexchange.groupware.ldap.GlobalLdapPool is 
never used
    [javac] ----------
    [javac] ----------
    [javac] 97. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ComfireConflictException.java
    [javac]  (at line 52)
    [javac]     public class ComfireConflictException extends Throwable {
    [javac]                  ^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class ComfireConflictException does not 
declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------

    [javac] 98. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ComfireMandatoryException.java
    [javac]  (at line 53)
    [javac]     public class ComfireMandatoryException extends Throwable {
    [javac]                  ^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class ComfireMandatoryException does not 
declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 99. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/InsertHandler.java
    [javac]  (at line 49)
    [javac]     import java.io.File;
    [javac]            ^^^^^^^^^^^^
    [javac] The import java.io.File is never used
    [javac] ----------
    [javac] ----------
    [javac] 100. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/UpdateHandler.java
    [javac]  (at line 49)
    [javac]     import java.io.File;
    [javac]            ^^^^^^^^^^^^
    [javac] The import java.io.File is never used
    [javac] ----------
    [javac] ----------
    [javac] 101. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/api/OXObject.java
    [javac]  (at line 53)
    [javac]     import java.lang.CloneNotSupportedException;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import java.lang.CloneNotSupportedException is never used
    [javac] ----------
    [javac] ----------
    [javac] 102. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/api/OXConflictException.java
    [javac]  (at line 52)
    [javac]     public class OXConflictException extends Exception
    [javac]                  ^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class OXConflictException does not declare 
a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 103. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/api/OXMandatoryFieldException.java
    [javac]  (at line 52)
    [javac]     public class OXMandatoryFieldException extends Exception
    [javac]                  ^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class OXMandatoryFieldException does not 
declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 104. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/api/OXPermissionException.java
    [javac]  (at line 52)
    [javac]     public class OXPermissionException extends Exception
    [javac]                  ^^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class OXPermissionException does not 
declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 105. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/ssl/SSLException.java
    [javac]  (at line 53)
    [javac]     public class SSLException extends Exception
    [javac]                  ^^^^^^^^^^^^
    [javac] The serializable class SSLException does not declare a 
static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 106. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/folder/WebmailFolderManagement.java
    [javac]  (at line 59)
    [javac]     public class WebmailFolderManagement extends Vector {
    [javac]                  ^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class WebmailFolderManagement does not 
declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 107. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/SendHandler.java
    [javac]  (at line 42)
    [javac]     import java.io.*;
    [javac]            ^^^^^^^
    [javac] The import java.io is never used
    [javac] ----------
    [javac] ----------
    [javac] 108. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/DefaultSendHandler.java
    [javac]  (at line 42)
    [javac]     import java.io.*;
    [javac]            ^^^^^^^
    [javac] The import java.io is never used
    [javac] ----------
    [javac] ----------
    [javac] 109. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/DefaultSendHandler.java
    [javac]  (at line 44)
    [javac]     import com.openexchange.webmail.*;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import com.openexchange.webmail is never used
    [javac] ----------
    [javac] ----------
    [javac] 110. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/ReceiveHandler.java
    [javac]  (at line 39)
    [javac]     import javax.mail.*;
    [javac]            ^^^^^^^^^^
    [javac] The import javax.mail is never used
    [javac] ----------
    [javac] ----------
    [javac] 111. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/ReceiveHandler.java
    [javac]  (at line 41)
    [javac]     import java.io.*;
    [javac]            ^^^^^^^
    [javac] The import java.io is never used
    [javac] ----------
    [javac] ----------
    [javac] 112. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/ReceiveHandler.java
    [javac]  (at line 43)
    [javac]     import java.security.GeneralSecurityException;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import java.security.GeneralSecurityException is never used
    [javac] ----------
    [javac] ----------
    [javac] 113. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/ReceiveHandler.java
    [javac]  (at line 45)
    [javac]     import java.security.*;
    [javac]            ^^^^^^^^^^^^^
    [javac] The import java.security is never used
    [javac] ----------
    [javac] ----------
    [javac] 114. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/DefaultReceiveHandler.java
    [javac]  (at line 39)
    [javac]     import javax.mail.*;
    [javac]            ^^^^^^^^^^
    [javac] The import javax.mail is never used
    [javac] ----------
    [javac] ----------
    [javac] 115. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/DefaultReceiveHandler.java
    [javac]  (at line 41)
    [javac]     import java.io.*;
    [javac]            ^^^^^^^
    [javac] The import java.io is never used
    [javac] ----------

    [javac] ----------
    [javac] 116. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/DefaultReceiveHandler.java
    [javac]  (at line 43)
    [javac]     import java.security.GeneralSecurityException;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import java.security.GeneralSecurityException is never used
    [javac] ----------
    [javac] ----------
    [javac] 117. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/DefaultReceiveHandler.java
    [javac]  (at line 45)
    [javac]     import java.security.*;
    [javac]            ^^^^^^^^^^^^^
    [javac] The import java.security is never used
    [javac] ----------
    [javac] ----------
    [javac] 118. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/attachments/AttachmentNotFoundException.java
    [javac]  (at line 53)
    [javac]     public class AttachmentNotFoundException extends Exception {
    [javac]                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class AttachmentNotFoundException does not 
declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 119. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/tools/oxfolder/OXFolderLogicException.java
    [javac]  (at line 53)
    [javac]     public class OXFolderLogicException extends Throwable {
    [javac]                  ^^^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class OXFolderLogicException does not 
declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 120. WARNING in 
/root/open-xchange-0.8.0-3/src/com/openexchange/tools/oxfolder/OXFolderPermissionException.java
    [javac]  (at line 53)
    [javac]     public class OXFolderPermissionException extends Throwable {
    [javac]                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class OXFolderPermissionException does not 
declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] 120 problems (84 errors, 36 warnings)

Sorry for flooding.

Thanks

Soumyadip Modak 
soumyadip@randomink.org
soumyadip.modak@gmail.com
http://www.randomink.org/soumyadip



From MAILER-DAEMON Fri Jul 08 09:45:51 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqtAr-00012d-IB
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 09:45:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqtAm-00011N-Fc
	for classpath@gnu.org; Fri, 08 Jul 2005 09:45:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqtAk-00010N-8g
	for classpath@gnu.org; Fri, 08 Jul 2005 09:45:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dqt9c-0000Nc-4e
	for classpath@gnu.org; Fri, 08 Jul 2005 09:44:32 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dqscw-00027m-0r
	for classpath@gnu.org; Fri, 08 Jul 2005 09:10:46 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DqsWJ-00054b-00; Fri, 08 Jul 2005 15:03:55 +0200
From: Mark Wielaard <mark@klomp.org>
To: Soumyadip Modak <soumyadip@randomink.org>
In-Reply-To: <42CE7183.4010606@randomink.org>
References: <42CE7183.4010606@randomink.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-2yPdHdh0BcD7ipUVI3rR"
Date: Fri, 08 Jul 2005 15:03:45 +0200
Message-Id: <1120827825.5881.27.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>, OpenExchange <devel@open-xchange.org>
Subject: Re: Compiling OpenExchange with gcj and 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 Jul 2005 13:45:47 -0000


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

Hi,

On Fri, 2005-07-08 at 17:58 +0530, Soumyadip Modak wrote:
> Recently I've been looking at OpenExchange on Fedora Core 4. I was=20
> hoping to utilise FC4's extensive free Java tools to build OX. OX=20
> configure script didn't thorw up any problems but make failed witha lot=20
> of errors. Can anyone please guide me how to rectify these problems to=20
> get a completely free groupware solution ?
>=20
> Errors :

I had a quick look at the errors. Below is an quick analysis, but no
real solutions yet. Hopefully others can give more specific suggestions.

- the servlet related warnings should be easy to solve.
  I am actually a Debian user. But I believe Fedora has a package called
  tomcat5-servlet (which you can use depending on the license of
  OpenExchange, unfortunately it isn't GPL compatible. There is a LGPL
  servlet implementation distributed with gnu paperclipse, but I don't
  know if Fedora ships that.). Try using "yum search servlet".
- the sun.misc.BASE64 usage. That one is nasty since that isn't a
  publicly documented class. It shouldn't be hard to replace that code
  since base64 en/decoding isn't actually that difficult.
  (For an examples see gnu/java/net/BASE64.java or
   gnu/java/io/Base64InputStream.java in GNU Classpath)
- ParserDelegator.parse() is missing in gcj4, but we have it in GNU
  Classpath. This should be backported to libgcj.
  Same for javax.swing.text.html.HTMLEditorKit.
  (Although it is mainly stubs at the moment.)
- The usage of com.sun.mail ImapFolder and Rights is another
  non-documented, non-free issue. Hopefully that can be fixed by using
  an appropriate class from GNU mail or inetlib.

It looks like this program was developed against a proprietary non-free
java platform implementation and the use of non-standard, undocumented
classes is a bit of a problem. The biggest issue is the imap and html
usage for which it might be some work to create free replacements. But
work is already been done on this, so it might not be that hard in the
end.

Cheers,

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

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

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

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

iD8DBQBCznmxxVhZCJWr9QwRAknUAKCavMtsnofNTtp8RKYy+QQEavNuDQCfZeu/
bC94acO0nnqnPTmVBZs0rRU=
=8Ivi
-----END PGP SIGNATURE-----

--=-2yPdHdh0BcD7ipUVI3rR--




From MAILER-DAEMON Fri Jul 08 10:03:42 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqtSA-0000BE-4y
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 10:03:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqtS4-00007t-Hg
	for classpath@gnu.org; Fri, 08 Jul 2005 10:03:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqtS1-00005a-44
	for classpath@gnu.org; Fri, 08 Jul 2005 10:03:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqtRz-0008VK-Ja
	for classpath@gnu.org; Fri, 08 Jul 2005 10:03:31 -0400
Received: from [62.13.128.175] (helo=outmail128175.authsmtp.net)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DqtWy-00064h-HR
	for classpath@gnu.org; Fri, 08 Jul 2005 10:08:40 -0400
Received: from [192.168.1.4] (host81-130-208-103.in-addr.btopenworld.com
	[81.130.208.103]) (authenticated bits=0)
	by squirrel.dmpriest.net.uk (8.13.3/8.13.3/Kp) with ESMTP id
	j68E1hVg046147; Fri, 8 Jul 2005 15:01:43 +0100 (BST)
	(envelope-from david.gilbert@object-refinery.com)
Message-ID: <42CE955B.30906@object-refinery.com>
Date: Fri, 08 Jul 2005 15:01:47 +0000
From: David Gilbert <david.gilbert@object-refinery.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050426)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Lillian Angel <langel@redhat.com>
References: <1120754065.21524.30.camel@tow.toronto.redhat.com>
In-Reply-To: <1120754065.21524.30.camel@tow.toronto.redhat.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:Kp
X-Powered-By: AuthSMTP - http://www.authsmtp.com - Authenticated SMTP Mail
	Relay
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own
	anti-virus system!
Cc: classpath@gnu.org
Subject: Re: Question about GNU Icons
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 Jul 2005 14:03:37 -0000

Lillian Angel wrote:

>Hello,
>
>I have been working on JTree for sometime and for some reason the icons
>for the tree do not seem to be in the classpath/javax/swing/basic/plaf/
>folder. Is it okay to use those from gnu/javax/swing/plaf/gtk/icons ?
>
>Thanks!
>Lillian.
>  
>
Hi Lillian,

I just committed a new file javax.swing.plaf.metal.MetalIconFactory
(partial implementation) with support for the basic tree icons, so you
can give that a try if you like...

Regards,
Dave Gilbert



From MAILER-DAEMON Fri Jul 08 15:08:18 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqyCw-0005vk-9R
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 15:08:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqyCu-0005uI-6O
	for classpath@gnu.org; Fri, 08 Jul 2005 15:08:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dqy9L-00051H-9k
	for classpath@gnu.org; Fri, 08 Jul 2005 15:04:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dqy9G-0004wQ-CI
	for classpath@gnu.org; Fri, 08 Jul 2005 15:04:30 -0400
Received: from [66.98.208.95] (helo=server1.t35.net)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dqy1j-0001Mk-9N
	for classpath@gnu.org; Fri, 08 Jul 2005 14:56:43 -0400
Received: from [59.93.160.32] (helo=[59.93.160.32])
	by server1.t35.net with esmtpa (Exim 4.51)
	id 1Dqxur-0001Hu-M9; Fri, 08 Jul 2005 14:49:38 -0400
Message-ID: <42CECAFC.8040103@randomink.org>
Date: Sat, 09 Jul 2005 00:20:36 +0530
From: Soumyadip Modak <soumyadip@randomink.org>
User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <42CE7183.4010606@randomink.org>
	<1120827825.5881.27.camel@localhost.localdomain>
In-Reply-To: <1120827825.5881.27.camel@localhost.localdomain>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - server1.t35.net
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - randomink.org
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Cc: Classpath <classpath@gnu.org>, OpenExchange <devel@open-xchange.org>
Subject: Re: Compiling OpenExchange with gcj and 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 Jul 2005 19:08:16 -0000

Mark Wielaard wrote:

>Hi,
>
>On Fri, 2005-07-08 at 17:58 +0530, Soumyadip Modak wrote:
>  
>
>>Recently I've been looking at OpenExchange on Fedora Core 4. I was 
>>hoping to utilise FC4's extensive free Java tools to build OX. OX 
>>configure script didn't thorw up any problems but make failed witha lot 
>>of errors. Can anyone please guide me how to rectify these problems to 
>>get a completely free groupware solution ?
>>
>>Errors :
>>    
>>
>
>I had a quick look at the errors. Below is an quick analysis, but no
>real solutions yet. Hopefully others can give more specific suggestions.
>
>- the servlet related warnings should be easy to solve.
>  I am actually a Debian user. But I believe Fedora has a package called
>  tomcat5-servlet (which you can use depending on the license of
>  OpenExchange, unfortunately it isn't GPL compatible. There is a LGPL
>  servlet implementation distributed with gnu paperclipse, but I don't
>  know if Fedora ships that.). Try using "yum search servlet".
>- the sun.misc.BASE64 usage. That one is nasty since that isn't a
>  publicly documented class. It shouldn't be hard to replace that code
>  since base64 en/decoding isn't actually that difficult.
>  (For an examples see gnu/java/net/BASE64.java or
>   gnu/java/io/Base64InputStream.java in GNU Classpath)
>- ParserDelegator.parse() is missing in gcj4, but we have it in GNU
>  Classpath. This should be backported to libgcj.
>  Same for javax.swing.text.html.HTMLEditorKit.
>  (Although it is mainly stubs at the moment.)
>- The usage of com.sun.mail ImapFolder and Rights is another
>  non-documented, non-free issue. Hopefully that can be fixed by using
>  an appropriate class from GNU mail or inetlib.
>
>It looks like this program was developed against a proprietary non-free
>java platform implementation and the use of non-standard, undocumented
>classes is a bit of a problem. The biggest issue is the imap and html
>usage for which it might be some work to create free replacements. But
>work is already been done on this, so it might not be that hard in the
>end.
>
>Cheers,
>
>Mark
>  
>
Thanks a lot Mark, for the quick reply. I'm waiting for response from 
the OpenExchange guys before I try hacking on the OX source code.


-- 
Soumyadip Modak
soumyadip.modak@gmail.com
soumyadip@randomink.org
http://www.randomink.org/soumyadip




From MAILER-DAEMON Fri Jul 08 15:33:05 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dqyau-0003i5-Tl
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 15:33:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dqy9M-00053I-4A
	for classpath@gnu.org; Fri, 08 Jul 2005 15:04:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dqy9A-0004ww-Hr
	for classpath@gnu.org; Fri, 08 Jul 2005 15:04:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dqy99-0004wQ-TL
	for classpath@gnu.org; Fri, 08 Jul 2005 15:04:23 -0400
Received: from [199.185.220.220] (helo=priv-edtnes56.telusplanet.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqyDe-0001vR-NR
	for classpath@gnu.org; Fri, 08 Jul 2005 15:09:02 -0400
Received: from skynet-poco.dyndns.org ([207.216.165.242])
	by priv-edtnes56.telusplanet.net
	(InterMail vM.6.01.04.04 201-2131-118-104-20050224) with SMTP id
	<20050708190158.UUAE22262.priv-edtnes56.telusplanet.net@skynet-poco.dyndns.org>
	for <classpath@gnu.org>; Fri, 8 Jul 2005 13:01:58 -0600
Received: (qmail 5511 invoked by uid 453); 8 Jul 2005 19:01:58 -0000
X-Spam-Check-By: skynet-poco.dyndns.org
Received: from pc-00245.skynet-poco.dyndns.org (HELO POCO) (192.168.69.245)
	by skynet-poco.dyndns.org (qpsmtpd/0.29) with ESMTP;
	Fri, 08 Jul 2005 12:01:56 -0700
From: "Greg Swallow - SkyNet" <gregswallow@skynetonline.ca>
To: "'For developers'" <devel@open-xchange.org>
Date: Fri, 8 Jul 2005 12:01:59 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Thread-Index: AcWD7mPQCFXgNzAESUerBQWV2mtfXAAAE+Mw
In-Reply-To: <42CECAFC.8040103@randomink.org>
Message-Id: <20050708190158.UUAE22262.priv-edtnes56.telusplanet.net@skynet-poco.dyndns.org>
X-Mailman-Approved-At: Fri, 08 Jul 2005 15:33:03 -0400
Cc: 'Classpath' <classpath@gnu.org>
Subject: RE: [OX Devel] Re: Compiling OpenExchange with gcj and 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 Jul 2005 19:04:41 -0000

> >- The usage of com.sun.mail ImapFolder and Rights is another
> >  non-documented, non-free issue. Hopefully that can be fixed by using
> >  an appropriate class from GNU mail or inetlib.

I had asked and gotten an answer to basically the same question here:
http://www.open-xchange.org/pipermail/devel/2005-June/008204.html

Greg




From MAILER-DAEMON Fri Jul 08 15:57:54 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dqyyr-0008Dq-Ky
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 15:57:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dqyyk-0008Br-9g
	for classpath@gnu.org; Fri, 08 Jul 2005 15:57:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dqyyd-00086l-DE
	for classpath@gnu.org; Fri, 08 Jul 2005 15:57:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dqyyc-00084i-QQ
	for classpath@gnu.org; Fri, 08 Jul 2005 15:57:34 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dqywm-0004cw-AV
	for classpath@gnu.org; Fri, 08 Jul 2005 15:55:40 -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 j68JmUCs007498;
	Fri, 8 Jul 2005 15:48:30 -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 j68JmTV19340; 
	Fri, 8 Jul 2005 15:48:29 -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
	j68JmT1M025023; Fri, 8 Jul 2005 15:48:29 -0400
Message-ID: <42CED88D.1040502@redhat.com>
Date: Fri, 08 Jul 2005 15:48:29 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Thomas Zander <zander@kde.org>
References: <42CBFBCE.8000509@menlina.com>
	<200507071205.11662.zander@kde.org>	<42CD5859.5000007@redhat.com>
	<200507081253.15777.zander@kde.org>
In-Reply-To: <200507081253.15777.zander@kde.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: ResourceBundle optimisation
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 Jul 2005 19:57:45 -0000

Thomas Zander wrote:

>I'm pretty sure its not an API design to disallow this. So its 
>implementation specific and your argument that Sun does not do it is 
>indeed a pretty strong one.  I'm not sure I agree with it, but its a good 
>argument nontheless.
>  
>
...

>My original point still stands;  loading "foo.properties" while 
>"foo_nl_NL.properties" was requested will effectively make it impossible 
>to find foo_nl* if its placed in the classpath later.  Which is 
>definitely not what I expect.
>  
>

Tomcat and other servers implement re-loading of existing classes by 
loading them into a new ClassLoader. This way, old instances of the 
classes will be garbage collected when their ClassLoader becomes 
unreachable.

Resources work in the same way: ResourceBundles are cached 
per-ClassLoader, so modified bundles will be reloaded if getBundle() is 
called from a class loaded by a new ClassLoader.

I have not confirmed that this is the behaviour you get from Sun's 
implementation, but I suspect it is. I also think it provides a good 
balance between caching performance and the flexibility to reload things 
in a long-running server. getBundle() is called a lot, so it should be 
very fast in the common case - ideally avoiding allocations or making 
system calls.

Bryce




From MAILER-DAEMON Fri Jul 08 16:36:28 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqzaG-0006wF-Fr
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 16:36:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqzXN-0006R6-FR
	for classpath@gnu.org; Fri, 08 Jul 2005 16:33:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqzXF-0006NL-I3
	for classpath@gnu.org; Fri, 08 Jul 2005 16:33:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqzXF-0006Ft-Af
	for classpath@gnu.org; Fri, 08 Jul 2005 16:33:21 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DqzGV-0005sC-AA
	for classpath@gnu.org; Fri, 08 Jul 2005 16:16: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.11) with ESMTP id j68K93up020685;
	Fri, 8 Jul 2005 16:09:03 -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 j68K93V25422; 
	Fri, 8 Jul 2005 16:09:03 -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
	j68K921M025948; Fri, 8 Jul 2005 16:09:02 -0400
Message-ID: <42CEDD5E.5030305@redhat.com>
Date: Fri, 08 Jul 2005 16:09:02 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Nicolas Geoffray <nicolas.geoffray@menlina.com>
References: <42CBFBCE.8000509@menlina.com> <42CC37D8.2030805@menlina.com>
	<42CC9A13.2020900@redhat.com> <42CCE8EE.9000704@menlina.com>
In-Reply-To: <42CCE8EE.9000704@menlina.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: ResourceBundle optimisation
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 Jul 2005 20:36:27 -0000

Thanks for the explanation, Nicolas.

You are correct, the current caching strategy does not work when the 
same base resource is loaded repeatedly for many different locale arguments.

I'm looking at a solution that will fix this but continue to avoid the 
string concatenations and allocations in the common case. getBundle() 
has a significant effect on the performance of things like 
java.util.Calendar, so I'd like it to continue to be as fast as possible.

Bryce


Nicolas Geoffray wrote:

> No, because in tryBundle, a new string is created with basename + 
> locale. It is that new string that is put in the cache, not just the 
> basename.
> For example, say you're looking for a resource "MyResource" with 
> locale en_US. If it is found, then the result is cached with a key 
> created from MyResource_en_US, not MyResource.
>
>> Never the less, I'd be interested to know where the 2 minute speedup 
>> came from, and if there is anything we can do to improve 
>> ResourceBundle without breaking its semantics. Does Tomcat request 
>> the same bundle baseName for many different locales?
>>
> It is when it loads struts. It is looking for a resource 
> ApplicationProperties with all the locales classpath has. With the 
> current implementation of ResourceBundle, looking for all resources 
> takes a real long time. Here's an example :
> 1) You're in getBundle looking for resource ApplicationProperties with 
> locale AA_aa
> 2) It's not in the cache, so you go into tryBundle
> 3) In tryBundle, you don't find ApplicationProperties_AA_aa
> 4) In tryBundle you find ApplicationProperties_AA so you return it
> 5) In getBundle you cache ApplicationProperties_AA_aa with the result 
> (ApplicationProperties_AA is not cached)
> 6) In the next getBundle, you're looking for ApplicationProperties 
> with locale AA...
>
> The patch improves the researches by caching ApplicationProperties_AA.
>
> Even better, in tryBundle when a result is found for a resource, we 
> could cache all intermediary resources we were looking for. For 
> example if we were looking for ApplicationProperties_AA_aa, and 
> finally found a result for ApplicationProperties (with no locale), we 
> could cache ApplicationProperties, ApplicationProperties_AA_aa, and 
> ApplicationProperties_AA with that same result.
>
> I haven't done this greater optimisation, as i'm not sure of the 
> correctness of the patch regarding "the most specialized bundle" in 
> tryBundle.





From MAILER-DAEMON Fri Jul 08 16:37:02 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dqzao-0007DE-Mv
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 16:37:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dqzao-0007Cb-4r
	for classpath@gnu.org; Fri, 08 Jul 2005 16:37:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqzXi-0006WT-0N
	for classpath@gnu.org; Fri, 08 Jul 2005 16:33:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqzXb-0006Ft-Mj
	for classpath@gnu.org; Fri, 08 Jul 2005 16:33:44 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dqz7p-0005UL-Ae
	for classpath@gnu.org; Fri, 08 Jul 2005 16:07:05 -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 j68Jxw9Q014335;
	Fri, 8 Jul 2005 15:59:59 -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 j68JxwV22906; 
	Fri, 8 Jul 2005 15:59:58 -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
	j68Jxv1M025513; Fri, 8 Jul 2005 15:59:58 -0400
Message-ID: <42CEDB3D.5040501@redhat.com>
Date: Fri, 08 Jul 2005 15:59:57 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: dvholten@computer.org
References: <OF312E66D3.D95300DB-ONC1257038.0040160A@dvholten.de>
In-Reply-To: <OF312E66D3.D95300DB-ONC1257038.0040160A@dvholten.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: ResourceBundle optimisation
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 Jul 2005 20:37:02 -0000

dvholten@computer.org wrote:

>While you are at it...
>
>I remember a discussion ( somewhere, somewhen long ago) about a probable
>bug with ResourceBundles, that they stay in memory (because of caching) 
>and that they should be dropped from cache somehow.
>Maybe its a good idea to use one of the WeakReference-things to drop it
>when no longer needed.
>  
>

Yes, I think this a valid problem with the current implementation. 
Currently getBundle() keeps hard references to all the ClassLoaders that 
it is called from, meaning that none of those ClassLoaders (and hence 
the Classes and Resources that they load) can ever be garbage collected.

This is solvable, however, by spitting the bundleCache into a two-level 
hashtable - the first being a WeakHashMap with the ClassLoaders as the 
keys. This way, when a ClassLoader becomes otherwise unreachable, it 
will be eligible for collection along with all the bundles it loaded.

>Another idea: invent a System.property to control cache-behaviour.
>With a useful default, users can tune as they like: 
>cache, no cache, cache forever, cache with expiration...
>  
>

In general, I dislike adding additional, non-standard system properties. 
They create new code paths that will rarely get exercised, meaning 
additional testing & maintenance work. Meanwhile, users rarely bother to 
set them to anything other than the default. In a few cases, it might be 
worthwhile to add one, but I suspect not here.

Bryce




From MAILER-DAEMON Fri Jul 08 18:55:07 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dr1kR-0004pe-5p
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 18:55:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dr1NA-0006l3-Vu
	for classpath@gnu.org; Fri, 08 Jul 2005 18:31:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dr1Mq-0006dc-MV
	for classpath@gnu.org; Fri, 08 Jul 2005 18:30:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dr1Mp-0006Ol-GS
	for classpath@gnu.org; Fri, 08 Jul 2005 18:30:43 -0400
Received: from [62.225.134.190] (helo=netline.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dr15Q-0003na-0y
	for classpath@gnu.org; Fri, 08 Jul 2005 18:12:44 -0400
Received: from [192.168.32.7] (helo=netline.netline-is.de)
	by netline.de with esmtp (Exim)
	id 1Dr0qG-0003QW-00; Fri, 08 Jul 2005 23:57:04 +0200
Received: by netline.netline-is.de (Postfix, from userid 65534)
	id 169DFB9C97; Sat,  9 Jul 2005 00:05:38 +0200 (CEST)
Received: from ox.netline-is.de (localhost [127.0.0.1])
	by netline.netline-is.de (Postfix) with ESMTP
	id 2B642B9BE6; Sat,  9 Jul 2005 00:05:19 +0200 (CEST)
Message-ID: <3454753.1120860319026.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
Date: Sat, 9 Jul 2005 00:05:18 +0200 (CEST)
From: Martin Kauss <bishoph@open-xchange.org>
To: For developers <devel@open-xchange.org>
In-Reply-To: <42CE7183.4010606@randomink.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Priority: 3 (normal)
X-Mailer: OPEN-XCHANGE 0.8.0 - WebMail
Organization: Netline Internet Service GmbH  
References: <42CE7183.4010606@randomink.org>
X-Scanner: exiscan *1Dr0qG-0003QW-00*eyv32hRg6YM*
	http://duncanthrax.net/exiscan/
X-Mailman-Approved-At: Fri, 08 Jul 2005 18:55:05 -0400
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>
Subject: Re: [OX Devel] Compiling OpenExchange with gcj and 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 Jul 2005 22:38:04 -0000

On Jul 08, 2005 02:28 PM, Soumyadip Modak <soumyadip@randomink.org> wrote:

> Hello,
> Recently I've been looking at OpenExchange on Fedora Core 4. I was 
> hoping to utilise FC4's extensive free Java tools to build OX. OX 
> configure script didn't thorw up any problems but make failed witha lot 
> of errors. Can anyone please guide me how to rectify these problems to 
> get a completely free groupware solution ?
> 
> Errors :
> 
> Making all in javabuild
> make[1]: Entering directory `/root/open-xchange-0.8.0-3/javabuild'
> /usr/bin/ant -f ../build.xml
> Buildfile: ../build.xml
> 
> init:
> 
> compilewebdav:
>     [javac] Compiling 14 source files to /root/open-xchange-0.8.0-3/build
>     [javac] ----------
>     [javac] 1. WARNING in 
> /root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactInsEdit.java
>     [javac]  (at line 96)
>     [javac]     import com.openexchange.tools.encoding.Base64;
>     [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     [javac] The import com.openexchange.tools.encoding.Base64 is never used
>     [javac] ----------
>     [javac] ----------


[REMOVED LOTS OF ERROR MESSAGES]
 

>     [javac]  (at line 53)
>     [javac]     public class OXFolderPermissionException extends Throwable {
>     [javac]                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     [javac] The serializable class OXFolderPermissionException does not 
> declare a static final serialVersionUID field of type long
>     [javac] ----------
>     [javac] 120 problems (84 errors, 36 warnings)
> 
> Sorry for flooding.
> 
> Thanks
> 
> Soumyadip Modak 
> soumyadip@randomink.org
> soumyadip.modak@gmail.com
> http://www.randomink.org/soumyadip
> 


Hi,

the configure just checks the system dependencies to
build the system. The needed libraries are not checked
until the compile process, JFYI.

The questions was asked some month ago for a Debian
package as well. I tried to build Open-Xchange some
time ago with GNU Classpath, but specially for mail,
necessary methods and functions are just missing.

We are just providing a collaboration framework and
that is our focus. This means, if the functionality
is covered by any other package than Sun's Javamail
package one can build OX with this packages.

Currently - AFAIK - this is not possible.

The other question is what you mean with
"extensive free Java tools" ... for some
ppl. also packages offered by Sun/IBM/Bea are "free" ...



By reading your website i have to mention that
we have working environments (and test systems 
of course) with IBM JDK as well and i know admins
who are using the BEA JDK to resolve errors.



Greetings,

Martin Kauss





From MAILER-DAEMON Fri Jul 08 23:29:13 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dr61e-00012x-J3
	for mharc-classpath@gnu.org; Fri, 08 Jul 2005 23:29:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dr61Y-0000zK-Hs
	for classpath@gnu.org; Fri, 08 Jul 2005 23:29:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dr61S-0000wS-8M
	for classpath@gnu.org; Fri, 08 Jul 2005 23:29:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dr61R-0000sp-Mq
	for classpath@gnu.org; Fri, 08 Jul 2005 23:28:57 -0400
Received: from [66.98.208.95] (helo=server1.t35.net)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dr5uQ-0001Cp-IQ
	for classpath@gnu.org; Fri, 08 Jul 2005 23:21:42 -0400
Received: from [59.93.161.62] (helo=[59.93.161.62])
	by server1.t35.net with esmtpa (Exim 4.51)
	id 1Dr5nP-0001Pz-87; Fri, 08 Jul 2005 23:14:27 -0400
Message-ID: <42CF4152.3050106@randomink.org>
Date: Sat, 09 Jul 2005 08:45:30 +0530
From: Soumyadip Modak <soumyadip@randomink.org>
User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: devel@open-xchange.org, Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
In-Reply-To: <E1Dr05Q-0008Lj-00@open-xchange.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - server1.t35.net
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - randomink.org
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Cc: 
Subject: Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 03:29:06 -0000

Martin Kauss <bishoph@open-xchange.org> wrote
>  Hi,
>
>  the configure just checks the system dependencies to build the
>  system. The needed libraries are not checked until the compile
>  process, JFYI.
>
>  The questions was asked some month ago for a Debian package as well.
>  I tried to build Open-Xchange some time ago with GNU Classpath, but
>  specially for mail, necessary methods and functions are just missing.

So what I understand is this: (Correct me if I'm wrong)
1. Problems with servlets are solvable with free Java tools, and these 
are not major showstoppers
2. Base64 and Parserdelegator problems need some work
3. Main problem is that the free Javamail does not implement some 
methods that are needed by OX.

Is it possible for the OX developers to work with the Classpath 
developers to resolve these problems ? As far as I can understand there 
is no major bottleneck other than some missing functionality, and I'm 
sure that the Classpath people would love to have people collaborating 
with them. :)

>  We are just providing a collaboration framework and that is our
>  focus. This means, if the functionality is covered by any other
>  package than Sun's Javamail package one can build OX with this
>  packages.
 >
>  Currently - AFAIK - this is not possible.
>
>  The other question is what you mean with "extensive free Java tools"
>  ... for some ppl. also packages offered by Sun/IBM/Bea are "free" ...

I generally refer to the Debian Free Software Guidelines for my 
definition of Free software :)

http://www.debian.org/social_contract#guidelines

Thanks a lot
-- 
Soumyadip Modak
soumyadip.modak@gmail.com
soumyadip@randomink.org
http://www.randomink.org/soumyadip




From MAILER-DAEMON Sat Jul 09 03:29:33 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dr9mH-0005NJ-CR
	for mharc-classpath@gnu.org; Sat, 09 Jul 2005 03:29:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dr9Lp-0000oc-1h
	for classpath@gnu.org; Sat, 09 Jul 2005 03:02:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dr9Lm-0000oK-66
	for classpath@gnu.org; Sat, 09 Jul 2005 03:02:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dr9J8-00005D-Gs
	for classpath@gnu.org; Sat, 09 Jul 2005 02:59:26 -0400
Received: from [62.225.134.190] (helo=netline.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dr8zo-0000Vp-VH
	for classpath@gnu.org; Sat, 09 Jul 2005 02:39:29 -0400
Received: from [192.168.32.7] (helo=netline.netline-is.de)
	by netline.de with esmtp (Exim)
	id 1Dr8kX-0004Tl-00; Sat, 09 Jul 2005 08:23:41 +0200
Received: by netline.netline-is.de (Postfix, from userid 65534)
	id 85250B9D37; Sat,  9 Jul 2005 08:32:20 +0200 (CEST)
Received: from ox.netline-is.de (localhost [127.0.0.1])
	by netline.netline-is.de (Postfix) with ESMTP
	id DCEA7B9C93; Sat,  9 Jul 2005 08:32:14 +0200 (CEST)
Message-ID: <7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
Date: Sat, 9 Jul 2005 08:32:14 +0200 (CEST)
From: Martin Kauss <bishoph@open-xchange.org>
To: For developers <devel@open-xchange.org>
In-Reply-To: <42CF4152.3050106@randomink.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Priority: 3 (normal)
X-Mailer: OPEN-XCHANGE 0.8.0 - WebMail
Organization: Netline Internet Service GmbH  
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
X-Scanner: exiscan *1Dr8kX-0004Tl-00*YfnO6OZIAYA*
	http://duncanthrax.net/exiscan/
X-Mailman-Approved-At: Sat, 09 Jul 2005 03:29:30 -0400
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>
Subject: Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 07:02:14 -0000

On Jul 09, 2005 05:15 AM, Soumyadip Modak <soumyadip@randomink.org> wrote:

> Martin Kauss <bishoph@open-xchange.org> wrote
> >  Hi,
> >
> >  the configure just checks the system dependencies to build the
> >  system. The needed libraries are not checked until the compile
> >  process, JFYI.
> >
> >  The questions was asked some month ago for a Debian package as well.
> >  I tried to build Open-Xchange some time ago with GNU Classpath, but
> >  specially for mail, necessary methods and functions are just missing.
> 
> So what I understand is this: (Correct me if I'm wrong)
> 1. Problems with servlets are solvable with free Java tools, and these 
> are not major showstoppers



I am not aware of any servlet issues at all, tomcat for example
should provide all necessary libraries.



> 2. Base64 and Parserdelegator problems need some work



Specially the ParserDelegator class should be part of a
JDK since Java 1.2 as far as i can remember, see 

http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/text/html/parser/ParserDelegator.html
and
http://developer.classpath.org/doc/javax/swing/text/html/parser/ParserDelegator-source.html



> 3. Main problem is that the free Javamail does not implement some 
> methods that are needed by OX.



Correct. 



> Is it possible for the OX developers to work with the Classpath 
> developers to resolve these problems ? As far as I can understand there 
> is no major bottleneck other than some missing functionality, and I'm 
> sure that the Classpath people would love to have people collaborating 
> with them. :)



Not sure what you mean with "to work ... to resolve these problems",
but in general the answer is yes. 


Finally i would like to mention that Sun do a great Job for Javamail
with the mail protocol support and with the supported mail servers
and IMHO it will not be easy to get to the same functionality.




> >  We are just providing a collaboration framework and that is our
> >  focus. This means, if the functionality is covered by any other
> >  package than Sun's Javamail package one can build OX with this
> >  packages.
>  >
> >  Currently - AFAIK - this is not possible.
> >
> >  The other question is what you mean with "extensive free Java tools"
> >  ... for some ppl. also packages offered by Sun/IBM/Bea are "free" ...
> 
> I generally refer to the Debian Free Software Guidelines for my 
> definition of Free software :) 
> http://www.debian.org/social_contract#guidelines
> 
> Thanks a lot
> -- 
> Soumyadip Modak
> soumyadip.modak@gmail.com
> soumyadip@randomink.org
> http://www.randomink.org/soumyadip
> 



Ciao,

Martin Kauss






From MAILER-DAEMON Sat Jul 09 03:34:39 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dr9nz-0005gU-9T
	for mharc-classpath@gnu.org; Sat, 09 Jul 2005 03:31:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dr9nn-0005fQ-AM
	for classpath@gnu.org; Sat, 09 Jul 2005 03:31:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dr9ni-0005e6-4S
	for classpath@gnu.org; Sat, 09 Jul 2005 03:31:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dr9nh-0005VR-BY
	for classpath@gnu.org; Sat, 09 Jul 2005 03:31:01 -0400
Received: from [195.186.18.61] (helo=mail11.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dr9dq-0001xq-OQ
	for classpath@gnu.org; Sat, 09 Jul 2005 03:20:50 -0400
Received: from [127.0.0.1] (81.63.115.141) by mail11.bluewin.ch (Bluewin
	7.2.060.1) id 42CA2FD3000CFC7B for classpath@gnu.org;
	Sat, 9 Jul 2005 07:13:40 +0000
Message-ID: <42CF7921.8010802@bluewin.ch>
Date: Sat, 09 Jul 2005 09:13:37 +0200
From: Meskauskas Audrius <audriusa@bluewin.ch>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "classpath@gnu.org" <classpath@gnu.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Brief implementation question about the exception code.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: audriusa@bluewin.ch
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Jul 2005 07:31:10 -0000

Hi, all

When the CORBA server POA is temporary deactivated (discarding mode), 
the client receives remote exception org.omg.CORBA.TRANSIENT. One of the 
fields in this exception is the integer "minor error code". My OMG 
document (March  2004) clearly states that the value of that field must 
be 1. From my previous experience, the Suns implementation always throws 
this exception with this field set to value 1398080489 (0x535503e9) that 
can be decoded as  "An exception code, specific to Sun's implementation, 
number 1001".

Any ideas about which error code should we return?

Cheers
Audrius




From MAILER-DAEMON Sat Jul 09 03:56:56 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrACk-0002Ss-KL
	for mharc-classpath@gnu.org; Sat, 09 Jul 2005 03:56:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrACY-0002Qp-Ki
	for classpath@gnu.org; Sat, 09 Jul 2005 03:56:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrACV-0002Q0-0d
	for classpath@gnu.org; Sat, 09 Jul 2005 03:56:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DrACS-0002Or-8R
	for classpath@gnu.org; Sat, 09 Jul 2005 03:56:38 -0400
Received: from [212.6.122.16] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrAGm-00047H-6U
	for classpath@gnu.org; Sat, 09 Jul 2005 04:01:04 -0400
Received: from asterix.konqueror.de (dynadsl-080-228-200-156.ewetel.net
	[80.228.200.156])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id j697r3pZ001655;
	Sat, 9 Jul 2005 09:53:04 +0200 (MEST)
Received: from mkoch by asterix.konqueror.de with local (Exim 4.50)
	id 1Dr9MY-0004T5-Uh; Sat, 09 Jul 2005 09:02:58 +0200
Date: Sat, 9 Jul 2005 09:02:58 +0200
From: Michael Koch <konqueror@gmx.de>
To: Martin Kauss <bishoph@open-xchange.org>
Message-ID: <20050709070258.GE7201@asterix.konqueror.de>
Mail-Followup-To: Martin Kauss <bishoph@open-xchange.org>,
	For developers <devel@open-xchange.org>,
	Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>
References: <42CE7183.4010606@randomink.org>
	<3454753.1120860319026.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3454753.1120860319026.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
User-Agent: mutt-ng devel-r308 (Debian)
X-CheckCompat: OK
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>, For developers <devel@open-xchange.org>
Subject: Re: [OX Devel] Compiling OpenExchange with gcj and classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Jul 2005 07:56:47 -0000

On Sat, Jul 09, 2005 at 12:05:18AM +0200, Martin Kauss wrote:
> On Jul 08, 2005 02:28 PM, Soumyadip Modak <soumyadip@randomink.org> wrote:
> 
> > Hello,
> > Recently I've been looking at OpenExchange on Fedora Core 4. I was 
> > hoping to utilise FC4's extensive free Java tools to build OX. OX 
> > configure script didn't thorw up any problems but make failed witha lot 
> > of errors. Can anyone please guide me how to rectify these problems to 
> > get a completely free groupware solution ?
> > 
> > Errors :
> > 
> > Making all in javabuild
> > make[1]: Entering directory `/root/open-xchange-0.8.0-3/javabuild'
> > /usr/bin/ant -f ../build.xml
> > Buildfile: ../build.xml
> > 
> > init:
> > 
> > compilewebdav:
> >     [javac] Compiling 14 source files to /root/open-xchange-0.8.0-3/build
> >     [javac] ----------
> >     [javac] 1. WARNING in 
> > /root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactInsEdit.java
> >     [javac]  (at line 96)
> >     [javac]     import com.openexchange.tools.encoding.Base64;
> >     [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >     [javac] The import com.openexchange.tools.encoding.Base64 is never used
> >     [javac] ----------
> >     [javac] ----------
> 
> 
> [REMOVED LOTS OF ERROR MESSAGES]
>  
> 
> >     [javac]  (at line 53)
> >     [javac]     public class OXFolderPermissionException extends Throwable {
> >     [javac]                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >     [javac] The serializable class OXFolderPermissionException does not 
> > declare a static final serialVersionUID field of type long
> >     [javac] ----------
> >     [javac] 120 problems (84 errors, 36 warnings)
> > 
> > Sorry for flooding.
> > 
> > Thanks
> > 
> > Soumyadip Modak 
> > soumyadip@randomink.org
> > soumyadip.modak@gmail.com
> > http://www.randomink.org/soumyadip
> > 
> 
> 
> Hi,
> 
> the configure just checks the system dependencies to
> build the system. The needed libraries are not checked
> until the compile process, JFYI.
> 
> The questions was asked some month ago for a Debian
> package as well. I tried to build Open-Xchange some
> time ago with GNU Classpath, but specially for mail,
> necessary methods and functions are just missing.
> 
> We are just providing a collaboration framework and
> that is our focus. This means, if the functionality
> is covered by any other package than Sun's Javamail
> package one can build OX with this packages.
> 
> Currently - AFAIK - this is not possible.
> 
> The other question is what you mean with
> "extensive free Java tools" ... for some
> ppl. also packages offered by Sun/IBM/Bea are "free" ...

You mean "free" as in "free beer" but we would like to use software
that is "free" as in "freedom".


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

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



From MAILER-DAEMON Sat Jul 09 03:56:59 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrACn-0002TI-3C
	for mharc-classpath@gnu.org; Sat, 09 Jul 2005 03:56:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrACb-0002RL-9Z
	for classpath@gnu.org; Sat, 09 Jul 2005 03:56:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrACW-0002QH-3A
	for classpath@gnu.org; Sat, 09 Jul 2005 03:56:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DrACU-0002Or-Te
	for classpath@gnu.org; Sat, 09 Jul 2005 03:56:39 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrAGJ-00046g-G9
	for classpath@gnu.org; Sat, 09 Jul 2005 04:00:35 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Sat, 9 Jul 2005 09:53:25 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAE75@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Brief implementation question about the exception code.
Thread-Index: AcWEWE56B1qhY1O7Rd2vYp+0972nVAAAmfZA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <audriusa@bluewin.ch>,
	<classpath@gnu.org>
Cc: 
Subject: RE: Brief implementation question about the exception code.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Jul 2005 07:56:47 -0000

Meskauskas Audrius wrote:
> When the CORBA server POA is temporary deactivated (discarding mode),=20
> the client receives remote exception org.omg.CORBA.TRANSIENT.=20
> One of the fields in this exception is the integer "minor error code".
> My OMG document (March  2004) clearly states that the value of that=20
> field must be 1. From my previous experience, the Suns implementation=20
> always throws this exception with this field set to value 1398080489=20
> (0x535503e9) that can be decoded as  "An exception code, specific to
> Sun's implementation, number 1001".
>=20
> Any ideas about which error code should we return?

The question I usually use to try to figure these things out is: "Would
Sun fix this if it was reported as a bug?"

If they wouldn't fix it, we should be compatible with their
implementation instead of the spec.

I know too little about CORBA to answer the question in this case, but
maybe it is helpful for you to decide what to do.

Regards,
Jeroen



From MAILER-DAEMON Sat Jul 09 03:56:54 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrACj-0002Sh-4q
	for mharc-classpath@gnu.org; Sat, 09 Jul 2005 03:56:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrACY-0002Qm-JU
	for classpath@gnu.org; Sat, 09 Jul 2005 03:56:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrACS-0002Pf-7N
	for classpath@gnu.org; Sat, 09 Jul 2005 03:56:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DrACQ-0002Or-93
	for classpath@gnu.org; Sat, 09 Jul 2005 03:56:35 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrAHL-00049I-FW
	for classpath@gnu.org; Sat, 09 Jul 2005 04:01:39 -0400
Received: from dog by dinopsis.arachsys.com with local (Exim 3.35 #1)
	id 1DrAAN-0007Km-00; Sat, 09 Jul 2005 08:54:27 +0100
Date: Sat, 9 Jul 2005 08:54:27 +0100
From: Chris Burdess <dog@bluezoo.org>
To: Martin Kauss <bishoph@open-xchange.org>
Message-ID: <20050709075427.GA24894@bluezoo.org>
Mail-Followup-To: Martin Kauss <bishoph@open-xchange.org>,
	For developers <devel@open-xchange.org>,
	Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
User-Agent: Mutt/1.3.28i
X-URL: http://www.bluezoo.org/
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>, For developers <devel@open-xchange.org>
Subject: Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 07:56:47 -0000

Martin Kauss wrote:
> > So what I understand is this: (Correct me if I'm wrong)
> > 1. Problems with servlets are solvable with free Java tools, and these 
> > are not major showstoppers
> 
> I am not aware of any servlet issues at all, tomcat for example
> should provide all necessary libraries.

GNU provides the servlet API 2.4:

  cvs -d anoncvs@savannah.gnu.org:/cvsroot/classpathx co servletapi

If a package is needed I can make one.

> > 3. Main problem is that the free Javamail does not implement some 
> > methods that are needed by OX.
> 
> Correct. 

I haven't heard any issues raised on classpathx-javamail@gnu.org or
submitted as bugs or patches at

  http://savannah.gnu.org/projects/classpathx

GNU JavaMail provides all the API methods provided by the JavaMail API.
If OX depends on com.sun APIs or on undocumented session properties,
this is an issue for OX to resolve. If there is functionality you want
exposing, there should be no problem, but you have to let us know.

> Finally i would like to mention that Sun do a great Job for Javamail
> with the mail protocol support and with the supported mail servers
> and IMHO it will not be easy to get to the same functionality.

GNU JavaMail doesn't explicitly support servers, it implements the
published standards. Sun's implementation supports 3 providers
(IMAP4, POP3, SMTP). GNU JavaMail supports 6 providers (IMAP4rev1, POP3,
SMTP, NNTP, mbox, Maildir) and we had SASL and STARTTLS support long
before Sun. Arguably we provide considerably more functionality.
-- 
Chris Burdess



From MAILER-DAEMON Sat Jul 09 04:55:30 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrB7O-0003xr-SL
	for mharc-classpath@gnu.org; Sat, 09 Jul 2005 04:55:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrB7F-0003ud-9v
	for classpath@gnu.org; Sat, 09 Jul 2005 04:55:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrB7A-0003rY-7c
	for classpath@gnu.org; Sat, 09 Jul 2005 04:55:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DrB78-0003qm-2P
	for classpath@gnu.org; Sat, 09 Jul 2005 04:55:10 -0400
Received: from [195.186.18.61] (helo=mail11.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrB9u-0006kC-Rr
	for classpath@gnu.org; Sat, 09 Jul 2005 04:58:03 -0400
Received: from [127.0.0.1] (81.63.115.141) by mail11.bluewin.ch (Bluewin
	7.2.060.1) id 42CA2FD3000D2206 for classpath@gnu.org;
	Sat, 9 Jul 2005 08:50:52 +0000
Message-ID: <42CF8FF1.3010204@bluewin.ch>
Date: Sat, 09 Jul 2005 10:50:57 +0200
From: Meskauskas Audrius <audriusa@bluewin.ch>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "classpath@gnu.org" <classpath@gnu.org>
References: <D92197D0A6547B44A1567814F851FA680CAE75@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CAE75@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: Brief implementation question about the exception code.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: audriusa@bluewin.ch
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Jul 2005 08:55:21 -0000



Jeroen Frijters wrote:

>Meskauskas Audrius wrote:
>  
>
>>When the CORBA server POA is temporary deactivated (discarding mode), 
>>the client receives remote exception org.omg.CORBA.TRANSIENT. 
>>One of the fields in this exception is the integer "minor error code".
>>My OMG document (March  2004) clearly states that the value of that 
>>field must be 1. From my previous experience, the Suns implementation 
>>always throws this exception with this field set to value 1398080489 
>>(0x535503e9) that can be decoded as  "An exception code, specific to
>>Sun's implementation, number 1001"
>>
>If they wouldn't fix it, we should be compatible with their
>implementation instead of the spec.
>
>
>  
>
I have submitted them two bugs (same problem with OBJ_ADAPTER for the
permanently deactivated POA) and added specnotes. The immediate release
wil throw the Suns minor codes. If they correct, I will fix them back.




From MAILER-DAEMON Sat Jul 09 14:47:21 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrKIL-0001d6-Tz
	for mharc-classpath@gnu.org; Sat, 09 Jul 2005 14:43:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrKIB-0001Yb-Mc
	for classpath@gnu.org; Sat, 09 Jul 2005 14:43:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrKI0-0001Sm-QM
	for classpath@gnu.org; Sat, 09 Jul 2005 14:43:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DrKI0-0001Na-IS
	for classpath@gnu.org; Sat, 09 Jul 2005 14:43:00 -0400
Received: from [66.98.208.95] (helo=server1.t35.net)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DrKDM-00054a-Sn
	for classpath@gnu.org; Sat, 09 Jul 2005 14:38:13 -0400
Received: from [59.93.160.171] (helo=[59.93.160.171])
	by server1.t35.net with esmtpa (Exim 4.51)
	id 1DrK6F-0004wQ-Eo; Sat, 09 Jul 2005 14:30:51 -0400
Message-ID: <42D01818.4040008@randomink.org>
Date: Sun, 10 Jul 2005 00:01:52 +0530
From: Soumyadip Modak <soumyadip@randomink.org>
User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: fedora-devel-java-list@redhat.com, OpenExchange <devel@open-xchange.org>,
	Classpath <classpath@gnu.org>
References: <20050709160051.7D4CC744BB@hormel.redhat.com>
In-Reply-To: <20050709160051.7D4CC744BB@hormel.redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - server1.t35.net
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - randomink.org
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Cc: 
Subject: Re: Compiling OpenExchange with gcj and classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Jul 2005 18:43:17 -0000

Martin Kauss wrote:
>Hi,
>
>first of all i want to state that i do not want to start
>a discussion like vi/emacs, linux/windows or something
>similar. For us, freedom of choice is importend and if the
>classpath project fits the needs - it is just fine.
>
>Only one statement i want to clarify:
>I wrote that the Javamail API supports servers - maybe i should
>say that it has been tested against several servers 
>(like mentioned in the notes, >http://java.sun.com/products/javamail/NOTES13.txt).
>
>
>I will discuss the issue of "undocumented" calls at the beginning of >the next week with our developer team and i will check again the >classpath API because - like i wrote - i tested some month ago and
>at this time some methods were not included. I want to be up-to-date.
>
>Please be patient until we have investigated the details.

Hey that's great news. I'm certainly looking forward to getting OX to compile with GNU Classpath. 

Maybe, if it's impractical to get OX to support Classpath completely right now, we could have a set of patches, separate from the main OX code, which would enable us to build OX with Classpath ? It's seems to me that some code in OX might be have to be changed to do this, so this suggestion.

Looking forward to all the responses

Thanks a lot

-- 
Soumyadip Modak
soumyadip.modak@gmail.com
soumyadip@randomink.org
http://www.randomink.org/soumyadip




From MAILER-DAEMON Sat Jul 09 15:24:03 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrKvf-0000b8-JU
	for mharc-classpath@gnu.org; Sat, 09 Jul 2005 15:23:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrKva-0000YT-4o
	for classpath@gnu.org; Sat, 09 Jul 2005 15:23:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrKvR-0000Tx-01
	for classpath@gnu.org; Sat, 09 Jul 2005 15:23:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DrKvQ-0000Qp-In
	for classpath@gnu.org; Sat, 09 Jul 2005 15:23:44 -0400
Received: from [209.225.28.204] (helo=mxsf04.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrKfo-00076G-KL
	for classpath@gnu.org; Sat, 09 Jul 2005 15:07:36 -0400
Received: from mxip19a.cluster1.charter.net (mxip19a.cluster1.charter.net
	[209.225.28.149])
	by mxsf04.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	j69J0Fdf012881
	for <classpath@gnu.org>; Sat, 9 Jul 2005 15:00:17 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.105.219)
	by mxip19a.cluster1.charter.net with ESMTP; 09 Jul 2005 15:00:15 -0400
X-IronPort-AV: i="3.93,276,1115006400"; 
	d="scan'208"; a="1272334482:sNHT18284016"
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 NAA83218
	for <classpath@gnu.org>; Sat, 9 Jul 2005 13:49:09 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j69In76v003985
	for <classpath@gnu.org>; Sat, 9 Jul 2005 13:49:07 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42D01C23.6030805@dellroad.org>
Date: Sat, 09 Jul 2005 13:49:07 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <42CC8A63.7080902@awarix.com>
In-Reply-To: <42CC8A63.7080902@awarix.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: JNI assertion failure
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 Jul 2005 19:23:56 -0000

Archie Cobbs wrote:
> With Classpath 0.16, trying to run a very simple Swing demo under JCVM,
> I get a JNI assertion failure in a call to GetIntField(), because the 
> object
> type and the fieldID are not compatible:
> 
>    gnu/java/awt/peer/gtk/GdkGraphics@0x85e0308 not instance of 
> gnu/java/awt/peer/gtk/GtkGenericPeer
> 
> Here is the relevant stack trace snippet:
> 
> #7  0x29f862d7 in 
> Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__Lgnu_java_awt_peer_gtk_GtkComponentPeer_2 
> (env=0x107ed6a0, obj=0x29795698, peer=0x2979569c)
>     at gnu_java_awt_peer_gtk_GdkGraphics.c:154

Hmm, no response.. can anyone else confirm this problem??

It looks like this code is completely broken, because
it's trying to save a pointer in a field that doesn't
exist. Line 154 of gnu_java_awt_peer_gtk_GdkGraphics.c says:

   NSA_SET_PTR (env, obj, g)

but "obj" is a gnu/java/awt/peer/gtk/GdkGraphics object, not
a gnu/java/awt/peer/gtk/GtkGenericPeer object, the class that
contains the "native_state" field.

I'm not familiar with this code so I could be completely
misunderstanding something. But it seems obviously wrong,
and on VM's that don't check proper JNI usage will result
in random memory corruption.

I'd appreciate a quick confirmation from another set of eyes...

Thanks,
-Archie

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



From MAILER-DAEMON Sat Jul 09 16:39:19 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrLui-0005zk-5d
	for mharc-classpath@gnu.org; Sat, 09 Jul 2005 16:27:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrLuV-0005u4-D8
	for classpath@gnu.org; Sat, 09 Jul 2005 16:26:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrLuI-0005ji-PT
	for classpath@gnu.org; Sat, 09 Jul 2005 16:26:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DrLuE-0005fb-Ew
	for classpath@gnu.org; Sat, 09 Jul 2005 16:26:34 -0400
Received: from [209.225.28.211] (helo=mxsf11.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrLqG-0001sh-CG
	for classpath@gnu.org; Sat, 09 Jul 2005 16:22:28 -0400
Received: from mxip11a.cluster1.charter.net (mxip11a.cluster1.charter.net
	[209.225.28.141])
	by mxsf11.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	j69KFE7f002043
	for <classpath@gnu.org>; Sat, 9 Jul 2005 16:15:14 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.105.219)
	by mxip11a.cluster1.charter.net with ESMTP; 09 Jul 2005 16:15:14 -0400
X-IronPort-AV: i="3.93,276,1115006400"; 
	d="scan'208"; a="1275849530:sNHT19735212"
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 PAA84317
	for <classpath@gnu.org>; Sat, 9 Jul 2005 15:14:16 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j69KEEA4060810
	for <classpath@gnu.org>; Sat, 9 Jul 2005 15:14:15 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42D03016.1080506@dellroad.org>
Date: Sat, 09 Jul 2005 15:14:14 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
Content-Type: multipart/mixed; boundary="------------080104050807060704010805"
Subject: Fix for java/net/URLClassLoader
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 Jul 2005 20:26:58 -0000

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

This patch (checked in) fixes two Mauve tests and removes some
obsolete code.

     2005-07-09  Archie Cobbs  <archie@dellroad.org>

        * java/net/URLClassLoader.java: disallow directories as resources

-Archie

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

--------------080104050807060704010805
Content-Type: text/plain;
 name="URLClassLoader.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="URLClassLoader.patch"

--- java/net/URLClassLoader.java.orig	2005-07-09 15:07:42.000000000 -0500
+++ java/net/URLClassLoader.java	2005-07-09 15:06:06.000000000 -0500
@@ -536,7 +536,7 @@
     Resource getResource(String name)
     {
       File file = new File(dir, name);
-      if (file.exists())
+      if (file.exists() && !file.isDirectory())
         return new FileResource(this, name, file);
       return null;
     }
@@ -554,36 +554,11 @@
 
     InputStream getInputStream() throws IOException
     {
-      // Delegate to the URL content handler mechanism to retrieve an
-      // HTML representation of the directory listing if a directory
-      if (file.isDirectory())
-        {
-          URL url = getURL();
-          return url.openStream();
-        }
-      // Otherwise simply return a FileInputStream
       return new FileInputStream(file);
     }
 
     public int getLength()
     {
-      // Delegate to the URL content handler mechanism to retrieve the
-      // length of the HTML representation of the directory listing if
-      // a directory, or -1 if an exception occurs opening the directory.
-      if (file.isDirectory())
-        {
-          URL url = getURL();
-          try
-            {
-              URLConnection connection = url.openConnection();
-              return connection.getContentLength();
-            }
-          catch (IOException e)
-            {
-              return -1;
-            }
-        }
-      // Otherwise simply return the file length
       return (int) file.length();
     }
 

--------------080104050807060704010805--



From MAILER-DAEMON Sun Jul 10 05:24:03 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrY2c-0005VP-MF
	for mharc-classpath@gnu.org; Sun, 10 Jul 2005 05:24:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrY2Y-0005Sv-Fy
	for classpath@gnu.org; Sun, 10 Jul 2005 05:23:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrY2O-0005N3-HS
	for classpath@gnu.org; Sun, 10 Jul 2005 05:23:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DrY2L-0005F1-PN; Sun, 10 Jul 2005 05:23:45 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DrXu9-0000Yi-Nd; Sun, 10 Jul 2005 05:15:17 -0400
Received: from dog by dinopsis.arachsys.com with local (Exim 3.35 #1)
	id 1DrXn1-0007Ju-00; Sun, 10 Jul 2005 10:07:55 +0100
Date: Sun, 10 Jul 2005 10:07:55 +0100
From: Chris Burdess <dog@bluezoo.org>
To: classpath@gnu.org, classpathx-xml@gnu.org
Message-ID: <20050710090755.GA27949@bluezoo.org>
Mail-Followup-To: classpath@gnu.org, classpathx-xml@gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-URL: http://www.bluezoo.org/
Cc: 
Subject: Conformance page for GNU JAXP XSL transformer
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 Jul 2005 09:24:00 -0000

I've resurrected the XSLT conformance status page (Julian Scheid used to
host it but needed to make some space).

  http://www.zen60362.zen.co.uk/xslt/

Green is a pass, yellow is a fail, red is an error (sometimes fatal e.g.
StackOverflowError). Stats are at the bottom of the results page.

These are only the Xalan conformance tests, the Microsoft ones are much
more complicated to run and diff against.

For comparison, here are the overall results for Xalan:

Total: 1670 Successes: 1624 Failures: 38 Errors: 8 Average transform
time: 57ms Conformance: 97.2455084323883%

As you can see we are a LOT faster, but there are still lots of failing
tests. Most of them are because we don't produce exactly the same output
as Xalan. I'm using the Python xmldiff tool to compute the diffs, and
it's not quite as intelligent as it could be. Some examples:

- differences in namespace prefixes (not significant in XML)
- unused declared namespaces (we don't output namespace declarations
  that aren't used)
- differences in character entity representations (e.g. &#xd; != &#13;)

Also we follow the XSLT spec rigorously by outputting a meta http-equiv
element with the charset for all html output, which Xalan doesn't do
under some circumstances (notably all-ASCII content).

If anyone is interested in helping me hack on this, please let me know.
-- 
Chris Burdess



From MAILER-DAEMON Sun Jul 10 06:54:03 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrZRh-0004hN-CP
	for mharc-classpath@gnu.org; Sun, 10 Jul 2005 06:54:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrZRd-0004eV-PU
	for classpath@gnu.org; Sun, 10 Jul 2005 06:53:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrZRZ-0004bo-Av
	for classpath@gnu.org; Sun, 10 Jul 2005 06:53:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DrZRY-0004TJ-D6
	for classpath@gnu.org; Sun, 10 Jul 2005 06:53:52 -0400
Received: from [217.123.137.115] (helo=namlook.thomas.planescape.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrZX5-0004lQ-D8
	for classpath@gnu.org; Sun, 10 Jul 2005 06:59:35 -0400
Received: from [192.168.0.253] (helo=[192.168.0.253] ident=zander)
	by namlook.thomas.planescape.com with esmtp (Exim 3.35 #1 (Debian))
	id 1DrZQQ-0004le-00
	for <classpath@gnu.org>; Sun, 10 Jul 2005 12:52:42 +0200
From: Thomas Zander <zander@kde.org>
To: classpath@gnu.org
Date: Sun, 10 Jul 2005 12:51:17 +0200
User-Agent: KMail/1.8.50
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200507101251.18375.zander@kde.org>
Subject: My applet on 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 Jul 2005 10:53:59 -0000

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

Hi all.

I wrote a little application that uses AWT and is probably a nice demo for 
classpath as soon as it works.
Well, it _probably_ works already but I don't have a browser that can use 
free jvms.  Konqueror seems to still have problems with jamvm (the only 
jvm I have installed).

So, can anyone check how well the applet works on a free JVM? If it works 
then this might be a nice demo for classpath :-)

Note that it fetched png images from a remote http site; by using the 
a-sync process that the applet API proposes.
If you run the tool standalone it uses imageIO instead.  Due to a non 
working imageIO SDI this does not work in classpath (yet).
So, I'm mostly concerned in finding out how well the applet works.

Applet is at:
http://ktown.kde.org/~endres/worldwide/example.html
pending moving to http://worldwide.kde.org

Sourcecode of my tool (GPL) can be downloaded using the excellent darcs:
darcs get --partial http://members.home.nl/zander/worldwide


Oh; for the paranoia gnome people (who obviously read this in the 
archives, since they are not on this list), go ahead and make one with 
the gnome database, its free software afterall :-)  Just show respect and 
mention my name, please.
- -- 
Thomas Zander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFC0P2mCojCW6H2z/QRAgYYAJ4jV4712zVkMkixff4j4zg1MzxUbQCdFoxe
N/nISP0SOfHzkn0MfytK0oo=
=0Lkm
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sun Jul 10 14:15:25 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrgKr-0003Jd-E8
	for mharc-classpath@gnu.org; Sun, 10 Jul 2005 14:15:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrDW9-0006y6-LZ
	for classpath@gnu.org; Sat, 09 Jul 2005 07:29:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrDW5-0006xB-Db
	for classpath@gnu.org; Sat, 09 Jul 2005 07:29:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DrDW3-0006qN-5Z
	for classpath@gnu.org; Sat, 09 Jul 2005 07:29:04 -0400
Received: from [62.225.134.190] (helo=netline.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DrDVR-0006DV-1R
	for classpath@gnu.org; Sat, 09 Jul 2005 07:28:25 -0400
Received: from [192.168.32.7] (helo=netline.netline-is.de)
	by netline.de with esmtp (Exim)
	id 1DrDG5-00051K-00; Sat, 09 Jul 2005 13:12:33 +0200
Received: by netline.netline-is.de (Postfix, from userid 65534)
	id 2C1C3B9D80; Sat,  9 Jul 2005 13:21:14 +0200 (CEST)
Received: from ox.netline-is.de (localhost [127.0.0.1])
	by netline.netline-is.de (Postfix) with ESMTP
	id 4AA4CB9D43; Sat,  9 Jul 2005 13:21:08 +0200 (CEST)
Message-ID: <6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
Date: Sat, 9 Jul 2005 13:21:08 +0200 (CEST)
From: Martin Kauss <bishoph@open-xchange.org>
To: For developers <devel@open-xchange.org>
In-Reply-To: <20050709075427.GA24894@bluezoo.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Priority: 3 (normal)
X-Mailer: OPEN-XCHANGE 0.8.0 - WebMail
Organization: Netline Internet Service GmbH  
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<20050709075427.GA24894@bluezoo.org>
X-Scanner: exiscan *1DrDG5-00051K-00*GdELlHtFhkw*
	http://duncanthrax.net/exiscan/
X-Mailman-Approved-At: Sun, 10 Jul 2005 14:15:24 -0400
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>
Subject: Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 11:29:11 -0000

On Jul 09, 2005 09:54 AM, Chris Burdess <dog@bluezoo.org> wrote:

> Martin Kauss wrote:
> > > So what I understand is this: (Correct me if I'm wrong)
> > > 1. Problems with servlets are solvable with free Java tools, and these 
> > > are not major showstoppers
> > 
> > I am not aware of any servlet issues at all, tomcat for example
> > should provide all necessary libraries.
> 
> GNU provides the servlet API 2.4:
> 
>   cvs -d anoncvs@savannah.gnu.org:/cvsroot/classpathx co servletapi
> 
> If a package is needed I can make one.
> 
> > > 3. Main problem is that the free Javamail does not implement some 
> > > methods that are needed by OX.
> > 
> > Correct. 
> 
> I haven't heard any issues raised on classpathx-javamail@gnu.org or
> submitted as bugs or patches at
> 
>   http://savannah.gnu.org/projects/classpathx
> 
> GNU JavaMail provides all the API methods provided by the JavaMail API.
> If OX depends on com.sun APIs or on undocumented session properties,
> this is an issue for OX to resolve. If there is functionality you want
> exposing, there should be no problem, but you have to let us know.
> 
> > Finally i would like to mention that Sun do a great Job for Javamail
> > with the mail protocol support and with the supported mail servers
> > and IMHO it will not be easy to get to the same functionality.
> 
> GNU JavaMail doesn't explicitly support servers, it implements the
> published standards. Sun's implementation supports 3 providers
> (IMAP4, POP3, SMTP). GNU JavaMail supports 6 providers (IMAP4rev1, POP3,
> SMTP, NNTP, mbox, Maildir) and we had SASL and STARTTLS support long
> before Sun. Arguably we provide considerably more functionality.
> -- 
> Chris Burdess
> 


Hi,

first of all i want to state that i do not want to start
a discussion like vi/emacs, linux/windows or something
similar. For us, freedom of choice is importend and if the
classpath project fits the needs - it is just fine.

Only one statement i want to clarify:
I wrote that the Javamail API supports servers - maybe i should
say that it has been tested against several servers 
(like mentioned in the notes, http://java.sun.com/products/javamail/NOTES13.txt).


I will discuss the issue of "undocumented" calls at the beginning of the next
week with our developer team and i will check again the classpath
API because - like i wrote - i tested some month ago and
at this time some methods were not included. I want to be up-to-date.

Please be patient until we have investigated the details.


Best regards,

Martin Kauss








From MAILER-DAEMON Mon Jul 11 07:58:55 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DrwuV-00047Y-AS
	for mharc-classpath@gnu.org; Mon, 11 Jul 2005 07:57:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DrwtR-0003qX-PS
	for classpath@gnu.org; Mon, 11 Jul 2005 07:56:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DrwtL-0003lm-2i
	for classpath@gnu.org; Mon, 11 Jul 2005 07:56:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DrwtK-0003lc-T8
	for classpath@gnu.org; Mon, 11 Jul 2005 07:56:06 -0400
Received: from [32.97.182.143] (helo=e3.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Drwyw-0000Df-CV
	for classpath@gnu.org; Mon, 11 Jul 2005 08:01:54 -0400
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e3.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6BBsFIA018388
	for <classpath@gnu.org>; Mon, 11 Jul 2005 07:54:15 -0400
Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id
	j6BBsFwY235380
	for <classpath@gnu.org>; Mon, 11 Jul 2005 07:54:15 -0400
Received: from d01av02.pok.ibm.com (loopback [127.0.0.1])
	by d01av02.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6BBsFaS001244
	for <classpath@gnu.org>; Mon, 11 Jul 2005 07:54:15 -0400
Received: from [9.2.112.16] (d01mlwt1.watson.ibm.com [9.2.112.16])
	by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6BBsFiX001232
	for <classpath@gnu.org>; Mon, 11 Jul 2005 07:54:15 -0400
To: classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.1IBM2 August 03, 2004
From: David P Grove <groved@us.ibm.com>
Message-ID: <OFF3EC224F.41FA9C8E-ON8525703B.0041081E-8525703B.0041602A@us.ibm.com>
Date: Mon, 11 Jul 2005 07:54:20 -0400
X-MIMETrack: Serialize by Router on D01MLWT1/01/M/IBM(Build V70_M6_06302005
	Beta 4NP|June 30, 2005) at 07/11/2005 07:54:22,
	Serialize complete at 07/11/2005 07:54:22
Content-Type: text/plain; charset="US-ASCII"
Subject: regression in logger?
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 Jul 2005 11:56:19 -0000

This started showing up in regression tests of Jikes RVM with classpath 
cvs head recently.  I haven't dug deeply, so it could be a latent problem 
in Jikes RVM that was exposed by a classpath change, rather than a real 
classpath bug, but might still be worth mentioning.  The failing program 
is SPECjbb2000.

--dave

Exception in thread "main": java.lang.ArrayIndexOutOfBoundsException: 
Array index out of range: 0
        at java.util.logging.Logger.getCallerStackFrame(Logger.java:1173)
        at java.util.logging.Logger.log(Logger.java:614)
        at 
gnu.java.security.x509.X509Certificate.<init>(X509Certificate.java:175)
        at 
gnu.java.security.provider.X509CertificateFactory.generateCert(X509CertificateFactory.java:242)
        at 
gnu.java.security.provider.X509CertificateFactory.engineGenerateCertificate(X509CertificateFactory.java:89)
        at 
java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:232)
        at 
gnu.java.security.pkcs.PKCS7SignedData.<init>(PKCS7SignedData.java:272)
        at 
gnu.java.security.pkcs.PKCS7SignedData.<init>(PKCS7SignedData.java:97)
        at java.util.jar.JarFile.readSignatures(JarFile.java:523)
        at java.util.jar.JarFile.getEntry(JarFile.java:414)
        at java.util.jar.JarFile.getJarEntry(JarFile.java:482)
        at 
java.net.URLClassLoader$JarURLLoader.getResource(URLClassLoader.java:366)
        at 
java.net.URLClassLoader.findURLResource(URLClassLoader.java:965)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:814)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
        at 
com.ibm.JikesRVM.classloader.VM_TypeReference.resolve(VM_TypeReference.java:525)



From MAILER-DAEMON Mon Jul 11 11:15:54 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ds00d-0006X1-NV
	for mharc-classpath@gnu.org; Mon, 11 Jul 2005 11:15:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Ds00a-0006Uh-La
	for classpath@gnu.org; Mon, 11 Jul 2005 11:15:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Ds00V-0006SF-Na
	for classpath@gnu.org; Mon, 11 Jul 2005 11:15:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ds00V-0006Ry-Ip
	for classpath@gnu.org; Mon, 11 Jul 2005 11:15:43 -0400
Received: from [207.203.41.67] (helo=zixvpm01.stv.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ds062-0000go-CP
	for classpath@gnu.org; Mon, 11 Jul 2005 11:21:26 -0400
Received: from zixvpm01.stv.org (ZixVPM [127.0.0.1])
	by Outbound.stv.org (Proprietary) with ESMTP id 8B8791300A6
	for <classpath@gnu.org>; Mon, 11 Jul 2005 10:14:13 -0500 (CDT)
Received: from STVAVAPPL1.BHMSTV (unknown [10.104.14.2])
	by zixvpm01.stv.org (Proprietary) with SMTP
	id 561B0190002; Mon, 11 Jul 2005 10:14:13 -0500 (CDT)
Received: from unknown(10.104.145.22) by STVAVAPPL1.BHMSTV via csmap 
	id 65fccdb4_f21b_11d9_9944_00304811e8c8_2633;
	Mon, 11 Jul 2005 09:52:27 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6BFD632000763;
	Mon, 11 Jul 2005 10:13:07 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42D28C81.1040300@dellroad.org>
Date: Mon, 11 Jul 2005 10:13:05 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David P Grove <groved@us.ibm.com>
References: <OFF3EC224F.41FA9C8E-ON8525703B.0041081E-8525703B.0041602A@us.ibm.com>
In-Reply-To: <OFF3EC224F.41FA9C8E-ON8525703B.0041081E-8525703B.0041602A@us.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: regression in logger?
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 Jul 2005 15:15:49 -0000

David P Grove wrote:
 > This started showing up in regression tests of Jikes RVM with classpath
 > cvs head recently.  I haven't dug deeply, so it could be a latent problem
 > in Jikes RVM that was exposed by a classpath change, rather than a real
 > classpath bug, but might still be worth mentioning.  The failing program
 > is SPECjbb2000.
 >
 > --dave
 >
 > Exception in thread "main": java.lang.ArrayIndexOutOfBoundsException:
 > Array index out of range: 0
 >         at java.util.logging.Logger.getCallerStackFrame(Logger.java:1173)

Looks like this can only happen if the VM doesn't return Throwable stack
traces. Is this with 0.16? There were recent changes in the VMThrowable
class (see NEWS) that might need to be followed in Jikes RVM.

-Archie

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



From MAILER-DAEMON Mon Jul 11 19:33:36 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ds7mK-0001ww-Rm
	for mharc-classpath@gnu.org; Mon, 11 Jul 2005 19:33:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Ds7mI-0001v8-31
	for classpath@gnu.org; Mon, 11 Jul 2005 19:33:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Ds7mG-0001st-6n
	for classpath@gnu.org; Mon, 11 Jul 2005 19:33:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ds7gE-0000IZ-HP
	for classpath@gnu.org; Mon, 11 Jul 2005 19:27:18 -0400
Received: from [210.86.15.118] (helo=mta207-rme.xtra.co.nz)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ds7Q8-0000jm-33
	for classpath@gnu.org; Mon, 11 Jul 2005 19:10:40 -0400
Received: from mta1-rme.xtra.co.nz ([210.86.15.240])
	by mta207-rme.xtra.co.nz with ESMTP
	id <20050711230255.TVPT2946.mta207-rme.xtra.co.nz@mta1-rme.xtra.co.nz>
	for <classpath@gnu.org>; Tue, 12 Jul 2005 11:02:55 +1200
Received: from [10.1.1.9] ([210.86.108.119]) by mta1-rme.xtra.co.nz with ESMTP
	id <20050711230255.UBF7290.mta1-rme.xtra.co.nz@[10.1.1.9]>
	for <classpath@gnu.org>; Tue, 12 Jul 2005 11:02:55 +1200
From: Simon Kitching <skitching@apache.org>
To: classpath@gnu.org
Content-Type: text/plain
Date: Tue, 12 Jul 2005 11:02:55 +1200
Message-Id: <1121122975.4621.107.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
Subject: String.equals optimisation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: skitching@apache.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: Mon, 11 Jul 2005 23:33:34 -0000

Hi,

I think the performance of String.equals could be improved.

Currently:
  public boolean equals(Object anObject)
  {
    if (! (anObject instanceof String))
      return false;
    String str2 = (String) anObject;
    if (count != str2.count)
      return false;
    if (value == str2.value && offset == str2.offset)
      return true;
    ...

I would suggest testing for object identity first:
  public boolean equals(Object anObject)
  {
    if (this == anObject)
      return true;

  }

In the case of something like:
  if (someClass.getName().equals("example.MyClass")
the current code does:
  check instanceof
  verify cast
  access count members of both objects [1]
  access value field of both objects
  access offset field of both objects
  return true [2]
when all it actually needs to do is: [3]
  compare references
  return true

[1] affecting CPU cache, and possibly triggering a memory fault
[2] at least the value arrays aren't scanned...
[3] both strings have been interned as described below

Yes, this does assume that comparing two strings with the same identity
occurs reasonably frequently. However I believe this is indeed the case.
Many strings are interned automatically:
* the java spec requires that all literals in classes
  be interned (See javadoc for String.intern and section 3.10.5 of the
  java language spec)
* Class.getName returns strings that have been interned. I don't
  think this is explicitly required by the java specs but is
  certainly true for Sun's JVM and seems likely to be done by
  any sensible JVM.

And strings can be explicitly interned in code via String.intern.

And passing around references to strings then ending up comparing the
string to its original value is fairly common, eg
  if (theValue.equals(Foo.SOME_CONSTANT)) {...}

It would certainly be nice to know that collection methods will
automatically work more efficiently when the objects being manipulated
are String objects that have been interned (of course String.intern has
to be used appropriately).


----

Another possible optimisation would be:
  public boolean equals(Object anObject)
  {
    if (! (anObject instanceof String))
      return false;
    String str2 = (String) anObject;

    // new test
    if ((cachedHashCode != 0) &&
        (str2.cachedHashCode != 0) &&
        (cachedHashCode != str2.cachedHashCode))
      return false;
    ...

For strings that ARE equal this does add up to 4 GETFIELD and 3
comparison ops overhead - but such tests are going to compare every char
in the strings anyway so that isn't such a bad overhead. For strings
that differ within the first 2 characters, this is likely to be a draw;
the overhead of the hashcode comparisons is equal to the loop setup. For
strings that have the same length and prefix but differ towards the
tail, this could be a big win (example: java class names). Note also
that both this and str2 objects are already present in memory. Avoiding
accessing the value array *might* prevent a memory fault depending on
where it is allocated in memory. 

Note that I'm not as keen on this optimisation as the identity-check
proposal. I'm just putting it forward for consideration.

----

I agree that the value of these optimisations does depend upon usage
patterns, and should really be done on the basis of empirical evidence.
If people are interested in this, and such studies haven't been done
before, I might be willing to run some existing performance test suites
with and without these optimisations to see what the actual effects are.
Suggestions as to which performance suites are suitable would be
welcome.

Or maybe you'll tell me that these studies have already been done and
that these optimisations have been proved inappropriate...

Regards,

Simon




From MAILER-DAEMON Mon Jul 11 19:58:13 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ds8A9-0008FK-5B
	for mharc-classpath@gnu.org; Mon, 11 Jul 2005 19:58:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Ds8A8-0008F0-1i
	for classpath@gnu.org; Mon, 11 Jul 2005 19:58:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Ds85U-0006lP-7f
	for classpath@gnu.org; Mon, 11 Jul 2005 19:53:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ds85P-0006jh-I8
	for classpath@gnu.org; Mon, 11 Jul 2005 19:53:19 -0400
Received: from [210.86.15.159] (helo=avmta4-rme.xtra.co.nz)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ds866-0002pr-Q6
	for classpath@gnu.org; Mon, 11 Jul 2005 19:54:03 -0400
Received: from mta3-rme.xtra.co.nz ([210.86.15.240])
	by avmta4-rme.xtra.co.nz with ESMTP
	id <20050711234617.MJMK2892.avmta4-rme.xtra.co.nz@mta3-rme.xtra.co.nz>
	for <classpath@gnu.org>; Tue, 12 Jul 2005 11:46:17 +1200
Received: from [10.1.1.9] ([210.86.108.119]) by mta3-rme.xtra.co.nz with ESMTP
	id <20050711234617.ESVD4411.mta3-rme.xtra.co.nz@[10.1.1.9]>
	for <classpath@gnu.org>; Tue, 12 Jul 2005 11:46:17 +1200
From: Simon Kitching <skitching@apache.org>
To: classpath@gnu.org
In-Reply-To: <1121122975.4621.107.camel@localhost.localdomain>
References: <1121122975.4621.107.camel@localhost.localdomain>
Content-Type: text/plain
Date: Tue, 12 Jul 2005 11:46:17 +1200
Message-Id: <1121125577.4621.117.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
Subject: Re: String.equals optimisation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: skitching@apache.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: Mon, 11 Jul 2005 23:58:12 -0000

On Tue, 2005-07-12 at 11:02 +1200, Simon Kitching wrote:
> It would certainly be nice to know that collection methods will
> automatically work more efficiently when the objects being manipulated
> are String objects that have been interned (of course String.intern has
> to be used appropriately).

Umm..sorry, this particular argument doesn't work. The proposed
optimisation only improves the speed of comparing an object to itself -
not the most common operation in collection work. Operations that speed
up determining when two objects are NOT equal would help much more. [1]

I still think the original patch is relevant though (just not this
point).

[1] eg org.apache.commons.collections.map.IdentityMap, but this relies
on unique objects for keys rather than just trying to optimise for them.

Regards,

Simon





From MAILER-DAEMON Mon Jul 11 21:05:46 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ds9DV-0005U4-9H
	for mharc-classpath@gnu.org; Mon, 11 Jul 2005 21:05:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Ds9DR-0005SG-Iy
	for classpath@gnu.org; Mon, 11 Jul 2005 21:05:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Ds9DM-0005OD-6g
	for classpath@gnu.org; Mon, 11 Jul 2005 21:05:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ds9DJ-0005MR-JF
	for classpath@gnu.org; Mon, 11 Jul 2005 21:05:33 -0400
Received: from [210.86.15.158] (helo=avmta3-rme.xtra.co.nz)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ds9Hq-0007xN-4Q
	for classpath@gnu.org; Mon, 11 Jul 2005 21:10:14 -0400
Received: from mta2-rme.xtra.co.nz ([210.86.15.240])
	by avmta3-rme.xtra.co.nz with ESMTP
	id <20050712010228.ECEV22141.avmta3-rme.xtra.co.nz@mta2-rme.xtra.co.nz>
	for <classpath@gnu.org>; Tue, 12 Jul 2005 13:02:28 +1200
Received: from [10.1.1.9] ([210.86.108.119]) by mta2-rme.xtra.co.nz with ESMTP
	id <20050712010228.VMZX1606.mta2-rme.xtra.co.nz@[10.1.1.9]>
	for <classpath@gnu.org>; Tue, 12 Jul 2005 13:02:28 +1200
From: Simon Kitching <skitching@apache.org>
To: classpath@gnu.org
Content-Type: text/plain
Date: Tue, 12 Jul 2005 13:02:28 +1200
Message-Id: <1121130148.4621.138.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
Subject: String class: hack for ORP 1.0.9
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: skitching@apache.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: Tue, 12 Jul 2005 01:05:42 -0000

Hi,

In String.java there is this piece of code:

  public char[] toCharArray()
  {
    // XXX ORP 1.0.9 crashes on (char[]) clone() during bootstrap, so we
    // omit this optimization for now.
    // if (count == value.length)
    //   return (char[]) value.clone();
    char[] copy = new char[count];
    VMSystem.arraycopy(value, offset, copy, 0, count);
    return copy;
  }


I see that ORP released 1.0.10 in may 2002 (and nothing since).
  http://sourceforge.net/projects/orp

The most recent email on the general list at sourceforge is dated
2003-07-11. The main site does reference a yahoo groups page for email,
but that group does not appear to be available to the public.

I just wondered if it was time to remove this hack...

Regards,

Simon




From MAILER-DAEMON Mon Jul 11 21:35:19 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ds9g6-0002wm-Nt
	for mharc-classpath@gnu.org; Mon, 11 Jul 2005 21:35:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Ds9g3-0002v0-Nx
	for classpath@gnu.org; Mon, 11 Jul 2005 21:35:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Ds9fw-0002py-T6
	for classpath@gnu.org; Mon, 11 Jul 2005 21:35:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ds9fv-0002ou-F9
	for classpath@gnu.org; Mon, 11 Jul 2005 21:35:07 -0400
Received: from [209.225.28.204] (helo=mxsf04.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ds9ie-00019O-Vz
	for classpath@gnu.org; Mon, 11 Jul 2005 21:37:57 -0400
Received: from mxip03a.cluster1.charter.net (mxip03a.cluster1.charter.net
	[209.225.28.133])
	by mxsf04.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	j6C1UBKo002781
	for <classpath@gnu.org>; Mon, 11 Jul 2005 21:30:11 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.105.219)
	by mxip03a.cluster1.charter.net with ESMTP; 11 Jul 2005 21:30:11 -0400
X-IronPort-AV: i="3.93,280,1115006400"; 
	d="scan'208"; a="1115020529:sNHT22870448"
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 UAA06077;
	Mon, 11 Jul 2005 20:27:57 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6C1RtjK000788;
	Mon, 11 Jul 2005 20:27:55 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42D31C9A.2010601@dellroad.org>
Date: Mon, 11 Jul 2005 20:27:54 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: skitching@apache.org
References: <1121122975.4621.107.camel@localhost.localdomain>
In-Reply-To: <1121122975.4621.107.camel@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: String.equals optimisation
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 Jul 2005 01:35:17 -0000

Simon Kitching wrote:.
> * Class.getName returns strings that have been interned. I don't
>   think this is explicitly required by the java specs but is
>   certainly true for Sun's JVM and seems likely to be done by
>   any sensible JVM.

You definitely make some good arguments, but this one is not
neccesarily true. In fact, I'd argue a JVM that interns every
class' name (even if only on demand) is potentially wasting
a bunch of heap space.

I.e., is there something special about class names which means
they should be treated differently from any other String randomly
created and used in a Java application? (rhetorical question)
Otherwise, why not intern all Strings? Etc.

In any case, to provide two concrete counter-examples:

   $ cat > zz.java
   public class zz {
     public static void main(String[] args) {
         zz z = new zz();
         System.out.println(z.getClass().getName() == "zz");
     }
   }
   $ javac zz.java
   $ java zz
   true
   $ jc -Xint zz
   false
   $ jamvm zz
   false

On the other hand, comparing reference equality is very low cost,
so it seems like adding "==" to equals() might make good sense.

Of course, the "real" answer lies in empirical testing (something
I can't claim to have done).

-Archie

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



From MAILER-DAEMON Mon Jul 11 21:54:03 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ds9yB-0005rX-Tx
	for mharc-classpath@gnu.org; Mon, 11 Jul 2005 21:54:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Ds9y1-0005jj-HP
	for classpath@gnu.org; Mon, 11 Jul 2005 21:53:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Ds9xt-0005fz-2G
	for classpath@gnu.org; Mon, 11 Jul 2005 21:53:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ds9xr-0005du-Qg
	for classpath@gnu.org; Mon, 11 Jul 2005 21:53:39 -0400
Received: from [209.225.28.215] (helo=mxsf15.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ds9xf-0001yq-KJ
	for classpath@gnu.org; Mon, 11 Jul 2005 21:53:27 -0400
Received: from mxip09a.cluster1.charter.net (mxip09a.cluster1.charter.net
	[209.225.28.139])
	by mxsf15.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	j6C1jfIc031721
	for <classpath@gnu.org>; Mon, 11 Jul 2005 21:45:42 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.105.219)
	by mxip09a.cluster1.charter.net with ESMTP; 11 Jul 2005 21:45:11 -0400
X-IronPort-AV: i="3.93,280,1115006400"; 
	d="scan'208"; a="1106075677:sNHT907852220"
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 UAA06139;
	Mon, 11 Jul 2005 20:31:05 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6C1V4UR000794;
	Mon, 11 Jul 2005 20:31:04 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42D31D58.6030807@dellroad.org>
Date: Mon, 11 Jul 2005 20:31:04 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: skitching@apache.org
References: <1121130148.4621.138.camel@localhost.localdomain>
In-Reply-To: <1121130148.4621.138.camel@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: String class: hack for ORP 1.0.9
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 Jul 2005 01:53:55 -0000

Simon Kitching wrote:
>   public char[] toCharArray()
>   {
>     // XXX ORP 1.0.9 crashes on (char[]) clone() during bootstrap, so we
>     // omit this optimization for now.
>     // if (count == value.length)
>     //   return (char[]) value.clone();
>     char[] copy = new char[count];
>     VMSystem.arraycopy(value, offset, copy, 0, count);
>     return copy;
>   }
> 
> I just wondered if it was time to remove this hack...

Sounds good to me... and in any case, ORP should be doing it's
own disoptimization for VM-specific issues like this rather than
forcing it on all Classpath users.

-Archie

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



From MAILER-DAEMON Tue Jul 12 01:07:18 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsCzF-0005Kx-Ut
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 01:07:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsCsw-0004g6-1M
	for classpath@gnu.org; Tue, 12 Jul 2005 01:00:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsCsh-0004Zv-MU
	for classpath@gnu.org; Tue, 12 Jul 2005 01:00:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsCsd-0004RU-NG
	for classpath@gnu.org; Tue, 12 Jul 2005 01:00:27 -0400
Received: from [66.33.197.17] (helo=dydimus.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DsCf0-0002e9-1K
	for classpath@gnu.org; Tue, 12 Jul 2005 00:46:22 -0400
Received: from [192.168.0.100] (dsl2-63-249-108-128.cruzio.com
	[63.249.108.128]) by dydimus.dreamhost.com (Postfix) with ESMTP
	id 600D64F88D; Mon, 11 Jul 2005 21:38:35 -0700 (PDT)
In-Reply-To: <OFF3EC224F.41FA9C8E-ON8525703B.0041081E-8525703B.0041602A@us.ibm.com>
References: <OFF3EC224F.41FA9C8E-ON8525703B.0041081E-8525703B.0041602A@us.ibm.com>
Mime-Version: 1.0 (Apple Message framework v730)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <A6326FD2-0B25-4F03-A83D-B7B08304B5A0@gnu.org>
Content-Transfer-Encoding: 7bit
From: Casey Marshall <csm@gnu.org>
Date: Mon, 11 Jul 2005 21:38:34 -0700
To: David P Grove <groved@us.ibm.com>
X-Mailer: Apple Mail (2.730)
Cc: classpath@gnu.org
Subject: Re: regression in logger?
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 Jul 2005 05:07:17 -0000

On Jul 11, 2005, at 4:54 AM, David P Grove wrote:

> This started showing up in regression tests of Jikes RVM with  
> classpath
> cvs head recently.  I haven't dug deeply, so it could be a latent  
> problem
> in Jikes RVM that was exposed by a classpath change, rather than a  
> real
> classpath bug, but might still be worth mentioning.  The failing  
> program
> is SPECjbb2000.
>

This is caused, at least in part, by the recent change I've made to  
the X509Certificate class to use java.util.logging for debugging  
instead of System.err.println. It might be that a certificate is  
being loaded too early for there to be a stack trace?

Anyway, I don't think it is unreasonable to use loggers that early.  
Should loggers perhaps not depend on a full stack trace, if one isn't  
available?



From MAILER-DAEMON Tue Jul 12 01:28:02 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsDJK-0000ch-6Y
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 01:28:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsDJG-0000bd-Pf
	for classpath@gnu.org; Tue, 12 Jul 2005 01:27:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsDJD-0000aB-VL
	for classpath@gnu.org; Tue, 12 Jul 2005 01:27:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsDJD-0000ZR-0U
	for classpath@gnu.org; Tue, 12 Jul 2005 01:27:55 -0400
Received: from [210.86.15.145] (helo=mta202-rme.xtra.co.nz)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DsDO9-0004ps-10
	for classpath@gnu.org; Tue, 12 Jul 2005 01:33:01 -0400
Received: from mta2-rme.xtra.co.nz ([210.86.15.240])
	by mta202-rme.xtra.co.nz with ESMTP
	id <20050712052509.PRNX1611.mta202-rme.xtra.co.nz@mta2-rme.xtra.co.nz>
	for <classpath@gnu.org>; Tue, 12 Jul 2005 17:25:09 +1200
Received: from [10.1.1.9] ([210.86.108.119]) by mta2-rme.xtra.co.nz with ESMTP
	id <20050712052508.CMBN1606.mta2-rme.xtra.co.nz@[10.1.1.9]>
	for <classpath@gnu.org>; Tue, 12 Jul 2005 17:25:08 +1200
From: Simon Kitching <skitching@apache.org>
To: classpath@gnu.org
In-Reply-To: <42D31C9A.2010601@dellroad.org>
References: <1121122975.4621.107.camel@localhost.localdomain>
	<42D31C9A.2010601@dellroad.org>
Content-Type: text/plain
Date: Tue, 12 Jul 2005 17:25:08 +1200
Message-Id: <1121145908.4621.213.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
Subject: Re: String.equals optimisation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: skitching@apache.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: Tue, 12 Jul 2005 05:27:59 -0000

Hi Archie,

On Mon, 2005-07-11 at 20:27 -0500, Archie Cobbs wrote:
> Simon Kitching wrote:.
> > * Class.getName returns strings that have been interned. I don't
> >   think this is explicitly required by the java specs but is
> >   certainly true for Sun's JVM and seems likely to be done by
> >   any sensible JVM.
> 
> You definitely make some good arguments, but this one is not
> neccesarily true. In fact, I'd argue a JVM that interns every
> class' name (even if only on demand) is potentially wasting
> a bunch of heap space.

I'm assuming that the Class object would contain a reference to the
interned string, so there is only one copy of the string, ie somewhere
in the ClassLoader.defineClass method there is this sort of thing:

public Class defineClass(String name, ...)
  Class newClass = new Class();
  newClass.setName(name.intern());
  .....
   

The extra space used for interning is therefore just a single extra
reference (as a reference to the string is contained in both the Class
object and the String class internal pool). Yes that is a little space
wasted, but not a bunch.

> 
> I.e., is there something special about class names which means
> they should be treated differently from any other String randomly
> created and used in a Java application? (rhetorical question)
> Otherwise, why not intern all Strings? Etc.

I do wonder why Java specified that all literal and constant strings in
a class file are automatically interned. Being able to compare literals
with == is not that useful. 

Maybe the most important goal was to compress class representations in
memory. In particular, when class A references a static final String
field from some other class, A gets a copy of that string not a
reference to it, so without the intern mechanism to merge instances back
together again such strings would get duplicated in ram when the classes
were loaded.

I'd be interested to hear of other reasons for Java's requirement to
intern all literal strings and constants.

But, strangely, I do think that interning classnames (which is optional)
is particularly useful. When ClassLoader resolves a class it has loaded,
it must do lots of lookups to find other classes. Surely being able to
do this using identity to compare classnames would be a significant
timesaver. And class resolution is the biggest issue in application
startup time, so improving this seems like a good idea.

In the general case, whether interning a string proves useful or not
depends upon the usage pattern for that string. I guess the usage
patterns for class literals and classnames are pretty well known: long
lifetimes, and either:
* comparisons against them are common, or
* duplication of the content is common. 
But only users know the usage patterns for the dynamic string objects
they create, so it's up to them to decide when to use intern...

> In any case, to provide two concrete counter-examples:
> 
>    $ cat > zz.java
>    public class zz {
>      public static void main(String[] args) {
>          zz z = new zz();
>          System.out.println(z.getClass().getName() == "zz");
>      }
>    }
>    $ javac zz.java
>    $ java zz
>    true
>    $ jc -Xint zz
>    false
>    $ jamvm zz
>    false

Hmm..interesting.

$ gij
false

$ gcj -o zz --main=zz zz.java
$ zz
false

Note for others reading this thread: all this is really irrelevant
anyway. The classname stuff was just one example I suggested for when
strings being compared might perform better with String.equals optimised
for comparison by identity. As shown above, sun's java might benefit
from this; other JVMs currently won't. But it's only one example.

> 
> 
> On the other hand, comparing reference equality is very low cost,
> so it seems like adding "==" to equals() might make good sense.
> 
> Of course, the "real" answer lies in empirical testing (something
> I can't claim to have done).


Regards,

Simon




From MAILER-DAEMON Tue Jul 12 01:57:40 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsDlx-000650-Hg
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 01:57:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsDlj-0005yl-GB
	for classpath@gnu.org; Tue, 12 Jul 2005 01:57:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsDle-0005wH-TR
	for classpath@gnu.org; Tue, 12 Jul 2005 01:57:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsDld-0005pt-Mk
	for classpath@gnu.org; Tue, 12 Jul 2005 01:57:17 -0400
Received: from [130.102.104.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DsDio-0005xD-Bj
	for classpath@gnu.org; Tue, 12 Jul 2005 01:54:22 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.13.0/8.13.0) with ESMTP id j6C5j49C007121;
	Tue, 12 Jul 2005 15:45:05 +1000 (EST)
Message-Id: <200507120545.j6C5j49C007121@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: skitching@apache.org
In-Reply-To: Message from Simon Kitching <skitching@apache.org> of "Tue,
	12 Jul 2005 17:25:08 +1200."
	<1121145908.4621.213.camel@localhost.localdomain> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 12 Jul 2005 15:46:03 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.45 (DSTC)
Cc: crawley@piglet.dstc.edu.au, classpath@gnu.org
Subject: Re: String.equals optimisation 
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 Jul 2005 05:57:25 -0000


skitching@apache.org said:
> I'd be interested to hear of other reasons for Java's requirement to
> intern all literal strings and constants. 

Backwards compatibility.

At this point we can only conjecture as to why Java was originally defined 
this way.  My guess is that this decision was made in the early days when
the language was being targeted at embedded computing and machines with
not a lot of memory.  Having the JVM do interning of literals could save
enough memory to matter.

The world has moved on, and nobody thinks much about conserving string 
space these days.  But there are enough programs out there that rely on
this historical quirk that it is too hard to change ... even if it was
thought to be a worthwhile thing to do.

-- Steve




From MAILER-DAEMON Tue Jul 12 02:23:41 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsEB8-00023C-2g
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 02:23:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsEAy-0001zy-0i
	for classpath@gnu.org; Tue, 12 Jul 2005 02:23:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsEAt-0001yW-LF
	for classpath@gnu.org; Tue, 12 Jul 2005 02:23:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsEAs-0001wM-PP
	for classpath@gnu.org; Tue, 12 Jul 2005 02:23:22 -0400
Received: from [130.102.104.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DsEEF-0007TY-6H
	for classpath@gnu.org; Tue, 12 Jul 2005 02:26:51 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.13.0/8.13.0) with ESMTP id j6C6HXCH008635;
	Tue, 12 Jul 2005 16:17:34 +1000 (EST)
Message-Id: <200507120617.j6C6HXCH008635@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Per Bothner <per@bothner.com>
In-Reply-To: Message from Per Bothner <per@bothner.com> 
	of "Mon, 11 Jul 2005 23:13:01 MST." <42D35F6D.5020201@bothner.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 12 Jul 2005 16:18:33 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.45 (DSTC)
Cc: classpath@gnu.org, Stephen Crawley <crawley@dstc.edu.au>,
	crawley@piglet.dstc.edu.au
Subject: Re: String.equals optimisation 
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 Jul 2005 06:23:32 -0000


I stand corrected.

-- Steve




From MAILER-DAEMON Tue Jul 12 02:23:58 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsEBQ-00027d-Rf
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 02:23:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsEBC-00024R-RV
	for classpath@gnu.org; Tue, 12 Jul 2005 02:23:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsEB9-00023R-IU
	for classpath@gnu.org; Tue, 12 Jul 2005 02:23:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsEB7-0001wM-Df
	for classpath@gnu.org; Tue, 12 Jul 2005 02:23:37 -0400
Received: from [216.102.199.253] (helo=bothner.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DsE8l-0007IT-L9
	for classpath@gnu.org; Tue, 12 Jul 2005 02:21:11 -0400
Received: from [192.168.1.7] ([192.168.1.7]) (authenticated bits=0)
	by bothner.com (8.13.4/8.13.4) with ESMTP id j6C6Cv0s018846
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 11 Jul 2005 23:13:00 -0700
Message-ID: <42D35F6D.5020201@bothner.com>
Date: Mon, 11 Jul 2005 23:13:01 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Crawley <crawley@dstc.edu.au>
References: <200507120545.j6C5j49C007121@piglet.dstc.edu.au>
In-Reply-To: <200507120545.j6C5j49C007121@piglet.dstc.edu.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org, crawley@piglet.dstc.edu.au
Subject: Re: String.equals optimisation
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 Jul 2005 06:23:49 -0000

Stephen Crawley wrote:
> skitching@apache.org said:
> 
>>I'd be interested to hear of other reasons for Java's requirement to
>>intern all literal strings and constants. 
> 
> Backwards compatibility.
> 
> At this point we can only conjecture as to why Java was originally defined 
> this way.  My guess is that this decision was made in the early days when
> the language was being targeted at embedded computing and machines with
> not a lot of memory.  Having the JVM do interning of literals could save
> enough memory to matter.

Er, no.

String literals in JDK 1.0 were *not* interned.
That was changed in JDK 1.1.

> The world has moved on, and nobody thinks much about conserving string 
> space these days.

I don't believe saving space was the motivation, but consistency.
Assume:

static String x = "a";
static String y = "a";

Then you had (x==y) if x and y were defined in the same class, but
(x!=y) in they were defined in different classes.

People expect that ("a"=="a").
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



From MAILER-DAEMON Tue Jul 12 03:26:21 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsF9p-0006aM-28
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 03:26:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsF9k-0006Xf-EY
	for classpath@gnu.org; Tue, 12 Jul 2005 03:26:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsF9h-0006WP-8C
	for classpath@gnu.org; Tue, 12 Jul 2005 03:26:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsF9g-0006F9-MY
	for classpath@gnu.org; Tue, 12 Jul 2005 03:26:12 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DsF1g-0002Lr-Ak
	for classpath@gnu.org; Tue, 12 Jul 2005 03:17:56 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Tue, 12 Jul 2005 09:10:05 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAE8A@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: String.equals optimisation
Thread-Index: AcWGgccrp9qDiQwWR6WeR3nMlSVUdQALtBIw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Archie Cobbs" <archie@dellroad.org>,
	<skitching@apache.org>
Cc: classpath@gnu.org
Subject: RE: String.equals optimisation
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 Jul 2005 07:26:18 -0000

Archie Cobbs wrote:
> Simon Kitching wrote:.
> > * Class.getName returns strings that have been interned. I don't
> >   think this is explicitly required by the java specs but is
> >   certainly true for Sun's JVM and seems likely to be done by
> >   any sensible JVM.
>=20
> I.e., is there something special about class names which means
> they should be treated differently from any other String randomly
> created and used in a Java application? (rhetorical question)
> Otherwise, why not intern all Strings? Etc.
>=20
> In any case, to provide two concrete counter-examples:
>=20
>    $ cat > zz.java
>    public class zz {
>      public static void main(String[] args) {
>          zz z =3D new zz();
>          System.out.println(z.getClass().getName() =3D=3D "zz");
>      }
>    }
>    $ javac zz.java
>    $ java zz
>    true
>    $ jc -Xint zz
>    false
>    $ jamvm zz
>    false

$ ikvm zz
true

He did say "any sensible JVM"... <gd&r>

Regards,
Jeroen



From MAILER-DAEMON Tue Jul 12 05:07:45 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsGjw-0000gC-C0
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 05:07:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsGjs-0000fM-SE
	for classpath@gnu.org; Tue, 12 Jul 2005 05:07:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsGiO-0000Jl-RL
	for classpath@gnu.org; Tue, 12 Jul 2005 05:06:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DsGiA-000075-9g; Tue, 12 Jul 2005 05:05:54 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DsGe6-0001Ok-Uo; Tue, 12 Jul 2005 05:01:43 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DsGWj-0000k6-00; Tue, 12 Jul 2005 10:54:05 +0200
From: Mark Wielaard <mark@klomp.org>
To: skitching@apache.org
In-Reply-To: <1121130148.4621.138.camel@localhost.localdomain>
References: <1121130148.4621.138.camel@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-/OcuSQQxEIP+XPZEXJx2"
Date: Tue, 12 Jul 2005 10:54:01 +0200
Message-Id: <1121158441.5601.37.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: String class: hack for ORP 1.0.9
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 Jul 2005 09:07:42 -0000


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

On Tue, 2005-07-12 at 13:02 +1200, Simon Kitching wrote:
> I just wondered if it was time to remove this hack...

Wow, that is a very old workaround. And indeed a nice optimization to
have. A quick startup of eclipse (with just a little project) shows 4642
hits of String.toCharArray() of which 4200 have (count =3D=3D value.length)=
.
Thanks for finding this.

Committed as:

       Reported by Simon Kitching <skitching@apache.org>
       * java/lang/String.java (toCharArray): Return value.clone() when
       count =3D=3D value.length.

Cheers,

Mark

diff -u -r1.67 String.java
--- java/lang/String.java       11 Jul 2005 22:30:07 -0000      1.67
+++ java/lang/String.java       12 Jul 2005 08:48:23 -0000
@@ -1499,10 +1499,9 @@
    */
   public char[] toCharArray()
   {
-    // XXX ORP 1.0.9 crashes on (char[]) clone() during bootstrap, so we
-    // omit this optimization for now.
-    // if (count =3D=3D value.length)
-    //   return (char[]) value.clone();
+    if (count =3D=3D value.length)
+      return (char[]) value.clone();
+
     char[] copy =3D new char[count];
     VMSystem.arraycopy(value, offset, copy, 0, count);
     return copy;


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

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

iD8DBQBC04UpxVhZCJWr9QwRAgNfAJ0ebCA+VQPUUmhDCvSKJE2KLZAlcACfWNS3
WgjLx++TesoN/TxV50bz3kI=
=BiKu
-----END PGP SIGNATURE-----

--=-/OcuSQQxEIP+XPZEXJx2--




From MAILER-DAEMON Tue Jul 12 08:35:12 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsJyi-0000Vl-Ar
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 08:35:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsJyg-0000VD-OG
	for classpath@gnu.org; Tue, 12 Jul 2005 08:35:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsJyf-0000Un-TG
	for classpath@gnu.org; Tue, 12 Jul 2005 08:35:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DsJuv-0006bx-Kc; Tue, 12 Jul 2005 08:31:17 -0400
Received: from [32.97.182.141] (helo=e1.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1DsJeM-0007mz-RQ; Tue, 12 Jul 2005 08:14:10 -0400
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e1.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6CC6Hl2004914; 
	Tue, 12 Jul 2005 08:06:17 -0400
Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id
	j6CC6Gek263194; Tue, 12 Jul 2005 08:06:17 -0400
Received: from d01av02.pok.ibm.com (loopback [127.0.0.1])
	by d01av02.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6CC6Gsb014820;
	Tue, 12 Jul 2005 08:06:16 -0400
Received: from [9.56.227.90] (d01ml604.pok.ibm.com [9.56.227.90])
	by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6CC6GHr014817; 
	Tue, 12 Jul 2005 08:06:16 -0400
In-Reply-To: <1121158441.5601.37.camel@localhost.localdomain>
To: classpath@gnu.org, classpath-patches@gnu.org, skitching@apache.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.1IBM2 August 03, 2004
From: David P Grove <groved@us.ibm.com>
Message-ID: <OFBEF7E099.531EAC68-ON8525703C.00419D23-8525703C.00427DC9@us.ibm.com>
Date: Tue, 12 Jul 2005 08:06:15 -0400
X-MIMETrack: Serialize by Router on D01ML604/01/M/IBM(Build V70_M6_06302005
	Beta 4|June 30, 2005) at 07/12/2005 08:06:15,
	Serialize complete at 07/12/2005 08:06:15
Content-Type: text/plain; charset="US-ASCII"
Cc: 
Subject: Re: String class: hack for ORP 1.0.9
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 Jul 2005 12:35:11 -0000

So, I'm having a hard time seeing how this "optimization" actually makes 
the code faster under any reasonable assumptions of what an optimizing JIT 
is going to do.  It seems mostly harmless to have it (although it makes 
the method larger, and thus a slightly less attractive candidate for 
inlining), but if it actually buys you any measurable speedup on a "high 
performance" VM, then you should really take a hard look at your VM/JIT 
and find out why they didn't do a good job on the "unoptimized" version in 
the first place.  clone() on an array is just a short hand for a new 
followed by an arraycopy, and the new followed by arraycopy idiom shows up 
all over the place so you need to do a good job on it.

--dave

classpath-bounces+groved=us.ibm.com@gnu.org wrote on 07/12/2005 04:54:01 
AM:

> On Tue, 2005-07-12 at 13:02 +1200, Simon Kitching wrote:
> > I just wondered if it was time to remove this hack...
> 
> Wow, that is a very old workaround. And indeed a nice optimization to
> have. A quick startup of eclipse (with just a little project) shows 4642
> hits of String.toCharArray() of which 4200 have (count == value.length).
> Thanks for finding this.
> 
> Committed as:
> 
>        Reported by Simon Kitching <skitching@apache.org>
>        * java/lang/String.java (toCharArray): Return value.clone() when
>        count == value.length.
> 
> Cheers,
> 
> Mark
> 
> diff -u -r1.67 String.java
> --- java/lang/String.java       11 Jul 2005 22:30:07 -0000      1.67
> +++ java/lang/String.java       12 Jul 2005 08:48:23 -0000
> @@ -1499,10 +1499,9 @@
>     */
>    public char[] toCharArray()
>    {
> -    // XXX ORP 1.0.9 crashes on (char[]) clone() during bootstrap, so 
we
> -    // omit this optimization for now.
> -    // if (count == value.length)
> -    //   return (char[]) value.clone();
> +    if (count == value.length)
> +      return (char[]) value.clone();
> +
>      char[] copy = new char[count];
>      VMSystem.arraycopy(value, offset, copy, 0, count);
>      return copy;
> 
> [attachment "signature.asc" deleted by David P Grove/Watson/IBM] 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath




From MAILER-DAEMON Tue Jul 12 10:21:10 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsLdF-0002YG-47
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 10:21:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsLcg-0002MP-9d
	for classpath@gnu.org; Tue, 12 Jul 2005 10:20:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsLcZ-0002IG-0V
	for classpath@gnu.org; Tue, 12 Jul 2005 10:20:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsLcX-0002Fm-85
	for classpath@gnu.org; Tue, 12 Jul 2005 10:20:25 -0400
Received: from [209.225.28.214] (helo=mxsf14.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DsLfJ-0002I5-OO
	for classpath@gnu.org; Tue, 12 Jul 2005 10:23:18 -0400
Received: from mxip15a.cluster1.charter.net (mxip15a.cluster1.charter.net
	[209.225.28.145])
	by mxsf14.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	j6CEFOEP026712
	for <classpath@gnu.org>; Tue, 12 Jul 2005 10:15:25 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.105.219)
	by mxip15a.cluster1.charter.net with ESMTP; 12 Jul 2005 10:15:14 -0400
X-IronPort-AV: i="3.93,283,1115006400"; 
	d="scan'208"; a="1248207966:sNHT37285356"
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 JAA12839;
	Tue, 12 Jul 2005 09:14:56 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6CEEsVZ000941;
	Tue, 12 Jul 2005 09:14:55 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42D3D05E.5000902@dellroad.org>
Date: Tue, 12 Jul 2005 09:14:54 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: skitching@apache.org
References: <1121122975.4621.107.camel@localhost.localdomain>	<42D31C9A.2010601@dellroad.org>
	<1121145908.4621.213.camel@localhost.localdomain>
In-Reply-To: <1121145908.4621.213.camel@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: String.equals optimisation
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 Jul 2005 14:20:37 -0000

Simon Kitching wrote:
>>>* Class.getName returns strings that have been interned. I don't
>>>  think this is explicitly required by the java specs but is
>>>  certainly true for Sun's JVM and seems likely to be done by
>>>  any sensible JVM.
>>
>>You definitely make some good arguments, but this one is not
>>neccesarily true. In fact, I'd argue a JVM that interns every
>>class' name (even if only on demand) is potentially wasting
>>a bunch of heap space.
> 
> I'm assuming that the Class object would contain a reference to the
> interned string, so there is only one copy of the string, ie somewhere

Not a valid assumtion.. in JC no String is associated with Class
objects.  VMClass.getName() is native and the returned String is
created on demand, based on the UTF-8 name stored internally in memory.

In fact, one could argue that storing class names in any other way
than in their native UTF-8 form is a big waste of memory. E.g.,
for loaded classes...

If the VM can find it's UTF-8 name and create a String dynamically:
   Then also storing the class name persistently as a String is a
   200% increase in memory (a char[] array is twice as big as UTF-8)
Else:
   The VM must store the class name as a String, which is a 100%
   increase in memory vs. storing it as UTF-8

> The extra space used for interning is therefore just a single extra
> reference (as a reference to the string is contained in both the Class
> object and the String class internal pool). Yes that is a little space
> wasted, but not a bunch.

Right, the wasted space is not much.. at first I was forgetting
that intern'd strings are stored with weak keys and will get
flushed out after they're no longer referenced (just like normal
Strings)... replace "big waste of memory" with "waste of memory" :-)

-Archie

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



From MAILER-DAEMON Tue Jul 12 11:06:49 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsMLQ-00054W-SB
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 11:06:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsMLP-00053b-23
	for classpath@gnu.org; Tue, 12 Jul 2005 11:06:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsMLN-00052w-7s
	for classpath@gnu.org; Tue, 12 Jul 2005 11:06:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsMHY-0003VX-5e
	for classpath@gnu.org; Tue, 12 Jul 2005 11:02:48 -0400
Received: from [64.233.182.202] (helo=nproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DsM3f-0004VG-J4
	for classpath@gnu.org; Tue, 12 Jul 2005 10:48:27 -0400
Received: by nproxy.gmail.com with SMTP id d4so282773nfe
	for <classpath@gnu.org>; Tue, 12 Jul 2005 07:40:34 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=iESSlo1wveVW0gWyFJYp+ASLBCNP84WxkbandHoQOsjoQkKjjr/gHvjavhgiHjzB4xaYV9M+XVRpa9h9jY4vkg3VSgbQG4d6ktp/tIacV5bT4ua1o0VPgGPQARi9RSO7Cf7vGQG3Zyh04eKsXb0Q6T1kFl1NYlnJsUAJJJBmuBs=
Received: by 10.48.240.12 with SMTP id n12mr192219nfh;
	Tue, 12 Jul 2005 07:40:34 -0700 (PDT)
Received: by 10.48.250.5 with HTTP; Tue, 12 Jul 2005 07:40:33 -0700 (PDT)
Message-ID: <d58509a805071207407308a06b@mail.gmail.com>
Date: Tue, 12 Jul 2005 15:40:33 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <42D3D05E.5000902@dellroad.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <1121122975.4621.107.camel@localhost.localdomain>
	<42D31C9A.2010601@dellroad.org>
	<1121145908.4621.213.camel@localhost.localdomain>
	<42D3D05E.5000902@dellroad.org>
Cc: classpath@gnu.org
Subject: Re: String.equals optimisation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Robert Lougher <rob.lougher@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jul 2005 15:06:47 -0000

Hi,

On 7/12/05, Archie Cobbs <archie@dellroad.org> wrote:
> Simon Kitching wrote:
> >>>* Class.getName returns strings that have been interned. I don't
> >>>  think this is explicitly required by the java specs but is
> >>>  certainly true for Sun's JVM and seems likely to be done by
> >>>  any sensible JVM.
> >>
> >>You definitely make some good arguments, but this one is not
> >>neccesarily true. In fact, I'd argue a JVM that interns every
> >>class' name (even if only on demand) is potentially wasting
> >>a bunch of heap space.
> >
> > I'm assuming that the Class object would contain a reference to the
> > interned string, so there is only one copy of the string, ie somewhere
>=20
> Not a valid assumtion.. in JC no String is associated with Class
> objects.  VMClass.getName() is native and the returned String is
> created on demand, based on the UTF-8 name stored internally in memory.
>=20

It might also be worthwhile to mention that the internal class name
uses slash as a separator, instead of the dot returned by getName(),
e.g. java/lang/String, rather than java.lang.String.

Rob.



From MAILER-DAEMON Tue Jul 12 11:07:33 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsMM8-0005TE-KD
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 11:07:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsMM4-0005RF-Tg
	for classpath@gnu.org; Tue, 12 Jul 2005 11:07:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsMM3-0005QS-P3
	for classpath@gnu.org; Tue, 12 Jul 2005 11:07:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DsMHj-0003VX-39; Tue, 12 Jul 2005 11:02:59 -0400
Received: from [209.225.28.204] (helo=mxsf04.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DsLtv-0003xR-SN; Tue, 12 Jul 2005 10:38:23 -0400
Received: from mxip19a.cluster1.charter.net (mxip19a.cluster1.charter.net
	[209.225.28.149])
	by mxsf04.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	j6CEUGK5018488; Tue, 12 Jul 2005 10:30:21 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.105.219)
	by mxip19a.cluster1.charter.net with ESMTP; 12 Jul 2005 10:30:11 -0400
X-IronPort-AV: i="3.93,283,1115006400"; 
	d="scan'208"; a="1283760602:sNHT39636110"
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 JAA12936;
	Tue, 12 Jul 2005 09:24:11 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6CEOAqG000972;
	Tue, 12 Jul 2005 09:24:11 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42D3D28A.3040706@dellroad.org>
Date: Tue, 12 Jul 2005 09:24:10 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David P Grove <groved@us.ibm.com>
References: <OFBEF7E099.531EAC68-ON8525703C.00419D23-8525703C.00427DC9@us.ibm.com>
In-Reply-To: <OFBEF7E099.531EAC68-ON8525703C.00419D23-8525703C.00427DC9@us.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: String class: hack for ORP 1.0.9
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 Jul 2005 15:07:30 -0000

David P Grove wrote:
> So, I'm having a hard time seeing how this "optimization" actually makes 
> the code faster under any reasonable assumptions of what an optimizing JIT 
> is going to do.  It seems mostly harmless to have it (although it makes 
> the method larger, and thus a slightly less attractive candidate for 
> inlining), but if it actually buys you any measurable speedup on a "high 
> performance" VM, then you should really take a hard look at your VM/JIT 
> and find out why they didn't do a good job on the "unoptimized" version in 
> the first place.  clone() on an array is just a short hand for a new 
> followed by an arraycopy, and the new followed by arraycopy idiom shows up 
> all over the place so you need to do a good job on it.

Not all VM's are high performance I guess :-)

[I'm sure you know all this already but here goes..]

E.g., on many VM's VMSystem.arraycopy() is a native method, and they
can't optimize "into" that method. So all the normal type checking,
array bounds checking, and array compatibility checking will be done
by that native code in all cases, even though in this case we know
it's not necessary.

With array clone(), also typically a native method, none of that
checking is ever needed.

This is a good example of the advandages of a JVM written in Java
(a coincidence? :-) There is no "optimization barrier" into "native"
code like System.arraycopy().

-Archie

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



From MAILER-DAEMON Tue Jul 12 11:10:05 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsMOY-0006el-N9
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 11:10:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsMOT-0006cG-KH
	for classpath@gnu.org; Tue, 12 Jul 2005 11:09:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsMOQ-0006aJ-AO
	for classpath@gnu.org; Tue, 12 Jul 2005 11:09:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsMOP-0006ZX-M9
	for classpath@gnu.org; Tue, 12 Jul 2005 11:09:53 -0400
Received: from [32.97.182.142] (helo=e2.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DsMTh-0006lH-HH
	for classpath@gnu.org; Tue, 12 Jul 2005 11:15:21 -0400
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e2.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6CF7SLZ026401
	for <classpath@gnu.org>; Tue, 12 Jul 2005 11:07:28 -0400
Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217])
	by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id
	j6CF7Sek262262
	for <classpath@gnu.org>; Tue, 12 Jul 2005 11:07:28 -0400
Received: from d01av03.pok.ibm.com (loopback [127.0.0.1])
	by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6CF7IEm022800
	for <classpath@gnu.org>; Tue, 12 Jul 2005 11:07:18 -0400
Received: from [9.56.227.90] (d01ml604.pok.ibm.com [9.56.227.90])
	by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6CF7IAK022380; 
	Tue, 12 Jul 2005 11:07:18 -0400
In-Reply-To: <42D3D28A.3040706@dellroad.org>
To: classpath@gnu.org, skitching@apache.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.1IBM2 August 03, 2004
From: David P Grove <groved@us.ibm.com>
Message-ID: <OF9F06DF67.C9427E9F-ON8525703C.0050AEFB-8525703C.00530CDC@us.ibm.com>
Date: Tue, 12 Jul 2005 11:07:07 -0400
X-MIMETrack: Serialize by Router on D01ML604/01/M/IBM(Build V70_M6_06302005
	Beta 4|June 30, 2005) at 07/12/2005 11:07:17,
	Serialize complete at 07/12/2005 11:07:17
Content-Type: text/plain; charset="US-ASCII"
Cc: 
Subject: Re: String class: hack for ORP 1.0.9
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 Jul 2005 15:10:00 -0000

Guess I'm showing my bias ;-)   It is very easy to get the right thing to 
happen in Jikes RVM...

In general, you are right about native methods being a barrier to JIT 
optimization (btw there was an interesting paper in VEE'05 last month by 
Stepanian et al on a system that can inline native methods and their JNI 
callbacks into JITed code). 

Arraycopy is just a very special case...it shows up as a bottleneck on 
enough  benchmarks  that many optimizing JITs will treat it as an 
intrinsic function (ie, there is a native method implementation in the VM 
for use by interpreted code, but the JITed code won't actually call it). 
In some slightly funky way of looking at the world, native methods like 
arraycopy are a special case where Java-in-Java and C-based VMs end up in 
pretty much the same place.  It's a "native" method that the JIT really 
needs to grok to get good performance.  In Java-in-Java that happens 
without much extra effort.  In other VMs, you end up building up support 
for a set of performance critical intrinsics so that the JIT can 
completely understand their semantics and then implement  them in a more 
optimal fashion than simply calling the backing native method.   I should 
have made it more clear that I was talking about arraycopy in particular, 
not native methods in general.

--dave

Archie Cobbs <archie@dellroad.org> wrote on 07/12/2005 10:24:10 AM:

> David P Grove wrote:
> > So, I'm having a hard time seeing how this "optimization" actually 
makes 
> > the code faster under any reasonable assumptions of what an optimizing 
JIT 
> > is going to do.  It seems mostly harmless to have it (although it 
makes 
> > the method larger, and thus a slightly less attractive candidate for 
> > inlining), but if it actually buys you any measurable speedup on a 
"high 
> > performance" VM, then you should really take a hard look at your 
VM/JIT 
> > and find out why they didn't do a good job on the "unoptimized" 
version in 
> > the first place.  clone() on an array is just a short hand for a new 
> > followed by an arraycopy, and the new followed by arraycopy idiom 
shows up 
> > all over the place so you need to do a good job on it.
> 
> Not all VM's are high performance I guess :-)
> 
> [I'm sure you know all this already but here goes..]
> 
> E.g., on many VM's VMSystem.arraycopy() is a native method, and they
> can't optimize "into" that method. So all the normal type checking,
> array bounds checking, and array compatibility checking will be done
> by that native code in all cases, even though in this case we know
> it's not necessary.
> 
> With array clone(), also typically a native method, none of that
> checking is ever needed.
> 
> This is a good example of the advandages of a JVM written in Java
> (a coincidence? :-) There is no "optimization barrier" into "native"
> code like System.arraycopy().
> 
> -Archie
> 
> 
__________________________________________________________________________
> Archie Cobbs      *        CTO, Awarix        * http://www.awarix.com




From MAILER-DAEMON Tue Jul 12 13:22:05 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsOSK-0007n2-JG
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 13:22:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsOSG-0007m6-L7
	for classpath@gnu.org; Tue, 12 Jul 2005 13:22:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsORY-0007XN-PF
	for classpath@gnu.org; Tue, 12 Jul 2005 13:21:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsORV-0007R8-9D
	for classpath@gnu.org; Tue, 12 Jul 2005 13:21:13 -0400
Received: from [134.130.3.130] (helo=ms-dienst.rz.rwth-aachen.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DsOLM-0008Pq-GK
	for classpath@gnu.org; Tue, 12 Jul 2005 13:14:52 -0400
Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31])
	by ms-dienst.rz.rwth-aachen.de
	(iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004))
	with ESMTP id <0IJI004K4Y7LLE@ms-dienst.rz.rwth-aachen.de> for
	classpath@gnu.org; Tue, 12 Jul 2005 19:06:57 +0200 (MEST)
Received: from relay.rwth-aachen.de ([134.130.3.1])
	by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Tue,
	12 Jul 2005 19:06:56 +0200 (MEST)
Received: from mail.weh.RWTH-Aachen.de
	(mail.weh.RWTH-Aachen.DE [137.226.141.3])	by relay.rwth-aachen.de
	(8.13.3/8.13.3/1) with ESMTP id j6CH6ueR004418	for <classpath@gnu.org>;
	Tue, 12 Jul 2005 19:06:56 +0200 (MEST)
Received: from z0204.weh.rwth-aachen.de ([137.226.141.28] helo=irobot)
	by mail.weh.RWTH-Aachen.de with esmtpa (Exim 4.43)
	id 1DsODf-0006bp-GQ	for classpath@gnu.org;
	Tue, 12 Jul 2005 19:06:55 +0200
Date: Tue, 12 Jul 2005 19:06:26 +0200
From: "Le.Wang" <lewang@weh.rwth-aachen.de>
To: classpath@gnu.org
Message-id: <004901c58704$1bbda700$0200a8c0@irobot>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
Content-type: multipart/alternative;
	boundary="Boundary_(ID_VweB1w4ylpzJQoKGcNCpQw)"
X-Priority: 3
X-MSMail-priority: Normal
X-Authenticated: sender supplied correct username/password
Subject: Problem with JDNI (under IKVM)
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 Jul 2005 17:22:01 -0000

This is a multi-part message in MIME format.

--Boundary_(ID_VweB1w4ylpzJQoKGcNCpQw)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

Hi,


my task is to use the Joram JMS (Java Messaging Service, provider JORAM) in my .Net(C#) application, at first 
I used "jbimp" from .Net, but jbimp could never find the classpaths which I set, today  I found
the tool IKVM which uses GNU Classpath, I feel the IKVM is much better, but I still met some problems. 


I have a small test program  "TestSend.java" which sends the messages to JMS Server,
and it runs well :
---
javac TestSend.java
java TestSend
---> the messages are sended.
----


Then I compressed the TestSend to TestSend.jar and used "ikvmc" to convert it to TestSend.dll,
the converse was successful, but there were serveral warnings about some classes such like javax.jms.Queue (all from javax.jms.*)
missing ( which I already set it in system envirement variables, I tried to copy the jar files to the same ordner
of TestSend.java/class too, but there were still the warnings).

When I added the dll file as reference in my C# application, the program "died" at an unknow position, and
I got no exceptions , it just stayed and did't go on.

Later I tried to run the java application  with JVM "ikvm" to make sure whether the IKVM worked, Because I think if I
 could run it with IKVM in a command, then I could run it in my .Net application with the help of IKVM too, couldn't I?
I did the following in a command:
----
1. compile TestSend.java  again
2. run "java TestSend", and it worked.
3. run "ikvm TestSend", and it worked until about 30% and stoped without any response. 
----


Here it is the source code of the method "sending" in the java application which works through JNDI.:
--------------------------------------------------------------------------
 Hashtable jndiProps = new Hashtable();
  public void sending()throws Exception
  {
    System.out.println("11");
    jndiProps.put("java.naming.factory.initial",
                  "fr.dyade.aaa.jndi2.client.NamingContextFactory");
    jndiProps.put("java.naming.factory.host",
                  "localhost");
    jndiProps.put("java.naming.factory.port",
                  "16400");
 System.out.println("22");
    Context ictx = null;
 System.out.println("33");
    try {
      ictx = new InitialContext(jndiProps);
      System.out.println("init");
    }
    catch (NamingException e) {
      e.printStackTrace();
      System.out.println(e.toString());
    }

 System.out.println("44"); // output was showed in the command, then it hanged
      Queue queue = (Queue) ictx.lookup("queue");
      System.out.println(queue.toString()); // I didn't get this output 
       System.out.println("442");
      QueueConnectionFactory qcf = (QueueConnectionFactory) ictx.lookup("qcf");
System.out.println("55");
      ictx.close();
System.out.println("66");
      QueueConnection qc = qcf.createQueueConnection();
      System.out.println("77");
      QueueSession qs = qc.createQueueSession(true, 0);
      QueueSender qsend = qs.createSender(queue);
      TextMessage msg = qs.createTextMessage();

      int i;
      for (i = 0; i < 10; i++) {
        msg.setText("Test number " + i);
        qsend.send(msg);
      }
    System.out.println("88");
      qs.commit();

      System.out.println(i + " messages sent.");

      qc.close();
--------------------------------------------------------------------------------

The program hangs by "ictx.lookup", is it a bug ? Did anyone have the same problem? I
really need some help to solve it.

Thanks a lot!

Le

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT face=Arial size=2></FONT></DIV></DIV>
<DIV><FONT face=Arial size=2>my task is to use the Joram JMS (Java Messaging 
Service, provider JORAM) in&nbsp;my .Net(C#) application, at first </FONT></DIV>
<DIV><FONT face=Arial size=2>I used "jbimp" from .Net, but jbimp 
could&nbsp;never find the classpaths which I set, today&nbsp; I 
found</FONT></DIV>
<DIV><FONT face=Arial size=2>the tool IKVM which uses GNU Classpath, I feel the 
IKVM is much better, but I still met some problems. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have a small test program&nbsp; "TestSend.java" 
which sends the messages to JMS Server,</FONT></DIV>
<DIV><FONT face=Arial size=2>and it runs well :</FONT></DIV>
<DIV><FONT face=Arial size=2>---</FONT></DIV>
<DIV><FONT face=Arial size=2>javac TestSend.java</FONT></DIV>
<DIV><FONT face=Arial size=2>java TestSend</FONT></DIV>
<DIV><FONT face=Arial size=2>---&gt; the messages are sended.</FONT></DIV>
<DIV><FONT face=Arial size=2>----</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Then I compressed the TestSend to TestSend.jar and 
used "ikvmc" to convert it to TestSend.dll,</FONT></DIV>
<DIV><FONT face=Arial size=2>the converse was successful, but there were 
serveral warnings about some classes such like javax.jms.Queue (all from 
javax.jms.*)</FONT></DIV>
<DIV><FONT face=Arial size=2>missing ( which I already set it in system 
envirement variables, I tried to copy the jar files to the same 
ordner</FONT></DIV>
<DIV><FONT face=Arial size=2>of TestSend.java/class too, but there were still 
the warnings).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When I added the dll file as reference in my C# 
application, the program&nbsp;"died" at an unknow position, and</FONT></DIV>
<DIV><FONT face=Arial size=2>I got no exceptions , it just stayed and did't go 
on.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Later&nbsp;I tried to run the java 
application&nbsp; with JVM "ikvm" to make sure&nbsp;whether the IKVM worked, 
Because I think if I</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;could run it with IKVM in a command, <FONT 
face=Arial size=2>then I could run it&nbsp;in my .Net application with the help 
of IKVM too, couldn't I?</FONT></DIV>
<DIV>I did the following in a command:</FONT></DIV>
<DIV><FONT face=Arial size=2>----</FONT></DIV>
<DIV><FONT face=Arial size=2>1. compile TestSend.java&nbsp; again</FONT></DIV>
<DIV><FONT face=Arial size=2>2. run "java TestSend", and it worked.</FONT></DIV>
<DIV><FONT face=Arial size=2>3. run "ikvm TestSend", and it worked until about 
30% and stoped without&nbsp;any response.&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>----</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Here it is the source code of the method "sending" 
in the java application which works through JNDI.:</FONT></DIV>
<DIV><FONT face=Arial 
size=2>--------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;Hashtable jndiProps = new 
Hashtable();<BR>&nbsp; public void sending()throws Exception<BR>&nbsp; 
{<BR>&nbsp;&nbsp;&nbsp; System.out.println("11");<BR>&nbsp;&nbsp;&nbsp; 
jndiProps.put("java.naming.factory.initial",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"fr.dyade.aaa.jndi2.client.NamingContextFactory");<BR>&nbsp;&nbsp;&nbsp; 
jndiProps.put("java.naming.factory.host",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"localhost");<BR>&nbsp;&nbsp;&nbsp; 
jndiProps.put("java.naming.factory.port",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"16400");<BR>&nbsp;System.out.println("22");<BR>&nbsp;&nbsp;&nbsp; Context ictx 
= null;<BR>&nbsp;System.out.println("33");<BR>&nbsp;&nbsp;&nbsp; try 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ictx = new 
InitialContext(jndiProps);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
System.out.println("init");<BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; catch 
(NamingException e) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
e.printStackTrace();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
System.out.println(e.toString());<BR>&nbsp;&nbsp;&nbsp; }</FONT></DIV>
<DIV><FONT face=Arial 
size=2><BR>&nbsp;System.out.println("44");&nbsp;<STRONG><FONT color=#ff0000>// 
output was showed in the command, then 
it&nbsp;hanged</FONT></STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Queue queue = 
(Queue) ictx.lookup("queue");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
System.out.println(queue.toString()); /<STRONG><FONT color=#ff0000>/ I didn't 
get this output </FONT></STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
System.out.println("442");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
QueueConnectionFactory qcf = (QueueConnectionFactory) 
ictx.lookup("qcf");<BR>System.out.println("55");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ictx.close();<BR>System.out.println("66");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
QueueConnection qc = 
qcf.createQueueConnection();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
System.out.println("77");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QueueSession qs = 
qc.createQueueSession(true, 0);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QueueSender 
qsend = qs.createSender(queue);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TextMessage 
msg = qs.createTextMessage();</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int 
i;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (i = 0; i &lt; 10; i++) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; msg.setText("Test number " + 
i);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
qsend.send(msg);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; 
System.out.println("88");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
qs.commit();</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(i 
+ " messages sent.");</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
qc.close();<BR>--------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The program hangs by "ictx.lookup", is it a 
bug&nbsp;? Did anyone have the same problem? I</FONT></DIV>
<DIV>really need some help to solve it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks a lot!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Le</DIV></FONT></DIV></FONT></DIV></BODY></HTML>

--Boundary_(ID_VweB1w4ylpzJQoKGcNCpQw)--



From MAILER-DAEMON Tue Jul 12 19:21:54 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsU4X-0003KF-SS
	for mharc-classpath@gnu.org; Tue, 12 Jul 2005 19:21:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsU4V-0003Fw-HT
	for classpath@gnu.org; Tue, 12 Jul 2005 19:21:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsU3j-0002db-8f
	for classpath@gnu.org; Tue, 12 Jul 2005 19:21:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsTsZ-0006LR-UH
	for classpath@gnu.org; Tue, 12 Jul 2005 19:09:31 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DsTU6-0000Tn-4j
	for classpath@gnu.org; Tue, 12 Jul 2005 18:44:14 -0400
Received: (qmail invoked by alias); 12 Jul 2005 22:36:16 -0000
Received: from p213.54.204.183.tisdip.tiscali.de (EHLO [213.54.204.183])
	[213.54.204.183]
	by mail.gmx.net (mp016) with SMTP; 13 Jul 2005 00:36:16 +0200
X-Authenticated: #17532834
Message-ID: <42D446B2.1020709@gmx.net>
Date: Wed, 13 Jul 2005 00:39:46 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: Lillian Angel <langel@redhat.com>, GNU Classpath <classpath@gnu.org>
References: <1121196505.15991.56.camel@tow.toronto.redhat.com>
In-Reply-To: <1121196505.15991.56.camel@tow.toronto.redhat.com>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: 
Subject: Re: [cp-patches] Patch: formatting of copyrights
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 Jul 2005 23:21:52 -0000

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

Hi,
the patch is missing. Not that I want to peer review it, but IMHO kaffe
& gcj need it.

cu
Robert

Lillian Angel wrote:
> 2005-07-12 Lillian Angel <langel@redhat.com>
>         * javax/swing/JTree.java:
>         Formatting copyright
>         * javax/swing/tree/DefaultTreeCellRenderer.java:
>         Formatting copyright
>         * javax/swing/tree/DefaultTreeSelectionModel.java:
>         Formatting copyright
> 
> 
> 
> 
> _______________________________________________
> Classpath-patches mailing list
> Classpath-patches@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath-patches
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFC1EaxG9cfwmwwEtoRAndZAKCQROl529pLltFz3jWO5E/aezgGMwCfcNLk
tASlnj0DNxrisBqrKF9jax0=
=JkvR
-----END PGP SIGNATURE-----



From MAILER-DAEMON Wed Jul 13 08:37:25 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsgSM-0006WW-TW
	for mharc-classpath@gnu.org; Wed, 13 Jul 2005 08:35:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsgRo-00064E-9j
	for classpath@gnu.org; Wed, 13 Jul 2005 08:34:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsgNn-0003KJ-90
	for classpath@gnu.org; Wed, 13 Jul 2005 08:30:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsgMv-0001ZY-9O
	for classpath@gnu.org; Wed, 13 Jul 2005 08:29:41 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dsg8S-0005r6-Mr
	for classpath@gnu.org; Wed, 13 Jul 2005 08:14:45 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dsg0u-0005CS-00
	for <classpath@gnu.org>; Wed, 13 Jul 2005 14:06:56 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-fXgA/HlFKNP0RZFHfLM7"
Date: Wed, 13 Jul 2005 14:06:39 +0200
Message-Id: <1121256400.13727.19.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: 0.17 release Friday (SLOW DOWN!)
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 Jul 2005 12:35:15 -0000


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

Hi all,

We promised a "quick 0.17" release to get rid of the little buglets we
found in 0.16. But development never stops. We have had 150 commits
already since 0.16 (10+ each day). And most of this is really good
stuff. But there have also been some regressions. I would like to slow
down for two days and do the 0.17 we promised as "really stable" and
then move back into rapid development mode.

> Please work under the assumption that we can release a new version at
> any time. So think whether you would be embarrassed by a release that
> ships with the code that you are about the check in. If so, don't :)

So please no more patches with comments like "This patch may cause some
temporary regressions..". And please let me know what you intent to work
on till Friday. If there is anything essential that must go in, please
let the list know. And if possible sleep on your patches an extra night
if they are not essential to get into 0.17 (especially if they change
the build or native parts).

As far as I can see we don't have any major regressions, except maybe
the jar verification/logger code. Mauve tests look fine and major apps
work. So try to concentrate on fixing bugs for the next two days. And
please no big patches on Friday while I roll the release.

This was the list I posted just after 0.16:

> So if people feel we need a new release soon then here are some extra
> goals for 0.17:
> - Get XML DOM fixes in.
>   Done. Chris, I assume you want to see all other fixes also deployed
>   soon.

Done.

> - Update integration manual.
>   Andrew Hughes posted a RFC:
>   http://lists.gnu.org/archive/html/classpath/2005-06/msg00104.html

I will go over this and give comments soon. (Sorry Andrew)

> - swing busy paint/validate loops cleanups
>   The removal of paint() and revalidate() has improved the feel of
>   free swing a lot and although there are some small redrawing issue
>   I think this is a big improvement on usability over 0.16. Roman, do
>   you feel this is an improvement? What other fixes do you think are
>   essential to fixup any remaining drawing glitches before 0.17?

Done. And indeed a big improvement. Our free swing is really improving a
lot these last few days. Great work!

> - gcj 3.4 miscompilation (not found yet)
>   This was reported on irc. The GNU Classpath Examples Swing Demo
>   doesn't receive any button events. If at all possible I like to find
>   a workaround for this issue since I want to switch to gcj 4.0 soon.
>   It would be nice to have the last release that supported gcj < 4
>   actually works for our demos.

Still not found. Not really looked yet to be honest.
But I won't make this a showstopper.

> - has someone looked at this error? I see it a lot when trying out
>   various swing examples, but don't have a sure way to replicate yet:
>   Exception during event dispatch:
>   java.lang.ClassCastException: javax/swing/JMenuItem
>     at java.awt.DefaultKeyboardFocusManager.dispatchEvent
>        (DefaultKeyboardFocusManager.java:197)
>     at java.awt.EventDispatchThread.run (EventDispatchThread.java:74)

Fixed.

> - when zip not found classes are not compiled/installated?
>   Reported by Stephane for cygwin.

Not looked at. Nasty, but not a showstopper.

> - There were some hangs reported with eclipse. I have seen this happen
>   myself now, although I think this is not new. It looks like our
>   io/net can get interrupted somehow and doesn't recover correctly.
>   (look at libgcj CNI code to see if they deal with this better then
>   our JNI code).

A bit better with some of the native nio and net code.
Checking out a large repository like classpath from eclipse still hangs
from time to time. Maybe something to do with the VMProcess input/output
pipe streams?

> - In general get all the new cool stuff already done (and being done
>   this week) ready to rock! Corba updates, ObjectStreamClass fixes,
>   build/configure fixes, FSF address change, Swing/AWT documentation
>   updates, jtable fixes, etc, all already done since 0.16 was
>   released.

And lots of other new goodies!
Please add a little section to the NEWS file if you added something
nice.

Thanks,

Mark


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

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

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

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

iD8DBQBC1QPPxVhZCJWr9QwRAq12AKCigYnqTtjjQ7nBP6FUFfxE3LNxigCeIIj4
qQcObm6f+5wIgmOfLTMCiiY=
=/vEt
-----END PGP SIGNATURE-----

--=-fXgA/HlFKNP0RZFHfLM7--




From MAILER-DAEMON Wed Jul 13 09:46:44 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DshZ0-0008Vm-6P
	for mharc-classpath@gnu.org; Wed, 13 Jul 2005 09:46:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DshW1-0006pB-1Q
	for classpath@gnu.org; Wed, 13 Jul 2005 09:43:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DshV3-00067k-Bz
	for classpath@gnu.org; Wed, 13 Jul 2005 09:42:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DshUy-0005yG-KZ
	for classpath@gnu.org; Wed, 13 Jul 2005 09:42:04 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DshT5-0004uK-2P
	for classpath@gnu.org; Wed, 13 Jul 2005 09:40:07 -0400
Received: (qmail invoked by alias); 13 Jul 2005 13:32:00 -0000
Received: from p213.54.222.251.tisdip.tiscali.de (EHLO [213.54.222.251])
	[213.54.222.251]
	by mail.gmx.net (mp009) with SMTP; 13 Jul 2005 15:32:00 +0200
X-Authenticated: #17532834
Message-ID: <42D518A3.8090003@gmx.net>
Date: Wed, 13 Jul 2005 15:35:31 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
References: <1121256400.13727.19.camel@localhost.localdomain>
In-Reply-To: <1121256400.13727.19.camel@localhost.localdomain>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: 
Subject: Re: 0.17 release Friday (SLOW DOWN!)
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 Jul 2005 13:46:12 -0000

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

Hi,
thats funny. A maintainer who tries to slow down the development pace ... :)

My plans untils friday:
- - fix the remaing actionCommand things
- - implement the 4 missing methods in JTree (if no one is faster than me)

cu
Robert

> So please no more patches with comments like "This patch may cause some
> temporary regressions..".
No problem. I am in bugfix mode currently. :)

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

iD8DBQFC1RijG9cfwmwwEtoRAkD3AJ0Qji8z/WlvbvqTzGkOhKZU6vtQVQCfabke
SWHS3kjzYGCBnaT2E8RFqFs=
=xvOA
-----END PGP SIGNATURE-----



From MAILER-DAEMON Wed Jul 13 13:55:26 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DslS8-0001GU-SF
	for mharc-classpath@gnu.org; Wed, 13 Jul 2005 13:55:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DslS5-0001Em-GA
	for classpath@gnu.org; Wed, 13 Jul 2005 13:55:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DslS3-0001Du-0y
	for classpath@gnu.org; Wed, 13 Jul 2005 13:55:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DslS2-0001DW-Tu
	for classpath@gnu.org; Wed, 13 Jul 2005 13:55:18 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DslXf-0008PX-Bq
	for classpath@gnu.org; Wed, 13 Jul 2005 14:01:07 -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 j6DHqwoc007792;
	Wed, 13 Jul 2005 13:52:58 -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 j6DHqwV27380; 
	Wed, 13 Jul 2005 13:52:58 -0400
Received: from tony.toronto.redhat.com (tony.toronto.redhat.com
	[172.16.14.158])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	j6DHqv1M008397; Wed, 13 Jul 2005 13:52:57 -0400
From: Anthony Balkissoon <abalkiss@redhat.com>
To: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
In-Reply-To: <42D518A3.8090003@gmx.net>
References: <1121256400.13727.19.camel@localhost.localdomain>
	<42D518A3.8090003@gmx.net>
Content-Type: text/plain
Date: Wed, 13 Jul 2005 11:35:55 -0400
Message-Id: <1121268955.22135.5.camel@tony.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-11.fc5) 
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Re: 0.17 release Friday (SLOW DOWN!)
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 Jul 2005 17:55:23 -0000

No problem.  Mark, I committed that patch we talked about on IRC
yesterday fixing DefaultButtonModel and JToggleButton.ToggleButtonModel.
>From now until Friday I will look for and fix small bugs as well as run
some test apps.

Cheers,
Tony




From MAILER-DAEMON Wed Jul 13 16:01:31 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsnQA-0004nr-NT
	for mharc-classpath@gnu.org; Wed, 13 Jul 2005 16:01:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsnQ8-0004ms-Fh
	for classpath@gnu.org; Wed, 13 Jul 2005 16:01:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsnQ5-0004l7-Gu
	for classpath@gnu.org; Wed, 13 Jul 2005 16:01:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsnQ4-0004ku-Ii
	for classpath@gnu.org; Wed, 13 Jul 2005 16:01:25 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DsnUj-0008Cv-LB
	for classpath@gnu.org; Wed, 13 Jul 2005 16:06:13 -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 j6DJvwG4020714;
	Wed, 13 Jul 2005 15:57:58 -0400
Received: from opsy.redhat.com (vpn50-2.rdu.redhat.com [172.16.50.2])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6DJvvV09332; 
	Wed, 13 Jul 2005 15:57:57 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id F2DA52DD959; Wed, 13 Jul 2005 13:54:45 -0600 (MDT)
Sender: tromey@redhat.com
To: Mark Wielaard <mark@klomp.org>
References: <1121256400.13727.19.camel@localhost.localdomain>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 13 Jul 2005 13:54:45 -0600
In-Reply-To: <1121256400.13727.19.camel@localhost.localdomain>
Message-ID: <m3vf3ewkfu.fsf@localhost.localdomain>
Lines: 9
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: 0.17 release Friday (SLOW DOWN!)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Jul 2005 20:01:29 -0000

Mark> But there have also been some regressions. I would like to slow
Mark> down for two days and do the 0.17 we promised as "really stable" and
Mark> then move back into rapid development mode.

If development is going this fast, then we need to start making
release branches.  That way we can port specific fixes to the release
without slowing down general development.

Tom



From MAILER-DAEMON Wed Jul 13 20:19:27 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsrRm-0006ex-O1
	for mharc-classpath@gnu.org; Wed, 13 Jul 2005 20:19:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsqjF-0005OE-Hy
	for classpath@gnu.org; Wed, 13 Jul 2005 19:33:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsmCS-0001l8-QD
	for classpath@gnu.org; Wed, 13 Jul 2005 14:43:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DsmBl-00018x-JX
	for classpath@gnu.org; Wed, 13 Jul 2005 14:42:33 -0400
Received: from [212.85.153.228] (helo=ryu.zarb.org)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dslvs-0001Xv-9q
	for classpath@gnu.org; Wed, 13 Jul 2005 14:26:08 -0400
Received: by ryu.zarb.org (Postfix, from userid 74)
	id F39D26011AB; Wed, 13 Jul 2005 20:17:55 +0200 (CEST)
Received: from skylane.ncsl.nist.gov (skylane.ncsl.nist.gov [129.6.54.129])
	by www.zarb.org (Horde) with HTTP for <david@www.zarb.org>; Wed, 13 Jul
	2005 14:17:55 -0400
Message-ID: <20050713141755.fzsm8tic2ssk8oos@www.zarb.org>
X-Priority: 3 (Normal)
Date: Wed, 13 Jul 2005 14:17:55 -0400
From: David Walluck <david@zarb.org>
To: Martin Kauss <bishoph@open-xchange.org>
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<20050709075427.GA24894@bluezoo.org>
	<6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<13623369.1121274332840.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
In-Reply-To: <13623369.1121274332840.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
MIME-Version: 1.0
Content-Type: text/plain;
	charset=ISO-8859-1;
	format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.0.1)
X-Mailman-Approved-At: Wed, 13 Jul 2005 20:19:25 -0400
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>, For developers <devel@open-xchange.org>
Subject: Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 23:40:51 -0000

Martin Kauss <bishoph@open-xchange.org> wrote:

> The complete part "Rights" is missing in the classpath
> implementation or i was not able to find it
> (http://www.gnu.org/software/classpathx/javamail/javadoc/alphaindex.html).

The problem is that Rights, as well as ACL and Quota, are in a com.sun 
package.

Quoting from the documentation:

``In general, applications should not need to use the classes in this package
directly. Instead, they should use the APIs defined by javax.mail package (and
subpackages).

...

WARNING: The APIs unique to this package should be considered 
EXPERIMENTAL. They
may be changed in the future in ways that are incompatible with applications
using the current APIs.''

The problem is that we have public javax.mail API's that return class 
instances
from the internal package com.sun.mail.

-- 
Sincerely,

David Walluck
<david@zarb.org>

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




From MAILER-DAEMON Wed Jul 13 20:19:27 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsrRn-0006fF-B7
	for mharc-classpath@gnu.org; Wed, 13 Jul 2005 20:19:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dsr0x-0002ix-L5
	for classpath@gnu.org; Wed, 13 Jul 2005 19:51:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DslA9-0008JD-80
	for classpath@gnu.org; Wed, 13 Jul 2005 13:36:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dsl7f-0007il-0t
	for classpath@gnu.org; Wed, 13 Jul 2005 13:34:15 -0400
Received: from [62.225.134.190] (helo=netline.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dsknm-00057c-QS
	for classpath@gnu.org; Wed, 13 Jul 2005 13:13:43 -0400
Received: from [192.168.32.7] (helo=ox.netline-is.de)
	by netline.de with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim)
	id 1DskWq-0007yJ-00; Wed, 13 Jul 2005 18:56:12 +0200
Received: by ox.netline-is.de (Postfix, from userid 65534)
	id 1EA4469317; Wed, 13 Jul 2005 19:05:33 +0200 (CEST)
Received: from ox.netline-is.de (unknown [127.0.0.1])
	by ox.netline-is.de (Postfix) with ESMTP id CA2CD69307;
	Wed, 13 Jul 2005 19:05:32 +0200 (CEST)
Message-ID: <13623369.1121274332840.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
Date: Wed, 13 Jul 2005 19:05:32 +0200 (CEST)
From: Martin Kauss <bishoph@open-xchange.org>
To: For developers <devel@open-xchange.org>
In-Reply-To: <6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Priority: 3 (normal)
X-Mailer: OPEN-XCHANGE 5017 - WebMail
X-Operating-System: Linux 2.6.5-7.155.29-smp i386 (JVM 1.4.2_06)
Organization: Netline Internet Service GmbH
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<20050709075427.GA24894@bluezoo.org>
	<6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
X-Scanner: exiscan *1DskWq-0007yJ-00*Poe698pnPJA*
	http://duncanthrax.net/exiscan/
X-Mailman-Approved-At: Wed, 13 Jul 2005 20:19:25 -0400
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>
Subject: Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 23:51:46 -0000

On Jul 09, 2005 01:21 PM, Martin Kauss <bishoph@open-xchange.org> wrote:

> On Jul 09, 2005 09:54 AM, Chris Burdess <dog@bluezoo.org> wrote:
> 
> > Martin Kauss wrote:
> > > > So what I understand is this: (Correct me if I'm wrong)
> > > > 1. Problems with servlets are solvable with free Java tools, and these 
> > > > are not major showstoppers
> > > 
> > > I am not aware of any servlet issues at all, tomcat for example
> > > should provide all necessary libraries.
> > 
> > GNU provides the servlet API 2.4:
> > 
> >   cvs -d anoncvs@savannah.gnu.org:/cvsroot/classpathx co servletapi
> > 
> > If a package is needed I can make one.
> > 
> > > > 3. Main problem is that the free Javamail does not implement some 
> > > > methods that are needed by OX.
> > > 
> > > Correct. 
> > 
> > I haven't heard any issues raised on classpathx-javamail@gnu.org or
> > submitted as bugs or patches at
> > 
> >   http://savannah.gnu.org/projects/classpathx
> > 
> > GNU JavaMail provides all the API methods provided by the JavaMail API.
> > If OX depends on com.sun APIs or on undocumented session properties,
> > this is an issue for OX to resolve. If there is functionality you want
> > exposing, there should be no problem, but you have to let us know.
> > 
> > > Finally i would like to mention that Sun do a great Job for Javamail
> > > with the mail protocol support and with the supported mail servers
> > > and IMHO it will not be easy to get to the same functionality.
> > 
> > GNU JavaMail doesn't explicitly support servers, it implements the
> > published standards. Sun's implementation supports 3 providers
> > (IMAP4, POP3, SMTP). GNU JavaMail supports 6 providers (IMAP4rev1, POP3,
> > SMTP, NNTP, mbox, Maildir) and we had SASL and STARTTLS support long
> > before Sun. Arguably we provide considerably more functionality.
> > -- 
> > Chris Burdess
> > 
> 
> 
> Hi,
> 
> first of all i want to state that i do not want to start
> a discussion like vi/emacs, linux/windows or something
> similar. For us, freedom of choice is importend and if the
> classpath project fits the needs - it is just fine.
> 
> Only one statement i want to clarify:
> I wrote that the Javamail API supports servers - maybe i should
> say that it has been tested against several servers 
> (like mentioned in the notes, http://java.sun.com/products/javamail/NOTES13.txt).
> 
> 
> I will discuss the issue of "undocumented" calls at the beginning of the next
> week with our developer team and i will check again the classpath
> API because - like i wrote - i tested some month ago and
> at this time some methods were not included. I want to be up-to-date.
> 
> Please be patient until we have investigated the details.
> 
> 
> Best regards,
> 
> Martin Kauss
> 




Hi again,

as i told you we have tested the current 
GNU classapth javamail version against OX.

Here are the results:

The complete part "Rights" is missing in the classpath
implementation or i was not able to find it 
(http://www.gnu.org/software/classpathx/javamail/javadoc/alphaindex.html).

However, there is another big issue:
If you take a deeper look into the implementation,
related to the errors you get from your compiler,
you see that the methods just do not match:

http://www.gnu.org/software/classpathx/javamail/javadoc/gnu/mail/providers/imap/IMAPFolder.html
http://java.sun.com/products/javamail/1.3/docs/javadocs/com/sun/mail/imap/IMAPFolder.html


There are some other minor issues, but the ones above
are really big ones.


I am not sure what was meant with this "undocumented" stuff,
but maybe somebody can comment this and our results.


Best regards,

Martin Kauss





From MAILER-DAEMON Wed Jul 13 20:38:51 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DsrkZ-0001zb-GB
	for mharc-classpath@gnu.org; Wed, 13 Jul 2005 20:38:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DsrkX-0001xf-9D
	for classpath@gnu.org; Wed, 13 Jul 2005 20:38:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DsrkW-0001x3-4T
	for classpath@gnu.org; Wed, 13 Jul 2005 20:38:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dsrfv-0007Wu-Qq
	for classpath@gnu.org; Wed, 13 Jul 2005 20:34:03 -0400
Received: from [213.46.255.17] (helo=viefep16-int.chello.at)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DsrSG-0005fw-R2
	for classpath@gnu.org; Wed, 13 Jul 2005 20:19:57 -0400
Received: from workstation.home.at ([213.47.70.108]) by viefep16-int.chello.at
	(InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP
	id <20050714001138.FVKV2489.viefep16-int.chello.at@workstation.home.at>;
	Thu, 14 Jul 2005 02:11:38 +0200
From: Christian Thalinger <twisti@complang.tuwien.ac.at>
To: harmony-dev-ml <harmony-dev@incubator.apache.org>,
	classpath-ml <classpath@gnu.org>,
	cacaodev ml <cacaodev@complang.tuwien.ac.at>
Content-Type: text/plain
Date: Thu, 14 Jul 2005 02:11:38 +0200
Message-Id: <1121299898.4952.38.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Content-Transfer-Encoding: 7bit
Cc: 
Subject: CACAO 0.92 "Tomclipse" released
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 Jul 2005 00:38:49 -0000

CACAO 0.92 "Tomclipse" released.

Long time ago since our last release (Dec. 23rd, 2004), but the
changes we made took that long. Here is a short list of the most
important changes:

  * runtime lazy-loading with code patching
  * dynamic library loading on every platform we support (using
    libltdl)
  * new ICMDs (PUTSTATICCONST, PUTFIELDCONST)
  * some ICMDs inlined (IDIV/IREM, LDIV/LREM, AASTORE, ARRAYCHECKCAST)
  * register allocator uses unused argument registers
  * stacktraces on MIPS, PowerPC and x86_64
  * integration of GNU classpath's system class loader
  * internal class loading code more Java VM Spec compliant
    (classcache, loading constraints, ...)
  * virtual function table bugfix (abstract class implements not all
    interface methods)
  * initial support for thread dump on SIGQUIT (<ctrl>-\) on most
    platforms
  * GNU classpath 0.16
  * Boehm GC 6.5

This is the first release which can start up some major Java
applications like Eclipse or Jakarta Tomcat. Furthermore the Spec
JVM98 runs without problems on most platforms (for details see
website) and some benchmarks of the Dacapo benchmark suite. We still
have some unresolved problems with GUI applications, which may also
apply to Eclipse.

The currently supported architectures are:

Alpha, i386, MIPS (64-bit), PowerPC (32-bit) and x86_64

CACAO is now also able to use an external GNU classpath with:

  --with-external-classpath=<dir>

So, CVS versions of GNU classpath can be tried and developed with
CACAO.

Information about working applications and some screenshots can be
found on http://www.cacaojvm.org/

CACAO 0.92 can be downloaded from
http://www.cacaojvm.org/download/cacao-0.92/

File: cacao-0.92.tar.gz
md5sum: af8b5a739c4f5cba945fa44ae3c2f8f0
sha1sum: cde5c73c51cdb08cd3df2ca224457cf98f31d6e6

The CACAO Team
cacao@cacaojvm.org





From MAILER-DAEMON Wed Jul 13 22:02:25 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dst3R-0002mU-6v
	for mharc-classpath@gnu.org; Wed, 13 Jul 2005 22:02:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dst1F-0002OG-Rd
	for classpath@gnu.org; Wed, 13 Jul 2005 22:00:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dst0r-0002CA-3l
	for classpath@gnu.org; Wed, 13 Jul 2005 21:59:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dst0q-0002BJ-LB
	for classpath@gnu.org; Wed, 13 Jul 2005 21:59:44 -0400
Received: from [130.102.104.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dst5j-0002rF-MP
	for classpath@gnu.org; Wed, 13 Jul 2005 22:04:48 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.13.0/8.13.0) with ESMTP id j6E1t4o2007601;
	Thu, 14 Jul 2005 11:55:05 +1000 (EST)
Message-Id: <200507140155.j6E1t4o2007601@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: David Walluck <david@zarb.org>
In-Reply-To: Message from David Walluck <david@zarb.org> of "Wed,
	13 Jul 2005 14:17:55 -0400."
	<20050713141755.fzsm8tic2ssk8oos@www.zarb.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 14 Jul 2005 11:56:03 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.45 (DSTC)
Cc: Martin Kauss <bishoph@open-xchange.org>,
	Fedora-Java <fedora-devel-java-list@redhat.com>,
	crawley@piglet.dstc.edu.au, Classpath <classpath@gnu.org>,
	For developers <devel@open-xchange.org>
Subject: Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6 
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 Jul 2005 02:02:24 -0000


You wrote:
> The problem is that we have public javax.mail API's that return class 
> instances from the internal package com.sun.mail.

Really?

My reading was that the javax.mail.Folder is clean.  The problem is
that some key public methods com.sun.mail.imap.IMAPFolder do not have 
corresponding methods in a javax.mail.* interface.  

The net result is that someone trying to access the "IMAP ACL extension" 
functionality cannot avoid using vendor specific APIs.  The same applies
to other IMAP functionality and to functionality in the other providers.

Someone ought to report this to Sun as a defect in the JavaMail 1.3
APIs.  The APIs have not been touched since JSR 919 in 2002!

-- Steve




From MAILER-DAEMON Thu Jul 14 09:17:06 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dt3aM-0007q4-6m
	for mharc-classpath@gnu.org; Thu, 14 Jul 2005 09:17:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dt3QE-0003ud-JZ
	for classpath@gnu.org; Thu, 14 Jul 2005 09:06:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dt3QA-0003u9-JB
	for classpath@gnu.org; Thu, 14 Jul 2005 09:06:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dt3Pw-0003eC-2d
	for classpath@gnu.org; Thu, 14 Jul 2005 09:06:20 -0400
Received: from [62.225.134.190] (helo=netline.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dt31e-000066-Fd
	for classpath@gnu.org; Thu, 14 Jul 2005 08:41:14 -0400
Received: from [192.168.32.7] (helo=ox.netline-is.de)
	by netline.de with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim)
	id 1Dt2kP-0002yH-00; Thu, 14 Jul 2005 14:23:25 +0200
Received: by ox.netline-is.de (Postfix, from userid 65534)
	id 5129E34FAD; Thu, 14 Jul 2005 14:32:58 +0200 (CEST)
Received: from ox.netline-is.de (unknown [127.0.0.1])
	by ox.netline-is.de (Postfix) with ESMTP id 50CEF34F99;
	Thu, 14 Jul 2005 14:32:57 +0200 (CEST)
Message-ID: <26613121.1121344377342.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
Date: Thu, 14 Jul 2005 14:32:57 +0200 (CEST)
From: Martin Kauss <bishoph@open-xchange.org>
To: For developers <devel@open-xchange.org>
In-Reply-To: <20050713141755.fzsm8tic2ssk8oos@www.zarb.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Priority: 3 (normal)
X-Mailer: OPEN-XCHANGE 5017 - WebMail
X-Operating-System: Linux 2.6.5-7.155.29-smp i386 (JVM 1.4.2_06)
Organization: Netline Internet Service GmbH
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<20050709075427.GA24894@bluezoo.org>
	<6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<13623369.1121274332840.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
	<20050713141755.fzsm8tic2ssk8oos@www.zarb.org>
X-Scanner: exiscan *1Dt2kP-0002yH-00*jPGVY9npdJI*
	http://duncanthrax.net/exiscan/
X-Mailman-Approved-At: Thu, 14 Jul 2005 09:17:02 -0400
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>
Subject: Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 13:06:39 -0000

Am Jul 13, 2005 08:17 PM schrieb David Walluck <david@zarb.org>:

> Martin Kauss <bishoph@open-xchange.org> wrote:
> 
> > The complete part "Rights" is missing in the classpath
> > implementation or i was not able to find it
> > (http://www.gnu.org/software/classpathx/javamail/javadoc/alphaindex.html).
> 
> The problem is that Rights, as well as ACL and Quota, are in a com.sun 
> package.
> 
> Quoting from the documentation:
> 
> ``In general, applications should not need to use the classes in this package
> directly. Instead, they should use the APIs defined by javax.mail package (and
> subpackages).
> 
> ...
> 
> WARNING: The APIs unique to this package should be considered 
> EXPERIMENTAL. They
> may be changed in the future in ways that are incompatible with applications
> using the current APIs.''
> 
> The problem is that we have public javax.mail API's that return class 
> instances
> from the internal package com.sun.mail.
> 
> -- 
> Sincerely,
> 
> David Walluck
> <david@zarb.org>
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 



Hi.

OX makes use of the class IMAPFolder and there you have the method
addRights(ACL acl) which lead us to setRights(Rights rights)
and there we find the Rights.

The GNU classpath javamail API does not have the method addRights(ACL acl)
and no setRights(Rights rights) in the IMAPFolder class, see

http://www.gnu.org/software/classpathx/javamail/javadoc/gnu/mail/providers/imap/IMAPFolder.html

The main issue is not to use class instances (replacements),
the main issue is that the classpath API does currently not
implement methods needed by OX.

However, you are right, the class is experimental,
but for some reasons also the GNU classpath people
have implement a clone of this class. In fact we/you
have to investigate if OX can offer the same functionality
by using other classes and what is the effort/benefit
of such a change.


Greetings,

Martin Kauss





From MAILER-DAEMON Thu Jul 14 13:15:29 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dt7I8-0002Oz-LP
	for mharc-classpath@gnu.org; Thu, 14 Jul 2005 13:14:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dt7Hu-0002Hn-Mx
	for classpath@gnu.org; Thu, 14 Jul 2005 13:14:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dt7Hj-0002CI-My
	for classpath@gnu.org; Thu, 14 Jul 2005 13:14:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dt7Hi-0002A9-O6
	for classpath@gnu.org; Thu, 14 Jul 2005 13:14:06 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dt7L7-0003iE-7r
	for classpath@gnu.org; Thu, 14 Jul 2005 13:17:37 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dt7DD-0001i9-00; Thu, 14 Jul 2005 19:09:27 +0200
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <m3vf3ewkfu.fsf@localhost.localdomain>
References: <1121256400.13727.19.camel@localhost.localdomain>
	<m3vf3ewkfu.fsf@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-RklAOMRrJS2SYBKK74v9"
Date: Thu, 14 Jul 2005 19:09:12 +0200
Message-Id: <1121360952.5558.57.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org
Subject: Re: 0.17 release Friday (SLOW DOWN!)
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 Jul 2005 17:14:25 -0000


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

Hi,

On Wed, 2005-07-13 at 13:54 -0600, Tom Tromey wrote:
> If development is going this fast, then we need to start making
> release branches.  That way we can port specific fixes to the release
> without slowing down general development.

I want everybody to slow down from time to time for a release.
So we all take a step back and look at what we have done.

But if there are people who want volunteer to maintain such release
branches then please speak up!

In this case we probably should have decided to do an immediate 0.17 and
not wait a week, or do a 0.17 after one or two months again so people
didn't have to slow down again. I hadn't expected development to pick up
so quickly after 0.16. We only slow down for a couple of days every two
months. I think that is the best thing to do given the rapid development
that we are currently seeing.

Cheers,

Mark

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

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

iD8DBQBC1pw4xVhZCJWr9QwRAvPRAJ94FSWV/dqpJHHH9EG158q6EECu9gCfXPx6
fs9lqkLl9Rg+XNjXMos3PvQ=
=Xz1D
-----END PGP SIGNATURE-----

--=-RklAOMRrJS2SYBKK74v9--




From MAILER-DAEMON Thu Jul 14 14:31:20 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dt8UR-00046y-F0
	for mharc-classpath@gnu.org; Thu, 14 Jul 2005 14:31:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dt8UN-00045o-TJ
	for classpath@gnu.org; Thu, 14 Jul 2005 14:31:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dt8UI-00042x-DV
	for classpath@gnu.org; Thu, 14 Jul 2005 14:31:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dt8UI-00042u-AA
	for classpath@gnu.org; Thu, 14 Jul 2005 14:31:10 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dt8Xe-0000Tc-2B
	for classpath@gnu.org; Thu, 14 Jul 2005 14:34:38 -0400
Received: from 82-69-92-124.dsl.in-addr.zen.co.uk ([82.69.92.124]
	helo=[10.0.1.2]) by dinopsis.arachsys.com with asmtp (Exim 3.35 #1)
	id 1Dt8PT-0006Xo-00; Thu, 14 Jul 2005 19:26:11 +0100
In-Reply-To: <26613121.1121344377342.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<20050709075427.GA24894@bluezoo.org>
	<6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<13623369.1121274332840.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
	<20050713141755.fzsm8tic2ssk8oos@www.zarb.org>
	<26613121.1121344377342.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
Mime-Version: 1.0 (Apple Message framework v622)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <fed77c6bda6267a049cd72581169091e@bluezoo.org>
Content-Transfer-Encoding: 7bit
From: Chris Burdess <dog@bluezoo.org>
Date: Thu, 14 Jul 2005 19:26:11 +0100
To: Martin Kauss <bishoph@open-xchange.org>
X-Mailer: Apple Mail (2.622)
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>, For developers <devel@open-xchange.org>
Subject: Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 18:31:17 -0000

Martin Kauss wrote:
>> The problem is that Rights, as well as ACL and Quota, are in a com.sun
>> package.
>
> OX makes use of the class IMAPFolder and there you have the method
> addRights(ACL acl) which lead us to setRights(Rights rights)
> and there we find the Rights.
>
> The GNU classpath javamail API does not have the method addRights(ACL  
> acl)
> and no setRights(Rights rights) in the IMAPFolder class, see
>
> http://www.gnu.org/software/classpathx/javamail/javadoc/gnu/mail/ 
> providers/imap/IMAPFolder.html
>
> The main issue is not to use class instances (replacements),
> the main issue is that the classpath API does currently not
> implement methods needed by OX.

You haven't asked for them at any time, so it hasn't even been on our  
to-do list.

> However, you are right, the class is experimental,

It's not that it's experimental. It's that it's a private Sun  
implementation, it is not part of the API, and it will never be present  
in a free Java runtime.

> but for some reasons also the GNU classpath people
> have implement a clone of this class.

It's not a clone. It's a completely different private implementation,  
that is still not part of the API.

As Stephen Crawley noted, the problem is that the public API is  
underspecified and in order to use advanced IMAP functionality you need  
to use private implementations.

> In fact we/you
> have to investigate if OX can offer the same functionality
> by using other classes and what is the effort/benefit
> of such a change.

The underlying library used by the GNU providers is called inetlib. It  
provides a much lower-level API to IMAP and other network protocols. If  
you want performance, and you can live without a MIME framework, it may  
be of interest to you.

If you just want ACL support in the GNU IMAP provider, we can schedule  
it in for the next release.
-- 
Chris Burdess




From MAILER-DAEMON Thu Jul 14 15:16:23 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dt9C2-0007JS-UI
	for mharc-classpath@gnu.org; Thu, 14 Jul 2005 15:16:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dt9C0-0007HP-7U
	for classpath@gnu.org; Thu, 14 Jul 2005 15:16:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dt9Bv-0007FE-Bj
	for classpath@gnu.org; Thu, 14 Jul 2005 15:16:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dt9Bu-0007DE-Qj
	for classpath@gnu.org; Thu, 14 Jul 2005 15:16:14 -0400
Received: from [195.186.19.61] (helo=mail12.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dt9F4-0003hs-Cm
	for classpath@gnu.org; Thu, 14 Jul 2005 15:19:30 -0400
Received: from [127.0.0.1] (83.76.210.153) by mail12.bluewin.ch (Bluewin
	7.2.063) id 42D27D850009A792 for classpath@gnu.org;
	Thu, 14 Jul 2005 19:11:03 +0000
Message-ID: <42D6B8C9.1040802@bluewin.ch>
Date: Thu, 14 Jul 2005 21:11:05 +0200
From: Meskauskas Audrius <audriusa@bluewin.ch>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "classpath@gnu.org" <classpath@gnu.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Suggesting public GNU Classpath namespace
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: audriusa@bluewin.ch
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Jul 2005 19:16:21 -0000

 > The problem is that Rights, as well as ACL and Quota, are in a 
com.sun package.

There is an idea to suggest the public name space in our Classpath that 
would not be a part of java, javax and so on API, but where we could 
release the classes we are promising to keep stable and compatible for 
future releases. This would allow to solve cases when we have something 
implemented, but must keep undocumented just because the matching Sun 
class is in sun.* name space.  This name space could be automatically 
included into our API doc and would be a place where we could place the 
independent implementations of something remembering the sun.* classes.  
Also our own extensions like HTML to DOM parser or CORBA 3.0.3 features 
that are defined in mine OMG book but not yet supported by jdk 1.5. The 
proposed prefix could be something like "gnu.org" or "fsf" (direct 
analog to "sun") or similar. Maybe somebody more competent in software 
licensing could check if we are allowed to do this (we have a lot of 
classes gnu. name space anyway).

Audrius.




From MAILER-DAEMON Thu Jul 14 20:53:08 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtERu-0008SC-Oz
	for mharc-classpath@gnu.org; Thu, 14 Jul 2005 20:53:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtERo-0008Pa-BY
	for classpath@gnu.org; Thu, 14 Jul 2005 20:53:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtERf-0008L5-CY
	for classpath@gnu.org; Thu, 14 Jul 2005 20:52:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtERd-0008Ip-RC
	for classpath@gnu.org; Thu, 14 Jul 2005 20:52:49 -0400
Received: from [130.102.104.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtEQJ-0006aK-F1
	for classpath@gnu.org; Thu, 14 Jul 2005 20:51:28 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.13.0/8.13.0) with ESMTP id j6F0fh0f011620;
	Fri, 15 Jul 2005 10:41:44 +1000 (EST)
Message-Id: <200507150041.j6F0fh0f011620@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Chris Burdess <dog@bluezoo.org>
In-Reply-To: Message from Chris Burdess <dog@bluezoo.org> of "Thu,
	14 Jul 2005 19:26:11 +0100."
	<fed77c6bda6267a049cd72581169091e@bluezoo.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 15 Jul 2005 10:42:42 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.45 (DSTC)
Cc: Classpath <classpath@gnu.org>
Subject: Use of 'inetlib' by Classpath mail providers 
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, 15 Jul 2005 00:53:03 -0000


Chris Burdess <dog@bluezoo.org>:
> The underlying library used by the GNU providers is called inetlib. It  
> provides a much lower-level API to IMAP and other network protocols. If  
> you want performance, and you can live without a MIME framework, it may  
> be of interest to you.

This worries me a bit.

While I can see that using a native library here reduces the amount of
work to get the protocols supported there are clear disadvantages:

  1)  If a Java application's use of the javax.mail.* etc APIs tickled
      a bug in the provider layer, there is a good chance that the VM
      will crash or behave unpredictably.

  2)  By using a "well-known" native library in the network stack, you 
      are potentially laying VMs open to security exploits by buffer
      overruns, etc.

  3)  It increases the Java platform's dependencies on external libraries.
      This may be problematic.  For example, suppose someone wanted to
      port (say) SableVM to an OS platform that did not support inetlib.
      [I'd guess that Windows was an example ...]

IMO, it would be a GOOD THING if you could reimplement the mail protocol
stack(s) in Java.

-- Steve




From MAILER-DAEMON Thu Jul 14 21:28:13 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtEzq-0006F4-UJ
	for mharc-classpath@gnu.org; Thu, 14 Jul 2005 21:28:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtEzl-0006C9-8M
	for classpath@gnu.org; Thu, 14 Jul 2005 21:28:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtEzh-00069z-8P
	for classpath@gnu.org; Thu, 14 Jul 2005 21:28:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtEzg-0005lD-4i
	for classpath@gnu.org; Thu, 14 Jul 2005 21:28:00 -0400
Received: from [80.168.156.78] (helo=owls-tree.tapsellferrier.co.uk)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1DtExc-0008Ji-0p
	for classpath@gnu.org; Thu, 14 Jul 2005 21:25:52 -0400
Received: from kanga.tapsellferrier.co.uk ([80.168.156.68] helo=kanga)
	by owls-tree.tapsellferrier.co.uk with esmtp (Exim 4.50 #1 (Debian))
	id 1DtEkZ-0001jz-De; Fri, 15 Jul 2005 02:12:23 +0100
Received: from nferrier by kanga with local (Exim 4.50)
	id 1DtElM-0001m2-Cz; Fri, 15 Jul 2005 02:13:12 +0100
To: Stephen Crawley <crawley@dstc.edu.au>
References: <200507150041.j6F0fh0f011620@piglet.dstc.edu.au>
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: Fri, 15 Jul 2005 02:13:11 +0100
In-Reply-To: <200507150041.j6F0fh0f011620@piglet.dstc.edu.au> (Stephen
	Crawley's message of "Fri, 15 Jul 2005 10:42:42 +1000")
Message-ID: <878y08x460.fsf@kanga.tapsellferrier.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Classpath <classpath@gnu.org>
Subject: Re: Use of 'inetlib' by Classpath mail providers
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, 15 Jul 2005 01:28:07 -0000

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

> Chris Burdess <dog@bluezoo.org>:
>> The underlying library used by the GNU providers is called inetlib. It  
>> provides a much lower-level API to IMAP and other network protocols. If  
>> you want performance, and you can live without a MIME framework, it may  
>> be of interest to you.
>
> This worries me a bit.
>
> While I can see that using a native library here reduces the amount of
> work to get the protocols supported there are clear disadvantages:
>
>   1)  If a Java application's use of the javax.mail.* etc APIs tickled
>       a bug in the provider layer, there is a good chance that the VM
>       will crash or behave unpredictably.
>
>   2)  By using a "well-known" native library in the network stack, you 
>       are potentially laying VMs open to security exploits by buffer
>       overruns, etc.
>
>   3)  It increases the Java platform's dependencies on external libraries.
>       This may be problematic.  For example, suppose someone wanted to
>       port (say) SableVM to an OS platform that did not support inetlib.
>       [I'd guess that Windows was an example ...]
>
> IMO, it would be a GOOD THING if you could reimplement the mail protocol
> stack(s) in Java.

He said "lower level" not "native".


Nic



From MAILER-DAEMON Fri Jul 15 03:32:06 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtKg0-0001tA-Ur
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 03:32:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtKfw-0001qY-CR
	for classpath@gnu.org; Fri, 15 Jul 2005 03:32:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtKfr-0001oo-K0
	for classpath@gnu.org; Fri, 15 Jul 2005 03:31:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtKfq-0001hD-77
	for classpath@gnu.org; Fri, 15 Jul 2005 03:31:54 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtKZI-0001D2-3O
	for classpath@gnu.org; Fri, 15 Jul 2005 03:25:08 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DtKR7-00085r-00; Fri, 15 Jul 2005 09:16:41 +0200
From: Mark Wielaard <mark@klomp.org>
To: Stephen Crawley <crawley@dstc.edu.au>
In-Reply-To: <200507150041.j6F0fh0f011620@piglet.dstc.edu.au>
References: <200507150041.j6F0fh0f011620@piglet.dstc.edu.au>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-FYppfMGma36StFu+VLcI"
Date: Fri, 15 Jul 2005 09:16:29 +0200
Message-Id: <1121411789.7058.44.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: Classpath <classpath@gnu.org>
Subject: Re: Use of 'inetlib' by Classpath mail providers
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, 15 Jul 2005 07:32:02 -0000


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

Hi,

On Fri, 2005-07-15 at 10:42 +1000, Stephen Crawley wrote:
> Chris Burdess <dog@bluezoo.org>:
> > The underlying library used by the GNU providers is called inetlib. It =
=20
> > provides a much lower-level API to IMAP and other network protocols. If=
 =20
> > you want performance, and you can live without a MIME framework, it may=
 =20
> > be of interest to you.
>=20
> This worries me a bit.
>=20
> While I can see that using a native library here reduces the amount of
> work to get the protocols supported there are clear disadvantages:
> [...]
> IMO, it would be a GOOD THING if you could reimplement the mail protocol
> stack(s) in Java.

Chris is talking about code that is already part of classpath:
http://www.gnu.org/software/classpath/inetlib
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/inetlib/

Currently it doesn't use any external libraries. But even then I don't
think that would be a disadvantage if it provided robust new features
when such (native) libraries were available on the platform where it was
installed.

Cheers,

Mark

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

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

iD8DBQBC12LNxVhZCJWr9QwRApOQAJ42Rnbn9bTUnj3OT95OzUf7msxwCACfSAlX
frQs+/JWB4CLnoUN2noYUg8=
=5TlV
-----END PGP SIGNATURE-----

--=-FYppfMGma36StFu+VLcI--




From MAILER-DAEMON Fri Jul 15 04:01:52 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtL8l-0007ds-N9
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 04:01:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtL8a-0007bo-6y
	for classpath@gnu.org; Fri, 15 Jul 2005 04:01:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtL8I-0007Xg-Sv
	for classpath@gnu.org; Fri, 15 Jul 2005 04:01:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtL8G-0007W9-PC
	for classpath@gnu.org; Fri, 15 Jul 2005 04:01:17 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtLEI-0003rY-Ar
	for classpath@gnu.org; Fri, 15 Jul 2005 04:07:30 -0400
Received: from unused-81-91-99.anlx.net ([81.91.99.95] helo=[10.112.20.31])
	by dinopsis.arachsys.com with asmtp (Exim 3.35 #1)
	id 1DtL63-0002SL-00; Fri, 15 Jul 2005 08:58:59 +0100
Mime-Version: 1.0 (Apple Message framework v622)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <c059c0029f40df524f061359d94d1a59@bluezoo.org>
Content-Transfer-Encoding: 7bit
From: Chris Burdess <dog@bluezoo.org>
Date: Fri, 15 Jul 2005 08:58:59 +0100
To: devel-owner@open-xchange.org
X-Mailer: Apple Mail (2.622)
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>
Subject: Fwd: Request to mailing list Devel rejected
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, 15 Jul 2005 08:01:39 -0000

It would really be nice if the Open Exchange people sometimes engaged 
in a bit of open exchange.

Begin forwarded message:

> From: devel-bounces@open-xchange.org
> Date: 15 July 2005 06:56:59 BST
> To: dog@bluezoo.org
> Subject: Request to mailing list Devel rejected
>
> Your request to the Devel mailing list
>
>     Posting of your message titled "Re: [fedora-java] Re: [OX Devel]
> Re: Devel Digest, Vol 12, Issue 6"
>
> has been rejected by the list moderator.  The moderator gave the
> following reason for rejecting your request:
>
> "No reason given"
>
> Any questions or comments should be directed to the list administrator
> at:
>
>     devel-owner@open-xchange.org
>
-- 
Chris Burdess




From MAILER-DAEMON Fri Jul 15 04:07:51 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtLDZ-0000eS-5a
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 04:06:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtLD8-0000AK-U4
	for classpath@gnu.org; Fri, 15 Jul 2005 04:06:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtLCo-0008GP-QA
	for classpath@gnu.org; Fri, 15 Jul 2005 04:06:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtLBe-0007W9-4z
	for classpath@gnu.org; Fri, 15 Jul 2005 04:04:47 -0400
Received: from [130.102.104.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtL2W-00032d-NA
	for classpath@gnu.org; Fri, 15 Jul 2005 03:55:21 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.13.0/8.13.0) with ESMTP id j6F7jLnc002506;
	Fri, 15 Jul 2005 17:45:21 +1000 (EST)
Message-Id: <200507150745.j6F7jLnc002506@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: Message from Mark Wielaard <mark@klomp.org> of "Fri,
	15 Jul 2005 09:16:29 +0200."
	<1121411789.7058.44.camel@localhost.localdomain> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 15 Jul 2005 17:46:22 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.45 (DSTC)
Cc: Stephen Crawley <crawley@dstc.edu.au>, Classpath <classpath@gnu.org>,
	crawley@piglet.dstc.edu.au
Subject: Re: Use of 'inetlib' by Classpath mail providers 
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, 15 Jul 2005 08:06:43 -0000


Mark Wielaard <mark@klomp.org> writes:
> On Fri, 2005-07-15 at 10:42 +1000, Stephen Crawley wrote:
> > Chris Burdess <dog@bluezoo.org>:
> > > The underlying library used by the GNU providers is called inetlib. It =
> =20
> > > provides a much lower-level API to IMAP and other network protocols. If=
>  =20
> > > you want performance, and you can live without a MIME framework, it may=
>  =20
> > > be of interest to you.
> >=20
> > This worries me a bit.
> >=20
> > While I can see that using a native library here reduces the amount of
> > work to get the protocols supported there are clear disadvantages:
> > [...]
> > IMO, it would be a GOOD THING if you could reimplement the mail protocol
> > stack(s) in Java.
> 
> Chris is talking about code that is already part of classpath:
> http://www.gnu.org/software/classpath/inetlib
> http://savannah.gnu.org/cgi-bin/viewcvs/classpath/inetlib/

My mistake.  [I seem to be posting quite a bit of nonsense these days :-(]

But I still think that there is a principle here ...

> Currently it doesn't use any external libraries. But even then I don't
> think that would be a disadvantage if it provided robust new features
> when such (native) libraries were available on the platform where it was
> installed.

"If" being the operative word!  How can you be sure that a C library it is 
truly robust; e.g. in the face of inventive people trying to cause buffer 
overflows, etc?  How often do we hear that someone has found a problem in
this or that shared library that renders a bunch of applications vulnerable?

By minimizing the use of native libraries in Classpath, we reduce the 
target for the kind of problems that cause us to switch to Java in the
first place.

-- Steve




From MAILER-DAEMON Fri Jul 15 04:15:47 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtLLs-0004wU-LR
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 04:15:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtLJq-0003f5-79
	for classpath@gnu.org; Fri, 15 Jul 2005 04:13:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtLHx-0003Ko-KW
	for classpath@gnu.org; Fri, 15 Jul 2005 04:11:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtLHl-0003Hb-Bn
	for classpath@gnu.org; Fri, 15 Jul 2005 04:11:07 -0400
Received: from [62.13.128.176] (helo=outmail128176.authsmtp.co.uk)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DtLMI-0004Ph-U8
	for classpath@gnu.org; Fri, 15 Jul 2005 04:15:47 -0400
Received: from [192.168.1.5] (host81-130-208-103.in-addr.btopenworld.com
	[81.130.208.103]) (authenticated bits=0)
	by squirrel.dmpriest.net.uk (8.13.3/8.13.3/Kp) with ESMTP id
	j6F87C8W051038
	for <classpath@gnu.org>; Fri, 15 Jul 2005 09:07:15 +0100 (BST)
	(envelope-from david.gilbert@object-refinery.com)
Message-ID: <42D77CC0.3050600@object-refinery.com>
Date: Fri, 15 Jul 2005 09:07:12 +0000
From: David Gilbert <david.gilbert@object-refinery.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050426)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:Kp
X-Powered-By: AuthSMTP - http://www.authsmtp.com - Authenticated SMTP Mail
	Relay
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own
	anti-virus system!
Subject: Latest statcvs reports for Classpath and Mauve
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2005 08:15:16 -0000

I updated the statcvs reports for Classpath and Mauve:

http://www.object-refinery.com/classpath/statcvs/

http://www.object-refinery.com/classpath/mauve/statcvs/

Regards,

Dave Gilbert



From MAILER-DAEMON Fri Jul 15 04:57:12 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtM0H-0007Uy-De
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 04:57:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtLJX-0003Y2-KN
	for classpath@gnu.org; Fri, 15 Jul 2005 04:12:56 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtLJR-0003Wr-7C
	for classpath@gnu.org; Fri, 15 Jul 2005 04:12:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtLHj-0003Hb-3p
	for classpath@gnu.org; Fri, 15 Jul 2005 04:11:03 -0400
Received: from [62.225.134.190] (helo=netline.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DtLO7-0004Yl-8F
	for classpath@gnu.org; Fri, 15 Jul 2005 04:17:39 -0400
Received: from [192.168.32.7] (helo=ox.netline-is.de)
	by netline.de with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim)
	id 1DtL6W-0006aN-00; Fri, 15 Jul 2005 09:59:28 +0200
Received: by ox.netline-is.de (Postfix, from userid 65534)
	id 7FF0036E36; Fri, 15 Jul 2005 10:09:08 +0200 (CEST)
Received: from ox.netline-is.de (unknown [127.0.0.1])
	by ox.netline-is.de (Postfix) with ESMTP id 4BBC236E1D;
	Fri, 15 Jul 2005 10:09:07 +0200 (CEST)
Message-ID: <4519815.1121414947341.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
Date: Fri, 15 Jul 2005 10:09:07 +0200 (CEST)
From: Sebastian Kotyrba <sebastian.kotyrba@open-xchange.org>
To: Chris Burdess <dog@bluezoo.org>
In-Reply-To: <c059c0029f40df524f061359d94d1a59@bluezoo.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3 (normal)
X-Mailer: OPEN-XCHANGE 5017 - WebMail
X-Operating-System: Linux 2.6.5-7.155.29-smp i386 (JVM 1.4.2_06)
Organization: NETLINE Internet Service GmbH
References: <c059c0029f40df524f061359d94d1a59@bluezoo.org>
X-Scanner: exiscan *1DtL6W-0006aN-00*BxeZpu5po9o*
	http://duncanthrax.net/exiscan/
X-Mailman-Approved-At: Fri, 15 Jul 2005 04:56:54 -0400
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	devel-owner@open-xchange.org, Classpath <classpath@gnu.org>
Subject: Re: Fwd: Request to mailing list Devel rejected
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, 15 Jul 2005 08:12:58 -0000

Helo,

the process for rejecting emails is half automatic. They will be
rejected, when:
- the mail is send with an unknown emailadres
- the mail is to bog (>100kb)
- masked as spam (from spamassassin)

Your eMail address 'dog@bluezoo.org' is not in the devel list!!!
'/var/lib/mailman/bin# ./list_members devel | grep blue' return null

Please send eMails to the maillinglists with your registrated
eMail-address.


Best regards,
=C2=A0Sebastian Kotyrba


Am Fr 15.07.2005 09:58 schrieb Chris Burdess <dog@bluezoo.org>:

>It would really be nice if the Open Exchange people sometimes engaged
>in a bit of open exchange.
>
>Begin forwarded message:
>
>>From: devel-bounces@open-xchange.org
>>Date: 15 July 2005 06:56:59 BST
>>To: dog@bluezoo.org
>>Subject: Request to mailing list Devel rejected
>>
>>Your request to the Devel mailing list
>>
>>Posting of your message titled "Re: [fedora-java] Re: [OX Devel]
>>Re: Devel Digest, Vol 12, Issue 6"
>>
>>has been rejected by the list moderator. The moderator gave the
>>following reason for rejecting your request:
>>
>>"No reason given"
>>
>>Any questions or comments should be directed to the list administrator
>>at:
>>
>>devel-owner@open-xchange.org
>>
>--
>Chris Burdess
>
>




From MAILER-DAEMON Fri Jul 15 05:12:42 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtMFN-0003Kr-3v
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 05:12:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtMDH-0001rZ-Vq
	for classpath@gnu.org; Fri, 15 Jul 2005 05:10:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtMBc-0000XO-Nc
	for classpath@gnu.org; Fri, 15 Jul 2005 05:08:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtM7a-0007sm-ET
	for classpath@gnu.org; Fri, 15 Jul 2005 05:04:40 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtLzA-00077n-2r
	for classpath@gnu.org; Fri, 15 Jul 2005 04:55:56 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DtLrD-0000GC-00; Fri, 15 Jul 2005 10:47:43 +0200
From: Mark Wielaard <mark@klomp.org>
To: David Gilbert <david.gilbert@object-refinery.com>
In-Reply-To: <42D77CC0.3050600@object-refinery.com>
References: <42D77CC0.3050600@object-refinery.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Kc+anK8ytz1vosS4TNvD"
Date: Fri, 15 Jul 2005 10:47:31 +0200
Message-Id: <1121417251.7058.47.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org
Subject: Re: Latest statcvs reports for Classpath and Mauve
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2005 09:12:20 -0000


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

On Fri, 2005-07-15 at 09:07 +0000, David Gilbert wrote:
> I updated the statcvs reports for Classpath and Mauve:
>=20
> http://www.object-refinery.com/classpath/statcvs/

Total Lines Of Code: 999019 (2005-07-14 22:07)

So close... :)

Mark

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

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

iD8DBQBC13gjxVhZCJWr9QwRAuGLAJ9lFjGmTXMXNiFD/cKcQkCyx8jPdgCgi1Sg
9AhNc9xqDYYdryjfXhFXvJ8=
=Auek
-----END PGP SIGNATURE-----

--=-Kc+anK8ytz1vosS4TNvD--




From MAILER-DAEMON Fri Jul 15 05:15:59 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtMIY-0007fe-Pr
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 05:15:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtMC1-00012v-HF
	for classpath@gnu.org; Fri, 15 Jul 2005 05:09:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtMBB-00009m-Tp
	for classpath@gnu.org; Fri, 15 Jul 2005 05:08:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtM8z-0007sm-HG
	for classpath@gnu.org; Fri, 15 Jul 2005 05:06:07 -0400
Received: from [62.225.134.190] (helo=netline.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DtLpn-0006cM-Je
	for classpath@gnu.org; Fri, 15 Jul 2005 04:46:16 -0400
Received: from [192.168.32.7] (helo=ox.netline-is.de)
	by netline.de with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim)
	id 1DtLY8-0006i4-00; Fri, 15 Jul 2005 10:28:00 +0200
Received: by ox.netline-is.de (Postfix, from userid 65534)
	id A2CEA36E6D; Fri, 15 Jul 2005 10:37:40 +0200 (CEST)
Received: from ox.netline-is.de (unknown [127.0.0.1])
	by ox.netline-is.de (Postfix) with ESMTP id 72E1D36E5B;
	Fri, 15 Jul 2005 10:37:39 +0200 (CEST)
Message-ID: <22481221.1121416659482.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
Date: Fri, 15 Jul 2005 10:37:39 +0200 (CEST)
From: Martin Kauss <bishoph@open-xchange.org>
To: For developers <devel@open-xchange.org>
In-Reply-To: <fed77c6bda6267a049cd72581169091e@bluezoo.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Priority: 3 (normal)
X-Mailer: OPEN-XCHANGE 5017 - WebMail
X-Operating-System: Linux 2.6.5-7.155.29-smp i386 (JVM 1.4.2_06)
Organization: Netline Internet Service GmbH
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<20050709075427.GA24894@bluezoo.org>
	<6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<13623369.1121274332840.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
	<20050713141755.fzsm8tic2ssk8oos@www.zarb.org>
	<26613121.1121344377342.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
	<fed77c6bda6267a049cd72581169091e@bluezoo.org>
X-Scanner: exiscan *1DtLY8-0006i4-00*f.12pmKLuGc*
	http://duncanthrax.net/exiscan/
X-Mailman-Approved-At: Fri, 15 Jul 2005 05:15:56 -0400
Cc: Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>
Subject: Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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, 15 Jul 2005 09:09:31 -0000

Am Jul 14, 2005 08:26 PM schrieb Chris Burdess <dog@bluezoo.org>:

> Martin Kauss wrote:
> >> The problem is that Rights, as well as ACL and Quota, are in a com.sun
> >> package.
> >
> > OX makes use of the class IMAPFolder and there you have the method
> > addRights(ACL acl) which lead us to setRights(Rights rights)
> > and there we find the Rights.
> >
> > The GNU classpath javamail API does not have the method addRights(ACL  
> > acl)
> > and no setRights(Rights rights) in the IMAPFolder class, see
> >
> > http://www.gnu.org/software/classpathx/javamail/javadoc/gnu/mail/ 
> > providers/imap/IMAPFolder.html
> >
> > The main issue is not to use class instances (replacements),
> > the main issue is that the classpath API does currently not
> > implement methods needed by OX.
> 
> You haven't asked for them at any time, so it hasn't even been on our  
> to-do list.
> 
> > However, you are right, the class is experimental,
> 
> It's not that it's experimental. It's that it's a private Sun  
> implementation, it is not part of the API, and it will never be present  
> in a free Java runtime.
> 
> > but for some reasons also the GNU classpath people
> > have implement a clone of this class.
> 
> It's not a clone. It's a completely different private implementation,  
> that is still not part of the API.
> 
> As Stephen Crawley noted, the problem is that the public API is  
> underspecified and in order to use advanced IMAP functionality you need  
> to use private implementations.
> 
> > In fact we/you
> > have to investigate if OX can offer the same functionality
> > by using other classes and what is the effort/benefit
> > of such a change.
> 
> The underlying library used by the GNU providers is called inetlib. It  
> provides a much lower-level API to IMAP and other network protocols. If  
> you want performance, and you can live without a MIME framework, it may  
> be of interest to you.
> 
> If you just want ACL support in the GNU IMAP provider, we can schedule  
> it in for the next release.
> -- 
> Chris Burdess
> 


Hi again.

I stated this out in one of my earlier post, but i will
make it even more clear:

Open-Xchange provides currently a collaboration server, several 
extensions and frameworks. We are focused on functionality
and features for the users and customers. To get this functionality
we are using several libraries - you can see the list in out INSTALL
file. Now the question came up if OX can build by using only "free"
software tools and libraries.

We can help to make such an implementation happen, but our
focus is the solution and the features. Thats why we have not
ask for methods. Now, if there is a strong demand and the GNU 
Classpath developers are scheduling the complete implementation
of the required classes and methods for one of the next GNU Classpath
javamail API releases, we should have some conversation how this can be
implemented in a very easy way (like some kind of configure option)
to support it (of course we must keep an eye on the effort ;-).

And to avoid any rumor, this strategy is part of our general
developing concepts. We do not reinvent wheels we are using
existing infrastructure wherever it fits our needs.


Greetings,

Martin Kauss





From MAILER-DAEMON Fri Jul 15 05:17:51 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtMKM-0000fy-E4
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 05:17:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtMKJ-0000c9-KL
	for classpath@gnu.org; Fri, 15 Jul 2005 05:17:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtMKH-0000ZZ-S8
	for classpath@gnu.org; Fri, 15 Jul 2005 05:17:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DtMKC-0000KO-I8; Fri, 15 Jul 2005 05:17:40 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DtMIl-0008Ul-Ls; Fri, 15 Jul 2005 05:16:11 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DtMAp-0000Vk-00; Fri, 15 Jul 2005 11:07:59 +0200
From: Mark Wielaard <mark@klomp.org>
To: Andrew John Hughes <gnu_andrew@member.fsf.org>
In-Reply-To: <20050630133459.GA2735@middle-earth.co.uk>
References: <20050630133459.GA2735@middle-earth.co.uk>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-kVRt86MuX5+dh71x+M+n"
Date: Fri, 15 Jul 2005 11:07:47 +0200
Message-Id: <1121418467.24188.9.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: [cp-patches] RFC; VM Integration Documentation Update
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2005 09:17:48 -0000


--=-kVRt86MuX5+dh71x+M+n
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

> 2005-06-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
>=20
> 	* doc/vmintegration.texinfo:
> 	Updated 'Classpath Hooks' section.

Thanks! This looks really nice is a really good overview. There has been
lots of questions about this part so I committed this now to make it
part of the 0.17 release.

My only concern is that the documentation and the VM-classes will get
out of sync in the future. But the current manual was so badly outdated
already that it would be stupid not to update it with this fresh new
info.

I will also update www.gnu.org so other can more easily read this.
http://www.gnu.org/software/classpath/docs/vmintegration.html#SEC3
Should be regenerated within the hour.

Thanks,

Mark

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

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

iD8DBQBC13zjxVhZCJWr9QwRArkaAKCtHk3H2XXcMaat0QpNuS9lrtcjNwCeLrDt
T+LnkR75T49u9YC/NxYpzhs=
=o09y
-----END PGP SIGNATURE-----

--=-kVRt86MuX5+dh71x+M+n--




From MAILER-DAEMON Fri Jul 15 06:05:46 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtN3F-0006ON-Qq
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 06:04:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtN3A-0006MU-I6
	for classpath@gnu.org; Fri, 15 Jul 2005 06:04:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtN33-0006Je-Sr
	for classpath@gnu.org; Fri, 15 Jul 2005 06:04:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtN30-0006Cv-Qe
	for classpath@gnu.org; Fri, 15 Jul 2005 06:03:58 -0400
Received: from [81.103.221.48] (helo=mta08-winn.ispmail.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtMwa-0003Cw-PO
	for classpath@gnu.org; Fri, 15 Jul 2005 05:57:21 -0400
Received: from aamta11-winn.ispmail.ntl.com ([81.103.221.35])
	by mta08-winn.ispmail.ntl.com with ESMTP id
	<20050715094842.WKRO889.mta08-winn.ispmail.ntl.com@aamta11-winn.ispmail.ntl.com>
	for <classpath@gnu.org>; Fri, 15 Jul 2005 10:48:42 +0100
Received: from zapata.pink ([82.16.12.40]) by aamta11-winn.ispmail.ntl.com
	with ESMTP
	id <20050715094842.YFT9845.aamta11-winn.ispmail.ntl.com@zapata.pink>
	for <classpath@gnu.org>; Fri, 15 Jul 2005 10:48:42 +0100
Received: from zapata.pink (localhost.localdomain [127.0.0.1])
	by zapata.pink (8.13.1/8.13.1) with ESMTP id j6F9nbgv023515;
	Fri, 15 Jul 2005 10:49:38 +0100
Received: (from aph@localhost)
	by zapata.pink (8.13.1/8.13.1/Submit) id j6F9nb95023510;
	Fri, 15 Jul 2005 10:49:37 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17111.34480.124964.950417@zapata.pink>
Date: Fri, 15 Jul 2005 10:49:36 +0100
From: Andrew Haley <aph@redhat.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1121417251.7058.47.camel@localhost.localdomain>
References: <42D77CC0.3050600@object-refinery.com>
	<1121417251.7058.47.camel@localhost.localdomain>
X-Mailer: VM 7.19 under Emacs 21.3.1
Cc: classpath@gnu.org
Subject: Re: Latest statcvs reports for Classpath and Mauve
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2005 10:04:11 -0000

Mark Wielaard writes:
 > On Fri, 2005-07-15 at 09:07 +0000, David Gilbert wrote:
 > > I updated the statcvs reports for Classpath and Mauve:
 > > 
 > > http://www.object-refinery.com/classpath/statcvs/
 > 
 > Total Lines Of Code: 999019 (2005-07-14 22:07)
 > 
 > So close... :)

  "When a very well-known and widely respected computer scientist
  recently used [lines of code as a measure of] programmer
  productivity in a lecture, the suggestion came from the audience
  that, instead of talking about "the lines of code produced" we
  should talk about "the lines of code used" and that, therefore, the
  speaker was booking them on the wrong side of the ledger. The
  speaker answered that he stuck to his productivity measure, because
  he did not know of any alternatives that allowed proper
  quantification!"

(You can guess who wrote that; one of your countrymen!  :-)

Andrew.




From MAILER-DAEMON Fri Jul 15 08:56:32 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtPk0-0002jx-6H
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 08:56:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtPjw-0002j7-88
	for classpath@gnu.org; Fri, 15 Jul 2005 08:56:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtPjM-0002ci-KX
	for classpath@gnu.org; Fri, 15 Jul 2005 08:56:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DtPij-0001tp-Rf; Fri, 15 Jul 2005 08:55:13 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DtPp4-0007vg-6G; Fri, 15 Jul 2005 09:01:48 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DtPgU-0002Jt-00; Fri, 15 Jul 2005 14:52:54 +0200
From: Mark Wielaard <mark@klomp.org>
To: David P Grove <groved@us.ibm.com>
In-Reply-To: <OFF3EC224F.41FA9C8E-ON8525703B.0041081E-8525703B.0041602A@us.ibm.com>
References: <OFF3EC224F.41FA9C8E-ON8525703B.0041081E-8525703B.0041602A@us.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-9etQoH19uSUCUKf8FTh3"
Date: Fri, 15 Jul 2005 14:52:44 +0200
Message-Id: <1121431964.24188.33.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: regression in logger?
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, 15 Jul 2005 12:56:29 -0000


--=-9etQoH19uSUCUKf8FTh3
Content-Type: multipart/mixed; boundary="=-jl2zO9N5DyoERitlRkDB"


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

Hi,

On Mon, 2005-07-11 at 07:54 -0400, David P Grove wrote:
> This started showing up in regression tests of Jikes RVM with classpath=20
> cvs head recently.  I haven't dug deeply, so it could be a latent problem=
=20
> in Jikes RVM that was exposed by a classpath change, rather than a real=20
> classpath bug, but might still be worth mentioning.  The failing program=20
> is SPECjbb2000.

Unfortunately I don't have a current Jikes RVM setup to test against.
But I will include this workaround to make the code more robust against
StackTraceElement[] that are not like it expects (note that
Throwable.getStackTraceElements() may not contain all frames in general,
so it isn't a very robust way to walk the stack.)

2005-07-15  Mark Wielaard  <mark@klomp.org>

       * java/util/logging/Logger.java (getCallerStackFrame):
       Make sure index < stackTrace.length and return null otherwise.
       (log): Check for caller =3D=3D null.

Note that this getCallerStackFrame() method is highly inefficient and
should really use direct runtime support through the VMStackWalker
methods.

Cheers,

Mark

P.S. Hopefully the last patch before 0.17. Please coordinate on
irc.gnu.org #classpath if you want some last minute fix in.

--=-jl2zO9N5DyoERitlRkDB
Content-Disposition: inline; filename=logging.patch
Content-Type: text/x-patch; name=logging.patch; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: base64

SW5kZXg6IGphdmEvdXRpbC9sb2dnaW5nL0xvZ2dlci5qYXZhDQo9PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmls
ZTogL2N2c3Jvb3QvY2xhc3NwYXRoL2NsYXNzcGF0aC9qYXZhL3V0aWwvbG9nZ2luZy9Mb2dnZXIu
amF2YSx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTANCmRpZmYgLXUgLXIxLjEwIExvZ2dlci5q
YXZhDQotLS0gamF2YS91dGlsL2xvZ2dpbmcvTG9nZ2VyLmphdmEJMTQgSnVsIDIwMDUgMTM6MTY6
NTggLTAwMDAJMS4xMA0KKysrIGphdmEvdXRpbC9sb2dnaW5nL0xvZ2dlci5qYXZhCTE1IEp1bCAy
MDA1IDEyOjUxOjEyIC0wMDAwDQpAQCAtNTg1LDEwICs1ODUsMTAgQEANCiAJCQkgICAgICAgU3Ry
aW5nIG1lc3NhZ2UsDQogCQkJICAgICAgIE9iamVjdCBwYXJhbSkNCiAgIHsNCi0gIAlTdGFja1Ry
YWNlRWxlbWVudCBjYWxsZXIgPSBnZXRDYWxsZXJTdGFja0ZyYW1lKCk7DQorICAgIFN0YWNrVHJh
Y2VFbGVtZW50IGNhbGxlciA9IGdldENhbGxlclN0YWNrRnJhbWUoKTsNCiAgICAgbG9ncChsZXZl
bCwNCi0JIGNhbGxlci5nZXRDbGFzc05hbWUoKSwNCi0JIGNhbGxlci5nZXRNZXRob2ROYW1lKCks
DQorCSBjYWxsZXIgIT0gbnVsbCA/IGNhbGxlci5nZXRDbGFzc05hbWUoKSA6ICI8dW5rbm93bj4i
LA0KKwkgY2FsbGVyICE9IG51bGwgPyBjYWxsZXIuZ2V0TWV0aG9kTmFtZSgpIDogIjx1bmtub3du
PiIsDQogCSBtZXNzYWdlLA0KIAkgcGFyYW0pOw0KICAgfQ0KQEAgLTYwMCw4ICs2MDAsOCBAQA0K
ICAgew0KICAgICBTdGFja1RyYWNlRWxlbWVudCBjYWxsZXIgPSBnZXRDYWxsZXJTdGFja0ZyYW1l
KCk7DQogICAgIGxvZ3AobGV2ZWwsDQotCSBjYWxsZXIuZ2V0Q2xhc3NOYW1lKCksDQotCSBjYWxs
ZXIuZ2V0TWV0aG9kTmFtZSgpLA0KKwkgY2FsbGVyICE9IG51bGwgPyBjYWxsZXIuZ2V0Q2xhc3NO
YW1lKCkgOiAiPHVua25vd24+IiwNCisJIGNhbGxlciAhPSBudWxsID8gY2FsbGVyLmdldE1ldGhv
ZE5hbWUoKSA6ICI8dW5rbm93bj4iLA0KIAkgbWVzc2FnZSwNCiAJIHBhcmFtcyk7DQogICB9DQpA
QCAtNjExLDEwICs2MTEsMTAgQEANCiAJCQkgICAgICAgU3RyaW5nIG1lc3NhZ2UsDQogCQkJICAg
ICAgIFRocm93YWJsZSB0aHJvd24pDQogICB7DQotCVN0YWNrVHJhY2VFbGVtZW50IGNhbGxlciA9
IGdldENhbGxlclN0YWNrRnJhbWUoKTsgICAgDQorICAgIFN0YWNrVHJhY2VFbGVtZW50IGNhbGxl
ciA9IGdldENhbGxlclN0YWNrRnJhbWUoKTsgICAgDQogICAgIGxvZ3AobGV2ZWwsDQotCSBjYWxs
ZXIuZ2V0Q2xhc3NOYW1lKCksDQotCSBjYWxsZXIuZ2V0TWV0aG9kTmFtZSgpLA0KKwkgY2FsbGVy
ICE9IG51bGwgPyBjYWxsZXIuZ2V0Q2xhc3NOYW1lKCkgOiAiPHVua25vd24+IiwNCisJIGNhbGxl
ciAhPSBudWxsID8gY2FsbGVyLmdldE1ldGhvZE5hbWUoKSA6ICI8dW5rbm93bj4iLA0KIAkgbWVz
c2FnZSwNCiAJIHRocm93bik7DQogICB9DQpAQCAtMTE2MiwxOSArMTE2MiwyNSBAQA0KICAgLyoq
DQogICAgKiBHZXRzIHRoZSBTdGFja1RyYWNlRWxlbWVudCBvZiB0aGUgZmlyc3QgY2xhc3MgdGhh
dCBpcyBub3QgdGhpcyBjbGFzcy4NCiAgICAqIFRoYXQgc2hvdWxkIGJlIHRoZSBpbml0aWFsIGNh
bGxlciBvZiBhIGxvZ2dpbmcgbWV0aG9kLg0KLSAgICogQHJldHVybiBjYWxsZXIgb2YgdGhlIGlu
aXRpYWwgbG9vZ2luZyBtZXRob2QNCisgICAqIEByZXR1cm4gY2FsbGVyIG9mIHRoZSBpbml0aWFs
IGxvZ2dpbmcgbWV0aG9kIG9yIG51bGwgaWYgdW5rbm93bi4NCiAgICAqLw0KICAgcHJpdmF0ZSBT
dGFja1RyYWNlRWxlbWVudCBnZXRDYWxsZXJTdGFja0ZyYW1lKCkNCiAgIHsNCiAgICAgVGhyb3dh
YmxlIHQgPSBuZXcgVGhyb3dhYmxlKCk7DQogICAgIFN0YWNrVHJhY2VFbGVtZW50W10gc3RhY2tU
cmFjZSA9IHQuZ2V0U3RhY2tUcmFjZSgpOw0KICAgICBpbnQgaW5kZXggPSAwOw0KKw0KICAgICAv
LyBza2lwIHRvIHN0YWNrZW50cmllcyB1bnRpbCB0aGlzIGNsYXNzDQotICAgIHdoaWxlKCFzdGFj
a1RyYWNlW2luZGV4XS5nZXRDbGFzc05hbWUoKS5lcXVhbHMoZ2V0Q2xhc3MoKS5nZXROYW1lKCkp
KXtpbmRleCsrO30NCisgICAgd2hpbGUoaW5kZXggPCBzdGFja1RyYWNlLmxlbmd0aA0KKwkgICYm
ICFzdGFja1RyYWNlW2luZGV4XS5nZXRDbGFzc05hbWUoKS5lcXVhbHMoZ2V0Q2xhc3MoKS5nZXRO
YW1lKCkpKQ0KKyAgICAgIGluZGV4Kys7DQorDQogICAgIC8vIHNraXAgdGhlIHN0YWNrZW50cmll
cyBvZiB0aGlzIGNsYXNzDQotICAgIHdoaWxlKHN0YWNrVHJhY2VbaW5kZXhdLmdldENsYXNzTmFt
ZSgpLmVxdWFscyhnZXRDbGFzcygpLmdldE5hbWUoKSkpe2luZGV4Kys7fQ0KKyAgICB3aGlsZShp
bmRleCA8IHN0YWNrVHJhY2UubGVuZ3RoDQorCSAgJiYgc3RhY2tUcmFjZVtpbmRleF0uZ2V0Q2xh
c3NOYW1lKCkuZXF1YWxzKGdldENsYXNzKCkuZ2V0TmFtZSgpKSkNCisgICAgICBpbmRleCsrOw0K
IA0KLSAgICByZXR1cm4gc3RhY2tUcmFjZVtpbmRleF07DQorICAgIHJldHVybiBpbmRleCA8IHN0
YWNrVHJhY2UubGVuZ3RoID8gc3RhY2tUcmFjZVtpbmRleF0gOiBudWxsOw0KICAgfQ0KICAgDQog
ICAvKioNCg==


--=-jl2zO9N5DyoERitlRkDB--

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

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

iD8DBQBC17GcxVhZCJWr9QwRAoaeAKCvctUvbH2cVgi4Il6iDWJeJFSoFwCgkyTy
m/ss/1YLiC7qm8MW+XtWok4=
=gA+a
-----END PGP SIGNATURE-----

--=-9etQoH19uSUCUKf8FTh3--




From MAILER-DAEMON Fri Jul 15 10:25:19 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtR7v-0007hl-BE
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 10:25:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtR7t-0007hT-65
	for classpath@gnu.org; Fri, 15 Jul 2005 10:25:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtR7L-0007cr-9F
	for classpath@gnu.org; Fri, 15 Jul 2005 10:25:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtR7J-0007R0-BF
	for classpath@gnu.org; Fri, 15 Jul 2005 10:24:42 -0400
Received: from [32.97.182.143] (helo=e3.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DtR7X-00034n-9H
	for classpath@gnu.org; Fri, 15 Jul 2005 10:24:57 -0400
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236])
	by e3.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6FEAotu030195
	for <classpath@gnu.org>; Fri, 15 Jul 2005 10:10:50 -0400
Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215])
	by d01relay04.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id
	j6FEAn7d241758
	for <classpath@gnu.org>; Fri, 15 Jul 2005 10:10:49 -0400
Received: from d01av01.pok.ibm.com (loopback [127.0.0.1])
	by d01av01.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6FEAnsA028182
	for <classpath@gnu.org>; Fri, 15 Jul 2005 10:10:49 -0400
Received: from [9.56.227.90] (d01ml604.pok.ibm.com [9.56.227.90])
	by d01av01.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6FEAnva028171; 
	Fri, 15 Jul 2005 10:10:49 -0400
In-Reply-To: <1121431964.24188.33.camel@localhost.localdomain>
To: Mark Wielaard <mark@klomp.org>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.1IBM2 August 03, 2004
From: David P Grove <groved@us.ibm.com>
Message-ID: <OF0C311930.63735DF7-ON8525703F.004DB7F6-8525703F.004DE44F@us.ibm.com>
Date: Fri, 15 Jul 2005 10:10:47 -0400
X-MIMETrack: Serialize by Router on D01ML604/01/M/IBM(Build V70_M6_06302005
	Beta 4|June 30, 2005) at 07/15/2005 10:10:49,
	Serialize complete at 07/15/2005 10:10:49
Content-Type: text/plain; charset="US-ASCII"
Cc: classpath@gnu.org
Subject: Re: regression in logger?
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, 15 Jul 2005 14:25:17 -0000

Thanks Mark!

I just tested classpath cvs head against jikes rvm cvs head on SPECjbb2000 
and all is happy again. 

--dave


Mark Wielaard <mark@klomp.org> wrote on 07/15/2005 08:52:44 AM:

> Hi,
> 
> On Mon, 2005-07-11 at 07:54 -0400, David P Grove wrote:
> > This started showing up in regression tests of Jikes RVM with 
classpath 
> > cvs head recently.  I haven't dug deeply, so it could be a latent 
problem 
> > in Jikes RVM that was exposed by a classpath change, rather than a 
real 
> > classpath bug, but might still be worth mentioning.  The failing 
program 
> > is SPECjbb2000.
> 
> Unfortunately I don't have a current Jikes RVM setup to test against.
> But I will include this workaround to make the code more robust against
> StackTraceElement[] that are not like it expects (note that
> Throwable.getStackTraceElements() may not contain all frames in general,
> so it isn't a very robust way to walk the stack.)
> 
> 2005-07-15  Mark Wielaard  <mark@klomp.org>
> 
>        * java/util/logging/Logger.java (getCallerStackFrame):
>        Make sure index < stackTrace.length and return null otherwise.
>        (log): Check for caller == null.
> 
> Note that this getCallerStackFrame() method is highly inefficient and
> should really use direct runtime support through the VMStackWalker
> methods.
> 
> Cheers,
> 
> Mark
> 
> P.S. Hopefully the last patch before 0.17. Please coordinate on
> irc.gnu.org #classpath if you want some last minute fix in.
> Index: java/util/logging/Logger.java
> ===================================================================
> RCS file: /cvsroot/classpath/classpath/java/util/logging/Logger.java,v
> retrieving revision 1.10
> diff -u -r1.10 Logger.java
> --- java/util/logging/Logger.java   14 Jul 2005 13:16:58 -0000   1.10
> +++ java/util/logging/Logger.java   15 Jul 2005 12:51:12 -0000
> @@ -585,10 +585,10 @@
>                  String message,
>                  Object param)
>    {
> -     StackTraceElement caller = getCallerStackFrame();
> +    StackTraceElement caller = getCallerStackFrame();
>      logp(level,
> -    caller.getClassName(),
> -    caller.getMethodName(),
> +    caller != null ? caller.getClassName() : "<unknown>",
> +    caller != null ? caller.getMethodName() : "<unknown>",
>      message,
>      param);
>    }
> @@ -600,8 +600,8 @@
>    {
>      StackTraceElement caller = getCallerStackFrame();
>      logp(level,
> -    caller.getClassName(),
> -    caller.getMethodName(),
> +    caller != null ? caller.getClassName() : "<unknown>",
> +    caller != null ? caller.getMethodName() : "<unknown>",
>      message,
>      params);
>    }
> @@ -611,10 +611,10 @@
>                  String message,
>                  Throwable thrown)
>    {
> -   StackTraceElement caller = getCallerStackFrame(); 
> +    StackTraceElement caller = getCallerStackFrame(); 
>      logp(level,
> -    caller.getClassName(),
> -    caller.getMethodName(),
> +    caller != null ? caller.getClassName() : "<unknown>",
> +    caller != null ? caller.getMethodName() : "<unknown>",
>      message,
>      thrown);
>    }
> @@ -1162,19 +1162,25 @@
>    /**
>     * Gets the StackTraceElement of the first class that is not this 
class.
>     * That should be the initial caller of a logging method.
> -   * @return caller of the initial looging method
> +   * @return caller of the initial logging method or null if unknown.
>     */
>    private StackTraceElement getCallerStackFrame()
>    {
>      Throwable t = new Throwable();
>      StackTraceElement[] stackTrace = t.getStackTrace();
>      int index = 0;
> +
>      // skip to stackentries until this class
> - 
while(!stackTrace[index].getClassName().equals(getClass().getName())){index++;}
> +    while(index < stackTrace.length
> +     && !stackTrace[index].getClassName().equals(getClass().getName()))
> +      index++;
> +
>      // skip the stackentries of this class
> - 
while(stackTrace[index].getClassName().equals(getClass().getName())){index++;}
> +    while(index < stackTrace.length
> +     && stackTrace[index].getClassName().equals(getClass().getName()))
> +      index++;
> 
> -    return stackTrace[index];
> +    return index < stackTrace.length ? stackTrace[index] : null;
>    }
> 
>    /**
> [attachment "signature.asc" deleted by David P Grove/Watson/IBM] 



From MAILER-DAEMON Fri Jul 15 10:29:22 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtRBp-0008IE-TM
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 10:29:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtRBi-0008Gd-3O
	for classpath@gnu.org; Fri, 15 Jul 2005 10:29:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtRBN-0008BU-8k
	for classpath@gnu.org; Fri, 15 Jul 2005 10:29:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtRBN-0007R0-44
	for classpath@gnu.org; Fri, 15 Jul 2005 10:28:53 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DtQqj-0002Kq-2n
	for classpath@gnu.org; Fri, 15 Jul 2005 10:07:47 -0400
Received: (qmail invoked by alias); 15 Jul 2005 13:58:04 -0000
Received: from p213.54.222.196.tisdip.tiscali.de (EHLO [213.54.222.196])
	[213.54.222.196]
	by mail.gmx.net (mp032) with SMTP; 15 Jul 2005 15:58:04 +0200
X-Authenticated: #17532834
Message-ID: <42D7C1C3.3060606@gmx.net>
Date: Fri, 15 Jul 2005 16:01:39 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: audriusa@bluewin.ch, GNU Classpath <classpath@gnu.org>
References: <42D6B8C9.1040802@bluewin.ch>
In-Reply-To: <42D6B8C9.1040802@bluewin.ch>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: 
Subject: Re: Suggesting public GNU Classpath namespace
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, 15 Jul 2005 14:29:14 -0000

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

Hi,
correct me if I am wrong but I think 'our' public namespace would be:

org.gnu.classpath

cu
Robert

Meskauskas Audrius wrote:
>> The problem is that Rights, as well as ACL and Quota, are in a com.sun
> package.
> 
> There is an idea to suggest the public name space in our Classpath that
> would not be a part of java, javax and so on API, but where we could
> release the classes we are promising to keep stable and compatible for
> future releases. This would allow to solve cases when we have something
> implemented, but must keep undocumented just because the matching Sun
> class is in sun.* name space.  This name space could be automatically
> included into our API doc and would be a place where we could place the
> independent implementations of something remembering the sun.* classes. 
> Also our own extensions like HTML to DOM parser or CORBA 3.0.3 features
> that are defined in mine OMG book but not yet supported by jdk 1.5. The
> proposed prefix could be something like "gnu.org" or "fsf" (direct
> analog to "sun") or similar. Maybe somebody more competent in software
> licensing could check if we are allowed to do this (we have a lot of
> classes gnu. name space anyway).
> 
> Audrius.
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFC17tEG9cfwmwwEtoRAnlrAJ9Lkx6Br0r6elyyH5KZMkvVdROCoACfXg9U
ciDYlsY48V3uhRf3x+4Udmo=
=PGV6
-----END PGP SIGNATURE-----



From MAILER-DAEMON Fri Jul 15 10:54:17 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtRZv-0003Kq-Px
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 10:54:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtRZu-0003KI-BP
	for classpath@gnu.org; Fri, 15 Jul 2005 10:54:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtRZU-0003Gn-G4
	for classpath@gnu.org; Fri, 15 Jul 2005 10:54:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtRZU-000380-B1
	for classpath@gnu.org; Fri, 15 Jul 2005 10:53:48 -0400
Received: from [80.168.156.78] (helo=owls-tree.tapsellferrier.co.uk)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1DtRc9-0005JQ-3W
	for classpath@gnu.org; Fri, 15 Jul 2005 10:56:35 -0400
Received: from kanga.tapsellferrier.co.uk ([80.168.156.68] helo=kanga)
	by owls-tree.tapsellferrier.co.uk with esmtp (Exim 4.50 #1 (Debian))
	id 1DtRKf-0002qf-1N; Fri, 15 Jul 2005 15:38:29 +0100
Received: from nferrier by kanga with local (Exim 4.50)
	id 1DtRLr-0003im-Ey; Fri, 15 Jul 2005 15:39:43 +0100
To: Robert Schuster <theBohemian@gmx.net>
References: <42D6B8C9.1040802@bluewin.ch> <42D7C1C3.3060606@gmx.net>
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: Fri, 15 Jul 2005 15:39:42 +0100
In-Reply-To: <42D7C1C3.3060606@gmx.net> (Robert Schuster's message of "Fri,
	15 Jul 2005 16:01:39 +0200")
Message-ID: <87eka0f80h.fsf@kanga.tapsellferrier.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Suggesting public GNU Classpath namespace
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, 15 Jul 2005 14:54:14 -0000

Robert Schuster <theBohemian@gmx.net> writes:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
> correct me if I am wrong but I think 'our' public namespace would be:
>
> org.gnu.classpath

GNU already has a public namespace. It is:

 gnu

You might have seen it in, err..., well just about every gnu Java
package actually.

There is documentation about this decision somewhere.


Nic Ferrier



From MAILER-DAEMON Fri Jul 15 10:55:12 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtRaq-0003Vv-10
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 10:55:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtRam-0003V9-Gn
	for classpath@gnu.org; Fri, 15 Jul 2005 10:55:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtRa8-0003NA-4E
	for classpath@gnu.org; Fri, 15 Jul 2005 10:55:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtRa7-000380-SE
	for classpath@gnu.org; Fri, 15 Jul 2005 10:54:27 -0400
Received: from [62.13.128.182] (helo=outmail128182.authsmtp.co.uk)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DtRZg-00059q-Ka
	for classpath@gnu.org; Fri, 15 Jul 2005 10:54:03 -0400
Received: from [192.168.1.5] (host81-130-208-103.in-addr.btopenworld.com
	[81.130.208.103]) (authenticated bits=0)
	by squirrel.dmpriest.net.uk (8.13.3/8.13.3/Kp) with ESMTP id
	j6FEiIUK015294; Fri, 15 Jul 2005 15:44:18 +0100 (BST)
	(envelope-from david.gilbert@object-refinery.com)
Message-ID: <42D7D9D2.9040506@object-refinery.com>
Date: Fri, 15 Jul 2005 15:44:18 +0000
From: David Gilbert <david.gilbert@object-refinery.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050426)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Robert Schuster <theBohemian@gmx.net>
References: <42D6B8C9.1040802@bluewin.ch> <42D7C1C3.3060606@gmx.net>
In-Reply-To: <42D7C1C3.3060606@gmx.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:Kp
X-Powered-By: AuthSMTP - http://www.authsmtp.com - Authenticated SMTP Mail
	Relay
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own
	anti-virus system!
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Suggesting public GNU Classpath namespace
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, 15 Jul 2005 14:55:10 -0000

Robert Schuster wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi,
>correct me if I am wrong but I think 'our' public namespace would be:
>
>org.gnu.classpath
>
>cu
>Robert
>
>  
>
I think the GNU people don't like the 'org' prefix:

http://www.gnu.org/software/java/packages.html#why-just-gnu

Regards,

Dave



From MAILER-DAEMON Fri Jul 15 11:13:54 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtRsw-000646-3T
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 11:13:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtRsv-000640-9O
	for classpath@gnu.org; Fri, 15 Jul 2005 11:13:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtRsT-0005xc-NC
	for classpath@gnu.org; Fri, 15 Jul 2005 11:13:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtRsT-0005uY-KF
	for classpath@gnu.org; Fri, 15 Jul 2005 11:13:25 -0400
Received: from [212.126.219.82] (helo=mail.aicas.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtRtz-0006Z8-8N
	for classpath@gnu.org; Fri, 15 Jul 2005 11:15:00 -0400
Received: from [192.168.1.72] (unknown [192.168.1.72])
	by mail.aicas.de (Postfix) with ESMTP id D75346BC592;
	Fri, 15 Jul 2005 16:43:22 +0200 (CEST)
Message-ID: <42D7CB1C.4020200@aicas.com>
Date: Fri, 15 Jul 2005 16:41:32 +0200
From: Roman Kennke <kennke@aicas.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Robert Schuster <theBohemian@gmx.net>
References: <42D6B8C9.1040802@bluewin.ch> <42D7C1C3.3060606@gmx.net>
In-Reply-To: <42D7C1C3.3060606@gmx.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Suggesting public GNU Classpath namespace
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, 15 Jul 2005 15:13:53 -0000

Robert Schuster wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi,
>correct me if I am wrong but I think 'our' public namespace would be:
>
>org.gnu.classpath
>  
>
Yeah, maybe org.classpath would also be ok and more straightforward, 
since we own the classpath.org domain.

/Roman




From MAILER-DAEMON Fri Jul 15 11:49:29 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtSRM-0002dK-OY
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 11:49:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtSRL-0002cl-53
	for classpath@gnu.org; Fri, 15 Jul 2005 11:49:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtSR3-0002Ym-8Z
	for classpath@gnu.org; Fri, 15 Jul 2005 11:49:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtSR3-0002Sy-2t
	for classpath@gnu.org; Fri, 15 Jul 2005 11:49:09 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtSUg-0001Dw-Tx
	for classpath@gnu.org; Fri, 15 Jul 2005 11:52:56 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DtSMN-0003uR-00
	for <classpath@gnu.org>; Fri, 15 Jul 2005 17:44:19 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-qSF3d9ERIGQ2JqEi70fW"
Date: Fri, 15 Jul 2005 17:44:10 +0200
Message-Id: <1121442250.24188.38.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: GNU Classpatchy 0.17 released
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, 15 Jul 2005 15:49:27 -0000


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

We are pleased to announce a new developer snapshot of GNU Classpath.

GNU Classpath, essential libraries for java, is a project to create free
core class libraries for use with runtimes, compilers and tools for the
java programming language.

The GNU Classpath developer snapshot releases are not directly aimed
at the end user but are meant to be integrated into larger development
platforms. For example the GCC (gcj) and Kaffe projects will use the
developer snapshots as a base for future versions.

This is mainly a bug fix release for issues found with eclipse 3.1 and
Free Swing applications just after our 0.16 release. But it also
includes some exciting new features.

Some highlights of changes in this release (more extensive list below):

XML DOM, XPATH and XSL fixes. Free Swing is much more responsive.
JInternalFram, JTree, JMenu, JTable, JButton and JFileChooser fixes.
FileChannel lock and force implementations added. The logging
FileHandler now rotates files. Clean locking and namespace for gtkpeer
library. System call interrupts and timeouts are now handled correctly
for net and nio. Corba bug fixes. Lots of documentation updates. The
VM Integration Guide now comes with a full section on the VM/Classpath
hooks. GNU Classpath Examples now includes a Tree World demo.

21 people actively contributed code to this release and made 171 CVS
commits during the two weeks of development. diffstat since 0.16:
3638 files changed, 25798 insertions(+), 15596 deletions(-)

More details about the various changes and contributions below.

This release passes 29508 out of 30320 Mauve core library tests.
Conformance reports for the included jaxp support can be found in the
doc/README.jaxp file.

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

File: classpath-0.17.tar.gz
MD5sum: eb620987422878e05ea889d5e7496c63
SHA1sum: 3b47cb37c91803fbc9d0426d97e1faa6a993615a

The GNU Classpath developers site http://developer.classpath.org/
provides detailed information on how to start with helping the GNU
Classpath project and gives an overview of the core class library
packages currently provided.  For each snapshot release generated
documentation is provided through the GNU Classpath Tools gjdoc
project. A documentation generation framework for java source files
used by the GNU project. Full documentation on the currently
implementated packages and classes can be found at:
http://developer.classpath.org/doc/

New in release 0.17 (Jul 15, 2005)
(See the ChangeLog file for a full list of changes.)

* gnu.xml fix for dom nodes created outside a namespace context.
* Add support for output indenting and cdata-section-elements output
  instruction in xml.transform.
* xml.xpath corrections for cases where elements/attributes might have
  been created in non-namespace-aware mode. Corrections to handling of
  XSL variables and minor conformance updates.
* DefaultMutableTreeNode preorder, postorder, depthFirst and breadthFirst
  traversal enumerations implemented.
* JInternalFrame colors and titlebar draw properly.
* JTree is working up to par (icons, selection and keyboard traversal).
* JMenus were made more compatible in visual and programmatic behavior.
* JTable changeSelection and multiple selections implemented.
* JButton and JToggleButton change states work properly now.
* JFileChooser fixes.
* revalidate and repaint fixes which make Free Swing much more responsive.
* Correctly handle system call interrupts and timeouts in native nio
  and net functions.
* MetalIconFactory implemented.
* Handle image loading errors correctly for gdkpixbuf and MediaTracker.
* Added Tree World to GNU Classpath examples Free Swing demo.
* FileChannel.lock() and FileChannel.force() implemented.
* java.util.logging.FileHandler now rotates files.
* Better handle GDK lock. Properly prefix gtkpeer native functions (cp_gtk)=
.
* Corba bug fixes and documentation updates.
* Updated gcj build infrastructure.
* Documentation fixes all over the place.
  See http://developer.classpath.org/doc/
* VM Integration Guide updates with a full section on VM/Classpath hooks.

The following people helped with this release:

Aaron Luchko (JDWP updates and documentation fixes)
Andrew John Hughes (VMIntegration guide update)
Anthony Balkissoon (Lots of Free Swing updates)
Archie Cobbs (build and URLClassLoader updates)
Audrius Meskauskas (Corba and text and html parser fixes)
Casey Marshall (FileChannel lock, SystemLogger and FileHandler rotate impl.=
)
Chris Burdess (Lots of gnu.xml and http protocol fixes)
Dalibor Topic (Better DEBUG support)
Daniel Bonniot (Serialization fixes)
David Gilbert (Lots of documentation and MetalIconFactory implementation)
Guilhem Lavaux (Logger bug fixes)
Jeroen Frijters (Serialization fixes)
Lillian Angel (Lots of Free Swing updates)
Mark Wielaard (System call interrupts, timeouts and packaging)
Robert Schuster (TreeNode enumerations and ActionCommand and various fixes)
Roman Kennke (Lots of Free Swing updates)
Sven de Marothy (GtkImage fixes)
Thomas Fitzsimmons (gtk peer updates and restructuring)
Simon Kitching (String cleanups and optimization suggestions)
Tom Tromey (gcj build update)
Ziga Mahkovec (build fixes)

We would also like to thank the numerous bug reporters and testers!

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

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

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

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

iD8DBQBC19nKxVhZCJWr9QwRAtyKAJ40eJzfyqjch4BhXNUh3xvy9DhDbwCePbF4
RHB8UsHcA4GLNSGLJAl35po=
=7Na+
-----END PGP SIGNATURE-----

--=-qSF3d9ERIGQ2JqEi70fW--




From MAILER-DAEMON Fri Jul 15 12:25:27 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtT08-0005wF-Tg
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 12:25:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtT03-0005vS-Ve
	for classpath@gnu.org; Fri, 15 Jul 2005 12:25:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtSzP-0005ko-8U
	for classpath@gnu.org; Fri, 15 Jul 2005 12:25:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtSzP-0005Mn-4j
	for classpath@gnu.org; Fri, 15 Jul 2005 12:24:39 -0400
Received: from [195.186.18.62] (helo=mail13.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtSs1-0002kn-5l
	for classpath@gnu.org; Fri, 15 Jul 2005 12:17:02 -0400
Received: from [127.0.0.1] (213.3.71.130) by mail13.bluewin.ch (Bluewin
	7.2.063) id 42D27FB2000D2FEF for classpath@gnu.org;
	Fri, 15 Jul 2005 16:07:47 +0000
Message-ID: <42D7DF55.8040208@bluewin.ch>
Date: Fri, 15 Jul 2005 18:07:49 +0200
From: Meskauskas Audrius <audriusa@bluewin.ch>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "classpath@gnu.org" <classpath@gnu.org>
References: <42D6B8C9.1040802@bluewin.ch> <42D7C1C3.3060606@gmx.net>
	<87eka0f80h.fsf@kanga.tapsellferrier.co.uk>
In-Reply-To: <87eka0f80h.fsf@kanga.tapsellferrier.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: Suggesting public GNU Classpath namespace
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: audriusa@bluewin.ch
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2005 16:25:22 -0000

The gnu.* domain does not indicate differences between 
implementation-related classes that can be changed at any time and the 
stable interfaces we would like to expose to public. We do not recommend 
to use any class from gnu.* name space because some of them they change 
from release to release, this is inevitable. I suggest a place where we 
could store interface classes that we plan only extend in the future, 
but never remove any class or method. gnu.classpath.* already contains 
some classes. I do not know if they satisfy these requirements.

Audrius

Nic Ferrier wrote:

>Robert Schuster <theBohemian@gmx.net> writes:
>
>  
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>Hi,
>>correct me if I am wrong but I think 'our' public namespace would be:
>>
>>org.gnu.classpath
>>    
>>
>
>GNU already has a public namespace. It is:
>
> gnu
>
>You might have seen it in, err..., well just about every gnu Java
>package actually.
>
>There is documentation about this decision somewhere.
>
>
>Nic Ferrier
>
>
>  
>




From MAILER-DAEMON Fri Jul 15 15:37:43 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtW0B-00082R-DE
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 15:37:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtW04-0007zJ-O9
	for classpath@gnu.org; Fri, 15 Jul 2005 15:37:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtW02-0007y9-CG
	for classpath@gnu.org; Fri, 15 Jul 2005 15:37:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtW02-0007xr-85
	for classpath@gnu.org; Fri, 15 Jul 2005 15:37:30 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DtW6R-00069h-LO
	for classpath@gnu.org; Fri, 15 Jul 2005 15:44:08 -0400
Received: (qmail invoked by alias); 15 Jul 2005 19:35:29 -0000
Received: from p213.54.222.196.tisdip.tiscali.de (EHLO [213.54.222.196])
	[213.54.222.196]
	by mail.gmx.net (mp012) with SMTP; 15 Jul 2005 21:35:29 +0200
X-Authenticated: #17532834
Message-ID: <42D810D4.6060209@gmx.net>
Date: Fri, 15 Jul 2005 21:39:00 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <42D6B8C9.1040802@bluewin.ch> <42D7C1C3.3060606@gmx.net>
	<42D7D9D2.9040506@object-refinery.com>
In-Reply-To: <42D7D9D2.9040506@object-refinery.com>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Subject: Re: Suggesting public GNU Classpath namespace
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, 15 Jul 2005 19:37:34 -0000

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

Hi.
> 
> I think the GNU people don't like the 'org' prefix:
> 
> http://www.gnu.org/software/java/packages.html#why-just-gnu
Btw: That place lists a wrong package name for the Gtk+ and Gnome
bindings[0].

I was under the impression that we do it like sun.

<org-name>.foo is for private stuff
<tld>.<org-name>.foo is for public stuff.

However I don't want to advocate one or the other. This topic smells
like bikeshed[1] :)

cu
Robert

[0] - http://java-gnome.sourceforge.net/docs/javadoc/index.html
[1] - http://bikeshed.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFC2BDUG9cfwmwwEtoRAvZ+AJ9kiIqSpuahj2NaLn89N7gux4HPqgCfT8Hg
49tUGa7tBKyswVbTr5rQNJk=
=Yeob
-----END PGP SIGNATURE-----



From MAILER-DAEMON Fri Jul 15 19:28:13 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtZbH-00086V-HP
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 19:28:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtZbD-00083q-7y
	for classpath@gnu.org; Fri, 15 Jul 2005 19:28:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtZb7-00081a-8V
	for classpath@gnu.org; Fri, 15 Jul 2005 19:28:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtZb5-0007uf-La
	for classpath@gnu.org; Fri, 15 Jul 2005 19:27:59 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtZX8-0002B2-Gh
	for classpath@gnu.org; Fri, 15 Jul 2005 19:23:54 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DtZP4-0007dP-00
	for <classpath@gnu.org>; Sat, 16 Jul 2005 01:15:34 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-BajSkY0q2P6irM4dDmjH"
Date: Sat, 16 Jul 2005 01:15:14 +0200
Message-Id: <1121469314.4751.9.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Subject: Bug tracker being moved (and Big Merge in preparation)
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, 15 Jul 2005 23:28:08 -0000


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

Hi,

We are (finally) trying to move the bugtracker from savannah to bugzilla
over the weekend. I have suspended the tracker on savannah for now to
make sure that no bugs are reported that might not make the transition
and would become lost. I hope to give a status update soon.

Tom is currently also preparing "The Big Merge". This is mainly
something that impacts the libgcj side. But it will make it much easier
to run gcj with an up to date classpath. See for more details:
http://gcc.gnu.org/ml/gcc/2005-07/msg00612.html

Cheers,

Mark

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

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

iD8DBQBC2EOCxVhZCJWr9QwRAtaOAJ4onnhFMzYO4m8OH4Jji5wUKlSREQCgr/+E
bxmLw+1Nk8yr87jVD4eHTzU=
=AV8z
-----END PGP SIGNATURE-----

--=-BajSkY0q2P6irM4dDmjH--




From MAILER-DAEMON Fri Jul 15 19:29:28 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtZcV-0008SE-TS
	for mharc-classpath@gnu.org; Fri, 15 Jul 2005 19:29:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtZcU-0008Rs-A2
	for classpath@gnu.org; Fri, 15 Jul 2005 19:29:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtZcO-0008Qv-JA
	for classpath@gnu.org; Fri, 15 Jul 2005 19:29:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtZcO-0008Qf-A5
	for classpath@gnu.org; Fri, 15 Jul 2005 19:29:20 -0400
Received: from [62.13.128.167] (helo=outmail128167.authsmtp.co.uk)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DtZii-0002pB-VH
	for classpath@gnu.org; Fri, 15 Jul 2005 19:35:53 -0400
Received: from [82.5.12.93] (cpc2-hem14-6-0-cust93.lutn.cable.ntl.com
	[82.5.12.93]) (authenticated bits=0)
	by squirrel.dmpriest.net.uk (8.13.3/8.13.3/Kp) with ESMTP id
	j6FNRAHG035706; Sat, 16 Jul 2005 00:27:11 +0100 (BST)
	(envelope-from david.gilbert@object-refinery.com)
Message-ID: <42D8545E.5050303@object-refinery.com>
Date: Sat, 16 Jul 2005 00:27:10 +0000
From: David Gilbert <david.gilbert@object-refinery.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050426)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <42D77CC0.3050600@object-refinery.com>
	<1121417251.7058.47.camel@localhost.localdomain>
In-Reply-To: <1121417251.7058.47.camel@localhost.localdomain>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:Kp
X-Powered-By: AuthSMTP - http://www.authsmtp.com - Authenticated SMTP Mail
	Relay
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own
	anti-virus system!
Cc: classpath@gnu.org
Subject: Thanks a million! 
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, 15 Jul 2005 23:29:27 -0000

Mark Wielaard wrote:

>On Fri, 2005-07-15 at 09:07 +0000, David Gilbert wrote:
>  
>
>>I updated the statcvs reports for Classpath and Mauve:
>>
>>http://www.object-refinery.com/classpath/statcvs/
>>    
>>
>
>Total Lines Of Code: 999019 (2005-07-14 22:07)
>
>So close... :)
>
>Mark
>  
>
Updated for today's commits:

http://www.object-refinery.com/classpath/statcvs/

Total Lines Of Code:  1001993 (2005-07-15 20:37)

Regards,

Dave





From MAILER-DAEMON Sat Jul 16 08:58:24 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DtmE6-00021V-Kq
	for mharc-classpath@gnu.org; Sat, 16 Jul 2005 08:57:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DtmDo-0001xH-5X
	for classpath@gnu.org; Sat, 16 Jul 2005 08:56:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DtmDb-0001rf-Kj
	for classpath@gnu.org; Sat, 16 Jul 2005 08:56:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DtmDb-0001aL-Ff
	for classpath@gnu.org; Sat, 16 Jul 2005 08:56:35 -0400
Received: from [65.54.174.11] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dtm9d-0004IS-Dg
	for classpath@gnu.org; Sat, 16 Jul 2005 08:52:29 -0400
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Sat, 16 Jul 2005 05:43:41 -0700
Message-ID: <BAY103-F12E50921FC17E5BEAD955A9D30@phx.gbl>
Received: from 65.54.174.200 by by103fd.bay103.hotmail.msn.com with HTTP;
	Sat, 16 Jul 2005 12:43:41 GMT
X-Originating-IP: [195.158.138.61]
X-Originating-Email: [theuserbl@hotmail.com]
X-Sender: theuserbl@hotmail.com
From: "theUser BL" <theuserbl@hotmail.com>
To: classpath@gnu.org
Bcc: 
Date: Sat, 16 Jul 2005 12:43:41 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
X-OriginalArrivalTime: 16 Jul 2005 12:43:41.0705 (UTC)
	FILETIME=[FEF6CF90:01C58A03]
Subject: Metal icons
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, 16 Jul 2005 12:57:05 -0000

Hi!

At home I have GNU Classpath 0.14. So I don't know if there existing already 
some icons for Classpath.
Are still icons needed?
Yesterday I have created four metal message icons:
http://www.theuserbl.ag.vu/messageicons.zip

Greatings
theuserbl





From MAILER-DAEMON Sun Jul 17 11:55:24 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DuBUB-0002xj-Tw
	for mharc-classpath@gnu.org; Sun, 17 Jul 2005 11:55:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DuBU6-0002un-R2
	for classpath@gnu.org; Sun, 17 Jul 2005 11:55:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DuBU5-0002u0-Ba
	for classpath@gnu.org; Sun, 17 Jul 2005 11:55:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DuBU5-0002tq-98
	for classpath@gnu.org; Sun, 17 Jul 2005 11:55:17 -0400
Received: from [84.165.77.85] (helo=clerks.kaffe.org)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1DuBaq-0003ig-Tb; Sun, 17 Jul 2005 12:02:17 -0400
Received: from [127.0.0.1] (clerks.kaffe.org [127.0.0.1])
	by clerks.kaffe.org (8.13.4/8.13.4) with ESMTP id j6HFrBS9025102;
	Sun, 17 Jul 2005 17:53:11 +0200
Message-ID: <42DA7EE5.6030908@kaffe.org>
Date: Sun, 17 Jul 2005 17:53:09 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath Project <classpath@gnu.org>, cbj@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Removing GtkLookAndFeel
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 Jul 2005 15:55:21 -0000

Hi all,

while syncing code around, I came accross the 
gnu/javax/swing/plaf/gtk/*.java classes, which do not seem to be used 
anywhere in GNU Classpath.

So I'd propose removing the unused classes, but keeping the icons 
subdirectory around, since that one is used by javax.swing.

If there are no objections, I'll check in a patch.

cheers,
dalibor topic



From MAILER-DAEMON Sun Jul 17 13:24:45 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DuCsf-0003Hh-6G
	for mharc-classpath@gnu.org; Sun, 17 Jul 2005 13:24:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DuCsX-0003Cc-Ou
	for classpath@gnu.org; Sun, 17 Jul 2005 13:24:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DuCsO-000388-HJ
	for classpath@gnu.org; Sun, 17 Jul 2005 13:24:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DuCsO-00034k-9U
	for classpath@gnu.org; Sun, 17 Jul 2005 13:24:28 -0400
Received: from [64.233.184.207] (helo=wproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DuCmC-0007Cs-1j
	for classpath@gnu.org; Sun, 17 Jul 2005 13:18:04 -0400
Received: by wproxy.gmail.com with SMTP id i16so888263wra
	for <classpath@gnu.org>; Sun, 17 Jul 2005 10:09:00 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=tUWCVWlkFqgbmXfAs4bXvylNgEvOGQOnyG08emcC2ZvmP4ImC3AbrR8LDBgSfZu58iLx+jce+YHVWkptqpoACp97fcKYMUJn0SMiV8j6lIJ+6mUTUa9Abn8CSmBcxK10JKGbnyP37v04xomx2eOfciaUS6PyCrqxdCSqlZwxF+A=
Received: by 10.54.61.14 with SMTP id j14mr129467wra;
	Sun, 17 Jul 2005 10:09:00 -0700 (PDT)
Received: by 10.54.119.1 with HTTP; Sun, 17 Jul 2005 10:09:00 -0700 (PDT)
Message-ID: <ba76afd905071710093f11089e@mail.gmail.com>
Date: Sun, 17 Jul 2005 13:09:00 -0400
From: Stuart Ballard <stuart.a.ballard@gmail.com>
To: Dalibor Topic <robilad@kaffe.org>
In-Reply-To: <42DA7EE5.6030908@kaffe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <42DA7EE5.6030908@kaffe.org>
Cc: cbj@gnu.org, GNU Classpath Project <classpath@gnu.org>
Subject: Re: Removing GtkLookAndFeel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Stuart Ballard <stuart.a.ballard@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Jul 2005 17:24:41 -0000

Surely they'd be needed to implement getPlatformLookAndFeel() or
whatever the method is called? (along with a hypothetical
gnu.javax.swing.plaf.qt package for KDE users)

On 7/17/05, Dalibor Topic <robilad@kaffe.org> wrote:
> Hi all,
>=20
> while syncing code around, I came accross the
> gnu/javax/swing/plaf/gtk/*.java classes, which do not seem to be used
> anywhere in GNU Classpath.
>=20
> So I'd propose removing the unused classes, but keeping the icons
> subdirectory around, since that one is used by javax.swing.
>=20
> If there are no objections, I'll check in a patch.
>=20
> cheers,
> dalibor topic
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
>=20


--=20
http://sab39.dev.netreach.com/



From MAILER-DAEMON Sun Jul 17 13:52:50 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DuDJo-0008NF-HK
	for mharc-classpath@gnu.org; Sun, 17 Jul 2005 13:52:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DuDJh-0008KX-LQ
	for classpath@gnu.org; Sun, 17 Jul 2005 13:52:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DuDJU-0008Cv-OW
	for classpath@gnu.org; Sun, 17 Jul 2005 13:52:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DuDJT-00084C-Aq
	for classpath@gnu.org; Sun, 17 Jul 2005 13:52:27 -0400
Received: from [84.165.77.85] (helo=clerks.kaffe.org)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1DuDF9-0008Ir-Pw; Sun, 17 Jul 2005 13:48:00 -0400
Received: from [127.0.0.1] (clerks.kaffe.org [127.0.0.1])
	by clerks.kaffe.org (8.13.4/8.13.4) with ESMTP id j6HHcicd015433;
	Sun, 17 Jul 2005 19:38:50 +0200
Message-ID: <42DA97A2.2010908@kaffe.org>
Date: Sun, 17 Jul 2005 19:38:42 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stuart Ballard <stuart.a.ballard@gmail.com>
References: <42DA7EE5.6030908@kaffe.org>
	<ba76afd905071710093f11089e@mail.gmail.com>
In-Reply-To: <ba76afd905071710093f11089e@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: cbj@gnu.org, GNU Classpath Project <classpath@gnu.org>
Subject: Re: Removing GtkLookAndFeel
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 Jul 2005 17:52:44 -0000

Stuart Ballard wrote:
> Surely they'd be needed to implement getPlatformLookAndFeel() or
> whatever the method is called? (along with a hypothetical
> gnu.javax.swing.plaf.qt package for KDE users)

I don't know. Are they used for that?

As far as I can see, they are not part of the build according to the 
standard.omit file. i.e. they are not part of glibj.zip.

So I am wondering whether anyone uses them (and for what they are used 
;). As the code is neither built nor referenced from the rest of the 
library code, I'm wondering whether one can safely remove it.

cheers,
dalibor topic



From MAILER-DAEMON Mon Jul 18 09:35:30 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DuVmL-0000s6-U0
	for mharc-classpath@gnu.org; Mon, 18 Jul 2005 09:35:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DuVmI-0000rA-9A
	for classpath@gnu.org; Mon, 18 Jul 2005 09:35:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DuVjp-0000Eg-RQ
	for classpath@gnu.org; Mon, 18 Jul 2005 09:32:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DuVjg-00007p-Tl
	for classpath@gnu.org; Mon, 18 Jul 2005 09:32:45 -0400
Received: from [193.189.160.40] (helo=mta1.siol.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DuVTu-0000Yc-LQ
	for classpath@gnu.org; Mon, 18 Jul 2005 09:16:27 -0400
Received: from edge1.siol.net ([10.10.10.210]) by mta1.siol.net with ESMTP
	id <20050718130707.NUKC2352.mta1.siol.net@edge1.siol.net>
	for <classpath@gnu.org>; Mon, 18 Jul 2005 15:07:07 +0200
Received: from serenity.klika.si ([193.77.157.51]) by edge1.siol.net with ESMTP
	id <20050718130707.WAYB2073.edge1.siol.net@serenity.klika.si>
	for <classpath@gnu.org>; Mon, 18 Jul 2005 15:07:07 +0200
From: Ziga Mahkovec <ziga.mahkovec@klika.si>
To: classpath@gnu.org
In-Reply-To: <42DB4600.8090906@semantic-systems.com>
References: <42DB4600.8090906@semantic-systems.com>
Content-Type: text/plain; charset=UTF-8
Date: Mon, 18 Jul 2005 15:07:04 +0200
Message-Id: <1121692024.3806.31.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-5) 
Content-Transfer-Encoding: 8bit
Subject: Re: [bug-classpath] Predefined character classes in regular
	expressions
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 Jul 2005 13:35:27 -0000

On Mon, 2005-07-18 at 08:02 +0200, Jose Félix Torre wrote:
> Last week I try to launch my java project using Classpath instead  sun's 
> sdk. I found the regular expressions of my project never match.
> 
> After some tests,  I found  that the Classpath regexp package don't 
> understand character classes. This is an example of problematic java 
> regex for Classpath :
> 
> \p{Digit}
> 
> [...]

gnu.regexp seems to use a different syntax for character classes:

  [:digit:]

Any progress with integrating jregex in Classpath, Mark?  It should take
case of this bug as well.

-- 
Ziga




From MAILER-DAEMON Mon Jul 18 13:42:01 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DuZcv-0005EW-13
	for mharc-classpath@gnu.org; Mon, 18 Jul 2005 13:42:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DuZca-0005As-Qt
	for classpath@gnu.org; Mon, 18 Jul 2005 13:41:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DuZcX-00058v-ND
	for classpath@gnu.org; Mon, 18 Jul 2005 13:41:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DuZcX-00056H-Dp
	for classpath@gnu.org; Mon, 18 Jul 2005 13:41:37 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1DuZg8-0003FH-KN; Mon, 18 Jul 2005 13:45:20 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j6IHZvo8028590;
	Mon, 18 Jul 2005 13:35:57 -0400
Received: from opsy.redhat.com (vpn50-49.rdu.redhat.com [172.16.50.49])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6IHZuV12153; 
	Mon, 18 Jul 2005 13:35:57 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 6AC1A2DD95C; Mon, 18 Jul 2005 11:32:30 -0600 (MDT)
Sender: tromey@redhat.com
To: Dalibor Topic <robilad@kaffe.org>
References: <42DA7EE5.6030908@kaffe.org>
	<ba76afd905071710093f11089e@mail.gmail.com>
	<42DA97A2.2010908@kaffe.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 18 Jul 2005 11:32:30 -0600
In-Reply-To: <42DA97A2.2010908@kaffe.org>
Message-ID: <m3mzokj9zl.fsf@localhost.localdomain>
Lines: 22
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: cbj@gnu.org, GNU Classpath Project <classpath@gnu.org>
Subject: Re: Removing GtkLookAndFeel
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, 18 Jul 2005 17:41:41 -0000

>>>>> "Dalibor" == Dalibor Topic <robilad@kaffe.org> writes:

>> Surely they'd be needed to implement getPlatformLookAndFeel() or
>> whatever the method is called? (along with a hypothetical
>> gnu.javax.swing.plaf.qt package for KDE users)

Dalibor> So I am wondering whether anyone uses them (and for what they are used
Dalibor> ;). As the code is neither built nor referenced from the rest of the
Dalibor> library code, I'm wondering whether one can safely remove it.

My impression is that they were the start of a gtk-like plaf, but then
never finished.  I think it would be fine to remove them.  Just make a
tag or something before you delete them so that it is easy to
resurrect them later if someone really wants to.

Dalibor> So I'd propose removing the unused classes, but keeping the
Dalibor> icons subdirectory around, since that one is used by
Dalibor> javax.swing.

Probably these should be moved to resource/ anyway.

Tom



From MAILER-DAEMON Mon Jul 18 14:34:52 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DuaS4-0001Dr-1H
	for mharc-classpath@gnu.org; Mon, 18 Jul 2005 14:34:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DuaS0-0001Ba-5Z
	for classpath@gnu.org; Mon, 18 Jul 2005 14:34:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DuaRy-0001AS-0j
	for classpath@gnu.org; Mon, 18 Jul 2005 14:34:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DuaLd-0007my-04
	for classpath@gnu.org; Mon, 18 Jul 2005 14:28:13 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1DuaCM-0005yQ-LD; Mon, 18 Jul 2005 14:18:38 -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 j6II9JaW006772;
	Mon, 18 Jul 2005 14:09:19 -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 j6II9JV23035; 
	Mon, 18 Jul 2005 14:09:19 -0400
Received: from tow.toronto.redhat.com (tow.toronto.redhat.com [172.16.14.160])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	j6II9J1M029602; Mon, 18 Jul 2005 14:09:19 -0400
From: Lillian Angel <langel@redhat.com>
To: tromey@redhat.com
In-Reply-To: <m3mzokj9zl.fsf@localhost.localdomain>
References: <42DA7EE5.6030908@kaffe.org>
	<ba76afd905071710093f11089e@mail.gmail.com>
	<42DA97A2.2010908@kaffe.org> <m3mzokj9zl.fsf@localhost.localdomain>
Content-Type: text/plain
Date: Mon, 18 Jul 2005 14:09:18 -0400
Message-Id: <1121710158.3449.27.camel@tow.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-11.fc5) 
Content-Transfer-Encoding: 7bit
Cc: cbj@gnu.org, GNU Classpath Project <classpath@gnu.org>
Subject: Re: Removing GtkLookAndFeel
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 Jul 2005 18:34:50 -0000

Please do not remove the gtk icons, they are used for the
BasicLookAndFeel right now.

Thanks,
Lillian angel

On Mon, 2005-07-18 at 11:32 -0600, Tom Tromey wrote:
> >>>>> "Dalibor" == Dalibor Topic <robilad@kaffe.org> writes:
> 
> >> Surely they'd be needed to implement getPlatformLookAndFeel() or
> >> whatever the method is called? (along with a hypothetical
> >> gnu.javax.swing.plaf.qt package for KDE users)
> 
> Dalibor> So I am wondering whether anyone uses them (and for what they are used
> Dalibor> ;). As the code is neither built nor referenced from the rest of the
> Dalibor> library code, I'm wondering whether one can safely remove it.
> 
> My impression is that they were the start of a gtk-like plaf, but then
> never finished.  I think it would be fine to remove them.  Just make a
> tag or something before you delete them so that it is easy to
> resurrect them later if someone really wants to.
> 
> Dalibor> So I'd propose removing the unused classes, but keeping the
> Dalibor> icons subdirectory around, since that one is used by
> Dalibor> javax.swing.
> 
> Probably these should be moved to resource/ anyway.
> 
> Tom
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath




From MAILER-DAEMON Mon Jul 18 15:35:35 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DubOp-0001zp-6k
	for mharc-classpath@gnu.org; Mon, 18 Jul 2005 15:35:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DubOj-0001xO-8C
	for classpath@gnu.org; Mon, 18 Jul 2005 15:35:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DubOd-0001ub-7w
	for classpath@gnu.org; Mon, 18 Jul 2005 15:35:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DubOd-0001uE-0w
	for classpath@gnu.org; Mon, 18 Jul 2005 15:35:23 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1DubVU-0002tK-38; Mon, 18 Jul 2005 15:42: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 j6IJX8bv032701;
	Mon, 18 Jul 2005 15:33:08 -0400
Received: from opsy.redhat.com (vpn50-49.rdu.redhat.com [172.16.50.49])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6IJX7V18926; 
	Mon, 18 Jul 2005 15:33:07 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 17DA52DD95C; Mon, 18 Jul 2005 13:29:41 -0600 (MDT)
Sender: tromey@redhat.com
To: Lillian Angel <langel@redhat.com>
References: <42DA7EE5.6030908@kaffe.org>
	<ba76afd905071710093f11089e@mail.gmail.com>
	<42DA97A2.2010908@kaffe.org> <m3mzokj9zl.fsf@localhost.localdomain>
	<1121710158.3449.27.camel@tow.toronto.redhat.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 18 Jul 2005 13:29:40 -0600
In-Reply-To: <1121710158.3449.27.camel@tow.toronto.redhat.com>
Message-ID: <m3k6jnj4kb.fsf@localhost.localdomain>
Lines: 9
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: cbj@gnu.org, GNU Classpath Project <classpath@gnu.org>
Subject: Re: Removing GtkLookAndFeel
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, 18 Jul 2005 19:35:31 -0000

>>>>> "Lillian" == Lillian Angel <langel@redhat.com> writes:

Lillian> Please do not remove the gtk icons, they are used for the
Lillian> BasicLookAndFeel right now.

We definitely won't.
It is more about where the icons belong in the source tree.

Tom



From MAILER-DAEMON Mon Jul 18 15:49:48 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dubca-0007Dp-Ek
	for mharc-classpath@gnu.org; Mon, 18 Jul 2005 15:49:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DubcX-0007Cc-WB
	for classpath@gnu.org; Mon, 18 Jul 2005 15:49:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DubcS-00079x-Qu
	for classpath@gnu.org; Mon, 18 Jul 2005 15:49:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DubcR-00079N-VC
	for classpath@gnu.org; Mon, 18 Jul 2005 15:49:39 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dubif-0003vP-Mn
	for classpath@gnu.org; Mon, 18 Jul 2005 15:56:05 -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 j6IJki5r004513;
	Mon, 18 Jul 2005 15:46:44 -0400
Received: from opsy.redhat.com (vpn50-49.rdu.redhat.com [172.16.50.49])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6IJkhV23367; 
	Mon, 18 Jul 2005 15:46:43 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 0978D2DD95C; Mon, 18 Jul 2005 13:43:17 -0600 (MDT)
Sender: tromey@redhat.com
To: "theUser BL" <theuserbl@hotmail.com>
References: <BAY103-F12E50921FC17E5BEAD955A9D30@phx.gbl>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 18 Jul 2005 13:43:16 -0600
In-Reply-To: <BAY103-F12E50921FC17E5BEAD955A9D30@phx.gbl>
Message-ID: <m3br4zj3xn.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: Metal icons
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, 18 Jul 2005 19:49:46 -0000

>>>>> ">" == theUser BL <theuserbl@hotmail.com> writes:

>> At home I have GNU Classpath 0.14. So I don't know if there existing
>> already some icons for Classpath.
>> Are still icons needed?
>> Yesterday I have created four metal message icons:
>> http://www.theuserbl.ag.vu/messageicons.zip

On irc I was told that we don't need these icons, sorry.
I don't know whether there are any other icons we need, someone else
will have to speak to that.  I just didn't want your message to go
un-replied-to.

Tom



From MAILER-DAEMON Mon Jul 18 16:35:27 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DucKj-0000ek-Qm
	for mharc-classpath@gnu.org; Mon, 18 Jul 2005 16:35:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DucKg-0000dW-0j
	for classpath@gnu.org; Mon, 18 Jul 2005 16:35:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DucKb-0000bQ-2o
	for classpath@gnu.org; Mon, 18 Jul 2005 16:35:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DucKa-0000Zq-JC
	for classpath@gnu.org; Mon, 18 Jul 2005 16:35:16 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DucPm-0006dF-T1
	for classpath@gnu.org; Mon, 18 Jul 2005 16:40:39 -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 j6IKVD5X018048;
	Mon, 18 Jul 2005 16:31:13 -0400
Received: from opsy.redhat.com (vpn50-49.rdu.redhat.com [172.16.50.49])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6IKV7V04973; 
	Mon, 18 Jul 2005 16:31:07 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id C48402DD95C; Mon, 18 Jul 2005 14:27:40 -0600 (MDT)
Sender: tromey@redhat.com
To: Chris Burdess <dog@bluezoo.org>
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<20050709075427.GA24894@bluezoo.org>
	<6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<13623369.1121274332840.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
	<20050713141755.fzsm8tic2ssk8oos@www.zarb.org>
	<26613121.1121344377342.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
	<fed77c6bda6267a049cd72581169091e@bluezoo.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 18 Jul 2005 14:27:40 -0600
In-Reply-To: <fed77c6bda6267a049cd72581169091e@bluezoo.org>
Message-ID: <m37jfnj1vn.fsf@localhost.localdomain>
Lines: 40
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: Martin Kauss <bishoph@open-xchange.org>,
	Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>, For developers <devel@open-xchange.org>
Subject: Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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, 18 Jul 2005 20:35:22 -0000

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

Chris> If you just want ACL support in the GNU IMAP provider, we can schedule
Chris> it in for the next release.

Martin> We can help to make such an implementation happen, but our
Martin> focus is the solution and the features. Thats why we have not
Martin> ask for methods. Now, if there is a strong demand and the GNU
Martin> Classpath developers are scheduling the complete
Martin> implementation of the required classes and methods for one of
Martin> the next GNU Classpath javamail API releases, we should have
Martin> some conversation how this can be implemented in a very easy
Martin> way (like some kind of configure option) to support it (of
Martin> course we must keep an eye on the effort ;-).

Martin> And to avoid any rumor, this strategy is part of our general
Martin> developing concepts. We do not reinvent wheels we are using
Martin> existing infrastructure wherever it fits our needs.

Let me make a somewhat more radical suggestion: if inetlib implements
the needed ACL support, how about switching to use it exclusively?  I
think this has advantages on both sides.

On the Classpath side it means that it is simpler to run Open Exchange
on the free JVMs.

On the OX side, this could mean bug fixes and feature additions on
your schedule, as you wouldn't be dependent on Sun for updates.

Also it means that you can avoid using things that even Sun asks that
you not use:

http://java.sun.com/products/javamail/1.3/docs/javadocs/overview-summary.html

    The JavaMail reference implementation from Sun includes protocol
    providers in subpackages of com.sun.mail. Note that the APIs to these
    protocol providers are not part of the standard JavaMail API. Portable
    programs will not use these APIs.

Tom



From MAILER-DAEMON Mon Jul 18 16:41:34 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DucQf-0002pU-St
	for mharc-classpath@gnu.org; Mon, 18 Jul 2005 16:41:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DucQZ-0002mA-Bn
	for classpath@gnu.org; Mon, 18 Jul 2005 16:41:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DucQU-0002ig-5T
	for classpath@gnu.org; Mon, 18 Jul 2005 16:41:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DucQT-0002iD-Vy
	for classpath@gnu.org; Mon, 18 Jul 2005 16:41:22 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DucVm-000755-HI
	for classpath@gnu.org; Mon, 18 Jul 2005 16:46:50 -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 j6IKbUOe020067;
	Mon, 18 Jul 2005 16:37:30 -0400
Received: from opsy.redhat.com (vpn50-49.rdu.redhat.com [172.16.50.49])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6IKbTV06972; 
	Mon, 18 Jul 2005 16:37:29 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id C78902DD95C; Mon, 18 Jul 2005 14:34:02 -0600 (MDT)
Sender: tromey@redhat.com
To: Thomas Zander <zander@kde.org>
References: <200507101251.18375.zander@kde.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 18 Jul 2005 14:34:02 -0600
In-Reply-To: <200507101251.18375.zander@kde.org>
Message-ID: <m3y883hn0l.fsf@localhost.localdomain>
Lines: 29
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: My applet on classpath
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, 18 Jul 2005 20:41:32 -0000

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

Thomas> Well, it _probably_ works already but I don't have a browser
Thomas> that can use free jvms.

Thomas> http://ktown.kde.org/~endres/worldwide/example.html

I tried running this with gcjappletviewer:

./gcjappletviewer http://ktown.kde.org/~endres/worldwide/example.html

You need this patch:

http://lists.gnu.org/archive/html/gcjwebplugin-devel/2005-07/msg00000.html

With this I can see the applet start up.  The buttons appear and the
background color of the window is set.  But, I don't see any contents.

Also there seems to be a bug in our AWT -- if I click the "Enlarge"
button the window resizes and the menu bar completely disappears.
However, if I then move the window, the menu bar reappears.  Perhaps
this is somehow related to the 1x1 race condition.  (Also there seems
to be some size issues with the buttons, some of the text is
truncated.)

I haven't debugged this to see why the contents of the applet don't
show up.

Tom



From MAILER-DAEMON Tue Jul 19 04:07:22 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dun7m-0007DS-Dt
	for mharc-classpath@gnu.org; Tue, 19 Jul 2005 04:06:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dun3L-0006bw-IQ
	for classpath@gnu.org; Tue, 19 Jul 2005 04:02:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dun2V-0006Qv-Ar
	for classpath@gnu.org; Tue, 19 Jul 2005 04:01:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dun2R-0006LZ-4R
	for classpath@gnu.org; Tue, 19 Jul 2005 04:01:16 -0400
Received: from [82.211.77.6] (helo=dinopsis.arachsys.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dun7k-0001KR-85
	for classpath@gnu.org; Tue, 19 Jul 2005 04:06:44 -0400
Received: from unused-81-91-99.anlx.net ([81.91.99.95] helo=[10.112.20.31])
	by dinopsis.arachsys.com with asmtp (Exim 3.35 #1)
	id 1DumyX-0004yi-00; Tue, 19 Jul 2005 08:57:13 +0100
In-Reply-To: <m37jfnj1vn.fsf@localhost.localdomain>
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<20050709075427.GA24894@bluezoo.org>
	<6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<13623369.1121274332840.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
	<20050713141755.fzsm8tic2ssk8oos@www.zarb.org>
	<26613121.1121344377342.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
	<fed77c6bda6267a049cd72581169091e@bluezoo.org>
	<m37jfnj1vn.fsf@localhost.localdomain>
Mime-Version: 1.0 (Apple Message framework v622)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <5be0e58a144429c07c03a8ea7c6fb789@bluezoo.org>
Content-Transfer-Encoding: 7bit
From: Chris Burdess <dog@bluezoo.org>
Date: Tue, 19 Jul 2005 08:57:13 +0100
To: tromey@redhat.com
X-Mailer: Apple Mail (2.622)
Cc: Martin Kauss <bishoph@open-xchange.org>,
	Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>, For developers <devel@open-xchange.org>
Subject: Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 08:06:42 -0000

Tom Tromey wrote:
> Chris> If you just want ACL support in the GNU IMAP provider, we can 
> schedule
> Chris> it in for the next release.
>
> Martin> We can help to make such an implementation happen, but our
> Martin> focus is the solution and the features. Thats why we have not
> Martin> ask for methods. Now, if there is a strong demand and the GNU
> Martin> Classpath developers are scheduling the complete
> Martin> implementation of the required classes and methods for one of
> Martin> the next GNU Classpath javamail API releases, we should have
> Martin> some conversation how this can be implemented in a very easy
> Martin> way (like some kind of configure option) to support it (of
> Martin> course we must keep an eye on the effort ;-).
>
> Martin> And to avoid any rumor, this strategy is part of our general
> Martin> developing concepts. We do not reinvent wheels we are using
> Martin> existing infrastructure wherever it fits our needs.
>
> Let me make a somewhat more radical suggestion: if inetlib implements
> the needed ACL support, how about switching to use it exclusively?

It does; the relevant IMAPConnection methods are setacl, deleteacl, 
getacl, listrights, myrights.

It wouldn't be too much trouble to implement higher-level wrappers in 
IMAPFolder if working with them is conceptually easier, though. Also, 
as I mentioned before, JavaMail and JAF provide a whole MIME 
implementation that may be convenient.
-- 
Chris Burdess




From MAILER-DAEMON Tue Jul 19 07:46:06 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DuqY2-0000B5-32
	for mharc-classpath@gnu.org; Tue, 19 Jul 2005 07:46:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dunhm-0002P8-Ln
	for classpath@gnu.org; Tue, 19 Jul 2005 04:43:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dunhk-0002Of-Jh
	for classpath@gnu.org; Tue, 19 Jul 2005 04:43:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DunV2-0001Dw-LL
	for classpath@gnu.org; Tue, 19 Jul 2005 04:30:50 -0400
Received: from [62.225.134.190] (helo=netline.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DunaF-00039b-C3
	for classpath@gnu.org; Tue, 19 Jul 2005 04:36:11 -0400
Received: from [192.168.32.7] (helo=ox.netline-is.de)
	by netline.de with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim)
	id 1DunHA-00017T-00; Tue, 19 Jul 2005 10:16:28 +0200
Received: by ox.netline-is.de (Postfix, from userid 65534)
	id 97E814AFEB; Tue, 19 Jul 2005 10:26:45 +0200 (CEST)
Received: from ox.netline-is.de (unknown [127.0.0.1])
	by ox.netline-is.de (Postfix) with ESMTP id 548914AFBE;
	Tue, 19 Jul 2005 10:26:44 +0200 (CEST)
Message-ID: <6659511.1121761604412.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
Date: Tue, 19 Jul 2005 10:26:44 +0200 (CEST)
From: Martin Kauss <bishoph@open-xchange.org>
To: Chris Burdess <dog@bluezoo.org>
In-Reply-To: <5be0e58a144429c07c03a8ea7c6fb789@bluezoo.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Priority: 3 (normal)
X-Mailer: OPEN-XCHANGE 5017 - WebMail
X-Operating-System: Linux 2.6.5-7.155.29-smp i386 (JVM 1.4.2_06)
Organization: Netline Internet Service GmbH
References: <E1Dr05Q-0008Lj-00@open-xchange.org>
	<42CF4152.3050106@randomink.org>
	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<20050709075427.GA24894@bluezoo.org>
	<6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>
	<13623369.1121274332840.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
	<20050713141755.fzsm8tic2ssk8oos@www.zarb.org>
	<26613121.1121344377342.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
	<fed77c6bda6267a049cd72581169091e@bluezoo.org>
	<m37jfnj1vn.fsf@localhost.localdomain>
	<5be0e58a144429c07c03a8ea7c6fb789@bluezoo.org>
X-Scanner: exiscan *1DunHA-00017T-00*qw.c9X2AIlw*
	http://duncanthrax.net/exiscan/
X-Mailman-Approved-At: Tue, 19 Jul 2005 07:46:03 -0400
Cc: tromey@redhat.com, Fedora-Java <fedora-devel-java-list@redhat.com>,
	Classpath <classpath@gnu.org>, For developers <devel@open-xchange.org>
Subject: Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 08:43:59 -0000

On Jul 19, 2005 09:57 AM, Chris Burdess <dog@bluezoo.org> wrote:

> Tom Tromey wrote:
> > Chris> If you just want ACL support in the GNU IMAP provider, we can 
> > schedule
> > Chris> it in for the next release.
> >
> > Martin> We can help to make such an implementation happen, but our
> > Martin> focus is the solution and the features. Thats why we have not
> > Martin> ask for methods. Now, if there is a strong demand and the GNU
> > Martin> Classpath developers are scheduling the complete
> > Martin> implementation of the required classes and methods for one of
> > Martin> the next GNU Classpath javamail API releases, we should have
> > Martin> some conversation how this can be implemented in a very easy
> > Martin> way (like some kind of configure option) to support it (of
> > Martin> course we must keep an eye on the effort ;-).
> >
> > Martin> And to avoid any rumor, this strategy is part of our general
> > Martin> developing concepts. We do not reinvent wheels we are using
> > Martin> existing infrastructure wherever it fits our needs.
> >
> > Let me make a somewhat more radical suggestion: if inetlib implements
> > the needed ACL support, how about switching to use it exclusively?
> 
> It does; the relevant IMAPConnection methods are setacl, deleteacl, 
> getacl, listrights, myrights.
> 
> It wouldn't be too much trouble to implement higher-level wrappers in 
> IMAPFolder if working with them is conceptually easier, though. Also, 
> as I mentioned before, JavaMail and JAF provide a whole MIME 
> implementation that may be convenient.
> -- 
> Chris Burdess
> 


Chris,

i will talk with Stefan about this over the next week
(he is not available this week) - we will come back
ASAP.

Greetings,

Martin Kauss



From MAILER-DAEMON Tue Jul 19 07:46:06 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DuqY2-0000BA-9r
	for mharc-classpath@gnu.org; Tue, 19 Jul 2005 07:46:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DuoGR-00050m-RD
	for classpath@gnu.org; Tue, 19 Jul 2005 05:19:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DuoGI-0004wZ-MN
	for classpath@gnu.org; Tue, 19 Jul 2005 05:19:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DuoGH-0004ou-Ua
	for classpath@gnu.org; Tue, 19 Jul 2005 05:19:38 -0400
Received: from [62.225.134.190] (helo=netline.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DuoJF-00076D-Sz
	for classpath@gnu.org; Tue, 19 Jul 2005 05:22:42 -0400
Received: from [10.20.30.6] (helo=support.comfire.de)
	by netline.de with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim)
	id 1Dunzq-0001MG-00; Tue, 19 Jul 2005 11:02:38 +0200
Received: from localhost ([127.0.0.1] helo=[192.168.32.26] ident=marcus)
	by support.comfire.de with esmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1
	(Debian)) id 1Duo98-0003oj-00; Tue, 19 Jul 2005 11:12:14 +0200
Message-ID: <42DCC3EB.7040306@open-xchange.org>
Date: Tue, 19 Jul 2005 11:12:11 +0200
From: Marcus Klein <marcus@open-xchange.org>
Organization: Netline Internet Service GmbH
User-Agent: OPEN-XCHANGE 0.8.0 - WebMail
X-Accept-Language: de-DE, de, en-us, en
MIME-Version: 1.0
To: For developers <devel@open-xchange.org>
References: <E1Dr05Q-0008Lj-00@open-xchange.org>	<42CF4152.3050106@randomink.org>	<7478663.1120890734876.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>	<20050709075427.GA24894@bluezoo.org>	<6649615.1120908068277.OPEN-XCHANGE.WebMail.wwwrun@ox.netline-is.de>	<13623369.1121274332840.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>	<20050713141755.fzsm8tic2ssk8oos@www.zarb.org>	<26613121.1121344377342.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>	<fed77c6bda6267a049cd72581169091e@bluezoo.org>	<m37jfnj1vn.fsf@localhost.localdomain>	<5be0e58a144429c07c03a8ea7c6fb789@bluezoo.org>
	<6659511.1121761604412.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
In-Reply-To: <6659511.1121761604412.OPEN-XCHANGE.WebMail.tomcat@ox.netline-is.de>
Content-Type: multipart/mixed; boundary="------------080507030001030005000506"
X-Scanner: exiscan *1Dunzq-0001MG-00*9AixU8lJ/66*
	http://duncanthrax.net/exiscan/
X-Mailman-Approved-At: Tue, 19 Jul 2005 07:46:03 -0400
Cc: tromey@redhat.com, Classpath <classpath@gnu.org>,
	Fedora-Java <fedora-devel-java-list@redhat.com>
Subject: Re: [fedora-java] Re: [OX Devel] Re: Devel Digest, Vol 12, Issue 6
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 Jul 2005 09:19:51 -0000

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

Hi all!

Martin Kauss schrieb:
> On Jul 19, 2005 09:57 AM, Chris Burdess <dog@bluezoo.org> wrote:
> 
> 
>>Tom Tromey wrote:
>>
>>>Chris> If you just want ACL support in the GNU IMAP provider, we can 
>>>schedule
>>>Chris> it in for the next release.
>>>
>>>Martin> We can help to make such an implementation happen, but our
>>>Martin> focus is the solution and the features. Thats why we have not
>>>Martin> ask for methods. Now, if there is a strong demand and the GNU
>>>Martin> Classpath developers are scheduling the complete
>>>Martin> implementation of the required classes and methods for one of
>>>Martin> the next GNU Classpath javamail API releases, we should have
>>>Martin> some conversation how this can be implemented in a very easy
>>>Martin> way (like some kind of configure option) to support it (of
>>>Martin> course we must keep an eye on the effort ;-).
>>>
>>>Martin> And to avoid any rumor, this strategy is part of our general
>>>Martin> developing concepts. We do not reinvent wheels we are using
>>>Martin> existing infrastructure wherever it fits our needs.
>>>
>>>Let me make a somewhat more radical suggestion: if inetlib implements
>>>the needed ACL support, how about switching to use it exclusively?

First of all, you shouldn't only write to one person. The mailing list should be
used to allow everyone to participate this discussion.

>>It does; the relevant IMAPConnection methods are setacl, deleteacl, 
>>getacl, listrights, myrights.
>>
>>It wouldn't be too much trouble to implement higher-level wrappers in 
>>IMAPFolder if working with them is conceptually easier, though. Also, 
>>as I mentioned before, JavaMail and JAF provide a whole MIME 
>>implementation that may be convenient.
>>-- 
>>Chris Burdess

I think there are two possible solutions for this problem:

1. Start a Java Specification Request (JSR) that integrates ACLs into the non
provider specific Java Mail API.

2. The author of Webmail has to add an abstract layer that implementations uses
Sun provider specific or GNU classpath specific API for ACLs. This can be done
through the GOF Design Pattern "Bridge".

> Chris,
>
> i will talk with Stefan about this over the next week
> (he is not available this week) - we will come back
> ASAP.
> 
> Greetings,
> 
> Martin Kauss

This are just my two cents that lead to a functional implementation that can
base on commercial and free implementations. It must simply work for the normal
groupware user.

Best regards,

Marcus Klein

--------------080507030001030005000506
Content-Type: text/x-vcard; charset=utf-8;
 name="marcus.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="marcus.vcf"

begin:vcard
fn:Marcus Klein
n:Klein;Marcus
org:Netline Internet Service GmbH;Software Development
email;internet:marcus@open-xchange.org
version:2.1
end:vcard


--------------080507030001030005000506--



From MAILER-DAEMON Wed Jul 20 14:40:12 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DvJUI-0007vr-Mp
	for mharc-classpath@gnu.org; Wed, 20 Jul 2005 14:40:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DvJUD-0007tG-Oh
	for classpath@gnu.org; Wed, 20 Jul 2005 14:40:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvJU8-0007sG-MQ
	for classpath@gnu.org; Wed, 20 Jul 2005 14:40:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DvJU8-0007sA-DM; Wed, 20 Jul 2005 14:40:00 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DvJZ3-0002KV-LE; Wed, 20 Jul 2005 14:45:06 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DvJPt-0005S6-00; Wed, 20 Jul 2005 20:35:37 +0200
From: Mark Wielaard <mark@klomp.org>
To: David P Grove <groved@us.ibm.com>
In-Reply-To: <OFBEF7E099.531EAC68-ON8525703C.00419D23-8525703C.00427DC9@us.ibm.com>
References: <OFBEF7E099.531EAC68-ON8525703C.00419D23-8525703C.00427DC9@us.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-jpPF8Xq1R3pmh3Rb26L/"
Date: Wed, 20 Jul 2005 18:37:25 +0200
Message-Id: <1121877445.4759.192.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Cc: classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: String class: hack for ORP 1.0.9
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 Jul 2005 18:40:07 -0000


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

Hi David,

On Tue, 2005-07-12 at 08:06 -0400, David P Grove wrote:
> So, I'm having a hard time seeing how this "optimization" actually makes=20
> the code faster under any reasonable assumptions of what an optimizing JI=
T=20
> is going to do.  It seems mostly harmless to have it (although it makes=20
> the method larger, and thus a slightly less attractive candidate for=20
> inlining), but if it actually buys you any measurable speedup on a "high=20
> performance" VM, then you should really take a hard look at your VM/JIT=20
> and find out why they didn't do a good job on the "unoptimized" version i=
n=20
> the first place.  clone() on an array is just a short hand for a new=20
> followed by an arraycopy, and the new followed by arraycopy idiom shows u=
p=20
> all over the place so you need to do a good job on it.

I hear you :) "Don't do performance hacks without actual benchmarking."

I admit to have only done some quick tests on a none-"high performance"
runtime (jamvm). And the numbers seemed to indicate that this special
case was triggered a lot, so I just assumed it would be beneficial in
general. Unfortunately I didn't have a working setup of jikesRVM and
kaffe and gcj both have a slightly different implementation of this
method.

The reason I thought no "reasonable" optimizing JIT could actually
optimize this even with the call to arraycopy was because it cannot know
that when count =3D=3D value.length then offset =3D=3D 0 so no bounds-check=
s are
needed. So hand-optimizing that case into a array.clone() seemed like a
win.

It would be interesting to see the actual code produced by JikesRVM
before and after this "optimization" for this method.

Ideally we would have a dedicated benchmark box and run free software
benchmarks on it comparing CVS from day to day. I had wanted to set
something up like that using DaCapo. Unfortunately the box I wanted to
use is actually a multi-user/server machine, so that wouldn't generate
reliable results. And DaCapo isn't actually free software, even though
it is build from all kinds of real world free software programs and
libraries (we had some discussions about that, but when I found out I
didn't actually have a box to run it on I dropped the issue.).
There is the Ashes Suite Collection though which we could use.

Cheers,

Mark

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

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

iD8DBQBC3n3FxVhZCJWr9QwRAh6HAJ9LXZ5CuCNh3XPxcNwgR85+sDrBOACgj/uR
Ih7prTw+WtStj9ODk2RZBXM=
=4FoM
-----END PGP SIGNATURE-----

--=-jpPF8Xq1R3pmh3Rb26L/--




From MAILER-DAEMON Wed Jul 20 14:40:19 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DvJUQ-000803-VG
	for mharc-classpath@gnu.org; Wed, 20 Jul 2005 14:40:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DvJUN-0007xr-8Y
	for classpath@gnu.org; Wed, 20 Jul 2005 14:40:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvJUF-0007ts-80
	for classpath@gnu.org; Wed, 20 Jul 2005 14:40:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DvJUE-0007sA-7n; Wed, 20 Jul 2005 14:40:06 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DvJZ8-0002Kz-Nh; Wed, 20 Jul 2005 14:45:10 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DvJQ0-0005SB-00; Wed, 20 Jul 2005 20:35:44 +0200
From: Mark Wielaard <mark@klomp.org>
To: Chris Burdess <dog@bluezoo.org>
In-Reply-To: <20050710090755.GA27949@bluezoo.org>
References: <20050710090755.GA27949@bluezoo.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-PV+r960EFQAriBiZgEoc"
Date: Wed, 20 Jul 2005 19:01:10 +0200
Message-Id: <1121878870.4759.200.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Cc: classpath@gnu.org, classpathx-xml@gnu.org
Subject: Re: Conformance page for GNU JAXP XSL transformer
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 Jul 2005 18:40:16 -0000


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

Hi,

On Sun, 2005-07-10 at 10:07 +0100, Chris Burdess wrote:
> I've resurrected the XSLT conformance status page (Julian Scheid used to
> host it but needed to make some space).
>=20
>   http://www.zen60362.zen.co.uk/xslt/
>=20
> Green is a pass, yellow is a fail, red is an error (sometimes fatal e.g.
> StackOverflowError). Stats are at the bottom of the results page.
> [...]
> If anyone is interested in helping me hack on this, please let me know.

If you want we can install this on developer.classpath.org.

We really should have more conformance/testing results up there.
I saw that Andrew Overholt got the Eclipse testsuite working. That would
be another nice candidate for automatic builds/testing. And of course
mauve.

Thanks,

Mark

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

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

iD8DBQBC3oNWxVhZCJWr9QwRAtpoAKCOqGPDNEFR2t+RLUDXwPeDTk49CwCeLlh4
fkIstLrlWPI7xoiZLTJSpOw=
=rjxS
-----END PGP SIGNATURE-----

--=-PV+r960EFQAriBiZgEoc--




From MAILER-DAEMON Wed Jul 20 14:40:19 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DvJUR-00080K-BE
	for mharc-classpath@gnu.org; Wed, 20 Jul 2005 14:40:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DvJUN-0007xy-FD
	for classpath@gnu.org; Wed, 20 Jul 2005 14:40:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvJUF-0007uS-VT
	for classpath@gnu.org; Wed, 20 Jul 2005 14:40:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvJUE-0007sA-Uj
	for classpath@gnu.org; Wed, 20 Jul 2005 14:40:06 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DvJYr-0002IX-7e
	for classpath@gnu.org; Wed, 20 Jul 2005 14:44:53 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DvJPn-0005S0-00; Wed, 20 Jul 2005 20:35:31 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <m3ek9yll0s.fsf@localhost.localdomain>
References: <m3ek9yll0s.fsf@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-nhayQG2qcr69kDOtFeJ1"
Date: Wed, 20 Jul 2005 17:41:01 +0200
Message-Id: <1121874061.4759.167.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Cc: GCJ Hackers <java@gcc.gnu.org>
Subject: Re: areas of divergence
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 Jul 2005 18:40:16 -0000


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

Hi,

I CCed the main classpath list because I think this will interest most
hackers there. (Those that didn't notice yet: The Big Merge is done!)

On Sat, 2005-07-16 at 11:26 -0600, Tom Tromey wrote:
> Here's some info on the areas where libgcj and classpath still
> diverge.
>=20
> gnu.gcj.convert
> java.io
>   The charset conversion framework still differs.
>   I think Bryce has a patch to fix this, though perhaps there are
>   still performance concerns (btw if we have benchmarks here it would
>   be good to have them in a mauve module or something like that)
>=20
> gnu.gcj.runtime.*
>   Most of this is gcj-specific.
>   However some of it could probably be shared.  E.g., Classpath has
>   system and other class loaders as anonymous classes in
>   java.lang.ClassLoader; perhaps one implementation could be changed.
>=20
> gnu.gcj.xlib
> gnu.awt.xlib
>   Our xlib peers that use CNI.  These are unlikely to be merged.

Probably since only gcj currently supports CNI.
But even then it might be a good idea to merge them because that will
make it easier to keep them up to date when/if we make (peer interface)
changes.

> gnu.java.net
> java.net.URLClassLoader
>   We have some additional protocol handlers (core, gcjlib), but also
>   some divergences in file, jar, and http.  These need to be
>   investigated, as I don't think there is a good reason to diverge
>   here.

What we should probably do is split out the inner-class URLLoaders into
their own (package private) classes. And have a VMURLClassLoader through
which a runtime can register its own special URLLoaders (like the
gcjlib: and core: handlers of libgcj).

> gnu.java.locale
> java.text
> java.util
>   We're still using the old locale framework.  The only reason for
>   this is that I didn't want to do too much in the merge.  I hope to
>   look into this soon.
>=20
> gnu.java.rmi.rmic
>   Classpath doesn't have rmic in the tree any more.  And the rmic in
>   classpath-tools now uses ASM.  I'm not sure what we want to do
>   about this.  Removing it would mean stepping back a bit from our
>   completeness goal; OTOH merging in tools would mean handling ASM
>   somehow ...

We probably should make separate releases of GNU Classpath Tools on day.
These should of course also come with native gcj-compiled versions of
each tool. Just like we do now for gjdoc.

> gnu.java.nio
>   I think we differ here because CNI lets us be more efficient.  I
>   haven't looked at this much.
>=20
> java.net
>   Not sure
>=20
> java.util.logging
>   Minor differences having to do with how getCallerStackFrame is
>   handled.  This is an area to VM-ize and push into Classpath.

Yes. Just before 0.17 I fixed up this code a but in GNU Classpath. But
it definitely must be either factored out completely into its own
VMLogger class, or it should use the VMStackWalker infrastructure
(another point to make sure libgcj and classpath align their
interfaces.)

> java.util.zip
>   Most of the divergences are because we use zlib.  More could be
>   merged than currently is; some of the Classpath code here looks like
>   it isn't doing enough checking (I have a partial, untested patch...).
>   I think kaffe also has a zlib-based implementation so perhaps we
>   could do a 3-way merge and get a JNI/zlib implementation into
>   Classpath as an alternative somehow.
>=20
> java.util.ResourceBundle
>   Stack trace differences again

Hopefully the same solution as java.util.logging.

> java.lang
>   The Float/Double diffs seem to be because we wanted some native
>   methods for things like floatToIntBits.  This seems like a bad
>   choice to me.  IMO these methods can be inlined by the compiler if
>   performance is needed, and if not, an extra method call is not super
>   important.
>=20
>   Object, Class, and String are unlikely to be fully merged.
>   Perhaps Character falls into this category as well.
>=20
> java.lang.ref
>   A change for how we handle references.
>   I think our handling here is actually subtly wrong :-(
>=20
> java.lang.reflect
>   I haven't looked at the Classpath versions here.
>   Most of the classes we have seem to be in the vm-specific area, so
>   perhaps there's nothing to do.
>=20
> java.nio
>   I think CNI-isms again.  Not sure about java.nio.charset
>
> There are a few changes here and there that I haven't mentioned.  Over
> time I would like to reduce our divergences as much as possible.  In
> most cases there is no benefit to having changes from Classpath.

Thanks so much for the Big Merge Tom! This really brings us much closer
and should make maintanance a lot easier.

Do you have any guidelines for "keeping the big merge in sync"?
When is a new "overlay" version tagged and moved into the gcc tree?
Could/Should we coordinate that with GNU Classpath developer snapshot
releases? And how do we handle small (emergency) divergences that pop up
in the embedded classpath dir inside the gcc tree?

Cheers,

Mark

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

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

iD8DBQBC3nCNxVhZCJWr9QwRAi07AJwJ0w5gvc12bV7s1Ua9zZumdxBO5wCgoZa7
04n5kjReC/+S5XlB8TxW+Wk=
=ekOU
-----END PGP SIGNATURE-----

--=-nhayQG2qcr69kDOtFeJ1--




From MAILER-DAEMON Wed Jul 20 15:22:49 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DvK9Y-0004zn-Uk
	for mharc-classpath@gnu.org; Wed, 20 Jul 2005 15:22:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DvK9S-0004vo-Vk
	for classpath@gnu.org; Wed, 20 Jul 2005 15:22:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvK9R-0004uL-7v
	for classpath@gnu.org; Wed, 20 Jul 2005 15:22:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvK9Q-0004kf-CI
	for classpath@gnu.org; Wed, 20 Jul 2005 15:22:40 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DvK4J-0004vD-HI
	for classpath@gnu.org; Wed, 20 Jul 2005 15:17:23 -0400
Received: from slauerhoff.wildebeest.org ([192.168.1.27])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DvJPw-0005S9-00; Wed, 20 Jul 2005 20:35:40 +0200
From: Mark Wielaard <mark@klomp.org>
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <42D03016.1080506@dellroad.org>
References: <42D03016.1080506@dellroad.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-/B7IYo8+0ONeX28/EFMp"
Date: Wed, 20 Jul 2005 18:57:33 +0200
Message-Id: <1121878653.4759.197.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Cc: Daniel Bonniot <Daniel.Bonniot@inria.fr>, classpath@gnu.org
Subject: Re: Fix for java/net/URLClassLoader
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 Jul 2005 19:22:45 -0000


--=-/B7IYo8+0ONeX28/EFMp
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Sat, 2005-07-09 at 15:14 -0500, Archie Cobbs wrote:
> This patch (checked in) fixes two Mauve tests and removes some
> obsolete code.
>=20
>      2005-07-09  Archie Cobbs  <archie@dellroad.org>
>=20
>         * java/net/URLClassLoader.java: disallow directories as resources

I remember we added getting file URLs for directories as resources
because Nice depended on that being possible. (Indicating that the Mauve
test and/or the "spec" is wrong here.) It doesn't really make sense to
return it as resource since it is unclear what to return as content. If
I remember correctly some people wanted to return some
HTML-representation of the directory...

Daniel, can you remember the discussion? And does Nice still depend on
this?

Cheers,

Mark

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

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

iD8DBQBC3oJ9xVhZCJWr9QwRAiqEAJ9HPlfyfNOKqUINDl429O7lqhpPVQCfTmL7
fskGTTGqCwKnArATrYi75b4=
=ZYt8
-----END PGP SIGNATURE-----

--=-/B7IYo8+0ONeX28/EFMp--




From MAILER-DAEMON Wed Jul 20 16:23:27 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DvL6E-0006HD-H3
	for mharc-classpath@gnu.org; Wed, 20 Jul 2005 16:23:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DvL6B-0006G1-Ok
	for classpath@gnu.org; Wed, 20 Jul 2005 16:23:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvL67-0006E0-Nu
	for classpath@gnu.org; Wed, 20 Jul 2005 16:23:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvL67-0006DI-Bw
	for classpath@gnu.org; Wed, 20 Jul 2005 16:23:19 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DvLCg-0000pN-6B
	for classpath@gnu.org; Wed, 20 Jul 2005 16:30:06 -0400
Received: (qmail invoked by alias); 20 Jul 2005 20:20:17 -0000
Received: from p548190FC.dip0.t-ipconnect.de (EHLO [192.168.0.203])
	[84.129.144.252]
	by mail.gmx.net (mp004) with SMTP; 20 Jul 2005 22:20:17 +0200
X-Authenticated: #1941950
Message-ID: <42DEB2DC.9070800@gmx.de>
Date: Wed, 20 Jul 2005 22:23:56 +0200
From: Wolfgang Baer <WBaer@gmx.de>
User-Agent: Debian Thunderbird 1.0.2 (X11/20050602)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Subject: Error: No space left on device
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 Jul 2005 20:23:25 -0000

Hi,

I just tried to read some decisions on the mediation wiki
and got a IOError[Errno 28] No space left on device.

Wolfgang




From MAILER-DAEMON Wed Jul 20 16:58:27 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DvLe7-0006zG-0j
	for mharc-classpath@gnu.org; Wed, 20 Jul 2005 16:58:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DvLe3-0006xH-1j
	for classpath@gnu.org; Wed, 20 Jul 2005 16:58:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvLe0-0006vc-UB
	for classpath@gnu.org; Wed, 20 Jul 2005 16:58:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvLdy-0006rN-MA
	for classpath@gnu.org; Wed, 20 Jul 2005 16:58:18 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DvLjN-0002nC-H1
	for classpath@gnu.org; Wed, 20 Jul 2005 17:03:53 -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 j6KKs3jP000868;
	Wed, 20 Jul 2005 16:54:03 -0400
Received: from opsy.redhat.com (vpn50-42.rdu.redhat.com [172.16.50.42])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6KKrvV06495; 
	Wed, 20 Jul 2005 16:53:57 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id A99572DD95C; Wed, 20 Jul 2005 14:50:24 -0600 (MDT)
Sender: tromey@redhat.com
To: Mark Wielaard <mark@klomp.org>
References: <m3ek9yll0s.fsf@localhost.localdomain>
	<1121874061.4759.167.camel@localhost>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 20 Jul 2005 14:50:24 -0600
In-Reply-To: <1121874061.4759.167.camel@localhost>
Message-ID: <m3oe8xdwxb.fsf@localhost.localdomain>
Lines: 65
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, GCJ Hackers <java@gcc.gnu.org>
Subject: Re: areas of divergence
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2005 20:58:24 -0000

>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

>> gnu.java.net
>> java.net.URLClassLoader
>> We have some additional protocol handlers (core, gcjlib), but also
>> some divergences in file, jar, and http.  These need to be
>> investigated, as I don't think there is a good reason to diverge
>> here.

Mark> What we should probably do is split out the inner-class URLLoaders into
Mark> their own (package private) classes. And have a VMURLClassLoader through
Mark> which a runtime can register its own special URLLoaders (like the
Mark> gcjlib: and core: handlers of libgcj).

Yeah, I agree.  I filed PR 22579 for this.

>> gnu.java.locale
>> java.text
>> java.util
>> We're still using the old locale framework.  The only reason for
>> this is that I didn't want to do too much in the merge.  I hope to
>> look into this soon.

FWIW I started fixing this.  I'm just debugging some test failures.

>> gnu.java.rmi.rmic
>> Classpath doesn't have rmic in the tree any more.  And the rmic in
>> classpath-tools now uses ASM.  I'm not sure what we want to do
>> about this.  Removing it would mean stepping back a bit from our
>> completeness goal; OTOH merging in tools would mean handling ASM
>> somehow ...

Mark> We probably should make separate releases of GNU Classpath Tools on day.
Mark> These should of course also come with native gcj-compiled versions of
Mark> each tool. Just like we do now for gjdoc.

The issue for gcj is that we've historically shipped the tools.  It is
really part of our vision (which is really Per's original vision) of
supplying a complete toolchain.

I think we should do as Bryce suggests and include ASM in our builds
(though not in libgcj).

Mark> Do you have any guidelines for "keeping the big merge in sync"?
Mark> When is a new "overlay" version tagged and moved into the gcc tree?
Mark> Could/Should we coordinate that with GNU Classpath developer snapshot
Mark> releases? And how do we handle small (emergency) divergences that pop up
Mark> in the embedded classpath dir inside the gcc tree?

I put some guidelines about this into libjava/HACKING, but I have a
few more to add.

I think we should tag classpath when we do the import, for
traceability.  I did that with this import FWIW.

For emergencies I think we can just check in patches to
libjava/classpath/, but we need to make sure we have some long term
fix as well -- I don't want hacks and divergences accumulating there.
We already have one of these ... unfortunately for a bug I can't
reproduce myself :-(

I think importing Classpath releases would make sense.  Some
coordination is needed when gcc releases are looming.

Tom



From MAILER-DAEMON Wed Jul 20 16:59:02 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DvLee-0007HT-Vd
	for mharc-classpath@gnu.org; Wed, 20 Jul 2005 16:59:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DvLar-0005ix-GB
	for classpath@gnu.org; Wed, 20 Jul 2005 16:55:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvLae-0005ac-K8
	for classpath@gnu.org; Wed, 20 Jul 2005 16:54:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvLaX-0005VS-Cj
	for classpath@gnu.org; Wed, 20 Jul 2005 16:54:45 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DvLYK-000286-ND
	for classpath@gnu.org; Wed, 20 Jul 2005 16:52:28 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DvLP9-0006eF-00; Wed, 20 Jul 2005 22:42:59 +0200
From: Mark Wielaard <mark@klomp.org>
To: Wolfgang Baer <WBaer@gmx.de>
In-Reply-To: <42DEB2DC.9070800@gmx.de>
References: <42DEB2DC.9070800@gmx.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-f/ZW2BzAHjHvGmiPHlzo"
Date: Wed, 20 Jul 2005 22:42:35 +0200
Message-Id: <1121892155.7915.9.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org, Jim Pick <jim@jimpick.com>
Subject: Re: Error: No space left on device
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 Jul 2005 20:58:58 -0000


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

On Wed, 2005-07-20 at 22:23 +0200, Wolfgang Baer wrote:
> I just tried to read some decisions on the mediation wiki
> and got a IOError[Errno 28] No space left on device.

Eep. Thanks for the report.

I removed some stuff, but we are dangerously low on space on
developer.classpath.org:

Filesystem            Size  Used Avail Use% Mounted on
/dev/ubd0             2.0G  1.9G   14M 100% /

I'll investigate what takes up so much disk.

Cheers,

Mark

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

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

iD8DBQBC3rc7xVhZCJWr9QwRAvutAJ9XNDKAXtwm0Bhvxg6zqtBnFoSGyACeLdDQ
uts/51XZbc8DQxQM8cXWfH8=
=IjrN
-----END PGP SIGNATURE-----

--=-f/ZW2BzAHjHvGmiPHlzo--




From MAILER-DAEMON Thu Jul 21 01:20:14 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DvTTZ-0002HQ-Ro
	for mharc-classpath@gnu.org; Thu, 21 Jul 2005 01:20:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DvTTU-0002Fs-Eb
	for classpath@gnu.org; Thu, 21 Jul 2005 01:20:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvTTQ-0002Cv-92
	for classpath@gnu.org; Thu, 21 Jul 2005 01:19:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvTTO-000273-JA
	for classpath@gnu.org; Thu, 21 Jul 2005 01:19:54 -0400
Received: from [148.87.122.33] (helo=rgminet04.oracle.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DvTOk-0002ui-MA
	for classpath@gnu.org; Thu, 21 Jul 2005 01:15:06 -0400
Received: from rgminet04.oracle.com (localhost [127.0.0.1])
	by rgminet04.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id
	j6L55BkV022080; Wed, 20 Jul 2005 23:05:11 -0600
Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.186.50])
	by rgminet04.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id
	j6L55ARa022037; Wed, 20 Jul 2005 23:05:10 -0600
Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1])
	by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id
	j6L559a3027752; Wed, 20 Jul 2005 23:05:09 -0600
Received: from [152.69.153.118] (stemos53.idc.oracle.com [152.69.153.118])
	by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id
	j6L5560o027733
	(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO);
	Wed, 20 Jul 2005 23:05:08 -0600
Message-ID: <42DF2CB3.5070507@gmail.com>
Date: Thu, 21 Jul 2005 10:33:47 +0530
From: Ranjit Mathew <rmathew@gmail.com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <m3ek9yll0s.fsf@localhost.localdomain>	<1121874061.4759.167.camel@localhost>
	<m3oe8xdwxb.fsf@localhost.localdomain>
In-Reply-To: <m3oe8xdwxb.fsf@localhost.localdomain>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Brightmail-Tracker: AAAAAQAAAAI=
X-Whitelist: TRUE
Cc: classpath@gnu.org, GCJ Hackers <java@gcc.gnu.org>
Subject: Re: areas of divergence
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 Jul 2005 05:20:04 -0000

Tom Tromey wrote:
> 
> Mark> We probably should make separate releases of GNU Classpath Tools on day.
> Mark> These should of course also come with native gcj-compiled versions of
> Mark> each tool. Just like we do now for gjdoc.
> 
> The issue for gcj is that we've historically shipped the tools.  It is
> really part of our vision (which is really Per's original vision) of
> supplying a complete toolchain.
> 
> I think we should do as Bryce suggests and include ASM in our builds
> (though not in libgcj).

I would say that we also import Classpath Tools lock-stock-and-barrel
in a manner similar to what we have done for Classpath, say, in a
folder named "libjava/cptools". I would really like GCJ to be a complete
Java development environment.

Tom, thank you very much for the painstaking but desirable Classpath
import.

Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

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



From MAILER-DAEMON Thu Jul 21 06:54:22 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DvYh2-0007KS-G8
	for mharc-classpath@gnu.org; Thu, 21 Jul 2005 06:54:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DvYgy-0007G6-KY
	for classpath@gnu.org; Thu, 21 Jul 2005 06:54:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvYgq-0007Bl-NZ
	for classpath@gnu.org; Thu, 21 Jul 2005 06:54:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvYgp-00075K-QQ
	for classpath@gnu.org; Thu, 21 Jul 2005 06:54:07 -0400
Received: from [81.103.221.49] (helo=mta09-winn.ispmail.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DvYm0-0007GE-3L
	for classpath@gnu.org; Thu, 21 Jul 2005 06:59:28 -0400
Received: from aamta11-winn.ispmail.ntl.com ([81.103.221.35])
	by mta09-winn.ispmail.ntl.com with ESMTP id
	<20050721104925.YWCV11649.mta09-winn.ispmail.ntl.com@aamta11-winn.ispmail.ntl.com>
	for <classpath@gnu.org>; Thu, 21 Jul 2005 11:49:25 +0100
Received: from zapata.pink ([82.16.12.40]) by aamta11-winn.ispmail.ntl.com
	with ESMTP
	id <20050721104924.ODBX22522.aamta11-winn.ispmail.ntl.com@zapata.pink>
	for <classpath@gnu.org>; Thu, 21 Jul 2005 11:49:24 +0100
Received: from zapata.pink (localhost.localdomain [127.0.0.1])
	by zapata.pink (8.13.1/8.13.1) with ESMTP id j6LAoUOe028981
	for <classpath@gnu.org>; Thu, 21 Jul 2005 11:50:30 +0100
Received: (from aph@localhost)
	by zapata.pink (8.13.1/8.13.1/Submit) id j6LAoUkE028978;
	Thu, 21 Jul 2005 11:50:30 +0100
Resent-From: Andrew Haley <aph@littlepinkcloud.com>
Message-Id: <200507211050.j6LAoUkE028978@zapata.pink>
Resent-Message-ID: <17119.32245.311752.643828@zapata.pink>
Resent-Date: Thu, 21 Jul 2005 11:50:29 +0100
Resent-To: classpath@gnu.org
X-Sieve: CMU Sieve 2.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
In-Reply-To: <dbnrc0$qro$1@sea.gmane.org>
References: <dbnrc0$qro$1@sea.gmane.org>
X-Mailer: VM 7.19 under Emacs 21.3.1
From: Andrew Haley <aph@redhat.com>
To: Martin Egholm Nielsen <martin@egholm-nielsen.dk>
Date: Thu, 21 Jul 2005 11:37:27 +0100
Resent-Date: Thu, 21 Jul 2005 06:54:09 -0400
Cc: java@gcc.gnu.org
Subject: Re: Bug in ServerSocket - accept()'s Socket is not bound? (3.4.3)
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 Jul 2005 10:54:18 -0000

Martin Egholm Nielsen writes:
 > Hi there,
 > 
 > When I try the following piece of code:
 > 
 > === 8< 8< 8< ===
 > 
 > import java.io.IOException;
 > import java.net.ServerSocket;
 > import java.net.Socket;
 > 
 > public class SocketBindTest
 > {
 >    public static void main(String[] args) throws IOException
 >    {
 >      System.out.println("Accepting...");
 >      Socket s = new ServerSocket(80).accept();
 >      System.out.println(s.isBound());
 >      System.out.println(s.getLocalPort());
 >      System.out.println(s.getPort());
 >    } // main
 > } // SocketBindTest
 > 
 > === 8< 8< 8< ===
 > 
 > I would expect the returned Socket instance, s, to be bound to same port 
 > as my server-socket - namely port 80. However, GCJ's Socket reports the 
 > socket as unbound, hence the port becomes "-1". A different behaviour is 
 > seen with Sun's...

It's a bug:

Breakpoint 1, SocketBindTest.main(java.lang.String[]) (args=@24c40)
    at SocketBindTest.java:11

(gdb) p _Jv_DeepDebug(socket,2)
java.net.Socket@15ce60
{
  boolean implCreated = false,
  boolean outputShutdown = false,
  java.net.SocketImpl impl = gnu.java.net.PlainSocketImpl@15a3c0
    {
      int localport = 80,
      java.io.OutputStream out = null,
      java.io.FileDescriptor fd = null,
      int timeout = 0,
      java.io.InputStream in = null,
      java.net.InetAddress address = 0x15b840,
      int native_fd = 15,
      java.net.InetAddress localAddress = null,
      int port = 41693,
      boolean inChannelOperation = false,
    },
  boolean bound = false,
  boolean inputShutdown = false,
}

As you can see, ServerSocket.accept doesn't set BOUND.  I think the
right place to fix this is ServerSocket.implAccept().

Andrew.



From MAILER-DAEMON Thu Jul 21 09:23:29 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dvb1M-0004A3-Pt
	for mharc-classpath@gnu.org; Thu, 21 Jul 2005 09:23:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dvb1K-00048q-MR
	for classpath@gnu.org; Thu, 21 Jul 2005 09:23:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dvb1J-00048Q-U0
	for classpath@gnu.org; Thu, 21 Jul 2005 09:23:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dvaxn-0002sJ-M4
	for classpath@gnu.org; Thu, 21 Jul 2005 09:19:47 -0400
Received: from [64.233.182.207] (helo=nproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dvahn-0008PA-8S
	for classpath@gnu.org; Thu, 21 Jul 2005 09:03:15 -0400
Received: by nproxy.gmail.com with SMTP id i2so31369nfe
	for <classpath@gnu.org>; Thu, 21 Jul 2005 05:53:16 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=Cdq0xhC8ozj/sTSN3kpUzxat6WGpvDh8tr9l8OzquIPj3tNT7eCTyrOzqPqHlRcUEOwmF4nVGeYCWzqQAVINk3TpUxHhO+e9tn/rMQ8d4fQRT3BGgmdRhtvZYDBNc0rZopuhyf0v66O9w7YGZZK1ANf40diJzpNp2pJUuZdoQhs=
Received: by 10.48.249.6 with SMTP id w6mr56514nfh;
	Thu, 21 Jul 2005 05:53:16 -0700 (PDT)
Received: by 10.48.250.6 with HTTP; Thu, 21 Jul 2005 05:53:16 -0700 (PDT)
Message-ID: <2d4cb1ed05072105532ec43bc8@mail.gmail.com>
Date: Thu, 21 Jul 2005 14:53:16 +0200
From: Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com>
To: classpath@gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Subject: Using GNU Classpath while changing his hierarchy
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2005 13:23:27 -0000

Hello,

I'm currently working on a project as a student training course. We're
building a VM to run Java code on embedded devices. The goal of the
project is to provide a tool to strip down this VM to the only needed
classes from the Java framework (since this VM will finally be burned
on some smart devices, with very few memory capacity).
The Sun API doesn't allow us to do something like this, so we are
using the GNU Classpath Project.
The project use his own hierarchy so, while incorporing classes from
Classpath, we need to change packages names (the root directory of the
project his fr.lifl.rd2p. so everything in java., java.lang for
example, will become fr.lifl.rd2p.lang, and so on...). In the process,
we need to change import references, and the hardcoded call in some
classes for other classes in the API (by example an hardcoded call to
java.io.IOException in some procedure prototype needs to be changed).

To help me do this tedious work, I have build a small app, taking a
config file with the patterns to substitute in the Classpath
hierarchy, and while copy the file in the new hierarchy, do the
substitutions.
Since the creation of this config file (an very big XML chunk of
patterns and strings) is a repetitious process, and I also don't want
to spend the rest of the training course on some copy/paste line work,
I've build a Swing GUI - a click-o-matic-like for the lines to be
substitued.

The GNU Classpath project evolves while I'm doing this. And some
substitution rules available for today won't be available in future
releases of the Classpath project. Some new classes/substitutions will
be introduced with each new version...

So, I post this message to ask if I'm not missing something in the
process, if there is a existing tool or some guidelines to help me
keep track of the diff in a streamlined way.

Do you have any comments or  suggestions ?

Jean-Philippe Deblonde



From MAILER-DAEMON Thu Jul 21 12:20:26 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dvdll-0000qa-Oo
	for mharc-classpath@gnu.org; Thu, 21 Jul 2005 12:19:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dvdlb-0000lW-RU
	for classpath@gnu.org; Thu, 21 Jul 2005 12:19:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvdlQ-0000c5-27
	for classpath@gnu.org; Thu, 21 Jul 2005 12:19:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvdlP-0000at-Ly
	for classpath@gnu.org; Thu, 21 Jul 2005 12:19:11 -0400
Received: from [132.227.60.2] (helo=isis.lip6.fr)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dvdqn-0004qS-F1
	for classpath@gnu.org; Thu, 21 Jul 2005 12:24:45 -0400
Received: from src.lip6.fr (src.lip6.fr [132.227.64.100])
	by isis.lip6.fr (8.13.1/jtpda-5.4+victor) with ESMTP id j6LGEiNx013887
	for <classpath@gnu.org>; Thu, 21 Jul 2005 18:14:44 +0200
X-pt: isis.lip6.fr
Received: from [132.227.64.215] (src16 [132.227.64.215])
	by src.lip6.fr (8.12.9-20030917/jtpda-5.4+victor) with ESMTP id
	j6LGEh9B021832
	for <classpath@gnu.org>; Thu, 21 Jul 2005 18:14:44 +0200
Message-ID: <42DFC9FA.5050306@menlina.com>
Date: Thu, 21 Jul 2005 18:14:50 +0200
From: Nicolas Geoffray <nicolas.geoffray@menlina.com>
User-Agent: Mozilla Thunderbird 1.0.5 (X11/20050719)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0b2
	(isis.lip6.fr [132.227.60.2]);
	Thu, 21 Jul 2005 18:14:44 +0200 (CEST)
X-Scanned-By: isis.lip6.fr
Subject: hasClassInitializer and exception
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 Jul 2005 16:19:26 -0000

Hey everyone,

there is something that might be wrong in the implementation of 
VMObjectStreamClass.hasClassInitializer 
(native/jni/java-io/java_io_VMObjectStreamClass.c). It uses 
GetStaticMethodID and tests if an exception occured to see if the clinit 
method exists.

The thing is, in the spec, GetStaticMethodID has to clinit the class. 
Imagine there is a clinit and the clinit raises and exception, the 
result of hasClassInitializer would be false.

I have no patch to propose to you, but what i did (as a vm implementor) 
is reimplementing the VMObjectStreamClass.hasClassInitializer function, 
which now does the search without cliniting the class (so it doesn't use 
jni directly anymore).

Am I right?

Nicolas



From MAILER-DAEMON Thu Jul 21 12:33:24 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DvdzA-00073k-4C
	for mharc-classpath@gnu.org; Thu, 21 Jul 2005 12:33:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dvdz2-0006yf-9I
	for classpath@gnu.org; Thu, 21 Jul 2005 12:33:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dvdyz-0006w4-4K
	for classpath@gnu.org; Thu, 21 Jul 2005 12:33:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dvdyx-0006uI-9A
	for classpath@gnu.org; Thu, 21 Jul 2005 12:33:11 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dve1t-0005g1-91
	for classpath@gnu.org; Thu, 21 Jul 2005 12:36:13 -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 j6LGQCUI026813;
	Thu, 21 Jul 2005 12:26:12 -0400
Received: from opsy.redhat.com (vpn50-108.rdu.redhat.com [172.16.50.108])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6LGQ6V08986; 
	Thu, 21 Jul 2005 12:26:06 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 029722DD95C; Thu, 21 Jul 2005 10:22:30 -0600 (MDT)
Sender: tromey@redhat.com
To: Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com>
References: <2d4cb1ed05072105532ec43bc8@mail.gmail.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 21 Jul 2005 10:22:30 -0600
In-Reply-To: <2d4cb1ed05072105532ec43bc8@mail.gmail.com>
Message-ID: <m3fyu8cent.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: Using GNU Classpath while changing his hierarchy
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 Jul 2005 16:33:19 -0000

>>>>> ">" == Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com> writes:

>> The GNU Classpath project evolves while I'm doing this. And some
>> substitution rules available for today won't be available in future
>> releases of the Classpath project. Some new classes/substitutions will
>> be introduced with each new version...

>> So, I post this message to ask if I'm not missing something in the
>> process, if there is a existing tool or some guidelines to help me
>> keep track of the diff in a streamlined way.

>> Do you have any comments or  suggestions ?

Use Eclipse to do the refactoring for you?
Or, do the refactoring *after* the build using a tool like ASM?

Tom



From MAILER-DAEMON Thu Jul 21 13:36:51 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DveyY-0007p1-Nh
	for mharc-classpath@gnu.org; Thu, 21 Jul 2005 13:36:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DveyW-0007nR-IQ
	for classpath@gnu.org; Thu, 21 Jul 2005 13:36:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DveyV-0007mn-9Q
	for classpath@gnu.org; Thu, 21 Jul 2005 13:36:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvewH-0006m9-I5
	for classpath@gnu.org; Thu, 21 Jul 2005 13:34:29 -0400
Received: from [207.203.41.67] (helo=zixvpm01.stv.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DveZs-0008Hh-8d
	for classpath@gnu.org; Thu, 21 Jul 2005 13:11:20 -0400
Received: from zixvpm01.stv.org (ZixVPM [127.0.0.1])
	by Outbound.stv.org (Proprietary) with ESMTP id 1EF2A130014
	for <classpath@gnu.org>; Thu, 21 Jul 2005 12:02:07 -0500 (CDT)
Received: from STVAVAPPL1.BHMSTV (unknown [10.104.14.2])
	by zixvpm01.stv.org (Proprietary) with SMTP
	id DDA04190002; Thu, 21 Jul 2005 12:02:06 -0500 (CDT)
Received: from unknown(10.104.145.22) by STVAVAPPL1.BHMSTV via csmap 
	id 03a6689e_fa06_11d9_9100_00304811e8c8_26376;
	Thu, 21 Jul 2005 11:39:32 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6LGxfC3001085;
	Thu, 21 Jul 2005 11:59:43 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42DFD47D.8090409@dellroad.org>
Date: Thu, 21 Jul 2005 11:59:41 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Nicolas Geoffray <nicolas.geoffray@menlina.com>
References: <42DFC9FA.5050306@menlina.com>
In-Reply-To: <42DFC9FA.5050306@menlina.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: hasClassInitializer and exception
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 Jul 2005 17:36:49 -0000

Nicolas Geoffray wrote:
> there is something that might be wrong in the implementation of 
> VMObjectStreamClass.hasClassInitializer 
> (native/jni/java-io/java_io_VMObjectStreamClass.c). It uses 
> GetStaticMethodID and tests if an exception occured to see if the clinit 
> method exists.
> 
> The thing is, in the spec, GetStaticMethodID has to clinit the class. 
> Imagine there is a clinit and the clinit raises and exception, the 
> result of hasClassInitializer would be false.

How about this: add this line to ObjectStreamClass before calling
VMObjectStreamClass.hasClassInitializer to force class initialization
ahead of time:

   Class.forName(cl.getName(), true, cl.getClassLoader());

Then we'll know that any exception thrown in the JNI code is
not an initializer exception.

-Archie

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



From MAILER-DAEMON Thu Jul 21 14:21:47 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dvfg0-0004xO-Gw
	for mharc-classpath@gnu.org; Thu, 21 Jul 2005 14:21:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dvffv-0004tU-80
	for classpath@gnu.org; Thu, 21 Jul 2005 14:21:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dvffp-0004rJ-W3
	for classpath@gnu.org; Thu, 21 Jul 2005 14:21:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dvffp-0004jz-O1
	for classpath@gnu.org; Thu, 21 Jul 2005 14:21:33 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DvfYo-0004Mp-Nz
	for classpath@gnu.org; Thu, 21 Jul 2005 14:14:18 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DvfPU-0001OL-00; Thu, 21 Jul 2005 20:04:40 +0200
From: Mark Wielaard <mark@klomp.org>
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <42DFD47D.8090409@dellroad.org>
References: <42DFC9FA.5050306@menlina.com>  <42DFD47D.8090409@dellroad.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-LMRdnzE64+WJJ7q8OErJ"
Date: Thu, 21 Jul 2005 20:04:25 +0200
Message-Id: <1121969066.7915.73.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org
Subject: Re: hasClassInitializer and exception
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 Jul 2005 18:21:41 -0000


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

Hi,

On Thu, 2005-07-21 at 11:59 -0500, Archie Cobbs wrote:
> Nicolas Geoffray wrote:
> > there is something that might be wrong in the implementation of=20
> > VMObjectStreamClass.hasClassInitializer=20
> > (native/jni/java-io/java_io_VMObjectStreamClass.c). It uses=20
> > GetStaticMethodID and tests if an exception occured to see if the clini=
t=20
> > method exists.
> >=20
> > The thing is, in the spec, GetStaticMethodID has to clinit the class.=20
> > Imagine there is a clinit and the clinit raises and exception, the=20
> > result of hasClassInitializer would be false.
>=20
> How about this: add this line to ObjectStreamClass before calling
> VMObjectStreamClass.hasClassInitializer to force class initialization
> ahead of time:
>=20
>    Class.forName(cl.getName(), true, cl.getClassLoader());
>=20
> Then we'll know that any exception thrown in the JNI code is
> not an initializer exception.

That, or we actually throw the exception, instead of clearing it in the
jni code when it isn't a NoSuchMethodException. This is a bit of a
corner case though. We only use hasClassInitializer() when we have to
calculate the serialVersionUID by hand. Which means we actually are
going to create an object for this class. Which will fail anyway since
the class cannot be initialized...
The question is whether or not we are throwing the right exception at
the right place. I haven't looked closely at the code yet

Can someone come up with a nice (or probably contrived) testcase for
this?

Cheers,

Mark

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

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

iD8DBQBC3+OpxVhZCJWr9QwRAo6dAJ4iAHvnLXyOVNVD7Cv/bCYMKL8OkQCgpsab
T5sLCkxllBSbeRhayfpMqyw=
=OEmL
-----END PGP SIGNATURE-----

--=-LMRdnzE64+WJJ7q8OErJ--




From MAILER-DAEMON Fri Jul 22 02:31:40 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dvr4M-0004HU-8a
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 02:31:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dvr4H-0004Er-Hy
	for classpath@gnu.org; Fri, 22 Jul 2005 02:31:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dvr4G-0004Dg-1S
	for classpath@gnu.org; Fri, 22 Jul 2005 02:31:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dvr4F-0004Cw-G7
	for classpath@gnu.org; Fri, 22 Jul 2005 02:31:31 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DvrBk-0000Gi-0F
	for classpath@gnu.org; Fri, 22 Jul 2005 02:39:16 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C58E86.A97B477D"
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Fri, 22 Jul 2005 08:28:43 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAEF9@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: hasClassInitializer and exception
Thread-Index: AcWOINqsLXI/C6gITgCYQt/JzJDHyAAZBQbA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>,
	"Archie Cobbs" <archie@dellroad.org>
Cc: classpath@gnu.org
Subject: RE: hasClassInitializer and exception
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 Jul 2005 06:31:35 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C58E86.A97B477D
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Mark Wielaard wrote:
> On Thu, 2005-07-21 at 11:59 -0500, Archie Cobbs wrote:
> > Nicolas Geoffray wrote:
> > > there is something that might be wrong in the implementation of=20
> > > VMObjectStreamClass.hasClassInitializer=20
> > > (native/jni/java-io/java_io_VMObjectStreamClass.c). It uses=20
> > > GetStaticMethodID and tests if an exception occured to=20
> > > see if the clinit method exists.
> > >=20
> > > The thing is, in the spec, GetStaticMethodID has to=20
> > > clinit the class.=20
> > > Imagine there is a clinit and the clinit raises and=20
> > > exception, the result of hasClassInitializer would be false.
> >=20
> > How about this: add this line to ObjectStreamClass before calling
> > VMObjectStreamClass.hasClassInitializer to force class=20
> > initializationahead of time:
> >=20
> >    Class.forName(cl.getName(), true, cl.getClassLoader());
> >=20
> > Then we'll know that any exception thrown in the JNI code is
> > not an initializer exception.
>=20
> That, or we actually throw the exception, instead of clearing=20
> it in the jni code when it isn't a NoSuchMethodException. This is a
> bit of a corner case though. We only use hasClassInitializer() when we
> have to calculate the serialVersionUID by hand. Which means we
actually
> are going to create an object for this class. Which will fail anyway
> since the class cannot be initialized...

This seems like the sensible thing to do.

> The question is whether or not we are throwing the right exception at
> the right place. I haven't looked closely at the code yet
>=20
> Can someone come up with a nice (or probably contrived) testcase for
> this?

See attached. Sun throws a NoClassDefFoundError on serialization and the
expected exception (i.e. either the Error or
ExceptionInInitializerError) on deserialization. Both exceptions are
throws from ObjectStreamClass.getSerialVersionUID().

Regards,
Jeroen

------_=_NextPart_001_01C58E86.A97B477D
Content-Type: application/octet-stream;
	name="ser.java"
Content-Transfer-Encoding: base64
Content-Description: ser.java
Content-Disposition: attachment;
	filename="ser.java"

aW1wb3J0IGphdmEuaW8uKjsNCg0KY2xhc3Mgc2VyDQp7DQogIHN0YXRpYyBPYmplY3QgYnJva2Vu
Ow0KDQogIHN0YXRpYyBjbGFzcyBCcmVha01lIGltcGxlbWVudHMgU2VyaWFsaXphYmxlDQogIHsN
CiAgICBzdGF0aWMgeyBicm9rZW4gPSBuZXcgQnJlYWtNZSgpOyBpZih0cnVlKSB0aHJvdyBuZXcg
RXJyb3IoKTsgfQ0KICB9DQoNCiAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJn
cykgdGhyb3dzIEV4Y2VwdGlvbg0KICB7DQogICAgaWYgKG5ldyBGaWxlKCJ0ZXN0LmJpbiIpLmV4
aXN0cygpKQ0KICAgIHsNCiAgICAgIE9iamVjdElucHV0U3RyZWFtIG9pcyA9IG5ldyBPYmplY3RJ
bnB1dFN0cmVhbShuZXcgRmlsZUlucHV0U3RyZWFtKCJ0ZXN0LmJpbiIpKTsNCiAgICAgIFN5c3Rl
bS5vdXQucHJpbnRsbihvaXMucmVhZE9iamVjdCgpKTsNCiAgICB9DQoNCiAgICB0cnkgeyBuZXcg
QnJlYWtNZSgpOyB9IGNhdGNoKFRocm93YWJsZSBfKSB7fQ0KDQogICAgT2JqZWN0T3V0cHV0U3Ry
ZWFtIG9vcyA9IG5ldyBPYmplY3RPdXRwdXRTdHJlYW0obmV3IEZpbGVPdXRwdXRTdHJlYW0oInRl
c3QuYmluIikpOw0KICAgIG9vcy53cml0ZU9iamVjdChicm9rZW4pOw0KICAgIG9vcy5jbG9zZSgp
Ow0KICB9DQp9DQo=

------_=_NextPart_001_01C58E86.A97B477D--



From MAILER-DAEMON Fri Jul 22 06:21:05 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dvud7-0005Bf-RL
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 06:19:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dvud2-00057e-EW
	for classpath@gnu.org; Fri, 22 Jul 2005 06:19:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dvuci-0004zv-Ss
	for classpath@gnu.org; Fri, 22 Jul 2005 06:19:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dvucg-0004st-RG
	for classpath@gnu.org; Fri, 22 Jul 2005 06:19:19 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DvudH-0005am-Uy
	for classpath@gnu.org; Fri, 22 Jul 2005 06:19:56 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DvuTp-0001Zq-00; Fri, 22 Jul 2005 12:10:09 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CAEF9@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CAEF9@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-hNdG8RS3gorvZz8R138o"
Date: Fri, 22 Jul 2005 12:10:01 +0200
Message-Id: <1122027002.7915.126.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org
Subject: RE: hasClassInitializer and exception
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 Jul 2005 10:19:43 -0000


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

Hi,

On Fri, 2005-07-22 at 08:28 +0200, Jeroen Frijters wrote:
> > The question is whether or not we are throwing the right exception at
> > the right place. I haven't looked closely at the code yet
> >=20
> > Can someone come up with a nice (or probably contrived) testcase for
> > this?
>=20
> See attached. Sun throws a NoClassDefFoundError on serialization and the
> expected exception (i.e. either the Error or
> ExceptionInInitializerError) on deserialization. Both exceptions are
> throws from ObjectStreamClass.getSerialVersionUID().

Thanks. I turned this into some mauve tests. See
gnu/testlet/java/io/Serializable/BreakMe. It seems we already have the
correct behavior since all these tests PASS. Or I implemented the tests
wrong of course. Please check.

Cheers,

Mark

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

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

iD8DBQBC4MX5xVhZCJWr9QwRAhtSAKCSV7KSM8Md7TMvjaLZfeXzoYGQYQCgiFS6
aIDV+er3M6r3br6XRrxtYRI=
=/vz5
-----END PGP SIGNATURE-----

--=-hNdG8RS3gorvZz8R138o--




From MAILER-DAEMON Fri Jul 22 07:28:17 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dvvfc-0002YS-SK
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 07:26:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DvvfQ-0002SK-96
	for classpath@gnu.org; Fri, 22 Jul 2005 07:26:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvvfL-0002Qw-TP
	for classpath@gnu.org; Fri, 22 Jul 2005 07:26:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvvfK-0002CZ-RD
	for classpath@gnu.org; Fri, 22 Jul 2005 07:26:07 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dvvmx-00023N-4j
	for classpath@gnu.org; Fri, 22 Jul 2005 07:33:59 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Fri, 22 Jul 2005 13:23:45 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAEFF@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: hasClassInitializer and exception
Thread-Index: AcWOpXsjrgPtclrISaq3H5wjpNdDDAACS9qA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>
Cc: classpath@gnu.org
Subject: RE: hasClassInitializer and exception
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 Jul 2005 11:26:14 -0000

Mark Wielaard wrote:
> Thanks. I turned this into some mauve tests. See
> gnu/testlet/java/io/Serializable/BreakMe. It seems we already have the
> correct behavior since all these tests PASS. Or I implemented=20
> the tests wrong of course. Please check.

Thanks! The tests look correct to me and BreakMeTestSer correctly
demonstrated that IKVM didn't throw the NoClassDefFoundError.

Regards,
Jeroen



From MAILER-DAEMON Fri Jul 22 09:54:26 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dvxyr-0007Sm-Ty
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 09:54:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dvxwc-00073Z-FN
	for classpath@gnu.org; Fri, 22 Jul 2005 09:52:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DvxwO-0006ww-5r
	for classpath@gnu.org; Fri, 22 Jul 2005 09:51:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DvxwN-0006sy-Kp
	for classpath@gnu.org; Fri, 22 Jul 2005 09:51:51 -0400
Received: from [132.227.60.2] (helo=isis.lip6.fr)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DvxwW-0004eY-H7
	for classpath@gnu.org; Fri, 22 Jul 2005 09:52:00 -0400
Received: from src.lip6.fr (src.lip6.fr [132.227.64.100])
	by isis.lip6.fr (8.13.1/jtpda-5.4+victor) with ESMTP id j6MDflOq017625
	for <classpath@gnu.org>; Fri, 22 Jul 2005 15:41:47 +0200
X-pt: isis.lip6.fr
Received: from [132.227.64.215] (src16 [132.227.64.215])
	by src.lip6.fr (8.12.9-20030917/jtpda-5.4+victor) with ESMTP id
	j6MDfl9B004995
	for <classpath@gnu.org>; Fri, 22 Jul 2005 15:41:47 +0200
Message-ID: <42E0F7A1.8010403@menlina.com>
Date: Fri, 22 Jul 2005 15:41:53 +0200
From: Nicolas Geoffray <nicolas.geoffray@menlina.com>
User-Agent: Mozilla Thunderbird 1.0.5 (X11/20050719)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="------------010502030706070404060106"
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0b2
	(isis.lip6.fr [132.227.60.2]);
	Fri, 22 Jul 2005 15:41:47 +0200 (CEST)
X-Scanned-By: isis.lip6.fr
Subject: Loader in ObjectStreamClass.readClassDescriptor
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 Jul 2005 13:54:23 -0000

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

Hello again,

There's something that, I think, misbehaves in readClassDescriptor.

Fields are read before  the loading of the actual object's class CL in 
the stream, which is necessary. When loading the classes of the fields 
(before loading CL), the classloader given is the callersClassLoader 
which is set to currentLoader() the most recent user defined classloader 
on the execution stack.

When using the method with RMI here is the class context :
class java.io.VMObjectInputStream$1
class java.security.AccessController
class java.io.VMObjectInputStream
class java.io.ObjectInputStream
class java.io.ObjectInputStream
class java.io.ObjectInputStream
class java.io.ObjectInputStream
class gnu.java.rmi.server.RMIObjectInputStream
class gnu.java.rmi.server.UnicastServerRef
class gnu.java.rmi.server.UnicastServer
class gnu.java.rmi.server.UnicastServer
class gnu.java.rmi.server.UnicastConnection
class java.lang.Thread
class java.lang.VMThread

So the callersClassLoader is set to null and the fields of CL are loaded 
with the VM ClassLoader (which won't found any classes loaded by the 
application class loader or other user defined classloader)

Because RMI redefines the resolveClass(ObjectStreamClass), CL is found, 
as it used the "correct" classloader. The problem arrives when CL was 
loaded by MyClassLoader, and CL has one field whose class was also 
loaded by MyClassLoader.

What I suggest is to use the classloader of CL, once CL is loaded, to 
load the fields. What i do in the attached patch is reading the fields 
and storing them in a temporary class, loading CL as it was done before 
(this is when the RMI's resolveClass is used : 
gnu.java.rmi.server.RMIObjectInputStream) and finally loading the fields 
with CL's classloader.

Would that be a correct behaviour?

Cheers
Nicolas

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

*** java/io/ObjectInputStream.java	Fri Jul 15 15:57:35 2005
--- java/io/ObjectInputStream.java	Fri Jul 22 15:36:01 2005
***************
*** 468,473 ****
--- 468,484 ----
        }
    }
  
+ 
+   private class TemporaryStreamField{
+     String field_name;
+     String class_name;
+ 
+     TemporaryStreamField(String field, String clazz){
+       field_name = field;
+       class_name = clazz;
+     }
+   }
+ 
    /**
     * This method reads a class descriptor from the real input stream
     * and use these data to create a new instance of ObjectStreamClass.
***************
*** 497,509 ****
      short field_count = this.realInputStream.readShort();
      if(dump) dumpElementln(Short.toString(field_count));
      ObjectStreamField[] fields = new ObjectStreamField[field_count];
      ObjectStreamClass osc = new ObjectStreamClass(name, uid,
  						  flags, fields);
      assignNewHandle(osc);
  
-     if (callersClassLoader == null)
-       callersClassLoader = currentLoader();
- 	      
      for (int i = 0; i < field_count; i++)
        {
  	if(dump) dumpElement("  TYPE CODE=");
--- 508,518 ----
      short field_count = this.realInputStream.readShort();
      if(dump) dumpElementln(Short.toString(field_count));
      ObjectStreamField[] fields = new ObjectStreamField[field_count];
+     TemporaryStreamField[] temp_fields = new TemporaryStreamField[field_count];
      ObjectStreamClass osc = new ObjectStreamClass(name, uid,
  						  flags, fields);
      assignNewHandle(osc);
  
      for (int i = 0; i < field_count; i++)
        {
  	if(dump) dumpElement("  TYPE CODE=");
***************
*** 521,529 ****
  	  class_name = (String)readObject();
  	else
  	  class_name = String.valueOf(type_code);
! 		  
! 	fields[i] =
! 	  new ObjectStreamField(field_name, class_name, callersClassLoader);
        }
  	      
      /* Now that fields have been read we may resolve the class
--- 530,537 ----
  	  class_name = (String)readObject();
  	else
  	  class_name = String.valueOf(type_code);
! 	
! 	temp_fields[i] = new TemporaryStreamField(field_name, class_name);
        }
  	      
      /* Now that fields have been read we may resolve the class
***************
*** 558,563 ****
--- 566,577 ----
  	  throw cnfe;
        }
  
+     ClassLoader loader = clazz.getClassLoader();
+     for(int i =0; i < field_count; i++)
+ 	fields[i] = new ObjectStreamField(temp_fields[i].field_name,
+             temp_fields[i].class_name, loader);
+ 
+ 
      boolean oldmode = setBlockDataMode(true);
      osc.setClass(clazz, lookupClass(clazz.getSuperclass()));
      classLookupTable.put(clazz, osc);

--------------010502030706070404060106--



From MAILER-DAEMON Fri Jul 22 12:09:57 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dw061-0005YY-2K
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 12:09:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dw05x-0005VD-8Y
	for classpath@gnu.org; Fri, 22 Jul 2005 12:09:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dw05t-0005Sv-Ek
	for classpath@gnu.org; Fri, 22 Jul 2005 12:09:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dw05t-0005OS-24
	for classpath@gnu.org; Fri, 22 Jul 2005 12:09:49 -0400
Received: from [212.126.219.82] (helo=mail.aicas.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dw08s-0006Sn-3D
	for classpath@gnu.org; Fri, 22 Jul 2005 12:12:54 -0400
Received: from bart.aicas.burg (unknown [192.168.1.60])
	(using TLSv1 with cipher RC4-MD5 (128/128 bits))
	(No client certificate requested)
	by mail.aicas.de (Postfix) with ESMTP id A8EEB6BC014
	for <classpath@gnu.org>; Fri, 22 Jul 2005 18:03:19 +0200 (CEST)
From: Ingo =?ISO-8859-1?Q?Pr=F6tel?= <proetel@aicas.com>
To: GNU Classpath ML <classpath@gnu.org>
Content-Type: text/plain; charset=ISO-8859-15
Date: Fri, 22 Jul 2005 18:02:33 +0200
Message-Id: <1122048154.16678.9.camel@bart.aicas.burg>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1 
Content-Transfer-Encoding: quoted-printable
Subject: Implementation details of VMStackWalker
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 Jul 2005 16:09:53 -0000

Hi,

I just implemented VMStackWalker for our VM and have some questions.

The reference implementation of 'getCallingClass()' and
'getCallingClassLoader()' just look at the third entry in the class
context. Would it not be better to return the first class that is not
assignable to the class in context[0] ? That way we could cope with
classes that first call some private or protected classes an then ends
up calling the stack walker.=20

The next thing I would like to have is a method to get the calling
method name. This would be good for logging.=20

For the security part: Is it enough to check if the class loader of
context[0] is the boot classloader?

Thanks
Ingo
--=20
Ingo Pr=F6tel                                          proetel@aicas.com
aicas GmbH                                        http://www.aicas.com
Haid-und-Neu-Str. 18                        phone   +49 721 663 968-32
76131 Karlsruhe                             fax     +49 721 663 968-93
Germany                                     =20





From MAILER-DAEMON Fri Jul 22 16:59:38 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dw4cI-00089q-LA
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 16:59:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dw4cC-00086r-N9
	for classpath@gnu.org; Fri, 22 Jul 2005 16:59:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dw4c5-00081S-Ii
	for classpath@gnu.org; Fri, 22 Jul 2005 16:59:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dw4c3-0007zJ-If
	for classpath@gnu.org; Fri, 22 Jul 2005 16:59:19 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dw4fq-0003jw-1j
	for classpath@gnu.org; Fri, 22 Jul 2005 17:03:14 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dw440-0006x2-00; Fri, 22 Jul 2005 22:24:08 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1121469314.4751.9.camel@localhost>
References: <1121469314.4751.9.camel@localhost>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-gBlX1K1XzKbUTH26L/ru"
Date: Fri, 22 Jul 2005 22:24:06 +0200
Message-Id: <1122063846.7915.254.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: java@gcc.gnu.org
Subject: Re: Bug tracker being moved (and Big Merge in preparation)
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 Jul 2005 20:59:30 -0000


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

Hi (CCed gcj mailinglist so they are also prepared for the big bug
merge),

On Sat, 2005-07-16 at 01:15 +0200, Mark Wielaard wrote:
> We are (finally) trying to move the bugtracker from savannah to bugzilla
> over the weekend. I have suspended the tracker on savannah for now to
> make sure that no bugs are reported that might not make the transition
> and would become lost. I hope to give a status update soon.

As people probably noticed this didn't go as smoothly as hoped.
We are waiting for a new dump of the savannah bug tracker since the dump
we had didn't contain all comment history. Apologies.

You can start reporting new bugs to gcc.gnu.org/bugzilla. For now please
use either the libgcj, SWING or AWT component. When the move is
completed bugzilla will get a new product classpath with its own
components and versions.

Now that the big-merge is done it will also be much easier to correlate
libgcj versions to classpath versions. We should import classpath
directly into gcc/libgcj at least each time we do a GNU Classpath
developer snapshot.

Cheers,

Mark

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

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

iD8DBQBC4VXmxVhZCJWr9QwRAuoWAJ49MTIRsHdyVnIsSYuxGijlOH8dugCghsXw
Yss2O7ZBXvBE/b2mECt+t2A=
=jVgn
-----END PGP SIGNATURE-----

--=-gBlX1K1XzKbUTH26L/ru--




From MAILER-DAEMON Fri Jul 22 17:03:41 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dw4gH-00012L-5n
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 17:03:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dw4gF-00011f-6f
	for classpath@gnu.org; Fri, 22 Jul 2005 17:03:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dw4gE-00011A-6C
	for classpath@gnu.org; Fri, 22 Jul 2005 17:03:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dw4dJ-0007zJ-HG
	for classpath@gnu.org; Fri, 22 Jul 2005 17:00:37 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dw4Ow-0002E6-8T
	for classpath@gnu.org; Fri, 22 Jul 2005 16:45:46 -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 j6MK1lCt029775;
	Fri, 22 Jul 2005 16:01:47 -0400
Received: from opsy.redhat.com (vpn50-23.rdu.redhat.com [172.16.50.23])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6MK1kV02459; 
	Fri, 22 Jul 2005 16:01:47 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id B12732DD95C; Fri, 22 Jul 2005 13:58:07 -0600 (MDT)
Sender: tromey@redhat.com
To: Mark Wielaard <mark@klomp.org>
References: <42D03016.1080506@dellroad.org>
	<1121878653.4759.197.camel@localhost>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 22 Jul 2005 13:58:07 -0600
In-Reply-To: <1121878653.4759.197.camel@localhost>
Message-ID: <m3fyu6aa0g.fsf@localhost.localdomain>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, Daniel Bonniot <Daniel.Bonniot@inria.fr>
Subject: Re: Fix for java/net/URLClassLoader
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, 22 Jul 2005 21:03:39 -0000

>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> I remember we added getting file URLs for directories as
Mark> resources because Nice depended on that being
Mark> possible. (Indicating that the Mauve test and/or the "spec" is
Mark> wrong here.) It doesn't really make sense to return it as
Mark> resource since it is unclear what to return as content. If I
Mark> remember correctly some people wanted to return some
Mark> HTML-representation of the directory...

This is a good candidate for a big comment in URLClassLoader, plus a
mauve test (also with a big comment) as enforcement.  It is far too
easy to lose track of the various test cases we find out in the
wild...

Tom



From MAILER-DAEMON Fri Jul 22 17:29:56 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dw55T-0002BP-EA
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 17:29:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dw55J-00026X-19
	for classpath@gnu.org; Fri, 22 Jul 2005 17:29:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dw555-0001yq-Ok
	for classpath@gnu.org; Fri, 22 Jul 2005 17:29:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dw555-0001wL-Lt
	for classpath@gnu.org; Fri, 22 Jul 2005 17:29:19 -0400
Received: from [81.103.221.58] (helo=queue04-winn.ispmail.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dw57L-0006qB-Ek
	for classpath@gnu.org; Fri, 22 Jul 2005 17:31:39 -0400
Received: from aamta10-winn.ispmail.ntl.com ([81.103.221.35])
	by mta09-winn.ispmail.ntl.com with ESMTP id
	<20050722170003.ECRG25008.mta09-winn.ispmail.ntl.com@aamta10-winn.ispmail.ntl.com>;
	Fri, 22 Jul 2005 18:00:03 +0100
Received: from zapata.pink ([82.16.12.40]) by aamta10-winn.ispmail.ntl.com
	with ESMTP
	id <20050722170002.BGXE2760.aamta10-winn.ispmail.ntl.com@zapata.pink>; 
	Fri, 22 Jul 2005 18:00:02 +0100
Received: from zapata.pink (localhost.localdomain [127.0.0.1])
	by zapata.pink (8.13.1/8.13.1) with ESMTP id j6MH172I002682;
	Fri, 22 Jul 2005 18:01:07 +0100
Received: (from aph@localhost)
	by zapata.pink (8.13.1/8.13.1/Submit) id j6MH16Tn002678;
	Fri, 22 Jul 2005 18:01:06 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <17121.9809.924883.908005@zapata.pink>
Date: Fri, 22 Jul 2005 18:01:05 +0100
From: Andrew Haley <aph@redhat.com>
To: Ingo =?ISO-8859-1?Q?Pr=F6tel?= <proetel@aicas.com>
In-Reply-To: <1122048154.16678.9.camel@bart.aicas.burg>
References: <1122048154.16678.9.camel@bart.aicas.burg>
X-Mailer: VM 7.19 under Emacs 21.3.1
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: Re: Implementation details of VMStackWalker
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 Jul 2005 21:29:40 -0000

Ingo Prötel writes:

 > I just implemented VMStackWalker for our VM and have some questions.
 > 
 > The reference implementation of 'getCallingClass()' and
 > 'getCallingClassLoader()' just look at the third entry in the class
 > context. Would it not be better to return the first class that is not
 > assignable to the class in context[0] ? That way we could cope with
 > classes that first call some private or protected classes an then ends
 > up calling the stack walker. 

In gcj, we have a method called GetCallingClass(Class c).  It searches
firstly for a method declared in class c, then for a method not
declared in c.  We have found, after a certain amount of trouble, that
this is the right way to do things; it means that an arbitrary number
of stack frames can be between the direct caller of GetCallingClass
and the user code, and it also means that you don't have to check for
assignability, but for an exact match.

For example, you may have

class Foo
{
bar (Object O)
{
   return baz(O);
}

baz (Object O)
{
  ... GetCallingClass (Foo) ...
}
}

... and you will get class of the caller of bar, not Foo.class.

We use it like this:

java::lang::ClassLoader *
java::io::ObjectInputStream::currentLoader ()
{
  jclass caller = _Jv_StackTrace::GetCallingClass (&ObjectInputStream::class$);
  if (caller)
    return caller->getClassLoaderInternal();
  return NULL;
}

Andrew.



From MAILER-DAEMON Fri Jul 22 18:12:03 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dw5kQ-0007G0-N6
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 18:12:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dw5eX-00069v-7r
	for classpath@gnu.org; Fri, 22 Jul 2005 18:05:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dw5eH-000628-Ax
	for classpath@gnu.org; Fri, 22 Jul 2005 18:05:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dw5eG-0005vP-B2
	for classpath@gnu.org; Fri, 22 Jul 2005 18:05:40 -0400
Received: from [80.91.229.2] (helo=ciao.gmane.org)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1Dw5Zc-0001l1-8U
	for classpath@gnu.org; Fri, 22 Jul 2005 18:00:52 -0400
Received: from root by ciao.gmane.org with local (Exim 4.43)
	id 1Dw5PB-0001kb-CO
	for classpath@gnu.org; Fri, 22 Jul 2005 23:50:05 +0200
Received: from c66-235-34-190.sea2.cablespeed.com ([66.235.34.190])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <classpath@gnu.org>; Fri, 22 Jul 2005 23:50:05 +0200
Received: from chris by c66-235-34-190.sea2.cablespeed.com with local (Gmexim
	0.1 (Debian)) id 1AlnuQ-0007hv-00
	for <classpath@gnu.org>; Fri, 22 Jul 2005 23:50:05 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: classpath@gnu.org
From: Chris Nokleberg <chris@sixlegs.com>
Date: Fri, 22 Jul 2005 14:25:32 -0700
Lines: 24
Message-ID: <pan.2005.07.22.21.25.30.857420@sixlegs.com>
References: <42C5663E.60706@mail.usyd.edu.au>
	<42C57A9E.70209@object-refinery.com>
	<42C7F865.9070107@mail.usyd.edu.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: c66-235-34-190.sea2.cablespeed.com
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing
	moment of clarity.)
Sender: news <news@sea.gmane.org>
Subject: Re: New volunteer needing task
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 Jul 2005 22:12:00 -0000

On Mon, 04 Jul 2005 00:38:29 +1000, Dimitri Koussa wrote:
> I searched the mailing list and found this:
> http://lists.gnu.org/archive/html/classpath/2002-07/msg00013.html
> Although it does not show whether the class was written or not.

Hi, 

I never got around to properly contributing the code (I'm not sure AWT was
really in a proper state at the time). It is LGPL so do with it what you
will.

I'm actually just about to release version 2.0. The main changes are:
 - Requires Java 1.2 instead of 1.1
 - Uses BufferedImage instead of Image
 - Smaller, faster, etc. At least as fast as the current ImageIO plugin.

2.0 will be released under GPL+exception (same as Classpath) and is
probably a better starting point, as long as all the java.awt.image
infrastructure is in place. See the "javapng2" module in CVS. For use with
Classpath it's probably just a matter of wrapping the code up in the
proper ImageIO interfaces.

Chris
http://sixlegs.com/software/png/




From MAILER-DAEMON Fri Jul 22 18:12:47 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dw5l7-0007YP-7F
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 18:12:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dw5eX-00069w-8m
	for classpath@gnu.org; Fri, 22 Jul 2005 18:05:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dw5eC-0005xK-2A
	for classpath@gnu.org; Fri, 22 Jul 2005 18:05:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dw5eA-0005vP-Eq
	for classpath@gnu.org; Fri, 22 Jul 2005 18:05:34 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dw5iP-0002AI-O6
	for classpath@gnu.org; Fri, 22 Jul 2005 18:09:58 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dw5YW-0007gk-00; Fri, 22 Jul 2005 23:59:44 +0200
From: Mark Wielaard <mark@klomp.org>
To: Andrew Haley <aph@redhat.com>
In-Reply-To: <17121.9809.924883.908005@zapata.pink>
References: <1122048154.16678.9.camel@bart.aicas.burg>
	<17121.9809.924883.908005@zapata.pink>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-VzJulDF0awLsfsRFq/jQ"
Date: Fri, 22 Jul 2005 23:59:19 +0200
Message-Id: <1122069559.7915.291.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: Re: Implementation details of VMStackWalker
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 Jul 2005 22:12:43 -0000


--=-VzJulDF0awLsfsRFq/jQ
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

On Fri, 2005-07-22 at 18:01 +0100, Andrew Haley wrote:
> Ingo Pr=F6tel writes:
>=20
>  > I just implemented VMStackWalker for our VM and have some questions.
>  >=20
>  > The reference implementation of 'getCallingClass()' and
>  > 'getCallingClassLoader()' just look at the third entry in the class
>  > context. Would it not be better to return the first class that is not
>  > assignable to the class in context[0] ? That way we could cope with
>  > classes that first call some private or protected classes an then ends
>  > up calling the stack walker.=20
>=20
> In gcj, we have a method called GetCallingClass(Class c).  It searches
> firstly for a method declared in class c, then for a method not
> declared in c.  We have found, after a certain amount of trouble, that
> this is the right way to do things; it means that an arbitrary number
> of stack frames can be between the direct caller of GetCallingClass
> and the user code, and it also means that you don't have to check for
> assignability, but for an exact match.

I proposed something similar a while ago:
http://lists.gnu.org/archive/html/classpath-patches/2005-01/msg00138.html

Jeroen did object strongly to this approach though since he felt that
having (and constructing) an extra argument for this function was too
much overhead for runtimes that didn't need it to begin with.
=20
It might be good to review that thread and see how/if we can have some
solution/compromise here since it seems that gcj actually needs this
functionality. For the other runtimes we did find some workarounds back
then (how fragile those are I don't actually know).

Cheers,

Mark


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

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

iD8DBQBC4Ww3xVhZCJWr9QwRAkZcAJ43NUdFDkv4F2h+1GRE29YtQPRvlQCeOnLP
nvyPQVEkZqFcqHyxzQ63bwU=
=o9cT
-----END PGP SIGNATURE-----

--=-VzJulDF0awLsfsRFq/jQ--




From MAILER-DAEMON Fri Jul 22 19:35:18 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dw730-0006Up-5f
	for mharc-classpath@gnu.org; Fri, 22 Jul 2005 19:35:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dw72p-0006PL-QN
	for classpath@gnu.org; Fri, 22 Jul 2005 19:35:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dw72g-0006Lt-Rg
	for classpath@gnu.org; Fri, 22 Jul 2005 19:35:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dw72g-0006LA-Mm
	for classpath@gnu.org; Fri, 22 Jul 2005 19:34:58 -0400
Received: from [129.78.208.3] (helo=lhasa.ucc.usyd.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dw77U-0000in-DF
	for classpath@gnu.org; Fri, 22 Jul 2005 19:39:56 -0400
Received: from lhasa.ucc.usyd.edu.au (localhost.ucc.usyd.edu.au [127.0.0.1])
	by lhasa-postfilter.ucc.usyd.edu.au (Postfix) with ESMTP id F25106BC618;
	Sat, 23 Jul 2005 09:29:33 +1000 (EST)
Received: from [172.16.79.245] (pc-245.inthouse.usyd.edu.au [172.16.79.245])
	by lhasa.ucc.usyd.edu.au (Postfix) with ESMTP id A286A6BC61B;
	Sat, 23 Jul 2005 09:29:33 +1000 (EST)
Message-ID: <42E18392.6070102@mail.usyd.edu.au>
Date: Sat, 23 Jul 2005 09:38:58 +1000
From: Dimitri Koussa <dkou0180@mail.usyd.edu.au>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Chris Nokleberg <chris@sixlegs.com>
References: <42C5663E.60706@mail.usyd.edu.au>	<42C57A9E.70209@object-refinery.com>	<42C7F865.9070107@mail.usyd.edu.au>
	<pan.2005.07.22.21.25.30.857420@sixlegs.com>
In-Reply-To: <pan.2005.07.22.21.25.30.857420@sixlegs.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-usyd-cess: $Revision: 168 $; cleaned=0 defanged=0
Cc: classpath@gnu.org
Subject: Re: New volunteer needing task
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: dimitri.koussa@gmail.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2005 23:35:16 -0000

Hi,

> 2.0 will be released under GPL+exception (same as Classpath) and is
> probably a better starting point, as long as all the java.awt.image
> infrastructure is in place. See the "javapng2" module in CVS. For use with
> Classpath it's probably just a matter of wrapping the code up in the
> proper ImageIO interfaces.
Are you going to be adapting your png decoder to classpath?
Because If not, I would like to do that.

Cheers
- Dimitri



From MAILER-DAEMON Sat Jul 23 00:31:16 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwBfP-0004Ey-Ku
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 00:31:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwBfM-0004D8-DN
	for classpath@gnu.org; Sat, 23 Jul 2005 00:31:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwBfF-00049l-V6
	for classpath@gnu.org; Sat, 23 Jul 2005 00:31:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwBfF-000483-6s
	for classpath@gnu.org; Sat, 23 Jul 2005 00:31:05 -0400
Received: from [80.91.229.2] (helo=ciao.gmane.org)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1DwBed-0005wU-Mo
	for classpath@gnu.org; Sat, 23 Jul 2005 00:30:27 -0400
Received: from list by ciao.gmane.org with local (Exim 4.43)
	id 1DwBUQ-0007ga-A7
	for classpath@gnu.org; Sat, 23 Jul 2005 06:19:54 +0200
Received: from c66-235-34-190.sea2.cablespeed.com ([66.235.34.190])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <classpath@gnu.org>; Sat, 23 Jul 2005 06:19:54 +0200
Received: from chris by c66-235-34-190.sea2.cablespeed.com with local (Gmexim
	0.1 (Debian)) id 1AlnuQ-0007hv-00
	for <classpath@gnu.org>; Sat, 23 Jul 2005 06:19:54 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: classpath@gnu.org
From: Chris Nokleberg <chris@sixlegs.com>
Date: Fri, 22 Jul 2005 21:24:07 -0700
Lines: 9
Message-ID: <pan.2005.07.23.04.24.07.441460@sixlegs.com>
References: <42C5663E.60706@mail.usyd.edu.au>
	<42C57A9E.70209@object-refinery.com>
	<42C7F865.9070107@mail.usyd.edu.au>
	<pan.2005.07.22.21.25.30.857420@sixlegs.com>
	<42E18392.6070102@mail.usyd.edu.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: c66-235-34-190.sea2.cablespeed.com
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing
	moment of clarity.)
Sender: news <news@sea.gmane.org>
Subject: Re: New volunteer needing task
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 Jul 2005 04:31:13 -0000

On Sat, 23 Jul 2005 09:38:58 +1000, Dimitri Koussa wrote:
> Are you going to be adapting your png decoder to classpath?
> Because If not, I would like to do that.

I don't have any immediate plans, so go ahead. Contact me directly if you
have any questions or need changes to the decoder.

Chris





From MAILER-DAEMON Sat Jul 23 07:30:37 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwID2-0000Ye-Te
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 07:30:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwICv-0000WU-Fa
	for classpath@gnu.org; Sat, 23 Jul 2005 07:30:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwICm-0000VC-3r
	for classpath@gnu.org; Sat, 23 Jul 2005 07:30:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwICl-00008s-7E
	for classpath@gnu.org; Sat, 23 Jul 2005 07:30:07 -0400
Received: from [130.89.168.148] (helo=lsd.student.utwente.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwI9B-0000xM-9X
	for classpath@gnu.org; Sat, 23 Jul 2005 07:26:25 -0400
Received: from [192.168.2.101] (p508C7862.dip.t-dialin.net [80.140.120.98])
	(using TLSv1 with cipher DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by lsd.student.utwente.nl (Postfix) with ESMTP id 5E7AC12F17E
	for <classpath@gnu.org>; Sat, 23 Jul 2005 13:14:36 +0200 (CEST)
User-Agent: Microsoft-Entourage/11.1.0.040913
Date: Sat, 23 Jul 2005 13:16:02 +0200
From: Leo Simons <mail@leosimons.com>
To: <classpath@gnu.org>
Message-ID: <BF07F392.4FCE2%mail@leosimons.com>
In-Reply-To: <1122076745.7915.369.camel@localhost.localdomain>
Mime-version: 1.0
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit
Subject: Some feedback from ApacheCon
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 Jul 2005 11:30:20 -0000

Hi gang!

Mark Wielaard wrote on harmony-dev:
<snip/>
> Some of the people around the GNU Classpath projects really don't
> feel that they are part of Harmony. And I do try to bring them in. But
> when some of these people tried to get a feeling how/what people thought
> about what they have been working on for the last few years there wasn't
> any real technical feedback.

Hmm.

Non-technical feedback:

I gave a "lighting lottery talk" at ApacheCon EU that pointed out some of
the stuff that can be done with the free java stuff right now (like natively
compiling eclipse). There were more than a few people that couldn't quite
believe it. When I mentioned lines of code being written around here, lines
of code being written/day, etc etc, there were some spontaneous "ooh"s and
"aah"s.

Several people came up to me later saying they failed to get stuff running.
And honesty, it ain't so easy to figure out five-line configure statements
if you're used to drag-and-dropping a file into your applications folder and
being done with it (I'm a mac user). If you guys get your stuff out into
those linux distros (and into DarwinPorts please!) and eclipse and ant are
by default configured to use it then there will be more people using it. To
give...

Technical feedback:

I don't know much about VMs. I haven't got much useful feedback to give.
Most of the java developers out there in the open source world don't. We
just use them. Most java developers are on average happy enough with sun's
stuff (though bea's is often considered better), more importantly are very
*used* to it being there and doing what it does.

That said, I almost never run any of sun's CLI tools. I just use Ant, or
Maven. I've been told over 90% of the java developers out there use Ant as
their build tool of choice. That percentage is not very likely to go down.
So integrating tightly with ant is *very* important.

(...)

Do remember there is an Apache Top-Level Project dedicated in part to
getting you guys a certain kind of feedback, and we finally got things back
up and running:

  http://gump.zones.apache.org/gump/kaffe/

I consider the free java community the second-most important user of Gump
(first one is Apache itself :-)) and quite a bit of our development time is
going into making sure the next version of gump will be even more useful for
projects like classpath, kaffe, ...

Licensing feedback:

The Apache License and the GPL are not compatible. (It seems we are getting
closer to figuring out in what sense the Apache License and the LGPL are
compatible, stay tuned.)

Apache atm considers fixing this mess so important that it is on the top of
the list for our legal team (actually, it is slots 1 *and* 2). We've got a
whole bunch of people spending a lot of their time on all sides (usually
spare Sunday evenings and the like) trying to bridge the licensing divide in
the java world. And the thing that drives this effort atm is that Apache
wants to use and distribute and contribute to projects like classpath.


I hope this helps.

Cheers,

Leo





From MAILER-DAEMON Sat Jul 23 09:01:53 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwJdZ-0004OI-OC
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 09:01:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwJKX-0006fP-Np
	for classpath@gnu.org; Sat, 23 Jul 2005 08:42:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwJKR-0006cf-9S
	for classpath@gnu.org; Sat, 23 Jul 2005 08:42:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwJKQ-0006cA-Ki
	for classpath@gnu.org; Sat, 23 Jul 2005 08:42:06 -0400
Received: from [212.126.219.82] (helo=mail.aicas.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwJQw-0005wU-40
	for classpath@gnu.org; Sat, 23 Jul 2005 08:48:50 -0400
Received: from www.aicas.de (localhost.localdomain [127.0.0.1])
	by mail.aicas.de (Postfix) with ESMTP id 7CAC86BC014;
	Sat, 23 Jul 2005 14:39:00 +0200 (CEST)
Received: from 84.163.152.46
	(SquirrelMail authenticated user ingo.proetel@aicas.de)
	by www.aicas.de with HTTP; Sat, 23 Jul 2005 14:39:00 +0200 (CEST)
Message-ID: <34099.84.163.152.46.1122122340.squirrel@www.aicas.de>
In-Reply-To: <42E12576.7020102@dellroad.org>
References: <1122048154.16678.9.camel@bart.aicas.burg>
	<42E12576.7020102@dellroad.org>
Date: Sat, 23 Jul 2005 14:39:00 +0200 (CEST)
From: ingo.proetel@aicas.de
To: "Archie Cobbs" <archie@dellroad.org>
User-Agent: SquirrelMail/1.4.4
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
X-Priority: 3 (Normal)
Importance: Normal
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Sat, 23 Jul 2005 09:01:52 -0400
Cc: classpath@gnu.org
Subject: Re: Implementation details of VMStackWalker
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 Jul 2005 12:42:18 -0000


>> The next thing I would like to have is a method to get the calling
>> method name. This would be good for logging.
>
> You could create a Throwable() object and then get the StackFrame[].
>
That is what the logging API currently does. But that's terrribly
inefficient. We could add a new method to VMStackWalker that returns the
calling method name and in the reference implementation it will just do
the Throwable thing. Then every VM can decide if they want do add a nativ=
e
method.

> Otherwise, you'd have to add a new native method.
>
>> For the security part: Is it enough to check if the class loader of
>> context[0] is the boot classloader?
>
> Not sure what the question is here.
>
In the VMStackWalker source it says only code loaded from the boot
classloader may call the methods of this class. But how should we make
sure? My question was if it is enough to check if the class in
getClassContext()[0] (i.e. the class that actually invoked a method on
VMstackWalker directly or through reflection) was loaded by the boot
classloader.


Ingo




From MAILER-DAEMON Sat Jul 23 09:02:46 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwJeP-0004mX-Ro
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 09:02:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwJeK-0004iJ-Nz
	for classpath@gnu.org; Sat, 23 Jul 2005 09:02:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwJeF-0004gQ-Uf
	for classpath@gnu.org; Sat, 23 Jul 2005 09:02:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwJeD-0004SR-RV
	for classpath@gnu.org; Sat, 23 Jul 2005 09:02:34 -0400
Received: from [65.54.174.16] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwJm2-0007Jt-DD
	for classpath@gnu.org; Sat, 23 Jul 2005 09:10:38 -0400
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Sat, 23 Jul 2005 06:00:12 -0700
Message-ID: <BAY103-F6C9FF4DC4C1A7A4A1F3DCA9C80@phx.gbl>
Received: from 65.54.174.200 by by103fd.bay103.hotmail.msn.com with HTTP;
	Sat, 23 Jul 2005 13:00:11 GMT
X-Originating-IP: [195.158.138.61]
X-Originating-Email: [theuserbl@hotmail.com]
X-Sender: theuserbl@hotmail.com
From: "theUser BL" <theuserbl@hotmail.com>
To: classpath@gnu.org
Bcc: 
Date: Sat, 23 Jul 2005 13:00:11 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
X-OriginalArrivalTime: 23 Jul 2005 13:00:12.0166 (UTC)
	FILETIME=[76376A60:01C58F86]
Subject: additional 16x16 Metal icons
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 Jul 2005 13:02:42 -0000

At first, thx to Tom, for the answer to my last postion "Metal icons".

But are drawn 16x16 icons needed?

I have seen
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalIconFactory.java
in CLasspath 0.17

So I have created
http://www.theuserbl.ag.vu/GNUIcons.jar

Which includes the first column the icons of Classpath 0.17 and the other 
are drawn by me.
If you want I can try to integrate my icons in MetalIronFactory.
But is it legal to do it? The code is completly new. And independent to 
Suns. But the 16x16 icons as result are the same like Suns one. They are 
pixel for pixel the same.
I have only doing that, because the Classpath 0.17 icons are Sun icons, too.

Additional I have created
http://www.theuserbl.ag.vu/AllIcons.jar

ehcih is a modified version of DisabledNodeTreeExample.java at
http://www.crionics.com/products/opensource/faq/swing_ex/JTreeExamples3.html

The idea is to show all existing drawn 16x16 icons in a JTree. But on Java 
1.4 and Java 5 some icons makes errors. So in this cases I have created an 
Icon with a red "x".


Greatings
theuserbl





From MAILER-DAEMON Sat Jul 23 10:02:53 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwKaX-000460-Mp
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 10:02:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwKaQ-000438-PR
	for classpath@gnu.org; Sat, 23 Jul 2005 10:02:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwKaM-000408-4r
	for classpath@gnu.org; Sat, 23 Jul 2005 10:02:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwKaL-0003ok-L6
	for classpath@gnu.org; Sat, 23 Jul 2005 10:02:37 -0400
Received: from [212.126.219.82] (helo=mail.aicas.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwKT1-0001HP-Gs
	for classpath@gnu.org; Sat, 23 Jul 2005 09:55:04 -0400
Received: from bart.aicas.burg (unknown [192.168.1.60])
	(using TLSv1 with cipher RC4-MD5 (128/128 bits))
	(No client certificate requested)
	by mail.aicas.de (Postfix) with ESMTP id 7652E6BC014;
	Sat, 23 Jul 2005 15:45:18 +0200 (CEST)
From: Ingo =?ISO-8859-1?Q?Pr=F6tel?= <proetel@aicas.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1122069559.7915.291.camel@localhost.localdomain>
References: <1122048154.16678.9.camel@bart.aicas.burg>
	<17121.9809.924883.908005@zapata.pink>
	<1122069559.7915.291.camel@localhost.localdomain>
Content-Type: text/plain; charset=ISO-8859-15
Date: Sat, 23 Jul 2005 15:44:20 +0200
Message-Id: <1122126260.16678.25.camel@bart.aicas.burg>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1 
Content-Transfer-Encoding: quoted-printable
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: Re: Implementation details of VMStackWalker
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 Jul 2005 14:02:44 -0000

Am Freitag, den 22.07.2005, 23:59 +0200 schrieb Mark Wielaard:
> Hi,
>=20
> On Fri, 2005-07-22 at 18:01 +0100, Andrew Haley wrote:
> > Ingo Pr=F6tel writes:
> >=20
> >  > I just implemented VMStackWalker for our VM and have some question=
s.
> >  >=20
> >  > The reference implementation of 'getCallingClass()' and
> >  > 'getCallingClassLoader()' just look at the third entry in the clas=
s
> >  > context. Would it not be better to return the first class that is =
not
> >  > assignable to the class in context[0] ? That way we could cope wit=
h
> >  > classes that first call some private or protected classes an then =
ends
> >  > up calling the stack walker.=20
> >=20
> > In gcj, we have a method called GetCallingClass(Class c).  It searche=
s
> > firstly for a method declared in class c, then for a method not
> > declared in c.  We have found, after a certain amount of trouble, tha=
t
> > this is the right way to do things; it means that an arbitrary number
> > of stack frames can be between the direct caller of GetCallingClass
> > and the user code, and it also means that you don't have to check for
> > assignability, but for an exact match.
>=20
> I proposed something similar a while ago:
> http://lists.gnu.org/archive/html/classpath-patches/2005-01/msg00138.ht=
ml
>=20
> Jeroen did object strongly to this approach though since he felt that
> having (and constructing) an extra argument for this function was too
> much overhead for runtimes that didn't need it to begin with.
> =20
> It might be good to review that thread and see how/if we can have some
> solution/compromise here since it seems that gcj actually needs this
> functionality. For the other runtimes we did find some workarounds back
> then (how fragile those are I don't actually know).
>=20
My proposal does not go that far and would not be as universal as adding
a parameter.

I would like to get the common case where private or protected methods
are called before the actual stack check happens. This changes the
current semantic but I feel that it would be more useful and less
fragile to changes of classes that want to use VMStackWalker. If there
is a real need for a method with the current semantic we could just add
a method to the interface for the new semantic.

ingo
--=20
Ingo Pr=F6tel                                          proetel@aicas.com
aicas GmbH                                        http://www.aicas.com
Haid-und-Neu-Str. 18                        phone   +49 721 663 968-32
76131 Karlsruhe                             fax     +49 721 663 968-93
Germany                                     =20





From MAILER-DAEMON Sat Jul 23 10:59:24 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwLTH-0004DL-8r
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 10:59:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwLTD-0004BG-KZ
	for classpath@gnu.org; Sat, 23 Jul 2005 10:59:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwLT4-00046v-MW
	for classpath@gnu.org; Sat, 23 Jul 2005 10:59:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwLT4-00046e-Gm
	for classpath@gnu.org; Sat, 23 Jul 2005 10:59:10 -0400
Received: from [65.54.174.23] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwLat-0005Mk-EK
	for classpath@gnu.org; Sat, 23 Jul 2005 11:07:15 -0400
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Sat, 23 Jul 2005 07:56:48 -0700
Message-ID: <BAY103-F13AB90DC845E2C52B27ABDA9C80@phx.gbl>
Received: from 65.54.174.200 by by103fd.bay103.hotmail.msn.com with HTTP;
	Sat, 23 Jul 2005 14:56:48 GMT
X-Originating-IP: [80.133.168.226]
X-Originating-Email: [theuserbl@hotmail.com]
X-Sender: theuserbl@hotmail.com
From: "theUser BL" <theuserbl@hotmail.com>
To: classpath@gnu.org
Bcc: 
Date: Sat, 23 Jul 2005 14:56:48 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
X-OriginalArrivalTime: 23 Jul 2005 14:56:48.0840 (UTC)
	FILETIME=[C08F2480:01C58F96]
Subject: Re: additional 16x16 Metal icons
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 Jul 2005 14:59:21 -0000

>So I have created
>http://www.theuserbl.ag.vu/GNUIcons.jar
[...]
>Additional I have created
>http://www.theuserbl.ag.vu/AllIcons.jar

Oh, I have forgotten to say:
Both are not only executable *.jar files.
They both also included the *.java Source in it.


Greatings
theuserbl





From MAILER-DAEMON Sat Jul 23 11:39:04 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwM5g-0004nX-Py
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 11:39:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwM5e-0004mk-Rs
	for classpath@gnu.org; Sat, 23 Jul 2005 11:39:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwM5d-0004lw-1h
	for classpath@gnu.org; Sat, 23 Jul 2005 11:39:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwM1K-0003S6-VO
	for classpath@gnu.org; Sat, 23 Jul 2005 11:34:35 -0400
Received: from [209.225.28.172] (helo=mxsf40.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwLt3-0006Yr-Ns
	for classpath@gnu.org; Sat, 23 Jul 2005 11:26:02 -0400
Received: from mxip14a.cluster1.charter.net (mxip14a.cluster1.charter.net
	[209.225.28.144])
	by mxsf40.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	j6NFFWvm028132
	for <classpath@gnu.org>; Sat, 23 Jul 2005 11:15:32 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.105.219)
	by mxip14a.cluster1.charter.net with ESMTP; 23 Jul 2005 11:15:18 -0400
X-IronPort-AV: i="3.95,137,1120449600"; 
	d="scan'208"; a="529820187:sNHT446084274"
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 KAA55228;
	Sat, 23 Jul 2005 10:00:15 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6NF06J1003287;
	Sat, 23 Jul 2005 10:00:09 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42E25B76.7080102@dellroad.org>
Date: Sat, 23 Jul 2005 10:00:06 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ingo.proetel@aicas.de
References: <1122048154.16678.9.camel@bart.aicas.burg>
	<42E12576.7020102@dellroad.org>
	<34099.84.163.152.46.1122122340.squirrel@www.aicas.de>
In-Reply-To: <34099.84.163.152.46.1122122340.squirrel@www.aicas.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Implementation details of VMStackWalker
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 Jul 2005 15:39:03 -0000

ingo.proetel@aicas.de wrote:
>>>The next thing I would like to have is a method to get the calling
>>>method name. This would be good for logging.
>>
>>You could create a Throwable() object and then get the StackFrame[].
> 
> That is what the logging API currently does. But that's terrribly
> inefficient. We could add a new method to VMStackWalker that returns the
> calling method name and in the reference implementation it will just do
> the Throwable thing. Then every VM can decide if they want do add a native
> method.

Sounds reasonable. We take this same approach with getCallingClass()
and getCallingClassLoader(), which can be implemented more efficiently
in native code, but are also have the "fallback" Java implementation.

>>>For the security part: Is it enough to check if the class loader of
>>>context[0] is the boot classloader?
>>
>>Not sure what the question is here.
> 
> In the VMStackWalker source it says only code loaded from the boot
> classloader may call the methods of this class. But how should we make
> sure? My question was if it is enough to check if the class in
> getClassContext()[0] (i.e. the class that actually invoked a method on
> VMstackWalker directly or through reflection) was loaded by the boot
> classloader.

I didn't write that comment so I'm not sure how (if at all) it
is enforced. Not sure what the real security problem is though,
even if we did allow random code to call these methods. Maybe
someone else can shed some light?

-Archie

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



From MAILER-DAEMON Sat Jul 23 13:59:58 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwOI0-0007DT-Ho
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 13:59:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwOHu-00077x-Ho
	for classpath@gnu.org; Sat, 23 Jul 2005 13:59:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwOHo-00075S-DI
	for classpath@gnu.org; Sat, 23 Jul 2005 13:59:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwOHn-0006p6-A4
	for classpath@gnu.org; Sat, 23 Jul 2005 13:59:43 -0400
Received: from [209.225.28.172] (helo=mxsf40.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwOBM-0006Id-FP
	for classpath@gnu.org; Sat, 23 Jul 2005 13:53:04 -0400
Received: from mxip14a.cluster1.charter.net (mxip14a.cluster1.charter.net
	[209.225.28.144])
	by mxsf40.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	j6NFFWvn028132
	for <classpath@gnu.org>; Sat, 23 Jul 2005 11:15:33 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.105.219)
	by mxip14a.cluster1.charter.net with ESMTP; 23 Jul 2005 11:15:19 -0400
X-IronPort-AV: i="3.95,137,1120449600"; 
	d="scan'208"; a="529820207:sNHT832420204"
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 KAA55326;
	Sat, 23 Jul 2005 10:09:50 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6NF9kxI003297;
	Sat, 23 Jul 2005 10:09:47 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42E25DBA.3040106@dellroad.org>
Date: Sat, 23 Jul 2005 10:09:46 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: =?ISO-8859-15?Q?Ingo_Pr=F6tel?= <proetel@aicas.com>
References: <1122048154.16678.9.camel@bart.aicas.burg>	<17121.9809.924883.908005@zapata.pink>	<1122069559.7915.291.camel@localhost.localdomain>
	<1122126260.16678.25.camel@bart.aicas.burg>
In-Reply-To: <1122126260.16678.25.camel@bart.aicas.burg>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath ML <classpath@gnu.org>
Subject: Re: Implementation details of VMStackWalker
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 Jul 2005 17:59:53 -0000

Ingo Pr=F6tel wrote:
> I would like to get the common case where private or protected methods
> are called before the actual stack check happens. This changes the
> current semantic but I feel that it would be more useful and less
> fragile to changes of classes that want to use VMStackWalker. If there
> is a real need for a method with the current semantic we could just add=

> a method to the interface for the new semantic.

None of the existing code in Classpath that uses VMStackWalker calls
it through private or protected methods, so I'm not sure why you're
saying that having private and protected methods is a "common case".

Anyway, the reason it's done with the current "simple" semantics is to ma=
ke
these calls as efficient as possible. Although your semantics would make
things more robust in the future, you have to balance that against
a (probably small) loss of efficiency.

-Archie

_________________________________________________________________________=
_
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.co=
m



From MAILER-DAEMON Sat Jul 23 14:40:31 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwOpk-0007sx-5X
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 14:34:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwOpI-0007m6-4K
	for classpath@gnu.org; Sat, 23 Jul 2005 14:34:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwOp5-0007gz-QU
	for classpath@gnu.org; Sat, 23 Jul 2005 14:34:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwOp3-0007bs-Aj
	for classpath@gnu.org; Sat, 23 Jul 2005 14:34:06 -0400
Received: from [213.9.79.54] (helo=box7954.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34) id 1DwOlt-00089Q-Pd
	for classpath@gnu.org; Sat, 23 Jul 2005 14:30:50 -0400
Received: from i608a.i.strato-dslnet.de ([85.73.96.138] helo=[192.168.1.6])
	by box7954.elkhouse.de with esmtpsa
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50)
	id 1DwOa1-0007PK-JU; Sat, 23 Jul 2005 20:18:33 +0200
Message-ID: <42E28A79.4020806@kennke.org>
Date: Sat, 23 Jul 2005 20:20:41 +0200
From: Roman Kennke <roman@kennke.org>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: de-DE, de, en-us, en
MIME-Version: 1.0
To: theUser BL <theuserbl@hotmail.com>
References: <BAY103-F6C9FF4DC4C1A7A4A1F3DCA9C80@phx.gbl>
In-Reply-To: <BAY103-F6C9FF4DC4C1A7A4A1F3DCA9C80@phx.gbl>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: additional 16x16 Metal icons
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 Jul 2005 18:34:33 -0000

Hi theUser (what is your real name btw?)

> At first, thx to Tom, for the answer to my last postion "Metal icons".
> 
> But are drawn 16x16 icons needed?

Generally, we have most of the icons that are needed atm, which is not 
to say that we are complete with icons. There are a lot of things 
missing in Swing and in the future we might need more icons for sure.

> So I have created
> http://www.theuserbl.ag.vu/GNUIcons.jar

> If you want I can try to integrate my icons in MetalIronFactory.

This would indeed more useful.

 > But the 16x16 icons as result are the same like Suns one. They are
> pixel for pixel the same.

As long as your code is really done by yourself this should be no problem.

> I have only doing that, because the Classpath 0.17 icons are Sun icons, 
> too.

That is not generally true, but in the case of Metal I try to come close 
to the Metal look and feel, which is documented here:

http://java.sun.com/products/jlf/ed2/book/index.html

If you really want to contribute stuff to GNU Classpath, you should look 
at these pages:
http://developer.classpath.org/mediation/ClasspathFirstSteps#head-8bcf049fdf56f07b25964f6c52dd751634cf4782

Most importantly, we would need a copyright assignment from you, since 
this cannot be considered a minor contribution that we accept without 
assigment.

Regards, Roman



From MAILER-DAEMON Sat Jul 23 16:08:02 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwQHx-0007bt-4O
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 16:08:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwQHt-0007aC-3n
	for classpath@gnu.org; Sat, 23 Jul 2005 16:07:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwQDg-0006la-4r
	for classpath@gnu.org; Sat, 23 Jul 2005 16:03:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwQDa-0006ay-L4
	for classpath@gnu.org; Sat, 23 Jul 2005 16:03:33 -0400
Received: from [209.225.28.165] (helo=mxsf38.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwPyy-0003be-0b
	for classpath@gnu.org; Sat, 23 Jul 2005 15:48:24 -0400
Received: from mxip09a.cluster1.charter.net (mxip09a.cluster1.charter.net
	[209.225.28.139])
	by mxsf38.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	j6NJbru7029578
	for <classpath@gnu.org>; Sat, 23 Jul 2005 15:37:54 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) ([68.113.105.219])
	by mxip09a.cluster1.charter.net with ESMTP; 23 Jul 2005 15:37:53 -0400
X-IronPort-AV: i="3.95,137,1120449600"; 
	d="scan'208"; a="1160903994:sNHT18991648"
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 OAA57654
	for <classpath@gnu.org>; Sat, 23 Jul 2005 14:37:38 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6NJbZ4G063488
	for <classpath@gnu.org>; Sat, 23 Jul 2005 14:37:35 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42E29C7E.4030401@dellroad.org>
Date: Sat, 23 Jul 2005 14:37:34 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <42CC8A63.7080902@awarix.com> <42D01C23.6030805@dellroad.org>
In-Reply-To: <42D01C23.6030805@dellroad.org>
Content-Type: multipart/mixed; boundary="------------090003060308030007060506"
Subject: Re: JNI assertion failure
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 Jul 2005 20:07:58 -0000

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

Archie Cobbs wrote:
>> With Classpath 0.16, trying to run a very simple Swing demo under JCVM,
>> I get a JNI assertion failure in a call to GetIntField(), because the 
>> object
>> type and the fieldID are not compatible:
>>
>>    gnu/java/awt/peer/gtk/GdkGraphics@0x85e0308 not instance of 
>> gnu/java/awt/peer/gtk/GtkGenericPeer
>>
>> Here is the relevant stack trace snippet:
>>
>> #7  0x29f862d7 in 
>> Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__Lgnu_java_awt_peer_gtk_GtkComponentPeer_2 
>> (env=0x107ed6a0, obj=0x29795698, peer=0x2979569c)
>>     at gnu_java_awt_peer_gtk_GdkGraphics.c:154
> 
> Hmm, no response.. can anyone else confirm this problem??
> 
> It looks like this code is completely broken, because
> it's trying to save a pointer in a field that doesn't
> exist. Line 154 of gnu_java_awt_peer_gtk_GdkGraphics.c says:
> 
>   NSA_SET_PTR (env, obj, g)
> 
> but "obj" is a gnu/java/awt/peer/gtk/GdkGraphics object, not
> a gnu/java/awt/peer/gtk/GtkGenericPeer object, the class that
> contains the "native_state" field.

Since nobody seems to be listening, I'm going to check in the
attached patch. This will cause all programs that use the GTK
peer to crash with an assertion failure. Sorry! The code
is broken but I don't know how to fix it. At least now we get
an assertion failure instead of random memory corruption.

You have been warned :-)

-Archie

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

--------------090003060308030007060506
Content-Type: text/plain;
 name="gtkstate.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="gtkstate.patch"

Index: native/jni/classpath/native_state.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/classpath/native_state.c,v
retrieving revision 1.11
diff -u -r1.11 native_state.c
--- native/jni/classpath/native_state.c	14 Jul 2005 22:07:02 -0000	1.11
+++ native/jni/classpath/native_state.c	23 Jul 2005 19:30:28 -0000
@@ -36,6 +36,7 @@
 exception statement from your version. */
 
 #include <stdlib.h>
+#include <assert.h>
 #include <jni.h>
 #include "native_state.h"
 
@@ -214,6 +215,10 @@
 cp_gtk_set_state (JNIEnv * env, jobject obj, struct state_table *table, void *state)
 {
   jint obj_id;
+
+  assert ((*env)->IsAssignableFrom(env,
+    (*env)->GetObjectClass(env, obj), table->clazz));
+
   obj_id = (*env)->GetIntField (env, obj, table->hash);
 
   if ((*env)->ExceptionOccurred (env) != NULL)
@@ -227,6 +232,10 @@
 cp_gtk_get_state (JNIEnv * env, jobject obj, struct state_table *table)
 {
   jint obj_id;
+
+  assert ((*env)->IsAssignableFrom(env,
+    (*env)->GetObjectClass(env, obj), table->clazz));
+
   obj_id = (*env)->GetIntField (env, obj, table->hash);
 
   if ((*env)->ExceptionOccurred (env) != NULL)
@@ -239,6 +248,10 @@
 cp_gtk_remove_state_slot (JNIEnv * env, jobject obj, struct state_table *table)
 {
   jint obj_id;
+
+  assert ((*env)->IsAssignableFrom(env,
+    (*env)->GetObjectClass(env, obj), table->clazz));
+
   obj_id = (*env)->GetIntField (env, obj, table->hash);
 
   if ((*env)->ExceptionOccurred (env) != NULL)

--------------090003060308030007060506--



From MAILER-DAEMON Sat Jul 23 18:32:46 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwSX1-0002zc-Lu
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 18:31:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwSWS-0002tJ-Sj
	for classpath@gnu.org; Sat, 23 Jul 2005 18:31:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwSWB-0002n5-Mr
	for classpath@gnu.org; Sat, 23 Jul 2005 18:30:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwSWA-0002iN-8a
	for classpath@gnu.org; Sat, 23 Jul 2005 18:30:50 -0400
Received: from [84.165.102.148] (helo=clerks.kaffe.org)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DwSMj-0001Fb-5P
	for classpath@gnu.org; Sat, 23 Jul 2005 18:21:06 -0400
Received: from [127.0.0.1] (clerks.kaffe.org [127.0.0.1])
	by clerks.kaffe.org (8.13.4/8.13.4) with ESMTP id j6NMAUM3006247;
	Sun, 24 Jul 2005 00:10:31 +0200
Message-ID: <42E2C055.9060408@kaffe.org>
Date: Sun, 24 Jul 2005 00:10:29 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Leo Simons <mail@leosimons.com>
References: <BF07F392.4FCE2%mail@leosimons.com>
In-Reply-To: <BF07F392.4FCE2%mail@leosimons.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Some feedback from ApacheCon
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 Jul 2005 22:31:41 -0000

Leo Simons wrote:
> Hi gang!
> 
> Mark Wielaard wrote on harmony-dev:
> <snip/>
> 
>>Some of the people around the GNU Classpath projects really don't
>>feel that they are part of Harmony. And I do try to bring them in. But
>>when some of these people tried to get a feeling how/what people thought
>>about what they have been working on for the last few years there wasn't
>>any real technical feedback.

Hi Leo, hi team!

I visited the ApacheCon Europe on Thursday evening, and I believe that 
remark from Mark led to Apaches and other folks I've never met hugging 
me. I hereby pass on that hug to the GNU Classpath project in general, 
and everyone else.

> Non-technical feedback:
> 
> I gave a "lighting lottery talk" at ApacheCon EU that pointed out some of
> the stuff that can be done with the free java stuff right now (like natively
> compiling eclipse). There were more than a few people that couldn't quite
> believe it. When I mentioned lines of code being written around here, lines
> of code being written/day, etc etc, there were some spontaneous "ooh"s and
> "aah"s.

Yeah. It has been fun to see Leo use his 5 minutes to tell people about 
all sorts of cool stuff happening and working with the Free Runtimes in 
an excited and engaging way. He improvised a really nice instant talk 
and did make people curious whether all of that is really true and how 
well it works. Geir did a 5 minute brief on Harmony and encouraged 
people to come and meet at the BOF, with the resulting crowd filling 
Studio A nicely.[1]

Given that BOFs took place during dinner time for most people and after 
free beer was had by the audience during lightning talks ... quite an 
achievement by Leo and Geir. There is a good amount of genuine, friendly 
interest among Apache developers about the long haired friends of Mark. 
I have put 'wear a wig next time' on my TODO list for ApacheCon Europe 2006.

The BOF has been going on on IRC in parallel with Mark contributing 
answers, questions and insight via the wire. That worked quite well, as 
far as I can tell, thanks to Leo acting as the official transcription 
guy. The questions in the BOF largely centered around the legal aspects, 
of course. ;) I believe it came across pretty nicely that the legal 
issues indeed are complicated, dealing with Sun's licenses is awfully 
complicated and I elaborated on our practices in Kaffe & GNU Classpath a 
bit and why you therefore should avoid getting bound by SCSL, JRL and 
all that. Geir explained why exposure to Sun's code can lead to 
copyright violations, we discussed how the compatiblity certification 
process may work, and why bringing ASF and FSF to the same side of the 
table is hard work but both possible and desirable and so on.

On the technical side, questions were raised what contributors should 
know before starting, and the usual literature was recommended, and how 
to make sure one's code will run on Harmony wrt usage of unspecified 
classes with Geir explaining that such code is VM-dependant, and in 
general therefore broken, and me pointing people to GNU Classpath's wiki 
for a set of classical portability mistakes and how to fix them. The 
audience was also interested into what future may bring, and that led 
pretty directly to dinner.

I have, among other people, met Stefan Bodewig, from the Ant project, 
and had a nice chat with him on ant & kaffe and how we are glad to see 
Apache Gump being up again with a Kaffe instance to see where ant & GNU 
Classpath Tools project do not work well enough together. We've 
discussed upcoming changes to rmic (thanks to Archit's work) briefly, 
and so on. I've also met with various other Apache developers from as 
various projects as SpamAssasin, Cocoon, Forrest, and so on. They are 
all nice, fun-loving people with various preference of hair-styles. Give 
them a hug, if they happen to be at a conference you are at (OSCON was 
mentioned a few times and I recommended people go and see Tom Tromey 
present about the state of the art). Danese Cooper introduced me to many 
interesting people like Ben Laurie, but eventually I ended up discussing 
licenses and GPL compatiblity all night long with Cliff Schmidt, 
apache's VP of legal affairs over drinks, license printouts and notebooks.

> Several people came up to me later saying they failed to get stuff running.
> And honesty, it ain't so easy to figure out five-line configure statements
> if you're used to drag-and-dropping a file into your applications folder and
> being done with it (I'm a mac user). If you guys get your stuff out into
> those linux distros (and into DarwinPorts please!) and eclipse and ant are
> by default configured to use it then there will be more people using it. To
> give...

See  http://kaffe.darwinports.com/ and 
http://www.jpackage.org/rpm.php?id=2424 & 
http://www.jpackage.org/rpm.php?id=1816 for some starting points. Maybe 
those should be more prominent on the (still ugly) Kaffe web site.

Debian, Ubuntu and Fedora Core 4+ have got packages for the latest GNU 
Classpath & free runtime releases, with Debian offering most of them out 
of the box.

One of the most important things in this 'make it bloody easy for people 
to hack on it and try it out' area, in my opinion, is to make sure that 
the eclipse project file in GNU Classpath works. After the big merge is 
complete, now, there could be an eclipse project for gcj, that checks 
out GNU Classpath into gcj's checkout and just build the whole mess, 
letting you switch from Eclipse on a non-free VM to a liberated Eclipse 
on GCJ runing the latest GNU Classpath code in minutes. Tom, wanna give 
that a try?

> Technical feedback:
> 
> That said, I almost never run any of sun's CLI tools. I just use Ant, or
> Maven. I've been told over 90% of the java developers out there use Ant as
> their build tool of choice. That percentage is not very likely to go down.
> So integrating tightly with ant is *very* important.

Yep. Apache Gump has been great in helping both Ant developers and us 
figure out what just broke, which tasks rely on weird stuff, and which 
bugs are remaining in ours.

> Do remember there is an Apache Top-Level Project dedicated in part to
> getting you guys a certain kind of feedback, and we finally got things back
> up and running:
> 
>   http://gump.zones.apache.org/gump/kaffe/
> 
> I consider the free java community the second-most important user of Gump
> (first one is Apache itself :-)) and quite a bit of our development time is
> going into making sure the next version of gump will be even more useful for
> projects like classpath, kaffe, ...

As I said ... gump is great. How hard would it be to get the GNU 
Classpath project and its dependencies in the Gump as well, and have the 
gump autobuilder bug us when the build breaks again (due to Cairo CVS 
breaking APIs for example)?

Michael Koch's automated build breakage blame script has proven very 
useful in the past, having the gump watch our fingers would be nice, as 
well.

> Licensing feedback:
> 
> Apache atm considers fixing this mess so important that it is on the top of
> the list for our legal team (actually, it is slots 1 *and* 2). We've got a
> whole bunch of people spending a lot of their time on all sides (usually
> spare Sunday evenings and the like) trying to bridge the licensing divide in
> the java world. And the thing that drives this effort atm is that Apache
> wants to use and distribute and contribute to projects like classpath.

There is a lot of good will there on both sides, and actual progress 
[2], which I find very encouraging. We may have license peace in our 
time. ;)

There is also a bit of frustration on both sides that the licensing 
harmonization discussions are not going as fast as they could. This used 
to be mainly on Apache side, now it seems to be mainly on our side.

I think it's understandable, but unfortunately dealing with large 
organizations like the FSF or the ASF takes time, since they tend to be 
conservative, and do things gradually. If you are a member, contributor, 
or friend of either organisation, you probably appreciate it when your 
organisation takes time on making solid legalese decisions involving 
your works, like the FSF does with the GPL3.

If you are like me, you are "Not A Member" of either FSF or ASF, and 
could probably tell both the FSF's and ASF's that their mamas eat spam 
[3], but chances are that wouldn't really help either.

cheers,
dalibor topic

[1] I had been nudged by Leo to enter the lottery myself, but did not 
get drawn. So no "Friends, Comrades, Contributors! I have not come here 
to praise Java, but to bury it!" speech from me and the Free Software 
Song[4] this time around. I'm saving that one, along with the obligatory 
whacking of shoes on microphones and a Che Guevarra wig for some future 
event. ;)

[2] 
http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200507.mbox/%3cc5e6325505070416385617e4f@mail.gmail.com%3e

[3] http://mit.edu/jync/www/spam/childhood.html and 
http://en.wikipedia.org/wiki/The_dozens

[4] http://www.gnu.org/music/free-software-song.ogg . I particularly 
like singing "We'll throw out those dirty licenses, even more, hackers, 
even more". But then, I also hang out on debian-legal ocassionally, and 
like to help achieve license peace between ASF and FSF one day. After 
that's done I'll go and fix the Middle East Peace Process in my spare 
time, I think.



From MAILER-DAEMON Sat Jul 23 18:34:04 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwSWy-0002yu-1i
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 18:31:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwSWS-0002tI-S9
	for classpath@gnu.org; Sat, 23 Jul 2005 18:31:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwSWA-0002m8-DG
	for classpath@gnu.org; Sat, 23 Jul 2005 18:30:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwSW6-0002eK-RX
	for classpath@gnu.org; Sat, 23 Jul 2005 18:30:46 -0400
Received: from [130.237.162.112] (helo=smtp1.su.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwSVk-0001cV-K5
	for classpath@gnu.org; Sat, 23 Jul 2005 18:30:24 -0400
Received: from localhost (localhost [127.0.0.1])
	by smtp1.su.se (Postfix) with ESMTP id F07B813C4D1
	for <classpath@gnu.org>; Sun, 24 Jul 2005 00:19:52 +0200 (CEST)
Received: from smtp1.su.se ([127.0.0.1])
	by localhost (smtp1.su.se [127.0.0.1]) (amavisd-new,
	port 10024) with LMTP id 09810-01-5 for <classpath@gnu.org>;
	Sun, 24 Jul 2005 00:19:52 +0200 (CEST)
Received: from mail3.physto.se (syslx09.physto.se [130.242.128.36])
	by smtp1.su.se (Postfix) with ESMTP id 74AF213C4CC
	for <classpath@gnu.org>; Sun, 24 Jul 2005 00:19:51 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by mail3.physto.se (Postfix) with ESMTP id 8BBF1C30E5
	for <classpath@gnu.org>; Sun, 24 Jul 2005 00:19:51 +0200 (CEST)
Received: from mail3.physto.se ([127.0.0.1])
	by localhost (syslx09.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 26966-10 for <classpath@gnu.org>;
	Sun, 24 Jul 2005 00:19:50 +0200 (CEST)
Received: from qcplx01.physto.se (qcplx01.physto.se [130.242.128.121])
	by mail3.physto.se (Postfix) with ESMTP id 85A7CC30E4
	for <classpath@gnu.org>; Sun, 24 Jul 2005 00:19:50 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: classpath@gnu.org
Content-Type: text/plain
Date: Sun, 24 Jul 2005 00:19:36 +0200
Message-Id: <1122157176.23588.37.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-5) 
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at physto.se
X-Virus-Scanned: by amavisd-new at smtp.su.se
Subject: ClasspathToolkit redesign.
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 Jul 2005 22:31:38 -0000

Hi all,
Ok, I've been looking into the issue of our AWT peer interface now that
I've been running my peers on Classpath in earnest.

The goal here is to try to bring our peer interface as close to Sun's
as possible. And simplify things for potential peer-authors.

First off, ClasspathToolkit provides dummy implementations for a bunch
of Toolkit methods (such as createImage(String), implemented on
createImage(URL)). *All* of these happen to be overloaded in GtkToolkit,
the only implementation. So I don't really see the point of this.
I suggest just dropping them. 

What remains then? Abstract methods, i.e. our extensions to the Toolkit
interface. Let's go through them:

Method: getLocalGraphicsEnvironment()
Comment: This is already done by
GraphicsEnvironment.getLocalGraphicsEnvironment(), which gets the
local one from the property "java.awt.graphicsenv". So this is
unnecessary. The peers should just be required to set that property
instead.

Method: getClasspathFontPeer(), getClasspathTextLayoutPeer(), getFont() 
Comment: We need these. No way around that. But they could perhaps be
put in a seperate ClasspathFontInterface or something.

Method: createFont()
Comment: Um, we don't even implement this ourselves. Sorry Sacha, but
there's no point. Right now anyway.

Method: createRobot()
Comment: This we need. But it's a rather singular item. Replace with a
property setting? Certain peers may not (or cannot) have Robots anyway.

Method: createEmbeddedWindow ()
Comment: What's an EmbeddedWindow and why do we need this as part of the
peer interface?

Method: registerImageIOSpis()
Comment: Unnecessary. The peers can register their SPIs (if they have
any) themselves without this.

Method: nativeQueueEmpty(), wakeNativeQueue(), iterateNativeQueue()
Comment: These are specific to how the GTK peers handles threads and
events, and should certainly not be part of the interface. The versions
of EventQueue using these methods should be reverted too. The GTK peers
should extend and overload EventQueue for their custom approach instead.

Summary: So, my opinion: Keep most of the font stuff and the robot
stuff. Get rid of the rest, and we'll have an interface which is both
closer to the JDKs, and simpler.

Comments?

/Sven




From MAILER-DAEMON Sat Jul 23 18:34:13 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwSZM-0003he-LL
	for mharc-classpath@gnu.org; Sat, 23 Jul 2005 18:34:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwSWP-0002sI-L4
	for classpath@gnu.org; Sat, 23 Jul 2005 18:31:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwSW3-0002gE-Mk
	for classpath@gnu.org; Sat, 23 Jul 2005 18:30:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwSW0-0002eK-Su
	for classpath@gnu.org; Sat, 23 Jul 2005 18:30:40 -0400
Received: from [84.165.102.148] (helo=clerks.kaffe.org)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DwSbI-0001kY-R6
	for classpath@gnu.org; Sat, 23 Jul 2005 18:36:09 -0400
Received: from [127.0.0.1] (clerks.kaffe.org [127.0.0.1])
	by clerks.kaffe.org (8.13.4/8.13.4) with ESMTP id j6NMPVsA006383;
	Sun, 24 Jul 2005 00:25:31 +0200
Message-ID: <42E2C3DA.3060000@kaffe.org>
Date: Sun, 24 Jul 2005 00:25:30 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Archie Cobbs <archie@dellroad.org>
References: <42CC8A63.7080902@awarix.com> <42D01C23.6030805@dellroad.org>
	<42E29C7E.4030401@dellroad.org>
In-Reply-To: <42E29C7E.4030401@dellroad.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: JNI assertion failure
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 Jul 2005 22:33:34 -0000

Archie Cobbs wrote:
> Archie Cobbs wrote:
> 
>>> With Classpath 0.16, trying to run a very simple Swing demo under JCVM,
>>> I get a JNI assertion failure in a call to GetIntField(), because the 
>>> object
>>> type and the fieldID are not compatible:
>>>
>>>    gnu/java/awt/peer/gtk/GdkGraphics@0x85e0308 not instance of 
>>> gnu/java/awt/peer/gtk/GtkGenericPeer
>>>
>>> Here is the relevant stack trace snippet:
>>>
>>> #7  0x29f862d7 in 
>>> Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__Lgnu_java_awt_peer_gtk_GtkComponentPeer_2 
>>> (env=0x107ed6a0, obj=0x29795698, peer=0x2979569c)
>>>     at gnu_java_awt_peer_gtk_GdkGraphics.c:154
>>
>>
>> Hmm, no response.. can anyone else confirm this problem??
>>
>> It looks like this code is completely broken, because
>> it's trying to save a pointer in a field that doesn't
>> exist. Line 154 of gnu_java_awt_peer_gtk_GdkGraphics.c says:
>>
>>   NSA_SET_PTR (env, obj, g)
>>
>> but "obj" is a gnu/java/awt/peer/gtk/GdkGraphics object, not
>> a gnu/java/awt/peer/gtk/GtkGenericPeer object, the class that
>> contains the "native_state" field.
> 
> 
> Since nobody seems to be listening, I'm going to check in the
> attached patch. This will cause all programs that use the GTK
> peer to crash with an assertion failure. Sorry! The code
> is broken but I don't know how to fix it. At least now we get
> an assertion failure instead of random memory corruption.
> 
> You have been warned :-)

Heh. ;)

> +  assert ((*env)->IsAssignableFrom(env,
> +    (*env)->GetObjectClass(env, obj), table->clazz));
> +
>    obj_id = (*env)->GetIntField (env, obj, table->hash);

Doesn't GetObjectClass change the state of env? If that's the case, it 
maybe shouldn't be an assert.

cheers,
dalibor topic



From MAILER-DAEMON Sun Jul 24 02:38:36 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dwa8B-0008H4-9r
	for mharc-classpath@gnu.org; Sun, 24 Jul 2005 02:38:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dwa87-0008Fe-Of
	for classpath@gnu.org; Sun, 24 Jul 2005 02:38:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dwa4j-0007ul-NM
	for classpath@gnu.org; Sun, 24 Jul 2005 02:35:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dwa4i-0007jM-Cm
	for classpath@gnu.org; Sun, 24 Jul 2005 02:35:00 -0400
Received: from [69.26.161.194] (helo=panel.net-sentry.net)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DwZrq-0004RH-LI
	for classpath@gnu.org; Sun, 24 Jul 2005 02:21:43 -0400
Received: from [203.107.196.20] (helo=[203.107.196.20] ident=jewel)
	by panel.net-sentry.net with esmtpa (Exim 4.50)
	id 1DwZ5E-0000bM-Bz; Sun, 24 Jul 2005 00:31:42 -0500
From: John Leuner <jewel@pixie.co.za>
To: classpath@gnu.org
In-Reply-To: <0MKwh2-1DXfq51ZwJ-0004kb@mrelayeu.kundenserver.de>
References: <0MKwh2-1DXfq51ZwJ-0004kb@mrelayeu.kundenserver.de>
Content-Type: multipart/mixed; boundary="=-XFOpdOCttoyPX5sVY8gn"
Message-Id: <1122182974.31988.27.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 24 Jul 2005 12:29:47 +0700
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - panel.net-sentry.net
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - pixie.co.za
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Cc: Christian Schlichtherle <christian@schlichtherle.de>
Subject: Patches to java.util.zip by Christian Schlichtherle
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 Jul 2005 06:38:32 -0000


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

More than 3 months ago I took on the work of helping Christian submit
his java.util.zip changes back into Classpath.

Unfortunately I haven't been able to give this task the attention it
deserves and I want to give someone else the opportunity to deal with
these patches.

Below are some of the emails exchanged between Christian, Mark Wielaard
and myself.

Attached are Christian's example ZipManager.java file mentioned below,
the java.util.zip diffs (which need code reformatting) in
jazzlibpatch001 
and 3 new files java/util/zip/CRC32If.java java/util/zip/DeflaterIf.java
java/util/zip/InflaterIf.java

John Leuner

On Mon, 2005-05-16 at 20:41, Christian Schlichtherle wrote:
> Hi everyone,
> 
> I recognise it's time for some explanations about the patches I've inducted.
> 
> I have started the work on this package as I need to support international
> ZIP files for my application http://truemirror.de/en/ and Sun's enforcement
> of UTF-8 is incompatible with other tools (like PKZIP). Here are some
> details:
> 
> + The additional constructors and methods for ZipFile, ZipInputStream and
> ZipOutputStream have been introduced to support international ZIP files,
> i.e. ZIP file entries using character sets other than US-ASCII (or UTF-8 as
> Sun's implementation enforces). Although the character set is not part of
> the ZIP file format standard definition of PKZIP, CP437 (the original PC
> character set) is used by all common tools for compatibility (other than
> Sun's JDK unfortunately).
> 
> + The CRC32If, InflaterIf and DeflaterIf interfaces have been introduced to
> enable a developer to select their favourite compression/decompression
> "engine" with the Zip* classes. This makes sense because although
> classpath's implementation is "100% pure Java" it is SIGNIFICANTLY slower
> than the native ZLIB implementation of Sun's JDK release for the Windows
> platform. If in doubt, you may do some tests using my application's
> "--jazzlib" command line option.
> 
> Using both features as a developer I can now use a ZIP file package which is
> 100% pure Java, supports international ZIP files and still benefits from the
> performance of Sun's JDK (at least on the Windows platform)!
> 
> Here is a brief excerpt from my application to illustrate what I mean.
> Please note that this code uses both packages net.sf.jazzlib and the genuine
> (JDK) java.util.zip:
> 
> <snippet>
> /* ... */
> package de.schlichtherle.nio;
> 
> /* ... */
> import net.sf.jazzlib.*;
> 
> class ZipManager /* ... */ {
>     /* ... */
> 
>     /** For use by {@link #determineCharSet(File)} only. */
>     private static String zipEncoding;
>     
>     /**
>      * @return The character set encoding to use for entry names in the
>      *         target ZIP or JAR file. Currently, this is <tt>"UTF-8"</tt>
>      *         for JAR files and <tt>"CP437"</tt> for ZIP files.
>      *         More intelligent heuristics may be added in future.
>      */
>     public final static String determineCharSet(final File target) {
>         if (File.isJarFileOnly(target))
>             return "UTF-8";
>         else {
>             if (zipEncoding == null) {
>                 try {
>                     zipEncoding = "CP437";
>                     new String("").getBytes(zipEncoding);
>                 }
>                 catch (UnsupportedEncodingException failure) {
>                     // Most probably international character sets have not
> been
>                     // installed on the JVM.
>                     zipEncoding = "UTF-8";
>                 }
>             }
>             return zipEncoding;
>         }
>     }
> 
>     /**
>      * A plain <tt>ZipFile</tt> object used for input from the device file.
>      * Also used to mount the file system.
>      */
>     protected LocalisedZipFile zipIn;
>     
>     /** The character set to use for ZIP or JAR file entry names. */
>     protected final String charSet;
>     
>     /** ... */
>     protected ZipManager(final File target)
>     throws IOException {
>         /* ... */
>         charSet = determineCharSet(target);
>     }
> 
>     /**
>      * This method ensures that the virtual ZIP or JAR file system is
> mounted
>      * and initialises <tt>fileSystem</tt> with it.
>      * ...
>      */
>     private void mountFileSystem(boolean autoCreate)
>     throws IOException {
>         /* ... */
>         zipIn = new LocalisedZipFile(deviceFile);
>         /* ... */
>     }
> 
>     /* ... */
> 
>     /**
>      * This class uses {@link java.util.zip.Inflater} to implement
>      * {@link InflaterIf}.
>      * This allows us to use native Inflater code from Sun's JDK for maximum
>      * performance.
>      */
>     protected static class JDKInflater
>             extends java.util.zip.Inflater
>             implements InflaterIf {
> 
>         public JDKInflater(boolean nowrap) {
>             super(nowrap);
>         }
>     }
> 
>     /**
>      * This class implements a localised <tt>ZipFile</tt>.
>      */
>     protected class LocalisedZipFile extends ZipFile {
>         
>         public LocalisedZipFile(java.io.File file)
>         throws  ZipException,
>                 IOException,
>                 UnsupportedEncodingException {
>             super(file, charSet);
>         }
> 
>         public final InputStream getInputStream(net.sf.jazzlib.ZipEntry
> entry)
>         throws IOException {
>             InflaterIf inf = useJazzlibCompression
>                            ? (InflaterIf) new net.sf.jazzlib.Inflater(true)
>                            : (InflaterIf) new JDKInflater(true);
>             return super.getInputStream(entry, inf);
>         }
>     }
> </snippet>
> 
> The inner class LocalisedZipFile does the trick: Depending on the command
> line switch "--jazzlib" it uses the (de)compression engine of either jazzlib
> or JDK (JDK is default for maximum performance). In either case, if the file
> to manage is a ZIP file (rather than a JAR file), the "standard" CP437 is
> used. This works for ALL countries.
> 
> As you can see, having the protected constructors/methods and additional
> interfaces makes perfect sense and thus I would very much like to see them
> in the next release. Moving them to another package may be a good option
> however.
> 
> About the "flush" method: I removed it because it isn't compatible with the
> introduced interfaces and Sun's JDK - unfortunately I don't remember the
> details here.
> 
> A comment on the "private final" changes: The "final" declaration is not
> only a statement to disallow overriding a method, but also a hint for the
> compiler to inline the method wherever it's called. The result is larger,
> but faster code as the method invocation overhead (stack and jump
> operations) is not required. You may validate my proposition with the
> following code:
> 
> <snippet>
> package test;
> 
> public class Main {
>     
>     private /*final*/ static void doit() {
>         System.out.println("Hello world!");
>     }
> 
>     public static void main(String[] args) {
>         doit();
>     }
> }
> </snippet>
> 
> Using Sun's JDK 1.5, the compiled file Main.class differs whether you
> uncomment the final declaration or not. Thus, careful use of "private final"
> results in better performance for jazzlib.
> 
> With best regards,
> Christian Schlichtherle
> ---
> Schlichtherle IT Services
> Wittelsbacher Str. 10a
> 10707 Berlin
>  
> Mobil: 0173 / 27 12 470
> mailto:christian@schlichtherle.de
> http://www.schlichtherle.de
> 
> -----Original Message-----
> From: Mark Wielaard [mailto:mark@klomp.org] 
> Sent: Sunday, May 15, 2005 10:25 PM
> To: John Leuner
> Cc: Christian Schlichtherle
> Subject: RE: Missing jazzlib files
> 
> Hi,
> 
> On Wed, 2005-05-04 at 09:24 +0700, John Leuner wrote:
> > Attached are the proposed changes to java/util/zip
> > 
> > I think that they need to be formatted by a tool (emacs or something
> > else) to match classpath style.
> > 
> > I haven't sent this to cp-patches because lists.gnu.org appears to be 
> > down.
> 
> And currently the mailinglist is fighting with a large number of German
> spam. Sigh. Anyway. Sorry for being so slow in responding. If you have been
> following planet.classpath.org you might have noticed the Apache Harmony and
> OpenOffice issues that took quite some of my time.
> 
> I didn't actually review the big part of the patch. And I don't think we
> should add new public/protected constructors or methods. We should probably
> move the new functionality to a new gnu.java.util.zip package with extended
> functionality if possible.
> 
> But I quickly went through some of the things that I could quickly format
> correctly and that I think can and should be submitted separately since they
> are good changes on their own anyway.
> 
> Reformatted Adler32.java to follow out style guide and make the diff minimal
> and updated copyright year. This can probably be submitted separately with a
> little ChangeLog message plus a short explanation of the why of the changed
> (any benchmarks?)
> 
> Dropped the change to java/util/zip/CRC32.java which I didn't understand
> (what is CRC32If?):
> -public class CRC32 implements Checksum
> +public class CRC32 implements CRC32If
> 
> Same for the changes to java/util/zip/Deflater.java (what is
> DeflaterIf?)
> 
> Dropped the change to java/util/zip/DeflaterEngine.java private methods are
> always final:
> -  private void updateHash() {
> +  private final void updateHash() {
> 
> Added copyright year to java/util/zip/DeflaterHuffman.java and changed order
> of modifiers to amtch coding styleguide. (Can also be submitted separately
> as obvious fix with ChangeLog entry.)
> 
> Removed the changes to java/util/zip/DeflaterOutputStream.java that involved
> DeflaterIf (which wasn't included and we cannot change the type and modifier
> of a protected field). Are you sure you want to comment out/remove the
> flush() method? (Can also be submitted separately with its own ChangeLog
> entry.)
> 
> Updated the copyright year in java/util/zip/Inflater.java and removed the
> implements InflaterIf. Updated documentation is obviously correct and can be
> submitted separately with a ChangeLog entry.
> 
> Remove the changes to java/util/zip/InflaterInputStream.java which all had
> to do with InflaterIf (not included).
> 
> The change to java/util/zip/OutputWindow.java is unnecessary since private
> methods are already final:
> -  private void slowRepeat(int rep_start, int len, int dist)
> +  private final void slowRepeat(int rep_start, int len, int dist)
> 
> java/util/zip/ZipException.java had as only change an update to the
> copyright years list. That is unnecessary.
> 
> I'll go through the rest later next week.
> 
> Please submit this to classpath-patches with a ChangeLog entry already.
> And if possible think about whether or not you can move the public interface
> changes to a new package/subclass.
> 
> Thanks,
> 
> Mark

--=-XFOpdOCttoyPX5sVY8gn
Content-Disposition: attachment; filename=ZipManager.java
Content-Type: text/x-java; name=ZipManager.java; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

/*
 * ZipManager.java
 *
 * Created on 23. Oktober 2004, 20:41
 */

package de.schlichtherle.nio;

/* ... */

import net.sf.jazzlib.*;

/**
 * This class manages ZIP files as a <em>rewritable</em> resource, i.e. it
 * maintains a directory structure, provides input and output streams, and
 * finally updates ZIP or JAR files. It also knows how to handle nested ZIP
 * files.
 * ...
 */
class ZipManager extends Configuration implements ZipConstants {
    
    /* ... */

    /**
     * For use by {@link #determineCharSet(File)} only.
     */
    private static String zipEncoding;
    
    /**
     * @return The character set encoding to use for entry names in the
     *         target ZIP or JAR file. Currently, this is <tt>"UTF-8"</tt>
     *         for JAR files and <tt>"CP437"</tt> for ZIP files.
     *         More intelligent heuristics may be added in future.
     */
    public final static String determineCharSet(final File target) {
        if (File.isJarFileOnly(target))
            return "UTF-8";
        else {
            if (zipEncoding == null) {
                try {
                    zipEncoding = "CP437";
                    new String("").getBytes(zipEncoding);
                }
                catch (UnsupportedEncodingException failure) {
                    // Most probably international character sets have not been
                    // installed on the JVM.
                    zipEncoding = "UTF-8";
                }
            }
            return zipEncoding;
        }
    }

    /* ... */
    
    /**
     * A plain <tt>ZipFile</tt> object used for input from the device file.
     * Also used to mount the file system.
     */
    protected LocalisedZipFile zipIn;

    /**
     * This is an amended <tt>ZipOutputStream</tt> which keeps track of
     * all entries which have been newly created or updated.
     */
    protected RememberingZipOutputStream tmpOut;
    
    /** The character set to use for entry names. */
    protected final String charSet;
    
    /**
     * This constructor cooperates with {@link #getInstance(File)} to prepare
     * for unnesting all ZIP files in the path of <tt>target</tt>. This is a
     * fail-fast implementation: If any ZIP file in the path of <tt>target</tt>
     * does not have the required I/O permissions, the constructor will fail
     * with a <tt>FileNotFoundException</tt>.
     */
    protected ZipManager(final File target)
    throws IOException {
        /* ... */
        charSet = determineCharSet(target);
    }

    /* ... */

    /**
     * This method ensures that the virtual ZIP or JAR file system is mounted
     * and initialises <tt>fileSystem</tt> with it.
     *
     * <p>If the ZIP or JAR file does not exist or its entry list can't be
     * read for some reason an IOException will be thrown. This behaviour
     * will repeat on every call until the filesystem could either get mounted
     * (i.e. if the ZIP or JAR file has been modified externally) or
     * successfully automatically created (if <tt>autoCreate</tt> is on).
     *
     * <p><b>Note:</b> This method requires external synchronisation on this
     * object!
     *
     * @param autoCreate If the ZIP file is not readable for whatever reason
     *        and this is <tt>true</tt>, a new file system with only a root
     *        directory is created with its last modification time set to the
     *        system's current time.
     * @throws IOException if the file system can't be mounted from the
     *         ZIP or JAR file for any reason.
     */
    private void mountFileSystem(boolean autoCreate)
    throws IOException {
        /* ... */
        zipIn = new LocalisedZipFile(deviceFile);
        /* ... */
    }
    
    /**
     * A factory method returning an input stream which is positioned
     * at the beginning of the specified <tt>zippedPath</tt> entry in this
     * ZIP file.
     *
     * @param entry An entry in the virtual ZIP file system. <tt>null</tt> is
     *        not allowed.
     * @return A valid InputStream object - <tt>null</tt> is never returned.
     * @throws FileNotFoundException if the ZIP file does not exist or the
     *         requested entry is a directory or does not exist in the ZIP
     *         file.
     * @throws IOException if the entry can't be opened for reading from the
     *         ZIP file (this usually means that the ZIP file is corrupted).
     * @throws NullPointerException if called by a thread while another thread
     *         is still reading from a stream returned by this method before.
     *         This is a bug in the package java.util.zip.* at least in
     *         J2SE 1.4.2_05 on Windows platforms.
     *         As a workaround (and for a clean design anyway),
     *         always close your input streams when you're done!
     */
    public InputStream getInputStream(final ZipFileSystem.Entry entry)
    throws IOException {
        if (zipIn == null) {
            /* ... */
            zipIn = new LocalisedZipFile(deviceFile);
            /* ... */
        }
        /* ... */        
    }

    /**
     * A factory method returning an <tt>OutputStream</tt> allowing to
     * (re)write entries in the ZIP file managed by this object.
     *
     * <p><b>Note:</b>If you have called this method on the same ZIP manager
     * object before, you must have finished all file operations on the
     * returned stream before calling this method again! The current
     * implementation does not support concurrent use of output streams
     * which are working on the same ZIP file.
     *
     * <p>If entry is <tt>null</tt>, output to the ZIP file is set up,
     * but no entry header is actually written and <tt>null</tt> is returned.
     * Use this to test if writing to the ZIP file is possible and to create
     * the ZIP file when necessary.
     *
     * <b>Note:</b> This method will <b>not</b> create a file system and thus
     * should not be called with a <tt>null</tt> argument from outside this
     * class!
     *
     * @param entry the entry to be written to the ZIP file.
     *        If <tt>null</tt>, all data structures will be set up,
     *        but no entry header will be written. You cannot write any
     *        data in this case, but this is still useful in order to check
     *        output conditions.
     * @return <tt>null</tt> if <tt>entry</tt> was <tt>null</tt>. A valid
     *         output stream object for writing the requested entry otherwise.
     * @throws IOException if the ZIP file actually exists and the entry has
     *         already been written or if the (possibly temporary) output file
     *         cannot be opened for writing for any reason.
     */
    public OutputStream getOutputStream(ZipFileSystem.Entry entry)
    throws IOException {
        if (tmpOut == null) {
            /* ... */
            tmpOut = new RememberingZipOutputStream(
                        new java.io.FileOutputStream(tmpFile));
        }
        /* ... */        
    }

    /**
     * This class uses {@link java.util.zip.CRC32} to implement
     * {@link CRC32If}.
     * This allows us to use native CRC32 code from Sun's JDK for maximum
     * performance.
     */
    protected static class JDKCRC32
            extends java.util.zip.CRC32
            implements CRC32If {
    }

    /**
     * This class uses {@link java.util.zip.Deflater} to implement
     * {@link DeflaterIf}.
     * This allows us to use native Deflater code from Sun's JDK for maximum
     * performance.
     */
    protected static class JDKDeflater
            extends java.util.zip.Deflater
            implements DeflaterIf {

        public JDKDeflater(int level, boolean nowrap) {
            super(level, nowrap);
        }
    }

    /**
     * This class uses {@link java.util.zip.Inflater} to implement
     * {@link InflaterIf}.
     * This allows us to use native Inflater code from Sun's JDK for maximum
     * performance.
     */
    protected static class JDKInflater
            extends java.util.zip.Inflater
            implements InflaterIf {

        public JDKInflater(boolean nowrap) {
            super(nowrap);
        }
    }

    /**
     * This class implements a localised <tt>ZipFile</tt>.
     */
    protected class LocalisedZipFile extends ZipFile {
        
        public LocalisedZipFile(java.io.File file)
        throws  net.sf.jazzlib.ZipException,
                IOException,
                UnsupportedEncodingException {
            super(file, charSet);
        }

        public final InputStream getInputStream(net.sf.jazzlib.ZipEntry entry)
        throws IOException {
            InflaterIf inf = useJazzlibCompression
                           ? (InflaterIf) new Inflater(true)
                           : (InflaterIf) new JDKInflater(true);
            return super.getInputStream(entry, inf);
        }
    }

    /**
     * This class implements a localised <tt>ZIPOutputStream</tt> which
     * remembers the entries it has written.
     */
    protected class RememberingZipOutputStream extends ZipOutputStream {
        /* ... */
        RememberingZipOutputStream(OutputStream out)
        throws UnsupportedEncodingException {
            super(out, charSet,
                  useJazzlibCompression ? (DeflaterIf) new Deflater(net.sf.jazzlib.Deflater.BEST_COMPRESSION, true)
                                        : (DeflaterIf) new JDKDeflater(java.util.zip.Deflater.BEST_COMPRESSION, true),
                  useJazzlibCompression ? (CRC32If) new net.sf.jazzlib.CRC32() : new JDKCRC32());
        }
        /* ... */
    }

}
--=-XFOpdOCttoyPX5sVY8gn
Content-Disposition: attachment; filename=jazzlibpatch001
Content-Type: text/plain; name=jazzlibpatch001; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

? christiandiffs01
? jazzlibDiffsSince20040511
? jazzlib_christian_01.zip
? jazzlibpatch001
? net-0.08.diff
? java/util/zip/CRC32If.java
? java/util/zip/DeflaterIf.java
? java/util/zip/InflaterIf.java
? java/util/zip/back
? java/util/zip/diffs08
? lib/net
? lib/jazzlib/dist
Index: java/util/zip/Adler32.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/Adler32.java,v
retrieving revision 1.5
diff -u -r1.5 Adler32.java
--- java/util/zip/Adler32.java	22 Jan 2002 22:27:02 -0000	1.5
+++ java/util/zip/Adler32.java	4 May 2005 02:16:28 -0000
@@ -152,6 +152,19 @@
     update(buffer, 0, buffer.length);
   }
 
+    /** Calculated this value like this:
+     *
+     *
+     * static {
+     * int i=0, a=BASE, b=a;
+     * for(;b>0;i++)
+     *     b += (a += 255);
+     * System.out.println("max defer = " + (i-1));
+    }
+    */
+
+ private final static int DEFER = 3850;
+
   /**
    * Updates the checksum with the bytes taken from the array. 
    * 
@@ -161,37 +174,18 @@
    */
   public void update (byte[] buf, int off, int len)
   {
-    //(By Per Bothner)
-    int s1 = checksum & 0xffff;
-    int s2 = checksum >>> 16;
+      int s1 = checksum & 0xffff;
+      int s2 = checksum >>> 16;
 
-    while (len > 0)
-      {
-	// We can defer the modulo operation:
-	// s1 maximally grows from 65521 to 65521 + 255 * 3800
-	// s2 maximally grows by 3800 * median(s1) = 2090079800 < 2^31
-	int n = 3800;
-	if (n > len)
-	  n = len;
-	len -= n;
-	while (--n >= 0)
-	  {
-	    s1 = s1 + (buf[off++] & 0xFF);
-	    s2 = s2 + s1;
+      while (off < len) {
+	  int max = Math.min(off + DEFER, len);
+	  while (off < max) {
+	      s1 = (buf[off++] & 0xff) + s1;
+	      s2 += s1;
 	  }
-	s1 %= BASE;
-	s2 %= BASE;
+	  s1 %= BASE;
+	  s2 %= BASE;
       }
-
-    /*Old implementation, borrowed from somewhere:
-    int n;
-    
-    while (len-- > 0) {
-
-      s1 = (s1 + (bs[offset++] & 0xff)) % BASE; 
-      s2 = (s2 + s1) % BASE;
-    }*/
-    
     checksum = (s2 << 16) | s1;
   }
 
Index: java/util/zip/CRC32.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/CRC32.java,v
retrieving revision 1.4
diff -u -r1.4 CRC32.java
--- java/util/zip/CRC32.java	22 Jan 2002 22:27:02 -0000	1.4
+++ java/util/zip/CRC32.java	4 May 2005 02:16:28 -0000
@@ -57,7 +57,7 @@
  * @author Per Bothner
  * @date April 1, 1999.
  */
-public class CRC32 implements Checksum
+public class CRC32 implements CRC32If
 {
   /** The crc data checksum so far. */
   private int crc = 0;
Index: java/util/zip/Deflater.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/Deflater.java,v
retrieving revision 1.5
diff -u -r1.5 Deflater.java
--- java/util/zip/Deflater.java	29 Apr 2004 15:47:26 -0000	1.5
+++ java/util/zip/Deflater.java	4 May 2005 02:16:29 -0000
@@ -48,48 +48,8 @@
  * @author Jochen Hoenicke
  * @author Tom Tromey
  */
-public class Deflater
+public class Deflater implements DeflaterIf
 {
-  /**
-   * The best and slowest compression level.  This tries to find very
-   * long and distant string repetitions.  
-   */
-  public static final int BEST_COMPRESSION = 9;
-  /**
-   * The worst but fastest compression level.  
-   */
-  public static final int BEST_SPEED = 1;
-  /**
-   * The default compression level.
-   */
-  public static final int DEFAULT_COMPRESSION = -1;
-  /**
-   * This level won't compress at all but output uncompressed blocks.
-   */
-  public static final int NO_COMPRESSION = 0;
-
-  /**
-   * The default strategy.
-   */
-  public static final int DEFAULT_STRATEGY = 0;
-  /**
-   * This strategy will only allow longer string repetitions.  It is
-   * useful for random data with a small character set.
-   */
-  public static final int FILTERED = 1;
-
-  /** 
-   * This strategy will not look for string repetitions at all.  It
-   * only encodes with Huffman trees (which means, that more common
-   * characters get a smaller encoding.  
-   */
-  public static final int HUFFMAN_ONLY = 2;
-
-  /**
-   * The compression method.  This is the only method supported so far.
-   * There is no need to use this constant at all.
-   */
-  public static final int DEFLATED = 8;
 
   /*
    * The Deflater can do the following state transitions:
Index: java/util/zip/DeflaterEngine.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/DeflaterEngine.java,v
retrieving revision 1.7
diff -u -r1.7 DeflaterEngine.java
--- java/util/zip/DeflaterEngine.java	22 Oct 2004 18:02:06 -0000	1.7
+++ java/util/zip/DeflaterEngine.java	4 May 2005 02:16:30 -0000
@@ -221,7 +221,7 @@
       }
   }
 
-  private void updateHash() {
+  private final void updateHash() {
     if (DEBUGGING)
       System.err.println("updateHash: "+strstart);
     ins_h = (window[strstart] << HASH_SHIFT) ^ window[strstart + 1];
Index: java/util/zip/DeflaterHuffman.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/DeflaterHuffman.java,v
retrieving revision 1.5
diff -u -r1.5 DeflaterHuffman.java
--- java/util/zip/DeflaterHuffman.java	22 Oct 2004 18:02:06 -0000	1.5
+++ java/util/zip/DeflaterHuffman.java	4 May 2005 02:16:30 -0000
@@ -59,7 +59,7 @@
   private static final int[] BL_ORDER =
   { 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 };
 
-  private static String bit4Reverse =
+  private final static String bit4Reverse =
     "\000\010\004\014\002\012\006\016\001\011\005\015\003\013\007\017";
 
   class Tree {
Index: java/util/zip/DeflaterOutputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/DeflaterOutputStream.java,v
retrieving revision 1.8
diff -u -r1.8 DeflaterOutputStream.java
--- java/util/zip/DeflaterOutputStream.java	20 Oct 2004 08:08:52 -0000	1.8
+++ java/util/zip/DeflaterOutputStream.java	4 May 2005 02:16:31 -0000
@@ -1,5 +1,5 @@
 /* DeflaterOutputStream.java - Output filter for compressing.
-   Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -70,7 +70,7 @@
   /** 
    * The deflater which is used to deflate the stream.
    */
-  protected Deflater def;
+  protected final DeflaterIf def;
   
   /**
    * Deflates everything in the def's input buffers.  This will call
@@ -100,7 +100,7 @@
    */
   public DeflaterOutputStream(OutputStream out)
   {
-    this(out, new Deflater(), 512);
+    this(out, new Deflater(), 4096);
   }
 
   /** 
@@ -109,9 +109,9 @@
    * @param out the output stream where deflated output should be written.
    * @param defl the underlying deflater.
    */
-  public DeflaterOutputStream(OutputStream out, Deflater defl)
+  public DeflaterOutputStream(OutputStream out, DeflaterIf def)
   {
-    this(out, defl, 512);
+    this(out, def, 4096);
   }
 
   /** 
@@ -122,13 +122,13 @@
    * @param bufsize the buffer size.
    * @exception IllegalArgumentException if bufsize isn't positive.
    */
-  public DeflaterOutputStream(OutputStream out, Deflater defl, int bufsize)
+  public DeflaterOutputStream(OutputStream out, DeflaterIf def, int bufsize)
   {
     super(out);
     if (bufsize <= 0)
       throw new IllegalArgumentException("bufsize <= 0");
     buf = new byte[bufsize];
-    def = defl;
+    this.def = def;
   }
 
   /**  
@@ -137,12 +137,12 @@
    * flushed.  This function doesn't work in Sun's JDK, but only in
    * jazzlib.
    */
-  public void flush() throws IOException
+  /*public void flush() throws IOException
   {
     def.flush();
     deflate();
     out.flush();
-  }
+  }*/
 
   /**
    * Finishes the stream by calling finish() on the deflater.  This
Index: java/util/zip/Inflater.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/Inflater.java,v
retrieving revision 1.6
diff -u -r1.6 Inflater.java
--- java/util/zip/Inflater.java	22 May 2003 07:22:39 -0000	1.6
+++ java/util/zip/Inflater.java	4 May 2005 02:16:32 -0000
@@ -66,7 +66,7 @@
  * @date May 17, 1999
  * @since JDK 1.1
  */
-public class Inflater
+public class Inflater implements InflaterIf
 {
   /* Copy lengths for literal codes 257..285 */
   private static final int CPLENS[] = 
@@ -266,7 +266,7 @@
    * returns 0, you should check, whether needsDictionary(),
    * needsInput() or finished() returns true, to determine why no 
    * further output is produced.
-   * @param buffer the output buffer.
+   * @param buf the output buffer.
    * @return the number of bytes written to the buffer, 0 if no further
    * output can be produced.  
    * @exception DataFormatException if deflated stream is invalid.
@@ -282,7 +282,7 @@
    * returns 0, you should check, whether needsDictionary(),
    * needsInput() or finished() returns true, to determine why no 
    * further output is produced.
-   * @param buffer the output buffer.
+   * @param buf the output buffer.
    * @param off the offset into buffer where the output should start.
    * @param len the maximum length of the output.
    * @return the number of bytes written to the buffer, 0 if no further
@@ -406,7 +406,7 @@
   /**
    * Sets the input.  This should only be called, if needsInput()
    * returns true.
-   * @param buffer the input.
+   * @param buf the input.
    * @exception IllegalStateException if no input is needed.
    */
   public void setInput (byte[] buf) 
@@ -417,7 +417,7 @@
   /**
    * Sets the input.  This should only be called, if needsInput()
    * returns true.
-   * @param buffer the input.
+   * @param buf the input.
    * @param off the offset into buffer where the input starts.
    * @param len the length of the input.  
    * @exception IllegalStateException if no input is needed.
Index: java/util/zip/InflaterInputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/InflaterInputStream.java,v
retrieving revision 1.16
diff -u -r1.16 InflaterInputStream.java
--- java/util/zip/InflaterInputStream.java	23 Nov 2004 13:03:42 -0000	1.16
+++ java/util/zip/InflaterInputStream.java	4 May 2005 02:16:32 -0000
@@ -1,5 +1,5 @@
 /* InflaterInputStream.java - Input stream filter for decompressing
-   Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
+   Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
    Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
@@ -59,7 +59,7 @@
   /**
    * Decompressor for this filter 
    */
-  protected Inflater inf;
+  protected final InflaterIf inf;
 
   /**
    * Byte array used as a buffer 
@@ -93,7 +93,7 @@
    * @param in the InputStream to read bytes from
    * @param inf the decompressor used to decompress data read from in
    */
-  public InflaterInputStream(InputStream in, Inflater inf) 
+  public InflaterInputStream(InputStream in, InflaterIf inf) 
   {
     this(in, inf, 4096);
   }
@@ -106,7 +106,7 @@
    * @param inf the decompressor used to decompress data read from in
    * @param size size of the buffer to use
    */
-  public InflaterInputStream(InputStream in, Inflater inf, int size) 
+  public InflaterInputStream(InputStream in, InflaterIf inf, int size) 
   {
     super(in);
 
@@ -115,8 +115,7 @@
     if (inf == null)
       throw new NullPointerException("inf may not be null");
     if (size < 0)
-      throw new IllegalArgumentException("size may not be negative");
-    
+      throw new IllegalArgumentException("size may not be negative");    
     this.inf = inf;
     this.buf = new byte [size];
   }
@@ -195,7 +194,7 @@
 	  {
 	    count = inf.inflate(b, off, len);
 	  } 
-	catch (DataFormatException dfe) 
+	catch (Exception dfe) // Hack for compatibility with InflaterIf
 	  {
 	    throw new ZipException(dfe.getMessage());
 	  }
Index: java/util/zip/OutputWindow.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/OutputWindow.java,v
retrieving revision 1.5
diff -u -r1.5 OutputWindow.java
--- java/util/zip/OutputWindow.java	22 Oct 2004 18:02:06 -0000	1.5
+++ java/util/zip/OutputWindow.java	4 May 2005 02:16:32 -0000
@@ -63,7 +63,7 @@
     window_end &= WINDOW_MASK;
   }
 
-  private void slowRepeat(int rep_start, int len, int dist)
+  private final void slowRepeat(int rep_start, int len, int dist)
   {
     while (len-- > 0)
       {
Index: java/util/zip/ZipConstants.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/ZipConstants.java,v
retrieving revision 1.5
diff -u -r1.5 ZipConstants.java
--- java/util/zip/ZipConstants.java	4 Nov 2003 10:04:16 -0000	1.5
+++ java/util/zip/ZipConstants.java	4 May 2005 02:16:32 -0000
@@ -39,9 +39,16 @@
 
 interface ZipConstants
 {
+  /**
+   * The default character set used for entry names and comments in a ZIP
+   * or JAR file. This is UTF-8 for compatibility with Sun's java.util.zip
+   * package.
+   */
+  String DEFAULT_CHARSET = "UTF-8";
+  
   /* The local file header */
   int LOCHDR = 30;
-  int LOCSIG = 'P'|('K'<<8)|(3<<16)|(4<<24);
+  long LOCSIG = 'P'|('K'<<8)|(3<<16)|(4<<24);
 
   int LOCVER =  4;
   int LOCFLG =  6;
@@ -54,7 +61,7 @@
   int LOCEXT = 28;
 
   /* The Data descriptor */
-  int EXTSIG = 'P'|('K'<<8)|(7<<16)|(8<<24);
+  long EXTSIG = 'P'|('K'<<8)|(7<<16)|(8<<24);
   int EXTHDR = 16;
 
   int EXTCRC =  4;
@@ -62,7 +69,7 @@
   int EXTLEN = 12;
 
   /* The central directory file header */
-  int CENSIG = 'P'|('K'<<8)|(1<<16)|(2<<24);
+  long CENSIG = 'P'|('K'<<8)|(1<<16)|(2<<24);
   int CENHDR = 46;
 
   int CENVEM =  4;
@@ -82,7 +89,7 @@
   int CENOFF = 42;
 
   /* The entries in the end of central directory */
-  int ENDSIG = 'P'|('K'<<8)|(5<<16)|(6<<24);
+  long ENDSIG = 'P'|('K'<<8)|(5<<16)|(6<<24);
   int ENDHDR = 22;
 
   /* The following two fields are missing in SUN JDK */
Index: java/util/zip/ZipEntry.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/ZipEntry.java,v
retrieving revision 1.17
diff -u -r1.17 ZipEntry.java
--- java/util/zip/ZipEntry.java	5 Jan 2005 20:47:53 -0000	1.17
+++ java/util/zip/ZipEntry.java	4 May 2005 02:16:33 -0000
@@ -48,29 +48,29 @@
  * needs an instance of this class to create a new member.
  *
  * @author Jochen Hoenicke 
+ * @author Christian Schlichtherle Fixed some bugs: Noteably the 2 GB Bug, so
+ *         that Jazzlib now supports 4 GB which is the maximum with the ZIP32
+ *         format. Second the date/time bug, which made it impossible to use
+ *         getTime(). Minor performance enhancements are also implemented.
  */
+
 public class ZipEntry implements ZipConstants, Cloneable
 {
-  private static final int KNOWN_SIZE   = 1;
-  private static final int KNOWN_CSIZE  = 2;
-  private static final int KNOWN_CRC    = 4;
-  private static final int KNOWN_TIME   = 8;
   private static final int KNOWN_EXTRA  = 16;
 
   private static Calendar cal;
 
   private String name;
-  private int size;
-  private long compressedSize = -1;
-  private int crc;
-  private int dostime;
-  private short known = 0;
-  private short method = -1;
-  private byte[] extra = null;
-  private String comment = null;
-
-  int flags;              /* used by ZipOutputStream */
-  int offset;             /* used by ZipFile and ZipOutputStream */
+  private long size = -1;
+  private long csize = -1;
+  private long crc = -1;
+  private long dostime = -1;
+  private int method = -1;
+  private byte[] extra;
+  private String comment;
+  
+  int flags;
+  long offset;
 
   /**
    * Compression method.  This method doesn't compress at all.
@@ -92,7 +92,7 @@
   public ZipEntry(String name)
   {
     int length = name.length();
-    if (length > 65535)
+    if (length > 0xffff)
       throw new IllegalArgumentException("name length is " + length);
     this.name = name;
   }
@@ -109,9 +109,8 @@
   ZipEntry(ZipEntry e, String name)
   {
     this.name = name;
-    known = e.known;
     size = e.size;
-    compressedSize = e.compressedSize;
+    csize = e.csize;
     crc = e.crc;
     dostime = e.dostime;
     method = e.method;
@@ -119,25 +118,8 @@
     comment = e.comment;
   }
 
-  final void setDOSTime(int dostime)
-  {
-    this.dostime = dostime;
-    known |= KNOWN_TIME;
-  }
-
-  final int getDOSTime()
-  {
-    if ((known & KNOWN_TIME) == 0)
-      return 0;
-    else
-      return dostime;
-  }
-
-  /**
-   * Creates a copy of this zip entry.
-   */
   /**
-   * Clones the entry.
+   * Creates a clone of this zip entry.
    */
   public Object clone()
   {
@@ -155,6 +137,18 @@
       }
   }
 
+    final void setDOSTime(long dostime)
+    {
+	if(dostime > 0xffffffffL) 
+	    throw new IllegalArgumentException();
+        this.dostime = dostime;
+    }
+
+    final long getDOSTime() 
+    {
+	    return dostime;
+    }
+
   /**
    * Returns the entry name.  The path components in the entry are
    * always separated by slashes ('/').  
@@ -173,7 +167,7 @@
     Calendar cal = getCalendar();
     synchronized (cal)
       {
-	cal.setTime(new Date(time));
+	cal.setTimeInMillis(time);
 	dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25
 	  | (cal.get(Calendar.MONTH) + 1) << 21
 	  | (cal.get(Calendar.DAY_OF_MONTH)) << 16
@@ -181,7 +175,6 @@
 	  | (cal.get(Calendar.MINUTE)) << 5
 	  | (cal.get(Calendar.SECOND)) >> 1;
       }
-    this.known |= KNOWN_TIME;
   }
 
   /**
@@ -190,34 +183,25 @@
    */
   public long getTime()
   {
-    if ((known & KNOWN_TIME) == 0)
-      return -1;
+      if (dostime == -1)
+	  return -1;
 
     // The extra bytes might contain the time (posix/unix extension)
     parseExtra ();
 
-    int sec = 2 * (dostime & 0x1f);
-    int min = (dostime >> 5) & 0x3f;
-    int hrs = (dostime >> 11) & 0x1f;
-    int day = (dostime >> 16) & 0x1f;
-    int mon = ((dostime >> 21) & 0xf) - 1;
-    int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */
+    int sec = (int) (2 * (dostime & 0x1f));
+    int min = (int) ((dostime >> 5) & 0x3f);
+    int hrs = (int) ((dostime >> 11) & 0x1f);
+    int day = (int) ((dostime >> 16) & 0x1f);
+    int mon = (int) (((dostime >> 21) & 0xf) - 1);
+    int year = (int) (((dostime >> 25) & 0x7f) + 1980); /* since 1900 */
    
-    try
-      {
-	cal = getCalendar();
-	synchronized (cal)
+    Calendar cal = getCalendar();
+    synchronized (cal)
 	  {
 	    cal.set(year, mon, day, hrs, min, sec);
-	    return cal.getTime().getTime();
+	    return cal.getTimeInMillis();
 	  }
-      }
-    catch (RuntimeException ex)
-      {
-	/* Ignore illegal time stamp */
-	known &= ~KNOWN_TIME;
-	return -1;
-      }
   }
 
   private static synchronized Calendar getCalendar()
@@ -234,10 +218,9 @@
    */
   public void setSize(long size)
   {
-    if ((size & 0xffffffff00000000L) != 0)
+    if (size > 0xffffffffL)
 	throw new IllegalArgumentException();
-    this.size = (int) size;
-    this.known |= KNOWN_SIZE;
+    this.size = size;
   }
 
   /**
@@ -246,7 +229,7 @@
    */
   public long getSize()
   {
-    return (known & KNOWN_SIZE) != 0 ? size & 0xffffffffL : -1L;
+    return size;
   }
 
   /**
@@ -254,7 +237,9 @@
    */
   public void setCompressedSize(long csize)
   {
-    this.compressedSize = csize;
+      if(csize > 0xffffffffL)
+	  throw new IllegalArgumentException();
+    this.csize = csize;
   }
 
   /**
@@ -263,7 +248,7 @@
    */
   public long getCompressedSize()
   {
-    return compressedSize;
+    return csize;
   }
 
   /**
@@ -272,10 +257,9 @@
    */
   public void setCrc(long crc)
   {
-    if ((crc & 0xffffffff00000000L) != 0)
+    if (crc > 0xffffffffL)
 	throw new IllegalArgumentException();
-    this.crc = (int) crc;
-    this.known |= KNOWN_CRC;
+    this.crc = crc;
   }
 
   /**
@@ -284,7 +268,7 @@
    */
   public long getCrc()
   {
-    return (known & KNOWN_CRC) != 0 ? crc & 0xffffffffL : -1L;
+    return crc;
   }
 
   /**
@@ -299,7 +283,7 @@
     if (method != ZipOutputStream.STORED
 	&& method != ZipOutputStream.DEFLATED)
 	throw new IllegalArgumentException();
-    this.method = (short) method;
+    this.method = method;
   }
 
   /**
@@ -329,6 +313,7 @@
 
   private void parseExtra()
   {
+      /*
     // Already parsed?
     if ((known & KNOWN_EXTRA) != 0)
       return;
@@ -350,7 +335,6 @@
 	      | (extra[pos++] & 0xff) << 8;
 	    if (sig == 0x5455) 
 	      {
-		/* extended time stamp */
 		int flags = extra[pos];
 		if ((flags & 1) != 0)
 		  {
@@ -360,17 +344,18 @@
 			    | (extra[pos+4] & 0xff) << 24);
 		    setTime(time);
 		  }
-	      }
+  }
 	    pos += len;
 	  }
       }
     catch (ArrayIndexOutOfBoundsException ex)
       {
-	/* be lenient */
+
 	return;
       }
 
     known |= KNOWN_EXTRA;
+*/
   }
 
   /**
Index: java/util/zip/ZipException.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/ZipException.java,v
retrieving revision 1.8
diff -u -r1.8 ZipException.java
--- java/util/zip/ZipException.java	24 Feb 2002 04:25:17 -0000	1.8
+++ java/util/zip/ZipException.java	4 May 2005 02:16:33 -0000
@@ -1,5 +1,5 @@
 /* ZipException.java - exception representing a zip related error
-   Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
Index: java/util/zip/ZipFile.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/ZipFile.java,v
retrieving revision 1.22
diff -u -r1.22 ZipFile.java
--- java/util/zip/ZipFile.java	10 Feb 2005 02:43:17 -0000	1.22
+++ java/util/zip/ZipFile.java	4 May 2005 02:16:35 -0000
@@ -39,8 +39,6 @@
 
 package java.util.zip;
 
-import gnu.java.util.EmptyEnumeration;
-
 import java.io.BufferedInputStream;
 import java.io.DataInput;
 import java.io.EOFException;
@@ -48,9 +46,11 @@
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.RandomAccessFile;
+import java.io.UnsupportedEncodingException;
 import java.util.Enumeration;
 import java.util.HashMap;
 import java.util.Iterator;
+import java.util.NoSuchElementException;
 
 /**
  * This class represents a Zip archive.  You can ask for the contained
@@ -62,6 +62,13 @@
  *
  * @author Jochen Hoenicke
  * @author Artur Biesiadowski
+ * @author Christian Schlichtherle Added new constructors to support different
+ *         character sets used to encode international entry names and comments.
+ *         Added parameter to getInputStream to support different Inflater
+ *         implementations.
+ *         Fixed some bugs: Noteably the 2 GB Bug, so that Jazzlib now
+ *         supports 4 GB which is the maximum with the ZIP32 format.
+ *         Minor performance enhancements are also implemented.
  */
 public class ZipFile implements ZipConstants
 {
@@ -82,84 +89,142 @@
   // File from which zip entries are read.
   private final RandomAccessFile raf;
 
-  // The entries of this zip file when initialized and not yet closed.
-  private HashMap entries;
-
+  private final String charSet;
+  private final HashMap entries;
   private boolean closed = false;
 
   /**
-   * Opens a Zip file with the given name for reading.
-   * @exception IOException if a i/o error occured.
-   * @exception ZipException if the file doesn't contain a valid zip
-   * archive.  
+   * Opens the given ZIP or JAR file.
+   *
+   * @exception IOException If a i/o error occured.
+   * @exception ZipException If the file doesn't contain a valid ZIP or JAR
+   *            archive.  
    */
-  public ZipFile(String name) throws ZipException, IOException
+  public ZipFile(final String name) throws ZipException, IOException
   {
-    this.raf = new RandomAccessFile(name, "r");
-    this.name = name;
-    checkZipFile();
+      this(new File(name), OPEN_READ, DEFAULT_CHARSET);
   }
 
   /**
-   * Opens a Zip file reading the given File.
-   * @exception IOException if a i/o error occured.
-   * @exception ZipException if the file doesn't contain a valid zip
-   * archive.  
+   * Opens the given ZIP or JAR file.
+   *
+   * @exception IOException If an i/o error occured.
+   * @exception ZipException If the file doesn't contain a valid ZIP or JAR
+   *            archive.  
    */
   public ZipFile(File file) throws ZipException, IOException
   {
-    this.raf = new RandomAccessFile(file, "r");
-    this.name = file.getPath();
-    checkZipFile();
+      this(file, OPEN_READ, DEFAULT_CHARSET);
   }
 
   /**
-   * Opens a Zip file reading the given File in the given mode.
-   *
-   * If the OPEN_DELETE mode is specified, the zip file will be deleted at
-   * some time moment after it is opened. It will be deleted before the zip
-   * file is closed or the Virtual Machine exits.
-   * 
-   * The contents of the zip file will be accessible until it is closed.
+   * Opens the given ZIP or JAR file in the given mode.
+   * <p>
+   * If the OPEN_DELETE mode is specified, the ZIP or JAR file will be deleted
+   * at some time after it has been opened and before it is closed or the
+   * Virtual Machine exits.
+   * <p>
+   * <b>Note:</b>The OPEN_DELETE mode is currently unimplemented in this
+   * library.
    *
    * @since JDK1.3
-   * @param mode Must be one of OPEN_READ or OPEN_READ | OPEN_DELETE
+   * @param mode Must be one of OPEN_READ or OPEN_READ | OPEN_DELETE.
    *
-   * @exception IOException if a i/o error occured.
-   * @exception ZipException if the file doesn't contain a valid zip
-   * archive.  
+   * @exception IOException If an i/o error occured.
+   * @exception ZipException If the file doesn't contain a valid ZIP or JAR
+   *            archive.
    */
-  public ZipFile(File file, int mode) throws ZipException, IOException
+  public ZipFile(File file, final int mode) throws ZipException, IOException
   {
-    if (mode != OPEN_READ && mode != (OPEN_READ | OPEN_DELETE))
-      throw new IllegalArgumentException("invalid mode");
-    if ((mode & OPEN_DELETE) != 0)
-      file.deleteOnExit();
-    this.raf = new RandomAccessFile(file, "r");
-    this.name = file.getPath();
-    checkZipFile();
+      this(file, mode, DEFAULT_CHARSET);
   }
 
-  private void checkZipFile() throws IOException, ZipException
+  /**
+   * Opens a Zip file with the given name for reading.
+   * <p>
+   * <b>Note</b>: This constructor is <tt>not</tt> part of the JDK API!
+   *
+   * @param charSet The character set to use for entry names and comments.
+   *
+   * @exception IOException If an i/o error occured.
+   * @exception ZipException If the file doesn't contain a valid ZIP or JAR
+   *            archive.
+   */
+  public ZipFile(final String name, final String charSet)
+  throws ZipException, IOException, UnsupportedEncodingException {
+    this(new File(name), OPEN_READ, charSet);
+ }
+
+  /**
+   * Opens a Zip file reading the given File.
+   * <p>
+   * <b>Note</b>: This constructor is <tt>not</tt> part of the JDK API!
+   *
+   * @param charSet The character set to use for entry names and comments.
+   *
+   * @exception IOException If an i/o error occured.
+   * @exception ZipException If the file doesn't contain a valid ZIP or JAR
+   *            archive.
+   */
+   public ZipFile(final File file, final String charSet)
+   throws ZipException, IOException, UnsupportedEncodingException {
+     this(file, OPEN_READ, charSet);
+   }
+
+   /**
+    * Opens the given ZIP or JAR file in the given mode.
+    * <p>
+    * If the OPEN_DELETE mode is specified, the ZIP or JAR file will be deleted
+    * at some time after it has been opened and before it is closed or the
+    * Virtual Machine exits.
+    * <p>
+    * <b>Note:</b>The OPEN_DELETE mode is currently unimplemented in this
+    * library.
+    * <p>
+    * <b>Note</b>: This constructor is <tt>not</tt> part of the JDK API!
+    *
+    * @param mode Must be one of OPEN_READ or OPEN_READ | OPEN_DELETE.
+    * @param charSet The character set to use for entry names and comments.
+    *
+    * @exception IOException If an i/o error occured.
+    * @exception ZipException If the file doesn't contain a valid ZIP or JAR
+    *            archive.  
+    */
+   public ZipFile(final File file, final int mode, final String charSet)
+   throws ZipException, IOException, UnsupportedEncodingException {
+	if ((mode & OPEN_DELETE) != 0)
+	    {
+		throw new IllegalArgumentException
+
+		    ("OPEN_DELETE mode not supported yet in ZipFile");
+	    }
+	this.raf = new RandomAccessFile(file, "r");
+	this.name = file.getPath();
+	this.charSet = charSet;
+	new String("").getBytes(charSet); // Fail-fast
+	try {
+            //checkZipFile(); // Does not help in many cases of corrupted ZIP files.
+	    this.entries = readEntries();
+	}
+	catch (IOException failure) {
+	    // Don't forget to release our resources even on failure!
+	    try { close(); }
+	    catch (IOException ignore) { }
+	    throw failure;
+	}
+    }
+
+  /*private void checkZipFile() throws IOException, ZipException
   {
+    raf.seek(0);
     byte[] magicBuf = new byte[4];
     raf.read(magicBuf);
 
     if (readLeInt(magicBuf, 0) != LOCSIG)
       {
-	raf.close();
-	throw new ZipException("Not a valid zip file");
+	throw new ZipException("Not a valid ZIP or JAR file: " + name);
       }
-  }
-
-  /**
-   * Checks if file is closed and throws an exception.
-   */
-  private void checkClosed()
-  {
-    if (closed)
-      throw new IllegalStateException("ZipFile has closed: " + name);
-  }
+  }*/
 
   /**
    * Read an unsigned short in little endian byte order from the given
@@ -172,7 +237,7 @@
    * @exception IOException if a i/o error occured.
    * @exception EOFException if the file ends prematurely
    */
-  private int readLeShort(DataInput di, byte[] b) throws IOException
+  private final int readLeShort(DataInput di, byte[] b) throws IOException
   {
     di.readFully(b, 0, 2);
     return (b[0] & 0xff) | (b[1] & 0xff) << 8;
@@ -189,11 +254,11 @@
    * @exception IOException if a i/o error occured.
    * @exception EOFException if the file ends prematurely
    */
-  private int readLeInt(DataInput di, byte[] b) throws IOException
+  private final long readLeInt(DataInput di, byte[] b) throws IOException
   {
     di.readFully(b, 0, 4);
-    return ((b[0] & 0xff) | (b[1] & 0xff) << 8)
-	    | ((b[2] & 0xff) | (b[3] & 0xff) << 8) << 16;
+    return ((b[0] & 0xffL) | (b[1] & 0xffL) << 8)
+	    | ((b[2] & 0xffL) | (b[3] & 0xffL) << 8) << 16;
   }
 
   /**
@@ -204,7 +269,7 @@
    * @param off the offset to read from.
    * @return The value read.
    */
-  private int readLeShort(byte[] b, int off)
+  private final int readLeShort(byte[] b, int off)
   {
     return (b[off] & 0xff) | (b[off+1] & 0xff) << 8;
   }
@@ -217,37 +282,40 @@
    * @param off the offset to read from.
    * @return The value read.
    */
-  private int readLeInt(byte[] b, int off)
+  private final long readLeInt(byte[] b, int off)
   {
-    return ((b[off] & 0xff) | (b[off+1] & 0xff) << 8)
-	    | ((b[off+2] & 0xff) | (b[off+3] & 0xff) << 8) << 16;
+    return ((b[off] & 0xffL) | (b[off+1] & 0xffL) << 8)
+	    | ((b[off+2] & 0xffL) | (b[off+3] & 0xffL) << 8) << 16;
   }
-  
 
   /**
-   * Read the central directory of a zip file and fill the entries
-   * array.  This is called exactly once when first needed. It is called
-   * while holding the lock on <code>raf</code>.
+   * Read the central directory of a zip file and return the entries.
+   * This is called exactly once from the constructor in order to implement
+   * fail-fast-behaviour.
    *
-   * @exception IOException if a i/o error occured.
-   * @exception ZipException if the central directory is malformed 
+   * @return A HashMap containing all ZIP entries.
+   *         It's keys are entry name strings and its values are ZipEntry
+   *         objects.
+   *
+   * @exception IOException If an i/o error occured.
+   * @exception ZipException If the central directory is malformed.
    */
-  private void readEntries() throws ZipException, IOException
+  private HashMap readEntries() throws ZipException, IOException
   {
-    /* Search for the End Of Central Directory.  When a zip comment is 
+    /* Search for the End Of Central Directory. When a zip comment is 
      * present the directory may start earlier.
-     * FIXME: This searches the whole file in a very slow manner if the
-     * file isn't a zip file.
      */
     long pos = raf.length() - ENDHDR;
     byte[] ebs  = new byte[CENHDR];
     
+    int centralDirOffset = 0;
     do
       {
-	if (pos < 0)
+	if (pos < 0 || centralDirOffset > 0xffff)
 	  throw new ZipException
-	    ("central directory not found, probably not a zip file: " + name);
+	    ("Central directory not found, probably not a zip file: " + name);
 	raf.seek(pos--);
+        centralDirOffset++;
       }
     while (readLeInt(raf, ebs) != ENDSIG);
     
@@ -256,9 +324,9 @@
     int count = readLeShort(raf, ebs);
     if (raf.skipBytes(ENDOFF - ENDSIZ) != ENDOFF - ENDSIZ)
       throw new EOFException(name);
-    int centralOffset = readLeInt(raf, ebs);
+    long centralOffset = readLeInt(raf, ebs);
 
-    entries = new HashMap(count+count/2);
+    HashMap entries = new HashMap(count + count / 4);
     raf.seek(centralOffset);
     
     byte[] buffer = new byte[16];
@@ -269,28 +337,35 @@
 	  throw new ZipException("Wrong Central Directory signature: " + name);
 
 	int method = readLeShort(ebs, CENHOW);
-	int dostime = readLeInt(ebs, CENTIM);
-	int crc = readLeInt(ebs, CENCRC);
-	int csize = readLeInt(ebs, CENSIZ);
-	int size = readLeInt(ebs, CENLEN);
+	long dostime = readLeInt(ebs, CENTIM);
+	long crc = readLeInt(ebs, CENCRC);
+	long csize = readLeInt(ebs, CENSIZ);
+	long size = readLeInt(ebs, CENLEN);
 	int nameLen = readLeShort(ebs, CENNAM);
 	int extraLen = readLeShort(ebs, CENEXT);
 	int commentLen = readLeShort(ebs, CENCOM);
 	
-	int offset = readLeInt(ebs, CENOFF);
+	long offset = readLeInt(ebs, CENOFF);
 
 	int needBuffer = Math.max(nameLen, commentLen);
 	if (buffer.length < needBuffer)
 	  buffer = new byte[needBuffer];
 
 	raf.readFully(buffer, 0, nameLen);
-	String name = new String(buffer, 0, 0, nameLen);
+
+        String name;
+        try {
+          name = new String(buffer, 0, nameLen, charSet);
+        }
+        catch (UnsupportedEncodingException cause) {
+          throw new AssertionError(cause);
+        }
 
 	ZipEntry entry = new ZipEntry(name);
 	entry.setMethod(method);
-	entry.setCrc(crc & 0xffffffffL);
-	entry.setSize(size & 0xffffffffL);
-	entry.setCompressedSize(csize & 0xffffffffL);
+	entry.setCrc(crc);
+	entry.setSize(size);
+	entry.setCompressedSize(csize);
 	entry.setDOSTime(dostime);
 	if (extraLen > 0)
 	  {
@@ -301,106 +376,89 @@
 	if (commentLen > 0)
 	  {
 	    raf.readFully(buffer, 0, commentLen);
-	    entry.setComment(new String(buffer, 0, commentLen));
+            try {
+              entry.setComment(new String(buffer, 0, commentLen, charSet));
+            }
+            catch (UnsupportedEncodingException cause) {
+              throw new AssertionError(cause);
+            }
 	  }
 	entry.offset = offset;
 	entries.put(name, entry);
       }
+    
+    return entries;
   }
 
   /**
-   * Closes the ZipFile.  This also closes all input streams given by
-   * this class.  After this is called, no further method should be
+   * Closes the ZipFile. This also closes all input streams given by
+   * this class. After this is called, no further method should be
    * called.
    * 
-   * @exception IOException if a i/o error occured.
+   * @exception IOException If an i/o error occured.
    */
   public void close() throws IOException
   {
+    if (closed)
+        return;
     synchronized (raf)
       {
+        if (raf != null) // Condition not required, but fail-safe
+            raf.close();
+        if (entries != null) // Guard against call from constructor
+            entries.clear();
 	closed = true;
-	entries = null;
-	raf.close();
       }
   }
 
-  /**
-   * Calls the <code>close()</code> method when this ZipFile has not yet
-   * been explicitly closed.
+  /*/
+   * Ensures that the ZIP or JAR file is open.
+   *
+   * @exception IllegalStateException If the ZIP or JAR file has already been
+   *            closed.
    */
-  protected void finalize() throws IOException
+  private final void ensureOpen()
   {
-    if (!closed && raf != null) close();
+    if (closed)
+      throw new IllegalStateException("ZIP or JAR file has already been closed: " + name);
   }
-
+    
   /**
-   * Returns an enumeration of all Zip entries in this Zip file.
-   *
-   * @exception IllegalStateException when the ZipFile has already been closed
+   * Calls the <code>close()</code> method.
    */
-  public Enumeration entries()
+  protected void finalize() throws IOException
   {
-    checkClosed();
-    
-    try
-      {
-	return new ZipEntryEnumeration(getEntries().values().iterator());
-      }
-    catch (IOException ioe)
-      {
-	return EmptyEnumeration.getInstance();
-      }
+    close();
   }
 
   /**
-   * Checks that the ZipFile is still open and reads entries when necessary.
+   * Returns an enumeration of all Zip entries in this ZIP or JAR file.
    *
-   * @exception IllegalStateException when the ZipFile has already been closed.
-   * @exception IOEexception when the entries could not be read.
+   * @exception IllegalStateException If the ZIP or JAR file has already been
+   *            closed.
    */
-  private HashMap getEntries() throws IOException
-  {
-    synchronized(raf)
-      {
-	checkClosed();
-
-	if (entries == null)
-	  readEntries();
+    public Enumeration entries() 
+    {
+	ensureOpen();
+	return new ZipEntryEnumeration(entries.values().iterator());
+    }
 
-	return entries;
-      }
-  }
 
   /**
    * Searches for a zip entry in this archive with the given name.
    *
-   * @param the name. May contain directory components separated by
-   * slashes ('/').
-   * @return the zip entry, or null if no entry with that name exists.
+   * @param name May contain directory components separated by slashes ('/').
+   * @return The zip entry, or <tt>null</tt> if no entry with that name exists.
    *
-   * @exception IllegalStateException when the ZipFile has already been closed
+   * @exception IllegalStateException If the ZipFile has already been closed.
    */
   public ZipEntry getEntry(String name)
   {
-    checkClosed();
-
-    try
-      {
-	HashMap entries = getEntries();
-	ZipEntry entry = (ZipEntry) entries.get(name);
-        // If we didn't find it, maybe it's a directory.
-        if (entry == null && !name.endsWith("/"))
-            entry = (ZipEntry) entries.get(name + '/');
-	return entry != null ? new ZipEntry(entry, name) : null;
-      }
-    catch (IOException ioe)
-      {
-	return null;
-      }
+      ensureOpen();
+      ZipEntry entry = (ZipEntry) entries.get(name);
+      return entry != null ? (ZipEntry) entry.clone() : null;
   }
 
-
   //access should be protected by synchronized(raf)
   private byte[] locBuf = new byte[LOCHDR];
 
@@ -429,7 +487,7 @@
 	  throw new ZipException("Compression method mismatch: " + name);
 
 	if (entry.getName().length() != readLeShort(locBuf, LOCNAM))
-	  throw new ZipException("file name length mismatch: " + name);
+	  throw new ZipException("File name length mismatch: " + name);
 
 	int extraLen = entry.getName().length() + readLeShort(locBuf, LOCEXT);
 	return entry.offset + LOCHDR + extraLen;
@@ -460,9 +518,31 @@
    */
   public InputStream getInputStream(ZipEntry entry) throws IOException
   {
-    checkClosed();
+      return getInputStream(entry, new Inflater(true));
+  }
+ 
+    /**
+   * This is the actual implementation of {@link #getInputStream(ZipEntry)}
+   * - it allows you to specify a custom Inflater.
+   * <p>
+   * <b>Warning</b>: This method is <tt>not</tt> part of the JDK API and
+   * should only be used if you absolutely know what you're doing! It is very
+   * easy to corrupt your input if you provide this method with the wrong
+   * parameters!
+   *
+   * @param entry The entry to create an InputStream for.
+   * @param inf An inflater with <tt>nowrap</tt> set to <tt>true</tt>.
+   *
+   * @return the input stream.
+   *
+   * @throws IOException If a i/o error occured.
+   * @throws ZipException If the Zip archive is malformed.
+   * @throws IllegalStateException If the ZIP file has been closed.
+   */
+  protected final InputStream getInputStream(ZipEntry entry, InflaterIf inf)
+  throws IOException {
+    ensureOpen();
 
-    HashMap entries = getEntries();
     String name = entry.getName();
     ZipEntry zipEntry = (ZipEntry) entries.get(name);
     if (zipEntry == null)
@@ -477,7 +557,7 @@
       case ZipOutputStream.STORED:
 	return is;
       case ZipOutputStream.DEFLATED:
-	return new InflaterInputStream(is, new Inflater(true));
+	return new PaddedInflaterInputStream(is, inf);
       default:
 	throw new ZipException("Unknown compression method " + method);
       }
@@ -492,22 +572,14 @@
   }
 
   /**
-   * Returns the number of entries in this zip file.
+   * Returns the number of entries in this ZIP or JAR file.
    *
-   * @exception IllegalStateException when the ZipFile has already been closed
+   * @exception IllegalStateException If the ZipFile has already been closed.
    */
   public int size()
   {
-    checkClosed();
-    
-    try
-      {
-	return getEntries().size();
-      }
-    catch (IOException ioe)
-      {
-	return 0;
-      }
+    ensureOpen();
+    return entries.size();
   }
   
   private static class ZipEntryEnumeration implements Enumeration
@@ -592,4 +664,30 @@
       return amount;
     }
   }
+  
+  /**
+   * Provides an extra "dummy" byte at the end of the input stream for
+   * {@link InflaterInputStream#fill()}
+   * as required by Sun's {@link Inflater#Inflater(boolean nowrap)}.
+   */
+  private static class PaddedInflaterInputStream extends InflaterInputStream {
+    
+    private boolean eof;
+
+    public PaddedInflaterInputStream(InputStream in, InflaterIf inf) {
+      super(in, inf);
+    }
+    
+    protected void fill() throws IOException {
+      if (eof)
+        throw new EOFException("Unexpected end of ZLIB input stream");
+      if ((len = in.read(buf, 0, buf.length)) == -1) {
+        // Provide dummy byte
+        buf[0] = 0;
+        len = 1;
+        eof = true;
+      }
+      inf.setInput(buf, 0, len);
+    }
+  }
 }
Index: java/util/zip/ZipInputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/ZipInputStream.java,v
retrieving revision 1.14
diff -u -r1.14 ZipInputStream.java
--- java/util/zip/ZipInputStream.java	22 Oct 2004 18:02:06 -0000	1.14
+++ java/util/zip/ZipInputStream.java	4 May 2005 02:16:36 -0000
@@ -41,6 +41,7 @@
 import java.io.EOFException;
 import java.io.IOException;
 import java.io.InputStream;
+import java.io.UnsupportedEncodingException;
 
 /**
  * This is a FilterInputStream that reads the files in an zip archive
@@ -51,25 +52,79 @@
  * It includes support for STORED and DEFLATED entries.
  *
  * @author Jochen Hoenicke
+ * @author Christian Schlichtherle Added new constructors to support different
+ *         character sets used to encode international entry names and comments.
+ *         Added constructors to support different CRC32 and Inflater
+ *         implementations.
+ *         Fixed some bugs: Noteably the 2 GB Bug, so that Jazzlib now
+ *         supports 4 GB which is the maximum with the ZIP32 format.
+ *         Minor performance enhancements are also implemented.
  */
 public class ZipInputStream extends InflaterInputStream implements ZipConstants
 {
-  private CRC32 crc = new CRC32();
+  private final CRC32If crc;
   private ZipEntry entry = null;
 
-  private int csize;
-  private int size;
+  private long csize;
+  private long size;
   private int method;
   private int flags;
   private int avail;
   private boolean entryAtEOF;
 
+  private final String charSet;
+  
   /**
    * Creates a new Zip input stream, reading a zip archive.
    */
-  public ZipInputStream(InputStream in)
-  {
-    super(in, new Inflater(true));
+  public ZipInputStream(final InputStream in) {
+    this(in, new Inflater(true), new CRC32());
+  }
+  
+  /**
+   * Creates a new Zip input stream, reading a zip archive.
+   *
+   * @param inf An inflater with <tt>nowrap</tt> set to <tt>true</tt>.
+   * @param crc The CRC23 to use.
+   */
+  protected ZipInputStream(final InputStream in,
+                           final InflaterIf inf,
+                           final CRC32If crc) {
+    super(in, inf);
+    this.charSet = DEFAULT_CHARSET;
+    this.crc = crc;
+  }
+  
+  /**
+   * Creates a new Zip input stream, reading a zip archive.
+   * <p>
+   * <b>Warning</b>: This constructor is <tt>not</tt> part of the JDK API!
+   *
+   * @param charSet The character set to use for entry names.
+   */
+  public ZipInputStream(final InputStream in, final String charSet)
+  throws UnsupportedEncodingException {
+    this(in, charSet, new Inflater(true), new CRC32());
+  }
+  
+  /**
+   * Creates a new Zip input stream, reading a zip archive.
+   * <p>
+   * <b>Warning</b>: This constructor is <tt>not</tt> part of the JDK API!
+   *
+   * @param charSet The character set to use for entry names.
+   * @param inf An inflater with <tt>nowrap</tt> set to <tt>true</tt>.
+   * @param crc The CRC23 to use.
+   */
+  protected ZipInputStream(final InputStream in,
+                           final String charSet,
+                           final InflaterIf inf,
+                           final CRC32If crc)
+  throws UnsupportedEncodingException {
+    super(in, inf);
+    this.charSet = charSet;
+    new String("").getBytes(charSet); // Fail-fast
+    this.crc = crc;
   }
 
   private void fillBuf() throws IOException
@@ -106,7 +161,7 @@
       }
   }
   
-  private int readLeByte() throws IOException
+  private final int readLeByte() throws IOException
   {
     if (avail <= 0)
       {
@@ -120,7 +175,7 @@
   /**
    * Read an unsigned short in little endian byte order.
    */
-  private int readLeShort() throws IOException 
+  private final int readLeShort() throws IOException 
   {
     return readLeByte() | (readLeByte() << 8);
   }
@@ -128,9 +183,9 @@
   /**
    * Read an int in little endian byte order.
    */
-  private int readLeInt() throws IOException 
+  private final long readLeInt() throws IOException 
   {
-    return readLeShort() | (readLeShort() << 16);
+    return readLeShort() | ((long) readLeShort() << 16);
   }
 
   /**
@@ -144,7 +199,7 @@
     if (entry != null)
       closeEntry();
 
-    int header = readLeInt();
+    long header = readLeInt();
     if (header == CENSIG)
       {
 	/* Central Header reached. */
@@ -153,13 +208,13 @@
       }
     if (header != LOCSIG)
       throw new ZipException("Wrong Local header signature: "
-			     + Integer.toHexString(header));
+			     + Long.toHexString(header));
     /* skip version */
     readLeShort();
     flags = readLeShort();
     method = readLeShort();
-    int dostime = readLeInt();
-    int crc = readLeInt();
+    long dostime = readLeInt();
+    long crc = readLeInt();
     csize = readLeInt();
     size = readLeInt();
     int nameLen = readLeShort();
@@ -171,16 +226,23 @@
 
     byte[] buffer = new byte[nameLen];
     readFully(buffer);
-    String name = new String(buffer);
+    //String name = new String(buffer);
+    String name;
+    try {
+      name = new String(buffer, 0, nameLen, charSet);
+    }
+    catch (UnsupportedEncodingException cause) {
+      throw new AssertionError(cause);
+    }
     
     entry = createZipEntry(name);
     entryAtEOF = false;
     entry.setMethod(method);
     if ((flags & 8) == 0)
       {
-	entry.setCrc(crc & 0xffffffffL);
-	entry.setSize(size & 0xffffffffL);
-	entry.setCompressedSize(csize & 0xffffffffL);
+	entry.setCrc(crc);
+	entry.setSize(size);
+	entry.setCompressedSize(csize);
       }
     entry.setDOSTime(dostime);
     if (extraLen > 0)
@@ -204,11 +266,11 @@
   {
     if (readLeInt() != EXTSIG)
       throw new ZipException("Data descriptor signature not found");
-    entry.setCrc(readLeInt() & 0xffffffffL);
+    entry.setCrc(readLeInt());
     csize = readLeInt();
     size = readLeInt();
-    entry.setSize(size & 0xffffffffL);
-    entry.setCompressedSize(csize & 0xffffffffL);
+    entry.setSize(size);
+    entry.setCompressedSize(csize);
   }
 
   /**
@@ -226,7 +288,7 @@
 	if ((flags & 8) != 0)
 	  {
 	    /* We don't know how much we must skip, read until end. */
-	    byte[] tmp = new byte[2048];
+	    byte[] tmp = new byte[4096];
 	    while (read(tmp) > 0)
 	      ;
 	    /* read will close this entry */
@@ -244,7 +306,7 @@
 	avail = 0;
 	while (csize != 0)
 	  {
-	    long skipped = in.skip(csize & 0xffffffffL);
+	    long skipped = in.skip(csize);
 	    if (skipped <= 0)
 	      throw new ZipException("zip archive ends early.");
 	    csize -= skipped;
@@ -316,8 +378,8 @@
 	
       case ZipOutputStream.STORED:
 
-	if (len > csize && csize >= 0)
-	  len = csize;
+	if ((long) len > csize && csize >= 0)
+	  len = (int) csize;
 	
 	len = readBuf(b, off, len);
 	if (len > 0)
@@ -338,7 +400,7 @@
 
     if (finished)
       {
-	if ((crc.getValue() & 0xffffffffL) != entry.getCrc())
+	if (crc.getValue() != entry.getCrc())
 	  throw new ZipException("CRC mismatch");
 	crc.reset();
 	entry = null;
@@ -354,7 +416,7 @@
   public void close() throws IOException
   {
     super.close();
-    crc = null;
+    crc.reset();
     entry = null;
     entryAtEOF = true;
   }
Index: java/util/zip/ZipOutputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/ZipOutputStream.java,v
retrieving revision 1.9
diff -u -r1.9 ZipOutputStream.java
--- java/util/zip/ZipOutputStream.java	22 Oct 2004 18:02:07 -0000	1.9
+++ java/util/zip/ZipOutputStream.java	4 May 2005 02:16:37 -0000
@@ -42,6 +42,7 @@
 import java.io.OutputStream;
 import java.util.Enumeration;
 import java.util.Vector;
+import java.io.UnsupportedEncodingException;
 
 /**
  * This is a FilterOutputStream that writes the files into a zip
@@ -54,11 +55,18 @@
  * This class is not thread safe.
  *
  * @author Jochen Hoenicke 
+ * @author Christian Schlichtherle Added new constructors to support different
+ *         character sets used to encode international entry names and comments.
+ *         Added constructors to support different CRC32 and Deflater
+ *         implementations.
+ *         Fixed some bugs: Noteably the 2 GB Bug, so that Jazzlib now
+ *         supports 4 GB which is the maximum with the ZIP32 format.
+ *         Minor performance enhancements are also implemented.
  */
 public class ZipOutputStream extends DeflaterOutputStream implements ZipConstants
 {
   private Vector entries = new Vector();
-  private CRC32 crc = new CRC32();
+  private final CRC32If crc;
   private ZipEntry curEntry = null;
 
   private int curMethod;
@@ -68,6 +76,8 @@
   private byte[] zipComment = new byte[0];
   private int defaultMethod = DEFLATED;
 
+  private final String charSet;
+  
   /**
    * Our Zip version is hard coded to 1.0 resp. 2.0
    */
@@ -86,11 +96,69 @@
 
   /**
    * Creates a new Zip output stream, writing a zip archive.
-   * @param out the output stream to which the zip archive is written.
+   *
+   * @param out The output stream to which the zip archive is written.
    */
-  public ZipOutputStream(OutputStream out)
-  {
-    super(out, new Deflater(Deflater.DEFAULT_COMPRESSION, true));
+  public ZipOutputStream(final OutputStream out) {
+    this(out, new Deflater(Deflater.DEFAULT_COMPRESSION, true), new CRC32());
+  }
+
+  /**
+   * Creates a new Zip output stream, writing a zip archive.
+   * <p>
+   * <b>Warning</b>: This constructor is <tt>not</tt> part of the JDK API and
+   * should only be used if you absolutely know what you're doing! It is very
+   * easy to corrupt your ZIP files if you provide this method with the wrong
+   * parameters!
+   *
+   * @param out The output stream to which the zip archive is written.
+   * @param def A deflater with <tt>nowrap</tt> set to <tt>true</tt>.
+   * @param crc The CRC23 to use.
+   */
+  protected ZipOutputStream(final OutputStream out,
+                            final DeflaterIf def,
+                            final CRC32If crc) {
+    super(out, def);
+    this.charSet = DEFAULT_CHARSET;
+    this.crc = crc;
+  }
+  
+  /**
+   * Creates a new Zip output stream, writing a zip archive.
+   * <p>
+   * <b>Warning</b>: This constructor is <tt>not</tt> part of the JDK API!
+   *
+   * @param out The output stream to which the zip archive is written.
+   * @param charSet The character set to use for entry names and comments.
+   */
+  public ZipOutputStream(final OutputStream out, final String charSet)
+  throws UnsupportedEncodingException {
+    this(out, charSet,
+         new Deflater(Deflater.DEFAULT_COMPRESSION, true), new CRC32());
+  }
+  
+  /**
+   * Creates a new Zip output stream, writing a zip archive.
+   * <p>
+   * <b>Warning</b>: This method is <tt>not</tt> part of the JDK API and
+   * should only be used if you absolutely know what you're doing! It is very
+   * easy to corrupt your ZIP files if you provide this method with the wrong
+   * parameters!
+   *
+   * @param out The output stream to which the zip archive is written.
+   * @param charSet The character set to use for entry names and comments.
+   * @param def A deflater with <tt>nowrap</tt> set to <tt>true</tt>.
+   * @param crc The CRC23 to use.
+   */
+  protected ZipOutputStream(final OutputStream out,
+                            final String charSet,
+                            final DeflaterIf def,
+                            final CRC32If crc)
+  throws UnsupportedEncodingException {
+    super(out, def);
+    this.charSet = charSet;
+    new String("").getBytes(charSet); // Fail-fast
+    this.crc = crc;
   }
 
   /**
@@ -102,7 +170,12 @@
   public void setComment(String comment)
   {
     byte[] commentBytes;
-    commentBytes = comment.getBytes();
+    try {
+      commentBytes = comment.getBytes(charSet);
+    }
+    catch (UnsupportedEncodingException cause) {
+      throw new AssertionError(cause);
+    }
     if (commentBytes.length > 0xffff)
       throw new IllegalArgumentException("Comment too long.");
     zipComment = commentBytes;
@@ -137,7 +210,7 @@
   /**
    * Write an unsigned short in little endian byte order.
    */
-  private void writeLeShort(int value) throws IOException 
+  private final void writeLeShort(int value) throws IOException 
   {
     out.write(value & 0xff);
     out.write((value >> 8) & 0xff);
@@ -146,10 +219,10 @@
   /**
    * Write an int in little endian byte order.
    */
-  private void writeLeInt(int value) throws IOException 
+  private final void writeLeInt(long value) throws IOException 
   {
-    writeLeShort(value);
-    writeLeShort(value >> 16);
+    writeLeShort((int) (value & 0xffff));
+    writeLeShort((int) ((value >> 16) & 0xffff));
   }
 
   /**
@@ -216,9 +289,9 @@
     writeLeInt(entry.getDOSTime());
     if ((flags & 8) == 0)
       {
-	writeLeInt((int)entry.getCrc());
-	writeLeInt((int)entry.getCompressedSize());
-	writeLeInt((int)entry.getSize());
+	writeLeInt(entry.getCrc());
+	writeLeInt(entry.getCompressedSize());
+	writeLeInt(entry.getSize());
       }
     else
       {
@@ -226,7 +299,13 @@
 	writeLeInt(0);
 	writeLeInt(0);
       }
-    byte[] name = entry.getName().getBytes();
+    byte[] name;
+    try {
+      name = entry.getName().getBytes(charSet);
+    }
+    catch (UnsupportedEncodingException cause) {
+      throw new AssertionError(cause);
+    }
     if (name.length > 0xffff)
       throw new ZipException("Name too long.");
     byte[] extra = entry.getExtra();
@@ -289,9 +368,9 @@
     if (curMethod == DEFLATED && (curEntry.flags & 8) != 0)
       {
 	writeLeInt(EXTSIG);
-	writeLeInt((int)curEntry.getCrc());
-	writeLeInt((int)curEntry.getCompressedSize());
-	writeLeInt((int)curEntry.getSize());
+	writeLeInt(curEntry.getCrc());
+	writeLeInt(curEntry.getCompressedSize());
+	writeLeInt(curEntry.getSize());
 	offset += EXTHDR;
       }
 
@@ -339,10 +418,10 @@
     int numEntries = 0;
     int sizeEntries = 0;
     
-    Enumeration e = entries.elements();
-    while (e.hasMoreElements())
+    Enumeration enumeration = entries.elements();
+    while (enumeration.hasMoreElements())
       {
-	ZipEntry entry = (ZipEntry) e.nextElement();
+	ZipEntry entry = (ZipEntry) enumeration.nextElement();
 	
 	int method = entry.getMethod();
 	writeLeInt(CENSIG);
@@ -353,19 +432,31 @@
 	writeLeShort(entry.flags);
 	writeLeShort(method);
 	writeLeInt(entry.getDOSTime());
-	writeLeInt((int)entry.getCrc());
-	writeLeInt((int)entry.getCompressedSize());
-	writeLeInt((int)entry.getSize());
-
-	byte[] name = entry.getName().getBytes();
+	writeLeInt(entry.getCrc());
+	writeLeInt(entry.getCompressedSize());
+	writeLeInt(entry.getSize());
+
+	byte[] name;
+        try {
+          name = entry.getName().getBytes(charSet);
+        }
+        catch (UnsupportedEncodingException cause) {
+          throw new AssertionError(cause);
+        }
 	if (name.length > 0xffff)
 	  throw new ZipException("Name too long.");
 	byte[] extra = entry.getExtra();
 	if (extra == null)
 	  extra = new byte[0];
 	String strComment = entry.getComment();
-	byte[] comment = strComment != null
-	  ? strComment.getBytes() : new byte[0];
+	byte[] comment;
+        try {
+          comment = strComment != null
+            ? strComment.getBytes(charSet) : new byte[0];
+        }
+        catch (UnsupportedEncodingException cause) {
+          throw new AssertionError(cause);
+        }
 	if (comment.length > 0xffff)
 	  throw new ZipException("Comment too long.");
 
Index: lib/jazzlib/makeJazzlibDist.sh
===================================================================
RCS file: /cvsroot/classpath/classpath/lib/jazzlib/makeJazzlibDist.sh,v
retrieving revision 1.5
diff -u -r1.5 makeJazzlibDist.sh
--- lib/jazzlib/makeJazzlibDist.sh	13 May 2004 12:50:14 -0000	1.5
+++ lib/jazzlib/makeJazzlibDist.sh	4 May 2005 02:16:57 -0000
@@ -12,7 +12,7 @@
 echo "----- Do rm -rf dist when you're finished                 -----"
 echo "----- 30 May 2002 John Leuner <jewel@debian.org>      -----"
 
-RELEASE_NUMBER=07
+RELEASE_NUMBER=08
 
 # $1 is the archive command, eg "tar czvf" or "zip" or "jar cf"
 # $2 is the archive suffix, eg ".zip" or ".tar.gz"

--=-XFOpdOCttoyPX5sVY8gn
Content-Disposition: attachment; filename=CRC32If.java
Content-Type: text/x-java; name=CRC32If.java; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

/* CRC32If.java - Interface to compute the CRC32 data checksum of a data stream.
   Copyright (C) 2005 Free Software Foundation, Inc.

This file is part of GNU Classpath.

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

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

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

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

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

package java.util.zip;

/**
 * This interface is used with a {@link ZipOutputStream} and
 * {@link ZipInputStream} in order to compute CRC32 checksums.
 * It enables the user (developer) to have the choice between using this
 * package's {@link CRC32} or the genuine {@link java.util.zip.CRC32}
 * class provided with the JDK, presuming that a simple CRC32 adapter class
 * is provided which extends JDK's CRC32 and implements this interface.
 *
 * This way a developer has the option of going for ultimate portability
 * (provided by this package) or optimum performance (provided by the JDK)
 * without having to modify the sources of this package.
 *
 * Please refer to {@link java.util.zip.CRC32} for a documentation about
 * what the members of this interface are meant to do.
 *
 * @author Christian Schlichtherle
 */

public interface CRC32If extends Checksum {
    
    public abstract void update(byte[] b);
}




--=-XFOpdOCttoyPX5sVY8gn
Content-Disposition: attachment; filename=DeflaterIf.java
Content-Type: text/x-java; name=DeflaterIf.java; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

/* DeflaterIf.java - Interface to decompress a data stream.
   Copyright (C) 2005 Free Software Foundation, Inc.

This file is part of GNU Classpath.

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

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

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

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

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

package java.util.zip;

/**
 * This interface is used with a {@link ZipOutputStream}
 * in order to deflate ZIP file content.
 * It enables the user (developer) to have the choice between using this
 * package's {@link Deflater} or the genuine {@link java.util.zip.Deflater}
 * class provided with the JDK, presuming that a simple Deflater adapter class
 * is provided which extends JDK's Deflater and implements this interface.
 *
 * This way a developer has the option of going for ultimate portability
 * (provided by this package) or optimum performance (provided by the JDK)
 * without having to modify the sources of this package.
 *
 * Please refer to {@link java.util.zip.Deflater} for a documentation about
 * what the members of this interface are meant to do.
 *
 * @author Christian Schlichtherle
 */

public interface DeflaterIf {
    public static final int DEFLATED = 8;

    public static final int NO_COMPRESSION = 0;

   public static final int BEST_SPEED = 1;

    public static final int BEST_COMPRESSION = 9;

   public static final int DEFAULT_COMPRESSION = -1;

    public static final int FILTERED = 1;

    public static final int HUFFMAN_ONLY = 2;

    public static final int DEFAULT_STRATEGY = 0;

   public abstract void setInput(byte[] b, int off, int len);

    public abstract void setInput(byte[] b);

    public abstract void setDictionary(byte[] b, int off, int len);

    public abstract void setDictionary(byte[] b);

    public abstract void setStrategy(int strategy);

    public abstract void setLevel(int level);

    public abstract boolean needsInput();

    public abstract void finish();

    public abstract boolean finished();
    
    public abstract int deflate(byte[] b, int off, int len);

    public abstract int deflate(byte[] b);
    public abstract int getAdler();

   public abstract int getTotalIn();

   public abstract int getTotalOut();

    public abstract void reset();

    public abstract void end();
}

--=-XFOpdOCttoyPX5sVY8gn
Content-Disposition: attachment; filename=InflaterIf.java
Content-Type: text/x-java; name=InflaterIf.java; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

/* InflaterIf.java - Interface to decompress a data stream.
   Copyright (C) 2005 Free Software Foundation, Inc.

This file is part of GNU Classpath.

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

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

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

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

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

package java.util.zip;

/**
 * This interface is used with a {@link ZipInputStream} and {@link ZipFile}
 * in order to inflate ZIP file content.
 * It enables the user (developer) to have the choice between using this
 * package's {@link Inflater} or the genuine {@link java.util.zip.Inflater}
 * class provided with the JDK, presuming that a simple Inflater adapter class
 * is provided which extends JDK's Inflater and implements this interface.
 *
 * This way a developer has the option of going for ultimate portability
 * (provided by this package) or optimum performance (provided by the JDK)
 * without having to modify the sources of this package.
 *
 * Please refer to {@link java.util.zip.Inflater} for a documentation about
 * what the members of this interface are meant to do.
 *
 * @author Christian Schlichtherle
 */
public interface InflaterIf {

public abstract void setInput(byte[] b, int off, int len);

public abstract void setInput(byte[] b);

public abstract void setDictionary(byte[] b, int off, int len);

public abstract void setDictionary(byte[] b);

public abstract int getRemaining();

public abstract boolean needsInput();

public abstract boolean needsDictionary();

public abstract boolean finished();

public abstract int inflate(byte[] b, int off, int len) throws Exception; // Cannot use DataFormatException -  conflicts with JDK

public abstract int inflate(byte[] b) throws Exception; // Cannot use DataFormatException -  conflicts with JDK

public abstract int getAdler();

public abstract int getTotalIn();

public abstract int getTotalOut();

public abstract void reset();

public abstract void end();
}

--=-XFOpdOCttoyPX5sVY8gn--




From MAILER-DAEMON Sun Jul 24 06:08:46 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwdPZ-0005AD-4R
	for mharc-classpath@gnu.org; Sun, 24 Jul 2005 06:08:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwdPV-00059j-9a
	for classpath@gnu.org; Sun, 24 Jul 2005 06:08:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwdPT-00059C-4y
	for classpath@gnu.org; Sun, 24 Jul 2005 06:08:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwdMV-0004AJ-OI
	for classpath@gnu.org; Sun, 24 Jul 2005 06:05:36 -0400
Received: from [81.103.221.49] (helo=mta09-winn.ispmail.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dwd5U-00046E-LV
	for classpath@gnu.org; Sun, 24 Jul 2005 05:48:00 -0400
Received: from aamta11-winn.ispmail.ntl.com ([81.103.221.35])
	by mta09-winn.ispmail.ntl.com with ESMTP id
	<20050724093716.DBGP25008.mta09-winn.ispmail.ntl.com@aamta11-winn.ispmail.ntl.com>;
	Sun, 24 Jul 2005 10:37:16 +0100
Received: from zapata.pink ([82.16.12.40]) by aamta11-winn.ispmail.ntl.com
	with ESMTP
	id <20050724093716.PEKN24042.aamta11-winn.ispmail.ntl.com@zapata.pink>; 
	Sun, 24 Jul 2005 10:37:16 +0100
Received: from zapata.pink (localhost.localdomain [127.0.0.1])
	by zapata.pink (8.13.1/8.13.1) with ESMTP id j6O9cNFe023255;
	Sun, 24 Jul 2005 10:38:24 +0100
Received: (from aph@localhost)
	by zapata.pink (8.13.1/8.13.1/Submit) id j6O9cLHB023252;
	Sun, 24 Jul 2005 10:38:21 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <17123.24972.75884.494412@zapata.pink>
Date: Sun, 24 Jul 2005 10:38:20 +0100
From: Andrew Haley <aph@redhat.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1122069559.7915.291.camel@localhost.localdomain>
References: <1122048154.16678.9.camel@bart.aicas.burg>
	<17121.9809.924883.908005@zapata.pink>
	<1122069559.7915.291.camel@localhost.localdomain>
X-Mailer: VM 7.19 under Emacs 21.3.1
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: Re: Implementation details of VMStackWalker
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 Jul 2005 10:08:42 -0000

Mark Wielaard writes:
 > 
 > On Fri, 2005-07-22 at 18:01 +0100, Andrew Haley wrote:
 > > Ingo Prötel writes:
 > > 
 > >  > I just implemented VMStackWalker for our VM and have some questions.
 > >  > 
 > >  > The reference implementation of 'getCallingClass()' and
 > >  > 'getCallingClassLoader()' just look at the third entry in the class
 > >  > context. Would it not be better to return the first class that is not
 > >  > assignable to the class in context[0] ? That way we could cope with
 > >  > classes that first call some private or protected classes an then ends
 > >  > up calling the stack walker. 
 > > 
 > > In gcj, we have a method called GetCallingClass(Class c).  It searches
 > > firstly for a method declared in class c, then for a method not
 > > declared in c.  We have found, after a certain amount of trouble, that
 > > this is the right way to do things; it means that an arbitrary number
 > > of stack frames can be between the direct caller of GetCallingClass
 > > and the user code, and it also means that you don't have to check for
 > > assignability, but for an exact match.
 > 
 > I proposed something similar a while ago:
 > http://lists.gnu.org/archive/html/classpath-patches/2005-01/msg00138.html
 > 
 > Jeroen did object strongly to this approach though since he felt that
 > having (and constructing) an extra argument for this function was too
 > much overhead for runtimes that didn't need it to begin with.

Well, that's up to the VM implementer.  IMO trying to unify low-level
stack walker code is unnecessary and leads to too many compromises;
it's a merge too far.

However, as for overhead -- I don't believe it.  I doubt that not
having this parameter saves anything much on any VM.

Andrew.



From MAILER-DAEMON Sun Jul 24 19:01:22 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwpTG-0000Ta-2d
	for mharc-classpath@gnu.org; Sun, 24 Jul 2005 19:01:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwpT8-0000P6-V9
	for classpath@gnu.org; Sun, 24 Jul 2005 19:01:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwpT4-0000N7-Uz
	for classpath@gnu.org; Sun, 24 Jul 2005 19:01:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwpT4-0000N4-8D
	for classpath@gnu.org; Sun, 24 Jul 2005 19:01:10 -0400
Received: from [209.225.28.172] (helo=mxsf40.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwpO9-0008NJ-HJ
	for classpath@gnu.org; Sun, 24 Jul 2005 18:56:05 -0400
Received: from mxip18a.cluster1.charter.net (mxip18a.cluster1.charter.net
	[209.225.28.148])
	by mxsf40.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	j6OMjIq5023877
	for <classpath@gnu.org>; Sun, 24 Jul 2005 18:45:18 -0400
Received: from 68-113-105-219.dhcp.leds.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.105.219)
	by mxip18a.cluster1.charter.net with ESMTP; 24 Jul 2005 18:45:18 -0400
X-IronPort-AV: i="3.95,138,1120449600"; 
	d="scan'208"; a="1339630033:sNHT19399804"
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 RAA71239;
	Sun, 24 Jul 2005 17:41:35 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6OMfX2t002025;
	Sun, 24 Jul 2005 17:41:33 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42E4191D.2010005@dellroad.org>
Date: Sun, 24 Jul 2005 17:41:33 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Dalibor Topic <robilad@kaffe.org>
References: <42CC8A63.7080902@awarix.com> <42D01C23.6030805@dellroad.org>
	<42E29C7E.4030401@dellroad.org> <42E2C3DA.3060000@kaffe.org>
In-Reply-To: <42E2C3DA.3060000@kaffe.org>
Content-Type: multipart/mixed; boundary="------------090407060700030001040302"
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: JNI assertion failure
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 Jul 2005 23:01:20 -0000

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

Dalibor Topic wrote:
> Doesn't GetObjectClass change the state of env? If that's the case, it 
> maybe shouldn't be an assert.

Not sure what you mean.. but there is a bug: we need to delete the
local native reference obtained by calling GetObjectClass.

Attached is a better patch.

Thanks,
-Archie

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

--------------090407060700030001040302
Content-Type: text/plain;
 name="gtkstate.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="gtkstate.patch"

Index: native/jni/classpath/native_state.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/classpath/native_state.c,v
retrieving revision 1.11
diff -u -r1.11 native_state.c
--- native/jni/classpath/native_state.c	14 Jul 2005 22:07:02 -0000	1.11
+++ native/jni/classpath/native_state.c	24 Jul 2005 22:38:39 -0000
@@ -36,6 +36,7 @@
 exception statement from your version. */
 
 #include <stdlib.h>
+#include <assert.h>
 #include <jni.h>
 #include "native_state.h"
 
@@ -165,6 +166,18 @@
   *head = new_node;
 }
 
+#ifndef NDEBUG
+static void
+cp_gtk_check_compat (JNIEnv * env, jobject obj, struct state_table *table)
+{
+  jclass objclazz;
+
+  objclazz = (*env)->GetObjectClass(env, obj);
+  assert ((*env)->IsAssignableFrom(env, objclazz, table->clazz));
+  (*env)->DeleteLocalRef(env, objclazz);
+}
+#endif
+
 void
 cp_gtk_set_state_oid (JNIEnv * env, jobject lock, struct state_table *table,
 	       jint obj_id, void *state)
@@ -214,6 +227,11 @@
 cp_gtk_set_state (JNIEnv * env, jobject obj, struct state_table *table, void *state)
 {
   jint obj_id;
+
+#ifndef NDEBUG
+  cp_gtk_check_compat(env, obj, table);
+#endif
+
   obj_id = (*env)->GetIntField (env, obj, table->hash);
 
   if ((*env)->ExceptionOccurred (env) != NULL)
@@ -227,6 +245,11 @@
 cp_gtk_get_state (JNIEnv * env, jobject obj, struct state_table *table)
 {
   jint obj_id;
+
+#ifndef NDEBUG
+  cp_gtk_check_compat(env, obj, table);
+#endif
+
   obj_id = (*env)->GetIntField (env, obj, table->hash);
 
   if ((*env)->ExceptionOccurred (env) != NULL)
@@ -239,6 +262,11 @@
 cp_gtk_remove_state_slot (JNIEnv * env, jobject obj, struct state_table *table)
 {
   jint obj_id;
+
+#ifndef NDEBUG
+  cp_gtk_check_compat(env, obj, table);
+#endif
+
   obj_id = (*env)->GetIntField (env, obj, table->hash);
 
   if ((*env)->ExceptionOccurred (env) != NULL)

--------------090407060700030001040302--



From MAILER-DAEMON Sun Jul 24 21:07:00 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwrLt-0001V2-4d
	for mharc-classpath@gnu.org; Sun, 24 Jul 2005 21:01:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwrLe-0001Lr-RR
	for classpath@gnu.org; Sun, 24 Jul 2005 21:01:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwrLU-0001GF-Qz
	for classpath@gnu.org; Sun, 24 Jul 2005 21:01:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwrLU-0001Fy-Mm
	for classpath@gnu.org; Sun, 24 Jul 2005 21:01:28 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DwrSi-00069a-4W
	for classpath@gnu.org; Sun, 24 Jul 2005 21:08:56 -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 j6P0w4wg032492;
	Sun, 24 Jul 2005 20:58:04 -0400
Received: from opsy.redhat.com (vpn50-94.rdu.redhat.com [172.16.50.94])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6P0vwV20121; 
	Sun, 24 Jul 2005 20:57:58 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id ABA242DD95C; Sun, 24 Jul 2005 18:54:12 -0600 (MDT)
Sender: tromey@redhat.com
To: Mark Wielaard <mark@klomp.org>
References: <42D03016.1080506@dellroad.org>
	<1121878653.4759.197.camel@localhost>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 24 Jul 2005 18:54:12 -0600
In-Reply-To: <1121878653.4759.197.camel@localhost>
Message-ID: <m3y87vbt8r.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, Daniel Bonniot <Daniel.Bonniot@inria.fr>
Subject: Re: Fix for java/net/URLClassLoader
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 Jul 2005 01:01:49 -0000

>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> I remember we added getting file URLs for directories as
Mark> resources because Nice depended on that being possible.

See also:

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

Tom



From MAILER-DAEMON Mon Jul 25 04:19:23 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwyBE-00018b-JV
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 04:19:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwyB4-00015P-5A
	for classpath@gnu.org; Mon, 25 Jul 2005 04:19:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dwxvh-00070A-TS
	for classpath@gnu.org; Mon, 25 Jul 2005 04:03:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dwxva-0006uD-JO
	for classpath@gnu.org; Mon, 25 Jul 2005 04:03:11 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dwxwy-0000ta-9Y
	for classpath@gnu.org; Mon, 25 Jul 2005 04:04:36 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Mon, 25 Jul 2005 09:53:42 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAF09@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: ClasspathToolkit redesign.
Thread-Index: AcWP1it7H36fCDJuSo+78scxIzZX0QBFuQ5g
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Sven de Marothy" <sven@physto.se>,
	<classpath@gnu.org>
Cc: 
Subject: RE: ClasspathToolkit redesign.
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 Jul 2005 08:19:14 -0000

Sven de Marothy wrote:
> Ok, I've been looking into the issue of our AWT peer=20
> interface now that I've been running my peers on Classpath
> in earnest.
>=20
> The goal here is to try to bring our peer interface as close to Sun's
> as possible. And simplify things for potential peer-authors.
>
[...]
>
> Summary: So, my opinion: Keep most of the font stuff and the robot
> stuff. Get rid of the rest, and we'll have an interface which is both
> closer to the JDKs, and simpler.
>=20
> Comments?

I very much agree. My peers are only toys at the moment, but I ran into
many of the same issues. Especially the fact that the GTK event model is
integrated in EventQueue is very bad.

> Method: createEmbeddedWindow ()
> Comment: What's an EmbeddedWindow and why do we need this as=20
> part of the peer interface?

I'm not sure, but I think this is used for Applets that have to live
inside a non-Java window.

Regards,
Jeroen





From MAILER-DAEMON Mon Jul 25 04:23:05 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwyEq-0003Yt-ES
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 04:23:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwyEZ-0003P9-7G
	for classpath@gnu.org; Mon, 25 Jul 2005 04:22:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwyEK-0003Fk-NW
	for classpath@gnu.org; Mon, 25 Jul 2005 04:22:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwyEC-00038t-En
	for classpath@gnu.org; Mon, 25 Jul 2005 04:22:25 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwyJT-0002Ow-8E
	for classpath@gnu.org; Mon, 25 Jul 2005 04:27:51 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Mon, 25 Jul 2005 10:16:55 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAF0D@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Implementation details of VMStackWalker
Thread-Index: AcWO2GaRa47ZBy/WSEKCSaYzz4y4HwCFgDaA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: =?iso-8859-1?Q?Ingo_Pr=F6tel?= <proetel@aicas.com>,
	"GNU Classpath ML" <classpath@gnu.org>
Cc: 
Subject: RE: Implementation details of VMStackWalker
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 Jul 2005 08:23:01 -0000

Ingo Pr=F6tel wrote:
> I just implemented VMStackWalker for our VM and have some questions.
>=20
> The reference implementation of 'getCallingClass()' and
> 'getCallingClassLoader()' just look at the third entry in the class
> context. Would it not be better to return the first class that is not
> assignable to the class in context[0] ? That way we could cope with
> classes that first call some private or protected classes an then ends
> up calling the stack walker.

I'm *very* strongly opposed to this. It makes auditing the code for =
correctness of VMStackWalker *much* harder and it adds no value.

> The next thing I would like to have is a method to get the calling
> method name. This would be good for logging.=20

Yeah, we should probably add a method to get the calling method and =
maybe another one to get the entire stack trace (as a =
java.lang.reflect.Method[]).

> For the security part: Is it enough to check if the class loader of
> context[0] is the boot classloader?

You don't need to enforce that, the documentation is just intended to =
point out that this is a privileged call that is not available to =
untrusted code. The security model will be used to enforce that =
untrusted code cannot call code in the gnu.classpath.* package.

Regards,
Jeroen



From MAILER-DAEMON Mon Jul 25 04:23:17 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwyF3-0003gz-0X
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 04:23:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwyEQ-0003K6-9K
	for classpath@gnu.org; Mon, 25 Jul 2005 04:22:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwyEH-0003G7-IL
	for classpath@gnu.org; Mon, 25 Jul 2005 04:22:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwyEH-00038t-51
	for classpath@gnu.org; Mon, 25 Jul 2005 04:22:29 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwyJR-0002Ow-RN
	for classpath@gnu.org; Mon, 25 Jul 2005 04:27:50 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Mon, 25 Jul 2005 10:16:54 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAF0B@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Implementation details of VMStackWalker
Thread-Index: AcWPBKpOg5d0uvL4TpGv6TYtPdvILQB6rmow
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Andrew Haley" <aph@redhat.com>,
	=?iso-8859-1?Q?Ingo_Pr=F6tel?= <proetel@aicas.com>
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: RE: Implementation details of VMStackWalker
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 Jul 2005 08:23:15 -0000

Andrew Haley wrote:
> In gcj, we have a method called GetCallingClass(Class c).  It searches
> firstly for a method declared in class c, then for a method not
> declared in c.  We have found, after a certain amount of trouble, that
> this is the right way to do things; it means that an arbitrary number
> of stack frames can be between the direct caller of GetCallingClass
> and the user code, and it also means that you don't have to check for
> assignability, but for an exact match.

This is a dumb idea...

> For example, you may have
>=20
> class Foo
> {
> bar (Object O)
> {
>    return baz(O);
> }
>=20
> baz (Object O)
> {
>   ... GetCallingClass (Foo) ...
> }
> }

class Frob extends Foo
{
  baz (Object o)
  {
    super.baz(o);
  }
}

> ... and you will get class of the caller of bar, not Foo.class.

No, you'll get Frob.

Regards,
Jeroen



From MAILER-DAEMON Mon Jul 25 04:23:52 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwyFb-0003zb-TZ
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 04:23:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwyFV-0003vF-KZ
	for classpath@gnu.org; Mon, 25 Jul 2005 04:23:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwyEJ-0003Fc-2F
	for classpath@gnu.org; Mon, 25 Jul 2005 04:22:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwyEE-00038t-J3
	for classpath@gnu.org; Mon, 25 Jul 2005 04:22:26 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwyJS-0002Ow-Ge
	for classpath@gnu.org; Mon, 25 Jul 2005 04:27:50 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Mon, 25 Jul 2005 10:16:52 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAF0C@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Implementation details of VMStackWalker
Thread-Index: AcWQOAH3PU9tztXGQFSObgdO7yCFmQAuAgbQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Andrew Haley" <aph@redhat.com>,
	"Mark Wielaard" <mark@klomp.org>
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: RE: Implementation details of VMStackWalker
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 Jul 2005 08:23:47 -0000

Andrew Haley wrote:
> However, as for overhead -- I don't believe it.  I doubt that not
> having this parameter saves anything much on any VM.

That's just your lack of imagination ;-) I was concerned with two
aspects wrt performance:
1) Class literals are inefficient -- this is no longer an issue to me,
since I now use ecj (in 1.5 mode) to compile GNU Classpath
2) I have to do multiple (partial) stack walks to retrieve multiple
frames

Remember, IKVM is built on top of another VM, so I have to use another
stack walking abstraction to walk the stack. Having to fetch multiple
frames is obviously more expensive than having to fetch a single frame.

*BUT* I have much stronger objections against this model:
1) Like Archie points out, there is no need for this additional
functionality (at least not in the common case)
2) It is very easy to introduce subtle bugs (like the one with the
override I showed)
3) It is tempting to do (either on purpose or accidentally):
  class Foo
  {
    somemethod()
    {
       // "we know we're always being called by Bar and we need its
caller"
       GetCaller(Bar.class);
    }
  }
4) It makes "advanced" optimizations by the JIT harder (the current
interface is very easy for the JIT to special case)

Regards,
Jeroen



From MAILER-DAEMON Mon Jul 25 05:09:39 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dwyxt-0007UR-7l
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 05:09:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dwyxm-0007R6-W1
	for classpath@gnu.org; Mon, 25 Jul 2005 05:09:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dwyxh-0007O9-6J
	for classpath@gnu.org; Mon, 25 Jul 2005 05:09:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dwyxg-0007GF-S6
	for classpath@gnu.org; Mon, 25 Jul 2005 05:09:24 -0400
Received: from [81.103.221.47] (helo=mta07-winn.ispmail.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dwz00-0005Aj-4i
	for classpath@gnu.org; Mon, 25 Jul 2005 05:11:48 -0400
Received: from aamta11-winn.ispmail.ntl.com ([81.103.221.35])
	by mta07-winn.ispmail.ntl.com with ESMTP id
	<20050725090056.YXHX27585.mta07-winn.ispmail.ntl.com@aamta11-winn.ispmail.ntl.com>;
	Mon, 25 Jul 2005 10:00:56 +0100
Received: from zapata.pink ([82.16.12.40]) by aamta11-winn.ispmail.ntl.com
	with ESMTP
	id <20050725090056.XHIW24042.aamta11-winn.ispmail.ntl.com@zapata.pink>; 
	Mon, 25 Jul 2005 10:00:56 +0100
Received: from zapata.pink (localhost.localdomain [127.0.0.1])
	by zapata.pink (8.13.1/8.13.1) with ESMTP id j6P925GZ026136;
	Mon, 25 Jul 2005 10:02:05 +0100
Received: (from aph@localhost)
	by zapata.pink (8.13.1/8.13.1/Submit) id j6P924FX026133;
	Mon, 25 Jul 2005 10:02:04 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17124.43659.21028.883780@zapata.pink>
Date: Mon, 25 Jul 2005 10:02:03 +0100
From: Andrew Haley <aph@redhat.com>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CAF0B@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CAF0B@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.19 under Emacs 21.3.1
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: RE: Implementation details of VMStackWalker
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 Jul 2005 09:09:32 -0000

Jeroen Frijters writes:
 > Andrew Haley wrote:
 > > In gcj, we have a method called GetCallingClass(Class c).  It searches
 > > firstly for a method declared in class c, then for a method not
 > > declared in c.  We have found, after a certain amount of trouble, that
 > > this is the right way to do things; it means that an arbitrary number
 > > of stack frames can be between the direct caller of GetCallingClass
 > > and the user code, and it also means that you don't have to check for
 > > assignability, but for an exact match.
 > 
 > This is a dumb idea...
 > 
 > > For example, you may have
 > > 
 > > class Foo
 > > {
 > > bar (Object O)
 > > {
 > >    return baz(O);
 > > }
 > > 
 > > baz (Object O)
 > > {
 > >   ... GetCallingClass (Foo) ...
 > > }
 > > }
 > 
 > class Frob extends Foo
 > {
 >   baz (Object o)
 >   {
 >     super.baz(o);
 >   }
 > }
 > 
 > > ... and you will get class of the caller of bar, not Foo.class.
 > 
 > No, you'll get Frob.

Which is the Right Answer: the caller of baz *is* Frob.

Andrew.



From MAILER-DAEMON Mon Jul 25 05:10:53 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dwyz6-0007y5-UO
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 05:10:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwyyB-0007ah-A9
	for classpath@gnu.org; Mon, 25 Jul 2005 05:09:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dwyy1-0007Y7-Mp
	for classpath@gnu.org; Mon, 25 Jul 2005 05:09:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dwyy0-0007GF-Kn
	for classpath@gnu.org; Mon, 25 Jul 2005 05:09:44 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dwytu-0004lH-Kx
	for classpath@gnu.org; Mon, 25 Jul 2005 05:05:30 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.36
	#1 (Debian)) id 1DwyjO-0004jK-00
	for <classpath@gnu.org>; Mon, 25 Jul 2005 10:54:38 +0200
Received: from mpiat2305.ag2.mpi-sb.mpg.de ([139.19.20.94] ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian))
	id 1DwyjM-0004j1-00; Mon, 25 Jul 2005 10:54:36 +0200
Message-ID: <42E4A8CB.8080703@kaffe.org>
Date: Mon, 25 Jul 2005 10:54:35 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Archie Cobbs <archie@dellroad.org>
References: <42CC8A63.7080902@awarix.com> <42D01C23.6030805@dellroad.org>
	<42E29C7E.4030401@dellroad.org> <42E2C3DA.3060000@kaffe.org>
	<42E4191D.2010005@dellroad.org>
In-Reply-To: <42E4191D.2010005@dellroad.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: JNI assertion failure
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 Jul 2005 09:10:48 -0000

Archie Cobbs wrote:
> Dalibor Topic wrote:
> 
>> Doesn't GetObjectClass change the state of env? If that's the case, it
>> maybe shouldn't be an assert.
> 
> 
> Not sure what you mean.. but there is a bug: we need to delete the
> local native reference obtained by calling GetObjectClass.
> 
> Attached is a better patch.

looks better, thanks.

cheers,
dalibor topic



From MAILER-DAEMON Mon Jul 25 05:12:20 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dwz0W-0000Ga-23
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 05:12:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dwz0S-0000EF-Lr
	for classpath@gnu.org; Mon, 25 Jul 2005 05:12:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dwz0P-0000Co-Tv
	for classpath@gnu.org; Mon, 25 Jul 2005 05:12:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwyyF-0007GF-Hb
	for classpath@gnu.org; Mon, 25 Jul 2005 05:10:01 -0400
Received: from [213.46.255.25] (helo=viefep12-int.chello.at)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dwz6O-0005hP-Dn
	for classpath@gnu.org; Mon, 25 Jul 2005 05:18:24 -0400
Received: from workstation.home.at ([213.47.70.108]) by viefep16-int.chello.at
	(InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP
	id <20050725090213.RGDS1740.viefep16-int.chello.at@workstation.home.at>
	for <classpath@gnu.org>; Mon, 25 Jul 2005 11:02:13 +0200
From: Christian Thalinger <twisti@complang.tuwien.ac.at>
To: classpath-ml <classpath@gnu.org>
Content-Type: text/plain
Date: Mon, 25 Jul 2005 11:02:07 +0200
Message-Id: <1122282127.4784.10.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Content-Transfer-Encoding: 7bit
Subject: GJava_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor possible crash
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 Jul 2005 09:12:17 -0000

Hi!

We have some problems with the spec jvm applet and i think i've found a
problem. Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor uses
NSA_GET_PTR to get the graphics pointer, which calls cp_gtk_get_state.
This function may return NULL in exception case, which lets this code
crash:

  g = (struct graphics *) NSA_GET_PTR (env, obj);
  
  gdk_color_alloc (g->cm, &color);

May this be a problem? In fact, this crashes currently for me, but there
is no exception, it just returns NULL.

TWISTI




From MAILER-DAEMON Mon Jul 25 05:18:58 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dwz6v-00040r-QA
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 05:18:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dwz6s-000406-1Q
	for classpath@gnu.org; Mon, 25 Jul 2005 05:18:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dwz6o-0003yw-Mh
	for classpath@gnu.org; Mon, 25 Jul 2005 05:18:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dwz6l-0003lf-B5
	for classpath@gnu.org; Mon, 25 Jul 2005 05:18:48 -0400
Received: from [81.103.221.49] (helo=mta09-winn.ispmail.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dwz95-00062N-0A
	for classpath@gnu.org; Mon, 25 Jul 2005 05:21:11 -0400
Received: from aamta12-winn.ispmail.ntl.com ([81.103.221.35])
	by mta09-winn.ispmail.ntl.com with ESMTP id
	<20050725091019.XKJF25008.mta09-winn.ispmail.ntl.com@aamta12-winn.ispmail.ntl.com>
	for <classpath@gnu.org>; Mon, 25 Jul 2005 10:10:19 +0100
Received: from zapata.pink ([82.16.12.40]) by aamta12-winn.ispmail.ntl.com
	with ESMTP
	id <20050725091019.XJIU9998.aamta12-winn.ispmail.ntl.com@zapata.pink>
	for <classpath@gnu.org>; Mon, 25 Jul 2005 10:10:19 +0100
Received: from zapata.pink (localhost.localdomain [127.0.0.1])
	by zapata.pink (8.13.1/8.13.1) with ESMTP id j6P9BSAo026180;
	Mon, 25 Jul 2005 10:11:28 +0100
Received: (from aph@localhost)
	by zapata.pink (8.13.1/8.13.1/Submit) id j6P9BPde026177;
	Mon, 25 Jul 2005 10:11:25 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17124.44220.569294.984480@zapata.pink>
Date: Mon, 25 Jul 2005 10:11:24 +0100
From: Andrew Haley <aph@redhat.com>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CAF0C@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CAF0C@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.19 under Emacs 21.3.1
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath ML <classpath@gnu.org>
Subject: RE: Implementation details of VMStackWalker
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 Jul 2005 09:18:54 -0000

Jeroen Frijters writes:
 > Andrew Haley wrote:
 > > However, as for overhead -- I don't believe it.  I doubt that not
 > > having this parameter saves anything much on any VM.
 > 
 > That's just your lack of imagination ;-) I was concerned with two
 > aspects wrt performance:
 > 1) Class literals are inefficient -- this is no longer an issue to me,
 > since I now use ecj (in 1.5 mode) to compile GNU Classpath
 > 2) I have to do multiple (partial) stack walks to retrieve multiple
 > frames
 > 
 > Remember, IKVM is built on top of another VM, so I have to use another
 > stack walking abstraction to walk the stack. Having to fetch multiple
 > frames is obviously more expensive than having to fetch a single frame.

As I said:

 > IMO trying to unify low-level stack walker code is unnecessary and
 > leads to too many compromises; it's a merge too far.

Andrew.



From MAILER-DAEMON Mon Jul 25 05:34:38 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwzM4-0008Jx-OJ
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 05:34:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwzLw-0008Io-LV
	for classpath@gnu.org; Mon, 25 Jul 2005 05:34:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwzLt-0008ID-OO
	for classpath@gnu.org; Mon, 25 Jul 2005 05:34:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwzLs-0008HJ-V1
	for classpath@gnu.org; Mon, 25 Jul 2005 05:34:25 -0400
Received: from [81.103.221.47] (helo=mta07-winn.ispmail.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwzTE-0007LI-Jf
	for classpath@gnu.org; Mon, 25 Jul 2005 05:42:00 -0400
Received: from aamta09-winn.ispmail.ntl.com ([81.103.221.35])
	by mta07-winn.ispmail.ntl.com with ESMTP id
	<20050725093109.ZYMX27585.mta07-winn.ispmail.ntl.com@aamta09-winn.ispmail.ntl.com>;
	Mon, 25 Jul 2005 10:31:09 +0100
Received: from zapata.pink ([82.16.12.40]) by aamta09-winn.ispmail.ntl.com
	with ESMTP
	id <20050725093108.XPIW19483.aamta09-winn.ispmail.ntl.com@zapata.pink>; 
	Mon, 25 Jul 2005 10:31:08 +0100
Received: from zapata.pink (localhost.localdomain [127.0.0.1])
	by zapata.pink (8.13.1/8.13.1) with ESMTP id j6P9WDEC026247;
	Mon, 25 Jul 2005 10:32:13 +0100
Received: (from aph@localhost)
	by zapata.pink (8.13.1/8.13.1/Submit) id j6P9WCCE026244;
	Mon, 25 Jul 2005 10:32:12 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17124.45466.665769.772486@zapata.pink>
Date: Mon, 25 Jul 2005 10:32:10 +0100
From: Andrew Haley <aph@redhat.com>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CAF0F@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CAF0F@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.19 under Emacs 21.3.1
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: RE: Implementation details of VMStackWalker
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 Jul 2005 09:34:33 -0000

Jeroen Frijters writes:
 > Andrew Haley wrote:
 > > Which is the Right Answer: the caller of baz *is* Frob.
 > 
 > It *may* be the right answer, but how can you be certain that the
 > coder of class Foo intended this?

Ah, well that is a totally different matter.

 > IMNSHO, code like this is completely unauditable (remember, this
 > isn't just a correctness issue, access to class loaders is a
 > potential security issue).

Of course, yes.  But it's security issues that I'm concerned about
here: what we want to know is the first caller of Foo.method() that is
not Foo.

Andrew.



From MAILER-DAEMON Mon Jul 25 05:35:01 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwzMQ-0008RM-8e
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 05:34:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwzMI-0008PH-D6
	for classpath@gnu.org; Mon, 25 Jul 2005 05:34:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwzME-0008NQ-Q7
	for classpath@gnu.org; Mon, 25 Jul 2005 05:34:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwzME-0008HJ-0E
	for classpath@gnu.org; Mon, 25 Jul 2005 05:34:46 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwzMx-00070B-11
	for classpath@gnu.org; Mon, 25 Jul 2005 05:35:31 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Mon, 25 Jul 2005 11:24:37 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAF0F@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Implementation details of VMStackWalker
Thread-Index: AcWQ92AKIj+Sd8nQSq+LdZsuVGfMfwAAJGQg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Andrew Haley" <aph@redhat.com>
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: RE: Implementation details of VMStackWalker
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 Jul 2005 09:34:53 -0000

Andrew Haley wrote:
> Which is the Right Answer: the caller of baz *is* Frob.

It *may* be the right answer, but how can you be certain that the coder =
of class Foo intended this? IMNSHO, code like this is completely =
unauditable (remember, this isn't just a correctness issue, access to =
class loaders is a potential security issue).

Regards,
Jeroen



From MAILER-DAEMON Mon Jul 25 06:05:36 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dwzpu-0008PN-Kb
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 06:05:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dwzpk-0008Ni-Hl
	for classpath@gnu.org; Mon, 25 Jul 2005 06:05:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dwzpe-0008Ms-9r
	for classpath@gnu.org; Mon, 25 Jul 2005 06:05:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DwzpZ-0008Hx-UP
	for classpath@gnu.org; Mon, 25 Jul 2005 06:05:06 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwzvW-0000tc-0B
	for classpath@gnu.org; Mon, 25 Jul 2005 06:11:14 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Mon, 25 Jul 2005 12:00:18 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAF12@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Implementation details of VMStackWalker
Thread-Index: AcWQ/i1A7jBejSBkTAiIalgzcYvAxgAAK30w
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: =?iso-8859-1?Q?Ingo_Pr=F6tel?= <proetel@aicas.com>
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: RE: Implementation details of VMStackWalker
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 Jul 2005 10:05:20 -0000

Ingo Pr=F6tel wrote:
> I really like the idea of having a stack walker so I would like to use
> it wherever possible. For example in java.util.logging.Logger. If a
> class calls 'logger.warning("some warning")' this call will=20
> be forwarded through a couple of calls until it will call
> 'Logger.log(Level level, String message, Throwable thrown)' there the
> stack will be inspected to get the calling class and calling method.

I think that a (potentially) more optimized version of the stack walker =
API can be made for this. I have no problem with that since accuracy in =
the logging isn't that critical (getting it wrong will be annoying but =
won't create a security hole).

> Does this mean the VM must check for every call if it is a call into=20
> the gnu.classpath.* package and if so check the classloader=20
> of the calling class?

No, this is enforced by the system class loader. Untrusted code cannot =
even load classes from the gnu.classpath package (this isn't yet fully =
implemented yet, but most of the infrastructure is in place).

Only if you replace the GNU Classpath system class loader do you need to =
worry about this.

Regards,
Jeroen



From MAILER-DAEMON Mon Jul 25 06:13:16 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwzxU-0000v7-9P
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 06:13:16 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DwzxO-0000uN-ST
	for classpath@gnu.org; Mon, 25 Jul 2005 06:13:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DwzxN-0000tt-VW
	for classpath@gnu.org; Mon, 25 Jul 2005 06:13:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dwzql-0008Hx-SA
	for classpath@gnu.org; Mon, 25 Jul 2005 06:06:19 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dwze9-0008FT-TI
	for classpath@gnu.org; Mon, 25 Jul 2005 05:53:18 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Mon, 25 Jul 2005 11:42:24 +0200
Message-ID: <D92197D0A6547B44A1567814F851FA680CAF10@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Implementation details of VMStackWalker
Thread-Index: AcWQ+5iu0t81FYuKS3Gi6TdVWxIFwAAAMPuw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Andrew Haley" <aph@redhat.com>
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: RE: Implementation details of VMStackWalker
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 Jul 2005 10:13:11 -0000

Andrew Haley wrote:
> Of course, yes.  But it's security issues that I'm concerned about
> here: what we want to know is the first caller of Foo.method() that is
> not Foo.

Not necessarily. Typically what's important is the supplier of the =
arguments to the method. In the subclassing scenario, the subclass may =
be the one providing the arguments (i.e. passing different values then =
it was passed), but it may also be passing along the original values. If =
the subclasser is trusted but the original caller isn't, you have a =
problem. Now granted, this is a coding error, but I think it is =
facilitated by this too flexible model of walking the stack.

BTW, I'm not ruling out the need for this more flexible way of getting =
the caller, I just want to make sure that this isn't the default and is =
used only very cautiously.

Regards,
Jeroen



From MAILER-DAEMON Mon Jul 25 06:14:01 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DwzyD-0001Ba-Mh
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 06:14:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dwzy9-0001B1-6X
	for classpath@gnu.org; Mon, 25 Jul 2005 06:13:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dwzy8-0001Af-31
	for classpath@gnu.org; Mon, 25 Jul 2005 06:13:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dwzqg-0008Hx-9O
	for classpath@gnu.org; Mon, 25 Jul 2005 06:06:14 -0400
Received: from [212.126.219.82] (helo=mail.aicas.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwzlF-0000EM-KS
	for classpath@gnu.org; Mon, 25 Jul 2005 06:00:37 -0400
Received: from bart.aicas.burg (unknown [192.168.1.60])
	(using TLSv1 with cipher RC4-MD5 (128/128 bits))
	(No client certificate requested)
	by mail.aicas.de (Postfix) with ESMTP id CF4D56BC597;
	Mon, 25 Jul 2005 11:50:51 +0200 (CEST)
From: Ingo =?ISO-8859-1?Q?Pr=F6tel?= <proetel@aicas.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA680CAF0D@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA680CAF0D@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=ISO-8859-15
Date: Mon, 25 Jul 2005 11:49:29 +0200
Message-Id: <1122284969.16678.51.camel@bart.aicas.burg>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1 
Content-Transfer-Encoding: quoted-printable
Cc: GNU Classpath ML <classpath@gnu.org>
Subject: RE: Implementation details of VMStackWalker
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 Jul 2005 10:13:58 -0000

Am Montag, den 25.07.2005, 10:16 +0200 schrieb Jeroen Frijters:
> Ingo Pr=F6tel wrote:
> > I just implemented VMStackWalker for our VM and have some questions.
> >=20
> > The reference implementation of 'getCallingClass()' and
> > 'getCallingClassLoader()' just look at the third entry in the class
> > context. Would it not be better to return the first class that is not
> > assignable to the class in context[0] ? That way we could cope with
> > classes that first call some private or protected classes an then end=
s
> > up calling the stack walker.
>=20
> I'm *very* strongly opposed to this. It makes auditing the code for cor=
rectness of VMStackWalker *much* harder and it adds no value.
>=20
I really like the idea of having a stack walker so I would like to use
it wherever possible. For example in java.util.logging.Logger. If a
class calls 'logger.warning("some warning")' this call will be forwarded
through a couple of calls until it will call 'Logger.log(Level level,
String message, Throwable thrown)' there the stack will be inspected to
get the calling class and calling method. The current implementation of
VMStackWalker would require the generation of the full class context to
get the class that called 'Logger.warning(String)' since
'VMStackWalker.getCallingClass()' would always return 'Logger'. But
creating the whole class context is expensive.=20

And yes our AOT compiler can simply inline the methods but not the
simple interpreter that we use to run dynamically loaded classes.

No I'm not sure if checking for assignability really is useful. But if
somebody wants to create their own Logger subclass it would just work as
I would expect when a call is forwarded to the Logger. But I admit I
have not yet checked what happens on a Sun VM in such a case.

> > The next thing I would like to have is a method to get the calling
> > method name. This would be good for logging.=20
>=20
> Yeah, we should probably add a method to get the calling method and may=
be another one to get the entire stack trace (as a java.lang.reflect.Meth=
od[]).
>=20
> > For the security part: Is it enough to check if the class loader of
> > context[0] is the boot classloader?
>=20
> You don't need to enforce that, the documentation is just intended to p=
oint out that this is a privileged call that is not available to untruste=
d code. The security model will be used to enforce that untrusted code ca=
nnot call code in the gnu.classpath.* package.

Does this mean the VM must check for every call if it is a call into=20
the gnu.classpath.* package and if so check the classloader of the callin=
g class?

Ingo
--=20
Ingo Pr=F6tel                                          proetel@aicas.com
aicas GmbH                                        http://www.aicas.com
Haid-und-Neu-Str. 18                        phone   +49 721 663 968-32
76131 Karlsruhe                             fax     +49 721 663 968-93
Germany                                     =20





From MAILER-DAEMON Mon Jul 25 08:52:49 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dx2Rt-0005dr-5X
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 08:52:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dx2QW-0005RN-Vy
	for classpath@gnu.org; Mon, 25 Jul 2005 08:51:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dx2QK-0005KT-4Q
	for classpath@gnu.org; Mon, 25 Jul 2005 08:51:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dx2QJ-0005GE-Mn
	for classpath@gnu.org; Mon, 25 Jul 2005 08:51:11 -0400
Received: from [64.233.182.207] (helo=nproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dx2WM-00052Q-NX
	for classpath@gnu.org; Mon, 25 Jul 2005 08:57:26 -0400
Received: by nproxy.gmail.com with SMTP id i2so130574nfe
	for <classpath@gnu.org>; Mon, 25 Jul 2005 05:46:30 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=JoJwwJ+CvrcM1QH4ezC54+8RYo1PMbYT6AvkLwFgTWGTjDG50l5WD9MeBtymt33rmxf9egRURLgNT+DyDIZwE0toJts18AsdMp6R0nq5o/plJ87YYzt4n1QFRx5XRStcjSHHgOFlArYBlHi4vZyciU7v2WWK1Vcu3GJLw4+MfjI=
Received: by 10.48.250.9 with SMTP id x9mr157542nfh;
	Mon, 25 Jul 2005 05:46:30 -0700 (PDT)
Received: by 10.48.250.6 with HTTP; Mon, 25 Jul 2005 05:46:30 -0700 (PDT)
Message-ID: <2d4cb1ed050725054670a792cc@mail.gmail.com>
Date: Mon, 25 Jul 2005 14:46:30 +0200
From: Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com>
To: classpath@gnu.org
In-Reply-To: <2d4cb1ed05072110212010fd87@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <2d4cb1ed05072105532ec43bc8@mail.gmail.com>
	<m3fyu8cent.fsf@localhost.localdomain>
	<2d4cb1ed05072110212010fd87@mail.gmail.com>
Subject: Using GNU Classpath while changing his hierarchy
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2005 12:52:47 -0000

Oups..., I completely forget to answer to the mailing list *too*...
So, here's what I answered to Tom...

---------- Forwarded message ----------
From: Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com>
Date: 21 juil. 2005 19:21
Subject: Re: Using GNU Classpath while changing his hierarchy
To: tromey@redhat.com


In fact, it's a lot more than a simple refactoring, because I need, by
example, to rewrite the String.java to use an array of bytes (coded
with UTF-8) instead of an array of char, to save some space for the
smartcards...
It's only one of the substitutions I need to do, and I need to do them
automatically, since the developpers getting hands on the whole thing
will just have to download the new version of the Classpath archive,
and run a script to merge it with the rest of the project

21 Jul 2005 10:22:30 -0600, Tom Tromey <tromey@redhat.com>:
> >>>>> ">" =3D=3D Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com=
> writes:
>
> >> The GNU Classpath project evolves while I'm doing this. And some
> >> substitution rules available for today won't be available in future
> >> releases of the Classpath project. Some new classes/substitutions will
> >> be introduced with each new version...
>
> >> So, I post this message to ask if I'm not missing something in the
> >> process, if there is a existing tool or some guidelines to help me
> >> keep track of the diff in a streamlined way.
>
> >> Do you have any comments or  suggestions ?
>
> Use Eclipse to do the refactoring for you?
> Or, do the refactoring *after* the build using a tool like ASM?
>
> Tom
>



From MAILER-DAEMON Mon Jul 25 09:46:30 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dx3Hp-00048d-Nh
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 09:46:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dx3Ho-00048U-No
	for classpath@gnu.org; Mon, 25 Jul 2005 09:46:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dx3Hn-00048I-8m
	for classpath@gnu.org; Mon, 25 Jul 2005 09:46:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dx3AB-0002sf-Pc
	for classpath@gnu.org; Mon, 25 Jul 2005 09:38:35 -0400
Received: from [212.126.219.82] (helo=mail.aicas.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dx2zL-00008v-3g
	for classpath@gnu.org; Mon, 25 Jul 2005 09:27:23 -0400
Received: from [192.168.1.72] (unknown [192.168.1.72])
	by mail.aicas.de (Postfix) with ESMTP id 0EBAD6BC435;
	Mon, 25 Jul 2005 15:17:43 +0200 (CEST)
Message-ID: <42E4E622.1000002@aicas.com>
Date: Mon, 25 Jul 2005 15:16:18 +0200
From: Roman Kennke <kennke@aicas.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Sven de Marothy <sven@physto.se>
References: <1122157176.23588.37.camel@qcplx01.physto.se>
In-Reply-To: <1122157176.23588.37.camel@qcplx01.physto.se>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: ClasspathToolkit redesign.
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 Jul 2005 13:46:28 -0000

Hi Sven,

> Ok, I've been looking into the issue of our AWT peer interface now that
> I've been running my peers on Classpath in earnest.
> 
> The goal here is to try to bring our peer interface as close to Sun's
> as possible. And simplify things for potential peer-authors.

...

> Summary: So, my opinion: Keep most of the font stuff and the robot
> stuff. Get rid of the rest, and we'll have an interface which is both
> closer to the JDKs, and simpler.
> 
> Comments?

A cleanup is very welcome. Go ahead.

/Roman



From MAILER-DAEMON Mon Jul 25 09:47:05 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dx3IP-0004LL-0h
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 09:47:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dx3Ad-0003Bx-4F
	for classpath@gnu.org; Mon, 25 Jul 2005 09:39:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dx3Ab-0003Bj-BA
	for classpath@gnu.org; Mon, 25 Jul 2005 09:39:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dx39x-0002sf-Mc
	for classpath@gnu.org; Mon, 25 Jul 2005 09:38:22 -0400
Received: from [195.186.18.64] (helo=mail17.bluewin.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dx32Z-0000Il-Jq
	for classpath@gnu.org; Mon, 25 Jul 2005 09:30:43 -0400
Received: from [127.0.0.1] (62.202.72.62) by mail17.bluewin.ch (Bluewin
	7.2.063) id 42DF6DB9000AEC88 for classpath@gnu.org;
	Mon, 25 Jul 2005 13:19:45 +0000
Message-ID: <42E4E6EB.9050709@bluewin.ch>
Date: Mon, 25 Jul 2005 15:19:39 +0200
From: Meskauskas Audrius <audriusa@bluewin.ch>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "classpath@gnu.org" <classpath@gnu.org>
References: <2d4cb1ed05072105532ec43bc8@mail.gmail.com>	<m3fyu8cent.fsf@localhost.localdomain>	<2d4cb1ed05072110212010fd87@mail.gmail.com>
	<2d4cb1ed050725054670a792cc@mail.gmail.com>
In-Reply-To: <2d4cb1ed050725054670a792cc@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: Using GNU Classpath while changing his hierarchy
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: audriusa@bluewin.ch
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2005 13:47:02 -0000

Jean-Philippe Deblonde wrote:

>In fact, it's a lot more than a simple refactoring, because I need, by
>example, to rewrite the String.java to use an array of bytes (coded
>with UTF-8) instead of an array of char, to save some space for the
>smartcards..
>
Maybe I do not understand properly, but why on the world are you doing 
so strange? GNU Classpath Reader and Writer supports not just UTF-8, but 
also many other encodings, see release notes for details. You only write 
in UTF-16 if you want to. Are you using smart card as the main memory 
for the application?





From MAILER-DAEMON Mon Jul 25 10:16:31 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dx3ks-00068b-SA
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 10:16:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dx3kq-00067v-N2
	for classpath@gnu.org; Mon, 25 Jul 2005 10:16:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dx3kp-00067L-3V
	for classpath@gnu.org; Mon, 25 Jul 2005 10:16:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dx3eo-00047H-Nw
	for classpath@gnu.org; Mon, 25 Jul 2005 10:10:14 -0400
Received: from [64.233.182.200] (helo=nproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dx3Wu-000397-Iu
	for classpath@gnu.org; Mon, 25 Jul 2005 10:02:04 -0400
Received: by nproxy.gmail.com with SMTP id i2so135317nfe
	for <classpath@gnu.org>; Mon, 25 Jul 2005 06:51:09 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=mz1cKfFD1X8xWIq2H5NUEK30KJk+G+5VqNtKOnssNewoy1JP+UV2boxfLiF77dNge4oatm9ZAMJ8evLKfj0u3+N+Jqf9gQUCwBiZs8vBlfIfci9pR7gTIq+jh+lh8Vb2eK6ZY6JRryJW2vI2rJymIoJ0yd8jjKOJd8YXi5jqT9k=
Received: by 10.48.144.1 with SMTP id r1mr160642nfd;
	Mon, 25 Jul 2005 06:51:09 -0700 (PDT)
Received: by 10.48.250.6 with HTTP; Mon, 25 Jul 2005 06:51:09 -0700 (PDT)
Message-ID: <2d4cb1ed0507250651214397b5@mail.gmail.com>
Date: Mon, 25 Jul 2005 15:51:09 +0200
From: Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com>
To: audriusa@bluewin.ch, classpath@gnu.org
In-Reply-To: <42E4E6EB.9050709@bluewin.ch>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <2d4cb1ed05072105532ec43bc8@mail.gmail.com>
	<m3fyu8cent.fsf@localhost.localdomain>
	<2d4cb1ed05072110212010fd87@mail.gmail.com>
	<2d4cb1ed050725054670a792cc@mail.gmail.com>
	<42E4E6EB.9050709@bluewin.ch>
Cc: 
Subject: Re: Using GNU Classpath while changing his hierarchy
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2005 14:16:29 -0000

The idea was to save memory space & execution time, so the String.java
use *internally* UTF format.

2005/7/25, Meskauskas Audrius <audriusa@bluewin.ch>:
> Jean-Philippe Deblonde wrote:
>=20
> >In fact, it's a lot more than a simple refactoring, because I need, by
> >example, to rewrite the String.java to use an array of bytes (coded
> >with UTF-8) instead of an array of char, to save some space for the
> >smartcards..
> >
> Maybe I do not understand properly, but why on the world are you doing
> so strange? GNU Classpath Reader and Writer supports not just UTF-8, but
> also many other encodings, see release notes for details. You only write
> in UTF-16 if you want to. Are you using smart card as the main memory
> for the application?
>=20
>=20
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
>



From MAILER-DAEMON Mon Jul 25 11:31:50 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dx4vj-0005RO-RM
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 11:31:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dx4vY-0005Kl-MX
	for classpath@gnu.org; Mon, 25 Jul 2005 11:31:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dx4vO-0005FY-C3
	for classpath@gnu.org; Mon, 25 Jul 2005 11:31:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dx4vO-0005FH-0Y
	for classpath@gnu.org; Mon, 25 Jul 2005 11:31:26 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dx53C-0002pX-RH
	for classpath@gnu.org; Mon, 25 Jul 2005 11:39:31 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dx4t5-0004Rc-00; Mon, 25 Jul 2005 17:29:03 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jean-Philippe Deblonde <jean.philippe.deblonde@gmail.com>
In-Reply-To: <2d4cb1ed050725054670a792cc@mail.gmail.com>
References: <2d4cb1ed05072105532ec43bc8@mail.gmail.com>
	<m3fyu8cent.fsf@localhost.localdomain>
	<2d4cb1ed05072110212010fd87@mail.gmail.com>
	<2d4cb1ed050725054670a792cc@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-kfDlaO9cH+P6wl9X366e"
Date: Mon, 25 Jul 2005 17:28:36 +0200
Message-Id: <1122305316.5654.155.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org
Subject: Re: Using GNU Classpath while changing his hierarchy
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 Jul 2005 15:31:41 -0000


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

Hi,

On Mon, 2005-07-25 at 14:46 +0200, Jean-Philippe Deblonde wrote:
> In fact, it's a lot more than a simple refactoring, because I need, by
> example, to rewrite the String.java to use an array of bytes (coded
> with UTF-8) instead of an array of char, to save some space for the
> smartcards...

This is what wonka does for internal string representations btw.

> It's only one of the substitutions I need to do, and I need to do them
> automatically, since the developpers getting hands on the whole thing
> will just have to download the new version of the Classpath archive,
> and run a script to merge it with the rest of the project

It is a pain to maintain a forked version. And the best way to make sure
you won't have to is to provide patches to make these things possible
for the runtime to tweak. I am sure others will love to help with that
if you come up with some nice optimization points for the core classes.
Just supply some patches and a reference implementation and we can see
if we can incorporate it in the default build. We make regular releases
(once every 2 months at least).

Thanks,

Mark

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

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

iD8DBQBC5QUkxVhZCJWr9QwRArZrAKCZpCHbicYfBlO6nQ8TSlSoQUpmfACgoZ8m
XhrfAjs43M79l4Jpfo15S9E=
=m9aA
-----END PGP SIGNATURE-----

--=-kfDlaO9cH+P6wl9X366e--




From MAILER-DAEMON Mon Jul 25 12:37:42 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dx5xU-0002Ut-KG
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 12:37:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dx5xR-0002TY-9B
	for classpath@gnu.org; Mon, 25 Jul 2005 12:37:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dx5xP-0002SS-7c
	for classpath@gnu.org; Mon, 25 Jul 2005 12:37:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dx5xP-0002RN-2O
	for classpath@gnu.org; Mon, 25 Jul 2005 12:37:35 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dx64h-0007io-U3
	for classpath@gnu.org; Mon, 25 Jul 2005 12:45:08 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dx5uW-00052H-00; Mon, 25 Jul 2005 18:34:36 +0200
From: Mark Wielaard <mark@klomp.org>
To: Sven de Marothy <sven@physto.se>
In-Reply-To: <1122157176.23588.37.camel@qcplx01.physto.se>
References: <1122157176.23588.37.camel@qcplx01.physto.se>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-4KJDvirjSna9gNG/LPu6"
Date: Mon, 25 Jul 2005 18:34:10 +0200
Message-Id: <1122309250.5654.191.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Cc: classpath@gnu.org
Subject: Re: ClasspathToolkit redesign.
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 Jul 2005 16:37:38 -0000


--=-4KJDvirjSna9gNG/LPu6
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

I'll let Thomas reply with more details since he knows a lot more about
this. But here are some quick references that might help.

On Sun, 2005-07-24 at 00:19 +0200, Sven de Marothy wrote:
> Method: getClasspathFontPeer(), getClasspathTextLayoutPeer(), getFont()=20
> Comment: We need these. No way around that. But they could perhaps be
> put in a seperate ClasspathFontInterface or something.
>=20
> Method: createFont()
> Comment: Um, we don't even implement this ourselves. Sorry Sacha, but
> there's no point. Right now anyway.

Note that Sascha did make a design and a start of an implementation:
http://www.brawer.ch/software/fonts/

> Method: createEmbeddedWindow ()
> Comment: What's an EmbeddedWindow and why do we need this as part of the
> peer interface?

It is an extension for things like gcjwebplugin. We also briefly
discussed this with the OpenOffice hackers who would also like some way
to create embedded windows (inside documents). See
http://savannah.nongnu.org/cgi-bin/viewcvs/gcjwebplugin/gcjwebplugin/src/gn=
u/gcjwebplugin/PluginAppletWindow.java?rev=3DHEAD&content-type=3Dtext/vnd.v=
iewcvs-markup

> Method: registerImageIOSpis()
> Comment: Unnecessary. The peers can register their SPIs (if they have
> any) themselves without this.

Agreed. Or use the META-INF/services hack.

Cheers,

Mark

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

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

iD8DBQBC5RSCxVhZCJWr9QwRAmjgAJ0TaunVpOACa5lOzw6GSmXkiJ/shQCeIBfQ
3SWAPJoyEvC+yr7TSr2DERM=
=u/NH
-----END PGP SIGNATURE-----

--=-4KJDvirjSna9gNG/LPu6--




From MAILER-DAEMON Mon Jul 25 13:29:14 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dx6lM-0008KZ-I8
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 13:29:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dx6lG-0008Gj-Ra
	for classpath@gnu.org; Mon, 25 Jul 2005 13:29:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dx6l7-0008AX-LW
	for classpath@gnu.org; Mon, 25 Jul 2005 13:28:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dx6l7-00089w-BT
	for classpath@gnu.org; Mon, 25 Jul 2005 13:28:57 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dx6sj-0002vR-4K
	for classpath@gnu.org; Mon, 25 Jul 2005 13:36: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 j6PHPefW003195;
	Mon, 25 Jul 2005 13:25:45 -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 j6PHPYV12105; 
	Mon, 25 Jul 2005 13:25:34 -0400
Received: from tortoise.toronto.redhat.com
	(IDENT:U2FsdGVkX1+VGh1TNQGXxkxob9MyyxtGRXrc8AQXVhU@tortoise.toronto.redhat.com
	[172.16.14.92])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	j6PHPY1M007837; Mon, 25 Jul 2005 13:25:34 -0400
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: Sven de Marothy <sven@physto.se>
In-Reply-To: <1122157176.23588.37.camel@qcplx01.physto.se>
References: <1122157176.23588.37.camel@qcplx01.physto.se>
Content-Type: text/plain
Date: Mon, 25 Jul 2005 13:25:33 -0400
Message-Id: <1122312333.28716.25.camel@tortoise.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-5) 
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: ClasspathToolkit redesign.
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 Jul 2005 17:29:10 -0000

Hi,

On Sun, 2005-07-24 at 00:19 +0200, Sven de Marothy wrote:

[...]

> Method: getClasspathFontPeer(), getClasspathTextLayoutPeer(), getFont() 
> Comment: We need these. No way around that. But they could perhaps be
> put in a seperate ClasspathFontInterface or something.

OK.

> 
> Method: createFont()
> Comment: Um, we don't even implement this ourselves. Sorry Sacha, but
> there's no point. Right now anyway.
> 
> Method: createRobot()
> Comment: This we need. But it's a rather singular item. Replace with a
> property setting? Certain peers may not (or cannot) have Robots anyway.

How could this be replaced by a property setting?

> 
> Method: createEmbeddedWindow ()
> Comment: What's an EmbeddedWindow and why do we need this as part of the
> peer interface?

An EmbeddedWindowPeer is a wrapper around the native toolkit's
implementation of the XEMBED protocol.  gnu.java.awt.EmbeddedWindow
should use the current toolkit's XEMBED implementation, e.g. for GTK,
GtkPlug.  We'll need some way to create the peer dependent on the
toolkit.  Whatever we do for Robot can be done here too.

> 
> Method: registerImageIOSpis()
> Comment: Unnecessary. The peers can register their SPIs (if they have
> any) themselves without this.
> 
> Method: nativeQueueEmpty(), wakeNativeQueue(), iterateNativeQueue()
> Comment: These are specific to how the GTK peers handles threads and
> events, and should certainly not be part of the interface. The versions
> of EventQueue using these methods should be reverted too. The GTK peers
> should extend and overload EventQueue for their custom approach instead.
> 
> Summary: So, my opinion: Keep most of the font stuff and the robot
> stuff. Get rid of the rest, and we'll have an interface which is both
> closer to the JDKs, and simpler.
> 
> Comments?

Yeah, this sounds good.

Tom





From MAILER-DAEMON Mon Jul 25 19:11:58 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DxC73-0006Ve-U6
	for mharc-classpath@gnu.org; Mon, 25 Jul 2005 19:11:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DxBzA-0005Rm-To
	for classpath@gnu.org; Mon, 25 Jul 2005 19:03:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DxByr-0005LP-Of
	for classpath@gnu.org; Mon, 25 Jul 2005 19:03:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DxByr-0005Af-D3
	for classpath@gnu.org; Mon, 25 Jul 2005 19:03:29 -0400
Received: from [207.203.41.67] (helo=zixvpm01.stv.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DxBhM-0006uS-Jq
	for classpath@gnu.org; Mon, 25 Jul 2005 18:45:24 -0400
Received: from zixvpm01.stv.org (ZixVPM [127.0.0.1])
	by Outbound.stv.org (Proprietary) with ESMTP id 5E4FC13004A
	for <classpath@gnu.org>; Mon, 25 Jul 2005 17:35:25 -0500 (CDT)
Received: from STVAVAPPL1.BHMSTV (unknown [10.104.14.2])
	by zixvpm01.stv.org (Proprietary) with SMTP id 04652190004
	for <classpath@gnu.org>; Mon, 25 Jul 2005 17:35:25 -0500 (CDT)
Received: from unknown(10.104.145.22) by STVAVAPPL1.BHMSTV via csmap 
	id 74cd56f8_fd59_11d9_8ce1_00304811e8c8_22331;
	Mon, 25 Jul 2005 17:14:23 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6PMYO3n001885
	for <classpath@gnu.org>; Mon, 25 Jul 2005 17:34:25 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42E568F0.5040908@dellroad.org>
Date: Mon, 25 Jul 2005 17:34:24 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <42CC8A63.7080902@awarix.com>
	<42D01C23.6030805@dellroad.org>	<42E29C7E.4030401@dellroad.org>
	<42E2C3DA.3060000@kaffe.org> <42E4191D.2010005@dellroad.org>
In-Reply-To: <42E4191D.2010005@dellroad.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: JNI assertion failure
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 Jul 2005 23:11:55 -0000

I checked in the aforementioned assertion patch.

     2005-07-25  Archie Cobbs  <archie@dellroad.org>

         * native/jni/classpath/native_state.c: add assertion for object type

-Archie

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



From MAILER-DAEMON Tue Jul 26 10:04:06 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DxQ2P-0003o8-8z
	for mharc-classpath@gnu.org; Tue, 26 Jul 2005 10:04:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DxQ2K-0003m3-7G
	for classpath@gnu.org; Tue, 26 Jul 2005 10:04:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DxQ2E-0003jD-Lr
	for classpath@gnu.org; Tue, 26 Jul 2005 10:03:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DxQ2E-0003Yy-3P
	for classpath@gnu.org; Tue, 26 Jul 2005 10:03:54 -0400
Received: from [81.103.221.48] (helo=mta08-winn.ispmail.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DxPps-0004zD-LT
	for classpath@gnu.org; Tue, 26 Jul 2005 09:51:08 -0400
Received: from aamta12-winn.ispmail.ntl.com ([81.103.221.35])
	by mta08-winn.ispmail.ntl.com with ESMTP id
	<20050726134000.MLPU22560.mta08-winn.ispmail.ntl.com@aamta12-winn.ispmail.ntl.com>
	for <classpath@gnu.org>; Tue, 26 Jul 2005 14:40:00 +0100
Received: from zapata.pink ([82.16.12.40]) by aamta12-winn.ispmail.ntl.com
	with ESMTP
	id <20050726134000.MHCH9998.aamta12-winn.ispmail.ntl.com@zapata.pink>
	for <classpath@gnu.org>; Tue, 26 Jul 2005 14:40:00 +0100
Received: from zapata.pink (localhost.localdomain [127.0.0.1])
	by zapata.pink (8.13.1/8.13.1) with ESMTP id j6QDfBCu030667;
	Tue, 26 Jul 2005 14:41:11 +0100
Received: (from aph@localhost)
	by zapata.pink (8.13.1/8.13.1/Submit) id j6QDfBFn030664;
	Tue, 26 Jul 2005 14:41:11 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17126.15734.146207.61552@zapata.pink>
Date: Tue, 26 Jul 2005 14:41:10 +0100
From: Andrew Haley <aph@redhat.com>
To: classpath@gnu.org
X-Mailer: VM 7.19 under Emacs 21.3.1
Subject: Where is this class defined, anyway?
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 Jul 2005 14:04:01 -0000

Usage:

$ loc org.hsqldb.Server
/usr/share/java/hsqldb-1.73.0.jar
/usr/share/java/hsqldb.jar

Enjoy,

Andrew.


#!/bin/sh 

FOO=$2
if test "x$FOO" == "x"; then
    FOO=/usr/share/java
fi

find "$FOO" -name \*.jar | while read i; do
    if (fastjar tf $i | grep $1) > /dev/null 2>&1 ; then
        echo $i
    fi
done

find "$FOO" -name '*.class' | grep $1



From MAILER-DAEMON Tue Jul 26 15:41:49 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DxVJF-0006cZ-9L
	for mharc-classpath@gnu.org; Tue, 26 Jul 2005 15:41:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DxVJD-0006cP-ND
	for classpath@gnu.org; Tue, 26 Jul 2005 15:41:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DxVJ6-0006aZ-Ss
	for classpath@gnu.org; Tue, 26 Jul 2005 15:41:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DxVJ6-0006aP-O0
	for classpath@gnu.org; Tue, 26 Jul 2005 15:41:40 -0400
Received: from [207.203.41.67] (helo=zixvpm01.stv.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DxVRU-0005QE-DP
	for classpath@gnu.org; Tue, 26 Jul 2005 15:50:20 -0400
Received: from zixvpm01.stv.org (ZixVPM [127.0.0.1])
	by Outbound.stv.org (Proprietary) with ESMTP id F1013130202
	for <classpath@gnu.org>; Tue, 26 Jul 2005 14:40:08 -0500 (CDT)
Received: from STVAVAPPL1.BHMSTV (unknown [10.104.14.2])
	by zixvpm01.stv.org (Proprietary) with SMTP
	id 9FAD7190004; Tue, 26 Jul 2005 14:40:08 -0500 (CDT)
Received: from unknown(10.104.145.22) by STVAVAPPL1.BHMSTV via csmap 
	id 0794229a_fe0a_11d9_9962_00304811e8c8_21509;
	Tue, 26 Jul 2005 14:18:21 -0500 (CDT)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.13.3/8.13.3) with ESMTP id j6QJcJHi002015;
	Tue, 26 Jul 2005 14:38:20 -0500 (CDT)
	(envelope-from archie@dellroad.org)
Message-ID: <42E6912B.4050409@dellroad.org>
Date: Tue, 26 Jul 2005 14:38:19 -0500
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: jcvm-general@lists.sourceforge.net
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Announcing JC virtual machine release 1.4.6
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 Jul 2005 19:41:47 -0000

Announcing JC virtual machine release 1.4.6

This is a minor bug-fix release. It also updates to Classpath version 0.17.

Changes in version 1.4.6:

     - Added new command line flags -Xrnd, -Xnoln, and -Xobj.
     - Fixed JNI method NewObjectArray(); was using the wrong class loader.
     - Fixed Soot bug that could change class initialization order.
     - Fixed bug in classes with a name component starting with underscore.
     - Fixed bug when invoking methods with 'float' parameters dynamically.
     - Fixed bug in Field.getFloat() when promoting byte -> float.
     - Throw IllegalArgumentException instead of IllegalAccessException when
       attempting to retrieve an invalid field via reflection.
     - Upgrade to Classpath 0.17.

http://jcvm.sourceforge.net/

Cheers,
-Archie

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



From MAILER-DAEMON Tue Jul 26 19:43:00 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DxZ4d-0000wr-Vp
	for mharc-classpath@gnu.org; Tue, 26 Jul 2005 19:43:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DxZ2z-0000GW-5x
	for classpath@gnu.org; Tue, 26 Jul 2005 19:41:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DxZ2q-0000CW-R3
	for classpath@gnu.org; Tue, 26 Jul 2005 19:41:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DxZ2q-0008U3-2A
	for classpath@gnu.org; Tue, 26 Jul 2005 19:41:08 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DxZ4j-0002bd-Q0
	for classpath@gnu.org; Tue, 26 Jul 2005 19:43:06 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j6QNVpvf027262;
	Tue, 26 Jul 2005 19:31:51 -0400
Received: from opsy.redhat.com (vpn50-55.rdu.redhat.com [172.16.50.55])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6QNVoV21818; 
	Tue, 26 Jul 2005 19:31:50 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 86B522DD95C; Tue, 26 Jul 2005 17:27:58 -0600 (MDT)
Sender: tromey@redhat.com
To: Andrew Haley <aph@redhat.com>
References: <D92197D0A6547B44A1567814F851FA680CAF0C@LEMBU.sumatrasoftware.com>
	<17124.44220.569294.984480@zapata.pink>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 26 Jul 2005 17:27:58 -0600
In-Reply-To: <17124.44220.569294.984480@zapata.pink>
Message-ID: <m3zms9du69.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: Mark Wielaard <mark@klomp.org>, GNU Classpath ML <classpath@gnu.org>,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Implementation details of VMStackWalker
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 Jul 2005 23:42:57 -0000

>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

Andrew> IMO trying to unify low-level stack walker code is unnecessary and
Andrew> leads to too many compromises; it's a merge too far.

It would be preferable from a maintenance point of view if we could
find a way to merge this.  A fair number of our divergences come from
this particular area.

Tom



From MAILER-DAEMON Wed Jul 27 04:54:08 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dxhfz-0005WV-Rj
	for mharc-classpath@gnu.org; Wed, 27 Jul 2005 04:54:08 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dxhfw-0005VS-JL
	for classpath@gnu.org; Wed, 27 Jul 2005 04:54:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dxhfv-0005V6-H5
	for classpath@gnu.org; Wed, 27 Jul 2005 04:54:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dxhca-00038e-Al
	for classpath@gnu.org; Wed, 27 Jul 2005 04:50:36 -0400
Received: from [64.233.182.204] (helo=nproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DxhQ3-0004SC-6m
	for classpath@gnu.org; Wed, 27 Jul 2005 04:37:39 -0400
Received: by nproxy.gmail.com with SMTP id b2so23860nfe
	for <classpath@gnu.org>; Wed, 27 Jul 2005 01:26:19 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=VtFzH4MeszVAi8Q9y++rzJxsboK2pxC2c/ZdDBTlOTLdIaCKj/LZV30u1vNZUb9UtLHEYDsdTm9XeI2qIZeTEcnw/QwOW5ScLtv+2NBJ6Ee2yJNW1pmqlw8XuT7zJiYlpaIhv7Cw0D6ZaQQBtflggT8ztKaIPo2kgGyvbFDs+80=
Received: by 10.48.250.16 with SMTP id x16mr15449nfh;
	Wed, 27 Jul 2005 01:26:19 -0700 (PDT)
Received: by 10.48.250.5 with HTTP; Wed, 27 Jul 2005 01:26:19 -0700 (PDT)
Message-ID: <d58509a80507270126140021cc@mail.gmail.com>
Date: Wed, 27 Jul 2005 09:26:19 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: GNU Classpath <classpath@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Subject: JamVM and CVS head
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Robert Lougher <rob.lougher@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Jul 2005 08:54:05 -0000

Hi,

Sorry for mailling the whole list, but a couple of people are
reporting problems using JamVM with CVS Classpath, and I'm assuming
others will see it as well.  It's because of a VM interface change
that went in yesterday.  It can be fixed by adding the line:

  static boolean USE_VM_CACHE =3D true;

to jamvm-1.3.1/lib/java/lang/VMClassLoader.java and rebuilding.  JamVM
already implements findLoadedClass natively, so this is all that is
needed to turn it on.

If you can wait, I intend to do a bug-fix release later on today.

Rob.



From MAILER-DAEMON Wed Jul 27 06:53:22 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DxjXN-000806-Mn
	for mharc-classpath@gnu.org; Wed, 27 Jul 2005 06:53:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DxdiI-0003mk-4p
	for classpath@gnu.org; Wed, 27 Jul 2005 00:40:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dxdi0-0003ev-Lo
	for classpath@gnu.org; Wed, 27 Jul 2005 00:39:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dxdi0-0003XS-0i
	for classpath@gnu.org; Wed, 27 Jul 2005 00:39:56 -0400
Received: from [59.16.165.95] (helo=echidna.id.au)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DxdYN-000080-Ka
	for classpath@gnu.org; Wed, 27 Jul 2005 00:30:00 -0400
Received: from 104.117.215.140 by smtp.starleaton.com.au;
	Wed, 27 Jul 2005 04:34:33 +0000
Message-ID: <8ebc01c59264$ffca37a8$d276383d@echidna.id.au>
From: "Vaughn Crump" <vaughncrump@starleaton.com.au>
To: classpath@gnu.org
Date: Wed, 27 Jul 2005 03:34:27 -0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Wed, 27 Jul 2005 06:53:17 -0400
Subject: Extra Time - Cures premature ejaculation
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 Jul 2005 04:44:12 -0000

Hello,

Did you ejaculate before or within a few minutes of
penetration?

Premature ejaculation occurs when you ejaculate too quickly
and without control. It occurs before or shortly after
penetration. Premature ejaculation interferes with the sexual
pleasure of both you and your partner. It causes feelings of
guilt, embarrassment, frustration, and depression.

Extra-Time is the only male sexual performance formula that, 
not only stops premature ejaculation, but actually "cures" it. 
Extra-Time is the only product that allows "YOU" to control 
when you ejaculate.

- Non-hormonal herbal therapy.
- Acts locally on the sex organs.
- Regulates process of ejaculation.
- Acts through neuro-endocrine pathway.
- Acts on the high centers of emotion in the brain.

Look here: http://degradedly.net/et/?meds




No thanks: http://degradedly.net/rr.php




From MAILER-DAEMON Wed Jul 27 06:53:23 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DxjXO-00080B-EV
	for mharc-classpath@gnu.org; Wed, 27 Jul 2005 06:53:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dxiuc-0005J0-PB
	for classpath@gnu.org; Wed, 27 Jul 2005 06:13:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DxiuS-0005Fz-50
	for classpath@gnu.org; Wed, 27 Jul 2005 06:13:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DxiuP-00050w-SS
	for classpath@gnu.org; Wed, 27 Jul 2005 06:13:06 -0400
Received: from [202.229.203.116] (helo=yahoo.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dxj0Y-0002ct-MC
	for classpath@gnu.org; Wed, 27 Jul 2005 06:19:27 -0400
Received: from unknown (HELO mail743589) (124.185.132.20)
 by 0 with SMTP;
Date: Wed, 27 Jul 2005 19:01:49 +0900
From: "ayaka   "<miyoko00ww@yahoo.co.jp>
To: classpath@gnu.org
Message-Id: <20050727180939.671.YAHOO.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-2022-JP"
Content-Transfer-Encoding: 7bit
X-Mailer: Shadow Mail v. 2.0
X-Mailman-Approved-At: Wed, 27 Jul 2005 06:53:16 -0400
Subject: =?iso-2022-jp?b?GyRCQk4kTklVJC05ZyQkJCxBMERzJEckOSQxJEkyRiRpGyhC?=
	=?iso-2022-jp?b?GyRCJDckJDt2JGIbKEI=?=
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 Jul 2005 10:13:22 -0000

$B6qBNE*$K$I$s$J;R$,9%$-$G$9$+!)(J
$B<L??$r8+$F$b$i$($P2r$k$H;W$$$^$9$1$I;d$A$g$C$HCOL#$J$s$G$9!#!#$3$l$G$b$b$79%$_(J
$B$@$C$?$iBg?M$J4X78K>$s$G$$$^$9!#(J
$BBN$NIU$-9g$$$,A0Ds$K$J$C$F$7$^$$$^$9$1$I!";~4|$b;~4|$J$s$G2V2P$r8+$K9T$C$?$j(J
$B2F$i$7$$;v$b#2?M$G$7$F$_$?$$$G$9$M(J(^^)$B:#F|$A$g$C$H$*OC=PMh$^$;$s$+!)(J

>> $BJV?.$O$3$A$i(J <<
http://tap.ms/new_m.html?media=pur








From MAILER-DAEMON Wed Jul 27 07:07:55 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DxjlQ-0003pL-Dt
	for mharc-classpath@gnu.org; Wed, 27 Jul 2005 07:07:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DxjlK-0003nT-QF
	for classpath@gnu.org; Wed, 27 Jul 2005 07:07:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DxjlH-0003lv-H7
	for classpath@gnu.org; Wed, 27 Jul 2005 07:07:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DxjlF-0003Uw-Mz
	for classpath@gnu.org; Wed, 27 Jul 2005 07:07:41 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dxjif-0005VK-Lw
	for classpath@gnu.org; Wed, 27 Jul 2005 07:05:01 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1DxjYD-0004rt-00
	for <classpath@gnu.org>; Wed, 27 Jul 2005 12:54:13 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-ndnu5fztibeYFGOJMfsg"
Date: Wed, 27 Jul 2005 12:54:05 +0200
Message-Id: <1122461645.9474.13.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: Sorry for the spam
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 Jul 2005 11:07:48 -0000


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

Hi,

I hadn't had coffee yet and for some inexplicable reason decided to
accept all the spam messages in the moderation queue. My apologies if
your own spam filter didn't filter them out. The list should normally be
spam free. It won't happen again.

Sorry,

Mark

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

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

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

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

iD8DBQBC52fNxVhZCJWr9QwRAoqsAJ9sShhd+gPYZb54UsS2ZvMte4GTKACeKiz4
zZjjYXtVg4MOU7sNtsBcEe8=
=UFpm
-----END PGP SIGNATURE-----

--=-ndnu5fztibeYFGOJMfsg--




From MAILER-DAEMON Wed Jul 27 07:15:38 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dxjst-0006dp-Uv
	for mharc-classpath@gnu.org; Wed, 27 Jul 2005 07:15:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dxjso-0006cK-44
	for classpath@gnu.org; Wed, 27 Jul 2005 07:15:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dxjsk-0006bF-8N
	for classpath@gnu.org; Wed, 27 Jul 2005 07:15:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dxjsj-0006To-3s
	for classpath@gnu.org; Wed, 27 Jul 2005 07:15:25 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DxjzJ-0006dZ-N0
	for classpath@gnu.org; Wed, 27 Jul 2005 07:22:13 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dxjor-00058N-00
	for <classpath@gnu.org>; Wed, 27 Jul 2005 13:11:25 +0200
From: Mark Wielaard <mark@klomp.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <d58509a80507270126140021cc@mail.gmail.com>
References: <d58509a80507270126140021cc@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-6HUsWiXg0/xjqzs4lMln"
Date: Wed, 27 Jul 2005 13:11:17 +0200
Message-Id: <1122462677.9474.29.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Subject: "new" findLoadedClass()/USE_VM_CACHE VM interface (Was: JamVM and
	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: Wed, 27 Jul 2005 11:15:33 -0000


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

Hi,

On Wed, 2005-07-27 at 09:26 +0100, Robert Lougher wrote:
> It can be fixed by adding the line:
>=20
>   static boolean USE_VM_CACHE =3D true;
>=20
> JamVM already implements findLoadedClass natively, so this is all that is
> needed to turn it on.

The change that Robert mentions was discussed on the classpath-patches
list here:

http://lists.gnu.org/archive/html/classpath-patches/2005-07/msg00402.html
http://lists.gnu.org/archive/html/classpath-patches/2005-07/msg00410.html

I had assumed that old runtimes would start out with USE_VM_CACHE =3D
false since that gives them the old (pre 0.17+cvs) behavior. So I
wondered why/how Robert had seen the future and pro-actively added the
right infrastructure for JamVM. As it happens Robert, David Holmes and
Archie Cobbs already discussed this idea a year ago. It makes for an
interesting read:

http://lists.gnu.org/archive/html/classpath/2004-03/msg00177.html

Cheers,

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

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

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

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

iD8DBQBC52vVxVhZCJWr9QwRAtcwAJ9E3wrlLnBHEuYgLjVqDXmon4szlwCfZZ2m
BYNo47c6NnPxFIURjVq9jdw=
=kLuw
-----END PGP SIGNATURE-----

--=-6HUsWiXg0/xjqzs4lMln--




From MAILER-DAEMON Wed Jul 27 14:01:15 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DxqDS-0003n2-Rw
	for mharc-classpath@gnu.org; Wed, 27 Jul 2005 14:01:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DxqCu-0003fr-JH
	for classpath@gnu.org; Wed, 27 Jul 2005 14:00:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DxqCi-0003Y7-At
	for classpath@gnu.org; Wed, 27 Jul 2005 14:00:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DxqCg-0003U2-Rr
	for classpath@gnu.org; Wed, 27 Jul 2005 14:00:26 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DxqGw-0005no-2H
	for classpath@gnu.org; Wed, 27 Jul 2005 14:04:50 -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 j6RHrEmZ004620;
	Wed, 27 Jul 2005 13:53:14 -0400
Received: from opsy.redhat.com (vpn50-50.rdu.redhat.com [172.16.50.50])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6RHrDV12806; 
	Wed, 27 Jul 2005 13:53:13 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id A53AA2DD95E; Wed, 27 Jul 2005 11:49:19 -0600 (MDT)
Sender: tromey@redhat.com
To: Christian Thalinger <twisti@complang.tuwien.ac.at>
References: <1122282127.4784.10.camel@localhost.localdomain>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 27 Jul 2005 11:49:19 -0600
In-Reply-To: <1122282127.4784.10.camel@localhost.localdomain>
Message-ID: <m31x5kcf6o.fsf@localhost.localdomain>
Lines: 25
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-ml <classpath@gnu.org>
Subject: Re: GJava_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor possible
	crash
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Jul 2005 18:00:46 -0000

>>>>> "Twisti" == Christian Thalinger <twisti@complang.tuwien.ac.at> writes:

Twisti> We have some problems with the spec jvm applet and i think i've found a
Twisti> problem. Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor uses
Twisti> NSA_GET_PTR to get the graphics pointer, which calls cp_gtk_get_state.
Twisti> This function may return NULL in exception case, which lets this code
Twisti> crash:

Was this fixed by this patch yesterday?

2005-07-26  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GdkGraphics.java,
	native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Add
	static initializer.
	(initStaticState): New method.
	Add new global graphics reference state table and macros.
	* include/gnu_java_awt_peer_gtk_GdkGraphics.h: Regenerate.
	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Use new
	NSA_GET_G_PTR macro to retreive graphics objects.
	* native/jni/gtk-peer/gtkpeer.h: Add new graphics state table and
	macros.


Tom



From MAILER-DAEMON Thu Jul 28 04:10:07 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dy3Sv-0001e9-Op
	for mharc-classpath@gnu.org; Thu, 28 Jul 2005 04:10:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dy3Ss-0001dU-Fq
	for classpath@gnu.org; Thu, 28 Jul 2005 04:10:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dy3So-0001cm-QA
	for classpath@gnu.org; Thu, 28 Jul 2005 04:10:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dy3Sn-0001cP-6y
	for classpath@gnu.org; Thu, 28 Jul 2005 04:09:57 -0400
Received: from [213.46.255.25] (helo=viefep12-int.chello.at)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dy3al-0000y9-0V
	for classpath@gnu.org; Thu, 28 Jul 2005 04:18:11 -0400
Received: from workstation.home.at ([213.47.70.108]) by viefep12-int.chello.at
	(InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP
	id <20050728080637.SSCQ1634.viefep12-int.chello.at@workstation.home.at>;
	Thu, 28 Jul 2005 10:06:37 +0200
From: Christian Thalinger <twisti@complang.tuwien.ac.at>
To: tromey@redhat.com
In-Reply-To: <m31x5kcf6o.fsf@localhost.localdomain>
References: <1122282127.4784.10.camel@localhost.localdomain>
	<m31x5kcf6o.fsf@localhost.localdomain>
Content-Type: text/plain
Date: Thu, 28 Jul 2005 10:06:37 +0200
Message-Id: <1122537997.7027.9.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 
Content-Transfer-Encoding: 7bit
Cc: classpath-ml <classpath@gnu.org>
Subject: Re: GJava_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor possible
	crash
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 Jul 2005 08:10:03 -0000

On Wed, 2005-07-27 at 11:49 -0600, Tom Tromey wrote: 
> >>>>> "Twisti" == Christian Thalinger <twisti@complang.tuwien.ac.at> writes:
> 
> Twisti> We have some problems with the spec jvm applet and i think i've found a
> Twisti> problem. Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor uses
> Twisti> NSA_GET_PTR to get the graphics pointer, which calls cp_gtk_get_state.
> Twisti> This function may return NULL in exception case, which lets this code
> Twisti> crash:
> 
> Was this fixed by this patch yesterday?
> 
> 2005-07-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
> 
> 	* gnu/java/awt/peer/gtk/GdkGraphics.java,
> 	native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Add
> 	static initializer.
> 	(initStaticState): New method.
> 	Add new global graphics reference state table and macros.
> 	* include/gnu_java_awt_peer_gtk_GdkGraphics.h: Regenerate.
> 	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Use new
> 	NSA_GET_G_PTR macro to retreive graphics objects.
> 	* native/jni/gtk-peer/gtkpeer.h: Add new graphics state table and
> 	macros.

I don't think so. It's actually not a classpath bug i hit (it's
definitely a cacao bug), it's more theoretical. As the function _can_
return NULL and is dereferenced without checking. And this can lead to
crashes somewhere in jni code. I don't know what your guidelines are in
such a case.

TWISTI




From MAILER-DAEMON Thu Jul 28 08:09:59 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dy7D2-0007OH-Uz
	for mharc-classpath@gnu.org; Thu, 28 Jul 2005 08:09:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dy7Cx-0007L1-Ld
	for classpath@gnu.org; Thu, 28 Jul 2005 08:09:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dy7BB-0006X8-S1
	for classpath@gnu.org; Thu, 28 Jul 2005 08:08:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dy7Au-000602-I2
	for classpath@gnu.org; Thu, 28 Jul 2005 08:07:44 -0400
Received: from [65.54.174.32] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dy77u-0006RP-PT
	for classpath@gnu.org; Thu, 28 Jul 2005 08:04:38 -0400
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Thu, 28 Jul 2005 04:52:03 -0700
Message-ID: <BAY103-F222F3709E2F9580906A700A9CF0@phx.gbl>
Received: from 65.54.174.200 by by103fd.bay103.hotmail.msn.com with HTTP;
	Thu, 28 Jul 2005 11:52:02 GMT
X-Originating-IP: [217.91.108.58]
X-Originating-Email: [theuserbl@hotmail.com]
X-Sender: theuserbl@hotmail.com
From: "theUser BL" <theuserbl@hotmail.com>
To: classpath@gnu.org
Bcc: 
Date: Thu, 28 Jul 2005 11:52:02 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
X-OriginalArrivalTime: 28 Jul 2005 11:52:03.0377 (UTC)
	FILETIME=[C52C7A10:01C5936A]
Subject: MetalIconFactory Was: additional 16x16 Metal icons
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 Jul 2005 12:09:53 -0000

I have now integrated my icons in MetalIconFactory.java.

Have a look at
http://www.theuserbl.ag.vu/MetalIconFactory.java

But I don't know if it works.
I have no JVM on MS-Windows, which can run GNU Classpath.
And I am not a programmer, so that I have only used existing Classpath-code 
as template to integrate my icons there.

And to Roman:
I have looked in Suns MetalIconFactory. But only to create extract temporary 
the computer ircon, to see how it look like, when an Sun icon is in AWT 
drawn.
But I have _not_ tryed to understand _how_ Sun draw this little icon (which 
line at first or so).

So the icons I have drawn are completly drawn by myself. But I have taken 
some screenshots of running Java-programs and have zoomed them to create the 
drawn one.

>Most importantly, we would need a copyright assignment from you, since this 
>cannot be
>considered a minor contribution that we accept without assigment.

And how can I give you the copyright assignment?
With parts from me everybody can do, what they want.

Greatings
theuserbl





From MAILER-DAEMON Thu Jul 28 09:01:11 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dy80Y-00019H-LW
	for mharc-classpath@gnu.org; Thu, 28 Jul 2005 09:01:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dy80O-00016l-Kn
	for classpath@gnu.org; Thu, 28 Jul 2005 09:00:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dy80J-000157-MO
	for classpath@gnu.org; Thu, 28 Jul 2005 09:00:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dy80I-0000vn-5R
	for classpath@gnu.org; Thu, 28 Jul 2005 09:00:50 -0400
Received: from [83.160.152.237] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dy7zo-0002gt-2Z
	for classpath@gnu.org; Thu, 28 Jul 2005 09:00:20 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Dy7lX-00081S-00; Thu, 28 Jul 2005 14:45:35 +0200
From: Mark Wielaard <mark@klomp.org>
To: theUser BL <theuserbl@hotmail.com>
In-Reply-To: <BAY103-F222F3709E2F9580906A700A9CF0@phx.gbl>
References: <BAY103-F222F3709E2F9580906A700A9CF0@phx.gbl>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-7eI75+t51mf3Y1qTN3Fo"
Date: Thu, 28 Jul 2005 14:46:10 +0200
Message-Id: <1122554770.32444.47.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 
Cc: classpath@gnu.org
Subject: Re: MetalIconFactory Was: additional 16x16 Metal icons
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 Jul 2005 13:01:01 -0000


--=-7eI75+t51mf3Y1qTN3Fo
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Thu, 2005-07-28 at 11:52 +0000, theUser BL wrote:
> I have looked in Suns MetalIconFactory.

We don't want to accept code that could be interpreted as being copied
from some other implementation. See
http://developer.classpath.org/mediation/ClasspathFirstSteps
We want to be clear about the fact that our implementation is a
completely separate work. So you cannot use or inspect source code of
other proprietary implementations for your work for GNU Classpath.

> And how can I give you the copyright assignment?

See:
http://www.gnu.org/software/classpath/docs/hacking.html#SEC2
http://www.gnu.org/software/classpath/faq/faq.html#faq3_4
(The rest of the faq is also interesting to know what you can work on.)

Contact me off-list if the above is acceptable to you for the
contributions you want to make. Then I send you the correct forms for
FSF legal to process. But make sure you understand the requirements.

Thanks,

Mark

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

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

iD8DBQBC6NOSxVhZCJWr9QwRAvCiAJ9FkM3S38tGBcuGe8L3Qdm3/a1XUQCfUMIY
D7wSS4U630kcQoVT35ZutJo=
=rQdL
-----END PGP SIGNATURE-----

--=-7eI75+t51mf3Y1qTN3Fo--




From MAILER-DAEMON Fri Jul 29 11:29:34 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DyWnm-00060l-OW
	for mharc-classpath@gnu.org; Fri, 29 Jul 2005 11:29:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DyWLZ-000618-HJ
	for classpath@gnu.org; Fri, 29 Jul 2005 11:00:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DyWLQ-0005wB-Tc
	for classpath@gnu.org; Fri, 29 Jul 2005 11:00:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DyWLP-0005qs-AX
	for classpath@gnu.org; Fri, 29 Jul 2005 11:00:15 -0400
Received: from [217.72.192.226] (helo=smtp08.web.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DyWE7-0002WN-CL
	for classpath@gnu.org; Fri, 29 Jul 2005 10:52:43 -0400
Received: from [84.136.248.110] (helo=anomalie.manna.org)
	by smtp08.web.de with asmtp (TLSv1:DES-CBC3-SHA:168)
	(WEB.DE 4.105 #297) id 1DyW2d-0005vK-00
	for classpath@gnu.org; Fri, 29 Jul 2005 16:40:51 +0200
Date: Fri, 29 Jul 2005 16:53:09 +0200
From: Hanno Meyer-Thurow <h.mth@web.de>
To: classpath@gnu.org
Message-Id: <20050729165309.4310e7b8.h.mth@web.de>
X-Mailer: Sylpheed version 2.0.0rc (GTK+ 2.6.8; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: h.mth@web.de
X-Sender: h.mth@web.de
X-Mailman-Approved-At: Fri, 29 Jul 2005 11:29:33 -0400
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: Fri, 29 Jul 2005 15:02:57 -0000

Hi list!

I am not subscribed to this list so please CC me on replies, thanks!

I hit the following error building gjdoc on gentoo with gcj version 4.0.1. Using this gcj as Java SDK aswell.

 gcj --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -MT src/gnu/classpath/tools/gjdoc/Debug.lo -MD -MP -MF src/gnu/classpath/tools/gjdoc/.deps/Debug.Tpo -c src/gnu/classpath/tools/gjdoc/Debug.java  -fPIC -o src/gnu/classpath/tools/gjdoc/.libs/Debug.o
if /bin/sh ./libtool --tag=GCJ --mode=compile gcj --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -MT src/gnu/classpath/tools/gjdoc/ErrorReporter.lo -MD -MP -MF "src/gnu/classpath/tools/gjdoc/.deps/ErrorReporter.Tpo" -c -o src/gnu/classpath/tools/gjdoc/ErrorReporter.lo `test -f 'src/gnu/classpath/tools/gjdoc/ErrorReporter.java' || echo './'`src/gnu/classpath/tools/gjdoc/ErrorReporter.java; \
then mv -f "src/gnu/classpath/tools/gjdoc/.deps/ErrorReporter.Tpo" "src/gnu/classpath/tools/gjdoc/.deps/ErrorReporter.Plo"; else rm -f "src/gnu/classpath/tools/gjdoc/.deps/ErrorReporter.Tpo"; exit 1; fi
 gcj --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -MT src/gnu/classpath/tools/gjdoc/DocImpl.lo -MD -MP -MF src/gnu/classpath/tools/gjdoc/.deps/DocImpl.Tpo -c src/gnu/classpath/tools/gjdoc/DocImpl.java  -fPIC -o src/gnu/classpath/tools/gjdoc/.libs/DocImpl.o
 gcj --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -MT src/gnu/classpath/tools/gjdoc/ErrorReporter.lo -MD -MP -MF src/gnu/classpath/tools/gjdoc/.deps/ErrorReporter.Tpo -c src/gnu/classpath/tools/gjdoc/ErrorReporter.java  -fPIC -o src/gnu/classpath/tools/gjdoc/.libs/ErrorReporter.o
if /bin/sh ./libtool --tag=GCJ --mode=compile gcj --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -MT src/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.lo -MD -MP -MF "src/gnu/classpath/tools/gjdoc/.deps/ExecutableMemberDocImpl.Tpo" -c -o src/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.lo `test -f 'src/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java' || echo './'`src/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java; \
then mv -f "src/gnu/classpath/tools/gjdoc/.deps/ExecutableMemberDocImpl.Tpo" "src/gnu/classpath/tools/gjdoc/.deps/ExecutableMemberDocImpl.Plo"; else rm -f "src/gnu/classpath/tools/gjdoc/.deps/ExecutableMemberDocImpl.Tpo"; exit 1; fi
src/gnu/classpath/tools/gjdoc/DocImpl.java:220: error: Can't find constructor `javax.swing.text.Segment([CII)' in type `javax.swing.text.Segment'.
            Segment segment = new Segment(text, startIndex, endIndex - startIndex);
                                  ^
src/gnu/classpath/tools/gjdoc/DocImpl.java:222: error: Can't find method `setText(Ljavax/swing/text/Segment;)' in type `java.text.BreakIterator'.
            breakIterator.setText(segment);
                         ^
2 errors
make[2]: *** [src/gnu/classpath/tools/gjdoc/DocImpl.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...


It seems for me that this Segment stuff is in gcj's lib and jar. Could it be a problem of my gcj version then?

Thanks a lot in advance!


Sincerely,
Hanno Meyer-Thurow



From MAILER-DAEMON Fri Jul 29 13:33:59 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DyYkB-0003XO-8H
	for mharc-classpath@gnu.org; Fri, 29 Jul 2005 13:33:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DyYk9-0003X4-0Z
	for classpath@gnu.org; Fri, 29 Jul 2005 13:33:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DyYk5-0003VO-CJ
	for classpath@gnu.org; Fri, 29 Jul 2005 13:33:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DyYk5-0003VE-7C
	for classpath@gnu.org; Fri, 29 Jul 2005 13:33:53 -0400
Received: from [217.160.129.185] (helo=sektor37.de)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1DyYsM-00052Q-Jm
	for classpath@gnu.org; Fri, 29 Jul 2005 13:42:26 -0400
Received: (qmail 4038 invoked from network); 29 Jul 2005 17:30:33 -0000
Received: from p54a9acdb.dip0.t-ipconnect.de (HELO ?192.168.2.50?)
	(julian@84.169.172.219)
	by sektor37.de with SMTP; 29 Jul 2005 17:30:33 -0000
Message-ID: <42EA67B8.2080107@sektor37.de>
Date: Fri, 29 Jul 2005 19:30:32 +0200
From: Julian Scheid <julian@sektor37.de>
User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hanno Meyer-Thurow <h.mth@web.de>
References: <20050729165309.4310e7b8.h.mth@web.de>
In-Reply-To: <20050729165309.4310e7b8.h.mth@web.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: [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: Fri, 29 Jul 2005 17:33:57 -0000

Hanno Meyer-Thurow wrote:
> src/gnu/classpath/tools/gjdoc/DocImpl.java:220: error: Can't find constructor `javax.swing.text.Segment([CII)' in type `javax.swing.text.Segment'.
>             Segment segment = new Segment(text, startIndex, endIndex - startIndex);
>                                   ^
> src/gnu/classpath/tools/gjdoc/DocImpl.java:222: error: Can't find method `setText(Ljavax/swing/text/Segment;)' in type `java.text.BreakIterator'.
>             breakIterator.setText(segment);
>                          ^
> 2 errors
> make[2]: *** [src/gnu/classpath/tools/gjdoc/DocImpl.lo] Fehler 1
> make[2]: *** Warte auf noch nicht beendete Prozesse...
> 
> 
> It seems for me that this Segment stuff is in gcj's lib and jar. Could it be a problem of my gcj version then?

As far as I am aware, gjdoc should build fine with all gcj 4.x releases, 
as opposed to some of the 4.0.0 pre-release experimental versions. IIRC 
the Segment constructor you're missing has been added before the 4.0 
release.

I guess you're using an older version by accident? You should check that 
you are in fact using 4.0.1 by doing gcj --version.

Note that gcj does not complain about the Segment class missing, but 
about a missing constructor. So the fact that you find "Segment stuff" 
in your gcj lib doesn't mean anything. The gcj build you've been using 
seems to come with an old version of Segment which lacks this 
constructor. You can use the javap tool to check this.

At any rate, if your problem persists you're probably better off posting 
to the appropriate Gentoo list since this appears to be an issue with 
your distribution.

Good luck,

Julian





From MAILER-DAEMON Fri Jul 29 22:00:20 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DygeB-0003MU-FC
	for mharc-classpath@gnu.org; Fri, 29 Jul 2005 22:00:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dyge0-0003JE-Fk
	for classpath@gnu.org; Fri, 29 Jul 2005 22:00:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dygdq-0003Ed-QB
	for classpath@gnu.org; Fri, 29 Jul 2005 22:00:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dygdq-0003Dn-0m
	for classpath@gnu.org; Fri, 29 Jul 2005 21:59:58 -0400
Received: from [64.233.182.200] (helo=nproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dyghy-0003Xf-St
	for classpath@gnu.org; Fri, 29 Jul 2005 22:04:15 -0400
Received: by nproxy.gmail.com with SMTP id b2so187352nfe
	for <classpath@gnu.org>; Fri, 29 Jul 2005 18:52:17 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=dvcNyRLuPI8CaT3lnAQTs9smJ8fnnAHQLRUM6OxjCpJlQlq6DSC34LziE1CAhQATeqeco9OFUEnEYvvqnYFsUStbu4y4sYlYPDns5rVqmu7I5nXNgH6GOUJJUua1VTdckdqDLubBh/bANbSQSf5QJqZpoXZxxcUIa6Xy3E7iWl8=
Received: by 10.48.143.9 with SMTP id q9mr126026nfd;
	Fri, 29 Jul 2005 18:52:17 -0700 (PDT)
Received: by 10.48.250.5 with HTTP; Fri, 29 Jul 2005 18:52:17 -0700 (PDT)
Message-ID: <d58509a8050729185239c44615@mail.gmail.com>
Date: Sat, 30 Jul 2005 02:52:17 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: jamvm-general@lists.sourceforge.net, GNU Classpath <classpath@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Cc: 
Subject: JamVM 1.3.2 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Robert Lougher <rob.lougher@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Jul 2005 02:00:14 -0000

Hi,

I'm pleased to announce the release of JamVM 1.3.2
(http://jamvm.sourceforge.net).  This release is a minor
feature/bug-fix release.  The full list of changes are here:

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

Thanks,

Rob.



From MAILER-DAEMON Sat Jul 30 05:05:03 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DynHB-0006b6-C5
	for mharc-classpath@gnu.org; Sat, 30 Jul 2005 05:05:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DyeOz-00075O-Qg
	for classpath@gnu.org; Fri, 29 Jul 2005 19:36:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DyeMb-0006bU-Qh
	for classpath@gnu.org; Fri, 29 Jul 2005 19:34:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DyeMb-0006LR-8I
	for classpath@gnu.org; Fri, 29 Jul 2005 19:34:01 -0400
Received: from [217.72.192.209] (helo=smtp05.web.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dye1h-0005Vi-GJ
	for classpath@gnu.org; Fri, 29 Jul 2005 19:12:25 -0400
Received: from [84.136.220.43] (helo=anomalie.manna.org)
	by smtp05.web.de with asmtp (TLSv1:DES-CBC3-SHA:168)
	(WEB.DE 4.105 #297)
	id 1Dydq8-0008FL-00; Sat, 30 Jul 2005 01:00:28 +0200
Date: Sat, 30 Jul 2005 01:12:47 +0200
From: Hanno Meyer-Thurow <h.mth@web.de>
To: Julian Scheid <julian@sektor37.de>
Message-Id: <20050730011247.7e4fe6c5.h.mth@web.de>
In-Reply-To: <42EA67B8.2080107@sektor37.de>
References: <20050729165309.4310e7b8.h.mth@web.de>
	<42EA67B8.2080107@sektor37.de>
X-Mailer: Sylpheed version 2.0.0rc (GTK+ 2.6.8; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: h.mth@web.de
X-Sender: h.mth@web.de
X-Mailman-Approved-At: Sat, 30 Jul 2005 05:04:55 -0400
Cc: classpath@gnu.org
Subject: Re: [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: Fri, 29 Jul 2005 23:36:30 -0000

On Fri, 29 Jul 2005 19:30:32 +0200
Julian Scheid <julian@sektor37.de> wrote:

> I guess you're using an older version by accident? You should check that 
> you are in fact using 4.0.1 by doing gcj --version.

Thanks! That did the trick. Now then I get this after compile, after linking source:

(cd .libs && rm -f lib-gnu-classpath-tools-gjdoc.so.0 && ln -s lib-gnu-classpath-tools-gjdoc.so.0.0.0 lib-gnu-classpath-tools-gjdoc.so.0)
(cd .libs && rm -f lib-gnu-classpath-tools-gjdoc.so && ln -s lib-gnu-classpath-tools-gjdoc.so.0.0.0 lib-gnu-classpath-tools-gjdoc.so)
creating lib-gnu-classpath-tools-gjdoc.la
(cd .libs && rm -f lib-gnu-classpath-tools-gjdoc.la && ln -s ../lib-gnu-classpath-tools-gjdoc.la lib-gnu-classpath-tools-gjdoc.la)
gcj -shared --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -c -o antlr.so /usr/share/antlr/lib/antlr.jar
antlr/build/ANTLR.java: In class 'antlr.build.ANTLR':
antlr/build/ANTLR.java: In method 'antlr.build.ANTLR.rootIsValidANTLRDir(antlr.build.Tool)':
antlr/build/ANTLR.java:65: error: cannot find file for class antlr.build.ANTLR$1
antlr/build/ANTLR.java:65: error: cannot find file for class antlr.build.ANTLR$1
antlr/build/ANTLR.java:65: confused by earlier errors, bailing out
make[2]: *** [antlr.so] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/gjdoc-0.7.5/work/gjdoc-0.7.5'


Do I need to install antlr with gcj beforehand?

> At any rate, if your problem persists you're probably better off posting 
> to the appropriate Gentoo list since this appears to be an issue with 
> your distribution.

Hm, if Gentoo had that package in its distribution. ;)

> Good luck,

Thanks again!

> 
> Julian
>


Sincerely,
Hanno Meyer-Thurow



From MAILER-DAEMON Sat Jul 30 05:05:04 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DynHD-0006bD-L4
	for mharc-classpath@gnu.org; Sat, 30 Jul 2005 05:05:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DyfII-0005ea-Ad
	for classpath@gnu.org; Fri, 29 Jul 2005 20:33:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DyfI3-0005Xu-PH
	for classpath@gnu.org; Fri, 29 Jul 2005 20:33:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DyfI2-0005U4-16
	for classpath@gnu.org; Fri, 29 Jul 2005 20:33:22 -0400
Received: from [217.72.192.226] (helo=smtp08.web.de)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dyf9q-0008Ew-0o
	for classpath@gnu.org; Fri, 29 Jul 2005 20:24:54 -0400
Received: from [84.136.220.43] (helo=anomalie.manna.org)
	by smtp08.web.de with asmtp (TLSv1:DES-CBC3-SHA:168)
	(WEB.DE 4.105 #297)
	id 1DyeyH-000122-00; Sat, 30 Jul 2005 02:12:57 +0200
Date: Sat, 30 Jul 2005 02:25:15 +0200
From: Hanno Meyer-Thurow <h.mth@web.de>
To: julian@sektor37.de
Message-Id: <20050730022515.7d51418c.h.mth@web.de>
In-Reply-To: <20050730011247.7e4fe6c5.h.mth@web.de>
References: <20050729165309.4310e7b8.h.mth@web.de>
	<42EA67B8.2080107@sektor37.de>
	<20050730011247.7e4fe6c5.h.mth@web.de>
X-Mailer: Sylpheed version 2.0.0rc (GTK+ 2.6.8; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: h.mth@web.de
X-Sender: h.mth@web.de
X-Mailman-Approved-At: Sat, 30 Jul 2005 05:04:56 -0400
Cc: classpath@gnu.org
Subject: Re: [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: Sat, 30 Jul 2005 00:33:46 -0000

On Sat, 30 Jul 2005 01:12:47 +0200
Hanno Meyer-Thurow <h.mth@web.de> wrote:

> On Fri, 29 Jul 2005 19:30:32 +0200
> Julian Scheid <julian@sektor37.de> wrote:
> 
> > I guess you're using an older version by accident? You should check that 
> > you are in fact using 4.0.1 by doing gcj --version.
> 
> Thanks! That did the trick. Now then I get this after compile, after linking source:
> 
> (cd .libs && rm -f lib-gnu-classpath-tools-gjdoc.so.0 && ln -s lib-gnu-classpath-tools-gjdoc.so.0.0.0 lib-gnu-classpath-tools-gjdoc.so.0)
> (cd .libs && rm -f lib-gnu-classpath-tools-gjdoc.so && ln -s lib-gnu-classpath-tools-gjdoc.so.0.0.0 lib-gnu-classpath-tools-gjdoc.so)
> creating lib-gnu-classpath-tools-gjdoc.la
> (cd .libs && rm -f lib-gnu-classpath-tools-gjdoc.la && ln -s ../lib-gnu-classpath-tools-gjdoc.la lib-gnu-classpath-tools-gjdoc.la)
> gcj -shared --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -c -o antlr.so /usr/share/antlr/lib/antlr.jar
> antlr/build/ANTLR.java: In class 'antlr.build.ANTLR':
> antlr/build/ANTLR.java: In method 'antlr.build.ANTLR.rootIsValidANTLRDir(antlr.build.Tool)':
> antlr/build/ANTLR.java:65: error: cannot find file for class antlr.build.ANTLR$1
> antlr/build/ANTLR.java:65: error: cannot find file for class antlr.build.ANTLR$1
> antlr/build/ANTLR.java:65: confused by earlier errors, bailing out
> make[2]: *** [antlr.so] Fehler 1
> make[2]: Leaving directory `/var/tmp/portage/gjdoc-0.7.5/work/gjdoc-0.7.5'

I fixed that aswell. Thanks for help Julian! And sorry for noise.


Sincerely,
Hanno Meyer-Thurow



From MAILER-DAEMON Sat Jul 30 05:05:05 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DynHE-0006bo-LS
	for mharc-classpath@gnu.org; Sat, 30 Jul 2005 05:05:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dyhed-0005CQ-9E
	for classpath@gnu.org; Fri, 29 Jul 2005 23:04:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DyheY-0005A2-Ke
	for classpath@gnu.org; Fri, 29 Jul 2005 23:04:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DyheY-00059T-Dz
	for classpath@gnu.org; Fri, 29 Jul 2005 23:04:46 -0400
Received: from [67.15.35.24] (helo=qmail-premium.directi.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Dyhl5-0005dS-QJ
	for classpath@gnu.org; Fri, 29 Jul 2005 23:11:32 -0400
Received: (qmail 20608 invoked from network); 30 Jul 2005 02:59:32 -0000
Received: from dsl-kk-074.49.246.61.touchtelindia.net (HELO KallolBorah)
	(k.borah@aumeganetworks.com@61.246.49.74)
	by qmail-premium.directi.com with ESMTPA; 30 Jul 2005 02:59:31 -0000
From: "Kallol Borah" <k.borah@aumeganetworks.com>
To: <classpath@gnu.org>
Date: Sat, 30 Jul 2005 03:59:29 +0100
Message-ID: <PHENKFDBBGFEPBFEDPEPAECJCFAA.k.borah@aumeganetworks.com>
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.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-Mailman-Approved-At: Sat, 30 Jul 2005 05:04:56 -0400
Subject: Classpath for use in Common language front end for 8/16/32/64
	devices
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, 30 Jul 2005 03:04:52 -0000

I am writing to know your views on using GNU Classpath in an entirely
different setting.
we have implemented a new object oriented programming language - Indus -
that is best described as a common language front end to generate code (it
generates Java, C and Small C) that can execute across a large variety of
hardware platforms. Indus also introduces new types (agent, component) and
new syntax/semantics (for agent coordination, component composition) which
enables modeling of any application as a set of concurrently executing
agents (think P2P) that cooperatively execute tasks. also, we have written a
set of run time libraries that automate the management of distributed Indus
objects (agents/components) - things like lifecycle management,
transactions, routing, service discovery, run time connections, etc are
taken care of transparently.
NOW, what we are thinking of is this
a) use Classpath as native Indus libraries - we will also need to add some
additional library support for concurrent programming support
b) make an additional subset of Classpath to meet the requirements of small
footprint devices - problem with existing Classpath implementation is that
it generates large volumes of C code (even when code pruning is applied)

What we would like to know is
a) is altering the nomenclature, structure and composition of Classpath
something that is desirable / agreeable and something we can work on - of
course, we are keeping any future work under GPL
b) what would be the best way of coordinating our efforts, if at all, that
is feasible / produces benefits

Regards
Kallol





From MAILER-DAEMON Sat Jul 30 21:08:22 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dz2JR-0005Wf-OO
	for mharc-classpath@gnu.org; Sat, 30 Jul 2005 21:08:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dz2JO-0005TO-Fq
	for classpath@gnu.org; Sat, 30 Jul 2005 21:08:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dz2JM-0005S5-K9
	for classpath@gnu.org; Sat, 30 Jul 2005 21:08:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1Dz2JF-0005Ne-Ga; Sat, 30 Jul 2005 21:08:09 -0400
Received: from [66.33.198.201] (helo=jareth.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1Dz2OB-00013s-U3; Sat, 30 Jul 2005 21:13:16 -0400
Received: from [192.168.0.100] (dsl2-63-249-108-128.cruzio.com
	[63.249.108.128]) by jareth.dreamhost.com (Postfix) with ESMTP
	id CF8876B601; Sat, 30 Jul 2005 18:00:42 -0700 (PDT)
In-Reply-To: <337877A1-FCD9-463B-A1BD-C80D8582D4F4@gnu.org>
References: <337877A1-FCD9-463B-A1BD-C80D8582D4F4@gnu.org>
Mime-Version: 1.0 (Apple Message framework v733)
Content-Type: multipart/mixed; boundary=Apple-Mail-8-582995277
Message-Id: <43B38D51-8CE4-4458-BF5A-D528AD1783EF@gnu.org>
From: Casey Marshall <csm@gnu.org>
Date: Sat, 30 Jul 2005 17:59:59 -0700
To: Classpath <classpath@gnu.org>
X-Mailer: Apple Mail (2.733)
Cc: Classpath Patches <classpath-patches@gnu.org>
Subject: Re: [cp-patches] FYI: fix warnings in NIO JNI
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 Jul 2005 01:08:19 -0000


--Apple-Mail-8-582995277
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Hm. Ok. 'mincore' is declared to take an 'unsigned char *' on GNU,  
but a 'char *' on Darwin. pinskia suggested on IRC that casting the  
argument to 'void *' would be a good enough workaround, so I'm  
checking this little change in.

2005-07-30  Casey Marshall  <csm@gnu.org>

     * native/jni/java-nio/java_nio_MappedByteBuffer.c
     (Java_java_nio_MappedByteBufferImpl_isLoadedImpl): cast argument 3
     to 'mincore' to 'void *' to avoid warnings on GNU.

On Jul 30, 2005, at 1:39 PM, Casey Marshall wrote:

> This patch fixes the warnings I introduced into the java-nio JNI  
> library with my recent changes, and fixes the crash I was seeing on  
> OS X 10.4.
>
> 2005-07-30  Casey Marshall  <csm@gnu.org>
>
>     * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
>     (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl):
>     eliminate various compiler warnings; mark 'buffer' as 'volatile;'
>     throw an exception if we can't get a constructor method ID.
>     * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
>     include 'stdlib.h.'
>     (get_raw_values): eliminate compiler warnings.
>     (Java_java_nio_MappedByteBufferImpl_isLoadedImpl): likewise.
>     * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
>      
> (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_RawData_2I_3BII) 
> :
>     eliminate compiler warning.
>
>
> <nio.patch.txt>
> _______________________________________________
> Classpath-patches mailing list
> Classpath-patches@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath-patches
>



--Apple-Mail-8-582995277
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; x-unix-mode=0644;
	name="nio-mincore-gnu-borkenness.patch.txt"
Content-Disposition: attachment; filename=nio-mincore-gnu-borkenness.patch.txt

Index: native/jni/java-nio/java_nio_MappedByteBufferImpl.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-nio/java_nio_MappedByteBufferImpl.c,v
retrieving revision 1.7
diff -u -b -B -r1.7 java_nio_MappedByteBufferImpl.c
--- native/jni/java-nio/java_nio_MappedByteBufferImpl.c	30 Jul 2005 20:40:30 -0000	1.7
+++ native/jni/java-nio/java_nio_MappedByteBufferImpl.c	31 Jul 2005 00:52:13 -0000
@@ -186,7 +186,18 @@
     return JNI_FALSE;
   count = (size_t) ((size + pagesize - 1) / pagesize);
   vec = (char *) malloc (count * sizeof (unsigned char));
+
+  /*
+   * Darwin (and BSD?) define argument 3 of 'mincore' to be 'char *',
+   * while GNU libc defines it to be 'unsigned char *'. Casting the
+   * argument to 'void *' fixes this, but not with C++. So you might
+   * be SOL if you compile this with g++ (!) on GNU with -Werror.
+   */
+#ifdef __cplusplus
   if (mincore (address, size, vec) != 0)
+#else
+  if (mincore (address, size, (void *) vec) != 0)
+#endif /* __cplusplus */
     {
       free (vec);
       JCL_ThrowException (env, IO_EXCEPTION, strerror (errno));

--Apple-Mail-8-582995277--



