From MAILER-DAEMON Thu Jul 01 01:49:50 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BfuSD-0001D4-Qf
	for mharc-classpath@gnu.org; Thu, 01 Jul 2004 01:49:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BfuSB-0001CD-ND
	for classpath@gnu.org; Thu, 01 Jul 2004 01:49:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BfuS9-0001BY-Sf
	for classpath@gnu.org; Thu, 01 Jul 2004 01:49:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BfuS9-0001BV-ND
	for classpath@gnu.org; Thu, 01 Jul 2004 01:49:45 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BfuPv-0005SN-4M
	for classpath@gnu.org; Thu, 01 Jul 2004 01:47:27 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i615k7ps022659
	for <classpath@gnu.org>; Thu, 1 Jul 2004 15:46:09 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "GNU Classpath" <classpath@gnu.org>
Date: Thu, 1 Jul 2004 15:46:38 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCGEJKEFAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <NFBBKALFDCPFIDBNKAPCGEJDEFAA.dholmes@dltech.com.au>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Importance: Normal
Subject: RE: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 01 Jul 2004 05:49:47 -0000

Just discovered that there is an unofficial switch to javac to have -source
1.5 but a target of 1.4: use either "-target cldc1.0" or "-target jsr14".

This is straight from Gilad Bracha at the Generics BoF here at JavaOne. :)

David Holmes




From MAILER-DAEMON Thu Jul 01 10:10:25 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bg2Gf-0005zx-47
	for mharc-classpath@gnu.org; Thu, 01 Jul 2004 10:10:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bg2Gd-0005zT-Mn
	for classpath@gnu.org; Thu, 01 Jul 2004 10:10:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bg2Gb-0005yn-PH
	for classpath@gnu.org; Thu, 01 Jul 2004 10:10:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bg2Gb-0005yk-Ki
	for classpath@gnu.org; Thu, 01 Jul 2004 10:10:21 -0400
Received: from [217.12.12.197] (helo=smtp807.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Bg2Ec-00038z-RV
	for classpath@gnu.org; Thu, 01 Jul 2004 10:08:19 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp807.mail.ukl.yahoo.com with SMTP; 1 Jul 2004 14:08:18 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1Bg2Eb-0006p3-Ry
	for classpath@gnu.org; Thu, 01 Jul 2004 15:08:17 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCGEJDEFAA.dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCGEJDEFAA.dholmes@dltech.com.au>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-r6PzIF048XHp39aJ1P+j"
Message-Id: <1088690897.15399.157.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 01 Jul 2004 15:08:17 +0100
Subject: RE: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 01 Jul 2004 14:10:23 -0000


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

On Wed, 2004-06-30 at 23:28, David Holmes wrote:
> Andrew Hughes wrote:
> > The hardest thing would seem to be the generics (Java's templates -- is
> > it or me or does it seem strange that Java 1.5/5.0 is basically bringin=
g
> > back in lots of C++ features, mainly as a result of C# having them?).
>=20
> It's you :) Java has had generics on the cards for a long time - too long=
,
> but that's another story - since before C# existed. C# didn't define
> generics initially either - have they added it yet? Java Generics is noth=
ing
> like C++ templates except for the <> syntax. You could say that a key goa=
l
> for Java generics was to NOT provide something like C++ templates. :)
>=20
=46rom what I was reading recently, the new C# has generics.  I wasn't
aware how different generics were from templates -- I suppose that's
what comes from rushing in before I know better.  Templates are a pain,
so hopefully generics will be better.
As far as actually using Java goes, the re-appearance of enums will be
the nicest addition, mainly because the lack of them has been a pain
since I started using Java, and had to emulate them with constants.=20
Boxing/unboxing will also be nice to avoid the use of the wrapper
classes, but I'll think we'll see side effects with the same thing going
on behind the scenes.  Most of these things are partly a result of C#, I
think, because its had these since word go.  I never understand why
enums weren't carried across, anyway.
> > Generics are added to a lot of the core classes, notably java.util's
> > collections.  Would adding this mean that compilers and code would need
> > to be 1.5 ready?
>=20
> In principle because generics are based on type erasure, they are primari=
ly
> a compile-time concept. So code that uses generics that is compiled with =
a
> 1.5 compiler may be runnable on a non-1.5 JVM. That said, some of the
> information is stored in the extensions to the class file format for
> run-time introspection (don't know the details of what you can and can't =
do
> here). So compiling with generics tends to produce class files that won't=
 be
> understood by non-1.5 supporting VM's. I suspect you would need a compile=
r
> that knows how to compile generics whilst producing a non-1.5 specific cl=
ass
> file.
>=20
I think there are a few issues here.  If Classpath starts using
generics, compilers will need to support generics as they are prevalent
in some of the most basic classes.  This has already been noted.  What
is probably a more long term effect (and one I imagine Sun has already
considered at great length) is that this is likely to break both binary
and source compatibility, something which hasn't happened as far as I
recall, in Java's history.  Even the old AWT event model was maintained
from 1.0 to 1.1.  Later releases have added more and more code to the
library (Swing, better 2D graphics and printing, XML, SSL, etc.), making
more and more code for us to rewrite.  However, I think the only
language addition has been the 1.4 assert facility (which personally
I've never even used).  How will pre-1.5 code work with generics, etc?=20
=46rom flicking through the docs for 1.5 beta 2, enums are also being used
in the core classes, so I imagine some methods will return them
(Thread's state is now done this way).  It will be interested to see
what breaks.  This is also a issue for Classpath, of course, because
most of the library is more complex stuff building on top of these
things.
> David Holmes
>=20
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5BrRu+fW6pI0dq4RAh4kAJ4+l8rH+e1Msi+Qmm5xnJBVepGwjgCdHax7
wNur/OWpakk2qlmLUHdS9ak=
=r0AC
-----END PGP SIGNATURE-----

--=-r6PzIF048XHp39aJ1P+j--




From MAILER-DAEMON Thu Jul 01 12:44:57 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bg4gD-0007Gx-Kh
	for mharc-classpath@gnu.org; Thu, 01 Jul 2004 12:44:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bg4gB-0007Gi-4h
	for classpath@gnu.org; Thu, 01 Jul 2004 12:44:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bg4gA-0007GU-AO
	for classpath@gnu.org; Thu, 01 Jul 2004 12:44:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bg4gA-0007GK-85
	for classpath@gnu.org; Thu, 01 Jul 2004 12:44:54 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Bg4dd-0007G4-T3
	for classpath@gnu.org; Thu, 01 Jul 2004 12:42:18 -0400
Received: (qmail 31153 invoked by uid 65534); 1 Jul 2004 16:42:16 -0000
Received: from p213.54.240.242.tisdip.tiscali.de (EHLO gmx.net)
	(213.54.240.242)
	by mail.gmx.net (mp021) with SMTP; 01 Jul 2004 18:42:16 +0200
X-Authenticated: #17532834
Message-ID: <40E43F1D.1060801@gmx.net>
Date: Thu, 01 Jul 2004 18:43:09 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040521
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <NFBBKALFDCPFIDBNKAPCGEJDEFAA.dholmes@dltech.com.au>
	<1088690897.15399.157.camel@rivendell>
In-Reply-To: <1088690897.15399.157.camel@rivendell>
X-Enigmail-Version: 0.83.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/alternative;
	boundary="------------070805040300050104090109"
Subject: Re: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 01 Jul 2004 16:44:55 -0000

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


Andrew John Hughes wrote:

>On Wed, 2004-06-30 at 23:28, David Holmes wrote:
>  
>
>>Andrew Hughes wrote:
>>    
>>
>>>The hardest thing would seem to be the generics (Java's templates -- is
>>>it or me or does it seem strange that Java 1.5/5.0 is basically bringing
>>>back in lots of C++ features, mainly as a result of C# having them?).
>>>      
>>>
>>It's you :) Java has had generics on the cards for a long time - too long,
>>but that's another story - since before C# existed. C# didn't define
>>generics initially either - have they added it yet? Java Generics is nothing
>>like C++ templates except for the <> syntax. You could say that a key goal
>>for Java generics was to NOT provide something like C++ templates. :)
>>
>>    
>>
>From what I was reading recently, the new C# has generics.  I wasn't
>aware how different generics were from templates -- I suppose that's
>what comes from rushing in before I know better.  Templates are a pain,
>so hopefully generics will be better.
>As far as actually using Java goes, the re-appearance of enums will be
>the nicest addition, mainly because the lack of them has been a pain
>since I started using Java, and had to emulate them with constants. 
>Boxing/unboxing will also be nice to avoid the use of the wrapper
>classes, but I'll think we'll see side effects with the same thing going
>on behind the scenes.  Most of these things are partly a result of C#, I
>think, because its had these since word go.  I never understand why
>enums weren't carried across, anyway.
>  
>
Java's Enum are stronger than the ones in C. If you define two different 
Enumerations E1 and E2 with
certain constants you cannot define a variable of E1 and set it to a 
value of E2. In C this would not be a
problem.

This is similar to way Java treats Arrays.

>>>Generics are added to a lot of the core classes, notably java.util's
>>>collections.  Would adding this mean that compilers and code would need
>>>to be 1.5 ready?
>>>      
>>>
>>In principle because generics are based on type erasure, they are primarily
>>a compile-time concept. So code that uses generics that is compiled with a
>>1.5 compiler may be runnable on a non-1.5 JVM. That said, some of the
>>information is stored in the extensions to the class file format for
>>run-time introspection (don't know the details of what you can and can't do
>>here). So compiling with generics tends to produce class files that won't be
>>understood by non-1.5 supporting VM's. I suspect you would need a compiler
>>that knows how to compile generics whilst producing a non-1.5 specific class
>>file.
>>
>>    
>>
>I think there are a few issues here.  If Classpath starts using
>generics, compilers will need to support generics as they are prevalent
>in some of the most basic classes.  This has already been noted.  What
>is probably a more long term effect (and one I imagine Sun has already
>considered at great length) is that this is likely to break both binary
>and source compatibility, something which hasn't happened as far as I
>recall, in Java's history.  Even the old AWT event model was maintained
>from 1.0 to 1.1.  Later releases have added more and more code to the
>library (Swing, better 2D graphics and printing, XML, SSL, etc.), making
>more and more code for us to rewrite.  However, I think the only
>language addition has been the 1.4 assert facility (which personally
>I've never even used).  How will pre-1.5 code work with generics, etc? 
>From flicking through the docs for 1.5 beta 2, enums are also being used
>in the core classes, so I imagine some methods will return them
>(Thread's state is now done this way).  It will be interested to see
>what breaks.  This is also a issue for Classpath, of course, because
>most of the library is more complex stuff building on top of these
>things.
>  
>
Generics do not break binary compatibility - basically they are 'just' 
syntactical sugar. Its the
compiler doing all the hard work - at runtime it is not possible to tell 
anything about a type
variable (this might change in a later version). Remember that you can 
develop with "-source 1.4"
with Java 1.5 (err 5.0 :P )

Btw: the assert statement is familiar from C but its better in Java too: 
By default assert statements in Code
are deactivated and cannot be activated later at runtime (except if you 
reload the class). That means the JIT
compiler can rip of that code and it never gets executed (like expensive 
checks). Thats fine. If your application
does something unexpected you can run it again with -ea (enable 
assertions) and with a little luck you can see
that something uses a method without providing the method's preconditions.

cu
Robert Schuster

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

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Andrew John Hughes wrote:
<blockquote cite="mid1088690897.15399.157.camel@rivendell" type="cite">
  <pre wrap="">On Wed, 2004-06-30 at 23:28, David Holmes wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Andrew Hughes wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">The hardest thing would seem to be the generics (Java's templates -- is
it or me or does it seem strange that Java 1.5/5.0 is basically bringing
back in lots of C++ features, mainly as a result of C# having them?).
      </pre>
    </blockquote>
    <pre wrap="">It's you :) Java has had generics on the cards for a long time - too long,
but that's another story - since before C# existed. C# didn't define
generics initially either - have they added it yet? Java Generics is nothing
like C++ templates except for the &lt;&gt; syntax. You could say that a key goal
for Java generics was to NOT provide something like C++ templates. :)

    </pre>
  </blockquote>
  <pre wrap=""><!---->From what I was reading recently, the new C# has generics.  I wasn't
aware how different generics were from templates -- I suppose that's
what comes from rushing in before I know better.  Templates are a pain,
so hopefully generics will be better.
As far as actually using Java goes, the re-appearance of enums will be
the nicest addition, mainly because the lack of them has been a pain
since I started using Java, and had to emulate them with constants. 
Boxing/unboxing will also be nice to avoid the use of the wrapper
classes, but I'll think we'll see side effects with the same thing going
on behind the scenes.  Most of these things are partly a result of C#, I
think, because its had these since word go.  I never understand why
enums weren't carried across, anyway.
  </pre>
</blockquote>
Java's Enum are stronger than the ones in C. If you define two
different Enumerations E1 and E2 with<br>
certain constants you cannot define a variable of E1 and set it to a
value of E2. In C this would not be a<br>
problem.<br>
<br>
This is similar to way Java treats Arrays.<br>
<br>
<blockquote cite="mid1088690897.15399.157.camel@rivendell" type="cite">
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">Generics are added to a lot of the core classes, notably java.util's
collections.  Would adding this mean that compilers and code would need
to be 1.5 ready?
      </pre>
    </blockquote>
    <pre wrap="">In principle because generics are based on type erasure, they are primarily
a compile-time concept. So code that uses generics that is compiled with a
1.5 compiler may be runnable on a non-1.5 JVM. That said, some of the
information is stored in the extensions to the class file format for
run-time introspection (don't know the details of what you can and can't do
here). So compiling with generics tends to produce class files that won't be
understood by non-1.5 supporting VM's. I suspect you would need a compiler
that knows how to compile generics whilst producing a non-1.5 specific class
file.

    </pre>
  </blockquote>
  <pre wrap=""><!---->I think there are a few issues here.  If Classpath starts using
generics, compilers will need to support generics as they are prevalent
in some of the most basic classes.  This has already been noted.  What
is probably a more long term effect (and one I imagine Sun has already
considered at great length) is that this is likely to break both binary
and source compatibility, something which hasn't happened as far as I
recall, in Java's history.  Even the old AWT event model was maintained
from 1.0 to 1.1.  Later releases have added more and more code to the
library (Swing, better 2D graphics and printing, XML, SSL, etc.), making
more and more code for us to rewrite.  However, I think the only
language addition has been the 1.4 assert facility (which personally
I've never even used).  How will pre-1.5 code work with generics, etc? 
>From flicking through the docs for 1.5 beta 2, enums are also being used
in the core classes, so I imagine some methods will return them
(Thread's state is now done this way).  It will be interested to see
what breaks.  This is also a issue for Classpath, of course, because
most of the library is more complex stuff building on top of these
things.
  </pre>
</blockquote>
Generics do not break binary compatibility - basically they are 'just'
syntactical sugar. Its the<br>
compiler doing all the hard work - at runtime it is not possible to
tell anything about a type<br>
variable (this might change in a later version). Remember that you can
develop with "-source 1.4"<br>
with Java 1.5 (err 5.0 :P )<br>
<br>
Btw: the assert statement is familiar from C but its better in Java
too: By default assert statements in Code<br>
are deactivated and cannot be activated later at runtime (except if you
reload the class). That means the JIT<br>
compiler can rip of that code and it never gets executed (like
expensive checks). Thats fine. If your application<br>
does something unexpected you can run it again with -ea (enable
assertions) and with a little luck you can see<br>
that something uses a method without providing the method's
preconditions.<br>
<br>
cu<br>
Robert Schuster<br>
</body>
</html>

--------------070805040300050104090109--



From MAILER-DAEMON Thu Jul 01 14:07:04 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bg5xg-000059-8g
	for mharc-classpath@gnu.org; Thu, 01 Jul 2004 14:07:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bg5xe-0008UM-2j
	for classpath@gnu.org; Thu, 01 Jul 2004 14:07:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bg5xc-0008Tv-9z
	for classpath@gnu.org; Thu, 01 Jul 2004 14:07:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bg5xc-0008Ts-6H
	for classpath@gnu.org; Thu, 01 Jul 2004 14:07:00 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bg5vb-0007VJ-QN
	for classpath@gnu.org; Thu, 01 Jul 2004 14:04:56 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i61I4eNh053653
	for <classpath@gnu.org>; Fri, 2 Jul 2004 04:04:43 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Fri, 2 Jul 2004 04:05:14 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMEKBEFAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <40E43F1D.1060801@gmx.net>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Importance: Normal
Subject: RE: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 01 Jul 2004 18:07:02 -0000

Robert Schuster wrote:
> Generics do not break binary compatibility - basically they are 'just'
> syntactical sugar. Its the compiler doing all the hard work - at runtime
> it is not possible to tell anything about a type variable (this might
>  change in a later version). Remember that you can develop with
> "-source 1.4" with Java 1.5 (err 5.0 :P )

That's not quite accurate. Structural reflection information about
generified classes is available through new methods in the reflection API. I
believe this extra information is stored in the class file using the
extended class file format that has been defined for 5.0. However if you use
the "-target cldc1.0" setting I mentioned in another email you can produce
1.4 compatible classes in which all the generic type information is lost. In
both cases the actual type parameters have been replaced by their type
erasures in the bytecode.

What you still can't do with reflection is dynamic queries of an instance's
generic characteristics eg  given List<?> list; which is a list of unknown
generic type, you can't ask "list instanceof List<String>".

I don't think it would be easy for Classpath to try and partially adopt the
5.0 features. The Collections may be one area where it is possible though.
But please lets get to an actual release that supports *one* of the platform
versions completely before you start working on the 5.0 stuff.

David Holmes




From MAILER-DAEMON Thu Jul 01 15:04:28 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bg6rE-0007f2-LW
	for mharc-classpath@gnu.org; Thu, 01 Jul 2004 15:04:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bg6rC-0007eX-Fq
	for classpath@gnu.org; Thu, 01 Jul 2004 15:04:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bg6rA-0007e9-PF
	for classpath@gnu.org; Thu, 01 Jul 2004 15:04:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bg6rA-0007dw-Mv
	for classpath@gnu.org; Thu, 01 Jul 2004 15:04:24 -0400
Received: from [217.12.12.140] (helo=smtp803.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Bg6p9-0008NX-N7
	for classpath@gnu.org; Thu, 01 Jul 2004 15:02:20 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp803.mail.ukl.yahoo.com with SMTP; 1 Jul 2004 19:02:18 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1Bg6p8-0008QB-4D
	for classpath@gnu.org; Thu, 01 Jul 2004 20:02:18 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCMEKBEFAA.dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCMEKBEFAA.dholmes@dltech.com.au>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-7i4D/H6PXv+MvWs0oYU2"
Message-Id: <1088708537.15399.218.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 01 Jul 2004 20:02:17 +0100
Subject: RE: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 01 Jul 2004 19:04:26 -0000


--=-7i4D/H6PXv+MvWs0oYU2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2004-07-01 at 19:05, David Holmes wrote:
> I don't think it would be easy for Classpath to try and partially adopt t=
he
> 5.0 features. The Collections may be one area where it is possible though=
.
> But please lets get to an actual release that supports *one* of the platf=
orm
> versions completely before you start working on the 5.0 stuff.
>=20
> David Holmes
>=20
>=20
I agree up to a point.  Certainly, there is no need for 5.0 support yet
because it is still beta.  I think we need to start thinking about it
though, before we get even further left behind.
What level are we working to at present? 1.4?  Is it even possible to
get full support for 1.0 through 1.4?  Even if it is, I doubt 1.5 would
join this list, because of the Collections changes.  Even if binaries
are compatible, I think there would be problems with stuff using things
like java.util.List instead of List<T> (correct me if I'm wrong here).
=46rom looking at the comparisons done with japitools, there are still
little niggles even in the early versions, but a lot of this is I guess
because things like constants may have changed values between versions.=20
It would be nice to have some kind of formal decision on what version we
are working towards (my apologies if I missed this somehow).

Looking on to 1.5 becoming mainstream, we have to ask ourselves whether
we continue trying to cover every area of 1.4 or start looking at
allowing applications using 1.5 to compile, period.  A lot of the 1.5
stuff is pretty low-level basic stuff (collections, java.lang stuff)
while the main stuff missing from Classpath now, I think, is still
pretty high-level (javax mostly).  The working Eclipse demonstrates this
-- not using Swing lets it get away with quite a bit.

If we don't have some 1.5 support, we risk the problem of not being able
to compile Java applications that use the new language features of 1.5,
because the support in these basic classes is missing.  The collections
framework is pretty finished in Classpath, AFAICS, so it makes sense to
at least add 1.5 support here, even though some of the graphics stuff is
still only matching really early versions.  Java is heavily used in
things like servlets and other server-side stuff that doesn't need this,
but will be using the generic-based collections once Java developers
start porting code to 1.5.  They are already talking about things like
1.5 support for Ant, for example, so its something we need to be at
least thinking about.  As a new developer to Classpath myself, I think
it also gives a clearer work area for hackers to join us.  Rather than
patching up someone else's code, there is something new to work on.=20
Like it or not (I know I don't), people tend to take more to working on
something new, than patching up other's code, even if it means we have
lots of half-done stuff.  The choice is really between having the full
depth of 1.4, or a wide breadth of Java support that includes 1.5, and I
think the latter would see Classpath getting more widely used.
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5F+5u+fW6pI0dq4RAq34AJ4sdJEvGBpmNNJBcQwRAB7gFnF4RwCdGmmt
9xIs1uwByqpwEr/N7o/WIsA=
=JNTF
-----END PGP SIGNATURE-----

--=-7i4D/H6PXv+MvWs0oYU2--




From MAILER-DAEMON Thu Jul 01 17:36:34 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bg9EQ-0003fe-3F
	for mharc-classpath@gnu.org; Thu, 01 Jul 2004 17:36:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bg9EN-0003ae-Uq
	for classpath@gnu.org; Thu, 01 Jul 2004 17:36:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bg9EL-0003Wy-TR
	for classpath@gnu.org; Thu, 01 Jul 2004 17:36:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bg9EL-0003Wa-9I
	for classpath@gnu.org; Thu, 01 Jul 2004 17:36:29 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bg9C7-0003XE-O1
	for classpath@gnu.org; Thu, 01 Jul 2004 17:34:12 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i61LXtNh039026
	for <classpath@gnu.org>; Fri, 2 Jul 2004 07:33:56 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Fri, 2 Jul 2004 07:34:26 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCIEKHEFAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <1088708537.15399.218.camel@rivendell>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Importance: Normal
Subject: RE: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 01 Jul 2004 21:36:32 -0000

> Andrew John Hughes wrote:
> If we don't have some 1.5 support, we risk the problem of not being able
> to compile Java applications that use the new language features of 1.5,
> because the support in these basic classes is missing.

The new language features generally require additional class libraries,
modifications to existing classes, additional information in the classfile
or some combination of all three. In principle you could back-port some
things (like Enum support) to 1.4 VM's - but they tend to interact with
other new features. All-in-all I think you'd have to go for an all-out
effort to support all of the classes needed for the new language features.
It would be difficult to try and integrate them in isolation.

David Holmes





From MAILER-DAEMON Thu Jul 01 18:33:31 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgA7X-0003ZY-9R
	for mharc-classpath@gnu.org; Thu, 01 Jul 2004 18:33:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgA7V-0003ZN-TR
	for classpath@gnu.org; Thu, 01 Jul 2004 18:33:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgA7U-0003YS-TK
	for classpath@gnu.org; Thu, 01 Jul 2004 18:33:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgA7U-0003YG-PQ
	for classpath@gnu.org; Thu, 01 Jul 2004 18:33:28 -0400
Received: from [217.12.12.196] (helo=smtp806.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgA5Y-0002ze-7B
	for classpath@gnu.org; Thu, 01 Jul 2004 18:31:28 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp806.mail.ukl.yahoo.com with SMTP; 1 Jul 2004 22:31:27 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1BgA5U-0001Qi-Vc
	for classpath@gnu.org; Thu, 01 Jul 2004 23:31:25 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCIEKHEFAA.dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCIEKHEFAA.dholmes@dltech.com.au>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-SKZW99BshE6+PguShFqI"
Message-Id: <1088721084.15399.241.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 01 Jul 2004 23:31:24 +0100
Subject: RE: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 01 Jul 2004 22:33:30 -0000


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

On Thu, 2004-07-01 at 22:34, David Holmes wrote:
> > Andrew John Hughes wrote:
> > If we don't have some 1.5 support, we risk the problem of not being abl=
e
> > to compile Java applications that use the new language features of 1.5,
> > because the support in these basic classes is missing.
>=20
> The new language features generally require additional class libraries,
> modifications to existing classes, additional information in the classfil=
e
> or some combination of all three. In principle you could back-port some
> things (like Enum support) to 1.4 VM's - but they tend to interact with
> other new features. All-in-all I think you'd have to go for an all-out
> effort to support all of the classes needed for the new language features=
.
> It would be difficult to try and integrate them in isolation.
>=20
> David Holmes
>=20
>=20
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath

That's why I think the best way is to approach this is via a branch, as
previously mentioned, rather than on the main Classpath source.  A few
class libraries can make the leap (those that are mainly extensions to
existing stuff), but most will be on the branch only until there is
sufficient support.  Of course, first we need a Free compiler and JVM
for generics, enums, etc.

Has anyone run the JDK 1.5 beta against Classpath using japitools?  I
know its not production but it may be interesting to see what the
differences are.  The licensing is different on the beta, so I'm wary
about trying this myself.
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5JC8u+fW6pI0dq4RAvgKAJ42poGRqzCJUaha3RsVC5/6zMDj7QCbBt5a
XNRSs8wZzD0mnlHwIHUO/G0=
=B2FS
-----END PGP SIGNATURE-----

--=-SKZW99BshE6+PguShFqI--




From MAILER-DAEMON Thu Jul 01 19:46:26 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgBG6-00071K-Mi
	for mharc-classpath@gnu.org; Thu, 01 Jul 2004 19:46:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgBG5-00070l-6e
	for classpath@gnu.org; Thu, 01 Jul 2004 19:46:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgBG1-0006zC-JM
	for classpath@gnu.org; Thu, 01 Jul 2004 19:46:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgBG1-0006yv-Fn
	for classpath@gnu.org; Thu, 01 Jul 2004 19:46:21 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgBDn-0002k4-68
	for classpath@gnu.org; Thu, 01 Jul 2004 19:44:03 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BgBDM-0003hs-00; Fri, 02 Jul 2004 01:43:37 +0200
From: Mark Wielaard <mark@klomp.org>
To: Guilhem Lavaux <guilhem@kaffe.org>
In-Reply-To: <40CDCB2A.80105@kaffe.org>
References: <49528.149.229.96.69.1087210779.squirrel@149.229.96.69>
	<40CDCB2A.80105@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-qQWoFHPv312nv2X8JUCi"
Message-Id: <1088725416.29405.61.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 01:43:36 +0200
Cc: classpath@gnu.org
Subject: Re: URLStreamHandler does not correcly parse filenames as URL
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 01 Jul 2004 23:46:25 -0000


--=-qQWoFHPv312nv2X8JUCi
Content-Type: multipart/mixed; boundary="=-jJyF8nEx+dPWbte+SfoV"


--=-jJyF8nEx+dPWbte+SfoV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2004-06-14 at 17:58, Guilhem Lavaux wrote:
> Roman Kennke wrote:
> > Original Submission:  I found, that java.net.URLStreamHandler does not
> > correctly
> > parse filenames such as "mapping.xml" as URLs. Some applications do suc=
h
> > things,
> > like Castor (here I found the error). The problem is, that
> > URLStreamHandler.parseURL
> > looks for "/" and does not check, if a "/" is found. In the case that
> > there is no
> > "/" invalid values are passed to java.lang.String.substring.
> >=20
> > The patch should solve this problem. At least it does for me :-)
> >=20
> > http://savannah.gnu.org/bugs/download.php?item_id=3D9331&item_file_id=
=3D1403
> >=20
> > any comments on this?
> >=20
>=20
> It seems good to me.

Agreed. I reformatted the patch a bit (see the source code style guide
http://www.gnu.org/software/classpath/docs/hacking.html#SEC7) and
committed it with the following ChangeLog entry:

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

        Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
        * java/net/URLStreamHandler.java (parseURL): When url file part
        doesn't contain a '/' just ignore context.

Thanks,

Mark

--=-jJyF8nEx+dPWbte+SfoV
Content-Disposition: inline; filename=URLStreamHandler.patch
Content-Type: text/x-patch; name=URLStreamHandler.patch; charset=ISO-8859-1
Content-Transfer-Encoding: base64

SW5kZXg6IGphdmEvbmV0L1VSTFN0cmVhbUhhbmRsZXIuamF2YQ0KPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZp
bGU6IC9jdnNyb290L2NsYXNzcGF0aC9jbGFzc3BhdGgvamF2YS9uZXQvVVJMU3RyZWFtSGFuZGxl
ci5qYXZhLHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS4yOA0KZGlmZiAtdSAtcjEuMjggVVJMU3Ry
ZWFtSGFuZGxlci5qYXZhDQotLS0gamF2YS9uZXQvVVJMU3RyZWFtSGFuZGxlci5qYXZhCTIzIEFw
ciAyMDA0IDIxOjEzOjIwIC0wMDAwCTEuMjgNCisrKyBqYXZhL25ldC9VUkxTdHJlYW1IYW5kbGVy
LmphdmEJMSBKdWwgMjAwNCAyMzozMzoxNyAtMDAwMA0KQEAgLTEsNSArMSw1IEBADQogLyogVVJM
U3RyZWFtSGFuZGxlci5qYXZhIC0tIEFic3RyYWN0IHN1cGVyY2xhc3MgZm9yIGFsbCBwcm90b2Nv
bCBoYW5kbGVycw0KLSAgIENvcHlyaWdodCAoQykgMTk5OCwgMTk5OSwgMjAwMiwgMjAwMyBGcmVl
IFNvZnR3YXJlIEZvdW5kYXRpb24sIEluYy4NCisgICBDb3B5cmlnaHQgKEMpIDE5OTgsIDE5OTks
IDIwMDIsIDIwMDMsIDIwMDQgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0aW9uLCBJbmMuDQogDQogVGhp
cyBmaWxlIGlzIHBhcnQgb2YgR05VIENsYXNzcGF0aC4NCiANCkBAIC0yMDQsOSArMjA0LDExIEBA
DQogICAgICAgew0KIAkvLyBDb250ZXh0IGlzIGF2YWlsYWJsZSwgYnV0IG9ubHkgb3ZlcnJpZGUg
aXQgaWYgdGhlcmUgaXMgYSBuZXcgZmlsZS4NCiAJaW50IGxhc3RTbGFzaCA9IGZpbGUubGFzdElu
ZGV4T2YoJy8nKTsNCi0NCi0JZmlsZSA9DQotCSAgZmlsZS5zdWJzdHJpbmcoMCwgbGFzdFNsYXNo
KSArICcvJyArIHNwZWMuc3Vic3RyaW5nKHN0YXJ0LCBlbmQpOw0KKwlpZiAobGFzdFNsYXNoIDwg
MCkNCisJICBmaWxlID0gc3BlYy5zdWJzdHJpbmcoc3RhcnQsIGVuZCk7DQorCWVsc2UNCisJICBm
aWxlID0gKGZpbGUuc3Vic3RyaW5nKDAsIGxhc3RTbGFzaCkNCisJCSAgKyAnLycgKyBzcGVjLnN1
YnN0cmluZyhzdGFydCwgZW5kKSk7DQogDQogCWlmICh1cmwuZ2V0UHJvdG9jb2woKS5lcXVhbHMo
ImZpbGUiKSkNCiAJICB7DQo=

--=-jJyF8nEx+dPWbte+SfoV--

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

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

iD8DBQBA5KGoxVhZCJWr9QwRAhUCAKCmDu8U+Wn0ZUERTKrIg9nQNi1X8gCeM55f
5xl4qaUngFosX4cqzHiUHKc=
=1NZr
-----END PGP SIGNATURE-----

--=-qQWoFHPv312nv2X8JUCi--




From MAILER-DAEMON Thu Jul 01 23:21:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgEcO-00046q-4d
	for mharc-classpath@gnu.org; Thu, 01 Jul 2004 23:21:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgEcM-00046j-3Q
	for classpath@gnu.org; Thu, 01 Jul 2004 23:21:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgEcK-00046W-Hn
	for classpath@gnu.org; Thu, 01 Jul 2004 23:21:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgEcJ-00046T-9Y
	for classpath@gnu.org; Thu, 01 Jul 2004 23:21:36 -0400
Received: from [24.24.2.57] (helo=ms-smtp-03.nyroc.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgEaE-0003Oa-P0
	for classpath@gnu.org; Thu, 01 Jul 2004 23:19:26 -0400
Received: from [192.168.0.43] (alb-24-195-113-26.nycap.rr.com [24.195.113.26])
	by ms-smtp-03.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id
	i623JNv2003519
	for <classpath@gnu.org>; Thu, 1 Jul 2004 23:19:24 -0400 (EDT)
From: James Damour <jdamour@nycap.rr.com>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-wspZ9QWR7sV8sPkNWViK"
Organization: SourceForge.net
Message-Id: <1088738946.5137.15.camel@hovel.lepus.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 01 Jul 2004 23:29:06 -0400
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Subject: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: "James Damour \(Suvarov454\)" <suvarov454@users.sourceforge.net>
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 03:21:38 -0000


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

Andrew John Hughes <gnu_andrew@member.fsf.org> raised an interesting
point.  What set of Java APIs is Classpath targeting?  *Can* it target
multiple APIs simultaneously?  How much effort are we willing to expend
to support the multiple APIs.

I'm tainted by Sun source code, so I can't contribute to the efforts of
supporting the multiple APIs, but if I may be allowed to suggest a
solution that someone else will have to implement, then I have an idea.

Why not just have multiple branches in CVS?  OK, so it would be better
if we could have a single trunk, and maintain trees of patchsets to that
trunk (kind of like the way the Linux kernel hackers handle things), but
GNU Arch isn't quite ready to handle the task, and I don't see any other
Free Software SCM that can adequately handle the job, so we're left with
having multiple "production" branches.  Still, with a decent automated
testsuites like Mauve and Wonka, shouldn't we be able to have them all
moving in the same direction at the same time?

Maybe we shouldn't try to maintain *every* API set that Sun put forth,
but just selected ones.  I would suggest v1.1, 1.4.2 and 1.5.  IMHO, 1.0
APIs are missing too many important classes to be worth supporting.=20
Because of the legal battles v1.1 is arguably the most
widely-distributed JVM today. The v1.2 and v1.3 APIs don't really buy us
anything that a partial implementation of v1.4.2 doesn't also give us,
but if we decide to support v1.4.2 for a "long time", then it gives
application developers a stable environment to code for.  We could also
constantly chase whatever set of Java APIs are "current" at any given
time, in case an application developer needs to have the bleeding edge,
and is willing to put up with a perpetual work in progress.
--=20
James Damour (Suvarov454) <suvarov454@users.sourceforge.net>

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

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

iD8DBQBA5NaBJtJj6pH+EFQRAh14AKDELbruOEM9m9io+txZEGhdhFqe9gCfcmLR
fjXapW02kUmm0kBHQuRn4ic=
=3HJ8
-----END PGP SIGNATURE-----

--=-wspZ9QWR7sV8sPkNWViK--




From MAILER-DAEMON Fri Jul 02 04:42:45 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgJd6-0007lA-DG
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 04:42:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgJd2-0007j5-4g
	for classpath@gnu.org; Fri, 02 Jul 2004 04:42:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgJcw-0007hC-Gw
	for classpath@gnu.org; Fri, 02 Jul 2004 04:42:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgJcw-0007h5-9j
	for classpath@gnu.org; Fri, 02 Jul 2004 04:42:34 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgJaq-0006zd-Q6
	for classpath@gnu.org; Fri, 02 Jul 2004 04:40:25 -0400
Received: (qmail 18339 invoked by uid 504); 2 Jul 2004 10:13:43 +0200
Received: from arnaud.vandyck@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501
	with qmail-scanner-1.16 
	(clamscan: 0.71. spamassassin: 2.55.  Clear:. 
	Processed in 0.986058 secs); 02 Jul 2004 08:13:43 -0000
Received: from unknown (HELO oz.fapse.ulg.ac.be) ([139.165.77.198])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <gnu_andrew@member.fsf.org>; 2 Jul 2004 10:13:42 +0200
Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.34)
	id 1BgJAz-00016o-56; Fri, 02 Jul 2004 10:13:41 +0200
To: gnu_andrew@member.fsf.org
References: <1088694287.15399.200.camel@rivendell>
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
X-Face: >U]gI'=hKRtZE@~Svh"mU,aS"">yCT*dBkVAFl'!]!&k@R8fEr{-)Ql6{xhuXKb+!>}x;
	^2ck7Ytr'EABxt~)3q?AO}$:wwSva.$uNN9x.w4+uVmMMSB1~EbJgo|9E0yQXONuM'~c*20^
Date: Fri, 02 Jul 2004 10:13:41 +0200
In-Reply-To: <1088694287.15399.200.camel@rivendell> (Andrew John Hughes's
	message of "Thu, 01 Jul 2004 16:04:47 +0100")
Message-ID: <87briysu6i.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Cc: classpath@gnu.org, classpathx-discuss@gnu.org
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 08:42:41 -0000

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

> Hi all,
> 	I don't know if anyone here has heard about the recent release of Sun's
> Project Looking Glass under the GPL.  Its no doubt a good sign to see
> Sun releasing this interesting project under a true Free Software
> license.  However, the Java code still depends on a couple of Java
> extensions, namely Java 3D and Java Advanced Imaging.  I was wondering
> if anyone knew about the possibility or the existence of an effort to
> create Free Software implementations of these libraries?  Having these
> would mean that Project Looking Glass would be more likely to run on a
> Free platform.  At present, it is tied to proprietary Sun licenses, even
> if the main code is under the GPL.

I'm not sure but maybe some developpers on classpath project already
work on this.

-- 
Arnaud Vandyck



From MAILER-DAEMON Fri Jul 02 06:19:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgL91-00031O-ED
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 06:19:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgL8z-00031E-GC
	for classpath@gnu.org; Fri, 02 Jul 2004 06:19:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgL8x-00030h-Sq
	for classpath@gnu.org; Fri, 02 Jul 2004 06:19:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgL8x-00030D-9W
	for classpath@gnu.org; Fri, 02 Jul 2004 06:19:43 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgL6j-0000eb-KR
	for classpath@gnu.org; Fri, 02 Jul 2004 06:17:25 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BgL6K-0004xs-00; Fri, 02 Jul 2004 12:17:00 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-oMnPSUN0SDh4fuuvAugD"
Message-Id: <1088763419.29406.79.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 12:16:59 +0200
Cc: classpath@gnu.org
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 10:19:45 -0000


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

Hi,

On Tue, 2004-06-29 at 14:46, Jeroen Frijters wrote:
> Is anyone able to run Eclipse 3.0? I could run 3.0M8, but as of M9 it
> fails to start up [1]. If haven't downloaded the more recent RCs, but I
> have no reason to assume they fare any better.
>=20
> I spent considerable time today trying to figure out what is going
> wrong, but so far haven't made any progress.

Same here :{

For 3.0 final I get the same problem as you with both jamvm and gij:

org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework=
.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv=
ator (BundleContextImpl.java:975)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (Bun=
dleContextImpl.java:937)
[...]
Caused by: java.lang.NullPointerException
   at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.openCon=
nection (BundleResourceHandler.java:138)
   at java.net.URL.openConnection (URL.java:658)
   at java.net.URL.openStream (URL.java:671)
   at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getReso=
urceBundle (ManifestLocalization.java:114)
[...]

This indicates that it is a general bug in our GNU Classpath core
libraries. I have been unable to pinpoint it however. Somehow an
initialization sequence in that osgi.framework BundleBla goes wrong
since I cannot find where it should have set the (static) context
variable that the BundleResourceHandle.openConnection() tries to use
(and that produces this NullPointerException).

But even everything after 3.0M5 hasn't worked for me at all.
Trying 3.0M8 blows up completely on gij (OutOfMemoryException <<no
stacktrace available>>). And with jamvm it gives:

org.osgi.framework.BundleException: An error occured trying to read the bun=
dle
   at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultAdaptor$1.b=
egin (DefaultAdaptor.java:447)
   at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivi=
leged (Framework.java:720)
[...]
Nested exception:
java.io.IOException: Unable to properly read manifest for: reference:file:/=
tmp/eclipse/./plugins/org.eclipse.osgi.services_3.0.0/
   at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest (=
EclipseBundleData.java:231)
   at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultBundleData.=
initializeNewBundle (DefaultBundleData.java:93)

I am not really making progress on this unfortunately.

Cheers,

Mark

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

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

iD8DBQBA5TYaxVhZCJWr9QwRAhLCAKCEI5mLEg496wxnZartvB2femA5BwCghdYy
yyYOC2hQewB+UsHAq5RnbJU=
=erAP
-----END PGP SIGNATURE-----

--=-oMnPSUN0SDh4fuuvAugD--




From MAILER-DAEMON Fri Jul 02 06:34:05 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgLMr-0001N6-GM
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 06:34:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgLMp-0001Me-Su
	for classpath@gnu.org; Fri, 02 Jul 2004 06:34:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgLMo-0001MS-6h
	for classpath@gnu.org; Fri, 02 Jul 2004 06:34:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgLMo-0001MP-27
	for classpath@gnu.org; Fri, 02 Jul 2004 06:34:02 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1BgLKV-0007xn-C0
	for classpath@gnu.org; Fri, 02 Jul 2004 06:31:39 -0400
Received: from 1cust8.vr2.fft4.alter.net ([149.229.88.8] helo=[192.168.1.3])
	by box84.elkhouse.de with asmtp (Exim 4.32) id 1BgLHf-0003bu-6z
	for classpath@gnu.org; Fri, 02 Jul 2004 12:28:43 +0200
From: Roman Kennke <roman@ontographics.com>
To: classpath@gnu.org
In-Reply-To: <1088763419.29406.79.camel@localhost>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-0uncDxjFiDFRKkSIlWWb"
Message-Id: <1088764292.1168.33.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 12:31:32 +0200
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 10:34:04 -0000


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

> Caused by: java.lang.NullPointerException
>    at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.openC=
onnection (BundleResourceHandler.java:138)
>    at java.net.URL.openConnection (URL.java:658)
>    at java.net.URL.openStream (URL.java:671)
>    at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getRe=
sourceBundle (ManifestLocalization.java:114)
> [...]
>=20
> This indicates that it is a general bug in our GNU Classpath core
> libraries. I have been unable to pinpoint it however.

just an observation: NullPointerExceptions are often thrown, because in
GNU Classpath are lots of method skeletons, which are not yet
implemented and only return null. Maybe (hopefully) this is such a
case.? Didn't look at it though.

Maybe we should go and throw out (or even better: implement) any such
methods. Then we would see such problems earlier -- during compiling.
Although, this would very likely break alot of things.

just my 2c
=09
/Roman


--=-0uncDxjFiDFRKkSIlWWb
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA5TmE3sO1VIw8IDoRAhYHAJ993wrJ3tHVbRECb6VXKPvFJaRwcQCgtv4J
udEaUy4501cWFkO5w74O4QQ=
=e3I1
-----END PGP SIGNATURE-----

--=-0uncDxjFiDFRKkSIlWWb--




From MAILER-DAEMON Fri Jul 02 06:48:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgLb9-00070w-Gn
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 06:48:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgLb7-0006zZ-VS
	for classpath@gnu.org; Fri, 02 Jul 2004 06:48:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgLb5-0006yB-Es
	for classpath@gnu.org; Fri, 02 Jul 2004 06:48:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgLb5-0006y5-CF
	for classpath@gnu.org; Fri, 02 Jul 2004 06:48:47 -0400
Received: from [217.12.12.139] (helo=smtp802.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgLZC-0007Fn-Gv
	for classpath@gnu.org; Fri, 02 Jul 2004 06:46:50 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp802.mail.ukl.yahoo.com with SMTP; 2 Jul 2004 10:46:49 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32)
	id 1BgLZA-0002xo-Ux; Fri, 02 Jul 2004 11:46:49 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: Classpath X <classpathx-discuss@gnu.org>, GNU Classpath <classpath@gnu.org>
In-Reply-To: <87briysu6i.fsf@oz.fapse.ulg.ac.be>
References: <1088694287.15399.200.camel@rivendell>
	<87briysu6i.fsf@oz.fapse.ulg.ac.be>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-LD2oS8fYT+BehKbFhyS8"
Message-Id: <1088765208.15399.288.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 11:46:48 +0100
Cc: 
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 10:48:50 -0000


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

On Fri, 2004-07-02 at 09:13, Arnaud Vandyck wrote:
> Andrew John Hughes <gnu_andrew@member.fsf.org> writes:
>=20
> > Hi all,
> > 	I don't know if anyone here has heard about the recent release of Sun'=
s
> > Project Looking Glass under the GPL.  Its no doubt a good sign to see
> > Sun releasing this interesting project under a true Free Software
> > license.  However, the Java code still depends on a couple of Java
> > extensions, namely Java 3D and Java Advanced Imaging.  I was wondering
> > if anyone knew about the possibility or the existence of an effort to
> > create Free Software implementations of these libraries?  Having these
> > would mean that Project Looking Glass would be more likely to run on a
> > Free platform.  At present, it is tied to proprietary Sun licenses, eve=
n
> > if the main code is under the GPL.
>=20
> I'm not sure but maybe some developpers on classpath project already
> work on this.

That's what I'm trying to ascertain at the moment.  These are add-ons to
Sun's Java, and not part of the standard API or Classpath, so classpathx
seems the best place for any such projects.  If nothing does exist, I'm
prepared to start looking into it myself.  In that vein, it would be
interested to find out if anyone knows of any legal problems with this.=20
I haven't seen any of the code for these, but I don't know if there is
something in the specifications that would prevent a Free
implementation.
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5T0Yu+fW6pI0dq4RAlyPAJ9LOVrJClGtm65OKo1SawgmUCb/nQCfR0AU
X+7hmhjraO9aVIpjOIw56/4=
=zRjf
-----END PGP SIGNATURE-----

--=-LD2oS8fYT+BehKbFhyS8--




From MAILER-DAEMON Fri Jul 02 06:51:19 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgLdX-0008Eo-Q5
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 06:51:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgLdV-0008EK-Q9
	for classpath@gnu.org; Fri, 02 Jul 2004 06:51:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgLdU-0008E7-7V
	for classpath@gnu.org; Fri, 02 Jul 2004 06:51:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgLdU-0008E4-2Y
	for classpath@gnu.org; Fri, 02 Jul 2004 06:51:16 -0400
Received: from [217.12.12.204] (helo=smtp814.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgLbZ-0008VQ-53
	for classpath@gnu.org; Fri, 02 Jul 2004 06:49:18 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp814.mail.ukl.yahoo.com with SMTP; 2 Jul 2004 10:42:35 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1BgLV5-0002xa-L5
	for classpath@gnu.org; Fri, 02 Jul 2004 11:42:35 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1088738946.5137.15.camel@hovel.lepus.org>
References: <1088738946.5137.15.camel@hovel.lepus.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-/Q27f55z2f4gjgLX92y9"
Message-Id: <1088764955.15399.284.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 11:42:35 +0100
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 10:51:18 -0000


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

On Fri, 2004-07-02 at 04:29, James Damour wrote:
> Why not just have multiple branches in CVS?  OK, so it would be better
> if we could have a single trunk, and maintain trees of patchsets to that
> trunk (kind of like the way the Linux kernel hackers handle things), but
> GNU Arch isn't quite ready to handle the task, and I don't see any other
> Free Software SCM that can adequately handle the job, so we're left with
> having multiple "production" branches.  Still, with a decent automated
> testsuites like Mauve and Wonka, shouldn't we be able to have them all
> moving in the same direction at the same time?
>=20
> Maybe we shouldn't try to maintain *every* API set that Sun put forth,
> but just selected ones.  I would suggest v1.1, 1.4.2 and 1.5.  IMHO, 1.0
> APIs are missing too many important classes to be worth supporting.=20
> Because of the legal battles v1.1 is arguably the most
> widely-distributed JVM today. The v1.2 and v1.3 APIs don't really buy us
> anything that a partial implementation of v1.4.2 doesn't also give us,
> but if we decide to support v1.4.2 for a "long time", then it gives
> application developers a stable environment to code for.  We could also
> constantly chase whatever set of Java APIs are "current" at any given
> time, in case an application developer needs to have the bleeding edge,
> and is willing to put up with a perpetual work in progress.

That sounds like a good choice of APIs to me, at least for the present.
1.1 is pretty much here with Classpath, AFAICS, so that should give a
working Java implementation, which looks better to users wanting to use
Classpath and distros wanting to ship it.  Most applets probably only
need this level of support, I'd imagine -- don't know if things have
changed recently.
1.4.2 would give us a Swing-based implementation and some of the
features in the current Java platform that Java developers will have got
used to over the last four years or so that 1.4 has been in use.  At the
moment, Swing, CORBA and javax.imageio seem to be the main gaps in
this.  Swing is being heavily worked on in the gcj branch, so
progression is going on there.
1.5 would allow us to track the new Java once its properly available,
and will be needed by anyone who uses the new language features.  A 1.5
branch of Classpath would not compile, as far as I can tell, without a
1.5 compiler, and code created against it would also need to be 1.5
compatible.
I think 1.0 long since stopped being a useful alternative.  For one, it
has a different event model, although this is still supported by current
Classpath and Sun's Java.  More interesting is that I went through the
list of 'problems' shown up by japitools for 1.0 yesterday.  As I have
it, only 1 problem is actually real and still exists in the current
version of Sun's Java, 1.4.2.  This is the presence of some fields in
java.awt.Font.  I may even be wrong here, as it may be that japitools
expects them both to be public, while they are in fact protected in
1.4.2.  I don't think they are present at all in Classpath.  At present,
that's the only true difference between Classpath and 1.0.  The rest are
no longer supported in current versions of Sun's Java.  I don't know
what the oldest version is you can get from their web site, but I've not
seen 1.0 being offered.  I think 1.0 support has been dropped by Sun,
and can safely be dropped by Classpath too.
There are some interesting issues with maintaining multiple branches.=20
The main one would be that we need to make sure the choice of branches
remain current.  Not to confuse anyone, but I think you could probably
view the current selection in the same way as the three main Debian
branches.  1.1 is just about stable, and could be set for a release
status.  1.4.2 is still pretty much 'testing', but could form the basis
of a future release to eventually replace 1.1.  1.5 is undoubtably
unstable (in fact, its not even there yet, because it doesn't exist -- I
suppose experimental would have been the better choice).  One possible
solution is that we could rotate them in a similar way to Debian, unless
there's a reason we need to keep 1.1 support when we have 1.4.  1.1
support at present would actually result in a much smaller branch than
the current Classpath, because things such as Swing would be dropped
from this branch. =20
As to maintenance, this could be a problem, but I imagine 1.1 won't need
much more than fixes backporting from the main 1.4 work.  We then
basically have a status where 1.1 is a stable release for users, 1.4 is
the centre of Classpath, with a varying combination of stability and
active work.  1.5 would distinctly only for people willing to hack the
code, at present.
The interesting point to remember is that Classpath is the upstream
provider to many JVMs.  Each JVM would need to choose which version of
Classpath it wants to use, or possibly offer alternatives.  I think that
should be left to them.  Of course, you do get the interesting situation
where a JVM with 1.4 language support could be using the stable 1.1
classes.
Anyway, those are some of my ideas.  It would be nice to hear other's
suggestions on this.  I do think we need a clearer road map than 1.1 and
some 1.2, with bits of 1.3 and 1.4.
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5Twbu+fW6pI0dq4RAo/mAJ4/oUt9S/aXLvdlVUjmMGrmhae1SwCfQ+rK
XHwXPNul20Kkpb31Dw76F8k=
=+Y3v
-----END PGP SIGNATURE-----

--=-/Q27f55z2f4gjgLX92y9--




From MAILER-DAEMON Fri Jul 02 06:51:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgLdy-0008LD-0W
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 06:51:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgLdw-0008L7-5t
	for classpath@gnu.org; Fri, 02 Jul 2004 06:51:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgLdu-0008Kv-Lk
	for classpath@gnu.org; Fri, 02 Jul 2004 06:51:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgLdu-0008Ks-1N
	for classpath@gnu.org; Fri, 02 Jul 2004 06:51:42 -0400
Received: from [217.12.12.140] (helo=smtp803.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgLbj-0000Da-Bs
	for classpath@gnu.org; Fri, 02 Jul 2004 06:49:27 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp803.mail.ukl.yahoo.com with SMTP; 2 Jul 2004 10:49:26 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1BgLbi-0002yB-2O
	for classpath@gnu.org; Fri, 02 Jul 2004 11:49:26 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1088764292.1168.33.camel@moonlight.localdomain>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088764292.1168.33.camel@moonlight.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-PNcyiKwI+AxQjpVfBWM4"
Message-Id: <1088765365.15399.294.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 11:49:26 +0100
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 10:51:44 -0000


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

On Fri, 2004-07-02 at 11:31, Roman Kennke wrote:
> > Caused by: java.lang.NullPointerException
> >    at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.ope=
nConnection (BundleResourceHandler.java:138)
> >    at java.net.URL.openConnection (URL.java:658)
> >    at java.net.URL.openStream (URL.java:671)
> >    at org.eclipse.osgi.framework.internal.core.ManifestLocalization.get=
ResourceBundle (ManifestLocalization.java:114)
> > [...]
> >=20
> > This indicates that it is a general bug in our GNU Classpath core
> > libraries. I have been unable to pinpoint it however.
>=20
> just an observation: NullPointerExceptions are often thrown, because in
> GNU Classpath are lots of method skeletons, which are not yet
> implemented and only return null. Maybe (hopefully) this is such a
> case.? Didn't look at it though.
>=20
> Maybe we should go and throw out (or even better: implement) any such
> methods. Then we would see such problems earlier -- during compiling.
> Although, this would very likely break alot of things.
>=20
> just my 2c
> =09
> /Roman
>=20
>=20
> ______________________________________________________________________
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
Yes, I have to concur here -- I don't think we should have
implementations that need completing but are hidden by returning null,
even if it means some things break.  Throwing an Error would be much
clearer, and make it obvious where holes in the implementation exist.=20
Things like this make it appear that we have support that we don't -- I
think a lot of the newer APIs are hidden in this way.
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5T21u+fW6pI0dq4RAngGAJwKGnNphT8lJakpC7i0BsAaprHtKQCfdN/m
xrozCAXXUbO8QwHDtN8XQ7Y=
=OIvs
-----END PGP SIGNATURE-----

--=-PNcyiKwI+AxQjpVfBWM4--




From MAILER-DAEMON Fri Jul 02 07:03:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgLos-0005MG-8T
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 07:03:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgLoq-0005KA-ML
	for classpath@gnu.org; Fri, 02 Jul 2004 07:03:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgLoq-0005JQ-3w
	for classpath@gnu.org; Fri, 02 Jul 2004 07:03:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgLoq-0005JJ-0O
	for classpath@gnu.org; Fri, 02 Jul 2004 07:03:00 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1BgLmW-00060S-2P
	for classpath@gnu.org; Fri, 02 Jul 2004 07:00:36 -0400
Received: from 1cust8.vr2.fft4.alter.net ([149.229.88.8] helo=[192.168.1.3])
	by box84.elkhouse.de with asmtp (Exim 4.32) id 1BgLjg-0003dR-LA
	for classpath@gnu.org; Fri, 02 Jul 2004 12:57:40 +0200
From: Roman Kennke <roman@ontographics.com>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1088765365.15399.294.camel@rivendell>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088764292.1168.33.camel@moonlight.localdomain>
	<1088765365.15399.294.camel@rivendell>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-grzwGw+SR6ZHerrB10fS"
Message-Id: <1088766030.1168.38.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 13:00:30 +0200
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 11:03:00 -0000


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

Am Fr, den 02.07.2004 schrieb Andrew John Hughes um 12:49:
> On Fri, 2004-07-02 at 11:31, Roman Kennke wrote:
> > > Caused by: java.lang.NullPointerException
> > >    at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.o=
penConnection (BundleResourceHandler.java:138)
> > >    at java.net.URL.openConnection (URL.java:658)
> > >    at java.net.URL.openStream (URL.java:671)
> > >    at org.eclipse.osgi.framework.internal.core.ManifestLocalization.g=
etResourceBundle (ManifestLocalization.java:114)
> > > [...]
> > >=20
> > > This indicates that it is a general bug in our GNU Classpath core
> > > libraries. I have been unable to pinpoint it however.
> >=20
> > just an observation: NullPointerExceptions are often thrown, because in
> > GNU Classpath are lots of method skeletons, which are not yet
> > implemented and only return null. Maybe (hopefully) this is such a
> > case.? Didn't look at it though.
> >=20
> > Maybe we should go and throw out (or even better: implement) any such
> > methods. Then we would see such problems earlier -- during compiling.
> > Although, this would very likely break alot of things.

> Yes, I have to concur here -- I don't think we should have
> implementations that need completing but are hidden by returning null,
> even if it means some things break.  Throwing an Error would be much
> clearer, and make it obvious where holes in the implementation exist.=20
> Things like this make it appear that we have support that we don't -- I
> think a lot of the newer APIs are hidden in this way.

for the 0.10 release we could and should throw out any such methods if
it ain't break anything, and those, which would break compilation should
either be implemented (best solution) or should throw a
NotImplementedException, which tells exactly, WHAT and WHERE something
is not implemented (and maybe WHY ;).

Do you think, that makes sense? Or is this too much effort? Could
finding such methods be automated?

/Roman


--=-grzwGw+SR6ZHerrB10fS
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA5UBO3sO1VIw8IDoRAkKlAKCBnnZg6P9oCjt3FgAX4GEW348y9QCgvj+z
W5QQ2DLdi17c1ijHpXbzJdM=
=Sszo
-----END PGP SIGNATURE-----

--=-grzwGw+SR6ZHerrB10fS--




From MAILER-DAEMON Fri Jul 02 07:20:33 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgM5p-00058F-8K
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 07:20:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgM5o-00057u-3y
	for classpath@gnu.org; Fri, 02 Jul 2004 07:20:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgM5m-00057b-GD
	for classpath@gnu.org; Fri, 02 Jul 2004 07:20:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgM5m-00057Y-Ax
	for classpath@gnu.org; Fri, 02 Jul 2004 07:20:30 -0400
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgM3d-0006xb-Iw
	for classpath@gnu.org; Fri, 02 Jul 2004 07:18:17 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-95-071.ewetel.net
	[80.228.95.71])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id i62BIFII025935;
	Fri, 2 Jul 2004 13:18:16 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BgM9W-00019l-00; Fri, 02 Jul 2004 13:24:22 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Fri, 2 Jul 2004 13:20:15 +0200
User-Agent: KMail/1.6.2
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088765365.15399.294.camel@rivendell>
	<1088766030.1168.38.camel@moonlight.localdomain>
In-Reply-To: <1088766030.1168.38.camel@moonlight.localdomain>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200407021320.20853.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 11:20:32 -0000

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

Am Freitag, 2. Juli 2004 13:00 schrieb Roman Kennke:
> for the 0.10 release we could and should throw out any such methods
> if it ain't break anything, and those, which would break
> compilation should either be implemented (best solution) or should
> throw a
> NotImplementedException, which tells exactly, WHAT and WHERE
> something is not implemented (and maybe WHY ;).
>
> Do you think, that makes sense? Or is this too much effort? Could
> finding such methods be automated?

I think this is a very bad idea. First its too late for such a big=20
change and second this would irritate users why their apps dont even=20
compile against GNU classpath anymore. Better add FIXMEs over all and=20
track them with tools like grep or Eclipse and implement them as time=20
and interest comes.


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

iD8DBQFA5UT0WSOgCCdjSDsRAkTzAJ4pDrmFXVp0Hp2mIBhCJqOHq92opwCfXshq
ttNKQLhIRJMdfT31sezGOJA=3D
=3DO9rW
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Fri Jul 02 07:30:28 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgMFP-0000t2-E5
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 07:30:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgMFN-0000sV-8N
	for classpath@gnu.org; Fri, 02 Jul 2004 07:30:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgMFK-0000rZ-Jl
	for classpath@gnu.org; Fri, 02 Jul 2004 07:30:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgMFK-0000rP-E6
	for classpath@gnu.org; Fri, 02 Jul 2004 07:30:22 -0400
Received: from [217.12.12.200] (helo=smtp810.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgMDQ-0003fW-AI
	for classpath@gnu.org; Fri, 02 Jul 2004 07:28:24 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp810.mail.ukl.yahoo.com with SMTP; 2 Jul 2004 11:28:23 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1BgMDP-00030t-86
	for classpath@gnu.org; Fri, 02 Jul 2004 12:28:23 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1088766030.1168.38.camel@moonlight.localdomain>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088764292.1168.33.camel@moonlight.localdomain>
	<1088765365.15399.294.camel@rivendell>
	<1088766030.1168.38.camel@moonlight.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-xOkT1gRQX5Y1ADR7ja4X"
Message-Id: <1088767703.15399.302.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 12:28:23 +0100
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 11:30:25 -0000


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

On Fri, 2004-07-02 at 12:00, Roman Kennke wrote:
> Am Fr, den 02.07.2004 schrieb Andrew John Hughes um 12:49:
> > On Fri, 2004-07-02 at 11:31, Roman Kennke wrote:
> > > > Caused by: java.lang.NullPointerException
> > > >    at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler=
.openConnection (BundleResourceHandler.java:138)
> > > >    at java.net.URL.openConnection (URL.java:658)
> > > >    at java.net.URL.openStream (URL.java:671)
> > > >    at org.eclipse.osgi.framework.internal.core.ManifestLocalization=
.getResourceBundle (ManifestLocalization.java:114)
> > > > [...]
> > > >=20
> > > > This indicates that it is a general bug in our GNU Classpath core
> > > > libraries. I have been unable to pinpoint it however.
> > >=20
> > > just an observation: NullPointerExceptions are often thrown, because =
in
> > > GNU Classpath are lots of method skeletons, which are not yet
> > > implemented and only return null. Maybe (hopefully) this is such a
> > > case.? Didn't look at it though.
> > >=20
> > > Maybe we should go and throw out (or even better: implement) any such
> > > methods. Then we would see such problems earlier -- during compiling.
> > > Although, this would very likely break alot of things.
>=20
> > Yes, I have to concur here -- I don't think we should have
> > implementations that need completing but are hidden by returning null,
> > even if it means some things break.  Throwing an Error would be much
> > clearer, and make it obvious where holes in the implementation exist.=20
> > Things like this make it appear that we have support that we don't -- I
> > think a lot of the newer APIs are hidden in this way.
>=20
> for the 0.10 release we could and should throw out any such methods if
> it ain't break anything, and those, which would break compilation should
> either be implemented (best solution) or should throw a
> NotImplementedException, which tells exactly, WHAT and WHERE something
> is not implemented (and maybe WHY ;).
>=20
> Do you think, that makes sense? Or is this too much effort? Could
> finding such methods be automated?
>=20
> /Roman
>=20
>=20
> ______________________________________________________________________
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath

Sounds good to me.  I wouldn't actually throw out any methods, simply
because eventually someone will have to put it back in and that's just
more time -- there's usually also a good reason a method hook has been
put in, I imagine.  I can see the situation where someone would be
implementing something, find they need to support an optional method
somewhere else and put an empty hook in.  I just really needs to be the
policy to have these hooks as throwing Errors rather than simply sending
back nulls (which in a lot of cases is a valid result -- so the calling
code expects it and takes an appropriate codepath, not knowing that the
actual result is an error).  I'm more for an Error throw rather than an
Exception, simply because bad calling code may just swallow exceptions.=20
I don't think any of it will expect NotImplemented, and we need
something that will unavoidably spit out the result of calling a dead
method.  I may be barking up the wrong tree here -- if NotImplemented
allows this behaviour by descending from an appropriate superclass, then
by all means use this.  But I think the very thing we want to avoid is
silent handling of these hooks, whether it be by null or an exception
being swallowed by catch (Exception e) {} (and yes people do this...).

Breaking parts of Classpath that 'work' doesn't sound like a thrilling
prospect, but its something that needs to be done if we are going to get
to an acceptable implementation. Mark's problems with Eclipse just show
the problems that occur when you have to find errors in two large
codebases, and Classpath is swallowing the error that would give the
game away.=20
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5UbXu+fW6pI0dq4RAjloAJwOC2WC2g/jJwBEseZdnIsoAbYcgQCfX9O6
iVGXCgPxDwdAsdgslk0z+pQ=
=ubMY
-----END PGP SIGNATURE-----

--=-xOkT1gRQX5Y1ADR7ja4X--




From MAILER-DAEMON Fri Jul 02 07:32:17 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgMHB-0001QL-8B
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 07:32:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgMH9-0001NW-JP
	for classpath@gnu.org; Fri, 02 Jul 2004 07:32:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgMH8-0001Lu-02
	for classpath@gnu.org; Fri, 02 Jul 2004 07:32:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgMH7-0001Ld-LL
	for classpath@gnu.org; Fri, 02 Jul 2004 07:32:13 -0400
Received: from [217.12.12.140] (helo=smtp803.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgMF9-0004xm-Se
	for classpath@gnu.org; Fri, 02 Jul 2004 07:30:12 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp803.mail.ukl.yahoo.com with SMTP; 2 Jul 2004 11:30:11 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1BgMF9-000313-08
	for classpath@gnu.org; Fri, 02 Jul 2004 12:30:11 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <200407021320.20853.konqueror@gmx.de>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088765365.15399.294.camel@rivendell>
	<1088766030.1168.38.camel@moonlight.localdomain>
	<200407021320.20853.konqueror@gmx.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-ZJahkbxQCly/QWd5mU6g"
Message-Id: <1088767810.15399.304.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 12:30:10 +0100
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 11:32:15 -0000


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

On Fri, 2004-07-02 at 12:20, Michael Koch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Am Freitag, 2. Juli 2004 13:00 schrieb Roman Kennke:
> > for the 0.10 release we could and should throw out any such methods
> > if it ain't break anything, and those, which would break
> > compilation should either be implemented (best solution) or should
> > throw a
> > NotImplementedException, which tells exactly, WHAT and WHERE
> > something is not implemented (and maybe WHY ;).
> >
> > Do you think, that makes sense? Or is this too much effort? Could
> > finding such methods be automated?
>=20
> I think this is a very bad idea. First its too late for such a big=20
> change and second this would irritate users why their apps dont even=20
> compile against GNU classpath anymore. Better add FIXMEs over all and=20
> track them with tools like grep or Eclipse and implement them as time=20
> and interest comes.
>=20
>=20
> Michael
> - --=20
> Homepage: http://www.worldforge.org/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>=20
> iD8DBQFA5UT0WSOgCCdjSDsRAkTzAJ4pDrmFXVp0Hp2mIBhCJqOHq92opwCfXshq
> ttNKQLhIRJMdfT31sezGOJA=3D
> =3DO9rW
> -----END PGP SIGNATURE-----
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
Throwing an Error or similar in all cases would solve this problem in a
proactive way and still allow compilation.  I think people would be more
annoyed to find that an error they thought they had is due to nulls from
Classpath.
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5UdCu+fW6pI0dq4RAnqkAJ0b8R7mu6hQbqaP07hwIMA9BWPbdACeO/EO
DgTPiaEYdcJY6XqxjFba52w=
=gTsI
-----END PGP SIGNATURE-----

--=-ZJahkbxQCly/QWd5mU6g--




From MAILER-DAEMON Fri Jul 02 07:38:22 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgMN3-0005Fx-U2
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 07:38:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgMN2-0005Eu-Fk
	for classpath@gnu.org; Fri, 02 Jul 2004 07:38:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgMN0-0005EZ-Qn
	for classpath@gnu.org; Fri, 02 Jul 2004 07:38:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgMN0-0005EW-Mw
	for classpath@gnu.org; Fri, 02 Jul 2004 07:38:18 -0400
Received: from [212.6.122.141] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BgMKm-00087t-A1; Fri, 02 Jul 2004 07:36:00 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-95-071.ewetel.net
	[80.228.95.71])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i62BZv9D005614;
	Fri, 2 Jul 2004 13:35:57 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BgMQe-0001AO-00; Fri, 02 Jul 2004 13:42:04 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org, gnu_andrew@member.fsf.org
Date: Fri, 2 Jul 2004 13:38:02 +0200
User-Agent: KMail/1.6.2
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<200407021320.20853.konqueror@gmx.de>
	<1088767810.15399.304.camel@rivendell>
In-Reply-To: <1088767810.15399.304.camel@rivendell>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200407021338.02336.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 11:38:20 -0000

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

Am Freitag, 2. Juli 2004 13:30 schrieb Andrew John Hughes:

> Throwing an Error or similar in all cases would solve this problem
> in a proactive way and still allow compilation.  I think people
> would be more annoyed to find that an error they thought they had
> is due to nulls from Classpath.

We have discussed this at length on this list already and came to no=20
solution everyone was happy with. So nothing was done.


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

iD8DBQFA5UkaWSOgCCdjSDsRAkBhAJ0Ulg8vDCVo0A8XGBSN77TZ1nDpqgCfRbwr
GW4aFtvMcuXI+nbKAqChlAs=3D
=3DHCmQ
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Fri Jul 02 07:43:17 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgMRp-0007MK-Iz
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 07:43:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgMRn-0007Li-JU
	for classpath@gnu.org; Fri, 02 Jul 2004 07:43:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgMRn-0007LW-4i
	for classpath@gnu.org; Fri, 02 Jul 2004 07:43:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgMRm-0007LM-WB
	for classpath@gnu.org; Fri, 02 Jul 2004 07:43:15 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgMPt-0002ML-5P
	for classpath@gnu.org; Fri, 02 Jul 2004 07:41:17 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1BgMPs-0006a0-00
	for <classpath@gnu.org>; Fri, 02 Jul 2004 13:41:16 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BgMPo-0006ZZ-00; Fri, 02 Jul 2004 13:41:12 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i62BfBh7008594;
	Fri, 2 Jul 2004 13:41:11 +0200 (MEST)
Message-ID: <40E549D7.30302@kaffe.org>
Date: Fri, 02 Jul 2004 13:41:11 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
References: <1088694287.15399.200.camel@rivendell>
	<87briysu6i.fsf@oz.fapse.ulg.ac.be>
In-Reply-To: <87briysu6i.fsf@oz.fapse.ulg.ac.be>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpathx-discuss@gnu.org, classpath@gnu.org
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 11:43:15 -0000

Arnaud Vandyck wrote:
> Andrew John Hughes <gnu_andrew@member.fsf.org> writes:
> 
> 
>>Hi all,
>>	I don't know if anyone here has heard about the recent release of Sun's
>>Project Looking Glass under the GPL.  Its no doubt a good sign to see
>>Sun releasing this interesting project under a true Free Software
>>license.  However, the Java code still depends on a couple of Java
>>extensions, namely Java 3D and Java Advanced Imaging.  I was wondering
>>if anyone knew about the possibility or the existence of an effort to
>>create Free Software implementations of these libraries?  Having these
>>would mean that Project Looking Glass would be more likely to run on a
>>Free platform.  At present, it is tied to proprietary Sun licenses, even
>>if the main code is under the GPL.
> 
> 
> I'm not sure but maybe some developpers on classpath project already
> work on this.
> 

There is a free vecmath implementation, Bryan posted a link to it a few 
days ago, when the Java3d subject came up for the first time. There is 
no free software implementation of the Java3d apis, afaik. I doint't 
think there is a free implementation of JAI, yet, either. If you're 
looking for a nice project ... go for it :)

cheers,
dalibor topic



From MAILER-DAEMON Fri Jul 02 07:49:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgMY9-00014s-1U
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 07:49:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgMY7-00014G-Rf
	for classpath@gnu.org; Fri, 02 Jul 2004 07:49:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgMY3-00012S-WD
	for classpath@gnu.org; Fri, 02 Jul 2004 07:49:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgMY3-00012I-PC
	for classpath@gnu.org; Fri, 02 Jul 2004 07:49:43 -0400
Received: from [193.74.71.22] (helo=guri.is.scarlet.be)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BgMVi-0005Ro-LF; Fri, 02 Jul 2004 07:47:19 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.scarlet.be  with ESMTP id i62BlDb02510; 
	Fri, 2 Jul 2004 13:47:13 +0200
From: Chris Gray <chris.gray@kiffer.be>
Organization: /k/ Embedded Java Syste;s
To: gnu_andrew@member.fsf.org, GNU Classpath <classpath@gnu.org>
Date: Fri, 2 Jul 2004 13:52:12 +0200
User-Agent: KMail/1.5.4
References: <1088738946.5137.15.camel@hovel.lepus.org>
	<1088764955.15399.284.camel@rivendell>
In-Reply-To: <1088764955.15399.284.camel@rivendell>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200407021352.12465.chris.gray@kiffer.be>
Cc: 
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 11:49:48 -0000

On Friday 02 July 2004 12:42, Andrew John Hughes wrote:

> That sounds like a good choice of APIs to me, at least for the present.
> 1.1 is pretty much here with Classpath, AFAICS, so that should give a
> working Java implementation, which looks better to users wanting to use
> Classpath and distros wanting to ship it.  Most applets probably only
> need this level of support, I'd imagine -- don't know if things have
> changed recently.

1.1.x has become a standard for web applets, because of MS's refusal to 
support anything more modern in IE. That situation may change now after the 
settlement between MS and Sun, but 1.1.x will probably remain the lingua 
franca of the www for some time. Applets requiring later versions of the APIs 
certainly exist, but mainly in an intranet/extranet context, where it's 
feasible to require that users have a certain plug-in installed.

Putting 1.1.x into a separate CVS branch would have the advantage that APIs 
which have since been deprecated could be treated as such in the other 
branches, which could make for much cleaner code.

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




From MAILER-DAEMON Fri Jul 02 07:59:28 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgMhU-0005dv-O2
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 07:59:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgMhS-0005dc-Kc
	for classpath@gnu.org; Fri, 02 Jul 2004 07:59:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgMhR-0005dQ-6A
	for classpath@gnu.org; Fri, 02 Jul 2004 07:59:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgMhR-0005dN-3s
	for classpath@gnu.org; Fri, 02 Jul 2004 07:59:25 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1BgMfX-000225-Ni
	for classpath@gnu.org; Fri, 02 Jul 2004 07:57:27 -0400
Received: from 1cust8.vr2.fft4.alter.net ([149.229.88.8] helo=[192.168.1.3])
	by box84.elkhouse.de with asmtp (Exim 4.32)
	id 1BgMch-0003lY-J4; Fri, 02 Jul 2004 13:54:31 +0200
From: Roman Kennke <roman@ontographics.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1088763419.29406.79.camel@localhost>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-1nf6E/ihcPlIeFJk/3wB"
Message-Id: <1088769440.1168.40.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 13:57:20 +0200
Cc: classpath@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 11:59:26 -0000


--=-1nf6E/ihcPlIeFJk/3wB
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Ok, back to the problem:

> Caused by: java.lang.NullPointerException
>    at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.openC=
onnection (BundleResourceHandler.java:138)
>    at java.net.URL.openConnection (URL.java:658)

I bet, that there is no URLStreamHandler set (instance field ph).

;)
/Roman


--=-1nf6E/ihcPlIeFJk/3wB
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA5U2g3sO1VIw8IDoRApKyAKDX1BqActrQwqwA05JswdxkjEb9ZQCgwGMF
fqzf8Gjf7F7DPGonYaLPxxo=
=iK7N
-----END PGP SIGNATURE-----

--=-1nf6E/ihcPlIeFJk/3wB--




From MAILER-DAEMON Fri Jul 02 08:02:26 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgMkL-0006rO-NP
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 08:02:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgMjL-0006FZ-I1
	for classpath@gnu.org; Fri, 02 Jul 2004 08:01:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgMjC-0006EJ-NT
	for classpath@gnu.org; Fri, 02 Jul 2004 08:01:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgMj9-0006Du-Ps
	for classpath@gnu.org; Fri, 02 Jul 2004 08:01:12 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1BgMgl-0002mc-61
	for classpath@gnu.org; Fri, 02 Jul 2004 07:58:44 -0400
Received: from 1cust8.vr2.fft4.alter.net ([149.229.88.8] helo=[192.168.1.3])
	by box84.elkhouse.de with asmtp (Exim 4.32)
	id 1BgMdt-0003lp-IP; Fri, 02 Jul 2004 13:55:45 +0200
From: Roman Kennke <roman@ontographics.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1088769440.1168.40.camel@moonlight.localdomain>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088769440.1168.40.camel@moonlight.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-bhleJBf3c5eVq2M+CxWU"
Message-Id: <1088769514.1168.42.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 13:58:35 +0200
Cc: classpath@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 12:02:24 -0000


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

Am Fr, den 02.07.2004 schrieb Roman Kennke um 13:57:
> Ok, back to the problem:
>=20
> > Caused by: java.lang.NullPointerException
> >    at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.ope=
nConnection (BundleResourceHandler.java:138)
> >    at java.net.URL.openConnection (URL.java:658)
>=20
> I bet, that there is no URLStreamHandler set (instance field ph).

... maybe because the particular requested protocol is not implemented.
/Roman


--=-bhleJBf3c5eVq2M+CxWU
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA5U3q3sO1VIw8IDoRAgXUAJ0XHHQFnJfhOxKqX8lZZ3G2sxA84ACgw05x
TCalX5kTU9CrifmvFtAEtMU=
=lITQ
-----END PGP SIGNATURE-----

--=-bhleJBf3c5eVq2M+CxWU--




From MAILER-DAEMON Fri Jul 02 08:08:58 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgMqg-0001TZ-3T
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 08:08:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgMqd-0001QN-60
	for classpath@gnu.org; Fri, 02 Jul 2004 08:08:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgMqZ-0001Nb-8O
	for classpath@gnu.org; Fri, 02 Jul 2004 08:08:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgMkb-00075B-4o
	for classpath@gnu.org; Fri, 02 Jul 2004 08:02:43 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgMiZ-0003gK-2g
	for classpath@gnu.org; Fri, 02 Jul 2004 08: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: Fri, 2 Jul 2004 14:00:29 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CD7F@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Eclipse 3.0
Thread-Index: AcRgLE6j3NsZdns7SKeTt8YQ38y9aQAAD8pw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Roman Kennke" <roman@ontographics.com>, "Mark Wielaard" <mark@klomp.org>
Cc: classpath@gnu.org
Subject: RE: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 12:08:56 -0000

Roman Kennke wrote:
> Am Fr, den 02.07.2004 schrieb Roman Kennke um 13:57:
> > Ok, back to the problem:
> >=20
> > > Caused by: java.lang.NullPointerException
> > >    at=20
> org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.
> openConnection (BundleResourceHandler.java:138)
> > >    at java.net.URL.openConnection (URL.java:658)
> >=20
> > I bet, that there is no URLStreamHandler set (instance field ph).
>=20
> ... maybe because the particular requested protocol is not=20
> implemented.

I hate to be blunt, but this really isn't helping. I'm afraid It's much
more subtle than that.

Regards,
Jeroen



From MAILER-DAEMON Fri Jul 02 08:53:45 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgNY1-0007ew-0l
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 08:53:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgNXz-0007ed-GS
	for classpath@gnu.org; Fri, 02 Jul 2004 08:53:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgNXx-0007cH-UN
	for classpath@gnu.org; Fri, 02 Jul 2004 08:53:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgNXx-0007c5-Qq
	for classpath@gnu.org; Fri, 02 Jul 2004 08:53:41 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgNVy-0005JC-1A
	for classpath@gnu.org; Fri, 02 Jul 2004 08:51:38 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1BgNVw-0005nj-00
	for <classpath@gnu.org>; Fri, 02 Jul 2004 14:51:36 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BgNVs-0005mv-00; Fri, 02 Jul 2004 14:51:32 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i62CpWh7020787;
	Fri, 2 Jul 2004 14:51:32 +0200 (MEST)
Message-ID: <40E55A53.3030406@kaffe.org>
Date: Fri, 02 Jul 2004 14:51:31 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: gnu_andrew@member.fsf.org
References: <NFBBKALFDCPFIDBNKAPCIEKHEFAA.dholmes@dltech.com.au>
	<1088721084.15399.241.camel@rivendell>
In-Reply-To: <1088721084.15399.241.camel@rivendell>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 12:53:43 -0000

Andrew John Hughes wrote:

> Has anyone run the JDK 1.5 beta against Classpath using japitools?  I
> know its not production but it may be interesting to see what the
> differences are.  The licensing is different on the beta, so I'm wary
> about trying this myself.

I doubt japitools would swallow it, as the class file format has changed 
in 1.5 :) But the underlying tols (JADE, afaik) might have been updated 
to deal with 1.5-ish classes, so you *may* be able to puzzle together a 
version of japitools that can deal with 1.5.

cheers,
dalibor topic



From MAILER-DAEMON Fri Jul 02 09:10:21 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgNo5-0005nT-9t
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 09:10:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgNo3-0005mM-Pk
	for classpath@gnu.org; Fri, 02 Jul 2004 09:10:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgNo1-0005la-UX
	for classpath@gnu.org; Fri, 02 Jul 2004 09:10:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgNo1-0005lV-P8
	for classpath@gnu.org; Fri, 02 Jul 2004 09:10:17 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgNm9-0005Aw-6f
	for classpath@gnu.org; Fri, 02 Jul 2004 09:08:21 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BgNln-0005M5-00; Fri, 02 Jul 2004 15:07:59 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CD7F@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD7F@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-H66O5wY7n5mzN2UCFLBf"
Message-Id: <1088773678.29405.154.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 15:07:58 +0200
Cc: classpath@gnu.org
Subject: RE: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 13:10:20 -0000


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

Hi,

On Fri, 2004-07-02 at 14:00, Jeroen Frijters wrote:
> I hate to be blunt, but this really isn't helping. I'm afraid It's much
> more subtle than that.

So lets assume someone wants to help track this bug down.
This is what I suggest you do (since that is what I did, not because it
is necessarily the best way to go about it, I just know this setup
works/shows the bug Jeroen and I are seeing):

- Make sure you have all Needed Tools and Libraries
  (http://www.gnu.org/software/classpath/docs/hacking.html#SEC5)
- Get GNU Classpath CVS (https://savannah.gnu.org/cvs/?group=3Dclasspath)
- Run:
  cd classpath
  ./autogen.sh
  cd ..
  mkdir classpath-obj
  cd classpath-obj
  ../classpath/configure --with-glibj=3Dboth
  make
  make install (make sure /usr/local/classpath is writable)
- Get jamvm 1.1.4 (http://jamvm.sf.net/)
- Run:
  ./configure --prefix=3D/usr/local/jamvm
  make
  make install (make sure /usr/local/jamvm is writable)
- Get Eclipse 3.0 (eclipse-SDK-3.0-linux-gtk.zip)
http://download2.eclipse.org/downloads/drops/R-3.0-200406251208/index.php
- Run:
  unzip eclipse-SDK-3.0-linux-gtk.zip
  cd eclipse
  export PATH=3D.:/usr/local/jamvm/bin:$PATH
  ./eclipse -vm jamvm -debug -consoleLog -vmargs -mx128M

That should give you the stacktraces Jeroen and I are seeing.

Now to hack on eclipse to help debug this thing do something like:
- mkdir defaultsrc
- cd defaultsrc
- unzip
../plugins/org.eclipse.platform.source_3.0.0/src/org.eclipse.osgi_3.0.0/def=
aultAdaptorsrc.zip
- Hack some debug statements in for example BundleResourceHandler.java
- Recompile with:
  jikes-classpath -nowarn -classpath \
    `find ../plugins -name \*.jar | xargs | sed s/\ /:/g` \
    `find org -name \*.java`
  fastjar ../plugins/org.eclipse.osgi_3.0.0/defaultAdaptor.jar *

(Same in a fresh new 'coresrc' directory can be done for
 SystemBundleActivator.java with

../plugins/org.eclipse.platform.source_3.0.0/src/org.eclipse.osgi_3.0.0/cor=
esrc.zipp
 -> ../plugins/org.eclipse.osgi_3.0.0/core.jar)

Happy hacking!
And please let us know if you get any further.
Even partial debug/hacks/output is appreciated.

Cheers,

Mark

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

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

iD8DBQBA5V4txVhZCJWr9QwRArs1AJ9nlhiY5f1IUHV1BwyuxiOUcdI7OQCfYfE4
n4Y5jl3tyZnIISTiOxymnNc=
=AaVA
-----END PGP SIGNATURE-----

--=-H66O5wY7n5mzN2UCFLBf--




From MAILER-DAEMON Fri Jul 02 09:18:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgNvo-0002Ea-7d
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 09:18:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgNvm-0002C1-LJ
	for classpath@gnu.org; Fri, 02 Jul 2004 09:18:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgNvm-0002BH-1L
	for classpath@gnu.org; Fri, 02 Jul 2004 09:18:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgNvl-0002B6-UL
	for classpath@gnu.org; Fri, 02 Jul 2004 09:18:18 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgNtX-000112-FM
	for classpath@gnu.org; Fri, 02 Jul 2004 09:15:59 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1BgNtW-0008Ph-00
	for <classpath@gnu.org>; Fri, 02 Jul 2004 15:15:58 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BgNtU-0008PH-00; Fri, 02 Jul 2004 15:15:56 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i62DFth7011728;
	Fri, 2 Jul 2004 15:15:56 +0200 (MEST)
Message-ID: <40E5600B.5090202@kaffe.org>
Date: Fri, 02 Jul 2004 15:15:55 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: gnu_andrew@member.fsf.org
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>	<1088763419.29406.79.camel@localhost>	<1088764292.1168.33.camel@moonlight.localdomain>	<1088765365.15399.294.camel@rivendell>	<1088766030.1168.38.camel@moonlight.localdomain>
	<1088767703.15399.302.camel@rivendell>
In-Reply-To: <1088767703.15399.302.camel@rivendell>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 13:18:18 -0000

Andrew John Hughes wrote:

> Sounds good to me.  I wouldn't actually throw out any methods, simply
> because eventually someone will have to put it back in and that's just
> more time -- there's usually also a good reason a method hook has been
> put in, I imagine.  I can see the situation where someone would be
> implementing something, find they need to support an optional method
> somewhere else and put an empty hook in.  I just really needs to be the
> policy to have these hooks as throwing Errors rather than simply sending
> back nulls (which in a lot of cases is a valid result -- so the calling
> code expects it and takes an appropriate codepath, not knowing that the
> actual result is an error).  I'm more for an Error throw rather than an
> Exception, simply because bad calling code may just swallow exceptions. 
> I don't think any of it will expect NotImplemented, and we need
> something that will unavoidably spit out the result of calling a dead
> method.  I may be barking up the wrong tree here -- if NotImplemented
> allows this behaviour by descending from an appropriate superclass, then
> by all means use this.  But I think the very thing we want to avoid is
> silent handling of these hooks, whether it be by null or an exception
> being swallowed by catch (Exception e) {} (and yes people do this...).

Bikeshed! :) [1]

cheers,
dalibor topic

[1] Discussion of NotImplementedYet has been done to death last year. It 
just gets people riled up about nothing instead of actually writing the 
code to implement the not yet implemented parts. grep FIXME and start 
hacking :)



From MAILER-DAEMON Fri Jul 02 09:26:19 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgO3X-0004zP-Re
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 09:26:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgO3Q-0004uO-Ri
	for classpath@gnu.org; Fri, 02 Jul 2004 09:26:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgO3J-0004qu-0t
	for classpath@gnu.org; Fri, 02 Jul 2004 09:26:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgO3I-0004qM-TT
	for classpath@gnu.org; Fri, 02 Jul 2004 09:26:04 -0400
Received: from [62.253.162.47] (helo=mta07-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgO14-0004za-2W
	for classpath@gnu.org; Fri, 02 Jul 2004 09:23:46 -0400
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta07-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040702132353.MKUJ5696.mta07-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Fri, 2 Jul 2004 14:23:53 +0100
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i62DNW2v020996; Fri, 2 Jul 2004 14:23:32 +0100
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i62DNUmX020812;
	Fri, 2 Jul 2004 14:23:30 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16613.25042.346447.693839@cuddles.cambridge.redhat.com>
Date: Fri, 2 Jul 2004 14:23:30 +0100
From: Andrew Haley <aph@redhat.com>
To: Andrew John Hughes <gnu_andrew@member.fsf.org>
In-Reply-To: <1088767703.15399.302.camel@rivendell>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088764292.1168.33.camel@moonlight.localdomain>
	<1088765365.15399.294.camel@rivendell>
	<1088766030.1168.38.camel@moonlight.localdomain>
	<1088767703.15399.302.camel@rivendell>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 13:26:15 -0000

Andrew John Hughes writes:

 > I'm more for an Error throw rather than an Exception, simply
 > because bad calling code may just swallow exceptions.  I don't
 > think any of it will expect NotImplemented, and we need something
 > that will unavoidably spit out the result of calling a dead method.

Exactly right, this is *extremely* important.

 > Breaking parts of Classpath that 'work' doesn't sound like a thrilling
 > prospect, but its something that needs to be done if we are going to get
 > to an acceptable implementation.

Yes.  Skeleton methods that just don't work are an unmitigated evil,
and shouldn't be committed to our tree.  Not existing at all is best,
throwing an Error is second best.

I have wasted so much time tracking down failures in Classpath to a
dummy method (saying "FIXME: implement the spec") that should have
simply failed to link at runtime.  It would have saved me hours.
Days, even.

 > Mark's problems with Eclipse just show the problems that occur when
 > you have to find errors in two large codebases, and Classpath is
 > swallowing the error that would give the game away.

Exactly.

Andrew.



From MAILER-DAEMON Fri Jul 02 09:28:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgO5s-0006T3-7Y
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 09:28:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgO5p-0006Sm-3e
	for classpath@gnu.org; Fri, 02 Jul 2004 09:28:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgO5o-0006ST-Ck
	for classpath@gnu.org; Fri, 02 Jul 2004 09:28:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgO5o-0006SQ-7X
	for classpath@gnu.org; Fri, 02 Jul 2004 09:28:40 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgO3g-0006bw-U8
	for classpath@gnu.org; Fri, 02 Jul 2004 09:26:29 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1BgNoQ-00080L-00
	for <classpath@gnu.org>; Fri, 02 Jul 2004 15:10:42 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BgNo0-0007wo-00; Fri, 02 Jul 2004 15:10:16 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i62DAFh7008775;
	Fri, 2 Jul 2004 15:10:15 +0200 (MEST)
Message-ID: <40E55EB7.8020001@kaffe.org>
Date: Fri, 02 Jul 2004 15:10:15 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "James Damour (Suvarov454)" <suvarov454@users.sourceforge.net>
References: <1088738946.5137.15.camel@hovel.lepus.org>
In-Reply-To: <1088738946.5137.15.camel@hovel.lepus.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 13:28:42 -0000

James Damour wrote:
> Andrew John Hughes <gnu_andrew@member.fsf.org> raised an interesting
> point.  What set of Java APIs is Classpath targeting?  *Can* it target
> multiple APIs simultaneously?  How much effort are we willing to expend
> to support the multiple APIs.
> 
> I'm tainted by Sun source code, so I can't contribute to the efforts of
> supporting the multiple APIs, but if I may be allowed to suggest a
> solution that someone else will have to implement, then I have an idea.
> 
> Why not just have multiple branches in CVS?  OK, so it would be better
> if we could have a single trunk, and maintain trees of patchsets to that
> trunk (kind of like the way the Linux kernel hackers handle things), but
> GNU Arch isn't quite ready to handle the task, and I don't see any other
> Free Software SCM that can adequately handle the job, so we're left with
> having multiple "production" branches.  Still, with a decent automated
> testsuites like Mauve and Wonka, shouldn't we be able to have them all
> moving in the same direction at the same time?
> 
> Maybe we shouldn't try to maintain *every* API set that Sun put forth,
> but just selected ones.  I would suggest v1.1, 1.4.2 and 1.5.  IMHO, 1.0
> APIs are missing too many important classes to be worth supporting. 
> Because of the legal battles v1.1 is arguably the most
> widely-distributed JVM today. The v1.2 and v1.3 APIs don't really buy us
> anything that a partial implementation of v1.4.2 doesn't also give us,
> but if we decide to support v1.4.2 for a "long time", then it gives
> application developers a stable environment to code for.  We could also
> constantly chase whatever set of Java APIs are "current" at any given
> time, in case an application developer needs to have the bleeding edge,
> and is willing to put up with a perpetual work in progress.

Given that Classpath doesn't implement any JDK API release fully, afaik, 
i think it's a little illusionary to demand that it fully supports three 
of them, given the current man-power of the project :) We are talking 
about a few thousand classes times the number of supported platforms 
here. Chances are, that by the time Classpath has the few hundred 
regular contributors to pull that off, Java Super-XP-2010 will be out ;)

The problem doesn't lie in the APIs, it lies in the semantical changes 
that happened between JDK releases. for example, class loading is very 
different between 1.1, 1.2, 1.3 and 1.4. Each release changed it, added 
new ways to load classes, or new locations to load class from (Jars, 
extensions, ...).

Another fine example is security, which essentially gets thrown out of 
the window and rewritten with each JDK release. :)

You could solve the 'i want to have just the 1.x API' issue, by writing 
a tool that uses japtiools files to implement a set of JDK 1.x 'facade' 
classes that delegate to classpath classes for the real work. It 
wouldn't give you much, since the documented semantics of core classes 
tend to change more or (usually) less with each release, so you'd have 
to essentially fork all those classes where you want the semantics 
pinned down to 1.x interpretation. Not a lot of fun for a single person ;)

cheers,
dalibor topic



From MAILER-DAEMON Fri Jul 02 13:38:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgRzQ-0001gI-HK
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 13:38:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgRzO-0001fN-Ob
	for classpath@gnu.org; Fri, 02 Jul 2004 13:38:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgRzK-0001ek-TN
	for classpath@gnu.org; Fri, 02 Jul 2004 13:38:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgRzK-0001eZ-QU
	for classpath@gnu.org; Fri, 02 Jul 2004 13:38:14 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgRxQ-0008KW-0b
	for classpath@gnu.org; Fri, 02 Jul 2004 13:36:16 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id EF30462703; Fri,  2 Jul 2004 17:36:13 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 82683-06; Fri,  2 Jul 2004 17:36:09 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-65-182.adsl.solnet.ch
	[212.41.65.182]) by mail01.solnet.ch (Postfix) with ESMTP
	id BD628624A7; Fri,  2 Jul 2004 17:36:06 +0000 (GMT)
Received: by reali.dnsalias.net (Postfix, from userid 65534)
	id 3020010B2F2; Mon, 28 Jun 2004 19:24:41 +0200 (CEST)
Received: from mc-reali (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id 18B74106722; Mon, 28 Jun 2004 19:24:39 +0200 (CEST)
Date: Mon, 28 Jun 2004 19:29:24 +0200
From: Patrik Reali <reali@acm.org>
To: Bryce McKinlay <mckinlay@redhat.com>,
	David Gilbert <david.gilbert@object-refinery.com>
Message-ID: <3711897.1088450964@[192.168.1.4]>
In-Reply-To: <40D06B24.8010000@redhat.com>
References: <1087316794.6956.10.camel@linux42.overstone>
	<40D06B24.8010000@redhat.com>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spambayes-Classification: ham; 0.00
X-Virus-Scanned: by SolNet mail01.solnet.ch
Cc: classpath@gnu.org
Subject: Re: Javadocs
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 17:38:19 -0000

Like for the daily builds, I'm willing to offer my machine to make a daily 
or weekly documentation build if somebody provides the script for this.

Because my uplink connection is weak (128 kbit/s), I would prefer to upload 
the results somewhere else (e.g. some gnu server) instead of serving them 
from the same machine.

Maybe we can talk with the sysadmins of www.gnu.org to be able to upload a 
tarred version of the doc and automagically unpack it on the server....

-Patrik

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


--On Mittwoch, 16. Juni 2004 11:45 -0400 Bryce McKinlay 
<mckinlay@redhat.com> wrote:

> David Gilbert wrote:
>
>> I'm familiarising myself with GNU Classpath at the moment, with the hope
>> that I can contribute something in the future (copyright paperwork is in
>> process).  A quick question - are there any Javadocs online anywhere?  I
>> couldn't find any, but maybe I missed somewhere obvious?  Anyway, I
>> generated them from source (using javadoc) and would be happy to upload
>> them somewhere if that would help.
>>
>>
>
> As far as I know, the classpath javadocs are not yet officially online
> anywhere. It would, however, be cool to have them on the web somewhere,
> and automatically generated from CVS classpath sources.
>
> Regards
>
> Bryce
>
>
>
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath





From MAILER-DAEMON Fri Jul 02 14:10:01 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgSU3-0000j0-8y
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 14:10:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgSU1-0000fy-7n
	for classpath@gnu.org; Fri, 02 Jul 2004 14:09:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgSTz-0000d5-4C
	for classpath@gnu.org; Fri, 02 Jul 2004 14:09:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgSTy-0000cV-VW
	for classpath@gnu.org; Fri, 02 Jul 2004 14:09:55 -0400
Received: from [207.174.178.92] (helo=email2.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BgSS7-0007bS-UT
	for classpath@gnu.org; Fri, 02 Jul 2004 14:08:00 -0400
Received: (qmail 24016 invoked from network); 2 Jul 2004 18:15:48 -0000
Received: from te0216.peakpeak.com (HELO fleche.redhat.com) ([204.144.238.216])
	(envelope-sender <tromey@redhat.com>)
	by email2.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 2 Jul 2004 18:15:48 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id E9DBA4F82A4; Fri,  2 Jul 2004 11:54:16 -0600 (MDT)
To: "James Damour (Suvarov454)" <suvarov454@users.sourceforge.net>
References: <1088738946.5137.15.camel@hovel.lepus.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 02 Jul 2004 11:54:16 -0600
In-Reply-To: <1088738946.5137.15.camel@hovel.lepus.org>
Message-ID: <87eknu8fcn.fsf@fleche.redhat.com>
Lines: 21
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 18:09:58 -0000

>>>>> "James" == James Damour <jdamour@nycap.rr.com> writes:

James> Andrew John Hughes <gnu_andrew@member.fsf.org> raised an interesting
James> point.  What set of Java APIs is Classpath targeting?  *Can* it target
James> multiple APIs simultaneously?  How much effort are we willing to expend
James> to support the multiple APIs.

Historically what we've done is just target the latest release from
Sun.  At the moment this still seems like a very good approach, given
our constraints (manpower mostly).

Also, I don't see what making some subset release would buy us.  Why
not just release it all?  Most programs that run in 1.1 will run fine
against the 1.4 library (modulo all the changes Dalibor points out).

As I see it, the difference with 1.5 support is just that there are
major language changes, and the free compilers and runtimes don't
support them yet.  So, in my view, compiler-breaking changes ought to
be done on a branch until the compiler/runtime sides are more ready.

Tom



From MAILER-DAEMON Fri Jul 02 15:01:21 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgTHl-0004Kn-GL
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 15:01:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgTHk-0004J4-CV
	for classpath@gnu.org; Fri, 02 Jul 2004 15:01:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgTHi-0004GD-T2
	for classpath@gnu.org; Fri, 02 Jul 2004 15:01:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgTHi-0004G2-Pb
	for classpath@gnu.org; Fri, 02 Jul 2004 15:01:18 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1BgTFU-0008OK-OQ
	for classpath@gnu.org; Fri, 02 Jul 2004 14:59:01 -0400
Received: from 1cust8.vr2.fft4.alter.net ([149.229.88.8] helo=[192.168.1.3])
	by box84.elkhouse.de with asmtp (Exim 4.32)
	id 1BgTCe-0004d6-Ns; Fri, 02 Jul 2004 20:56:05 +0200
From: Roman Kennke <roman@ontographics.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1088763419.29406.79.camel@localhost>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-LdJpqV9stsiKoGX4974l"
Message-Id: <1088794732.1168.80.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 20:58:52 +0200
Cc: classpath@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 19:01:21 -0000


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

I have found a possible explanation for the exception at eclipse
startup.

I found, that BundleResourceHandler.context is null and therefore the
exception is thrown. This static context field is set in
BundleResoureHandler.setContext(..) which is called in
AbstractFrameworkAdapter.frameworkStart(..)

I searched for where this is called, and found it at the end of
org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(..)

now look at the stacktrace:

java.lang.NullPointerException
   at
org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.openConnectio=
n (BundleResourceHandler.java:138)
   at java.net.URL.openConnection (URL.java:652)
   at java.net.URL.openStream (URL.java:665)
   at
org.eclipse.osgi.framework.internal.core.ManifestLocalization.getResourceBu=
ndle (ManifestLocalization.java:114)
   at
org.eclipse.osgi.framework.internal.core.ManifestLocalization.getHeaders
(ManifestLocalization.java:52)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders
(AbstractBundle.java:1032)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders
(AbstractBundle.java:982)
   at
org.eclipse.osgi.framework.internal.core.SystemBundleActivator.register
(SystemBundleActivator.java:97)
   at
org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start
(SystemBundleActivator.java:44)


you see, that the exception is thrown during exactly this start(..) call
_before_ frameworkStart(..) is called. So it is very possible that the
context is not yet set at the point where register(..) is called.

The question is, why does this error not occur with Suns VM? Maybe
java.net.URL.openConnection should not go into
org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.openConnectio=
n()
??

another question now is, where is the URL itself constructed. After
spinning through the endless spagetti code (why didn't they write it in
Basic??) I found
org.eclipse.osgi.framework.adapter.core.AbstractBundleData.getEntry as
the method that actually creates the URL.

ok, now I hope this helps more than my last statements..

/Roman


--=-LdJpqV9stsiKoGX4974l
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA5bBs3sO1VIw8IDoRAudtAJsFcDXBDiUy4P5YCr1iopadJ0jy5QCglQXG
NAY9P1du0cKmWxg68exZ7ys=
=3ojd
-----END PGP SIGNATURE-----

--=-LdJpqV9stsiKoGX4974l--




From MAILER-DAEMON Fri Jul 02 15:48:27 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgU1L-00025E-5n
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 15:48:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgU1J-000259-ON
	for classpath@gnu.org; Fri, 02 Jul 2004 15:48:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgU1I-00024x-8l
	for classpath@gnu.org; Fri, 02 Jul 2004 15:48:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgU1I-00024u-5H
	for classpath@gnu.org; Fri, 02 Jul 2004 15:48:24 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1BgTz5-0006Kr-T5
	for classpath@gnu.org; Fri, 02 Jul 2004 15:46:08 -0400
Received: from 1cust8.vr2.fft4.alter.net ([149.229.88.8] helo=[192.168.1.3])
	by box84.elkhouse.de with asmtp (Exim 4.32)
	id 1BgTwG-0004kb-GT; Fri, 02 Jul 2004 21:43:12 +0200
From: Roman Kennke <roman@ontographics.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1088794732.1168.80.camel@moonlight.localdomain>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088794732.1168.80.camel@moonlight.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-4p8bsWaoTsd07DEpcY8w"
Message-Id: <1088797560.1168.92.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 21:46:00 +0200
Cc: classpath@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 19:48:25 -0000


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

... another possibility is, that we should not go into the else branch
in BundleResourceHandler.openConnection, but instead into the if branch:

if (bundleEntry !=3D null) {
    return (new BundleURLConnection bla)
} else {
    some stuff
    context.getBundle !! NullPointerException
}

the bundleEntry comes in the end from
org.eclipse.osgi.framework.adaptor.core.BundleFile.getEntry() which is
subclassed 3 times in the same file:
ZipBundleFile
DirBundleFile
NestedDirBundleFile

so my suggestion is, that maybe there is something wrong with zip file
handling or normal file handling in classpath.

I will look into this now.

/Roman


--=-4p8bsWaoTsd07DEpcY8w
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA5bt33sO1VIw8IDoRArQDAKChSlmZx7LPVXVUMbmr89FwzrGZiQCeJSwV
Y0NHHNsTm+q26tv8wjt2jg4=
=V3f8
-----END PGP SIGNATURE-----

--=-4p8bsWaoTsd07DEpcY8w--




From MAILER-DAEMON Fri Jul 02 17:41:05 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgVmL-0003ZT-EA
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 17:41:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgVmK-0003Y6-GL
	for classpath@gnu.org; Fri, 02 Jul 2004 17:41:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgVmG-0003WZ-Ez
	for classpath@gnu.org; Fri, 02 Jul 2004 17:41:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgVmG-0003WF-A0
	for classpath@gnu.org; Fri, 02 Jul 2004 17:41:00 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgVjo-0001Yk-Tm
	for classpath@gnu.org; Fri, 02 Jul 2004 17:38:29 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BgVjS-0006GO-00; Fri, 02 Jul 2004 23:38:06 +0200
From: Mark Wielaard <mark@klomp.org>
To: Roman Kennke <roman@ontographics.com>
In-Reply-To: <1088797560.1168.92.camel@moonlight.localdomain>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088794732.1168.80.camel@moonlight.localdomain>
	<1088797560.1168.92.camel@moonlight.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-deJQTqNAAl0/BNXCzTpL"
Message-Id: <1088804284.29403.177.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 23:38:04 +0200
Cc: classpath@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 21:41:04 -0000


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

Hi,

On Fri, 2004-07-02 at 21:46, Roman Kennke wrote:
> ... another possibility is, that we should not go into the else branch
> in BundleResourceHandler.openConnection, but instead into the if branch:
>=20
> if (bundleEntry !=3D null) {
>     return (new BundleURLConnection bla)
> } else {
>     some stuff
>     context.getBundle !! NullPointerException
> }
>=20
> the bundleEntry comes in the end from
> org.eclipse.osgi.framework.adaptor.core.BundleFile.getEntry() which is
> subclassed 3 times in the same file:
> ZipBundleFile
> DirBundleFile
> NestedDirBundleFile
>=20
> so my suggestion is, that maybe there is something wrong with zip file
> handling or normal file handling in classpath.

Found this one. For some reason the code looks like this:

                 if (url.getPath() !=3D null)
                 // A call to a URL constructor has been made
                 // that uses an authorized  URL as its context.
                 // Null out bundleEntry because it will not be
                 // valid for the new path
                     bundleEntry =3D null;


URL.getPath() is a new 1.3 method. Which has the following (clarified!)
documentation in 1.4: "the path part of this URL, or an empty string if
one does not exist". And we follow that documentation and never return
null so this if statement always succeeds.

But getPath() returning null instead of the empty String doesn't help
much. It seems the are multiple instances of the
org.eclipse.osgi.framework.internal.protocol.bundleentry.Handler
It seems this is not correct. I haven't found how/why there are multiple
instances of this URLStreamHandler.

Cheers,

Mark

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

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

iD8DBQBA5dW8xVhZCJWr9QwRAqH4AJsE8qrdGXgfStiuWeIAmwVIkfSHpQCfZ4gO
aSS+H7D0C+B5wZbc2Ifkfzc=
=zhEV
-----END PGP SIGNATURE-----

--=-deJQTqNAAl0/BNXCzTpL--




From MAILER-DAEMON Fri Jul 02 18:53:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgWuJ-0005gb-4I
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 18:53:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgWuG-0005et-W3
	for classpath@gnu.org; Fri, 02 Jul 2004 18:53:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgWuF-0005e1-9D
	for classpath@gnu.org; Fri, 02 Jul 2004 18:53:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgWuF-0005ds-6S
	for classpath@gnu.org; Fri, 02 Jul 2004 18:53:19 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BgWrv-0001Lh-QZ; Fri, 02 Jul 2004 18:50:56 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i62Mose1030531;
	Fri, 2 Jul 2004 18:50:54 -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 i62Mos001201; 
	Fri, 2 Jul 2004 18:50:54 -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
	i62MopvU024894; Fri, 2 Jul 2004 18:50:51 -0400
Message-ID: <40E5E6CB.4090703@redhat.com>
Date: Fri, 02 Jul 2004 18:50:51 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040502)
X-Accept-Language: en
MIME-Version: 1.0
To: tromey@redhat.com
References: <1088576154.40e25a9a3967f@prang091.speed.planet.nl>	<1088577106.1116.5.camel@moonlight.localdomain>	<200406300841.48730.konqueror@gmx.de>	<87lli5au0e.fsf@fleche.redhat.com>	<1088629009.15399.141.camel@rivendell>
	<876598bvf9.fsf@fleche.redhat.com>
In-Reply-To: <876598bvf9.fsf@fleche.redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 22:53:21 -0000

Tom Tromey wrote:

>Andrew> The hardest thing would seem to be the generics (Java's
>Andrew> templates -- is it or me or does it seem strange that Java
>Andrew> 1.5/5.0 is basically bringing back in lots of C++ features,
>Andrew> mainly as a result of C# having them?).
>
>I think there's no question that Java is being strongly influenced by
>C#.
>  
>

For what its worth, C# currently doesn't have generics (or templates), 
and generics for Java were in development long before anyone had heard 
of C#, so this isn't a case of Java copying C# features. That isn't to 
say I don't think cherry-picking a few more features from C# wouldn't be 
a good idea, of course ;-)

Regards

Bryce





From MAILER-DAEMON Fri Jul 02 19:58:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgXvc-0004W1-M5
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 19:58:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgXvb-0004Vw-4O
	for classpath@gnu.org; Fri, 02 Jul 2004 19:58:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgXvZ-0004Vk-76
	for classpath@gnu.org; Fri, 02 Jul 2004 19:58:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgXvZ-0004Vh-3D
	for classpath@gnu.org; Fri, 02 Jul 2004 19:58:45 -0400
Received: from [217.12.12.200] (helo=smtp810.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgXtX-0006Il-Dt
	for classpath@gnu.org; Fri, 02 Jul 2004 19:56:39 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp810.mail.ukl.yahoo.com with SMTP; 2 Jul 2004 23:56:37 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1BgXtV-0004A0-PU
	for classpath@gnu.org; Sat, 03 Jul 2004 00:56:37 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <40E55A53.3030406@kaffe.org>
References: <NFBBKALFDCPFIDBNKAPCIEKHEFAA.dholmes@dltech.com.au>
	<1088721084.15399.241.camel@rivendell>  <40E55A53.3030406@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-eCiF410R+jgUoYiuyXhF"
Message-Id: <1088812597.15399.378.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 00:56:37 +0100
Subject: Re: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 02 Jul 2004 23:58:47 -0000


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

On Fri, 2004-07-02 at 13:51, Dalibor Topic wrote:
> Andrew John Hughes wrote:
>=20
> > Has anyone run the JDK 1.5 beta against Classpath using japitools?  I
> > know its not production but it may be interesting to see what the
> > differences are.  The licensing is different on the beta, so I'm wary
> > about trying this myself.
>=20
> I doubt japitools would swallow it, as the class file format has changed=20
> in 1.5 :) But the underlying tols (JADE, afaik) might have been updated=20
> to deal with 1.5-ish classes, so you *may* be able to puzzle together a=20
> version of japitools that can deal with 1.5.
>=20
> cheers,
> dalibor topic
I sort of guessed along those lines as I wrote this ;-)
Once 1.5 becomes stable, I may have a look into this.  Sun's licensing
for betas states that only experimental use is allowed, and I don't want
to cause any problems with this (the license differs between betas and
release).
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5fY1u+fW6pI0dq4RAm++AJ4smTMiwMy4LbKFap6qIYGFU6ugtQCfaRRn
Ze/gEy9cJpfji5A4oJwv2kk=
=67xS
-----END PGP SIGNATURE-----

--=-eCiF410R+jgUoYiuyXhF--




From MAILER-DAEMON Fri Jul 02 20:11:56 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgY8K-000147-CZ
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 20:11:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgY8J-000140-6B
	for classpath@gnu.org; Fri, 02 Jul 2004 20:11:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgY8H-00013o-Mh
	for classpath@gnu.org; Fri, 02 Jul 2004 20:11:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgY8H-00013l-KG
	for classpath@gnu.org; Fri, 02 Jul 2004 20:11:53 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgY6O-0003nS-No
	for classpath@gnu.org; Fri, 02 Jul 2004 20:09:57 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BgY63-0006aF-00; Sat, 03 Jul 2004 02:09:35 +0200
From: Mark Wielaard <mark@klomp.org>
To: Roman Kennke <roman@ontographics.com>
In-Reply-To: <1088804284.29403.177.camel@localhost>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088794732.1168.80.camel@moonlight.localdomain>
	<1088797560.1168.92.camel@moonlight.localdomain>
	<1088804284.29403.177.camel@localhost>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-5CnCY1uKrn7zJ8gG59Cf"
Message-Id: <1088813373.29403.235.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 02:09:33 +0200
Cc: classpath@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 00:11:55 -0000


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

Hi,

On Fri, 2004-07-02 at 23:38, Mark Wielaard wrote:
> Found this one. For some reason the code looks like this:
>=20
>                  if (url.getPath() !=3D null)
>                  // A call to a URL constructor has been made
>                  // that uses an authorized  URL as its context.
>                  // Null out bundleEntry because it will not be
>                  // valid for the new path
>                      bundleEntry =3D null;
>=20
>=20
> URL.getPath() is a new 1.3 method. Which has the following (clarified!)
> documentation in 1.4: "the path part of this URL, or an empty string if
> one does not exist". And we follow that documentation and never return
> null so this if statement always succeeds.
>=20
> But getPath() returning null instead of the empty String doesn't help
> much. It seems the are multiple instances of the
> org.eclipse.osgi.framework.internal.protocol.bundleentry.Handler
> It seems this is not correct. I haven't found how/why there are multiple
> instances of this URLStreamHandler.

OK, finally found it. Eclipse does some really nasty URLStreamHandler
tricks. It seems to depend on us NOT trying to find a new
URLStreamHandler when the URL.set() method is called. Kind of makes
sense if the protocol isn't changed. So doing something like:

  if (!this.protocol.equals(protocol))
    {
      URLStreamHandler protocolHandler =3D getURLStreamHandler(protocol);
      [...]

Gets us a little further.

Then you will hit the fact that we don't have a real nio FileLock yet.
But you can work around that with -vmargs -Dosgi.locking=3Dnone

Then we hit:

javax.xml.transform.TransformerFactoryConfigurationError: Factory class
com.icl.saxon.TransformerFactoryImpl not found
   at javax.xml.transform.ClassStuff.createFactory (ClassStuff.java:141)

Since they decided not to automagically include their own XML stuff
since M9... So you need libxmlj or something like xalan added to your
bootclasspath. I tried that, but I now have jamvm crashing. Rebuilding
libgcj with the above patches now. But first some sleep.

Happy Hacking!

Mark

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

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

iD8DBQBA5fk8xVhZCJWr9QwRAvxLAJ9dy8LTBMhHnKh9kp9PG70wIgBx6ACgrCPS
urdSOSn6GVd+B4IUkdA4LsE=
=egvh
-----END PGP SIGNATURE-----

--=-5CnCY1uKrn7zJ8gG59Cf--




From MAILER-DAEMON Fri Jul 02 20:19:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgYFz-0003Gn-Ii
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 20:19:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgYFx-0003Ff-2c
	for classpath@gnu.org; Fri, 02 Jul 2004 20:19:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgYFv-0003Ev-Df
	for classpath@gnu.org; Fri, 02 Jul 2004 20:19:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgYFv-0003Em-An
	for classpath@gnu.org; Fri, 02 Jul 2004 20:19:47 -0400
Received: from [217.12.12.142] (helo=smtp800.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgYDo-0007gz-W3
	for classpath@gnu.org; Fri, 02 Jul 2004 20:17:37 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp800.mail.ukl.yahoo.com with SMTP; 3 Jul 2004 00:17:36 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1BgYDn-0004Cd-Ce
	for classpath@gnu.org; Sat, 03 Jul 2004 01:17:35 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <40E55EB7.8020001@kaffe.org>
References: <1088738946.5137.15.camel@hovel.lepus.org>
	<40E55EB7.8020001@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-VhfI41AaPSHHeRyuyuBN"
Message-Id: <1088813855.15399.397.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 01:17:35 +0100
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 00:19:49 -0000


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

On Fri, 2004-07-02 at 14:10, Dalibor Topic wrote:

> Given that Classpath doesn't implement any JDK API release fully, afaik,=20
> i think it's a little illusionary to demand that it fully supports three=20
> of them, given the current man-power of the project :) We are talking=20
> about a few thousand classes times the number of supported platforms=20
> here. Chances are, that by the time Classpath has the few hundred=20
> regular contributors to pull that off, Java Super-XP-2010 will be out ;)
>=20
Well, my suggestion would be that the branches are more for the benefit
of users rather than developers.  Correct me if I'm wrong, but the
japitools comparisons suggest that 1.1 is just about supported.  This
would seem to be a solid base to give to those who want something to
work with, at least for the time being, as a Java replacement without
having to wonder about holes.  As far as developers go, I would expect
focus to mainly stay on 1.4 as it is now, with appropriate patches that
also cover 1.1 being added there.  However, if you think that would be
too much effort, then I can see your point to an extent.  I do think
there is something to be said for giving users something more stable
though, rather than the kind of random implementation guarantees we give
now.
More important I think is dealing with the upcoming 1.5.  Unless someone
tells me different, I'm guessing that code written for 1.4 API wouldn't
compile against a 1.5 Classpath, and, at present, not even with current
Free Java compilers.  So it needs to be separate.  Once 1.5 is stable,
we are likely to need support for this, possibly just to keep our
current support for some Java bases which may start using its features
-- Ant, Tomcat and Eclipse would come to mind there.  These all are
close to fully working with current Classpath and don't need the main
missing feature (Swing).  Without 1.5 support, my view is that we may
lose support for some server-side stuff which doesn't need the graphical
client stuff missing from 1.4.
> The problem doesn't lie in the APIs, it lies in the semantical changes=20
> that happened between JDK releases. for example, class loading is very=20
> different between 1.1, 1.2, 1.3 and 1.4. Each release changed it, added=20
> new ways to load classes, or new locations to load class from (Jars,=20
> extensions, ...).
>=20
> Another fine example is security, which essentially gets thrown out of=20
> the window and rewritten with each JDK release. :)
>=20
> You could solve the 'i want to have just the 1.x API' issue, by writing=20
> a tool that uses japtiools files to implement a set of JDK 1.x 'facade'=20
> classes that delegate to classpath classes for the real work. It=20
> wouldn't give you much, since the documented semantics of core classes=20
> tend to change more or (usually) less with each release, so you'd have=20
> to essentially fork all those classes where you want the semantics=20
> pinned down to 1.x interpretation. Not a lot of fun for a single person ;=
)
>=20
I'm tempted to go for the more realistic view that we just go for a
guarantee of full 1.1 support (or whatever we get to that level).  As to
how it reacts, it should probably mirror Sun's current Java via Mauve.=20
The difference from what we have now is that we effectively say 'here is
the set of x.x APIs that are fully implemented and you can use.   If you
want more cutting edge than some of x.x+1's APIs are implemented in this
version.'  At present, we could aim for 1.1 for the first and 1.4 for
the other (or maybe 1.2 if we want to do this in smaller steps).  These
would no doubt move as the Java community and our level of
implementation changes.
> cheers,
> dalibor topic
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5fsfu+fW6pI0dq4RAjH4AJ47RiA4O9Cb85UZEQcb011JR4LF0gCfbmHU
vdBj5SfEzo8UBM9qQhlVmXg=
=83Il
-----END PGP SIGNATURE-----

--=-VhfI41AaPSHHeRyuyuBN--




From MAILER-DAEMON Fri Jul 02 20:22:55 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgYIx-0004WM-3g
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 20:22:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgYIv-0004Vc-NL
	for classpath@gnu.org; Fri, 02 Jul 2004 20:22:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgYIu-0004VH-7X
	for classpath@gnu.org; Fri, 02 Jul 2004 20:22:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgYIu-0004VA-5G
	for classpath@gnu.org; Fri, 02 Jul 2004 20:22:52 -0400
Received: from [24.24.2.56] (helo=ms-smtp-02.nyroc.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgYGg-0000dS-39
	for classpath@gnu.org; Fri, 02 Jul 2004 20:20:34 -0400
Received: from [192.168.0.43] (alb-24-195-113-26.nycap.rr.com [24.195.113.26])
	by ms-smtp-02.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id
	i630KVMv002134
	for <classpath@gnu.org>; Fri, 2 Jul 2004 20:20:31 -0400 (EDT)
From: James Damour <jdamour@nycap.rr.com>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-kUKPpVIICrA/WFiuPYVo"
Organization: SourceForge.net
Message-Id: <1088814623.5137.141.camel@hovel.lepus.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 02 Jul 2004 20:30:24 -0400
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: "James Damour \(Suvarov454\)" <suvarov454@users.sourceforge.net>
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 00:22:53 -0000


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

As much as I respect the difficulties involved (the ones Dalibor
enumerated so clearly), my thinking matches up with what Andrew said.  I
think that Java developers need a "stable" environment to code against,
and Classpath is closest to providing "stable" for v1.1.

I understand that this is more than a matter of getting enough resources
pointed at the problem, and that our work may become overcome by outside
events (i.e. Sun may release J2SE under GPL), but with Mono releasing
v1.0, FLOSS Java may lose its chance.  I think that we need to set
concrete goals if we hope to get people contributing.

If IBM and Bea are interested in an Open Source J2SE, can't we petition
them to throw some manpower behind our efforts?  After all, we're
tantalizingly close with gcj and kaffe.=20
--=20
James Damour (Suvarov454) <suvarov454@users.sourceforge.net>

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

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

iD8DBQBA5f4fJtJj6pH+EFQRAv6xAKDY+v4RAaxeUyWrDk2dHNwbZqMAzQCeNtAi
IKPj4Sq6Y/1eRY6GKBU/EAo=
=YSH7
-----END PGP SIGNATURE-----

--=-kUKPpVIICrA/WFiuPYVo--




From MAILER-DAEMON Fri Jul 02 21:37:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgZT1-0006Ab-8N
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 21:37:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgZSz-000698-Km
	for classpath@gnu.org; Fri, 02 Jul 2004 21:37:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgZSy-00067a-HK
	for classpath@gnu.org; Fri, 02 Jul 2004 21:37:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgZSy-00067Q-Dj
	for classpath@gnu.org; Fri, 02 Jul 2004 21:37:20 -0400
Received: from [217.12.12.204] (helo=smtp814.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgZQj-0000yi-1v
	for classpath@gnu.org; Fri, 02 Jul 2004 21:35:01 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp814.mail.ukl.yahoo.com with SMTP; 3 Jul 2004 01:34:59 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1BgZQh-0004IF-Ho
	for classpath@gnu.org; Sat, 03 Jul 2004 02:34:59 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <40E5600B.5090202@kaffe.org>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088764292.1168.33.camel@moonlight.localdomain>
	<1088765365.15399.294.camel@rivendell>
	<1088766030.1168.38.camel@moonlight.localdomain>
	<1088767703.15399.302.camel@rivendell>  <40E5600B.5090202@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-8gGZ/yD2rd9tstlmdAJz"
Message-Id: <1088818499.15399.445.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 02:34:59 +0100
Subject: Re: Eclipse 3.0 and unimplemented methods proposal
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 01:37:22 -0000


--=-8gGZ/yD2rd9tstlmdAJz
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2004-07-02 at 14:15, Dalibor Topic wrote:
> Andrew John Hughes wrote:
>=20
> > Sounds good to me.  I wouldn't actually throw out any methods, simply
> > because eventually someone will have to put it back in and that's just
> > more time -- there's usually also a good reason a method hook has been
> > put in, I imagine.  I can see the situation where someone would be
> > implementing something, find they need to support an optional method
> > somewhere else and put an empty hook in.  I just really needs to be the
> > policy to have these hooks as throwing Errors rather than simply sendin=
g
> > back nulls (which in a lot of cases is a valid result -- so the calling
> > code expects it and takes an appropriate codepath, not knowing that the
> > actual result is an error).  I'm more for an Error throw rather than an
> > Exception, simply because bad calling code may just swallow exceptions.=
=20
> > I don't think any of it will expect NotImplemented, and we need
> > something that will unavoidably spit out the result of calling a dead
> > method.  I may be barking up the wrong tree here -- if NotImplemented
> > allows this behaviour by descending from an appropriate superclass, the=
n
> > by all means use this.  But I think the very thing we want to avoid is
> > silent handling of these hooks, whether it be by null or an exception
> > being swallowed by catch (Exception e) {} (and yes people do this...).
>=20
> Bikeshed! :) [1]
>=20
> cheers,
> dalibor topic
>=20
> [1] Discussion of NotImplementedYet has been done to death last year. It=20
> just gets people riled up about nothing instead of actually writing the=20
> code to implement the not yet implemented parts. grep FIXME and start=20
> hacking :)

Okay, I've just read that thread.  I see lots of round-about discussion,
but no decision on this.  Hence, that's why its come up again.

Based on my views and what I've just read, I'd like to take a slight
more formal attack on this problem and present the following proposal
for how we can possibly solve this problem, hopefully without getting
mired in another discussion about exception semantics.  Please note that
I'll state here and now that I'm prepared to sit down and do the hard
work to make this actually happen.  I don't think the current situation
is acceptable for anyone, that much already appears to have been
agreed.  Please, for the sanity of the list, make any feedback on this a
rational well-founded summary of why you want the current status quo or
a different solution to apply.
Firstly, a little background.  I came to GNU Classpath as a result of
using it for Java code.  In using it, I did actually experience this
problem.  I was fortunate.  Some kind hacker threw such a runtime error,
so I could see the problem and knew that my code wasn't the fault.  I
didn't have to chase into Classpath's code to find the error, and was
given the choice between fixing the problem or reverting to Sun.  Sorry
to say, but this was assignment work with a deadline, so at the time I
had to do the latter.  In another situation, I may have taken the other
option.  You're less likely to find developers wanting to take this
option if they become annoyed with the developers after tracking down
the hole.  At the time, I didn't have the Classpath code available and
would probably have spent a lot of unnecessary time hacking my own code
in vein.  My proposal follows:

* -- I suggest the creation of a fresh GNU Classpath-specific runtime
error to handle the case of a method or sub-part of a method being
unhandled in the current implementation.  This should give behaviour
similar to that of a missing library and be untrappable.  How much of a
real difference is there between a missing 'libxxx.so' and a missing
method, except that one is a file and one is part of a file?  Both may
relate to optional functionality, but the library would still be
required...
* -- The existing null-based situation should be avoided as returning
a null value is a valid implementation practise.  It is also silent and
leads to an unimplemented method causing later errors.
* -- An exception should be avoided so that unimplemented methods can't
be caught.  Bad programming such as catch (Exception e) {} which DOES
exist would just gobble these up.  The programmer should be made aware
when testing, regardless, of the fact that something is not implemented.
Exceptions would also change the message signature and make it harder to
throw this away at a later date.  Most Java programmers are used to
Sun's implementation, which works on the proprietary system of full
implementations only (or just about).  Therefore, unimplemented methods
are not generally expected.  Certainly, user code shouldn't be trying to
handle this case, which may later disappear, and allowing it to be
passed over runs into similar problems as with null -- the user's code
starts taking code paths based on code results that were never expected
and would never occur elsewhere.  A runtime error makes the point clear
-- the user has enough to deal with already without having to handle
Classpath-specific errors in their code.
* -- An existing exception or error is even less of an option.  There is
a high risk that it is already been used somewhere for something, and
again, the user's code may affect it.  If it already exists, the user
may make use of it in their own code, for example.  I know I've used
UnsupportedOperationException myself...
* -- A call to implement all these methods is simply not a viable fix in
the short term.  It's basically equivalent to saying 'go and finish
Classpath'.  Using this method also allows for partial implementations,
so some code paths will be supported, and some won't. =20
* -- Killing the methods is not an option.  Some will have come to rely
on them, including implemented Classpath methods.  It also causes binary
compatibility problems with something compiled by a Sun binary (although
this is already an issue with the still missing methods).
* -- As mentioned in discussion, mere existence allows the passing of
the first test for a method -- it can be called!  We can then build up
Mauve tests and documentation, without an implementation.  This would
provide further routes into implementing it.
* -- Adding errors makes testing applications more viable, including
without the source (for example, someone like myself who installs
Classpath from Debian to work with).  Testing real applications seems to
be the most valuable way of ascertaining which methods to implement,
rather than trying to get them all at once.  It also shows up which are
more needed and gives us priority.  There is also an inroad for new
developers here, who run the code, see an error and go out to fix it.=20
Hopefully, they then commit the patch!
* -- If such an error occurs in one of the methods a developer uses,
they have options -- implement it, find another implementation, use a
different solution in their code.  Less clear ways of doing this cause
greater confusion between Classpath and developer errors.
* -- The error should be able to be discarded.   A full implementation
of Classpath has none of these, and can compile without the error class.
This provides a nice acid test of compatibility, arguably easier than
grepping for FIXMEs, etc.  AFAICS, it would then be possible even
without source.  As mentioned in another thread, a stable branch of
Classpath could provide such a 'unimplemented method free' source base.=20
These are signposts along the road, rather than part of the final
solution.  Equally, this is why we shouldn't make it an exception
resulting in message signature changes.

That's probably about enough reasons, although I could probably think of
more.  What I want now is some strong reasons why there are problems
with this.  Suggested unimplemented code could be (and no this isn't a
definitive answer codewise -- this is not the primary discussion
here...):

public void VeryComplicatedUnimplementedMethod(int x, float y, String z)
{
	/* FIXME: Implement this */
	throw new UnimplementedMethodError(MessageFormat.format("Unimplemented
method called with parameters {0}, {1} and {2} -- please consider
contributing
to GNU Classpath to help solve this problem.", new Object[]{new
Integer(x), new Float(y), z}));
}

And, yes, you'd need concatenation operators in there :-)
The stack trace would include the method name, which is why I avoided
it.  UnimplementedMethodError would be in a GNU Classpath specific
package, and be eventually removable.

Anyway, the floor is over to you guys.  Be gentle ;-)
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5g1Du+fW6pI0dq4RAvOeAJ9SLLuKgpxp6QAsRuvdErpk7zO4OQCfUF77
QkioBzviDbLwmj2zHDQdoo0=
=/fft
-----END PGP SIGNATURE-----

--=-8gGZ/yD2rd9tstlmdAJz--




From MAILER-DAEMON Fri Jul 02 21:46:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgZbk-0001v6-IU
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 21:46:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgZbh-0001uO-RN
	for classpath@gnu.org; Fri, 02 Jul 2004 21:46:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgZbh-0001u5-5m
	for classpath@gnu.org; Fri, 02 Jul 2004 21:46:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgZbh-0001u2-1L
	for classpath@gnu.org; Fri, 02 Jul 2004 21:46:21 -0400
Received: from [217.12.12.200] (helo=smtp810.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgZZo-00052n-Mw
	for classpath@gnu.org; Fri, 02 Jul 2004 21:44:25 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp810.mail.ukl.yahoo.com with SMTP; 3 Jul 2004 01:44:24 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32)
	id 1BgZZn-0004In-OB; Sat, 03 Jul 2004 02:44:23 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: Classpath X <classpathx-discuss@gnu.org>, GNU Classpath <classpath@gnu.org>
In-Reply-To: <40E549D7.30302@kaffe.org>
References: <1088694287.15399.200.camel@rivendell>
	<87briysu6i.fsf@oz.fapse.ulg.ac.be>  <40E549D7.30302@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-P4OiXBjt1mP2i/U+rjC3"
Message-Id: <1088819063.15399.450.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 02:44:23 +0100
Cc: 
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 01:46:22 -0000


--=-P4OiXBjt1mP2i/U+rjC3
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2004-07-02 at 12:41, Dalibor Topic wrote:
> Arnaud Vandyck wrote:
> > Andrew John Hughes <gnu_andrew@member.fsf.org> writes:
> >=20
> >=20
> >>Hi all,
> >>	I don't know if anyone here has heard about the recent release of Sun'=
s
> >>Project Looking Glass under the GPL.  Its no doubt a good sign to see
> >>Sun releasing this interesting project under a true Free Software
> >>license.  However, the Java code still depends on a couple of Java
> >>extensions, namely Java 3D and Java Advanced Imaging.  I was wondering
> >>if anyone knew about the possibility or the existence of an effort to
> >>create Free Software implementations of these libraries?  Having these
> >>would mean that Project Looking Glass would be more likely to run on a
> >>Free platform.  At present, it is tied to proprietary Sun licenses, eve=
n
> >>if the main code is under the GPL.
> >=20
> >=20
> > I'm not sure but maybe some developpers on classpath project already
> > work on this.
> >=20
>=20
> There is a free vecmath implementation, Bryan posted a link to it a few=20
> days ago, when the Java3d subject came up for the first time. There is=20
> no free software implementation of the Java3d apis, afaik. I doint't=20
> think there is a free implementation of JAI, yet, either. If you're=20
> looking for a nice project ... go for it :)
>=20
> cheers,
> dalibor topic

I've only just subscribed to classpathx, so I missed that thread -- I'll
browse the archives for it.  I'll give this until after next week (for
which I'm away for most of) to circulate, and then hopefully crack on
with doing this if its still viable.  I'm particularly concerned as to
any legal issues anyone knows about concerning this -- is there any
reason why this couldn't be attempted on these grounds?  On a lighter
note, any suggestions for running such a project? :-)

Cheers,
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5g93u+fW6pI0dq4RAiDgAJ45yRX+7ILE3xK+n6EYZSdM8loR9ACgpMA7
3DJs4eMCRyyy+uvmSn0mTko=
=h7X0
-----END PGP SIGNATURE-----

--=-P4OiXBjt1mP2i/U+rjC3--




From MAILER-DAEMON Fri Jul 02 23:24:00 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bgb8C-00030v-CD
	for mharc-classpath@gnu.org; Fri, 02 Jul 2004 23:24:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bgb8A-00030I-8Q
	for classpath@gnu.org; Fri, 02 Jul 2004 23:23:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bgb87-0002zp-Ie
	for classpath@gnu.org; Fri, 02 Jul 2004 23:23:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bgb87-0002zf-E4
	for classpath@gnu.org; Fri, 02 Jul 2004 23:23:55 -0400
Received: from [66.33.197.214] (helo=ludo.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bgb6F-0006ZB-Tw
	for classpath@gnu.org; Fri, 02 Jul 2004 23:22:00 -0400
Received: from dexter (c-24-6-46-122.client.comcast.net [24.6.46.122])
	by ludo.dreamhost.com (Postfix) with ESMTP
	id 4BF5127F93; Fri,  2 Jul 2004 20:21:59 -0700 (PDT)
Received: by dexter (Postfix, from userid 1000)
	id 269EB39; Fri,  2 Jul 2004 20:21:52 -0700 (PDT)
To: gnu_andrew@member.fsf.org
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088764292.1168.33.camel@moonlight.localdomain>
	<1088765365.15399.294.camel@rivendell>
	<1088766030.1168.38.camel@moonlight.localdomain>
	<1088767703.15399.302.camel@rivendell> <40E5600B.5090202@kaffe.org>
	<1088818499.15399.445.camel@rivendell>
From: Casey Marshall <csm@gnu.org>
Date: Fri, 02 Jul 2004 20:21:52 -0700
In-Reply-To: <1088818499.15399.445.camel@rivendell> (Andrew John Hughes's
	message of "Sat, 03 Jul 2004 02:34:59 +0100")
Message-ID: <876595ai7j.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Eclipse 3.0 and unimplemented methods proposal
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 03:23:58 -0000

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

Andrew> Anyway, the floor is over to you guys.  Be gentle ;-) --
Andrew> Andrew :-)

I think this got as close to an authoritative answer/consensus as we
can expect to get on this issue:
 
<http://lists.gnu.org/archive/html/classpath/2003-09/msg00226.html>

Stub methods bad. No biscuit.

-- 
Casey Marshall || csm@gnu.org



From MAILER-DAEMON Sat Jul 03 02:03:26 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgdcT-0006hg-Sw
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 02:03:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgdcR-0006hb-K9
	for classpath@gnu.org; Sat, 03 Jul 2004 02:03:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgdcP-0006gd-RK
	for classpath@gnu.org; Sat, 03 Jul 2004 02:03:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgdcP-0006gA-Ok
	for classpath@gnu.org; Sat, 03 Jul 2004 02:03:21 -0400
Received: from [66.187.237.31] (helo=mx2.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bgda3-0008RN-Jg
	for classpath@gnu.org; Sat, 03 Jul 2004 02:00:55 -0400
Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26])
	by mx2.redhat.com (8.12.10/8.12.10) with ESMTP id i635vQSt024004;
	Sat, 3 Jul 2004 01:57:26 -0400
Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15])
	by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6360mw04789; 
	Sat, 3 Jul 2004 02:00:48 -0400
Received: from [172.16.50.19] (vpn50-19.rdu.redhat.com [172.16.50.19])
	by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i6360kP19608; 
	Fri, 2 Jul 2004 23:00:46 -0700
From: Anthony Green <green@redhat.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1088813373.29403.235.camel@localhost>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088794732.1168.80.camel@moonlight.localdomain>
	<1088797560.1168.92.camel@moonlight.localdomain>
	<1088804284.29403.177.camel@localhost>
	<1088813373.29403.235.camel@localhost>
Content-Type: text/plain
Organization: Red Hat, Inc.
Message-Id: <1088834450.9892.5.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Fri, 02 Jul 2004 23:00:51 -0700
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 06:03:23 -0000

On Fri, 2004-07-02 at 17:09, Mark Wielaard wrote:
> Since they decided not to automagically include their own XML stuff
> since M9... So you need libxmlj or something like xalan added to your
> bootclasspath. I tried that, but I now have jamvm crashing. Rebuilding
> libgcj with the above patches now. But first some sleep.
> 

I got Eclipse 3 to start up on gij with a very tricky command line:

GCJ_PROPERTIES="java.version=1.4.2_05" LD_PRELOAD=/home/green/install/jhbuild-inst/lib/lib-org-apache-xalan.so ./eclipse -vm gij -consoleLog -debug -vmargs -Dosgi.locking=none

Forcing java.version is important because Eclipse barfs on "3.5.0".  
The LD_PRELOAD trick loads xalan and friends into memory before I start
gij.  I don't know why gij isn't finding this on it's own.

I made a couple of tiny tweaks to URL.java, but I don't know if they
made a difference.  I'll clean up the patches later, but if you poke
around, you'll see that we're not always using lower case converted
protocol strings when we should be.

AG

-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.




From MAILER-DAEMON Sat Jul 03 04:45:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bgg9U-00027d-9l
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 04:45:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bgg9R-00026z-Jn
	for classpath@gnu.org; Sat, 03 Jul 2004 04:45:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bgg9P-00025w-9Z
	for classpath@gnu.org; Sat, 03 Jul 2004 04:45:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bgg9P-00025m-0h
	for classpath@gnu.org; Sat, 03 Jul 2004 04:45:35 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bgg79-0002tw-Nm
	for classpath@gnu.org; Sat, 03 Jul 2004 04:43:15 -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, 3 Jul 2004 10:43:08 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CD86@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Eclipse 3.0
Thread-Index: AcRgknElvyRHwpBqQiSQFpxHmL5rugARsZlA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>, "Roman Kennke" <roman@ontographics.com>
Cc: classpath@gnu.org
Subject: RE: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 08:45:38 -0000

Mark Wielaard wrote:
> OK, finally found it. Eclipse does some really nasty URLStreamHandler
> tricks. It seems to depend on us NOT trying to find a new
> URLStreamHandler when the URL.set() method is called. Kind of makes
> sense if the protocol isn't changed. So doing something like:
>=20
>   if (!this.protocol.equals(protocol))
>     {
>       URLStreamHandler protocolHandler =3D=20
> getURLStreamHandler(protocol);
>       [...]
>=20
> Gets us a little further.

Thanks! This allows M9 to start up successfully for me! Inspired by this
success I downloaded the 3.0 release, but unfortunately that still
doesn't work and bizarelly enough it dies with the exact same
NullPointerException that M9 died with before this fix. Sigh...

> Then you will hit the fact that we don't have a real nio FileLock yet.
> But you can work around that with -vmargs -Dosgi.locking=3Dnone
>=20
> Then we hit:
>=20
> javax.xml.transform.TransformerFactoryConfigurationError:=20
> Factory class
> com.icl.saxon.TransformerFactoryImpl not found
>    at javax.xml.transform.ClassStuff.createFactory=20
> (ClassStuff.java:141)
>=20
> Since they decided not to automagically include their own XML stuff
> since M9... So you need libxmlj or something like xalan added to your
> bootclasspath. I tried that, but I now have jamvm crashing. Rebuilding
> libgcj with the above patches now. But first some sleep.

I don't think that's new to M9, I've had to start 3.0 with the following
command line for as long as I remember:
eclipse -vm c:\ikvm\bin\ikvm.exe -vmargs
-Xbootclasspath:C:\xalan-j_2_6_0\bin\xalan.jar;C:\xalan-j_2_6_0\bin\xerc
esImpl.jar;C:\xalan-j_2_6_0\bin\xml-apis.jar

BTW, what Eclipse version are you using?

Regards,
Jeroen



From MAILER-DAEMON Sat Jul 03 06:33:31 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bghpr-0006Lf-MA
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 06:33:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bghpp-0006IB-UQ
	for classpath@gnu.org; Sat, 03 Jul 2004 06:33:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bghpn-0006Ex-VB
	for classpath@gnu.org; Sat, 03 Jul 2004 06:33:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bghpn-0006EQ-Q4
	for classpath@gnu.org; Sat, 03 Jul 2004 06:33:27 -0400
Received: from [62.253.162.45] (helo=mta05-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bghnl-0007XH-0v
	for classpath@gnu.org; Sat, 03 Jul 2004 06:31:21 -0400
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta05-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040703102922.WJVB2927.mta05-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Sat, 3 Jul 2004 11:29:22 +0100
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i63AVH2v013849; Sat, 3 Jul 2004 11:31:17 +0100
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i63AVGTC013845;
	Sat, 3 Jul 2004 11:31:16 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16614.35572.235027.86115@cuddles.cambridge.redhat.com>
Date: Sat, 3 Jul 2004 11:31:16 +0100
From: Andrew Haley <aph@redhat.com>
To: Andrew John Hughes <gnu_andrew@member.fsf.org>
In-Reply-To: <1088813855.15399.397.camel@rivendell>
References: <1088738946.5137.15.camel@hovel.lepus.org>
	<40E55EB7.8020001@kaffe.org> <1088813855.15399.397.camel@rivendell>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 10:33:30 -0000

Andrew John Hughes writes:
 >
 > Well, my suggestion would be that the branches are more for the benefit
 > of users rather than developers.  Correct me if I'm wrong, but the
 > japitools comparisons suggest that 1.1 is just about supported.  This
 > would seem to be a solid base to give to those who want something to
 > work with, at least for the time being, as a Java replacement without
 > having to wonder about holes.  As far as developers go, I would expect
 > focus to mainly stay on 1.4 as it is now, with appropriate patches that
 > also cover 1.1 being added there.  However, if you think that would be
 > too much effort, then I can see your point to an extent.  I do think
 > there is something to be said for giving users something more stable
 > though, rather than the kind of random implementation guarantees we give
 > now.

Sure, but the problem is that branches, unless tended carefully, will
wither.  If people wish assiduously to maintain a separate 1.1 branch,
that will be fine.  But that should be an addition to current
development, not an alternative.

Andrew.



From MAILER-DAEMON Sat Jul 03 06:56:36 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgiCC-00068b-3R
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 06:56:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgiCA-00066z-LL
	for classpath@gnu.org; Sat, 03 Jul 2004 06:56:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgiC9-00065Q-1i
	for classpath@gnu.org; Sat, 03 Jul 2004 06:56:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgiC8-00065G-UE
	for classpath@gnu.org; Sat, 03 Jul 2004 06:56:32 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BgiA5-0000Xl-F5
	for classpath@gnu.org; Sat, 03 Jul 2004 06:54:25 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by mx20.gnu.org with esmtp (Exim 4.34) id 1BghtO-0007Xo-Qd
	for classpath@gnu.org; Sat, 03 Jul 2004 06:37:11 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1Bghnx-0007mP-00; Sat, 03 Jul 2004 12:31:33 +0200
From: Mark Wielaard <mark@klomp.org>
To: Anthony Green <green@redhat.com>
In-Reply-To: <1088834450.9892.5.camel@localhost.localdomain>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088794732.1168.80.camel@moonlight.localdomain>
	<1088797560.1168.92.camel@moonlight.localdomain>
	<1088804284.29403.177.camel@localhost>
	<1088813373.29403.235.camel@localhost>
	<1088834450.9892.5.camel@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-XKA5MVpHMaB5I5pPkIW3"
Message-Id: <1088850691.29415.247.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 12:31:31 +0200
Cc: java@gcc.gnu.org, classpath@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 10:56:34 -0000


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

Hi Anthony,

On Sat, 2004-07-03 at 08:00, Anthony Green wrote:
> On Fri, 2004-07-02 at 17:09, Mark Wielaard wrote:
> > Since they decided not to automagically include their own XML stuff
> > since M9... So you need libxmlj or something like xalan added to your
> > bootclasspath. I tried that, but I now have jamvm crashing. Rebuilding
> > libgcj with the above patches now. But first some sleep.=20
>=20
> I got Eclipse 3 to start up on gij with a very tricky command line:
>=20
> GCJ_PROPERTIES=3D"java.version=3D1.4.2_05" LD_PRELOAD=3D/home/green/insta=
ll/jhbuild-inst/lib/lib-org-apache-xalan.so ./eclipse -vm gij -consoleLog -=
debug -vmargs -Dosgi.locking=3Dnone
>=20
> Forcing java.version is important because Eclipse barfs on "3.5.0". =20
> The LD_PRELOAD trick loads xalan and friends into memory before I start
> gij.  I don't know why gij isn't finding this on it's own.

Hurray! I also saw your screenshot on the Planet.
(http://classpath.wildebeest.org/planet/)
It really brought a smile on my face this morning!
I assume this is from your jhbuild that you are also promoting for
building java-gnome? http://spindazzle.org/java-gnome/

> I made a couple of tiny tweaks to URL.java, but I don't know if they
> made a difference.  I'll clean up the patches later, but if you poke
> around, you'll see that we're not always using lower case converted
> protocol strings when we should be.

And I assume you are using my line-number patch?
http://gcc.gnu.org/ml/java-patches/2004-q2/msg00411.html
(Note that the failure mentioned in that email was not because of this
patch. Bryce fixed the real issue already on gcj HEAD.)
The only important part of that patch is the interpret.cc compile fix.

We really should get all these patches into CVS ASAP.
Or setup a new jhbuild and/or merge with one of of the jhbuilds to
include all these things.

Cheers,

Mark

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

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

iD8DBQBA5osDxVhZCJWr9QwRAgrnAKCA/EzyqkRrZMip2csjS5en/fMyygCfUJVi
nPEcV93soFqSdrHYn61xIuY=
=qL77
-----END PGP SIGNATURE-----

--=-XKA5MVpHMaB5I5pPkIW3--




From MAILER-DAEMON Sat Jul 03 07:17:26 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgiWM-0004WU-CU
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 07:17:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgiWK-0004WP-Rt
	for classpath@gnu.org; Sat, 03 Jul 2004 07:17:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgiWK-0004WD-Ch
	for classpath@gnu.org; Sat, 03 Jul 2004 07:17:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgiWK-0004WA-A5
	for classpath@gnu.org; Sat, 03 Jul 2004 07:17:24 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgiU2-00019b-2j
	for classpath@gnu.org; Sat, 03 Jul 2004 07:15:02 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BgiTf-0007sr-00; Sat, 03 Jul 2004 13:14:39 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CD86@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD86@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-us+XQQC+4iM0rbl9Y14l"
Message-Id: <1088853277.29403.293.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 13:14:37 +0200
Cc: classpath@gnu.org
Subject: RE: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implemenation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 11:17:25 -0000


--=-us+XQQC+4iM0rbl9Y14l
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Sat, 2004-07-03 at 10:43, Jeroen Frijters wrote:
> Mark Wielaard wrote:
> > OK, finally found it. Eclipse does some really nasty URLStreamHandler
> > tricks. It seems to depend on us NOT trying to find a new
> > URLStreamHandler when the URL.set() method is called. Kind of makes
> > sense if the protocol isn't changed. So doing something like:
> >=20
> >   if (!this.protocol.equals(protocol))
> >     {
> >       URLStreamHandler protocolHandler =3D=20
> > getURLStreamHandler(protocol);
> >       [...]
> >=20
> > Gets us a little further.
>=20
> Thanks! This allows M9 to start up successfully for me! Inspired by this
> success I downloaded the 3.0 release, but unfortunately that still
> doesn't work and bizarelly enough it dies with the exact same
> NullPointerException that M9 died with before this fix. Sigh...

Great! Did you also make the fix that I suggested as reply to one of the
emails from Roman? Our URL.getPath() follows the spec, which is not what
eclipse expects...

@@ -535,7 +535,9 @@
    */
   public String getPath()
   {
-    int quest =3D (file =3D=3D null) ? -1 : file.indexOf('?');
+    if (file =3D=3D null)
+      return null;
+    int quest =3D file.indexOf('?');
     return quest < 0 ? getFile() : file.substring(0, quest);
   }

> > Since they decided not to automagically include their own XML stuff
> > since M9... So you need libxmlj or something like xalan added to your
> > bootclasspath. I tried that, but I now have jamvm crashing. Rebuilding
> > libgcj with the above patches now. But first some sleep.
>=20
> I don't think that's new to M9, I've had to start 3.0 with the following
> command line for as long as I remember:
> eclipse -vm c:\ikvm\bin\ikvm.exe -vmargs
> -Xbootclasspath:C:\xalan-j_2_6_0\bin\xalan.jar;C:\xalan-j_2_6_0\bin\xerc
> esImpl.jar;C:\xalan-j_2_6_0\bin\xml-apis.jar

That was really special for ikvm (and precompiled native eclipse with
gcj). They at least tried to do something horrible to get it working
automagically (although bending the spec horribly by retracting a jar
from a URL/Delegating ClassLoader and depending on super lazy class
loading...) It is probably better that they don't try to do such tricks
now.

> BTW, what Eclipse version are you using?

eclipse-SDK-3.0-linux-gtk.zip from
http://download2.eclipse.org/downloads/drops/R-3.0-200406251208/index.php

I am still just using what is described here:
http://lists.gnu.org/archive/html/classpath/2004-07/msg00026.html
Plus the above two patches to java/net/URL.java mentioned above.
And I start it all up by:
LD_LIBRARY_PATH=3Dplugins/org.eclipse.swt.gtk_3.0.0/os/linux/x86:plugins/or=
g.eclipse.core.resources.linux_3.0.0/os/linux/x86:plugins/org.eclipse.updat=
e.core.linux_3.0.0/os/linux/x86 PATH=3D.:/usr/local/jamvm/bin ./eclipse -vm=
 jamvm -debug -consoleLog -vmargs -bootclasspath/p /tmp/xalan -Djavax.xml.t=
ransform.TransformerFactory=3Dorg.apache.xalan.processor.TransformerFactory=
Impl -Dosgi.locking=3Dnone

Where /tmp/xalan contains all the (extracted!) jar files from
xalan-j_2_6_0/bin.

It is good to see both Anthony and you able to get it starting up now.
That means my Classpath library work is done ! :)

Now the rest of the work can be offloaded to the runtime hackers.
(CC Robert!)
I still get the following errors during startup from jamvm:

java.lang.IncompatibleClassChangeError: unimplemented interface
   at org.eclipse.ui.keys.KeyStroke.hashCode (KeyStroke.java:311)
   at java.util.HashMap.hash (HashMap.java:686)

java.lang.IncompatibleClassChangeError: unimplemented interface
   at org.eclipse.ui.keys.KeyStroke.equals (KeyStroke.java:270)
   at java.util.AbstractMap.equals (AbstractMap.java:511)
   at java.util.HashMap.get (HashMap.java:301)

I worked around these by recompiling KeyStroke.java and not calling
hashCode() and equals() on the modifiers SortedSet.

Looks like some subtle class loading/instanceof bug to me.
I first thought our Collections.UnmodifiableSet class wasn't correct
though.

Then I finally get:

java.lang.NoClassDefFoundError: org/eclipse/swt/custom/CTabFolder
   at org.eclipse.ui.internal.presentations.PaneFolder.<init>
(PaneFolder.java:197)

Which doesn't make sense :{

Note that it does give the graphical splash screen and then the "Where
do you want your Workspace dialog" first. So most of the startup process
is actually completed by then.

BTW. I was confused by the fact that there are multiple (error) logs in
the configuration directory and the workspace/.metadata/.log file...

Cheers,

Mark

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

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

iD8DBQBA5pUcxVhZCJWr9QwRAgEMAKCCBPO1n8y1fPVWvdk9GHIC7ciIMwCfUikc
o5ZDNvoZy7llv08UPI0LMbg=
=YrPs
-----END PGP SIGNATURE-----

--=-us+XQQC+4iM0rbl9Y14l--




From MAILER-DAEMON Sat Jul 03 08:14:57 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgjQ0-0002id-Lg
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 08:14:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgjNG-0001CT-EW
	for classpath@gnu.org; Sat, 03 Jul 2004 08:12:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgjKK-00088V-Tq
	for classpath@gnu.org; Sat, 03 Jul 2004 08:09:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgjIT-00077K-11
	for classpath@gnu.org; Sat, 03 Jul 2004 08:07:09 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgjGQ-0006MN-Qd
	for classpath@gnu.org; Sat, 03 Jul 2004 08:05:03 -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, 3 Jul 2004 14:04:54 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CD89@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Eclipse 3.0
Thread-Index: AcRg71/f88CHPznqSoWVI552MCtDJAABHP3w
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>
Cc: classpath@gnu.org
Subject: RE: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Jul 2004 12:14:55 -0000

Mark Wielaard wrote:
> > Thanks! This allows M9 to start up successfully for me!=20
> Inspired by this
> > success I downloaded the 3.0 release, but unfortunately that still
> > doesn't work and bizarelly enough it dies with the exact same
> > NullPointerException that M9 died with before this fix. Sigh...
>=20
> Great! Did you also make the fix that I suggested as reply to=20
> one of the emails from Roman? Our URL.getPath() follows the spec,
> which is not what eclipse expects...

Thanks again! I forgot that one. The release now runs as well!

> -Xbootclasspath:C:\xalan-j_2_6_0\bin\xalan.jar;C:\xalan-j_2_6_
> 0\bin\xerc
> > esImpl.jar;C:\xalan-j_2_6_0\bin\xml-apis.jar
>=20
> That was really special for ikvm (and precompiled native eclipse with
> gcj). They at least tried to do something horrible to get it working
> automagically (although bending the spec horribly by retracting a jar
> from a URL/Delegating ClassLoader and depending on super lazy class
> loading...) It is probably better that they don't try to do=20
> such tricks now.

Actually, I'm pretty sure that wasn't it. In 2.x they played some weird
class loader tricks, that IKVM initially had problems with, but nowadays
IKVM has support for that as well (by emitting reflection based code
when non-existing classes are referenced).

> It is good to see both Anthony and you able to get it starting up now.
> That means my Classpath library work is done ! :)

Yep and much appreciated.

Some things I'm seeing:
- New Java Project =3D> Eclipse dies (just disappears without any
messages)
- Opening Existing Java Project =3D> Java Source Editor doesn't work

Exceptions in the log:
org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
	at org.eclipse.jface.util.Assert.isNotNull (Unknown Source)
	at org.eclipse.jface.util.ListenerList.remove (Unknown Source)
	at org.eclipse.jface.resource.ResourceRegistry.removeListener
(Unknown Source)
	at
org.eclipse.jdt.internal.ui.JavaPlugin.uninstallPreferenceStoreBackwards
Compatibility (Unknown Source)
	at org.eclipse.jdt.internal.ui.JavaPlugin.stop (Unknown Source)

java.lang.ClassNotFoundException:
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor
	at java.lang.ExceptionHelper.initCause (Unknown Source)
	at java.lang.ClassNotFoundException.<init> (Unknown Source)
	at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass (Unknown
Source)
	at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass
(Unknown Source)
	at java.lang.ClassLoader.loadClass (Unknown Source)
	at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.org.eclipse.
osgi.framework.adaptor.BundleClassLoader/loadClass (Unknown Source)
	at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass (Unknown
Source)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass
(Unknown Source)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass
(Unknown Source)

java.lang.NullPointerException
	at gnu.java.text.BaseBreakIterator.current (Unknown Source)
	at org.eclipse.jdt.internal.ui.text.JavaBreakIterator.<init>
(Unknown Source)
	at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$NavigatePreviousSubWor
dAction.<init> (Unknown Source)
	at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createNavigationAction
s (Unknown Source)

Regards,
Jeroen



From MAILER-DAEMON Sat Jul 03 09:11:01 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgkIH-0007j1-Eq
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 09:11:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgkIG-0007iq-8o
	for classpath@gnu.org; Sat, 03 Jul 2004 09:11:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgkIE-0007ie-OM
	for classpath@gnu.org; Sat, 03 Jul 2004 09:11:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgkIE-0007ib-Ka
	for classpath@gnu.org; Sat, 03 Jul 2004 09:10:58 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgkFz-00020n-G6
	for classpath@gnu.org; Sat, 03 Jul 2004 09:08:39 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BgkFe-00088a-00
	for <classpath@gnu.org>; Sat, 03 Jul 2004 15:08:18 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-VWLs3dxVFBZSbsJw7PiK"
Message-Id: <1088860095.29417.305.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 15:08:15 +0200
Subject: What about 0.10? (Sunday rc1 - Monday evening 0.10 snapshot
	release?)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 13:11:00 -0000


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

Hi all,

Sorry, I got a bit distracted by the URL(StreamHandler) business.
Getting Eclipse 3.0 starting up under 0.10 seemed like a good goal
though for the release. This does mean that I didn't look at Andrew his
ObjectStream fixes or thought more about the ResourceBundle classloader
things. Lets postpone those till after 0.10. I also haven't looked at
Jeroen his patch proposals. Should they go in?

My idea now is to get the enable-protable-native-sync property patch
from Steven in and these last few URL fixlets and then make a release
candidate.

But I have some troubles with Savannah which prevents me from checking
in and it is such nice weather outside that I decided to take the day
off from hacking.

Tomorrow I will do the 0.10-rc1 and if that works out for everybody then
we do the real 0.10 snapshot release on Monday (evening).

Hope that works out for others, if not, please yell. It is just a
snapshot release, if necessary we can put it off a couple of days, but
the next one will be in two months again so the postponed fixes will get
in soon.

Cheers,

Mark

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

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

iD8DBQBA5q+/xVhZCJWr9QwRAlkjAJ9OlbzomO/7Ta1EVW9fQDd8Go0rBACfVXuU
eA81p1Bi3nt6aAf82JqEo+A=
=MhC2
-----END PGP SIGNATURE-----

--=-VWLs3dxVFBZSbsJw7PiK--




From MAILER-DAEMON Sat Jul 03 09:34:01 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgkeX-0007Kj-M4
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 09:34:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgkeV-0007KU-I9
	for classpath@gnu.org; Sat, 03 Jul 2004 09:33:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgkeT-0007KH-RI
	for classpath@gnu.org; Sat, 03 Jul 2004 09:33:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgkeT-0007KE-NU
	for classpath@gnu.org; Sat, 03 Jul 2004 09:33:57 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgkcW-0003TJ-40
	for classpath@gnu.org; Sat, 03 Jul 2004 09:31:56 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1BgkcF-0004XS-00
	for <classpath@gnu.org>; Sat, 03 Jul 2004 15:31:39 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BgkcC-0004X8-00; Sat, 03 Jul 2004 15:31:36 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i63DVah7013546;
	Sat, 3 Jul 2004 15:31:36 +0200 (MEST)
Message-ID: <40E6B537.8020504@kaffe.org>
Date: Sat, 03 Jul 2004 15:31:35 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: gnu_andrew@member.fsf.org
References: <NFBBKALFDCPFIDBNKAPCIEKHEFAA.dholmes@dltech.com.au>	<1088721084.15399.241.camel@rivendell>
	<40E55A53.3030406@kaffe.org> <1088812597.15399.378.camel@rivendell>
In-Reply-To: <1088812597.15399.378.camel@rivendell>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: JDK 1.5 support?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Jul 2004 13:33:59 -0000

Andrew John Hughes wrote:
> On Fri, 2004-07-02 at 13:51, Dalibor Topic wrote:
> 
>>Andrew John Hughes wrote:
>>
>>
>>>Has anyone run the JDK 1.5 beta against Classpath using japitools?  I
>>>know its not production but it may be interesting to see what the
>>>differences are.  The licensing is different on the beta, so I'm wary
>>>about trying this myself.
>>
>>I doubt japitools would swallow it, as the class file format has changed 
>>in 1.5 :) But the underlying tols (JADE, afaik) might have been updated 
>>to deal with 1.5-ish classes, so you *may* be able to puzzle together a 
>>version of japitools that can deal with 1.5.
>>
>>cheers,
>>dalibor topic
> 
> I sort of guessed along those lines as I wrote this ;-)

Yeah, I think I've had some funm with the 1.4.2 classes in an earlier 
japitools version, since JADE didn't support those, either. YMMV :)

cheers,
dalibor topic



From MAILER-DAEMON Sat Jul 03 09:59:01 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bgl2j-0006JC-H4
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 09:59:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bgl2h-0006IA-Hp
	for classpath@gnu.org; Sat, 03 Jul 2004 09:58:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bgl2f-0006Hf-V2
	for classpath@gnu.org; Sat, 03 Jul 2004 09:58:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bgl2f-0006HV-Ts
	for classpath@gnu.org; Sat, 03 Jul 2004 09:58:57 -0400
Received: from [217.12.12.199] (helo=smtp809.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Bgl0K-0005f4-28
	for classpath@gnu.org; Sat, 03 Jul 2004 09:56:32 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp809.mail.ukl.yahoo.com with SMTP; 3 Jul 2004 13:56:31 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1Bgl0I-00058c-W8
	for classpath@gnu.org; Sat, 03 Jul 2004 14:56:31 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <16614.35572.235027.86115@cuddles.cambridge.redhat.com>
References: <1088738946.5137.15.camel@hovel.lepus.org>
	<40E55EB7.8020001@kaffe.org> <1088813855.15399.397.camel@rivendell>
	<16614.35572.235027.86115@cuddles.cambridge.redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-iXrSFAzLFaZ7jBzSBPRe"
Message-Id: <1088862990.15399.587.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 14:56:30 +0100
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Jul 2004 13:58:59 -0000


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

On Sat, 2004-07-03 at 11:31, Andrew Haley wrote:
> Andrew John Hughes writes:
>  >
>  > Well, my suggestion would be that the branches are more for the benefi=
t
>  > of users rather than developers.  Correct me if I'm wrong, but the
>  > japitools comparisons suggest that 1.1 is just about supported.  This
>  > would seem to be a solid base to give to those who want something to
>  > work with, at least for the time being, as a Java replacement without
>  > having to wonder about holes.  As far as developers go, I would expect
>  > focus to mainly stay on 1.4 as it is now, with appropriate patches tha=
t
>  > also cover 1.1 being added there.  However, if you think that would be
>  > too much effort, then I can see your point to an extent.  I do think
>  > there is something to be said for giving users something more stable
>  > though, rather than the kind of random implementation guarantees we gi=
ve
>  > now.
>=20
> Sure, but the problem is that branches, unless tended carefully, will
> wither.  If people wish assiduously to maintain a separate 1.1 branch,
> that will be fine.  But that should be an addition to current
> development, not an alternative.
>=20
> Andrew.
Agreed.  The idea of having a stable branch (1.1 being the first
iteration) of this is to give developers who want to use Classpath
something concrete to work with.  I don't foresee such a branch needing
anything more than the odd patch from the main development branch
(currently targeting 1.4, although maybe 1.2 may be a better target if
we want a faster release cycle).  The stable branch would form the basis
of a solid release version, matching a certain API and not gaining new
features, only bug fixes.  Quite a few projects have this concept of a
release version and a current development version (Linux and GTK+ would
be obvious examples, as this is distinguished by the odd/even release
numbers)
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5rsOu+fW6pI0dq4RAj3fAJ4/BX5AjvQqHRTzE+NFwc6QuTgEMQCfX9oS
cqkO8DbSy2qIlSIJ9RNebHE=
=WRZb
-----END PGP SIGNATURE-----

--=-iXrSFAzLFaZ7jBzSBPRe--




From MAILER-DAEMON Sat Jul 03 10:22:05 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BglP2-0008Sd-MX
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 10:22:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BglP0-0008S6-OJ
	for classpath@gnu.org; Sat, 03 Jul 2004 10:22:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BglOz-0008RU-Cm
	for classpath@gnu.org; Sat, 03 Jul 2004 10:22:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BglOz-0008RR-At
	for classpath@gnu.org; Sat, 03 Jul 2004 10:22:01 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BglMm-0007jX-5x
	for classpath@gnu.org; Sat, 03 Jul 2004 10:19:44 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1BglMl-0007ki-00
	for <classpath@gnu.org>; Sat, 03 Jul 2004 16:19:43 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BglMi-0007kM-00; Sat, 03 Jul 2004 16:19:40 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i63EJdh7007551;
	Sat, 3 Jul 2004 16:19:39 +0200 (MEST)
Message-ID: <40E6C07B.1090104@kaffe.org>
Date: Sat, 03 Jul 2004 16:19:39 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: gnu_andrew@member.fsf.org
References: <1088694287.15399.200.camel@rivendell>	<87briysu6i.fsf@oz.fapse.ulg.ac.be>
	<40E549D7.30302@kaffe.org> <1088819063.15399.450.camel@rivendell>
In-Reply-To: <1088819063.15399.450.camel@rivendell>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>, Classpath X <classpathx-discuss@gnu.org>
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 14:22:02 -0000

Andrew John Hughes wrote:
> On Fri, 2004-07-02 at 12:41, Dalibor Topic wrote:
> 
>>Arnaud Vandyck wrote:
>>
>>>Andrew John Hughes <gnu_andrew@member.fsf.org> writes:
>>>
>>>
>>>
>>>>Hi all,
>>>>	I don't know if anyone here has heard about the recent release of Sun's
>>>>Project Looking Glass under the GPL.  Its no doubt a good sign to see
>>>>Sun releasing this interesting project under a true Free Software
>>>>license.  However, the Java code still depends on a couple of Java
>>>>extensions, namely Java 3D and Java Advanced Imaging.  I was wondering
>>>>if anyone knew about the possibility or the existence of an effort to
>>>>create Free Software implementations of these libraries?  Having these
>>>>would mean that Project Looking Glass would be more likely to run on a
>>>>Free platform.  At present, it is tied to proprietary Sun licenses, even
>>>>if the main code is under the GPL.
>>>
>>>
>>>I'm not sure but maybe some developpers on classpath project already
>>>work on this.
>>>
>>
>>There is a free vecmath implementation, Bryan posted a link to it a few 
>>days ago, when the Java3d subject came up for the first time. There is 
>>no free software implementation of the Java3d apis, afaik. I doint't 
>>think there is a free implementation of JAI, yet, either. If you're 
>>looking for a nice project ... go for it :)
>>
>>cheers,
>>dalibor topic
> 
> 
> I've only just subscribed to classpathx, so I missed that thread -- I'll
> browse the archives for it.  I'll give this until after next week (for
> which I'm away for most of) to circulate, and then hopefully crack on
> with doing this if its still viable.  I'm particularly concerned as to
> any legal issues anyone knows about concerning this -- is there any
> reason why this couldn't be attempted on these grounds?  On a lighter
> note, any suggestions for running such a project? :-)

Vecmath is available from

http://www.objectclub.jp/download/vecmath_e

under this license:
/*
    Copyright (C) 1997,1998,1999
    Kenji Hiranabe, Eiwa System Management, Inc.

    This program is free software.
    Implemented by Kenji Hiranabe(hiranabe@esm.co.jp),
    conforming to the Java(TM) 3D API specification by Sun Microsystems.

    Permission to use, copy, modify, distribute and sell this software
    and its documentation for any purpose is hereby granted without fee,
    provided that the above copyright notice appear in all copies and
    that both that copyright notice and this permission notice appear
    in supporting documentation. Kenji Hiranabe and Eiwa System 
Management,Inc.
    makes no representations about the suitability of this software for any
    purpose.  It is provided "AS IS" with NO WARRANTY.
*/

According to the page above, there was once a free implementation of 
java3d available at http://members.linuxstart.com/~jfreed/ but it 
doesn't seem toexist any more. Fortunately, archive.org has saved a copy 
of the page on 
http://web.archive.org/web/20001012122624/http://members.linuxstart.com/~jfreed/

Jean-Christophe Taveau has been last seen on the newsgroups here 
http://groups.google.com/groups?q=jc.taveau&hl=en&lr=&ie=UTF-8&selm=3DF9A91A.8070907%40pobox.com&rnum=1

Regarding legal things, java3d seems to be covered by some patents. See 
http://www.3dcompression.com/patents.phtml for details. I have no idea 
how important 3d compression is for Java3d, but since you asked ;)

I still haven't found any free implemenmtaiton of JAI, though.

cheers,
dalibor topic



From MAILER-DAEMON Sat Jul 03 10:39:34 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bglfy-00065F-6k
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 10:39:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bglfv-00062s-BE
	for classpath@gnu.org; Sat, 03 Jul 2004 10:39:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bglft-00061G-Df
	for classpath@gnu.org; Sat, 03 Jul 2004 10:39:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bglft-000603-7d
	for classpath@gnu.org; Sat, 03 Jul 2004 10:39:29 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bgldd-00070v-Hy
	for classpath@gnu.org; Sat, 03 Jul 2004 10:37:09 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1Bgldd-00016U-00
	for <classpath@gnu.org>; Sat, 03 Jul 2004 16:37:09 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1Bglda-000161-00; Sat, 03 Jul 2004 16:37:06 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i63Eawh7016951;
	Sat, 3 Jul 2004 16:36:59 +0200 (MEST)
Message-ID: <40E6C48A.1080701@kaffe.org>
Date: Sat, 03 Jul 2004 16:36:58 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Regier Avery J <RegierAveryJ@JohnDeere.com>
References: <80FF42A334253C4393F2527DE0E6DD9F18B65D@edxmb5.jdnet.deere.com>
In-Reply-To: <80FF42A334253C4393F2527DE0E6DD9F18B65D@edxmb5.jdnet.deere.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org, classpathx-discuss@gnu.org
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 14:39:32 -0000

Regier Avery J wrote:
> Actually, one of the big announcements on the first day at JavaOne was that Java3D was being open sourced.  I'm not sure if the licence is compatible or not, though.  I would hope that since LookingGlass is GPLed that it is legally compatible.  For details see: https://j3d-core.dev.java.net/

The code of the examples and the code of the utilities are published 
under 'nuclear BSD' licence, i.e. BSD without advertising clause but 
with a 'don't build nukes with this' warning disclaimer.

The API implementation and vecmath are not open source, unfortunately. 
Sun's marketing gave the wrong impression there, they forgot to mention 
that core parts of Sun's implementation of Java3d remain non-free. :)

But it is certainly sweet that they released more code under open source 
licenses.

cheers,
dalibor topic



From MAILER-DAEMON Sat Jul 03 11:28:33 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgmRN-0004in-EC
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 11:28:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgmRL-0004hE-5Q
	for classpath@gnu.org; Sat, 03 Jul 2004 11:28:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgmRK-0004gy-MK
	for classpath@gnu.org; Sat, 03 Jul 2004 11:28:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1BgmRI-0004e5-QO; Sat, 03 Jul 2004 11:28:28 -0400
Received: from [213.180.130.50] (helo=smtp5k.poczta.onet.pl)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BgmPG-0001Pb-Hb; Sat, 03 Jul 2004 11:26:22 -0400
Received: from mizzar.MultiCon.PL ([213.77.83.2]:44550 "EHLO adres.pl")
	by kps5.test.onet.pl with ESMTP id <S4870423AbUGCP0M>;
	Sat, 3 Jul 2004 17:26:12 +0200
Message-ID: <40E6D017.5000904@adres.pl>
Date: Sat, 03 Jul 2004 17:26:15 +0200
From: Artur Biesiadowski <abies@adres.pl>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
References: <1088694287.15399.200.camel@rivendell>	<87briysu6i.fsf@oz.fapse.ulg.ac.be>	<40E549D7.30302@kaffe.org>
	<1088819063.15399.450.camel@rivendell> <40E6C07B.1090104@kaffe.org>
In-Reply-To: <40E6C07B.1090104@kaffe.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
To: unlisted-recipients:; (no To-header on input)
Cc: Classpath X <classpathx-discuss@gnu.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: abies@pg.gda.pl
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 15:28:31 -0000

Dalibor Topic wrote:

> Regarding legal things, java3d seems to be covered by some patents. See 
> http://www.3dcompression.com/patents.phtml for details. I have no idea 
> how important 3d compression is for Java3d, but since you asked ;)

It is not important. While you won't be able to build full 
implementation of java3d without it, I still have to see even one 
program to use it. Idea behind compression was to have specialized GPU 
capable to understanding it directly, to conserve bus bandwidth. Sun has 
built one or two such cards and that's it - using compressed geometry 
without hardware acceleration is just going to be a slower than normal one.

As for the 'free' implementation of java3d, xith3d is probably a good 
place to start. It has most of java3d features implemented already, at 
least as far as desktop targets are concerned. For the vecmath, Kenji's 
version can be used. java3d-util package is available under free license 
from sun.

There is for sure certain amount of work to be done to allow xith3d to 
be used in place of java3d for LG - but it should be possible to manage.


Artur



From MAILER-DAEMON Sat Jul 03 11:41:04 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgmdU-0002jX-Cn
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 11:41:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgmdT-0002jS-4g
	for classpath@gnu.org; Sat, 03 Jul 2004 11:41:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgmdR-0002jG-KF
	for classpath@gnu.org; Sat, 03 Jul 2004 11:41:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgmdR-0002jD-Ho
	for classpath@gnu.org; Sat, 03 Jul 2004 11:41:01 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgmbR-00069u-MT
	for classpath@gnu.org; Sat, 03 Jul 2004 11:38:57 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1BgmbR-0005iV-00
	for <classpath@gnu.org>; Sat, 03 Jul 2004 17:38:57 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BgmbO-0005iN-00; Sat, 03 Jul 2004 17:38:54 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i63Fcsh7019056;
	Sat, 3 Jul 2004 17:38:54 +0200 (MEST)
Message-ID: <40E6D30E.2020505@kaffe.org>
Date: Sat, 03 Jul 2004 17:38:54 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: gnu_andrew@member.fsf.org
References: <1088738946.5137.15.camel@hovel.lepus.org>	<40E55EB7.8020001@kaffe.org>
	<1088813855.15399.397.camel@rivendell>
In-Reply-To: <1088813855.15399.397.camel@rivendell>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 15:41:03 -0000

Andrew John Hughes wrote:
> On Fri, 2004-07-02 at 14:10, Dalibor Topic wrote:

Hi Andrew,

> Well, my suggestion would be that the branches are more for the benefit
> of users rather than developers.  Correct me if I'm wrong, but the
> japitools comparisons suggest that 1.1 is just about supported.  This
> would seem to be a solid base to give to those who want something to
> work with, at least for the time being, as a Java replacement without
> having to wonder about holes.  As far as developers go, I would expect
> focus to mainly stay on 1.4 as it is now, with appropriate patches that
> also cover 1.1 being added there.  However, if you think that would be
> too much effort, then I can see your point to an extent.  I do think
> there is something to be said for giving users something more stable
> though, rather than the kind of random implementation guarantees we give
> now.

Japitools only says which APIs can be compiled against, it says nothing 
about the spec-adherence of the implementation (the dreaded FIXMEs! ;).

There are no guarantees because noone stepped up to the plate to provide 
them. If you want to be the one, great! If you feel that you can pull 
off making Classpath implement the remaining bits for 1.1, and closing 
the holes, more power to you. Just keep the patches, mauve tests, and so 
on flowing in, and everyone will be happy.

cheers,
dalibor topic



From MAILER-DAEMON Sat Jul 03 11:54:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bgmq2-0007sB-CA
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 11:54:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bgmq1-0007s6-E3
	for classpath@gnu.org; Sat, 03 Jul 2004 11:54:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bgmpz-0007rt-PO
	for classpath@gnu.org; Sat, 03 Jul 2004 11:54:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bgmpz-0007rp-NM
	for classpath@gnu.org; Sat, 03 Jul 2004 11:53:59 -0400
Received: from [217.12.12.139] (helo=smtp802.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Bgmo3-0002YH-Mp
	for classpath@gnu.org; Sat, 03 Jul 2004 11:51:59 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp802.mail.ukl.yahoo.com with SMTP; 3 Jul 2004 15:51:58 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1Bgmo2-0005FK-Le
	for classpath@gnu.org; Sat, 03 Jul 2004 16:51:58 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <876595ai7j.fsf@gnu.org>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088764292.1168.33.camel@moonlight.localdomain>
	<1088765365.15399.294.camel@rivendell>
	<1088766030.1168.38.camel@moonlight.localdomain>
	<1088767703.15399.302.camel@rivendell> <40E5600B.5090202@kaffe.org>
	<1088818499.15399.445.camel@rivendell>  <876595ai7j.fsf@gnu.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-KJ+swg2al3xXWPYJZNWY"
Message-Id: <1088869918.15399.592.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 16:51:58 +0100
Subject: Re: Eclipse 3.0 and unimplemented methods proposal
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Jul 2004 15:54:01 -0000


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

On Sat, 2004-07-03 at 04:21, Casey Marshall wrote:
> >>>>> "Andrew" =3D=3D Andrew John Hughes <gnu_andrew@member.fsf.org> writ=
es:
>=20
> Andrew> Anyway, the floor is over to you guys.  Be gentle ;-) --
> Andrew> Andrew :-)
>=20
> I think this got as close to an authoritative answer/consensus as we
> can expect to get on this issue:
> =20
> <http://lists.gnu.org/archive/html/classpath/2003-09/msg00226.html>
>=20
> Stub methods bad. No biscuit.
Aaah -- the change of subject made me miss this one.  I do see this as a
bit of a step backwards -- for a stub to have been entered, the
appropriate method signature must have been found, coded and committed.=20
Also, its mere presence means that the method can be documented and
tested against using Mauve, as well as called from other parts of
Classpath.  What is shouldn't do is just die silently.

Anyway, I'm happy to put in the yards to turn the nulls into whichever
of these most people feel happy with -- just be prepared...

Cheers,
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5tYeu+fW6pI0dq4RAgyxAJ4urZe666rnB77dDpjVw+cT9D0ehQCeNSNK
6LEMcw5mkioPrYELLYM3Hpw=
=DW47
-----END PGP SIGNATURE-----

--=-KJ+swg2al3xXWPYJZNWY--




From MAILER-DAEMON Sat Jul 03 12:23:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgnId-00037u-DL
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 12:23:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgnIb-00037f-TJ
	for classpath@gnu.org; Sat, 03 Jul 2004 12:23:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgnIa-00037S-CY
	for classpath@gnu.org; Sat, 03 Jul 2004 12:23:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgnIa-00037P-6E
	for classpath@gnu.org; Sat, 03 Jul 2004 12:23:32 -0400
Received: from [217.12.12.202] (helo=smtp812.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgnGE-0004zt-GF
	for classpath@gnu.org; Sat, 03 Jul 2004 12:21:06 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp812.mail.ukl.yahoo.com with SMTP; 3 Jul 2004 16:21:05 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1BgnGD-0005H3-GC
	for classpath@gnu.org; Sat, 03 Jul 2004 17:21:05 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <40E6D30E.2020505@kaffe.org>
References: <1088738946.5137.15.camel@hovel.lepus.org>
	<40E55EB7.8020001@kaffe.org> <1088813855.15399.397.camel@rivendell>
	<40E6D30E.2020505@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-81hLQ+vKrEJ04WXQkjT1"
Message-Id: <1088871665.15399.594.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 17:21:05 +0100
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Jul 2004 16:23:34 -0000


--=-81hLQ+vKrEJ04WXQkjT1
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2004-07-03 at 16:38, Dalibor Topic wrote:
> Andrew John Hughes wrote:
> > On Fri, 2004-07-02 at 14:10, Dalibor Topic wrote:
>=20
> Hi Andrew,
>=20
> > Well, my suggestion would be that the branches are more for the benefit
> > of users rather than developers.  Correct me if I'm wrong, but the
> > japitools comparisons suggest that 1.1 is just about supported.  This
> > would seem to be a solid base to give to those who want something to
> > work with, at least for the time being, as a Java replacement without
> > having to wonder about holes.  As far as developers go, I would expect
> > focus to mainly stay on 1.4 as it is now, with appropriate patches that
> > also cover 1.1 being added there.  However, if you think that would be
> > too much effort, then I can see your point to an extent.  I do think
> > there is something to be said for giving users something more stable
> > though, rather than the kind of random implementation guarantees we giv=
e
> > now.
>=20
> Japitools only says which APIs can be compiled against, it says nothing=20
> about the spec-adherence of the implementation (the dreaded FIXMEs! ;).
>=20
And so goes the other discussion... ;-)

> There are no guarantees because noone stepped up to the plate to provide=20
> them. If you want to be the one, great! If you feel that you can pull=20
> off making Classpath implement the remaining bits for 1.1, and closing=20
> the holes, more power to you. Just keep the patches, mauve tests, and so=20
> on flowing in, and everyone will be happy.
>=20
I'm definitely willing to try, at least.
> cheers,
> dalibor topic
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5tzxu+fW6pI0dq4RArGxAJwNh5Q98iUcK9j17+6cYAyFLpY9gwCffnIE
hqbbhh5DxeWORCg5DQGjzIs=
=txbc
-----END PGP SIGNATURE-----

--=-81hLQ+vKrEJ04WXQkjT1--




From MAILER-DAEMON Sat Jul 03 12:43:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bgnba-0001NA-S1
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 12:43:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgnbZ-0001N4-9N
	for classpath@gnu.org; Sat, 03 Jul 2004 12:43:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgnbY-0001Ms-P9
	for classpath@gnu.org; Sat, 03 Jul 2004 12:43:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgnbY-0001Mp-NL
	for classpath@gnu.org; Sat, 03 Jul 2004 12:43:08 -0400
Received: from [217.12.12.197] (helo=smtp807.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgnZE-0003m2-TG
	for classpath@gnu.org; Sat, 03 Jul 2004 12:40:45 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp807.mail.ukl.yahoo.com with SMTP; 3 Jul 2004 16:34:03 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32)
	id 1BgnSk-0005IO-Qh; Sat, 03 Jul 2004 17:34:02 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: Classpath X <classpathx-discuss@gnu.org>, GNU Classpath <classpath@gnu.org>
In-Reply-To: <40E6C07B.1090104@kaffe.org>
References: <1088694287.15399.200.camel@rivendell>
	<87briysu6i.fsf@oz.fapse.ulg.ac.be>  <40E549D7.30302@kaffe.org>
	<1088819063.15399.450.camel@rivendell>  <40E6C07B.1090104@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-rv3I05Pym2Nq813K85BO"
Message-Id: <1088872442.15399.601.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 17:34:02 +0100
Cc: 
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Jul 2004 16:43:09 -0000


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

On Sat, 2004-07-03 at 15:19, Dalibor Topic wrote:
> According to the page above, there was once a free implementation of=20
> java3d available at http://members.linuxstart.com/~jfreed/ but it=20
> doesn't seem toexist any more. Fortunately, archive.org has saved a copy=20
> of the page on=20
> http://web.archive.org/web/20001012122624/http://members.linuxstart.com/~=
jfreed/
>=20
> Jean-Christophe Taveau has been last seen on the newsgroups here=20
> http://groups.google.com/groups?q=3Djc.taveau&hl=3Den&lr=3D&ie=3DUTF-8&se=
lm=3D3DF9A91A.8070907%40pobox.com&rnum=3D1
>=20
Maybe worth looking at if I can still contact him.
>
> Regarding legal things, java3d seems to be covered by some patents. See=20
> http://www.3dcompression.com/patents.phtml for details. I have no idea=20
> how important 3d compression is for Java3d, but since you asked ;)
>=20
Good point.  How does existing Free Software deal with patents?  I know
OpenSSL provides some patented algorithms, leaving it up to the user to
provide licenses if necessary or not compile them.  And, yes, I know
what a huge pain in the ass they are -- I've been doing my own bit to
try and stop us getting software patents here in the UK.  Would we never
be able to fully implement Java 3D due to patents?  This being a heavy
research area,  no doubt more than 3D compression is covered.
> I still haven't found any free implemenmtaiton of JAI, though.
Hmmm... neither have I.  It appears mainly to be a collection of image
operations and wider file format support.
> cheers,
> dalibor topic
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5t/6u+fW6pI0dq4RAg+JAKCHYp71Mm7sNZhDqICFFMb2PEm8iQCeP2P9
gfOHiekgNrKX//R7pRDXsHs=
=PkpA
-----END PGP SIGNATURE-----

--=-rv3I05Pym2Nq813K85BO--




From MAILER-DAEMON Sat Jul 03 12:46:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgneM-00039e-9W
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 12:46:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgneK-00039O-95
	for classpath@gnu.org; Sat, 03 Jul 2004 12:46:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgneJ-00039B-NZ
	for classpath@gnu.org; Sat, 03 Jul 2004 12:46:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgneJ-000398-K3
	for classpath@gnu.org; Sat, 03 Jul 2004 12:45:59 -0400
Received: from [217.12.12.200] (helo=smtp810.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BgncE-00056N-Op
	for classpath@gnu.org; Sat, 03 Jul 2004 12:43:51 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp810.mail.ukl.yahoo.com with SMTP; 3 Jul 2004 16:37:10 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32)
	id 1BgnVm-0005IU-0T; Sat, 03 Jul 2004 17:37:10 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: Classpath X <classpathx-discuss@gnu.org>, GNU Classpath <classpath@gnu.org>
In-Reply-To: <40E6D017.5000904@adres.pl>
References: <1088694287.15399.200.camel@rivendell>
	<87briysu6i.fsf@oz.fapse.ulg.ac.be>	<40E549D7.30302@kaffe.org>
	<1088819063.15399.450.camel@rivendell> <40E6C07B.1090104@kaffe.org>
	<40E6D017.5000904@adres.pl>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-sxnvkErlbkPnMCWTNxvY"
Message-Id: <1088872629.15399.605.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 17:37:09 +0100
Cc: 
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Jul 2004 16:46:00 -0000


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

On Sat, 2004-07-03 at 16:26, Artur Biesiadowski wrote:

> As for the 'free' implementation of java3d, xith3d is probably a good=20
> place to start. It has most of java3d features implemented already, at=20
> least as far as desktop targets are concerned. For the vecmath, Kenji's=20
> version can be used. java3d-util package is available under free license=20
> from sun.
>=20
> There is for sure certain amount of work to be done to allow xith3d to=20
> be used in place of java3d for LG - but it should be possible to manage.
>=20
>=20
> Artur
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath

Wrapping parts of Xith3D does sound like a good starting point.=20
Basically, the main thing I want to do first is get enough of the two
APIs implemented to support LG.  A different problem is that I think it
requires 1.5 -- why I won't know until i get chance to go through the
sources.  It does seem a bit below the belt to release software based on
an API that is still incomplete though.  Seems they are far to eager to
start using enums and generics!
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5uC1u+fW6pI0dq4RAq5LAJ46i3oR37eF9MXixjr17YQtVXzH9wCgm5GB
AMUDkSakBcZl1dBD49LvS0E=
=j0GA
-----END PGP SIGNATURE-----

--=-sxnvkErlbkPnMCWTNxvY--




From MAILER-DAEMON Sat Jul 03 15:49:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BgqVz-00075V-Bu
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 15:49:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BgqVx-00074w-CG
	for classpath@gnu.org; Sat, 03 Jul 2004 15:49:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BgqVw-00074h-QE
	for classpath@gnu.org; Sat, 03 Jul 2004 15:49:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BgqVw-00074P-Ib
	for classpath@gnu.org; Sat, 03 Jul 2004 15:49:32 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgqTj-00051X-Hf
	for classpath@gnu.org; Sat, 03 Jul 2004 15:47:15 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1BgqTj-0006HY-00
	for <classpath@gnu.org>; Sat, 03 Jul 2004 21:47:15 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BgqTg-0006HJ-00; Sat, 03 Jul 2004 21:47:12 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i63JlBh7014354;
	Sat, 3 Jul 2004 21:47:11 +0200 (MEST)
Message-ID: <40E70D3F.5060404@kaffe.org>
Date: Sat, 03 Jul 2004 21:47:11 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: gnu_andrew@member.fsf.org
References: <1088694287.15399.200.camel@rivendell>	<87briysu6i.fsf@oz.fapse.ulg.ac.be>
	<40E549D7.30302@kaffe.org>	<1088819063.15399.450.camel@rivendell>
	<40E6C07B.1090104@kaffe.org> <1088872442.15399.601.camel@rivendell>
In-Reply-To: <1088872442.15399.601.camel@rivendell>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>, Classpath X <classpathx-discuss@gnu.org>
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 19:49:33 -0000

Andrew John Hughes wrote:
> On Sat, 2004-07-03 at 15:19, Dalibor Topic wrote:
> 
>>According to the page above, there was once a free implementation of 
>>java3d available at http://members.linuxstart.com/~jfreed/ but it 
>>doesn't seem toexist any more. Fortunately, archive.org has saved a copy 
>>of the page on 
>>http://web.archive.org/web/20001012122624/http://members.linuxstart.com/~jfreed/
>>
>>Jean-Christophe Taveau has been last seen on the newsgroups here 
>>http://groups.google.com/groups?q=jc.taveau&hl=en&lr=&ie=UTF-8&selm=3DF9A91A.8070907%40pobox.com&rnum=1
>>
> 
> Maybe worth looking at if I can still contact him.
> 
>>Regarding legal things, java3d seems to be covered by some patents. See 
>>http://www.3dcompression.com/patents.phtml for details. I have no idea 
>>how important 3d compression is for Java3d, but since you asked ;)
>>
> 
> Good point.  How does existing Free Software deal with patents?  I know
> OpenSSL provides some patented algorithms, leaving it up to the user to
> provide licenses if necessary or not compile them.  And, yes, I know
> what a huge pain in the ass they are -- I've been doing my own bit to
> try and stop us getting software patents here in the UK.  Would we never
> be able to fully implement Java 3D due to patents?  This being a heavy
> research area,  no doubt more than 3D compression is covered.

I guess the most commong approach is: don't look at patents, avoid them 
if they somehow get brought up in your face. See 
http://lwn.net/Articles/7636/ for Linus' take on it. :)

cheers,
dalibor topic



From MAILER-DAEMON Sat Jul 03 16:23:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bgr2w-0004tg-FJ
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 16:23:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bgr2v-0004tb-Gi
	for classpath@gnu.org; Sat, 03 Jul 2004 16:23:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bgr2t-0004tP-S6
	for classpath@gnu.org; Sat, 03 Jul 2004 16:23:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bgr2t-0004tM-OQ
	for classpath@gnu.org; Sat, 03 Jul 2004 16:23:35 -0400
Received: from [217.12.12.200] (helo=smtp810.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Bgr0g-0000XG-TQ
	for classpath@gnu.org; Sat, 03 Jul 2004 16:21:19 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp810.mail.ukl.yahoo.com with SMTP; 3 Jul 2004 20:21:18 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1Bgr0f-0005iq-S4
	for classpath@gnu.org; Sat, 03 Jul 2004 21:21:17 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <40E70D3F.5060404@kaffe.org>
References: <1088694287.15399.200.camel@rivendell>
	<87briysu6i.fsf@oz.fapse.ulg.ac.be>  <40E549D7.30302@kaffe.org>
	<1088819063.15399.450.camel@rivendell>  <40E6C07B.1090104@kaffe.org>
	<1088872442.15399.601.camel@rivendell>  <40E70D3F.5060404@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-dWkvRLco4GyyJTio/Zo0"
Message-Id: <1088886077.15399.644.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 03 Jul 2004 21:21:17 +0100
Subject: Re: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Jul 2004 20:23:37 -0000


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

On Sat, 2004-07-03 at 20:47, Dalibor Topic wrote:
> Andrew John Hughes wrote:
> > On Sat, 2004-07-03 at 15:19, Dalibor Topic wrote:
> >=20
> >>According to the page above, there was once a free implementation of=20
> >>java3d available at http://members.linuxstart.com/~jfreed/ but it=20
> >>doesn't seem toexist any more. Fortunately, archive.org has saved a cop=
y=20
> >>of the page on=20
> >>http://web.archive.org/web/20001012122624/http://members.linuxstart.com=
/~jfreed/
> >>
> >>Jean-Christophe Taveau has been last seen on the newsgroups here=20
> >>http://groups.google.com/groups?q=3Djc.taveau&hl=3Den&lr=3D&ie=3DUTF-8&=
selm=3D3DF9A91A.8070907%40pobox.com&rnum=3D1
> >>
> >=20
> > Maybe worth looking at if I can still contact him.
> >=20
> >>Regarding legal things, java3d seems to be covered by some patents. See=
=20
> >>http://www.3dcompression.com/patents.phtml for details. I have no idea=20
> >>how important 3d compression is for Java3d, but since you asked ;)
> >>
> >=20
> > Good point.  How does existing Free Software deal with patents?  I know
> > OpenSSL provides some patented algorithms, leaving it up to the user to
> > provide licenses if necessary or not compile them.  And, yes, I know
> > what a huge pain in the ass they are -- I've been doing my own bit to
> > try and stop us getting software patents here in the UK.  Would we neve=
r
> > be able to fully implement Java 3D due to patents?  This being a heavy
> > research area,  no doubt more than 3D compression is covered.
>=20
> I guess the most commong approach is: don't look at patents, avoid them=20
> if they somehow get brought up in your face. See=20
> http://lwn.net/Articles/7636/ for Linus' take on it. :)
>=20
> cheers,
> dalibor topic

Yes, I like that defence, although I'm not sure how much of a defence
ignorance is (I know it isn't for the law).  Unfortunately, the case
with these software patents is that some code will almost undoubtedly be
tripping over some patent, no doubt let through by a dump patent
official who knows nothing about technology.  We can only do what we can
now, and see what problems come in the future.  In most cases, patent
problems usually show up the futility of the patent (from a common sense
approach, anyway) rather than the stupidity of the hackers.=20
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA5xU9u+fW6pI0dq4RAotHAKCjQIl0ILPBHv9DD+UWUUlzWJWT2gCgi8eG
KcvHUrZUCtj76szyL75eHU4=
=/kNs
-----END PGP SIGNATURE-----

--=-dWkvRLco4GyyJTio/Zo0--




From MAILER-DAEMON Sat Jul 03 18:24:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bgsvo-0007Ic-IT
	for mharc-classpath@gnu.org; Sat, 03 Jul 2004 18:24:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BglGx-0004wm-8V
	for classpath@gnu.org; Sat, 03 Jul 2004 10:13:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BglGw-0004wL-Im
	for classpath@gnu.org; Sat, 03 Jul 2004 10:13:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1BglGv-0004vG-CQ; Sat, 03 Jul 2004 10:13:41 -0400
Received: from [164.121.249.100] (helo=fdpnmailgw2.mailgws.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BglEk-0003zT-ID; Sat, 03 Jul 2004 10:11:26 -0400
Received: from 204.54.167.67 by fdpnmailgw2.mailgws.com with ESMTP (MMS
	SMTP Relay (MMS v5.5.3)); Sat, 03 Jul 2004 09:11:21 -0500
Received: from edxbridge2.jdnet.deere.com ([164.121.15.62]) by
	edxgw3.jdnet.deere.com with Microsoft SMTPSVC(5.0.2195.6747); Sat, 3
	Jul 2004 09:11:21 -0500
Received: from edxmb4.jdnet.deere.com ([164.121.13.26]) by
	edxbridge2.jdnet.deere.com with Microsoft SMTPSVC(5.0.2195.6713); Sat,
	3 Jul 2004 09:11:21 -0500
Received: from edxmb5.jdnet.deere.com ([164.121.13.194]) by
	edxmb4.jdnet.deere.com with Microsoft SMTPSVC(5.0.2195.6713); Sat, 3
	Jul 2004 09:11:21 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.6527.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Sat, 3 Jul 2004 09:11:20 -0500
Message-ID: <80FF42A334253C4393F2527DE0E6DD9F18B65D@edxmb5.jdnet.deere.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Classpathx-discuss] More Java Extensions
Thread-Index: AcRgKYvb/5ARZDPcTcyv+buaN19Z2gA3a+8o
From: "Regier Avery J" <RegierAveryJ@JohnDeere.com>
To: "Dalibor Topic" <robilad@kaffe.org>,
	"Arnaud Vandyck" <arnaud.vandyck@ulg.ac.be>
X-OriginalArrivalTime: 03 Jul 2004 14:11:21.0039 (UTC)
	FILETIME=[9D9FFDF0:01C46107]
X-WSS-ID: 6CF86103233088-01-01
Content-Type: text/plain;
 charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Sat, 03 Jul 2004 18:24:23 -0400
Cc: classpath@gnu.org, classpathx-discuss@gnu.org
Subject: RE: [Classpathx-discuss] More Java Extensions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 03 Jul 2004 14:13:43 -0000

Actually, one of the big announcements on the first day at JavaOne was =
that Java3D was being open sourced.  I'm not sure if the licence is =
compatible or not, though.  I would hope that since LookingGlass is =
GPLed that it is legally compatible.  For details see: =
https://j3d-core.dev.java.net/

Avery Regier

-----Original Message-----
From:	classpath-bounces+regieraveryj=3Djdcorp.deere.com@gnu.org on =
behalf of Dalibor Topic
Sent:	Fri 7/2/2004 7:41 AM
To:	Arnaud Vandyck
Cc:	classpathx-discuss@gnu.org; classpath@gnu.org
Subject:	Re: [Classpathx-discuss] More Java Extensions
Arnaud Vandyck wrote:
> Andrew John Hughes <gnu_andrew@member.fsf.org> writes:
>=20
>=20
>>Hi all,
>>	I don't know if anyone here has heard about the recent release of =
Sun's
>>Project Looking Glass under the GPL.  Its no doubt a good sign to see
>>Sun releasing this interesting project under a true Free Software
>>license.  However, the Java code still depends on a couple of Java
>>extensions, namely Java 3D and Java Advanced Imaging.  I was wondering
>>if anyone knew about the possibility or the existence of an effort to
>>create Free Software implementations of these libraries?  Having these
>>would mean that Project Looking Glass would be more likely to run on a
>>Free platform.  At present, it is tied to proprietary Sun licenses, =
even
>>if the main code is under the GPL.
>=20
>=20
> I'm not sure but maybe some developpers on classpath project already
> work on this.
>=20

There is a free vecmath implementation, Bryan posted a link to it a few=20
days ago, when the Java3d subject came up for the first time. There is=20
no free software implementation of the Java3d apis, afaik. I doint't=20
think there is a free implementation of JAI, yet, either. If you're=20
looking for a nice project ... go for it :)

cheers,
dalibor topic


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








From MAILER-DAEMON Sun Jul 04 03:29:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bh1RY-0008BZ-Lq
	for mharc-classpath@gnu.org; Sun, 04 Jul 2004 03:29:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bh1RW-0008BU-JZ
	for classpath@gnu.org; Sun, 04 Jul 2004 03:29:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bh1RU-0008BI-P8
	for classpath@gnu.org; Sun, 04 Jul 2004 03:29:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bh1RU-0008BF-LA
	for classpath@gnu.org; Sun, 04 Jul 2004 03:29:40 -0400
Received: from [212.6.122.141] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1Bh1P5-00079g-Di; Sun, 04 Jul 2004 03:27:11 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-176.ewetel.net
	[80.228.94.176])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i647R99D016032;
	Sun, 4 Jul 2004 09:27:09 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1Bh1V4-0000Ok-00; Sun, 04 Jul 2004 09:33:22 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org, gnu_andrew@member.fsf.org
Date: Sun, 4 Jul 2004 09:29:06 +0200
User-Agent: KMail/1.6.2
References: <1088738946.5137.15.camel@hovel.lepus.org>
	<16614.35572.235027.86115@cuddles.cambridge.redhat.com>
	<1088862990.15399.587.camel@rivendell>
In-Reply-To: <1088862990.15399.587.camel@rivendell>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200407040929.17190.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Supporting multiple APIs simultaneously
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 04 Jul 2004 07:29:42 -0000

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

Am Samstag, 3. Juli 2004 15:56 schrieb Andrew John Hughes:
> On Sat, 2004-07-03 at 11:31, Andrew Haley wrote:
> > Andrew John Hughes writes:
> >  > Well, my suggestion would be that the branches are more for
> >  > the benefit of users rather than developers.  Correct me if
> >  > I'm wrong, but the japitools comparisons suggest that 1.1 is
> >  > just about supported.  This would seem to be a solid base to
> >  > give to those who want something to work with, at least for
> >  > the time being, as a Java replacement without having to wonder
> >  > about holes.  As far as developers go, I would expect focus to
> >  > mainly stay on 1.4 as it is now, with appropriate patches that
> >  > also cover 1.1 being added there.  However, if you think that
> >  > would be too much effort, then I can see your point to an
> >  > extent.  I do think there is something to be said for giving
> >  > users something more stable though, rather than the kind of
> >  > random implementation guarantees we give now.
> >
> > Sure, but the problem is that branches, unless tended carefully,
> > will wither.  If people wish assiduously to maintain a separate
> > 1.1 branch, that will be fine.  But that should be an addition to
> > current development, not an alternative.
> >
> > Andrew.
>
> Agreed.  The idea of having a stable branch (1.1 being the first
> iteration) of this is to give developers who want to use Classpath
> something concrete to work with.  I don't foresee such a branch
> needing anything more than the odd patch from the main development
> branch (currently targeting 1.4, although maybe 1.2 may be a better
> target if we want a faster release cycle).  The stable branch would
> form the basis of a solid release version, matching a certain API
> and not gaining new features, only bug fixes.  Quite a few projects
> have this concept of a release version and a current development
> version (Linux and GTK+ would be obvious examples, as this is
> distinguished by the odd/even release numbers)

We should try to reach a stable state before we discuss about stable=20
and development branches.


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

iD8DBQFA57HLWSOgCCdjSDsRAjlKAJ9mo6SVd57Wek8galc566J929XsAwCfWM4M
e1uM88Hs9xL5PG9Yg+DmiXE=3D
=3DIn14
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Sun Jul 04 05:44:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bh3YE-0002CB-9A
	for mharc-classpath@gnu.org; Sun, 04 Jul 2004 05:44:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bh3YD-0002Br-4d
	for classpath@gnu.org; Sun, 04 Jul 2004 05:44:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bh3YB-0002Bb-KQ
	for classpath@gnu.org; Sun, 04 Jul 2004 05:44:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bh3YB-0002BR-GU
	for classpath@gnu.org; Sun, 04 Jul 2004 05:44:43 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Bh3Vn-0002za-Ct
	for classpath@gnu.org; Sun, 04 Jul 2004 05:42:16 -0400
Received: (qmail 14206 invoked by uid 65534); 4 Jul 2004 09:42:13 -0000
Received: from p548032E5.dip.t-dialin.net (EHLO mainpc) (84.128.50.229)
	by mail.gmx.net (mp021) with SMTP; 04 Jul 2004 11:42:13 +0200
X-Authenticated: #22289156
Message-ID: <003101c461ab$2f4ec5d0$0100a8c0@mainpc>
From: "Valentin Chira" <vchira@gmx.de>
To: "GNU Classpath" <classpath@gnu.org>
References: <1088694287.15399.200.camel@rivendell><87briysu6i.fsf@oz.fapse.ulg.ac.be>
	<40E549D7.30302@kaffe.org><1088819063.15399.450.camel@rivendell>
	<40E6C07B.1090104@kaffe.org><1088872442.15399.601.camel@rivendell>
	<40E70D3F.5060404@kaffe.org> <1088886077.15399.644.camel@rivendell>
Date: Sun, 4 Jul 2004 11:42:12 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Subject: running eclipse 3.0 with 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, 04 Jul 2004 09:44:45 -0000

is it possible? if yes with which VM has been tested and which classpath
version?

thx.

regards,
 Vaentin




From MAILER-DAEMON Sun Jul 04 08:38:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bh6G4-00027O-Kj
	for mharc-classpath@gnu.org; Sun, 04 Jul 2004 08:38:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bh6G3-00027I-EH
	for classpath@gnu.org; Sun, 04 Jul 2004 08:38:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bh6G2-000276-0D
	for classpath@gnu.org; Sun, 04 Jul 2004 08:38:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bh6G1-000273-Ts
	for classpath@gnu.org; Sun, 04 Jul 2004 08:38:09 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bh6E0-0003GD-LT
	for classpath@gnu.org; Sun, 04 Jul 2004 08:36:05 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1Bh6De-0002iw-00; Sun, 04 Jul 2004 14:35:42 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1088853277.29403.293.camel@localhost>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD86@LEMBU.sumatrasoftware.com>
	<1088853277.29403.293.camel@localhost>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-VhU6cY6DXY/FR8hmq0VL"
Message-Id: <1088944538.24713.93.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 04 Jul 2004 14:35:38 +0200
Cc: 
Subject: RE: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 04 Jul 2004 12:38:11 -0000


--=-VhU6cY6DXY/FR8hmq0VL
Content-Type: multipart/mixed; boundary="=-tB44rn6Ebfhc/0CHGIxt"


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

Hi,

On Sat, 2004-07-03 at 13:14, Mark Wielaard wrote:
> On Sat, 2004-07-03 at 10:43, Jeroen Frijters wrote:
> > BTW, what Eclipse version are you using?
>=20
> eclipse-SDK-3.0-linux-gtk.zip from
> http://download2.eclipse.org/downloads/drops/R-3.0-200406251208/index.php
>=20
> I am still just using what is described here:
> http://lists.gnu.org/archive/html/classpath/2004-07/msg00026.html
> Plus the above two patches to java/net/URL.java mentioned above.
> And I start it all up by:
> LD_LIBRARY_PATH=3Dplugins/org.eclipse.swt.gtk_3.0.0/os/linux/x86:plugins/=
org.eclipse.core.resources.linux_3.0.0/os/linux/x86:plugins/org.eclipse.upd=
ate.core.linux_3.0.0/os/linux/x86 PATH=3D.:/usr/local/jamvm/bin ./eclipse -=
vm jamvm -debug -consoleLog -vmargs -bootclasspath/p /tmp/xalan -Djavax.xml=
.transform.TransformerFactory=3Dorg.apache.xalan.processor.TransformerFacto=
ryImpl -Dosgi.locking=3Dnone
>=20
> Where /tmp/xalan contains all the (extracted!) jar files from
> xalan-j_2_6_0/bin.
>=20
> It is good to see both Anthony and you able to get it starting up now.
> That means my Classpath library work is done ! :)
>=20
> Now the rest of the work can be offloaded to the runtime hackers.
> (CC Robert!)
> I still get the following errors during startup from jamvm:
>=20
> java.lang.IncompatibleClassChangeError: unimplemented interface
>    at org.eclipse.ui.keys.KeyStroke.hashCode (KeyStroke.java:311)
>    at java.util.HashMap.hash (HashMap.java:686)
>
> java.lang.IncompatibleClassChangeError: unimplemented interface
>    at org.eclipse.ui.keys.KeyStroke.equals (KeyStroke.java:270)
>    at java.util.AbstractMap.equals (AbstractMap.java:511)
>    at java.util.HashMap.get (HashMap.java:301)
>=20
> I worked around these by recompiling KeyStroke.java and not calling
> hashCode() and equals() on the modifiers SortedSet.
>
> Looks like some subtle class loading/instanceof bug to me.
> I first thought our Collections.UnmodifiableSet class wasn't correct
> though.

Found the bug in jamvm. This happens when the interface method
in question is one of the Object methods hashCode(), equals(),
toString(), etc. and (re)defined in one of the super interfaces of the
interface on which the actual method is called.

The attached patch was the quickest way I could think of to work around
it. Apply against jamvm 1.1.4. Robert will surely yell and scream if
this is horribly wrong and provide a nice clean solution I am sure :)

> Then I finally get:
>=20
> java.lang.NoClassDefFoundError: org/eclipse/swt/custom/CTabFolder
>    at org.eclipse.ui.internal.presentations.PaneFolder.<init>
> (PaneFolder.java:197)
>=20
> Which doesn't make sense :{

Correct! It doesn't make sense. Jamvm isn't that good at handling out of
memory situations and Eclipse demands lots and lots of memory. So apply
the attached patch to jamvm. Update your GNU Classpath from CVS (it now
contains all Anthony his URL patches). Follow the rest of the
instructions above, but now start it with a little bit more memory like:

LD_LIBRARY_PATH=3Dplugins/org.eclipse.swt.gtk_3.0.0/os/linux/x86:plugins/or=
g.eclipse.core.resources.linux_3.0.0/os/linux/x86:plugins/org.eclipse.updat=
e.core.linux_3.0.0/os/linux/x86 PATH=3D.:/usr/local/jamvm/bin ./eclipse -vm=
 jamvm -debug -consoleLog -vmargs -ms128M -mx128M -bootclasspath/p /tmp/xal=
an:/tmp/xalan/other:/tmp/xerces -Dosgi.locking=3Dnone

And enjoy! As Jeroen said there are still lots of things broken, but on
the other hand there are also lots of things that just work.

Please play around with it and try to fix what you can!

Cheers,

Mark

--=-tB44rn6Ebfhc/0CHGIxt
Content-Disposition: inline; filename=resolve.patch
Content-Type: text/x-patch; name=resolve.patch; charset=ISO-8859-1
Content-Transfer-Encoding: base64

LS0tIHNyYy9yZXNvbHZlLmMub3JpZwkyMDA0LTA3LTA0IDEzOjI0OjAwLjAwMDAwMDAwMCArMDIw
MA0KKysrIHNyYy9yZXNvbHZlLmMJMjAwNC0wNy0wNCAxMzoyNzowNS4wMDAwMDAwMDAgKzAyMDAN
CkBAIC02NSw2ICs2NSwyMSBAQA0KICAgICByZXR1cm4gTlVMTDsNCiB9DQogDQorTWV0aG9kQmxv
Y2sgKmxvb2t1cEludGVyZmFjZU1ldGhvZChDbGFzcyAqY2xhc3MsIGNoYXIgKm1ldGhvZG5hbWUs
IGNoYXIgKnR5cGUpIHsNCisgICAgTWV0aG9kQmxvY2sgKm1iOw0KKw0KKyAgICBpZigobWIgPSBm
aW5kTWV0aG9kKGNsYXNzLCBtZXRob2RuYW1lLCB0eXBlKSkpIHsNCisJaWYgKChDTEFTU19DQiht
Yi0+Y2xhc3MpKS0+YWNjZXNzX2ZsYWdzICYgQUNDX0lOVEVSRkFDRSkgew0KKwkgICAgcmV0dXJu
IG1iOw0KKwl9DQorICAgIH0NCisNCisgICAgaWYoQ0xBU1NfQ0IoY2xhc3MpLT5zdXBlcikNCisg
ICAgICAgIHJldHVybiBsb29rdXBJbnRlcmZhY2VNZXRob2QoQ0xBU1NfQ0IoY2xhc3MpLT5zdXBl
ciwgbWV0aG9kbmFtZSwgdHlwZSk7DQorDQorICAgIHJldHVybiBOVUxMOw0KK30NCisNCiBGaWVs
ZEJsb2NrICpsb29rdXBGaWVsZChDbGFzcyAqY2xhc3MsIGNoYXIgKmZpZWxkbmFtZSwgY2hhciAq
ZmllbGR0eXBlKSB7DQogICAgIENsYXNzQmxvY2sgKmNiOw0KICAgICBGaWVsZEJsb2NrICpmYjsN
CkBAIC0yMjUsNyArMjQwLDcgQEANCiAgICAgICAgICAgICAgICAgcmV0dXJuIE5VTEw7DQogICAg
ICAgICAgICAgfQ0KICAgICAgICAgICAgIA0KLSAgICAgICAgICAgIGlmKChtYiA9IGxvb2t1cE1l
dGhvZChyZXNvbHZlZF9jbGFzcywgbWV0aG9kbmFtZSwgbWV0aG9kdHlwZSkpID09IE5VTEwpIHsN
CisgICAgICAgICAgICBpZigobWIgPSBsb29rdXBJbnRlcmZhY2VNZXRob2QocmVzb2x2ZWRfY2xh
c3MsIG1ldGhvZG5hbWUsIG1ldGhvZHR5cGUpKSA9PSBOVUxMKSB7DQogICAgICAgICAgICAgICAg
IENsYXNzQmxvY2sgKmNiID0gQ0xBU1NfQ0IocmVzb2x2ZWRfY2xhc3MpOw0KICAgICAgICAgICAg
ICAgICBpbnQgaTsNCiANCg==

--=-tB44rn6Ebfhc/0CHGIxt--

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

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

iD8DBQBA5/maxVhZCJWr9QwRAjX2AJ0ZOxpkmdu0zinDX76WO3CEDDLhYwCdEOZc
lps5yIADo40V15If65DH7sY=
=it7d
-----END PGP SIGNATURE-----

--=-VhU6cY6DXY/FR8hmq0VL--




From MAILER-DAEMON Sun Jul 04 18:30:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhFVA-0000B2-4C
	for mharc-classpath@gnu.org; Sun, 04 Jul 2004 18:30:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhFV6-0000As-0K
	for classpath@gnu.org; Sun, 04 Jul 2004 18:30:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhFV4-0000Ag-H3
	for classpath@gnu.org; Sun, 04 Jul 2004 18:30:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhFV4-0000Ad-CF
	for classpath@gnu.org; Sun, 04 Jul 2004 18:30:18 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhFSi-0002OO-EZ
	for classpath@gnu.org; Sun, 04 Jul 2004 18:27:52 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BhFSM-0003r5-00
	for <classpath@gnu.org>; Mon, 05 Jul 2004 00:27:30 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-7HyFxsaEnrhHNhvzKCje"
Message-Id: <1088980045.24723.278.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 05 Jul 2004 00:27:25 +0200
Subject: classpath-0.10-pre1 available
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 04 Jul 2004 22:30:20 -0000


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

Hi,

The first pre-release is available at ftp://alpha.gnu.org/gnu/classpath/

We are not completely ready for 0.10 yet, but hopefully very close.
I tested on x86 and powerpc (Debian GNU/Linux machines) and checked that
at least kissme and jamvm worked out of the box. Mauve regression
results for both environments seem to have greatly improved since 0.09.

I believe the Jikes RVM hackers still had some pending patches.
Please test this release with you favorite runtime and compiler.
We will see tomorrow if more code patches are necessary.
At least the documentation needs to be updated to describe all the
improvements since 0.09. And I haven't checked the API generation yet.

My apologies for missing lots of patches and improvements. The bug
database is still full of very helpful reports and I have ignored some
patches send to the mailinglist since I was just to busy and wanted this
release out the door. Sorry to everybody that didn't see their patch go
in (yet). If you feel it is really important to include in 0.10 please
yell! And otherwise please yell as soon as 0.10 final is released so
your patches will be included in 0.11!

Test reports against classpath-0.10-pre1 are highly appreciated.

Thanks,

Mark

P.S. Note that final releases don't go to alpha.gnu.org anymore, but go
to ftp://ftp.gnu.org/gnu/classpath/ which will not contain test or pre
releases.

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

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

iD8DBQBA6IRNxVhZCJWr9QwRAvSyAJ0fA3+iDzqjGZ9YZ0LJ19XH1/RFTACdHyE2
oZn4WLsH9aMnaPKGlPReq5Q=
=UZEn
-----END PGP SIGNATURE-----

--=-7HyFxsaEnrhHNhvzKCje--




From MAILER-DAEMON Sun Jul 04 19:00:54 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhFyf-0002KW-Mx
	for mharc-classpath@gnu.org; Sun, 04 Jul 2004 19:00:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhFyd-0002KQ-NF
	for classpath@gnu.org; Sun, 04 Jul 2004 19:00:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhFyb-0002KB-7S
	for classpath@gnu.org; Sun, 04 Jul 2004 19:00:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhFya-0002K7-RL
	for classpath@gnu.org; Sun, 04 Jul 2004 19:00:49 -0400
Received: from [32.97.182.106] (helo=e6.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BhFwT-0002PE-BT
	for classpath@gnu.org; Sun, 04 Jul 2004 18:58:37 -0400
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com
	[9.56.224.150])
	by e6.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id i64MwZdu680328;
	Sun, 4 Jul 2004 18:58:36 -0400
Received: from d01ml604.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id
	i64Mxi1p118002; Sun, 4 Jul 2004 18:59:44 -0400
In-Reply-To: <1088980045.24723.278.camel@localhost>
To: Mark Wielaard <mark@klomp.org>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
From: David P Grove <groved@us.ibm.com>
X-MIMETrack: S/MIME Sign by Notes Client on David P Grove/Watson/IBM(Release
	6.0.2CF1|June 9, 2003) at 07/04/2004 06:56:53 PM,
	Serialize by Notes Client on David P Grove/Watson/IBM(Release
	6.0.2CF1|June 9, 2003) at 07/04/2004 06:56:53 PM,
	Serialize complete at 07/04/2004 06:56:53 PM,
	S/MIME Sign failed at 07/04/2004 06:56:54 PM: The cryptographic key was
	not found,
	Serialize by Router on D01ML604/01/M/IBM(Release 6.51HF339 | June 21,
	2004) at 07/04/2004 18:58:35,
	Serialize complete at 07/04/2004 18:58:35
Message-ID: <OFD0CFC27A.2B1FA16E-ON85256EC7.007D37F8-85256EC7.007E341B@us.ibm.com>
Date: Sun, 4 Jul 2004 18:58:37 -0400
Content-Type: multipart/alternative;
	boundary="=_alternative 007E0EFE85256EC7_="
Cc: classpath@gnu.org, jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: Re: classpath-0.10-pre1 available
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 04 Jul 2004 23:00:52 -0000

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

I built Jikes RVM with 0.10-pre1 on Linux/x86 and ran a few trivial 
programs without any problems.  I'm running a more serious regression test 
on Linux/x86 now, but that will take 6-8 hours to finish.

Haven't had a chance to try on any of Jikes RVM's other platforms 
(Linux/AIX/OSX PowerPC and 64 bit AIX/Linux PowerPC).

--dave

Mark Wielaard wrote: 
> The first pre-release is available at ftp://alpha.gnu.org/gnu/classpath/
> 
> We are not completely ready for 0.10 yet, but hopefully very close.
> I tested on x86 and powerpc (Debian GNU/Linux machines) and checked that
> at least kissme and jamvm worked out of the box. Mauve regression
> results for both environments seem to have greatly improved since 0.09.
--=_alternative 007E0EFE85256EC7_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I built Jikes RVM with 0.10-pre1 on
Linux/x86 and ran a few trivial programs without any problems. &nbsp;I'm
running a more serious regression test on Linux/x86 now, but that will
take 6-8 hours to finish.</font>
<br>
<br><font size=2 face="sans-serif">Haven't had a chance to try on any of
Jikes RVM's other platforms (Linux/AIX/OSX PowerPC and 64 bit AIX/Linux
PowerPC).</font>
<br>
<br><font size=2 face="sans-serif">--dave</font>
<br>
<br><font size=2 face="sans-serif">Mark Wielaard wrote: </font>
<br><font size=2><tt>&gt; The first pre-release is available at ftp://alpha.gnu.org/gnu/classpath/<br>
&gt; <br>
&gt; We are not completely ready for 0.10 yet, but hopefully very close.<br>
&gt; I tested on x86 and powerpc (Debian GNU/Linux machines) and checked
that<br>
&gt; at least kissme and jamvm worked out of the box. Mauve regression<br>
&gt; results for both environments seem to have greatly improved since
0.09.</tt></font>
--=_alternative 007E0EFE85256EC7_=--



From MAILER-DAEMON Mon Jul 05 03:45:03 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhO9u-0000L2-Vx
	for mharc-classpath@gnu.org; Mon, 05 Jul 2004 03:45:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhO9q-0000JX-3D
	for classpath@gnu.org; Mon, 05 Jul 2004 03:44:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhO9n-0000If-Rw
	for classpath@gnu.org; Mon, 05 Jul 2004 03:44:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1BhO9n-0000Ib-IZ; Mon, 05 Jul 2004 03:44:55 -0400
Received: from [212.74.117.6] (helo=dinopsis.arachsys.net)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BhO7d-0001Dt-Km; Mon, 05 Jul 2004 03:42:41 -0400
Received: from dog by dinopsis.arachsys.net with local (Exim 3.35 #1)
	id 1BhO7a-0005mD-00; Mon, 05 Jul 2004 08:42:38 +0100
Date: Mon, 5 Jul 2004 08:42:38 +0100
From: Chris Burdess <dog@bluezoo.org>
To: classpath@gnu.org
Message-ID: <20040705074238.GA9690@bluezoo.org>
Mail-Followup-To: classpath@gnu.org, classpathx-discuss@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: classpathx-discuss@gnu.org
Subject: On Java and open source
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 05 Jul 2004 07:45:00 -0000

There's an interesting article on LinuxWorld at the moment:

  http://www.linuxworld.com/story/45489.htm

Note that the issue is very much "open source" and not at all "free" in
this discussion.
-- 
Chris Burdess



From MAILER-DAEMON Mon Jul 05 08:17:56 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhSPz-0002di-KU
	for mharc-classpath@gnu.org; Mon, 05 Jul 2004 08:17:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhSPv-0002Zi-93
	for classpath@gnu.org; Mon, 05 Jul 2004 08:17:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhSLl-0008HP-GU
	for classpath@gnu.org; Mon, 05 Jul 2004 08:13:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhSJD-0006qi-VM
	for classpath@gnu.org; Mon, 05 Jul 2004 08:10:56 -0400
Received: from [64.233.170.199] (helo=mproxy.gmail.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BhSH5-00046G-Qo
	for classpath@gnu.org; Mon, 05 Jul 2004 08:08:44 -0400
Received: by mproxy.gmail.com with SMTP id 55so73021rni
	for <classpath@gnu.org>; Mon, 05 Jul 2004 05:08:26 -0700 (PDT)
Received: by 10.38.206.1 with SMTP id d1mr279525rng;
	Mon, 05 Jul 2004 05:08:26 -0700 (PDT)
Message-ID: <d58509a804070505086d83dc04@mail.gmail.com>
Date: Mon, 5 Jul 2004 13:08:26 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1088944538.24713.93.camel@localhost>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_79_765604.1089029306593"
References: <788B535AB1F9CB49BB9C229372B50ACC10CD86@LEMBU.sumatrasoftware.com>
	<1088853277.29403.293.camel@localhost>
	<1088944538.24713.93.camel@localhost>
Cc: classpath@gnu.org
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Jul 2004 12:17:54 -0000

------=_Part_79_765604.1089029306593
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

On Sun, 04 Jul 2004 14:35:38 +0200, Mark Wielaard <mark@klomp.org> wrote:
 
> Found the bug in jamvm. This happens when the interface method
> in question is one of the Object methods hashCode(), equals(),
> toString(), etc. and (re)defined in one of the super interfaces of the
> interface on which the actual method is called.
> 

It occurs because resolution of the interface method finds it on
Object before it finds it on the super-interface.  I forgot about this
case when implementing interface method tables -- Object isn't an
interface and so isn't contained in the classes' itable (hence
unimplemented interface).

> The attached patch was the quickest way I could think of to work around
> it. Apply against jamvm 1.1.4. Robert will surely yell and scream if
> this is horribly wrong and provide a nice clean solution I am sure :)
> 

OK, I'm yelling :)  Please don't use Mark's patch!

It "fixes" it by stopping resolution finding the method on Object. 
However, it is legal to have an invokeinterface on an Object method
(as all interfaces subclass Object).

Instead, please use the attached patch to the interpreter.  This
converts an invokeinterface on an Object method into an invokevirtual
(which is what 1.4 javac does anyway, but not jikes or 1.3 javac).

> > Then I finally get:
> >
> > java.lang.NoClassDefFoundError: org/eclipse/swt/custom/CTabFolder
> >    at org.eclipse.ui.internal.presentations.PaneFolder.<init>
> > (PaneFolder.java:197)
> >
> > Which doesn't make sense :{
> 
> Correct! It doesn't make sense. Jamvm isn't that good at handling out of
> memory situations and Eclipse demands lots and lots of memory. So apply
> the attached patch to jamvm. Update your GNU Classpath from CVS (it now
> contains all Anthony his URL patches). Follow the rest of the
> instructions above, but now start it with a little bit more memory like:
> 

JamVM's OOM handling is generally very good :)  This strange result
happens because OutOfMemory was thrown during class-loading (loadClass
called on class loader).  I convert it into NoClassDefFoundError
(loadClass throws ClassNotFound).  In this case I should leave it as
OOM.

Anyway, thanks to Mark for highlighting this bug and proving that
JamVM can run Eclipse 3.0!

Rob.

------=_Part_79_765604.1089029306593
Content-Type: text/plain; name="interp.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="interp.patch"

--- interp.c.orig=092004-05-19 12:25:08.000000000 +0100
+++ interp.c=092004-07-05 12:22:56.000000000 +0100
@@ -1311,12 +1311,18 @@
=20
     DEF_OPC(OPC_INVOKEINTERFACE)
         frame->last_pc =3D (unsigned char*)pc;
-        resolveInterfaceMethod(mb->class, CP_DINDEX(pc));
+        new_mb =3D resolveInterfaceMethod(mb->class, CP_DINDEX(pc));
 =20
         if(exceptionOccured0(ee))
             goto throwException;
=20
-        OPCODE_REWRITE(pc, OPC_INVOKEINTERFACE_QUICK);
+        if(CLASS_CB(new_mb->class)->access_flags & ACC_INTERFACE)
+            OPCODE_REWRITE(pc, OPC_INVOKEINTERFACE_QUICK);
+        else {
+            pc[3] =3D pc[4] =3D OPC_NOP;
+            OPCODE_REWRITE(pc, OPC_INVOKEVIRTUAL);
+        }
+
         DISPATCH(pc)
=20
     DEF_OPC(OPC_INVOKEINTERFACE_QUICK)

------=_Part_79_765604.1089029306593--



From MAILER-DAEMON Mon Jul 05 12:10:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhW3K-0008NW-BI
	for mharc-classpath@gnu.org; Mon, 05 Jul 2004 12:10:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhW3I-0008ND-Nt
	for classpath@gnu.org; Mon, 05 Jul 2004 12:10:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhW3H-0008Ml-8h
	for classpath@gnu.org; Mon, 05 Jul 2004 12:10:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhW3G-0008MX-Um
	for classpath@gnu.org; Mon, 05 Jul 2004 12:10:43 -0400
Received: from [212.6.122.105] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhW0z-0003aF-Bi
	for classpath@gnu.org; Mon, 05 Jul 2004 12:08:21 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-168.ewetel.net
	[80.228.93.168])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i65G8ImL008226;
	Mon, 5 Jul 2004 18:08:18 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BhW76-0005IR-00; Mon, 05 Jul 2004 18:14:40 +0200
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>
Date: Mon, 5 Jul 2004 18:10:31 +0200
User-Agent: KMail/1.6.2
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200407051810.32041.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: unused files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 05 Jul 2004 16:10:44 -0000

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

Hi Mark, hi list,


in resources are three patch files:

japhar-0.09.patch.1
orp-1.0.8.patch
orp-1.0.9.patch

Do we still need these ? Or can they be simply removed before the=20
release (together with the appropriate changes to Makefile.am) ?


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

iD8DBQFA6X13WSOgCCdjSDsRAoGuAJ9lvxOotNkbctQFimXTzNSJUI9KMwCdFB+G
P/iufDQoHVLS5xZNvlpfgeI=3D
=3D5VKs
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Mon Jul 05 13:52:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhXdc-0005VG-6s
	for mharc-classpath@gnu.org; Mon, 05 Jul 2004 13:52:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhXdZ-0005Uz-Qw
	for classpath@gnu.org; Mon, 05 Jul 2004 13:52:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhXdY-0005UM-AH
	for classpath@gnu.org; Mon, 05 Jul 2004 13:52:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhXdY-0005UC-6t
	for classpath@gnu.org; Mon, 05 Jul 2004 13:52:16 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BhXbX-000147-K0
	for classpath@gnu.org; Mon, 05 Jul 2004 13:50:11 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by mx20.gnu.org with esmtp (Exim 4.34) id 1BhXE8-0005cK-SS
	for classpath@gnu.org; Mon, 05 Jul 2004 13:26:01 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BhXDk-00065k-00; Mon, 05 Jul 2004 19:25:36 +0200
From: Mark Wielaard <mark@klomp.org>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200407051810.32041.konqueror@gmx.de>
References: <200407051810.32041.konqueror@gmx.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-qE/cm15m71v/tu1X/bcB"
Message-Id: <1089048330.18092.5.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 05 Jul 2004 19:25:30 +0200
Cc: classpath@gnu.org
Subject: Re: unused files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 05 Jul 2004 17:52:18 -0000


--=-qE/cm15m71v/tu1X/bcB
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Mon, 2004-07-05 at 18:10, Michael Koch wrote:
> in resources are three patch files:
>=20
> japhar-0.09.patch.1
> orp-1.0.8.patch
> orp-1.0.9.patch
>=20
> Do we still need these ? Or can they be simply removed before the=20
> release (together with the appropriate changes to Makefile.am) ?

The japhar-0.09.patch.1 is to make GNU Classpath 0.02 work with japhar.
The orp-1.0.9.patch is to make GNU Classpath 0.03 work with orp.
The orp-1.0.8.patch was an interim patch for Orp 1.0.8 between GNU
Classpath 0.02 and 0.03. I haven't tried japhar or orp recently.

If you like you may remove them. But they are very small anyway.

Cheers,

Mark

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

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

iD8DBQBA6Y8KxVhZCJWr9QwRAkEvAJ9yexA7Hcts7CRzzekdFsCpv/0gaQCgpHBd
Xv2QQsOUa2WnIa5P1xRq7o0=
=GfnM
-----END PGP SIGNATURE-----

--=-qE/cm15m71v/tu1X/bcB--




From MAILER-DAEMON Mon Jul 05 14:40:57 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhYOe-00026X-O5
	for mharc-classpath@gnu.org; Mon, 05 Jul 2004 14:40:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhYOc-000259-KV
	for classpath@gnu.org; Mon, 05 Jul 2004 14:40:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhYOb-000240-3D
	for classpath@gnu.org; Mon, 05 Jul 2004 14:40:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhYOa-00023w-VP
	for classpath@gnu.org; Mon, 05 Jul 2004 14:40:53 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BhYMP-0002Lz-JJ
	for classpath@gnu.org; Mon, 05 Jul 2004 14:38:37 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by mx20.gnu.org with esmtp (Exim 4.34) id 1BhYKc-00057w-FT
	for classpath@gnu.org; Mon, 05 Jul 2004 14:36:52 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BhYJj-0006DY-00; Mon, 05 Jul 2004 20:35:51 +0200
From: Mark Wielaard <mark@klomp.org>
To: David P Grove <groved@us.ibm.com>
In-Reply-To: <OFD0CFC27A.2B1FA16E-ON85256EC7.007D37F8-85256EC7.007E341B@us.ibm.com>
References: <OFD0CFC27A.2B1FA16E-ON85256EC7.007D37F8-85256EC7.007E341B@us.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-T0nZm4bul8+E6LqdIHyx"
Message-Id: <1089052544.18083.61.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 05 Jul 2004 20:35:45 +0200
Cc: classpath@gnu.org, jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: Re: classpath-0.10-pre1 available
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 05 Jul 2004 18:40:54 -0000


--=-T0nZm4bul8+E6LqdIHyx
Content-Type: multipart/mixed; boundary="=-vogedD3axn8ZBQWdnl6+"


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

Hi David,

On Mon, 2004-07-05 at 00:58, David P Grove wrote:
> I built Jikes RVM with 0.10-pre1 on Linux/x86 and ran a few trivial
> programs without any problems.  I'm running a more serious regression
> test on Linux/x86 now, but that will take 6-8 hours to finish.
>=20
> Haven't had a chance to try on any of Jikes RVM's other platforms
> (Linux/AIX/OSX PowerPC and 64 bit AIX/Linux PowerPC).

Thanks for testing.

Just looked at your regression mailinglist
http://www-124.ibm.com/pipermail/jikesrvm-regression/
and see that on Tue, 29 Jun 2004 05:42:55 -0400 there is a report about
classpath CVS head regression SUCCEEDED; 0 mauve failures but after that
date there seems to be always either script trouble or one regression
failure in prototype: Failed in SPECjbb2000. Do you know more about what
caused that?

I now have a working rvm (CVS) + GNU Classpath 0.10-pre1 prototype build
working my self and it looks OKish. But not perfect.

The good thing is that it indeed just works out of the box with a GNU
Classpath build (just point it to the install dir and off you go!).

The Mauve results look good. But there seem to be some trouble with
serialization (reflection?) and networking. This is not new however (I
compared the result with mauve results that I made back in April.)

None of the AWT test work however. I will try to get Steve his patch in
if it doesn't break any other compiler/runtime. Since the rest works out
of the box and John Leuner created a classpath-common package for Debian
that is used by jikes, kissme and jamvm now already it would be nice to
share this work with the Jikes RVM project. Especially since Steven
Augart worked so hard on both the portable-native-sync patch and the
Debian packages.

What also doesn't work is eclipse, neither 3.0 nor 2.1.2. I know 2.1.2
used to work in the past. The attached stacktrace indicates that there
is something wrong with the JNI Get_JavaVM() method. If that is the case
then the GTK+ AWT peers will also not work since the JNI threading
support depends on it.

For people that want to play with jikes rvm and GNU Classpath 0.10
themselves you need to follow the manual closely:
http://www-124.ibm.com/developerworks/oss/jikesrvm/userguide/HTML/Bootstrap=
ping_with_Kaffe.html

You need precisely the tools listed there. The jikes (byte code
compiler) and kaffe (bootstrapping runtime) in Debian testing/unstable
won't work. You will need the 1.1.9 and 1.1.4 versions.
ftp://www-126.ibm.com/pub/jikes/1.19/jikes-1.19.tar.bz2
ftp://ftp.kaffe.org/pub/kaffe/v1.1.x-development/kaffe-1.1.4.tar.gz
With those and the attached i686-pc-linux-gnu.kaffe.mjw config file you
should be able to at least build a prototype build when you comment out
the following line in i686-pc-linux-gnu.kaffe
# export RVM_FOR_SINGLE_VIRTUAL_PROCESSOR=3D0
The glibc that comes with Debian testing/unstable doesn't support this
setting. You can just use the same installed GNU Classpath 0.10 (pre)
which you use with jikes, jamvm or kissme normally.

Cheers,

Mark

--=-vogedD3axn8ZBQWdnl6+
Content-Disposition: inline; filename=stacktrace.rvm.eclipse
Content-Type: application/x-gmc-link; name=stacktrace.rvm.eclipse
Content-Transfer-Encoding: base64

Qm9vdCBVUkw6IGZpbGU6L3RtcC9lY2xpcHNlMi9lY2xpcHNlL3BsdWdpbnMvb3JnLmVjbGlwc2Uu
Y29yZS5ib290XzIuMS4yL2Jvb3QuamFyClN0YXJ0dXA6IHNwbGFzaCBwYXRoID0gL3RtcC9lY2xp
cHNlMi9lY2xpcHNlLy4vcGx1Z2lucy8vb3JnLmVjbGlwc2UucGxhdGZvcm1fMi4xLjIvc3BsYXNo
LmJtcApXb3Jrc3BhY2UgbG9jYXRpb246CiAgIC90bXAvZWNsaXBzZTIvZWNsaXBzZS93b3Jrc3Bh
Y2UKRGVidWctT3B0aW9uczoKICAgIGZpbGU6L3RtcC9lY2xpcHNlMi9lY2xpcHNlLy5vcHRpb25z
Ckluc3RhbGwgVVJMOgogICAgZmlsZTovdG1wL2VjbGlwc2UyL2VjbGlwc2UvLi8KMHg0MzAwMDFi
NAp2bSBpbnRlcm5hbCBlcnJvciBhdDoKLS0gU3RhY2sgLS0KICAgTGNvbS9pYm0vSmlrZXNSVk0v
Vk07IHN5c0ZhaWwoTGphdmEvbGFuZy9TdHJpbmc7KVYgYXQgbGluZSA5NDkKICAgTGNvbS9pYm0v
SmlrZXNSVk0vVk07IF9hc3NlcnRpb25GYWlsdXJlKExqYXZhL2xhbmcvU3RyaW5nO0xqYXZhL2xh
bmcvU3RyaW5nOylWIGF0IGxpbmUgNDY2CiAgIExjb20vaWJtL0ppa2VzUlZNL1ZNOyBfYXNzZXJ0
KFpMamF2YS9sYW5nL1N0cmluZztMamF2YS9sYW5nL1N0cmluZzspViBhdCBsaW5lIDQ0NgogICBM
Y29tL2libS9KaWtlc1JWTS9WTTsgX2Fzc2VydChaKVYgYXQgbGluZSA0MjYKICAgTGNvbS9pYm0v
SmlrZXNSVk0vVk1fQ29tcGlsZWRNZXRob2RzOyBnZXRDb21waWxlZE1ldGhvZChJKUxjb20vaWJt
L0ppa2VzUlZNL1ZNX0NvbXBpbGVkTWV0aG9kOyBhdCBsaW5lIDY5CiAgIExjb20vaWJtL0ppa2Vz
UlZNL1ZNX1J1bnRpbWU7IGRlbGl2ZXJFeGNlcHRpb24oTGphdmEvbGFuZy9UaHJvd2FibGU7TGNv
bS9pYm0vSmlrZXNSVk0vVk1fUmVnaXN0ZXJzOylWIGF0IGxpbmUgODMzCiAgIExjb20vaWJtL0pp
a2VzUlZNL1ZNX1J1bnRpbWU7IGF0aHJvdyhMamF2YS9sYW5nL1Rocm93YWJsZTspViBhdCBsaW5l
IDU2NgogICBMY29tL2libS9KaWtlc1JWTS9WTV9EeW5hbWljTGlua2VyOyB1bmltcGxlbWVudGVk
TmF0aXZlTWV0aG9kKClWIGF0IGxpbmUgNDEKICAgTGNvbS9pYm0vSmlrZXNSVk0vam5pL1ZNX0pO
SUZ1bmN0aW9uczsgR2V0SmF2YVZNKExjb20vaWJtL0ppa2VzUlZNL2puaS9WTV9KTklFbnZpcm9u
bWVudDtMY29tL2libS9KaWtlc1JWTS9WTV9BZGRyZXNzOylJIGF0IGxpbmUgNTM5NQogICA8bmF0
aXZlIGZyYW1lPgogICBMb3JnL2VjbGlwc2Uvc3d0L2ludGVybmFsL0NhbGxiYWNrOyBiaW5kKExv
cmcvZWNsaXBzZS9zd3QvaW50ZXJuYWwvQ2FsbGJhY2s7KUkgYXQgbGluZSAwCiAgIExvcmcvZWNs
aXBzZS9zd3QvaW50ZXJuYWwvQ2FsbGJhY2s7IDxpbml0PihMamF2YS9sYW5nL09iamVjdDtMamF2
YS9sYW5nL1N0cmluZztJWilWIGF0IGxpbmUgOTQKICAgTG9yZy9lY2xpcHNlL3N3dC9pbnRlcm5h
bC9DYWxsYmFjazsgPGluaXQ+KExqYXZhL2xhbmcvT2JqZWN0O0xqYXZhL2xhbmcvU3RyaW5nO0kp
ViBhdCBsaW5lIDUwCiAgIExvcmcvZWNsaXBzZS9zd3Qvd2lkZ2V0cy9EaXNwbGF5OyBjcmVhdGVE
aXNwbGF5KExvcmcvZWNsaXBzZS9zd3QvZ3JhcGhpY3MvRGV2aWNlRGF0YTspViBhdCBsaW5lIDUw
MgogICBMb3JnL2VjbGlwc2Uvc3d0L3dpZGdldHMvRGlzcGxheTsgY3JlYXRlKExvcmcvZWNsaXBz
ZS9zd3QvZ3JhcGhpY3MvRGV2aWNlRGF0YTspViBhdCBsaW5lIDQ2OQogICBMb3JnL2VjbGlwc2Uv
c3d0L2dyYXBoaWNzL0RldmljZTsgPGluaXQ+KExvcmcvZWNsaXBzZS9zd3QvZ3JhcGhpY3MvRGV2
aWNlRGF0YTspViBhdCBsaW5lIDExMQogICBMb3JnL2VjbGlwc2Uvc3d0L3dpZGdldHMvRGlzcGxh
eTsgPGluaXQ+KExvcmcvZWNsaXBzZS9zd3QvZ3JhcGhpY3MvRGV2aWNlRGF0YTspViBhdCBsaW5l
IDMwMwogICBMb3JnL2VjbGlwc2Uvc3d0L3dpZGdldHMvRGlzcGxheTsgPGluaXQ+KClWIGF0IGxp
bmUgMjk5CiAgIExvcmcvZWNsaXBzZS91aS9pbnRlcm5hbC9Xb3JrYmVuY2g7IHJ1bihMamF2YS9s
YW5nL09iamVjdDspTGphdmEvbGFuZy9PYmplY3Q7IGF0IGxpbmUgMTM2MQogICBMb3JnL2VjbGlw
c2UvY29yZS9pbnRlcm5hbC9ib290L0ludGVybmFsQm9vdExvYWRlcjsgcnVuKExqYXZhL2xhbmcv
U3RyaW5nO0xqYXZhL25ldC9VUkw7TGphdmEvbGFuZy9TdHJpbmc7W0xqYXZhL2xhbmcvU3RyaW5n
O0xqYXZhL2xhbmcvUnVubmFibGU7KUxqYXZhL2xhbmcvT2JqZWN0OyBhdCBsaW5lIDg1OAogICBM
b3JnL2VjbGlwc2UvY29yZS9ib290L0Jvb3RMb2FkZXI7IHJ1bihMamF2YS9sYW5nL1N0cmluZztM
amF2YS9uZXQvVVJMO0xqYXZhL2xhbmcvU3RyaW5nO1tMamF2YS9sYW5nL1N0cmluZztMamF2YS9s
YW5nL1J1bm5hYmxlOylMamF2YS9sYW5nL09iamVjdDsgYXQgbGluZSA0NjEKICAgPGludmlzaWJs
ZSBtZXRob2Q+CiAgIExjb20vaWJtL0ppa2VzUlZNL1ZNX1JlZmxlY3Rpb247IGludm9rZShMY29t
L2libS9KaWtlc1JWTS9jbGFzc2xvYWRlci9WTV9NZXRob2Q7TGphdmEvbGFuZy9PYmplY3Q7W0xq
YXZhL2xhbmcvT2JqZWN0O1opTGphdmEvbGFuZy9PYmplY3Q7IGF0IGxpbmUgMTExCiAgIExjb20v
aWJtL0ppa2VzUlZNL1ZNX1JlZmxlY3Rpb247IGludm9rZShMY29tL2libS9KaWtlc1JWTS9jbGFz
c2xvYWRlci9WTV9NZXRob2Q7TGphdmEvbGFuZy9PYmplY3Q7W0xqYXZhL2xhbmcvT2JqZWN0OylM
amF2YS9sYW5nL09iamVjdDsgYXQgbGluZSAyOQogICBMamF2YS9sYW5nL3JlZmxlY3QvTWV0aG9k
OyBpbnZva2UoTGphdmEvbGFuZy9PYmplY3Q7W0xqYXZhL2xhbmcvT2JqZWN0OylMamF2YS9sYW5n
L09iamVjdDsgYXQgbGluZSAxMzIKICAgTG9yZy9lY2xpcHNlL2NvcmUvbGF1bmNoZXIvTWFpbjsg
YmFzaWNSdW4oW0xqYXZhL2xhbmcvU3RyaW5nOylMamF2YS9sYW5nL09iamVjdDsgYXQgbGluZSAy
OTEKICAgTG9yZy9lY2xpcHNlL2NvcmUvbGF1bmNoZXIvTWFpbjsgcnVuKFtMamF2YS9sYW5nL1N0
cmluZzspTGphdmEvbGFuZy9PYmplY3Q7IGF0IGxpbmUgNzQ3CiAgIExvcmcvZWNsaXBzZS9jb3Jl
L2xhdW5jaGVyL01haW47IG1haW4oW0xqYXZhL2xhbmcvU3RyaW5nOylWIGF0IGxpbmUgNTgzCiAg
IExjb20vaWJtL0ppa2VzUlZNL01haW5UaHJlYWQ7IHJ1bigpViBhdCBsaW5lIDEwMgogICBMY29t
L2libS9KaWtlc1JWTS9WTV9UaHJlYWQ7IHN0YXJ0b2ZmKClWIGF0IGxpbmUgNzc5Ckppa2VzUlZN
OiBleGl0IDEyNAo=

--=-vogedD3axn8ZBQWdnl6+
Content-Disposition: inline; filename=i686-pc-linux-gnu.kaffe.mjw
Content-Type: application/x-shellscript; name=i686-pc-linux-gnu.kaffe.mjw
Content-Transfer-Encoding: base64

IyEgL2Jpbi9iYXNoCgpleHBvcnQgQ0xBU1NQQVRIX0lOU1RBTExBVElPTj0vdXNyL2xvY2FsL2Ns
YXNzcGF0aApleHBvcnQgRkFTVEpBUj1mYXN0amFyCmV4cG9ydCBKSUtFUz0vdXNyL2xvY2FsL2pp
a2VzL2Jpbi9qaWtlcwpleHBvcnQgS0FGRkVfSE9NRT0vdXNyL2xvY2FsL2thZmZlCgpleHBvcnQg
UlZNX0ZPUl9TSU5HTEVfVklSVFVBTF9QUk9DRVNTT1I9MQoKLiAkUlZNX1JPT1QvcnZtL2NvbmZp
Zy9pNjg2LXBjLWxpbnV4LWdudS5rYWZmZQo=

--=-vogedD3axn8ZBQWdnl6+--

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

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

iD8DBQBA6Z+AxVhZCJWr9QwRAlIzAJ9i5k6uzdexBkz2Q6Ngk9oR36zgngCdEgA6
30pcIHNrk6z61fde+ux7DF0=
=1XcX
-----END PGP SIGNATURE-----

--=-T0nZm4bul8+E6LqdIHyx--




From MAILER-DAEMON Mon Jul 05 15:46:14 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhZPp-0004wy-Tl
	for mharc-classpath@gnu.org; Mon, 05 Jul 2004 15:46:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhZPo-0004wW-DY
	for classpath@gnu.org; Mon, 05 Jul 2004 15:46:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhZPm-0004vm-TC
	for classpath@gnu.org; Mon, 05 Jul 2004 15:46:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1BhZPm-0004vj-QS; Mon, 05 Jul 2004 15:46:10 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BhZNV-0006pM-HS; Mon, 05 Jul 2004 15:43:49 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BhZN6-0006MS-00; Mon, 05 Jul 2004 21:43:24 +0200
From: Mark Wielaard <mark@klomp.org>
To: Chris Burdess <dog@bluezoo.org>
In-Reply-To: <20040705074238.GA9690@bluezoo.org>
References: <20040705074238.GA9690@bluezoo.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-/Ii/J+UZv3WLFXsIW2Gv"
Message-Id: <1089056598.18096.102.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 05 Jul 2004 21:43:18 +0200
Cc: classpathx-discuss@gnu.org, classpath@gnu.org
Subject: Re: On Java and open source
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 05 Jul 2004 19:46:12 -0000


--=-/Ii/J+UZv3WLFXsIW2Gv
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Mon, 2004-07-05 at 09:42, Chris Burdess wrote:
> There's an interesting article on LinuxWorld at the moment:
>=20
>   http://www.linuxworld.com/story/45489.htm
>=20
> Note that the issue is very much "open source" and not at all "free" in
> this discussion.

Yeah, I am more and more convinced that the whole "Open Source"
marketing and "re-branding" of Free Software was a big mistake.

Here is a report of the event by Anthony Green:
http://spindazzle.org/open/javaone-openjava.txt

And another by Brian Behlendorf:
http://crynwr.com/cgi-bin/ezmlm-cgi?3:mss:8442:jofgjhnhdmjcodplfbnf

It was kind of strange that on the one hand Sun was full of praise for
OVM (distributed under the GPL and build with GNU Classpath!) but on the
other hand they claimed that Free Software (or open source as he calls
it) doesn't lead to more freedom and innovation...

Also there was a lot of talk about compatibility but after months and
months of waiting the kaffe team still hasn't heard back about getting a
TCK to test kaffe against.

Cheers,

Mark

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

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

iD8DBQBA6a9WxVhZCJWr9QwRAo6IAJ9JB+SF5MJKY4ezxJJ+AL9bDC5BkACdFAhA
ORdQRF2EWyzpOd5t3cGZxPg=
=CcOz
-----END PGP SIGNATURE-----

--=-/Ii/J+UZv3WLFXsIW2Gv--




From MAILER-DAEMON Mon Jul 05 17:40:50 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhbCk-0006ti-Jz
	for mharc-classpath@gnu.org; Mon, 05 Jul 2004 17:40:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhbCh-0006sU-Lq
	for classpath@gnu.org; Mon, 05 Jul 2004 17:40:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhbCg-0006re-1S
	for classpath@gnu.org; Mon, 05 Jul 2004 17:40:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1BhbCd-0006qx-LF; Mon, 05 Jul 2004 17:40:43 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BhbAO-00036q-0E; Mon, 05 Jul 2004 17:38:24 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i65LaBAI084933;
	Tue, 6 Jul 2004 07:36:12 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Mark Wielaard" <mark@klomp.org>, "Chris Burdess" <dog@bluezoo.org>
Date: Tue, 6 Jul 2004 07:36:11 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMEMPEFAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
In-Reply-To: <1089056598.18096.102.camel@localhost>
Importance: Normal
Cc: classpath@gnu.org, classpathx-discuss@gnu.org
Subject: RE: On Java and open source
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 05 Jul 2004 21:40:49 -0000

> It was kind of strange that on the one hand Sun was full of praise for
> OVM (distributed under the GPL and build with GNU Classpath!) but on the
> other hand they claimed that Free Software (or open source as he calls
> it) doesn't lead to more freedom and innovation...

Sun wasn't "full of praise". OVM was mentioned by Greg Bollella as an
example of an independent implementation of the RTSJ and how academia was
looking at issues within the RTSJ. Nothing more, nothing less.

David Holmes




From MAILER-DAEMON Mon Jul 05 19:06:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhcXU-0007EL-7S
	for mharc-classpath@gnu.org; Mon, 05 Jul 2004 19:06:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhcXP-0007Cw-AU
	for classpath@gnu.org; Mon, 05 Jul 2004 19:06:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhcXN-0007CS-9g
	for classpath@gnu.org; Mon, 05 Jul 2004 19:06:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhcXN-0007CP-3x
	for classpath@gnu.org; Mon, 05 Jul 2004 19:06:13 -0400
Received: from [130.88.13.7] (helo=curlew.cs.man.ac.uk)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BhcV9-00011I-52
	for classpath@gnu.org; Mon, 05 Jul 2004 19:03:55 -0400
Received: from cspool129.cs.man.ac.uk ([130.88.195.49] helo=DavidChen)
	by curlew.cs.man.ac.uk with esmtp (Exim 4.20) id 1BhcV7-000Lx9-59
	for classpath@gnu.org; Tue, 06 Jul 2004 00:03:53 +0100
From: "Ming Chen" <chenm@cs.man.ac.uk>
To: <classpath@gnu.org>
Date: Tue, 6 Jul 2004 00:05:29 +0100
Message-ID: <HLEBJDLEFEKDCJFKLDCEOEKCECAA.chenm@cs.man.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/)
	*1BhcV7-000Lx9-59*u/GGt5xmpZQ*
Subject: How to seperate the compilation of C source code and Java source
	code of CLASSPATH?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: chenm@cs.man.ac.uk
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 05 Jul 2004 23:06:16 -0000

Hi,

I have some problem to compile the CLASSPATH in Debian Linux/ Xscale, it
used up the memory (3G).

So I planned to compile the C code in my Debian Linux/ Xscale. And compile
the other Java code in the other Linux/ Intel machine.

Could you have some idea how to compile the C and Java code on different
machines and add the binary code and class code together?

Does it work?

Yours Ming




From MAILER-DAEMON Tue Jul 06 03:24:21 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhkJQ-0006ib-Sz
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 03:24:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhkJP-0006hH-Lo
	for classpath@gnu.org; Tue, 06 Jul 2004 03:24:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhkJO-0006gK-Sy
	for classpath@gnu.org; Tue, 06 Jul 2004 03:24:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1BhkJM-0006eZ-Nm; Tue, 06 Jul 2004 03:24:16 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BhkHJ-00066n-A3; Tue, 06 Jul 2004 03:22:09 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BhkGS-0007qV-00; Tue, 06 Jul 2004 09:21:16 +0200
From: Mark Wielaard <mark@klomp.org>
To: David Holmes <dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCMEMPEFAA.dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCMEMPEFAA.dholmes@dltech.com.au>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-mOd5xLZQObVNjwRow4kT"
Message-Id: <1089098469.18083.150.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 06 Jul 2004 09:21:09 +0200
Cc: classpathx-discuss@gnu.org, classpath@gnu.org
Subject: RE: On Java and open source
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 06 Jul 2004 07:24:19 -0000


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

Hi,

On Mon, 2004-07-05 at 23:36, David Holmes wrote:
> Sun wasn't "full of praise". OVM was mentioned by Greg Bollella as an
> example of an independent implementation of the RTSJ and how academia was
> looking at issues within the RTSJ. Nothing more, nothing less.

I wasn't there, but I read about this keynote of Gosling in a couple of
places and OVM and the impact it has on research in real time issue was
always mentioned. Lets just say at least I am full of praise :)

Maybe the negative feeling I got from the "Big Debate" was also
amplified by not being there. I guess I always get a bit annoyed when I
hear Gosling ("The Father of the GPL" *) being negative on Free Software
and trying to pass off Sun distributing a proprietary implementation of
java to one distributed under the GPL "just with a different catch".
Instead of promoting sharing and freedom it inhibits sharing and the
freedom of users. That is indeed a different catch...

But maybe all this talk about compatibility will at least lead to the
Kaffe team finally getting access to the TCK on reasonable terms. And
after the release (waiting for some feedback from the Jikes RVM hackers)
we should try to explain the JCP pitfalls again now that there is an
explicit invitation of "joining". I sometimes just need to be convinced
that Sun is sincere in these dialogs.

Cheers,

Mark

*) http://www.free-soft.org/gpl_history/

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

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

iD8DBQBA6lLlxVhZCJWr9QwRAp+PAKCRYlVuxrDSAduXjdLkYi0lIVu3UQCeP49v
E7sBP/vmlzpB5r687oys9LQ=
=hgcd
-----END PGP SIGNATURE-----

--=-mOd5xLZQObVNjwRow4kT--




From MAILER-DAEMON Tue Jul 06 04:49:22 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bhldi-0006sx-PL
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 04:49:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bhldg-0006qq-Q7
	for classpath@gnu.org; Tue, 06 Jul 2004 04:49:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bhldd-0006oP-0H
	for classpath@gnu.org; Tue, 06 Jul 2004 04:49:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bhldc-0006oF-R1
	for classpath@gnu.org; Tue, 06 Jul 2004 04:49:16 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1Bhlad-0003yd-KX
	for classpath@gnu.org; Tue, 06 Jul 2004 04:46:11 -0400
Received: from 1cust15.vr1.dtm1.alter.net ([149.229.96.15]
	helo=moonlight.localdomain)
	by box84.elkhouse.de with asmtp (Exim 4.32) id 1BhlXe-0007mb-Td
	for classpath@gnu.org; Tue, 06 Jul 2004 10:43:07 +0200
Received: from localhost.uu.net ([127.0.0.1] ident=roman)
	by moonlight.localdomain with esmtp (Exim 4.32) id 1BhlaI-0000e8-NW
	for classpath@gnu.org; Tue, 06 Jul 2004 10:45:50 +0200
From: Roman Kennke <roman@ontographics.com>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-JLLlvemE919k0ZHadQrI"
Message-Id: <1089103550.1160.10.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 06 Jul 2004 10:45:50 +0200
Subject: Emacs supporting GNU style for Classpath hacking
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 06 Jul 2004 08:49:20 -0000


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

Hi list,

Together with Michael I have put together an emacs configuration hook,
which enables GNU style auto-completion in Emacs with JDEE.

In order to make this work, you have to have JDEE installed:

http://jdee.sunsite.sk

XEmacs includes JDEE by default.

include the following snipped directly in ~/.emacs or ~/.xemacs/init.el
or load it from an external file with something like this inside
~/.emacs or ~/.xemacs/init.el:

(load "~/.xemacs/javagnustyle.el")


With this configuration, emacs automatically expands abbreviations. If
you type 'ife ' this will be expanded to:
if ()
  {
  }
else
  {
  }

Please see
http://jdee.sunsite.dk/jdedoc/html/jde-ug/jde-ug-content.html#Abbrevs
for details on more abbreviations

If this works out right, maybe we should include this in the GNU
Classpath hackers guide.

Cheers, Roman


;;; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
;;; GNU style auto-completion for JDEE and Emacs
;;; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(defconst my-style
  ; newline BEFORE braces
  '((c-hanging-braces-alist '((block-open before after)
                             (brace-list-open)))
  ;; TAB inserts 2 spaces
    (c-basic-offset . 2)
    )
  )
(defun my-jde-mode-hook ()
; auto-newline mode on
  (setq c-auto-newline t)
; indent spaces instead of tabs
  (setq-default indent-tabs-mode nil)
; GNU style braces placement in templates
  (setq-default jde-gen-k&r nil)
; supress generate comments
  (setq-default jde-gen-comments nil)
; enable abbreviation mode
  (jde-abbrev-mode)
  (c-add-style "user" my-style t)
  (c-set-style "user")
  )
(add-hook 'jde-mode-hook 'my-jde-mode-hook)




--=-JLLlvemE919k0ZHadQrI
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA6ma93sO1VIw8IDoRAkIKAJ9fqBR3DR1svr50QPhKdfXCCpnLXgCeN0iS
oLarXcbap8WO46yk9tDK8ww=
=kf49
-----END PGP SIGNATURE-----

--=-JLLlvemE919k0ZHadQrI--




From MAILER-DAEMON Tue Jul 06 06:28:21 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhnBV-0000Au-8L
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 06:28:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhnBU-0000Ak-06
	for classpath@gnu.org; Tue, 06 Jul 2004 06:28:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhnBS-0000AM-Ah
	for classpath@gnu.org; Tue, 06 Jul 2004 06:28:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhnBS-0000AJ-8q
	for classpath@gnu.org; Tue, 06 Jul 2004 06:28:18 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bhn9H-0005CU-Hl
	for classpath@gnu.org; Tue, 06 Jul 2004 06:26:03 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1Bhn9F-0002Fj-00
	for <classpath@gnu.org>; Tue, 06 Jul 2004 12:26:01 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1Bhn9D-0002Fa-00; Tue, 06 Jul 2004 12:25:59 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i66APuh7015534;
	Tue, 6 Jul 2004 12:25:57 +0200 (MEST)
Message-ID: <40EA7E34.8090807@kaffe.org>
Date: Tue, 06 Jul 2004 12:25:56 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <NFBBKALFDCPFIDBNKAPCMEMPEFAA.dholmes@dltech.com.au>
	<1089098469.18083.150.camel@localhost>
In-Reply-To: <1089098469.18083.150.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpathx-discuss@gnu.org, classpath@gnu.org
Subject: Re: [Classpathx-discuss] RE: On Java and open source
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 06 Jul 2004 10:28:20 -0000

Mark Wielaard wrote:
> Hi,

> But maybe all this talk about compatibility will at least lead to the
> Kaffe team finally getting access to the TCK on reasonable terms. And
> after the release (waiting for some feedback from the Jikes RVM hackers)
> we should try to explain the JCP pitfalls again now that there is an
> explicit invitation of "joining". I sometimes just need to be convinced
> that Sun is sincere in these dialogs.

I'll ask the JDK 1.5 (or is that 5.0 now? :) JSR spec lead again about 
what terms the TCK will actually fall under. The JSR says that they want 
to detangle it from the runtime code [1], but it lacks any details.

I figured that writing to people at Sun during JavaOne is lost time, 
from my experience of replying to  Simon Phipps' e-mails before he went 
to FISL. Haven't got a reply on these yet, either. :) So, I'll let 
everyone at Sun cool down after the conference, wade through their spam, 
and bring up the 'so what are the new TCK licensing conditions going to 
be like' question again end of the week.

cheers,
dalibor topic

[1] No idea why someone would tie a conformance testing kit to a 
particular implementation. I belive I read somewhere that Sun's verifier 
code was lurking deep in the TCK, among other things.



From MAILER-DAEMON Tue Jul 06 06:30:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhnDQ-0000ur-JA
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 06:30:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhnDP-0000uL-PY
	for classpath@gnu.org; Tue, 06 Jul 2004 06:30:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhnDO-0000tY-6W
	for classpath@gnu.org; Tue, 06 Jul 2004 06:30:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhnDO-0000tV-1f
	for classpath@gnu.org; Tue, 06 Jul 2004 06:30:18 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhnBA-0005XK-5E
	for classpath@gnu.org; Tue, 06 Jul 2004 06:28:00 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1Bhmos-0007Vb-00
	for <classpath@gnu.org>; Tue, 06 Jul 2004 12:04:58 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1Bhmoq-0007VT-00; Tue, 06 Jul 2004 12:04:56 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i66A4uh7002265;
	Tue, 6 Jul 2004 12:04:56 +0200 (MEST)
Message-ID: <40EA7947.2090509@kaffe.org>
Date: Tue, 06 Jul 2004 12:04:55 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: chenm@cs.man.ac.uk
References: <HLEBJDLEFEKDCJFKLDCEOEKCECAA.chenm@cs.man.ac.uk>
In-Reply-To: <HLEBJDLEFEKDCJFKLDCEOEKCECAA.chenm@cs.man.ac.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org
Subject: Re: How to seperate the compilation of C source code and Java source
 code of CLASSPATH?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 10:30:20 -0000

Ming Chen wrote:
> Hi,
> 
> I have some problem to compile the CLASSPATH in Debian Linux/ Xscale, it
> used up the memory (3G).

Let me guess ... jikes? Known bug in jikes. Avoid using it to compile
classpath on arm-linux. Use another compiler.

cheers,
dalibor topic



From MAILER-DAEMON Tue Jul 06 06:48:58 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhnVR-0007l5-OS
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 06:48:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhnVQ-0007kg-H2
	for classpath@gnu.org; Tue, 06 Jul 2004 06:48:56 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhnVO-0007jy-Lo
	for classpath@gnu.org; Tue, 06 Jul 2004 06:48:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhnVO-0007jh-IB
	for classpath@gnu.org; Tue, 06 Jul 2004 06:48:54 -0400
Received: from [64.233.170.192] (helo=mproxy.gmail.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BhnT2-0008Q1-85
	for classpath@gnu.org; Tue, 06 Jul 2004 06:46:28 -0400
Received: by mproxy.gmail.com with SMTP id 62so86143rni
	for <classpath@gnu.org>; Tue, 06 Jul 2004 03:46:15 -0700 (PDT)
Received: by 10.38.81.59 with SMTP id e59mr7460rnb;
	Tue, 06 Jul 2004 03:39:35 -0700 (PDT)
Message-ID: <d58509a804070603391cdc3f63@mail.gmail.com>
Date: Tue, 6 Jul 2004 11:39:35 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: Dalibor Topic <robilad@kaffe.org>
In-Reply-To: <40EA7947.2090509@kaffe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <HLEBJDLEFEKDCJFKLDCEOEKCECAA.chenm@cs.man.ac.uk>
	<40EA7947.2090509@kaffe.org>
Cc: classpath@gnu.org
Subject: Re: Re: How to seperate the compilation of C source code and Java
	source code of CLASSPATH?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 10:48:56 -0000

Hi,

Yes, I found that problem with jikes on arm-linux.  If I remember
(over a year ago now) it gobbled up the memory when compiling classes
that used doubles, etc. (java.lang.Double).  I found if you copied
over the class files for these so it didn't try to compile them you
could get it to work.  It's not many.

Rob.

On Tue, 06 Jul 2004 12:04:55 +0200, Dalibor Topic <robilad@kaffe.org> wrote:
> Ming Chen wrote:
> > Hi,
> >
> > I have some problem to compile the CLASSPATH in Debian Linux/ Xscale, it
> > used up the memory (3G).
> 
> Let me guess ... jikes? Known bug in jikes. Avoid using it to compile
> classpath on arm-linux. Use another compiler.
> 
> cheers,
> dalibor topic
> 
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
>



From MAILER-DAEMON Tue Jul 06 08:30:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bhp5p-0004uE-RN
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 08:30:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bhp5o-0004t7-5x
	for classpath@gnu.org; Tue, 06 Jul 2004 08:30:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bhp5j-0004qV-6k
	for classpath@gnu.org; Tue, 06 Jul 2004 08:30:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bhp5j-0004q6-0g
	for classpath@gnu.org; Tue, 06 Jul 2004 08:30:31 -0400
Received: from [204.127.202.56] (helo=sccrmhc12.comcast.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bhp3N-0003Mw-OH
	for classpath@gnu.org; Tue, 06 Jul 2004 08:28:06 -0400
Received: from [192.168.0.100]
	(c-24-10-254-137.client.comcast.net[24.10.254.137])
	by comcast.net (sccrmhc12) with ESMTP id <2004070612275401200t7qvue>
	(Authid: ericblake); Tue, 6 Jul 2004 12:27:54 +0000
Message-ID: <40EA9AC8.3090400@byu.net>
Date: Tue, 06 Jul 2004 06:27:52 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.8a2) Gecko/20040607
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Robert Lougher <rob.lougher@gmail.com>
References: <788B535AB1F9CB49BB9C229372B50ACC10CD86@LEMBU.sumatrasoftware.com>
	<1088853277.29403.293.camel@localhost>
	<1088944538.24713.93.camel@localhost>
	<d58509a804070505086d83dc04@mail.gmail.com>
In-Reply-To: <d58509a804070505086d83dc04@mail.gmail.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 12:30:36 -0000

Robert Lougher wrote:
> OK, I'm yelling :)  Please don't use Mark's patch!
> 
> It "fixes" it by stopping resolution finding the method on Object. 
> However, it is legal to have an invokeinterface on an Object method
> (as all interfaces subclass Object).
> 
> Instead, please use the attached patch to the interpreter.  This
> converts an invokeinterface on an Object method into an invokevirtual
> (which is what 1.4 javac does anyway, but not jikes or 1.3 javac).

The JVMS is clear that invokeinterface is only to be used on interface 
methods.  JLS 13.1 also states that a method call of something that (also) 
exists in Object is converted into a method call directly on Object if and 
only if the method was not redeclared along the type hierarchy of the type of 
the method call's qualifying expression.  All versions of javac to date are 
buggy in some regard on this matter, but the latest jikes is emitting correct 
code.  So, a correct compiler produces:

class A {
   public String toString() { return ""; }
}
interface B {
   int hashCode();
}
class C extends A implements B {
   public boolean equals(Object o) { return false; }
   {
     toString(); // invokevirtual C.toString; javac 1.3 is wrong
     ((A) this).toString(); // invokevirtual A.toString
     ((B) this).toString(); // invokevirtual Object.toString
     hashCode(); // invokevirtual Object.hashCode
     ((A) this).hashCode(); // invokevirtual Object.hashCode
     ((B) this).hashCode(); // invokeinterface B.hashCode; javac 1.4 is wrong
     equals(null); // invokevirtual C.equals
     ((A) this).equals(null); // invokevirtual Object.equals
     ((B) this).equals(null); // invokevirtual Object.equals
   }
}

-- 
Someday, I might put a cute statement here.

Eric Blake             ebb9@byu.net



From MAILER-DAEMON Tue Jul 06 09:08:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bhpge-00021E-8Z
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 09:08:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bhpgd-00020x-E8
	for classpath@gnu.org; Tue, 06 Jul 2004 09:08:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bhpgb-00020e-Su
	for classpath@gnu.org; Tue, 06 Jul 2004 09:08:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bhpgb-00020Z-PT
	for classpath@gnu.org; Tue, 06 Jul 2004 09:08:37 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhpeN-0001tc-VZ
	for classpath@gnu.org; Tue, 06 Jul 2004 09:06:20 -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, 6 Jul 2004 15:06:16 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CDB8@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Eclipse 3.0
Thread-Index: AcRjVTH8nKCCoSmHSvusVPADh37VRQABCzzQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Eric Blake" <ebb9@byu.net>,
	"Robert Lougher" <rob.lougher@gmail.com>
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: RE: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 13:08:39 -0000

Eric Blake wrote:
> Robert Lougher wrote:
> > OK, I'm yelling :)  Please don't use Mark's patch!
> >=20
> > It "fixes" it by stopping resolution finding the method on Object.=20
> > However, it is legal to have an invokeinterface on an Object method
> > (as all interfaces subclass Object).
> >=20
> > Instead, please use the attached patch to the interpreter.  This
> > converts an invokeinterface on an Object method into an=20
> invokevirtual
> > (which is what 1.4 javac does anyway, but not jikes or 1.3 javac).
>=20
> The JVMS is clear that invokeinterface is only to be used on=20
> interface methods.

I think you two are talking about two different things. I think Robert
means that it is legal to use invokeinterface on an Object method
through an interface type. So this is legal:

  invokeinterface java/lang/Runnable/toString()Ljava/lang/String;

Regards,
Jeroen



From MAILER-DAEMON Tue Jul 06 09:34:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bhq5p-0002il-9s
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 09:34:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bhq5n-0002iM-Dz
	for classpath@gnu.org; Tue, 06 Jul 2004 09:34:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bhq5l-0002hy-MS
	for classpath@gnu.org; Tue, 06 Jul 2004 09:34:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bhq5l-0002ho-Fc
	for classpath@gnu.org; Tue, 06 Jul 2004 09:34:37 -0400
Received: from [204.127.198.35] (helo=rwcrmhc11.comcast.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bhq3X-0006bf-KU
	for classpath@gnu.org; Tue, 06 Jul 2004 09:32:19 -0400
Received: from [192.168.0.100]
	(c-24-10-254-137.client.comcast.net[24.10.254.137])
	by comcast.net (rwcrmhc11) with ESMTP id <2004070613321801300jdijve>
	(Authid: ericblake); Tue, 6 Jul 2004 13:32:18 +0000
Message-ID: <40EAA9E1.1080805@byu.net>
Date: Tue, 06 Jul 2004 07:32:17 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.8a2) Gecko/20040607
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <788B535AB1F9CB49BB9C229372B50ACC10CDB8@LEMBU.sumatrasoftware.com>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CDB8@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 13:34:39 -0000

Jeroen Frijters wrote:
> Eric Blake wrote:
> 
> I think you two are talking about two different things. I think Robert
> means that it is legal to use invokeinterface on an Object method
> through an interface type. So this is legal:
> 
>   invokeinterface java/lang/Runnable/toString()Ljava/lang/String;

No, it is the same issue.  The compiler must always allow you to invoke a 
public method from Object from a qualifying type of an interface (since in JLS 
9, interfaces implicitly have all public methods from Object), but the 
compiler's responsibility according to JLS 13.1 is to flatten that to a call 
on Object if and only if the qualifying type does not redeclare (or inherit a 
redeclaration) of the method.  Corallary - since no interface can redeclare a 
final method, a compiler should never produce invokeinterface 
SomeInterface.getClass or any of the other final methods in Object; so this 
issue only affects equals, hashCode, and toString.

class Foo
   {
   void m(Runnable r, java.util.Collection c)
   {
     r.toString(); // compiler must flatten to invokevirtual Object.toString: 
Runnable does not redeclare toString
     c.equals(r); // compiler must emit invokeinterface Collection.equals: 
since Collection redeclares equals
   }
}

However, there are buggy compilers out there that emit invokeinterface 
Runnable.toString(), even though Runnable does not redeclare toString; and a 
robust JVM implementation will be prepared to deal with this situation.

This is a binary compatibility issue - in other words, it is possible to 
expose javac 1.4's bug by using inconsistent .class files to show whether a 
class was compiled with a call invokevirtual Object.toString or 
invokeinterface SomeInterface.toString (and the jacks compiler test suite does 
this).


> 
> Regards,
> Jeroen
> 

-- 
Someday, I might put a cute statement here.

Eric Blake             ebb9@byu.net



From MAILER-DAEMON Tue Jul 06 09:54:10 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhqOg-0008TH-BE
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 09:54:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhqOf-0008TC-1e
	for classpath@gnu.org; Tue, 06 Jul 2004 09:54:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhqOd-0008T0-CZ
	for classpath@gnu.org; Tue, 06 Jul 2004 09:54:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhqOd-0008Sw-92
	for classpath@gnu.org; Tue, 06 Jul 2004 09:54:07 -0400
Received: from [64.233.170.199] (helo=mproxy.gmail.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BhqMJ-0001YC-Ls
	for classpath@gnu.org; Tue, 06 Jul 2004 09:51:43 -0400
Received: by mproxy.gmail.com with SMTP id 62so91237rni
	for <classpath@gnu.org>; Tue, 06 Jul 2004 06:51:19 -0700 (PDT)
Received: by 10.38.81.59 with SMTP id e59mr10291rnb;
	Tue, 06 Jul 2004 06:44:39 -0700 (PDT)
Message-ID: <d58509a80407060644b7ebc02@mail.gmail.com>
Date: Tue, 6 Jul 2004 14:44:39 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CDB8@LEMBU.sumatrasoftware.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <788B535AB1F9CB49BB9C229372B50ACC10CDB8@LEMBU.sumatrasoftware.com>
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 13:54:09 -0000

On Tue, 6 Jul 2004 15:06:16 +0200, Jeroen Frijters <jeroen@sumatra.nl> wrote:
> Eric Blake wrote:
> > Robert Lougher wrote:
> > > OK, I'm yelling :)  Please don't use Mark's patch!
> > >
> > > It "fixes" it by stopping resolution finding the method on Object.
> > > However, it is legal to have an invokeinterface on an Object method
> > > (as all interfaces subclass Object).
> > >
> > > Instead, please use the attached patch to the interpreter.  This
> > > converts an invokeinterface on an Object method into an
> > invokevirtual
> > > (which is what 1.4 javac does anyway, but not jikes or 1.3 javac).
> > 
> > The JVMS is clear that invokeinterface is only to be used on
> > interface methods.
> 
> I think you two are talking about two different things. I think Robert
> means that it is legal to use invokeinterface on an Object method
> through an interface type. So this is legal:
> 
>  invokeinterface java/lang/Runnable/toString()Ljava/lang/String;
> 
> Regards,
> Jeroen
> 

Interfaces subclass Object so they inherit all its methods.  This
means you can use invokeinterface on a method which isn't specified in
an interface -- 5.4.3.4 of the JVMS states:

Otherwise, if the referenced method does not have the same name and
descriptor as a method in C or in one of the superinterfaces of C, or
in class Object, interface method resolution throws a
NoSuchMethodError.

Rob.



From MAILER-DAEMON Tue Jul 06 10:25:42 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhqtB-0003b9-RO
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 10:25:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhqtA-0003aE-Aw
	for classpath@gnu.org; Tue, 06 Jul 2004 10:25:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bhqt8-0003ZO-9b
	for classpath@gnu.org; Tue, 06 Jul 2004 10:25:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bhqt8-0003ZL-5V
	for classpath@gnu.org; Tue, 06 Jul 2004 10:25:38 -0400
Received: from [64.4.53.81] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bhqr4-0007Yi-DX
	for classpath@gnu.org; Tue, 06 Jul 2004 10:23:30 -0400
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Tue, 6 Jul 2004 07:23:28 -0700
Received: from 195.224.225.50 by by19fd.bay19.hotmail.msn.com with HTTP;
	Tue, 06 Jul 2004 14:23:27 GMT
X-Originating-IP: [195.224.225.50]
X-Originating-Email: [robert_lougher@hotmail.com]
X-Sender: robert_lougher@hotmail.com
From: "Robert Lougher" <robert_lougher@hotmail.com>
To: ebb9@byu.net, jeroen@sumatra.nl
Bcc: 
Date: Tue, 06 Jul 2004 14:23:27 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY19-F31rSjhnUL8Ba000f9cb9@hotmail.com>
X-OriginalArrivalTime: 06 Jul 2004 14:23:28.0276 (UTC)
	FILETIME=[CE54CD40:01C46364]
Cc: mark@klomp.org, classpath@gnu.org
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 14:25:40 -0000

Hi,

Apologies for my previous rather vacuous reply.  Gmail doesn't seem to be 
receiving classpath ATM(or very slowly), so I replied to Jeroen's email, 
without realising there was rather more to it...

My observations follows what Eric has said.  Using javac 1.3 and jikes I saw 
a call to (say) toString on an interface converted to invokevirtual, but 
compiled as invokeinterface if toString was redeclared.  On javac 1.4, it 
was converted to invokevirtual regardless.

However, you can end up with the situation where you have an invokeinterface 
to toString when it hasn't been redeclared by separate compilation.  
Redeclare it in the interface, compile the user class, remove it from the 
interface and only recompile the interface.  As Eric said, a VM should be 
robust in this situation.

Of course, this isn't the situation with Eclipse.  The method _was_ 
redeclared in a super-interface hence it compiles to invokeinterface.  
However, interface method resolution in JamVM found the method on Object 
before looking for it in the super-interfaces.  This is probably a bug, but 
the fix fixes this and the robustness case.  I presume in the case of the 
JLS, it is more correct not to flatten if it is redeclared, but from a VM 
point of view, invokevirtual is faster.

Rob.

----Original Message Follows----
From: Eric Blake <ebb9@byu.net>
To: Jeroen Frijters <jeroen@sumatra.nl>
CC: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: Eclipse 3.0
Date: Tue, 06 Jul 2004 07:32:17 -0600

Jeroen Frijters wrote:
>Eric Blake wrote:
>
>I think you two are talking about two different things. I think Robert
>means that it is legal to use invokeinterface on an Object method
>through an interface type. So this is legal:
>
>   invokeinterface java/lang/Runnable/toString()Ljava/lang/String;

No, it is the same issue.  The compiler must always allow you to invoke a 
public method from Object from a qualifying type of an interface (since in 
JLS 9, interfaces implicitly have all public methods from Object), but the 
compiler's responsibility according to JLS 13.1 is to flatten that to a call 
on Object if and only if the qualifying type does not redeclare (or inherit 
a redeclaration) of the method.  Corallary - since no interface can 
redeclare a final method, a compiler should never produce invokeinterface 
SomeInterface.getClass or any of the other final methods in Object; so this 
issue only affects equals, hashCode, and toString.

class Foo
   {
   void m(Runnable r, java.util.Collection c)
   {
     r.toString(); // compiler must flatten to invokevirtual 
Object.toString: Runnable does not redeclare toString
     c.equals(r); // compiler must emit invokeinterface Collection.equals: 
since Collection redeclares equals
   }
}

However, there are buggy compilers out there that emit invokeinterface 
Runnable.toString(), even though Runnable does not redeclare toString; and a 
robust JVM implementation will be prepared to deal with this situation.

This is a binary compatibility issue - in other words, it is possible to 
expose javac 1.4's bug by using inconsistent .class files to show whether a 
class was compiled with a call invokevirtual Object.toString or 
invokeinterface SomeInterface.toString (and the jacks compiler test suite 
does this).


>
>Regards,
>Jeroen
>

--
Someday, I might put a cute statement here.

Eric Blake             ebb9@byu.net


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

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




From MAILER-DAEMON Tue Jul 06 10:52:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhrIt-00044u-Hr
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 10:52:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhrIr-00043y-US
	for classpath@gnu.org; Tue, 06 Jul 2004 10:52:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhrIq-00042P-6z
	for classpath@gnu.org; Tue, 06 Jul 2004 10:52:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhrIl-00042I-QP
	for classpath@gnu.org; Tue, 06 Jul 2004 10:52:11 -0400
Received: from [212.6.122.141] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhrGj-0004O4-Fv
	for classpath@gnu.org; Tue, 06 Jul 2004 10:50:01 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-073.ewetel.net
	[80.228.93.73])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i66Enw9D025841;
	Tue, 6 Jul 2004 16:49:59 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BhrMv-0001pk-00; Tue, 06 Jul 2004 16:56:25 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 6 Jul 2004 16:52:12 +0200
User-Agent: KMail/1.6.2
References: <1089103550.1160.10.camel@moonlight.localdomain>
In-Reply-To: <1089103550.1160.10.camel@moonlight.localdomain>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200407061652.15735.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Emacs supporting GNU style for Classpath hacking
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 06 Jul 2004 14:52:14 -0000

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

Am Dienstag, 6. Juli 2004 10:45 schrieb Roman Kennke:
> Hi list,
>
> Together with Michael I have put together an emacs configuration
> hook, which enables GNU style auto-completion in Emacs with JDEE.
>
> In order to make this work, you have to have JDEE installed:
>
> http://jdee.sunsite.sk
>
> XEmacs includes JDEE by default.
>
> include the following snipped directly in ~/.emacs or
> ~/.xemacs/init.el or load it from an external file with something
> like this inside ~/.emacs or ~/.xemacs/init.el:
>
> (load "~/.xemacs/javagnustyle.el")
>
>
> With this configuration, emacs automatically expands abbreviations.
> If you type 'ife ' this will be expanded to:
> if ()
>   {
>   }
> else
>   {
>   }
>
> Please see
> http://jdee.sunsite.dk/jdedoc/html/jde-ug/jde-ug-content.html#Abbre
>vs for details on more abbreviations
>
> If this works out right, maybe we should include this in the GNU
> Classpath hackers guide.

I found a bug: It wants to indent the { } for method/constructor=20
bodies for 2 spaces too, but these must he like for classes and=20
interfaces have the same depth as the starting line. I hope you=20
understand my explanation.


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

iD8DBQFA6ryfWSOgCCdjSDsRAjYDAJ9Wqe6eQ0A6B31a/1enrj/25rm13ACgiqKH
ti5xvIoLwYMrUToZsrZKaYg=3D
=3D4ZYE
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Tue Jul 06 11:04:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhrUY-0002FO-0h
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 11:04:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhrUW-0002Eb-RH
	for classpath@gnu.org; Tue, 06 Jul 2004 11:04:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhrUV-0002Cc-68
	for classpath@gnu.org; Tue, 06 Jul 2004 11:04:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhrUV-0002CZ-2x
	for classpath@gnu.org; Tue, 06 Jul 2004 11:04:15 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhrS6-0006eJ-EU
	for classpath@gnu.org; Tue, 06 Jul 2004 11:01:46 -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, 6 Jul 2004 17:01:37 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CDB9@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Eclipse 3.0
Thread-Index: AcRjXgIwySVFSQNYTKCYzMXrm7GS/gACrAKQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Eric Blake" <ebb9@byu.net>
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: RE: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 15:04:17 -0000

Eric Blake wrote:
> The compiler must always allow you to invoke a=20
> public method from Object from a qualifying type of an=20
> interface (since in JLS 9, interfaces implicitly have all
> public methods from Object), but the compiler's responsibility
> according to JLS 13.1 is to flatten that to a call on Object
> if and only if the qualifying type does not redeclare
> (or inherit a redeclaration) of the method.

I can see where you're coming from, as a compiler writer, but from my
point of view (as a VM builder) this requirement is totally meaningless,
because in the face of class file version the interface can change
anyway.

> Corallary - since no interface can redeclare a final method,
> a compiler should never produce invokeinterface
> SomeInterface.getClass or any of the other final methods in=20
> Object;

I agree, but from of VM point of view, it really doesn't matter, it
isn't any different from:

class base {
  public final void run() {}
}
class test extends base implements Runnable { }

> However, there are buggy compilers out there that emit=20
> invokeinterface Runnable.toString(), even though Runnable
> does not redeclare toString; and a robust JVM implementation
> will be prepared to deal with this situation.

Like I said above, even without a broken compiler you can still
encounter this by removing the method from the interface after the
caller has been compiled.

> This is a binary compatibility issue - in other words, it is=20
> possible to expose javac 1.4's bug by using inconsistent .class
> files to show whether a class was compiled with a call
> invokevirtual Object.toString or invokeinterface
> SomeInterface.toString (and the jacks compiler test suite does=20
> this).

I don't understand what you mean here, could be please elaborate?

Regards,
Jeroen



From MAILER-DAEMON Tue Jul 06 11:49:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhsCK-0003JM-Jg
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 11:49:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhsCI-0003Ih-QH
	for classpath@gnu.org; Tue, 06 Jul 2004 11:49:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhsCH-0003HW-3U
	for classpath@gnu.org; Tue, 06 Jul 2004 11:49:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhsCH-0003HS-0R
	for classpath@gnu.org; Tue, 06 Jul 2004 11:49:29 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bhs9g-0006DH-20
	for classpath@gnu.org; Tue, 06 Jul 2004 11:46:48 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i66Ffee1019771;
	Tue, 6 Jul 2004 11:41:40 -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 i66Ffe017482; 
	Tue, 6 Jul 2004 11:41:40 -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
	i66FfevU003319; Tue, 6 Jul 2004 11:41:40 -0400
Message-ID: <40EAC833.2040405@redhat.com>
Date: Tue, 06 Jul 2004 11:41:39 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: Ranjit Mathew <rmathew@gmail.com>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com>
In-Reply-To: <40EA2CCA.9010507@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: gnustuff@thisiscool.com, classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 15:49:31 -0000

Ranjit Mathew wrote:

>Mohan Embar wrote:
>  
>
>>Just out of curiosity, why is the result of new InternalError()
>>being explicitly cast to an InternalError?
>>    
>>
>
>Look closely - it's the return value (a Throwable) from
>initCause() that is being cast into an InternalError:
>
>+        // Can't happen.
>+        throw (InternalError) new InternalError("Unconvertible file: "
>+						+ this).initCause(use);
>  
>

I wonder if we should standardize on using RuntimeException in these 
cases. A quick grep through the source code shows that we use both 
InternalError and RuntimeException for these "shouldn't/can't happen" 
catch blocks in various cases. I think RuntimeException would be a 
better choice, since it has a proper "cause" constructor for re-throwing 
exceptions.

Its also probably not worth bothering with string constants in the 
"can't happen" cases. This case could be rewritten as:

--- File.java   6 Jul 2004 02:52:54 -0000       1.39
+++ File.java   6 Jul 2004 15:38:12 -0000
@@ -893,8 +893,7 @@
     catch (URISyntaxException use)
       {
         // Can't happen.
-        throw (InternalError) new InternalError("Unconvertible file: "
-                                               + this).initCause(use);
+       throw new RuntimeException(use);
       }
   }

Bryce




From MAILER-DAEMON Tue Jul 06 12:07:36 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhsTo-00027T-ON
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 12:07:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhsTm-000254-6D
	for classpath@gnu.org; Tue, 06 Jul 2004 12:07:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhsTk-00023v-W1
	for classpath@gnu.org; Tue, 06 Jul 2004 12:07:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhsTk-00023K-SL
	for classpath@gnu.org; Tue, 06 Jul 2004 12:07:32 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhsRa-0001A1-5d
	for classpath@gnu.org; Tue, 06 Jul 2004 12:05: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: Tue, 6 Jul 2004 18:05:14 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CDBE@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Patch: merge File.toURI() from Classpath
Thread-Index: AcRjcOoI9brYOsWnSGKvaq8TkfU9OAAAat1Q
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Bryce McKinlay" <mckinlay@redhat.com>, "Ranjit Mathew" <rmathew@gmail.com>
Cc: gnustuff@thisiscool.com, classpath@gnu.org, java-patches@gcc.gnu.org
Subject: RE: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 16:07:34 -0000

Bryce McKinlay wrote:
> I wonder if we should standardize on using RuntimeException in these=20
> cases.

I'm not in favor of using RuntimeExceptions for these. RuntimeExceptions
are much more likely to be swallowed by user code and the semantics of
InternalError are much closer to what we want to express here.

Regards,
Jeroen



From MAILER-DAEMON Tue Jul 06 12:58:34 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhtH8-0003nd-4A
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 12:58:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhtH5-0003mi-L0
	for classpath@gnu.org; Tue, 06 Jul 2004 12:58:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhtH5-0003mB-0i
	for classpath@gnu.org; Tue, 06 Jul 2004 12:58:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhtH4-0003m7-Tj
	for classpath@gnu.org; Tue, 06 Jul 2004 12:58:30 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BhtEe-0001jF-HG
	for classpath@gnu.org; Tue, 06 Jul 2004 12:56:00 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i66GlOe1005344;
	Tue, 6 Jul 2004 12:47: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 i66GlN007417; 
	Tue, 6 Jul 2004 12:47:23 -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
	i66GlNvU005904; Tue, 6 Jul 2004 12:47:23 -0400
Message-ID: <40EAD79B.4050405@redhat.com>
Date: Tue, 06 Jul 2004 12:47:23 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: David Daney <ddaney@avtrex.com>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com> <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com>
In-Reply-To: <40EAD1DB.8070202@avtrex.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 16:58:31 -0000

David Daney wrote:

>>I wonder if we should standardize on using RuntimeException in these 
>>cases. A quick grep through the source code shows that we use both 
>>InternalError and RuntimeException for these "shouldn't/can't happen" 
>>catch blocks in various cases. I think RuntimeException would be a 
>>better choice, since it has a proper "cause" constructor for re-throwing 
>>exceptions.
>>
>>    
>>
>
>I don't like this idea.
>
>RuntimeException is meant to be the base class for Exceptions that can
>reasonable be expected to be thrown from error free library code when
>called by buggy application code.
>
>InternalError as its name suggests is meant to be thrown in situations
>that could only be caused by a bug internal to the runtime.
>
>If don't like the idiom new InternalError().initCause(), then add a
>constructor to InternalError (and perhaps Error also) so that you can
>pass the cause as a constructor parameter.
>  
>

We can't add constructors to InternalError, as that would violate the spec.

InternalError extends VirtualMachineError, and is documented in the spec 
that it is "Thrown to indicate some unexpected internal error has 
occurred in the Java Virtual Machine.". Its questionable whether generic 
library code such as this can be considered part of the virtual machine.

In any case, the lack of a "cause" constructor for InternalError pretty 
much rules it out for using in these situations - it clearly wasn't 
intended for chaining/rethrowing internal exception.

RuntimeException subclasses are certainly exceptions that are expected 
to be thrown due to bugs in application code incorrectly calling the 
library, but there are also many cases where they could be thrown due to 
bugs in the runtime code. NullPointerException, for example, is a 
RuntimeException subclass. I'm sure I've seen that thrown once or twice 
due to bugs in Classpath ;-)

Regards

Bryce




From MAILER-DAEMON Tue Jul 06 13:11:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhtTn-0001Mx-Rj
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 13:11:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhsoE-0008Jj-Sr
	for classpath@gnu.org; Tue, 06 Jul 2004 12:28:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhsoB-0008J1-6g
	for classpath@gnu.org; Tue, 06 Jul 2004 12:28:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhsoB-0008Iw-3p
	for classpath@gnu.org; Tue, 06 Jul 2004 12:28:39 -0400
Received: from [216.102.217.178] (helo=avtrex.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bhslx-0004ye-Ns
	for classpath@gnu.org; Tue, 06 Jul 2004 12:26:22 -0400
Received: from avtrex.com ([192.168.0.111] RDNS failed) by avtrex.com with
	Microsoft SMTPSVC(5.0.2195.6713); Tue, 6 Jul 2004 09:24:42 -0700
Message-ID: <40EAD1DB.8070202@avtrex.com>
Date: Tue, 06 Jul 2004 09:22:51 -0700
From: David Daney <ddaney@avtrex.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bryce McKinlay <mckinlay@redhat.com>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com> <40EAC833.2040405@redhat.com>
In-Reply-To: <40EAC833.2040405@redhat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 06 Jul 2004 16:24:42.0797 (UTC)
	FILETIME=[BE489DD0:01C46375]
X-Mailman-Approved-At: Tue, 06 Jul 2004 13:11:37 -0400
Cc: Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 16:28:43 -0000

Bryce McKinlay wrote:
> Ranjit Mathew wrote:
> 
> 
>>Mohan Embar wrote:
>> 
>>
>>
>>>Just out of curiosity, why is the result of new InternalError()
>>>being explicitly cast to an InternalError?
>>>   
>>>
>>
>>Look closely - it's the return value (a Throwable) from
>>initCause() that is being cast into an InternalError:
>>
>>+        // Can't happen.
>>+        throw (InternalError) new InternalError("Unconvertible file: "
>>+						+ this).initCause(use);
>> 
>>
> 
> 
> I wonder if we should standardize on using RuntimeException in these 
> cases. A quick grep through the source code shows that we use both 
> InternalError and RuntimeException for these "shouldn't/can't happen" 
> catch blocks in various cases. I think RuntimeException would be a 
> better choice, since it has a proper "cause" constructor for re-throwing 
> exceptions.
> 

I don't like this idea.

RuntimeException is meant to be the base class for Exceptions that can
reasonable be expected to be thrown from error free library code when
called by buggy application code.

InternalError as its name suggests is meant to be thrown in situations
that could only be caused by a bug internal to the runtime.

If don't like the idiom new InternalError().initCause(), then add a
constructor to InternalError (and perhaps Error also) so that you can
pass the cause as a constructor parameter.

Just my $0.02

David Daney




From MAILER-DAEMON Tue Jul 06 13:11:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhtTo-0001N4-0e
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 13:11:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhtLU-0005Pl-7u
	for classpath@gnu.org; Tue, 06 Jul 2004 13:03:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhtLS-0005PM-Na
	for classpath@gnu.org; Tue, 06 Jul 2004 13:03:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhtLR-0005PB-GP
	for classpath@gnu.org; Tue, 06 Jul 2004 13:03:02 -0400
Received: from [216.102.217.178] (helo=avtrex.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhtJ3-0002ei-5S
	for classpath@gnu.org; Tue, 06 Jul 2004 13:00:33 -0400
Received: from avtrex.com ([192.168.0.111] RDNS failed) by avtrex.com with
	Microsoft SMTPSVC(5.0.2195.6713); Tue, 6 Jul 2004 09:58:55 -0700
Message-ID: <40EAD9E0.1080102@avtrex.com>
Date: Tue, 06 Jul 2004 09:57:04 -0700
From: David Daney <ddaney@avtrex.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bryce McKinlay <mckinlay@redhat.com>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com> <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com> <40EAD79B.4050405@redhat.com>
In-Reply-To: <40EAD79B.4050405@redhat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 06 Jul 2004 16:58:55.0458 (UTC)
	FILETIME=[85C3D420:01C4637A]
X-Mailman-Approved-At: Tue, 06 Jul 2004 13:11:37 -0400
Cc: Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 17:03:04 -0000

Bryce McKinlay wrote:
> David Daney wrote:
> 
> 
>>>I wonder if we should standardize on using RuntimeException in these 
>>>cases. A quick grep through the source code shows that we use both 
>>>InternalError and RuntimeException for these "shouldn't/can't happen" 
>>>catch blocks in various cases. I think RuntimeException would be a 
>>>better choice, since it has a proper "cause" constructor for re-throwing 
>>>exceptions.
>>>
>>>   
>>>
>>
>>I don't like this idea.
>>
>>RuntimeException is meant to be the base class for Exceptions that can
>>reasonable be expected to be thrown from error free library code when
>>called by buggy application code.
>>
>>InternalError as its name suggests is meant to be thrown in situations
>>that could only be caused by a bug internal to the runtime.
>>
>>If don't like the idiom new InternalError().initCause(), then add a
>>constructor to InternalError (and perhaps Error also) so that you can
>>pass the cause as a constructor parameter.
>> 
>>
> 
> We can't add constructors to InternalError, as that would violate the spec.
> 

Which spec. would that be?  I am unfamiliar with it.

David Daney.




From MAILER-DAEMON Tue Jul 06 13:18:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhtaV-0004Xh-3k
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 13:18:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhtaT-0004X7-MD
	for classpath@gnu.org; Tue, 06 Jul 2004 13:18:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhtaR-0004Ve-JA
	for classpath@gnu.org; Tue, 06 Jul 2004 13:18:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhtaR-0004VI-Eu
	for classpath@gnu.org; Tue, 06 Jul 2004 13:18:31 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BhtYC-0005US-Hd
	for classpath@gnu.org; Tue, 06 Jul 2004 13:16:12 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i66H79e1010658;
	Tue, 6 Jul 2004 13:07:10 -0400
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i66H79013767; 
	Tue, 6 Jul 2004 13:07:09 -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
	i66H79vU006696; Tue, 6 Jul 2004 13:07:09 -0400
Message-ID: <40EADC3D.4040905@redhat.com>
Date: Tue, 06 Jul 2004 13:07:09 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: David Daney <ddaney@avtrex.com>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com> <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com> <40EAD79B.4050405@redhat.com>
	<40EAD9E0.1080102@avtrex.com>
In-Reply-To: <40EAD9E0.1080102@avtrex.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 17:18:34 -0000

David Daney wrote:

>>We can't add constructors to InternalError, as that would violate the spec.
>>
>>    
>>
>
>Which spec. would that be?  I am unfamiliar with it.
>
>David Daney.
>
>  
>

The Java 2(TM) Platform API specification[1]

[1] http://java.sun.com/j2se/1.4.2/docs/api/

Regards

Bryce




From MAILER-DAEMON Tue Jul 06 13:45:03 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bhu07-0005fc-5U
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 13:45:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bhu06-0005fX-Bh
	for classpath@gnu.org; Tue, 06 Jul 2004 13:45:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bhu05-0005fC-01
	for classpath@gnu.org; Tue, 06 Jul 2004 13:45:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bhu04-0005f7-U2
	for classpath@gnu.org; Tue, 06 Jul 2004 13:45:00 -0400
Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bhtxz-0001tN-PP
	for classpath@gnu.org; Tue, 06 Jul 2004 13:42:52 -0400
Received: from [192.168.2.40] ([65.92.158.178]) by tomts25-srv.bellnexxia.net
	(InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP
	id <20040706174250.WLTT28143.tomts25-srv.bellnexxia.net@[192.168.2.40]>
	for <classpath@gnu.org>; Tue, 6 Jul 2004 13:42:50 -0400
Message-ID: <40EAE31D.9020500@mail.mcgill.ca>
Date: Tue, 06 Jul 2004 13:36:29 -0400
From: Chris Pickett <chris.pickett@mail.mcgill.ca>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040509)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com> <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com> <40EAD79B.4050405@redhat.com>
	<40EAD9E0.1080102@avtrex.com> <40EADC3D.4040905@redhat.com>
In-Reply-To: <40EADC3D.4040905@redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 17:45:02 -0000

Bryce McKinlay wrote:
> David Daney wrote:
> 
> 
>>>We can't add constructors to InternalError, as that would violate the spec.
>>>
>>>   
>>>
>>
>>Which spec. would that be?  I am unfamiliar with it.
>>
>>David Daney.
>>
>> 
>>
> 
> 
> The Java 2(TM) Platform API specification[1]
> 
> [1] http://java.sun.com/j2se/1.4.2/docs/api/

It's worth reading Chapter 8 of Effective Java, which talks about 
exceptions and is written by Joshua Bloch, who was behind the Sun API. 
In fact, that whole book is worth buying and reading.  If you google for 
"effective java ebook" you can find it.  The legality of downloading it 
probably depends on your country.

Cheers,
Chris




From MAILER-DAEMON Tue Jul 06 13:50:56 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bhu5n-0008Ki-Q9
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 13:50:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bhu5m-0008Jt-5D
	for classpath@gnu.org; Tue, 06 Jul 2004 13:50:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bhu5k-0008Ix-Bp
	for classpath@gnu.org; Tue, 06 Jul 2004 13:50:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bhu5k-0008Is-8u
	for classpath@gnu.org; Tue, 06 Jul 2004 13:50:52 -0400
Received: from [213.228.0.176] (helo=postfix4-2.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bhu3Z-0002xF-9T
	for classpath@gnu.org; Tue, 06 Jul 2004 13:48:37 -0400
Received: from kaffe.org (unknown [81.56.169.129])
	by postfix4-2.free.fr (Postfix) with ESMTP id 971E51995E4
	for <classpath@gnu.org>; Tue,  6 Jul 2004 19:48:29 +0200 (CEST)
Message-ID: <40EAE5EB.7090704@kaffe.org>
Date: Tue, 06 Jul 2004 19:48:27 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="------------000501020307070107010106"
Subject: jni.h fixes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 17:50:54 -0000

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

Hi,

Merging jni.h with kaffe, we have noticed two problems:

* first, it is not compilable in C++ mode. I've fixed that by moving 
some ifdef block and adding a '}' to finish the 'extern "C"' block.

* second, I think the definition for JNI_CreateJavaVM is slightly wrong. 
Instead of

JNIEXPORT jint JNICALL JNI_CreateJavaVM (JavaVM **, void **, void *);

I'd rather put:

JNIEXPORT jint JNICALL JNI_CreateJavaVM (JavaVM **, JNIEnv **, void *);

I have attached a patch.

Cheers,

Guilhem.

ChangeLog entry:

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

    * include/jni.h
    (JNI_CreateJavaVM): Fixed prototype.
    Fixed C++ compilation.

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

Index: include/jni.h
===================================================================
RCS file: /cvsroot/classpath/classpath/include/jni.h,v
retrieving revision 1.2
diff -u -r1.2 jni.h
--- include/jni.h	7 Jun 2004 21:42:59 -0000	1.2
+++ include/jni.h	6 Jul 2004 17:43:01 -0000
@@ -54,7 +54,26 @@
 #ifdef __cplusplus
 }
 #endif
-  
+
+/* 
+ * Before jni.h is #included within a typical JVM, the source code should 
+ * #define _JNI_VM_INTERNAL_TYPES_DEFINED and provide the real declarations
+ * for 'jobject', 'jfieldID', 'jMethodID' and other implementation types.
+ * If _JNI_VM_INTERNAL_TYPES_DEFINED is not defined, the following 
+ * declares the old versions of the types.
+ */
+#ifndef _JNI_VM_INTERNAL_TYPES_DEFINED
+/*
+typedef void *jobject;
+typedef void *jfieldID;
+typedef void *jmethodID;
+*/
+struct _jfieldID;
+struct _jmethodID;
+typedef struct _jfieldID *jfieldID;
+typedef struct _jmethodID *jmethodID;
+#endif 
+   
 #ifdef __cplusplus
   
 class _jobject {};
@@ -92,25 +111,7 @@
 
 #else /* __cplusplus */
 
-/* 
- * Before jni.h is #included within a typical JVM, the source code should 
- * #define _JNI_VM_INTERNAL_TYPES_DEFINED and provide the real declarations
- * for 'jobject', 'jfieldID', 'jMethodID' and other implementation types.
- * If _JNI_VM_INTERNAL_TYPES_DEFINED is not defined, the following 
- * declares the old versions of the types.
- */
-#ifndef _JNI_VM_INTERNAL_TYPES_DEFINED
-/*
-typedef void *jobject;
-typedef void *jfieldID;
-typedef void *jmethodID;
-*/
-struct _jfieldID;
-struct _jmethodID;
-typedef struct _jfieldID *jfieldID;
-typedef struct _jmethodID *jmethodID;
-#endif 
-  
+ 
 typedef void *jobject;
 typedef jobject jclass;
 typedef jobject jstring;
@@ -182,7 +183,7 @@
 /* These functions are called by user code to start using the
    invocation API.  */
 JNIEXPORT jint JNICALL JNI_GetDefaultJavaVMInitArgs (void *);
-JNIEXPORT jint JNICALL JNI_CreateJavaVM (JavaVM **, void **, void *);
+JNIEXPORT jint JNICALL JNI_CreateJavaVM (JavaVM **, JNIEnv **, void *);
 JNIEXPORT jint JNICALL JNI_GetCreatedJavaVMs(JavaVM **, jsize, jsize *);
 
 
@@ -467,6 +468,7 @@
 };
 
 #ifdef __cplusplus
+} /* Extern "C" */
 
 struct _Jv_JNIEnv
 {

--------------000501020307070107010106--



From MAILER-DAEMON Tue Jul 06 14:02:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhuGt-0003SV-TN
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 14:02:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bhu7s-0000c2-NV
	for classpath@gnu.org; Tue, 06 Jul 2004 13:53:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bhu7r-0000bJ-3D
	for classpath@gnu.org; Tue, 06 Jul 2004 13:53:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bhu7r-0000bG-0i
	for classpath@gnu.org; Tue, 06 Jul 2004 13:53:03 -0400
Received: from [216.102.217.178] (helo=avtrex.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bhu5d-0003TH-I7
	for classpath@gnu.org; Tue, 06 Jul 2004 13:50:45 -0400
Received: from avtrex.com ([192.168.0.111] RDNS failed) by avtrex.com with
	Microsoft SMTPSVC(5.0.2195.6713); Tue, 6 Jul 2004 10:49:07 -0700
Message-ID: <40EAE5A4.9040009@avtrex.com>
Date: Tue, 06 Jul 2004 10:47:16 -0700
From: David Daney <ddaney@avtrex.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bryce McKinlay <mckinlay@redhat.com>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com> <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com> <40EAD79B.4050405@redhat.com>
	<40EAD9E0.1080102@avtrex.com> <40EADC3D.4040905@redhat.com>
In-Reply-To: <40EADC3D.4040905@redhat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 06 Jul 2004 17:49:07.0239 (UTC)
	FILETIME=[88ED2370:01C46381]
X-Mailman-Approved-At: Tue, 06 Jul 2004 14:02:22 -0400
Cc: Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 17:53:05 -0000

Bryce McKinlay wrote:
> David Daney wrote:
> 
> 
>>>We can't add constructors to InternalError, as that would violate the spec.
>>>
>>>   
>>>
>>
>>Which spec. would that be?  I am unfamiliar with it.
>>
> 
> 
> The Java 2(TM) Platform API specification[1]
> 
> [1] http://java.sun.com/j2se/1.4.2/docs/api/
> 

Does it say somewhere that we cannot add public methods while
maintaining compatibility with Sun's implementation?

It doesn't seem like a good idea to use an unsuitable exception type
just because its API has a slightly more elegant constructor.

David Daney.




From MAILER-DAEMON Tue Jul 06 14:21:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhuZ6-0002oX-Gw
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 14:21:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhuZ4-0002nA-Uf
	for classpath@gnu.org; Tue, 06 Jul 2004 14:21:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhuZ3-0002mc-3H
	for classpath@gnu.org; Tue, 06 Jul 2004 14:21:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhuZ3-0002mS-05
	for classpath@gnu.org; Tue, 06 Jul 2004 14:21:09 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BhuWn-0000LQ-Ra
	for classpath@gnu.org; Tue, 06 Jul 2004 14:18:50 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i66I9le1026822;
	Tue, 6 Jul 2004 14:09:47 -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 i66I9j001852; 
	Tue, 6 Jul 2004 14:09:45 -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
	i66I9ivU008891; Tue, 6 Jul 2004 14:09:44 -0400
Message-ID: <40EAEAE8.5000508@redhat.com>
Date: Tue, 06 Jul 2004 14:09:44 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: David Daney <ddaney@avtrex.com>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com> <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com> <40EAD79B.4050405@redhat.com>
	<40EAD9E0.1080102@avtrex.com> <40EADC3D.4040905@redhat.com>
	<40EAE5A4.9040009@avtrex.com>
In-Reply-To: <40EAE5A4.9040009@avtrex.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 18:21:11 -0000

David Daney wrote:

>Does it say somewhere that we cannot add public methods while
>maintaining compatibility with Sun's implementation?
>  
>
Yes, this is one of the "license terms" of the Java specification. 
Although we do not (can not) meet the other conditions of this license, 
the goal of the classpath project is to provide a class library that is 
compatible with the Java specification. Adding new public APIs to the 
core classes would mean that classpath is no longer compatible.

>It doesn't seem like a good idea to use an unsuitable exception type
>just because its API has a slightly more elegant constructor.
>  
>
I do not believe that RuntimeException is unsuitable. It seems a better 
match than InternalError.

Regards

Bryce

[1] http://java.sun.com/j2se/1.4.2/docs/relnotes/license.html




From MAILER-DAEMON Tue Jul 06 15:50:53 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bhvxs-0006Di-Tb
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 15:50:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bhvxj-0006BP-RZ
	for classpath@gnu.org; Tue, 06 Jul 2004 15:50:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhvxZ-00066j-70
	for classpath@gnu.org; Tue, 06 Jul 2004 15:50:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhvxY-00064m-FS
	for classpath@gnu.org; Tue, 06 Jul 2004 15:50:32 -0400
Received: from [64.233.170.204] (helo=mproxy.gmail.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Bhvn3-0006uj-0B
	for classpath@gnu.org; Tue, 06 Jul 2004 15:39:41 -0400
Received: by mproxy.gmail.com with SMTP id 62so110922rni
	for <classpath@gnu.org>; Tue, 06 Jul 2004 12:39:28 -0700 (PDT)
Received: by 10.38.81.59 with SMTP id e59mr22952rnb;
	Tue, 06 Jul 2004 12:39:28 -0700 (PDT)
Message-ID: <d58509a80407061239d541101@mail.gmail.com>
Date: Tue, 6 Jul 2004 20:39:28 +0100
From: Robert Lougher <rob.lougher@gmail.com>
To: Eric Blake <ebb9@byu.net>
In-Reply-To: <40EA9AC8.3090400@byu.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <788B535AB1F9CB49BB9C229372B50ACC10CD86@LEMBU.sumatrasoftware.com>
	<1088853277.29403.293.camel@localhost>
	<1088944538.24713.93.camel@localhost>
	<d58509a804070505086d83dc04@mail.gmail.com>
	<40EA9AC8.3090400@byu.net>
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 19:50:45 -0000

Amazing.  I've only just got this.

Thanks for the clarification, but as Jeroen said, irrelevant to us as
VM implementors.  To be robust, we have to handle invokeinterface on a
method that only exists in Object.

Rob.

On Tue, 06 Jul 2004 06:27:52 -0600, Eric Blake <ebb9@byu.net> wrote:
> Robert Lougher wrote:
> > OK, I'm yelling :)  Please don't use Mark's patch!
> >
> > It "fixes" it by stopping resolution finding the method on Object.
> > However, it is legal to have an invokeinterface on an Object method
> > (as all interfaces subclass Object).
> >
> > Instead, please use the attached patch to the interpreter.  This
> > converts an invokeinterface on an Object method into an invokevirtual
> > (which is what 1.4 javac does anyway, but not jikes or 1.3 javac).
> 
> The JVMS is clear that invokeinterface is only to be used on interface 
> methods.  JLS 13.1 also states that a method call of something that (also)
> exists in Object is converted into a method call directly on Object if and
> only if the method was not redeclared along the type hierarchy of the type of
> the method call's qualifying expression.  All versions of javac to date are
> buggy in some regard on this matter, but the latest jikes is emitting correct
> code.  So, a correct compiler produces:
> 
> class A {
>   public String toString() { return ""; }
> }
> interface B {
>   int hashCode();
> }
> class C extends A implements B {
>   public boolean equals(Object o) { return false; }
>   {
>     toString(); // invokevirtual C.toString; javac 1.3 is wrong
>     ((A) this).toString(); // invokevirtual A.toString
>     ((B) this).toString(); // invokevirtual Object.toString
>     hashCode(); // invokevirtual Object.hashCode
>     ((A) this).hashCode(); // invokevirtual Object.hashCode
>     ((B) this).hashCode(); // invokeinterface B.hashCode; javac 1.4 is wrong
>     equals(null); // invokevirtual C.equals
>     ((A) this).equals(null); // invokevirtual Object.equals
>     ((B) this).equals(null); // invokevirtual Object.equals
> 
> 
>   }
> }
> 
> --
> Someday, I might put a cute statement here.
> 
> Eric Blake             ebb9@byu.net
>



From MAILER-DAEMON Tue Jul 06 16:22:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhwSc-0002iz-CZ
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 16:22:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhwSW-0002i6-S0
	for classpath@gnu.org; Tue, 06 Jul 2004 16:22:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhwSU-0002hC-Ub
	for classpath@gnu.org; Tue, 06 Jul 2004 16:22:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhwSU-0002h5-QU
	for classpath@gnu.org; Tue, 06 Jul 2004 16:22:30 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1BhwQI-0005Yl-74
	for classpath@gnu.org; Tue, 06 Jul 2004 16:20:14 -0400
Received: from 1cust15.vr1.dtm1.alter.net ([149.229.96.15]
	helo=moonlight.localdomain)
	by box84.elkhouse.de with asmtp (Exim 4.32)
	id 1BhwNL-0000ws-VY; Tue, 06 Jul 2004 22:17:12 +0200
Received: from localhost.uu.net ([127.0.0.1] ident=roman)
	by moonlight.localdomain with esmtp (Exim 4.32)
	id 1BhwQ0-0000RZ-1J; Tue, 06 Jul 2004 22:19:56 +0200
From: Roman Kennke <roman@ontographics.com>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200407061652.15735.konqueror@gmx.de>
References: <1089103550.1160.10.camel@moonlight.localdomain>
	<200407061652.15735.konqueror@gmx.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-qo+8xvl0oYJw8vno1Pvs"
Message-Id: <1089145195.1187.5.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 06 Jul 2004 22:19:55 +0200
Cc: classpath@gnu.org
Subject: Re: Emacs supporting GNU style for Classpath hacking
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 06 Jul 2004 20:22:34 -0000


--=-qo+8xvl0oYJw8vno1Pvs
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

> > Together with Michael I have put together an emacs configuration
> > hook, which enables GNU style auto-completion in Emacs with JDEE.

> I found a bug: It wants to indent the { } for method/constructor=20
> bodies for 2 spaces too, but these must he like for classes and=20
> interfaces have the same depth as the starting line. I hope you=20
> understand my explanation.

I understand. But I don't have this problem. You use XEmacs? Maybe it is
related to this? With GNU Emacs everything seems to work fine.
However, I think, I can tweak this stuff a little, and send an update
soon.

Regards, Roman


--=-qo+8xvl0oYJw8vno1Pvs
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA6wlq3sO1VIw8IDoRAv0VAKDlivd8H8jZFz8xt3Jh3DqtTQ4/BQCg3kYT
2dUKgODrI1ALn53hZ//IuLI=
=bQLI
-----END PGP SIGNATURE-----

--=-qo+8xvl0oYJw8vno1Pvs--




From MAILER-DAEMON Tue Jul 06 17:40:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bhxg3-0001Bt-Ey
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 17:40:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bhxg1-0001BR-6x
	for classpath@gnu.org; Tue, 06 Jul 2004 17:40:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bhxfz-0001Aq-Gv
	for classpath@gnu.org; Tue, 06 Jul 2004 17:40:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bhxfz-0001An-Ej
	for classpath@gnu.org; Tue, 06 Jul 2004 17:40:31 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1Bhxdn-0001uf-4v
	for classpath@gnu.org; Tue, 06 Jul 2004 17:38:15 -0400
Received: from 1cust15.vr1.dtm1.alter.net ([149.229.96.15]
	helo=moonlight.localdomain)
	by box84.elkhouse.de with asmtp (Exim 4.32)
	id 1Bhxat-00016q-Ql; Tue, 06 Jul 2004 23:35:16 +0200
Received: from localhost.uu.net ([127.0.0.1] ident=roman)
	by moonlight.localdomain with esmtp (Exim 4.32)
	id 1BhxdX-0000Vf-Fd; Tue, 06 Jul 2004 23:37:59 +0200
From: Roman Kennke <roman@ontographics.com>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <1089145195.1187.5.camel@moonlight.localdomain>
References: <1089103550.1160.10.camel@moonlight.localdomain>
	<200407061652.15735.konqueror@gmx.de>
	<1089145195.1187.5.camel@moonlight.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-pBEHNZL5Rd4GRsfqxU+k"
Message-Id: <1089149878.1187.10.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 06 Jul 2004 23:37:59 +0200
Cc: classpath@gnu.org
Subject: Re: Emacs supporting GNU style for Classpath hacking
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 06 Jul 2004 21:40:33 -0000


--=-pBEHNZL5Rd4GRsfqxU+k
Content-Type: multipart/mixed; boundary="=-puF3Pbnc/38aGS7DP+wy"


--=-puF3Pbnc/38aGS7DP+wy
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Am Di, den 06.07.2004 schrieb Roman Kennke um 22:19:
> > > Together with Michael I have put together an emacs configuration
> > > hook, which enables GNU style auto-completion in Emacs with JDEE.
>=20
> > I found a bug: It wants to indent the { } for method/constructor=20
> > bodies for 2 spaces too, but these must he like for classes and=20
> > interfaces have the same depth as the starting line. I hope you=20
> > understand my explanation.
>=20
> I understand. But I don't have this problem. You use XEmacs? Maybe it is
> related to this? With GNU Emacs everything seems to work fine.
> However, I think, I can tweak this stuff a little, and send an update
> soon.

Ok now, here we go. Attached is an improved version, which defines to
commands:
enable-javagnu and disable-javagnu
these commands (invoked with M-x enable-javagnu RET) allow you to enable
and disable this special GNU-helper mode.

Michael, I hope we can tweak this file for XEmacs tomorrow :)

Best regards, Roman


--=-puF3Pbnc/38aGS7DP+wy
Content-Disposition: attachment; filename=emacs-javagnu
Content-Transfer-Encoding: base64
Content-Type: text/plain; name=emacs-javagnu; charset=UTF-8

KGRlZmNvbnN0IGphdmFnbnVzdHlsZQ0KICAnKChjLWhhbmdpbmctYnJhY2VzLWFsaXN0ICcoKGJs
b2NrLW9wZW4gYmVmb3JlIGFmdGVyKQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGJy
YWNlLWxpc3Qtb3BlbikpKQ0KICAgIChjLWJhc2ljLW9mZnNldCAuIDIpDQogICAgKQ0KICApDQoo
ZGVmdW4gZW5hYmxlLWphdmFnbnUgKCkNCiAgKGludGVyYWN0aXZlKQ0KDQo7OyByZW1lbWJlciBv
bGQgdmFsdWVzDQogIChzZXRxIGphdmFnbnUtYy1hdXRvLW5ld2xpbmUgYy1hdXRvLW5ld2xpbmUp
DQogIChzZXRxIGphdmFnbnUtaW5kZW50LXRhYnMtbW9kZSBpbmRlbnQtdGFicy1tb2RlKQ0KICAo
c2V0cSBqYXZhZ251LWpkZS1nZW4tayZyIGpkZS1nZW4tayZyKQ0KICAoc2V0cSBqYXZhZ251LWpk
ZS1nZW4tY29tbWVudHMgamRlLWdlbi1jb21tZW50cykNCg0KOyAgYXV0by1uZXdsaW5lIG1vZGUg
b24NCiAgKHNldHEgYy1hdXRvLW5ld2xpbmUgdCkNCjsgIGluZGVudCBzcGFjZXMgaW5zdGVhZCBv
ZiB0YWJzDQogIChzZXRxIGluZGVudC10YWJzLW1vZGUgbmlsKQ0KOyAgR05VIHN0eWxlIGJyYWNl
cyBwbGFjZW1lbnQgaW4gdGVtcGxhdGVzDQogIChzZXRxIGpkZS1nZW4tayZyIG5pbCkNCjsgIHN1
cHJlc3MgZ2VuZXJhdGUgY29tbWVudHMNCiAgKHNldHEgamRlLWdlbi1jb21tZW50cyBuaWwpDQog
IChqZGUtYWJicmV2LW1vZGUpDQoNCiAgKGMtYWRkLXN0eWxlICJ1c2VyIiBqYXZhZ251c3R5bGUg
dCkNCiAgKGMtc2V0LXN0eWxlICJ1c2VyIikNCiAgKQ0KDQooZGVmdW4gZGlzYWJsZS1qYXZhZ251
ICgpDQogIChpbnRlcmFjdGl2ZSkNCjs7IHJlc3RvcmUgb2xkIHZhbHVlcw0KICAoc2V0cSBjLWF1
dG8tbmV3bGluZSBqYXZhZ251LWMtYXV0by1uZXdsaW5lKQ0KICAoc2V0cSBpbmRlbnQtdGFicy1t
b2RlIGphdmFnbnUtaW5kZW50LXRhYnMtbW9kZSkNCiAgKHNldHEgamRlLWdlbi1rJnIgamF2YWdu
dS1qZGUtZ2VuLWsmcikNCiAgKHNldHEgamRlLWdlbi1jb21tZW50cyBqYXZhZ251LWpkZS1nZW4t
Y29tbWVudHMpDQogIChjLXNldC1zdHlsZSAiamF2YSIpDQopDQo7OyB1bmNvbW1lbnQgdGhlIGZv
bGxvd2luZyBsaW5lIHRvIGF1dG9tYXRpY2FsbHkgZW5hYmxlIEphdmEtR05VLW1vZGUNCjs7IG9u
IEpERS1zdGFydHVwDQo7KGFkZC1ob29rICdqZGUtbW9kZS1ob29rICdlbmFibGUtamF2YWdudSkN
Cg0K

--=-puF3Pbnc/38aGS7DP+wy--

--=-pBEHNZL5Rd4GRsfqxU+k
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA6xu23sO1VIw8IDoRAt4bAKDqnf7XROr82XOE4gXPA/tybiEDGACcDYEN
N7i7vlivLYQwwKyrWVT7Ow0=
=LF6a
-----END PGP SIGNATURE-----

--=-pBEHNZL5Rd4GRsfqxU+k--




From MAILER-DAEMON Tue Jul 06 18:18:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhyGx-0007ne-VC
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 18:18:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhyGw-0007n7-LS
	for classpath@gnu.org; Tue, 06 Jul 2004 18:18:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhyGu-0007m1-C8
	for classpath@gnu.org; Tue, 06 Jul 2004 18:18:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhyGu-0007lk-6Y
	for classpath@gnu.org; Tue, 06 Jul 2004 18:18:40 -0400
Received: from [24.25.9.102] (helo=ms-smtp-03-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhyEF-0000E3-Eh
	for classpath@gnu.org; Tue, 06 Jul 2004 18:15:55 -0400
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i66MFmiA015594; Tue, 6 Jul 2004 18:15:48 -0400 (EDT)
From: "C. Brian Jones" <cbj@gnu.org>
To: Dalibor Topic <robilad@kaffe.org>
In-Reply-To: <40EA7947.2090509@kaffe.org>
References: <HLEBJDLEFEKDCJFKLDCEOEKCECAA.chenm@cs.man.ac.uk>
	<40EA7947.2090509@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-LAkIFZ1rI2QYzmNfz9A5"
Message-Id: <1089152147.4640.23.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Tue, 06 Jul 2004 18:15:47 -0400
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: classpath@gnu.org
Subject: Re: How to seperate the compilation of C source code and Java
	source code of CLASSPATH?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 22:18:43 -0000


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

On Tue, 2004-07-06 at 06:04, Dalibor Topic wrote:
> Ming Chen wrote:
> > Hi,
> >=20
> > I have some problem to compile the CLASSPATH in Debian Linux/ Xscale, i=
t
> > used up the memory (3G).
>=20
> Let me guess ... jikes? Known bug in jikes. Avoid using it to compile
> classpath on arm-linux. Use another compiler.

What is _the_ best and single free software java compiler to get behind
and use these days?  Which one has the best jacks test suite score?

Thanks,
Brian

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

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

iD8DBQBA6ySTcEcmdY33uzYRAhOgAKCJeAlQrb4RL/ho0/7R07cU23rDowCeIFBp
B4wek1KZrSP9DR28fbroHbE=
=WcSW
-----END PGP SIGNATURE-----

--=-LAkIFZ1rI2QYzmNfz9A5--




From MAILER-DAEMON Tue Jul 06 18:42:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bhydc-0006r4-QJ
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 18:42:08 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bhyda-0006qd-GL
	for classpath@gnu.org; Tue, 06 Jul 2004 18:42:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhydY-0006pm-QG
	for classpath@gnu.org; Tue, 06 Jul 2004 18:42:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhydY-0006pg-Ne
	for classpath@gnu.org; Tue, 06 Jul 2004 18:42:04 -0400
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bhyb2-0003lq-BN
	for classpath@gnu.org; Tue, 06 Jul 2004 18:39:28 -0400
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i66MdJPf002436; Tue, 6 Jul 2004 18:39:21 -0400 (EDT)
From: "C. Brian Jones" <cbj@gnu.org>
To: David Daney <ddaney@avtrex.com>
In-Reply-To: <40EAD1DB.8070202@avtrex.com>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com>
	<40EAC833.2040405@redhat.com>  <40EAD1DB.8070202@avtrex.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-+XSa/z+k74/5/pP2ZbFg"
Message-Id: <1089153558.4640.32.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Tue, 06 Jul 2004 18:39:18 -0400
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, java-patches@gcc.gnu.org,
	Bryce McKinlay <mckinlay@redhat.com>
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 22:42:06 -0000


--=-+XSa/z+k74/5/pP2ZbFg
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2004-07-06 at 12:22, David Daney wrote:

>=20
> If don't like the idiom new InternalError().initCause(), then add a
> constructor to InternalError (and perhaps Error also) so that you can
> pass the cause as a constructor parameter.

As pointed out, Classpath does not add to the published, public, API of
the core classes intentionally for compatibility.  I too think
RuntimeException would be incorrect in these situations, clearly an
error should be thrown instead that indicates the dire situation the
runtime is now in and the need to fix a potential library bug.  The use
of initCause() would seem appropriate if a cause exists. =20

While applications can recover from many forms (maybe all)
RuntimeExceptions, it is probably impossible to recover from
InternalErrors.

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

--=-+XSa/z+k74/5/pP2ZbFg
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBA6yoWcEcmdY33uzYRAgGpAKCb8Pi9YMwmdUWFlRq5ExiyKhOKiQCgnIKg
YZwg/4rkejhbVPsurkX+8Ys=
=oVks
-----END PGP SIGNATURE-----

--=-+XSa/z+k74/5/pP2ZbFg--




From MAILER-DAEMON Tue Jul 06 18:57:22 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhysL-00057q-VL
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 18:57:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhysJ-00057c-Rm
	for classpath@gnu.org; Tue, 06 Jul 2004 18:57:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhysI-00057H-AH
	for classpath@gnu.org; Tue, 06 Jul 2004 18:57:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhysI-00057E-7e
	for classpath@gnu.org; Tue, 06 Jul 2004 18:57:18 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bhypa-00062S-Op; Tue, 06 Jul 2004 18:54:31 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i66MsSe1003295;
	Tue, 6 Jul 2004 18:54: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 i66MsR027331; 
	Tue, 6 Jul 2004 18:54:27 -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
	i66MsRvU018831; Tue, 6 Jul 2004 18:54:27 -0400
Message-ID: <40EB2DA3.2010703@redhat.com>
Date: Tue, 06 Jul 2004 18:54:27 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: cbj@gnu.org
References: <1089082387.3020.35.camel@localhost.localdomain>	
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com>	 <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com>
	<1089153558.4640.32.camel@lyta.haphazard.org>
In-Reply-To: <1089153558.4640.32.camel@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, David Daney <ddaney@avtrex.com>,
	java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 22:57:20 -0000

C. Brian Jones wrote:

>On Tue, 2004-07-06 at 12:22, David Daney wrote:
>
>  
>
>>If don't like the idiom new InternalError().initCause(), then add a
>>constructor to InternalError (and perhaps Error also) so that you can
>>pass the cause as a constructor parameter.
>>    
>>
>
>As pointed out, Classpath does not add to the published, public, API of
>the core classes intentionally for compatibility.  I too think
>RuntimeException would be incorrect in these situations, clearly an
>error should be thrown instead that indicates the dire situation the
>runtime is now in and the need to fix a potential library bug.  The use
>of initCause() would seem appropriate if a cause exists.  
>
>While applications can recover from many forms (maybe all)
>RuntimeExceptions, it is probably impossible to recover from
>InternalErrors.
>

If a library call failed because of an internal bug that results in a 
RuntimeException being thrown, how is that different from a library call 
that fails because of an internal bug that causes, for example, 
NullPointerException (which extends RuntimeException) to be thrown?

IMO, InternalError should be reserved for virtual machine and low-level 
runtime errors, as suggested by the spec - not generic class library 
bugs as is the case here. InernalError also suggests to me a more 
serious bug than what could be occuring in these situations - ie that 
something is seriously screwed up with the internal state of the 
runtime, whereas a RuntimeException just means that the call failed due 
to a bug in a peice of library code, which is what would be happening 
here if these exceptions ever got thrown.

Its something of a moot point whether an application should be able to 
recover from these or not - they are errors that can/should never 
happen. Even so, it is certainly possible to imagine applications where 
continuing after a failed library call is preferrable to not being able 
to continue at all.

Regards

Bryce




From MAILER-DAEMON Tue Jul 06 19:15:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhzA7-0001eC-RW
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 19:15:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhzA6-0001db-At
	for classpath@gnu.org; Tue, 06 Jul 2004 19:15:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhzA4-0001cp-IM
	for classpath@gnu.org; Tue, 06 Jul 2004 19:15:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhzA4-0001cm-E6
	for classpath@gnu.org; Tue, 06 Jul 2004 19:15:40 -0400
Received: from [216.102.217.178] (helo=avtrex.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1Bhz7x-0000X9-Vt; Tue, 06 Jul 2004 19:13:30 -0400
Received: from avtrex.com ([192.168.0.111] RDNS failed) by avtrex.com with
	Microsoft SMTPSVC(5.0.2195.6713); Tue, 6 Jul 2004 16:11:50 -0700
Message-ID: <40EB3147.3070602@avtrex.com>
Date: Tue, 06 Jul 2004 16:09:59 -0700
From: David Daney <ddaney@avtrex.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bryce McKinlay <mckinlay@redhat.com>
References: <1089082387.3020.35.camel@localhost.localdomain>	
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com>	 <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com>
	<1089153558.4640.32.camel@lyta.haphazard.org>
	<40EB2DA3.2010703@redhat.com>
In-Reply-To: <40EB2DA3.2010703@redhat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 06 Jul 2004 23:11:50.0542 (UTC)
	FILETIME=[9E5AB2E0:01C463AE]
Cc: cbj@gnu.org, Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 23:15:42 -0000

Bryce McKinlay wrote:
> C. Brian Jones wrote:
> 
> 
>>On Tue, 2004-07-06 at 12:22, David Daney wrote:
>>
>> 
>>
>>
>>>If don't like the idiom new InternalError().initCause(), then add a
>>>constructor to InternalError (and perhaps Error also) so that you can
>>>pass the cause as a constructor parameter.
>>>   
>>>
>>
>>As pointed out, Classpath does not add to the published, public, API of
>>the core classes intentionally for compatibility.  I too think
>>RuntimeException would be incorrect in these situations, clearly an
>>error should be thrown instead that indicates the dire situation the
>>runtime is now in and the need to fix a potential library bug.  The use
>>of initCause() would seem appropriate if a cause exists.  
>>
>>While applications can recover from many forms (maybe all)
>>RuntimeExceptions, it is probably impossible to recover from
>>InternalErrors.
>>
> 
> 
> If a library call failed because of an internal bug that results in a 
> RuntimeException being thrown, how is that different from a library call 
> that fails because of an internal bug that causes, for example, 
> NullPointerException (which extends RuntimeException) to be thrown?
> 

Many event loops have the form

for(;;) {
   try { ... } catch(Exception) { /* recover */ }
}

If you throw a RuntimeException, then the application continues.

If you throw an Error, then the application stops.

That is the main difference between the two.  I have never seen it
advocated that event loops catch Errors, ignore them and continue.

If you look at Sun's documentation on ThreadDeath you can see another
reason for not catching Errors in this manner.  OutOfMemoryError is
another example of something that should probably not be caught and ignored.

AssertionErrors are another thing to take a look at.  The designers of
the language thought that if an assertion fails this should be an Error,
not a RuntimeException.

I look at it this way:  These are things that should never happen.  You
should probably be using "assert false", but if you want to wrap the
cause in the thrown error, you need some sort of Throwable where you can
specify this wrapping.  I don't want to downgrade to a RuntimeException
 because this will allow the application to continue.  Some sort of
Error is the only option.  If you don't want to use InternalError, use
the more generic Error, not RuntimeException.


> IMO, InternalError should be reserved for virtual machine and low-level 
> runtime errors, as suggested by the spec - not generic class library 
> bugs as is the case here. InernalError also suggests to me a more 
> serious bug than what could be occuring in these situations - ie that 
> something is seriously screwed up with the internal state of the 
> runtime, whereas a RuntimeException just means that the call failed due 
> to a bug in a peice of library code, which is what would be happening 
> here if these exceptions ever got thrown.
> 
> Its something of a moot point whether an application should be able to 
> recover from these or not - they are errors that can/should never 
> happen. Even so, it is certainly possible to imagine applications where 
> continuing after a failed library call is preferrable to not being able 
> to continue at all.
> 
> Regards
> 
> Bryce
> 





From MAILER-DAEMON Tue Jul 06 19:23:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhzHH-0004Zy-0A
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 19:23:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhzHF-0004Zt-Fi
	for classpath@gnu.org; Tue, 06 Jul 2004 19:23:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhzHD-0004Zh-V5
	for classpath@gnu.org; Tue, 06 Jul 2004 19:23:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhzHD-0004Ze-Qv
	for classpath@gnu.org; Tue, 06 Jul 2004 19:23:03 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhzEx-0001kS-VS
	for classpath@gnu.org; Tue, 06 Jul 2004 19:20:44 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BhzEa-0001rG-00
	for <classpath@gnu.org>; Wed, 07 Jul 2004 01:20:20 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-ovP9rigvsnGVBS6CsC+K"
Message-Id: <1089156012.11894.81.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 07 Jul 2004 01:20:12 +0200
Subject: 0.10 release status 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: Tue, 06 Jul 2004 23:23:05 -0000


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

Hi all,

A little update. We are almost, really ready. But I forgot how much time
generating the API doc takes. And I hadn't counted on the Americans
taking the Monday off. Silly, inconsiderate European...

Quickly talked to Steven Augart on irc and we got JikesRVM working much
better with classpath-0.10-pre1 out of the box now. But still there is
some trouble with AWT programs. He will try to look into this. If we
have something simple and easy tomorrow then I like to get it in before
we release. But if it will be much work then we are better of just
releasing as is. (Next release again in two months. I am sure they will
catch up.)

Also happy to say that some testing by Michael Koch showed the
gcjwebplugin working out of the box with the 0.10 pre-release snapshot!
Although there are certainly still lots of bugs in our AWT
implementation it does work for some random applets out there.

Both GNU Crypto and Jessie compile and seem to work, but I didn't do
extensive testing. (Had hoped to get https connections working
automatically with our applet viewer, but unfortunately hit a bug in=20
Jessie X509Certificate it seems.)

I also quickly tried out inetlib to see if that works correctly.
We do automatically pick up the URLHandlers provided by inetlib, but not
everything works correctly yet. This is one blocking issue:
https://savannah.gnu.org/bugs/?func=3Ddetailitem&item_id=3D8991
In general URL.getContent() seems not to work properly.

But all in all we are not in a bad shape.

Cheers,

Mark

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

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

iD8DBQBA6zOsxVhZCJWr9QwRAsaSAJ9HHUbRWn4DovlxAfT8upb4UhMSsQCfZSI/
RZO5eDUTbc/gXNppRRziHCI=
=1oCe
-----END PGP SIGNATURE-----

--=-ovP9rigvsnGVBS6CsC+K--




From MAILER-DAEMON Tue Jul 06 19:26:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhzKI-00050m-Tm
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 19:26:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhzKG-0004z2-2N
	for classpath@gnu.org; Tue, 06 Jul 2004 19:26:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhzKD-0004xz-2w
	for classpath@gnu.org; Tue, 06 Jul 2004 19:26:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhzKC-0004xp-WB
	for classpath@gnu.org; Tue, 06 Jul 2004 19:26:09 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BhzI5-0002Ek-Fi; Tue, 06 Jul 2004 19:23:57 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i66NNte1008787;
	Tue, 6 Jul 2004 19:23:55 -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 i66NNs002066; 
	Tue, 6 Jul 2004 19:23:54 -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
	i66NNsvU019822; Tue, 6 Jul 2004 19:23:54 -0400
Message-ID: <40EB348A.6010202@redhat.com>
Date: Tue, 06 Jul 2004 19:23:54 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: David Daney <ddaney@avtrex.com>
References: <1089082387.3020.35.camel@localhost.localdomain>	
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com>	 <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com>
	<1089153558.4640.32.camel@lyta.haphazard.org>
	<40EB2DA3.2010703@redhat.com> <40EB3147.3070602@avtrex.com>
In-Reply-To: <40EB3147.3070602@avtrex.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: cbj@gnu.org, Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 23:26:12 -0000

David Daney wrote:

>>If a library call failed because of an internal bug that results in a 
>>RuntimeException being thrown, how is that different from a library call 
>>that fails because of an internal bug that causes, for example, 
>>NullPointerException (which extends RuntimeException) to be thrown?
>>
>>    
>>
>
>Many event loops have the form
>
>for(;;) {
>   try { ... } catch(Exception) { /* recover */ }
>}
>
>If you throw a RuntimeException, then the application continues.
>
>If you throw an Error, then the application stops.
>
>That is the main difference between the two.  I have never seen it
>advocated that event loops catch Errors, ignore them and continue.
>  
>

I understand this. But why shouldn't an application be allowed to 
continue after a failed library call? My earlier point stands: What is 
the difference between a buggy method that throws a NullPointerException 
and a buggy method that throws a RuntimeException? None, IMO.

Its up to the application author to determine how robust their 
application must be - as class library developers we should not try to 
force the application to shut down just because we wrote a buggy 
implementation of something. If Errors are not caught, then 
InternalError should be used for problems that are so bad that the 
application could not possibly continue.

The AssertionError case is different, because assertions are typically 
disabled in production systems.

Regards

Bryce




From MAILER-DAEMON Tue Jul 06 19:55:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BhzmF-0006pu-9l
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 19:55:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BhzmD-0006pf-L2
	for classpath@gnu.org; Tue, 06 Jul 2004 19:55:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BhzmC-0006oz-BU
	for classpath@gnu.org; Tue, 06 Jul 2004 19:55:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BhzmC-0006ou-1Z
	for classpath@gnu.org; Tue, 06 Jul 2004 19:55:04 -0400
Received: from [209.226.175.54] (helo=tomts10-srv.bellnexxia.net)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1Bhzjj-0006ZO-NS; Tue, 06 Jul 2004 19:52:32 -0400
Received: from [192.168.2.40] ([65.92.212.194]) by tomts10-srv.bellnexxia.net
	(InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP
	id <20040706235230.RYXN6357.tomts10-srv.bellnexxia.net@[192.168.2.40]>; 
	Tue, 6 Jul 2004 19:52:30 -0400
Message-ID: <40EB39C0.3070004@mail.mcgill.ca>
Date: Tue, 06 Jul 2004 19:46:08 -0400
From: Chris Pickett <chris.pickett@mail.mcgill.ca>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040509)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bryce McKinlay <mckinlay@redhat.com>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com> <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com>
	<1089153558.4640.32.camel@lyta.haphazard.org>
	<40EB2DA3.2010703@redhat.com>
In-Reply-To: <40EB2DA3.2010703@redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: David Daney <ddaney@avtrex.com>, cbj@gnu.org,
	Ranjit Mathew <rmathew@gmail.com>, java-patches@gcc.gnu.org,
	gnustuff@thisiscool.com, classpath@gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2004 23:55:06 -0000

Bryce McKinlay wrote:
> C. Brian Jones wrote:
> 
> 
>>On Tue, 2004-07-06 at 12:22, David Daney wrote:
>>
>> 
>>
>>
>>>If don't like the idiom new InternalError().initCause(), then add a
>>>constructor to InternalError (and perhaps Error also) so that you can
>>>pass the cause as a constructor parameter.
>>>   
>>>
>>
>>As pointed out, Classpath does not add to the published, public, API of
>>the core classes intentionally for compatibility.  I too think
>>RuntimeException would be incorrect in these situations, clearly an
>>error should be thrown instead that indicates the dire situation the
>>runtime is now in and the need to fix a potential library bug.  The use
>>of initCause() would seem appropriate if a cause exists.  
>>
>>While applications can recover from many forms (maybe all)
>>RuntimeExceptions, it is probably impossible to recover from
>>InternalErrors.
>>
> 
> 
> If a library call failed because of an internal bug that results in a 
> RuntimeException being thrown, how is that different from a library call 
> that fails because of an internal bug that causes, for example, 
> NullPointerException (which extends RuntimeException) to be thrown?
> 
> IMO, InternalError should be reserved for virtual machine and low-level 
> runtime errors, as suggested by the spec - not generic class library 
> bugs as is the case here. InernalError also suggests to me a more 
> serious bug than what could be occuring in these situations - ie that 
> something is seriously screwed up with the internal state of the 
> runtime, whereas a RuntimeException just means that the call failed due 
> to a bug in a peice of library code, which is what would be happening 
> here if these exceptions ever got thrown.
> 
> Its something of a moot point whether an application should be able to 
> recover from these or not - they are errors that can/should never 
> happen. Even so, it is certainly possible to imagine applications where 
> continuing after a failed library call is preferrable to not being able 
> to continue at all.

Hi all,

Okay, I'll try again.  Joshua Bloch wrote a book called Effective Java 
that talks about best practices for Java programming, including those 
used by his team when implementing the Sun class libraries.  If you look 
at the extremely helpful and pertinent discussion in Chapter 8:

1) There are three kinds of exceptions, checked (subclass of Exception), 
unchecked runtime exceptions (subclass of RuntimeException), and 
unchecked errors (subclass of Error).  There is no reason to use another 
kind of exception, ever.

2) The user is expected to recover from checked exceptions, and they 
should be declared with the throws keyword, and documented with @throws. 
  The user is not expected to recover from unchecked exceptions (Error 
and RuntimeException), and methods throwing them should never declare 
that they do with the throws keyword, but should still use the @throws 
Javadoc tag.

3) RuntimeException's are what you should throw if there is a 
programming error, including if it's in the class libraries.  By strong 
convention, Error's are reserved for the JVM only (Bloch gives two 
references).  The JLS does not mandate this.

4) Always throw the most specific / descriptive exception possible, and 
try to stick to the standards for an API.

5) Some good RuntimeException examples as used by the class libraries:

IllegalArgumentException: for inappropriate parameter values
IllegalStateException: if the receiver is not in the right state
NullPointerException: non-null parameter expected
IndexOutOfBoundsException: out of bounds parameter
ConcurrentModificationException: prohibited conc. modif. detected
UnsupportedOperationException: method not supported for object

Based on the above, I would suggest IllegalStateException for the 
File.toURI() code snippet in question (just as in the API File(URI uri) 
throws IllegalArgumentException if the preconditions on the parameter do 
not hold).  I would also suggest UnsupportedOperationException rather 
than NullPointerException for stub methods (but of course as discussed 
stubs are bad in the first place).  If you read the chapter, you'll find 
it agrees strongly with Bryce's point of view.  IMO, Bloch's advice is 
very applicable since he's actually reflecting on years of experience 
implementing the exact same API.  Please try and read this book!

HTH,
Chris







From MAILER-DAEMON Tue Jul 06 21:24:19 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bi1AY-0006oL-Qe
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 21:24:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bi1AX-0006na-OS
	for classpath@gnu.org; Tue, 06 Jul 2004 21:24:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bi1AV-0006ma-Ur
	for classpath@gnu.org; Tue, 06 Jul 2004 21:24:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bi1AV-0006mO-TT
	for classpath@gnu.org; Tue, 06 Jul 2004 21:24:15 -0400
Received: from [207.189.223.52] (helo=email3.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bi17w-0003ML-1u
	for classpath@gnu.org; Tue, 06 Jul 2004 21:21:36 -0400
Received: (qmail 5109 invoked by uid 513); 7 Jul 2004 01:44:51 -0000
Received: from tromey@redhat.com by email3 by uid 504 with qmail-scanner-1.20 
	(clamscan: 0.65.  Clear:RC:1(204.144.239.253):. 
	Processed in 0.016753 secs); 07 Jul 2004 01:44:51 -0000
Received: from tf0253.peakpeak.com (HELO fleche.redhat.com) ([204.144.239.253])
	(envelope-sender <tromey@redhat.com>)
	by email3.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 7 Jul 2004 01:44:51 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 149DD4F82A5; Tue,  6 Jul 2004 19:07:31 -0600 (MDT)
To: Guilhem Lavaux <guilhem@kaffe.org>
References: <40EAE5EB.7090704@kaffe.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 06 Jul 2004 19:07:31 -0600
In-Reply-To: <40EAE5EB.7090704@kaffe.org>
Message-ID: <871xjo4obw.fsf@fleche.redhat.com>
Lines: 23
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: jni.h fixes
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, 07 Jul 2004 01:24:18 -0000

>>>>> "Guilhem" == Guilhem Lavaux <guilhem@kaffe.org> writes:

Guilhem> * first, it is not compilable in C++ mode. I've fixed that by
Guilhem>   moving some ifdef block and adding a '}' to finish the
Guilhem>   'extern "C"' block.

Hmm, we should probably merge in the libgcj version again, there are
some minor ordering differences and whatnot here, and not for any
reason I can discern.

But this looks fine, I would say go ahead and check it in, if I come
up with a merge patch later I'll of course post it...

Guilhem> * second, I think the definition for JNI_CreateJavaVM is slightly
Guilhem>   wrong. Instead of
Guilhem> JNIEXPORT jint JNICALL JNI_CreateJavaVM (JavaVM **, JNIEnv **, void *);

I agree this would be preferable, but I think the spec argues against
it.

http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-12.html#JNI_CreateJavaVM

Tom



From MAILER-DAEMON Tue Jul 06 22:30:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bi2Cq-0001Z1-9p
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 22:30:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bi2Co-0001YB-Ae
	for classpath@gnu.org; Tue, 06 Jul 2004 22:30:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bi2Cl-0001XZ-Ob
	for classpath@gnu.org; Tue, 06 Jul 2004 22:30:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bi2Cl-0001X6-Jy
	for classpath@gnu.org; Tue, 06 Jul 2004 22:30:39 -0400
Received: from [207.189.223.52] (helo=email3.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bi2AS-0005HZ-MN
	for classpath@gnu.org; Tue, 06 Jul 2004 22:28:17 -0400
Received: (qmail 2266 invoked by uid 513); 7 Jul 2004 02:51:38 -0000
Received: from tromey@redhat.com by email3 by uid 504 with qmail-scanner-1.20 
	(clamscan: 0.65.  Clear:RC:1(204.144.239.253):. 
	Processed in 0.01714 secs); 07 Jul 2004 02:51:38 -0000
Received: from tf0253.peakpeak.com (HELO fleche.redhat.com) ([204.144.239.253])
	(envelope-sender <tromey@redhat.com>)
	by email3.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <cbj@gnu.org>; 7 Jul 2004 02:51:37 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id F3C3A4F82A5; Tue,  6 Jul 2004 20:14:19 -0600 (MDT)
To: cbj@gnu.org
References: <HLEBJDLEFEKDCJFKLDCEOEKCECAA.chenm@cs.man.ac.uk>
	<40EA7947.2090509@kaffe.org>
	<1089152147.4640.23.camel@lyta.haphazard.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 06 Jul 2004 20:14:19 -0600
In-Reply-To: <1089152147.4640.23.camel@lyta.haphazard.org>
Message-ID: <87wu1g36o4.fsf@fleche.redhat.com>
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: How to seperate the compilation of C source code and Java
	source code of 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: Wed, 07 Jul 2004 02:30:42 -0000

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

Brian> What is _the_ best and single free software java compiler to get behind
Brian> and use these days?  Which one has the best jacks test suite score?

Either jikes or the eclipse compiler.  I don't have results handy for
the latter.

Tom



From MAILER-DAEMON Tue Jul 06 23:13:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bi2rw-0005EM-1H
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 23:13:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bi2ru-0005Do-TY
	for classpath@gnu.org; Tue, 06 Jul 2004 23:13:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bi2rt-0005DB-26
	for classpath@gnu.org; Tue, 06 Jul 2004 23:13:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bi2rs-0005Cz-Ua
	for classpath@gnu.org; Tue, 06 Jul 2004 23:13:09 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bi2pZ-0003N0-JW; Tue, 06 Jul 2004 23:10:45 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by mx20.gnu.org with esmtp (Exim 4.34)
	id 1Bi2hp-0005uK-4Z; Tue, 06 Jul 2004 23:02:46 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6732Le1022009;
	Tue, 6 Jul 2004 23:02:21 -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 i6732L017010; 
	Tue, 6 Jul 2004 23:02:21 -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
	i6732KvU026527; Tue, 6 Jul 2004 23:02:20 -0400
Message-ID: <40EB67BC.4040106@redhat.com>
Date: Tue, 06 Jul 2004 23:02:20 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: cbj@gnu.org
References: <HLEBJDLEFEKDCJFKLDCEOEKCECAA.chenm@cs.man.ac.uk>	<40EA7947.2090509@kaffe.org>
	<1089152147.4640.23.camel@lyta.haphazard.org>
In-Reply-To: <1089152147.4640.23.camel@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: How to seperate the compilation of C source code and Java	source
 code of CLASSPATH?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 03:13:11 -0000

C. Brian Jones wrote:

>What is _the_ best and single free software java compiler to get behind
>and use these days?  Which one has the best jacks test suite score?
>  
>

Just guessing here: for jacks testsuite scores I think my money would 
still be on jikes, however ecj might be close. You can get an ecj that 
builds out of the box with gcj as part of RHUG.

ecj is very fast: it can build libgcj (over 2100 .java source files) 
from scratch in under 7 seconds on my P4 system.

Regards

Bryce




From MAILER-DAEMON Tue Jul 06 23:24:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bi32z-0000lt-V1
	for mharc-classpath@gnu.org; Tue, 06 Jul 2004 23:24:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bi32x-0000lJ-S1
	for classpath@gnu.org; Tue, 06 Jul 2004 23:24:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bi32w-0000ko-1J
	for classpath@gnu.org; Tue, 06 Jul 2004 23:24:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bi32v-0000kl-Un
	for classpath@gnu.org; Tue, 06 Jul 2004 23:24:33 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1Bi30O-00057O-FV; Tue, 06 Jul 2004 23:21:57 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i673LTij018001;
	Wed, 7 Jul 2004 13:21:29 +1000 (EST)
Message-Id: <200407070321.i673LTij018001@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Chris Pickett <chris.pickett@mail.mcgill.ca>
In-Reply-To: Message from Chris Pickett <chris.pickett@mail.mcgill.ca> 
	of "Tue, 06 Jul 2004 19:46:08 -0400." <40EB39C0.3070004@mail.mcgill.ca> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 07 Jul 2004 13:21:42 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.39 (DSTC)
Cc: crawley@piglet.dstc.edu.au, David Daney <ddaney@avtrex.com>, cbj@gnu.org,
	Ranjit Mathew <rmathew@gmail.com>, java-patches@gcc.gnu.org,
	gnustuff@thisiscool.com, classpath@gnu.org,
	Bryce McKinlay <mckinlay@redhat.com>
Subject: Re: Patch: merge File.toURI() from Classpath 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 03:24:36 -0000


For the record, grep tells me that Sun's JDK 1.4.2 class libraries
throws InternalError in 145 places.   Notwithstanding the wording of the
InternalError javadoc, Sun uses it extensively for library errors. In a
couple of cases, the comments that indicated that the developer thought
that InternalError was the wrong exception ... but used it anyway.

On the other hand, grep tells me that JDK 1.4.2 throws RuntimeException
in 157 places.

In the light of this confusion, I think that:

  1)  It is appropriate for Classpath to throw InternalError if there
      is no chance that the application can recover.

  2)  The Sun javadoc (which describes InternalError as "thrown to 
      indicate some unexpected internal error has occurred in the 
      Java Virtual Machine") is incorrect.

I'm going to submit a Sun bug report against the InternalError javadoc.
It will suggest that either they change the javadoc wording to match
current practice, or they define a new xxxError exception to be thrown
for library internal errors.

I'm also going to submit a bug report about the JDK's widespread abuse 
of RuntimeException.  IMO, they should either throw InternalError (or
its replacement) or they should define some appropriate subtypes of 
RuntimeException and throw those.

-- Steve







From MAILER-DAEMON Wed Jul 07 00:13:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bi3oQ-00074p-Kl
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 00:13:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bi3oO-00073n-My
	for classpath@gnu.org; Wed, 07 Jul 2004 00:13:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bi3oN-000730-4M
	for classpath@gnu.org; Wed, 07 Jul 2004 00:13:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bi3oN-00072x-13
	for classpath@gnu.org; Wed, 07 Jul 2004 00:13:35 -0400
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bi3mD-0003qH-JX
	for classpath@gnu.org; Wed, 07 Jul 2004 00:11:21 -0400
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i674BGPf020498; Wed, 7 Jul 2004 00:11:16 -0400 (EDT)
From: "C. Brian Jones" <cbj@gnu.org>
To: Chris Pickett <chris.pickett@mail.mcgill.ca>
In-Reply-To: <40EB39C0.3070004@mail.mcgill.ca>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com>
	<40EAC833.2040405@redhat.com> <40EAD1DB.8070202@avtrex.com>
	<1089153558.4640.32.camel@lyta.haphazard.org>
	<40EB2DA3.2010703@redhat.com> <40EB39C0.3070004@mail.mcgill.ca>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-wTvw+YWRI0cDgyXdWHar"
Message-Id: <1089173475.4640.37.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Wed, 07 Jul 2004 00:11:16 -0400
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: David Daney <ddaney@avtrex.com>, Ranjit Mathew <rmathew@gmail.com>,
	java-patches@gcc.gnu.org, gnustuff@thisiscool.com,
	classpath@gnu.org, Bryce McKinlay <mckinlay@redhat.com>
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 04:13:36 -0000


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

On Tue, 2004-07-06 at 19:46, Chris Pickett wrote:

>=20
> 3) RuntimeException's are what you should throw if there is a=20
> programming error, including if it's in the class libraries.  By strong=20
> convention, Error's are reserved for the JVM only (Bloch gives two=20
> references).  The JLS does not mandate this.

A few classes in Classpath are essentially JVM specific, does that make
them part of the JVM and would they throw Errors?  If all of Classpath
is not considered part of the JVM then I'll agree, use
RuntimeException.  Thanks for providing the summary btw.

Brian

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

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

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

iD8DBQBA63fjcEcmdY33uzYRAuT0AJ4/N9xopkbvfshkcNVndb9LpuvzDwCfe86q
oFA9s2IDIAyqy3ruv+1XBsg=
=kXny
-----END PGP SIGNATURE-----

--=-wTvw+YWRI0cDgyXdWHar--




From MAILER-DAEMON Wed Jul 07 00:38:36 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bi4Ca-0006lG-Lq
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 00:38:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bi4CZ-0006kF-Et
	for classpath@gnu.org; Wed, 07 Jul 2004 00:38:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bi4CY-0006jg-Hm
	for classpath@gnu.org; Wed, 07 Jul 2004 00:38:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bi4CY-0006jd-FT
	for classpath@gnu.org; Wed, 07 Jul 2004 00:38:34 -0400
Received: from [216.102.217.178] (helo=avtrex.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bi4AQ-00086x-Ek
	for classpath@gnu.org; Wed, 07 Jul 2004 00:36:22 -0400
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: base64
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Date: Tue, 6 Jul 2004 21:34:42 -0700
Message-ID: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF484@avtrex-server.hq.avtrex.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Patch: merge File.toURI() from Classpath 
Thread-Index: AcRj0U9jIJ5dVT2wQ16OjIDsGHWhQgACSLM3
From: "David Daney" <ddaney@avtrex.com>
To: "Stephen Crawley" <crawley@dstc.edu.au>,
	"Chris Pickett" <chris.pickett@mail.mcgill.ca>
Cc: crawley@piglet.dstc.edu.au, classpath@gnu.org, java-patches@gcc.gnu.org,
	Bryce McKinlay <mckinlay@redhat.com>
Subject: RE: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 04:38:35 -0000

U3RlcGhlbiBDcmF3bGV5IHdyaXRlczoNCj5JJ20gYWxzbyBnb2luZyB0byBzdWJtaXQgYSBidWcg
cmVwb3J0IGFib3V0IHRoZSBKREsncyB3aWRlc3ByZWFkIGFidXNlDQo+b2YgUnVudGltZUV4Y2Vw
dGlvbi4gIElNTywgdGhleSBzaG91bGQgZWl0aGVyIHRocm93IEludGVybmFsRXJyb3IgKG9yDQo+
aXRzIHJlcGxhY2VtZW50KSBvciB0aGV5IHNob3VsZCBkZWZpbmUgc29tZSBhcHByb3ByaWF0ZSBz
dWJ0eXBlcyBvZg0KPlJ1bnRpbWVFeGNlcHRpb24gYW5kIHRocm93IHRob3NlLg0KDQpJIGFncmVl
LiAgSU1ITyBSdW50aW1lRXhjZXB0aW9uIGV4aXN0cyBmb3IgZXhhY3RseSB0d28gcmVhc29uczoN
CiANCjEpICBUbyBiZSBzdWJjbGFzc2VkLg0KMikgIFRvIGJlIGNhdWdodC4NCiANCkl0IHNob3Vs
ZCBuZXZlciBiZSB0aHJvd24uDQogDQpJIGRvbid0IG11Y2ggbGlrZSByZWxpZ2lvdXMgd2Fycywg
YnV0IEkgYW0gc3R1Y2sgdXNpbmcgbGliZ2NqLiAgU28gSSBjYW4ndCBqdXN0IHdhbGsgYXdheS4N
CkkgbXVzdCBzdGFuZCBhbmQgZmlnaHQgZm9yIHdoYXQgSSBiZWxpZXZlIGluIQ0KIA0KRGF2aWQg
RGFuZXkNCg==



From MAILER-DAEMON Wed Jul 07 02:22:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bi5op-0002Qi-B1
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 02:22:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bi5ol-0002OK-Tg
	for classpath@gnu.org; Wed, 07 Jul 2004 02:22:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bi5ok-0002My-9h
	for classpath@gnu.org; Wed, 07 Jul 2004 02:22:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bi5ok-0002Mv-7f
	for classpath@gnu.org; Wed, 07 Jul 2004 02:22:06 -0400
Received: from [213.228.0.44] (helo=postfix3-1.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bi5mD-00078F-HR
	for classpath@gnu.org; Wed, 07 Jul 2004 02:19:29 -0400
Received: from kaffe.org (unknown [81.56.169.129])
	by postfix3-1.free.fr (Postfix) with ESMTP
	id 983FA173862; Wed,  7 Jul 2004 08:19:28 +0200 (CEST)
Message-ID: <40EB95EF.7040907@kaffe.org>
Date: Wed, 07 Jul 2004 08:19:27 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <40EAE5EB.7090704@kaffe.org> <871xjo4obw.fsf@fleche.redhat.com>
In-Reply-To: <871xjo4obw.fsf@fleche.redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: jni.h fixes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 06:22:08 -0000

Tom Tromey wrote:

>>>>>>"Guilhem" == Guilhem Lavaux <guilhem@kaffe.org> writes:
>>>>>>            
>>>>>>
>
>  
>
Hi Tom,

>Guilhem> * first, it is not compilable in C++ mode. I've fixed that by
>Guilhem>   moving some ifdef block and adding a '}' to finish the
>Guilhem>   'extern "C"' block.
>
>Hmm, we should probably merge in the libgcj version again, there are
>some minor ordering differences and whatnot here, and not for any
>reason I can discern.
>
>But this looks fine, I would say go ahead and check it in, if I come
>up with a merge patch later I'll of course post it...
>
>  
>
Fine. Checking it in now.

>Guilhem> * second, I think the definition for JNI_CreateJavaVM is slightly
>Guilhem>   wrong. Instead of
>Guilhem> JNIEXPORT jint JNICALL JNI_CreateJavaVM (JavaVM **, JNIEnv **, void *);
>
>I agree this would be preferable, but I think the spec argues against
>it.
>
>  
>
Ok. I'm reversing it.

>http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-12.html#JNI_CreateJavaVM
>
>  
>

Cheers,

Guilhem.



From MAILER-DAEMON Wed Jul 07 02:45:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bi6BZ-0001kY-Ii
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 02:45:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bi6BY-0001kF-SA
	for classpath@gnu.org; Wed, 07 Jul 2004 02:45:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bi6BX-0001jd-5X
	for classpath@gnu.org; Wed, 07 Jul 2004 02:45:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bi6BW-0001jW-Mt
	for classpath@gnu.org; Wed, 07 Jul 2004 02:45:38 -0400
Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bi695-0002Zu-Am
	for classpath@gnu.org; Wed, 07 Jul 2004 02:43:07 -0400
Received: from [192.168.2.40] ([65.94.84.47]) by tomts20-srv.bellnexxia.net
	(InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP
	id <20040707064306.LKWV26030.tomts20-srv.bellnexxia.net@[192.168.2.40]>;
	Wed, 7 Jul 2004 02:43:06 -0400
Message-ID: <40EB99FD.7010207@mail.mcgill.ca>
Date: Wed, 07 Jul 2004 02:36:45 -0400
From: Chris Pickett <chris.pickett@mail.mcgill.ca>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040509)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Daney <ddaney@avtrex.com>
References: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF484@avtrex-server.hq.avtrex.com>
In-Reply-To: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF484@avtrex-server.hq.avtrex.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: crawley@piglet.dstc.edu.au, Stephen Crawley <crawley@dstc.edu.au>,
	classpath@gnu.org, java-patches@gcc.gnu.org,
	Bryce McKinlay <mckinlay@redhat.com>
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 06:45:41 -0000

David Daney wrote:
> Stephen Crawley writes:
> 
>>I'm also going to submit a bug report about the JDK's widespread abuse
>>of RuntimeException.  IMO, they should either throw InternalError (or
>>its replacement) or they should define some appropriate subtypes of
>>RuntimeException and throw those.
> 
> 
> I agree.  IMHO RuntimeException exists for exactly two reasons:
>  
> 1)  To be subclassed.
> 2)  To be caught.
>  
> It should never be thrown.
>  
> I don't much like religious wars, but I am stuck using libgcj.  So I can't just walk away.
> I must stand and fight for what I believe in!

I don't think this constitutes a religious war, I just think ambiguity 
leads to problems.  So, taking everyone's comments into consideration, 
how about this as a set of guidelines for Classpath:

1) Treat RuntimeException as if it were abstract (although of course it 
cannot actually be made abstract because of user code).

2) If Sun throws a documented RuntimeException, throw the most 
appropriate subclass instead, and if nothing appropriate exists throw 
something like GNUClasspathException (needs deciding).  Track changes by 
Sun.

3) If Sun throws any other documented Throwable, including 
InternalError, do the same thing.  Users might depend on Sun's specific 
behaviour.  Track changes by Sun.

4) Otherwise, if you need to throw an exception, and it is strictly 
VM-related, throw an InternalError, since this appears to be the best / 
intended usage, as it is a subclass of VirtualMachineError.

5) Otherwise, if you need to throw an exception, and it is not strictly 
VM-related, and the user might have a hope of recovering, throw a 
subclass of RuntimeException, as per item (2).

6) Otherwise, throw something like UnrecoverableGNUClasspathError (needs 
deciding).  Use this if the application must always die.

7) Document using @throws and use the throws keyword as per Sun's API. 
If you document too much, this makes it difficult to adjust if Sun ever 
updates things, because users might rely on Classpath's old behaviour.

I think a step-by-step set of instructions like this helps.  Are there 
any major problems, or points that I missed, or is it generally okay?

Chris



From MAILER-DAEMON Wed Jul 07 03:00:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bi6PZ-0006VY-HJ
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 03:00:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bi6PX-0006VN-VY
	for classpath@gnu.org; Wed, 07 Jul 2004 03:00:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bi6PV-0006Ut-MY
	for classpath@gnu.org; Wed, 07 Jul 2004 03:00:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bi6PV-0006Uo-GL
	for classpath@gnu.org; Wed, 07 Jul 2004 03:00:05 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bi6NG-0004qq-5N
	for classpath@gnu.org; Wed, 07 Jul 2004 02:57:46 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i676vUij005028
	for <classpath@gnu.org>; Wed, 7 Jul 2004 16:57:30 +1000 (EST)
Message-Id: <200407070657.i676vUij005028@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: classpath@gnu.org
In-Reply-To: Message from Stephen Crawley <crawley@dstc.edu.au> of "Wed,
	07 Jul 2004 13:21:42 +1000."
	<200407070321.i673LTij018001@piglet.dstc.edu.au> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.39 (DSTC)
Date: Wed, 07 Jul 2004 16:57:44 +1000
Sender: crawley@dstc.edu.au
Subject: Re: Patch: merge File.toURI() from Classpath 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 07:00:08 -0000

Hi,

I wrote:
> I'm going to submit a Sun bug report against the InternalError
> javadoc. It will suggest that either they change the javadoc wording
> to match current practice, or they define a new xxxError exception to
> be thrown for library internal errors.

> I'm also going to submit a bug report about the JDK's widespread abuse
>  of RuntimeException.  IMO, they should either throw InternalError (or
> its replacement) or they should define some appropriate subtypes of
> RuntimeException and throw those. 

I've submitted both reports.   But the automatic reply suggests that it
will be 3 weeks before a human gets to look at them.

Does anyone know of a better / quicker way to get specification 
clarifications from Sun? 

-- Steve






From MAILER-DAEMON Wed Jul 07 04:53:14 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bi8Az-0007Zr-Qy
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 04:53:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bi8Ax-0007XM-Gc
	for classpath@gnu.org; Wed, 07 Jul 2004 04:53:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bi8Av-0007Vp-0Z
	for classpath@gnu.org; Wed, 07 Jul 2004 04:53:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bi8Au-0007VP-EI
	for classpath@gnu.org; Wed, 07 Jul 2004 04:53:08 -0400
Received: from [62.253.162.43] (helo=mta03-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bi88c-00061i-9D
	for classpath@gnu.org; Wed, 07 Jul 2004 04:50:46 -0400
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta03-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20040707084929.OEYE28581.mta03-svc.ntlworld.com@cuddles.cambridge.redhat.com>;
	Wed, 7 Jul 2004 09:49:29 +0100
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	i678oa2v000772; Wed, 7 Jul 2004 09:50:37 +0100
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id i678oZ1f000767;
	Wed, 7 Jul 2004 09:50:35 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16619.47451.180093.487993@cuddles.cambridge.redhat.com>
Date: Wed, 7 Jul 2004 09:50:35 +0100
From: Andrew Haley <aph@redhat.com>
To: Bryce McKinlay <mckinlay@redhat.com>
In-Reply-To: <40EAEAE8.5000508@redhat.com>
References: <1089082387.3020.35.camel@localhost.localdomain>
	<06OJYTEDOI4ZXRND8D0S31RCBJE4Y.40ea280e@p733>
	<40EA2CCA.9010507@gmail.com> <40EAC833.2040405@redhat.com>
	<40EAD1DB.8070202@avtrex.com> <40EAD79B.4050405@redhat.com>
	<40EAD9E0.1080102@avtrex.com> <40EADC3D.4040905@redhat.com>
	<40EAE5A4.9040009@avtrex.com> <40EAEAE8.5000508@redhat.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: Ranjit Mathew <rmathew@gmail.com>, gnustuff@thisiscool.com,
	classpath@gnu.org, David Daney <ddaney@avtrex.com>,
	java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 08:53:11 -0000

Bryce McKinlay writes:
 > David Daney wrote:
 >
 > >It doesn't seem like a good idea to use an unsuitable exception type
 > >just because its API has a slightly more elegant constructor.
 > >  
 > I do not believe that RuntimeException is unsuitable. It seems a better 
 > match than InternalError.

Yes, I agree.

Andrew.



From MAILER-DAEMON Wed Jul 07 13:32:50 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiGHq-0001NH-RY
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 13:32:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiGHp-0001Mo-7C
	for classpath@gnu.org; Wed, 07 Jul 2004 13:32:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiGHn-0001MP-IA
	for classpath@gnu.org; Wed, 07 Jul 2004 13:32:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiGHn-0001MM-FT
	for classpath@gnu.org; Wed, 07 Jul 2004 13:32:47 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BiGFJ-0007k0-6q
	for classpath@gnu.org; Wed, 07 Jul 2004 13:30:14 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i67HTwe1030362;
	Wed, 7 Jul 2004 13:29: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 i67HTu009968; 
	Wed, 7 Jul 2004 13:29:56 -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
	i67HTrvU022000; Wed, 7 Jul 2004 13:29:54 -0400
Message-ID: <40EC3311.2090906@redhat.com>
Date: Wed, 07 Jul 2004 13:29:53 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: Chris Pickett <chris.pickett@mail.mcgill.ca>
References: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF484@avtrex-server.hq.avtrex.com>
	<40EB99FD.7010207@mail.mcgill.ca>
In-Reply-To: <40EB99FD.7010207@mail.mcgill.ca>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: crawley@piglet.dstc.edu.au, Stephen Crawley <crawley@dstc.edu.au>,
	classpath@gnu.org, David Daney <ddaney@avtrex.com>,
	java-patches@gcc.gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 17:32:49 -0000

Chris Pickett wrote:

> 5) Otherwise, if you need to throw an exception, and it is not 
> strictly VM-related, and the user might have a hope of recovering, 
> throw a subclass of RuntimeException, as per item (2).
>
> 6) Otherwise, throw something like UnrecoverableGNUClasspathError 
> (needs deciding).  Use this if the application must always die.


I'm not sure that its worth making up new exception classes. It seems to 
me that serious internal VM/low-level runtime errors that are unlikely 
to be recoverable should throw InternalError, where as other errors 
should throw RuntimeException (or some subclass thereof). I agree that 
the type of exception should be specialized as much as possible, however 
there are many circumstances that simply do not fit into any of the 
available subclasses. In these situations I think RuntimeException is 
the best choice, so a blanket ban on throwing RuntimeException doesn't 
seem reasonable.

> 7) Document using @throws and use the throws keyword as per Sun's API. 
> If you document too much, this makes it difficult to adjust if Sun 
> ever updates things, because users might rely on Classpath's old 
> behaviour.


Again, these exceptions should be documented as part of our API 
documentation. They are exceptions that should _never_ happen. No call 
from the application should cause them to be thrown, thus they are not 
part of the API. If they are ever thrown, then there is a bug in 
classpath. Nevertheless, applications should have the ability to try and 
continue in the face of classpath bugs if they need fault tolerance.

Regards

Bryce.




From MAILER-DAEMON Wed Jul 07 14:19:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiH1I-00055y-90
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 14:19:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiH1F-00055S-Vz
	for classpath@gnu.org; Wed, 07 Jul 2004 14:19:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiH1E-00055C-DZ
	for classpath@gnu.org; Wed, 07 Jul 2004 14:19:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiH1D-00054v-UX
	for classpath@gnu.org; Wed, 07 Jul 2004 14:19:43 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BiGyK-0006jl-4r
	for classpath@gnu.org; Wed, 07 Jul 2004 14:16:44 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i67IGZe1010635;
	Wed, 7 Jul 2004 14:16:35 -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 i67IGY026269; 
	Wed, 7 Jul 2004 14:16:34 -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
	i67IGYvU023785; Wed, 7 Jul 2004 14:16:34 -0400
Message-ID: <40EC3E02.7040408@redhat.com>
Date: Wed, 07 Jul 2004 14:16:34 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: Bryce McKinlay <mckinlay@redhat.com>
References: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF484@avtrex-server.hq.avtrex.com>
	<40EB99FD.7010207@mail.mcgill.ca> <40EC3311.2090906@redhat.com>
In-Reply-To: <40EC3311.2090906@redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Stephen Crawley <crawley@dstc.edu.au>, crawley@piglet.dstc.edu.au,
	David Daney <ddaney@avtrex.com>, java-patches@gcc.gnu.org,
	classpath@gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 18:19:46 -0000

Bryce McKinlay wrote:

>
>> 7) Document using @throws and use the throws keyword as per Sun's 
>> API. If you document too much, this makes it difficult to adjust if 
>> Sun ever updates things, because users might rely on Classpath's old 
>> behaviour.
>
>
>
> Again, these exceptions should be documented as part of our API 
> documentation.


Oops - this should have read "these exceptions should NOT be documented ..."

Bryce




From MAILER-DAEMON Wed Jul 07 14:22:54 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiH4H-0005of-Qt
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 14:22:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiH4F-0005nJ-QG
	for classpath@gnu.org; Wed, 07 Jul 2004 14:22:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiH4D-0005lA-OG
	for classpath@gnu.org; Wed, 07 Jul 2004 14:22:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiH4D-0005ko-8b
	for classpath@gnu.org; Wed, 07 Jul 2004 14:22:49 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiH1i-0007GV-7y
	for classpath@gnu.org; Wed, 07 Jul 2004 14:20:14 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1BiH1f-0007Fk-00
	for <classpath@gnu.org>; Wed, 07 Jul 2004 20:20:11 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BiH1W-0007Dn-00; Wed, 07 Jul 2004 20:20:02 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i67IJxh7008866;
	Wed, 7 Jul 2004 20:19:59 +0200 (MEST)
Message-ID: <40EC3ECF.5020000@kaffe.org>
Date: Wed, 07 Jul 2004 20:19:59 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bryce McKinlay <mckinlay@redhat.com>
References: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF484@avtrex-server.hq.avtrex.com>	<40EB99FD.7010207@mail.mcgill.ca>
	<40EC3311.2090906@redhat.com>
In-Reply-To: <40EC3311.2090906@redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: Stephen Crawley <crawley@dstc.edu.au>, crawley@piglet.dstc.edu.au,
	David Daney <ddaney@avtrex.com>, java-patches@gcc.gnu.org,
	classpath@gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 18:22:52 -0000

Bryce McKinlay wrote:
> Again, these exceptions should be documented as part of our API 
> documentation. They are exceptions that should _never_ happen. No call 
> from the application should cause them to be thrown, thus they are not 
> part of the API. If they are ever thrown, then there is a bug in 
> classpath. Nevertheless, applications should have the ability to try and 
> continue in the face of classpath bugs if they need fault tolerance.

Can't we just use assertions for things that should never happen?

cheers,
dalibor topic



From MAILER-DAEMON Wed Jul 07 14:35:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiHGm-0002A3-I8
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 14:35:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiHGk-00029x-T4
	for classpath@gnu.org; Wed, 07 Jul 2004 14:35:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiHGk-00029Q-0N
	for classpath@gnu.org; Wed, 07 Jul 2004 14:35:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiHGj-00029N-Qr
	for classpath@gnu.org; Wed, 07 Jul 2004 14:35:45 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BiHEc-0000ms-F1
	for classpath@gnu.org; Wed, 07 Jul 2004 14:33:34 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i67IXPe1015069;
	Wed, 7 Jul 2004 14:33:25 -0400
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i67IXK032292; 
	Wed, 7 Jul 2004 14:33:20 -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
	i67IXGvU024389; Wed, 7 Jul 2004 14:33:17 -0400
Message-ID: <40EC41EC.80900@redhat.com>
Date: Wed, 07 Jul 2004 14:33:16 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: Dalibor Topic <robilad@kaffe.org>
References: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF484@avtrex-server.hq.avtrex.com>	<40EB99FD.7010207@mail.mcgill.ca>
	<40EC3311.2090906@redhat.com> <40EC3ECF.5020000@kaffe.org>
In-Reply-To: <40EC3ECF.5020000@kaffe.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Stephen Crawley <crawley@dstc.edu.au>, crawley@piglet.dstc.edu.au,
	David Daney <ddaney@avtrex.com>, java-patches@gcc.gnu.org,
	classpath@gnu.org
Subject: Re: Patch: merge File.toURI() from Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 18:35:47 -0000

Dalibor Topic wrote:

> Bryce McKinlay wrote:
>
>> Again, these exceptions should be documented as part of our API 
>> documentation. They are exceptions that should _never_ happen. No 
>> call from the application should cause them to be thrown, thus they 
>> are not part of the API. If they are ever thrown, then there is a bug 
>> in classpath. Nevertheless, applications should have the ability to 
>> try and continue in the face of classpath bugs if they need fault 
>> tolerance.
>
>
> Can't we just use assertions for things that should never happen?


In this case I think its better not to, because assertions may be 
disabled in production builds. In this case we're just rethrowing 
exceptions that occured within classpath, and although these exceptions 
arn't supposed to happen, we _do_ want to know about them if they do.

On the other hand, I think assertions are the best bet in cases where 
the check itself makes the code more expensive, and you want to add some 
extra sanity tests to debug builds.

Regards

Bryce




From MAILER-DAEMON Wed Jul 07 17:59:22 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiKRm-0005Il-0g
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 17:59:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiKRk-0005Ig-KV
	for classpath@gnu.org; Wed, 07 Jul 2004 17:59:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiKRi-0005IU-TW
	for classpath@gnu.org; Wed, 07 Jul 2004 17:59:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiKRi-0005IR-R4
	for classpath@gnu.org; Wed, 07 Jul 2004 17:59:18 -0400
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiKPK-0008To-R1
	for classpath@gnu.org; Wed, 07 Jul 2004 17:56:51 -0400
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i67Lu8W113340 for <classpath@gnu.org>; Wed, 7 Jul 2004 17:56:09 -0400
Received: from augart-tp23.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004)
	with ESMTP id i67LumL38350; Wed, 7 Jul 2004 17:56:48 -0400
Received: from augart-tp23.watson.ibm.com (localhost [127.0.0.1])
	by augart-tp23.watson.ibm.com (Postfix) with ESMTP
	id C97FECD3C1; Wed,  7 Jul 2004 17:56:32 -0400 (EDT)
Received: (from augart@localhost)
	by augart-tp23.watson.ibm.com (8.12.8/8.12.8/Submit) id i67LuVS3012753; 
	Wed, 7 Jul 2004 17:56:31 -0400
Date: Wed, 7 Jul 2004 17:56:31 -0400
Message-Id: <200407072156.i67LuVS3012753@augart-tp23.watson.ibm.com>
From: Steven Augart <augart@watson.ibm.com>
To: classpath@gnu.org, jikesrvm-core@www-124.southbury.usf.ibm.com
Cc: 
Subject: classpath pre-0.10, Jikes RVM, and AWT
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 07 Jul 2004 21:59:20 -0000

There seems to be an unfortunate interaction between Classpath
pre-0.10, Jikes RVM, and AWT.  When I run a simple test program, using
a Jikes RVM "prototype" build linked with Classpath's current CVS
head, I get the errors:

   1[7] VM_Lock: unlock error: thin lock word =  0x00000000
   1[7] VM_Lock: unlock error: thin lock word =  0xa0288da8
   JikesRVM: ../../../../classpath/native/jni/gtk-peer/gthread-jni.c:500: rethrow: 
   Assertion `cause' failed.
   Aborted (core dumped)

The same program runs fine if I link Jikes RVM against classpath
0.08.

The same problem occurs with a prototype-opt build (not much of a
surprise), eh?

This message seems to be indicating that there is some sort of memory
corruption going on.  (The Jikes RVM thin-locking code, which is
rather finicky, hasn't been touched in months.)  

Mark Wielaard discovered the problem, and I thank him for this.  Two
major possiblities come to mind:

  1) There some problem that has been recently introduced, with
     Classpath's C code (AWT), that is corrupting memory.  Jikes RVM
     detects the problem; it should affect other VMs subtly too.

  2) There's a previously undetected memory corrupting bug in Jikes RVM.

I am still attempting to further locate the source of the corruption
(have been doing so for about an hour and a half so far).  I do not
know how long this will take to figure out.

--Steve Augart



From MAILER-DAEMON Wed Jul 07 18:01:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiKUB-0005Ti-HX
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 18:01:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiKU9-0005Sl-De
	for classpath@gnu.org; Wed, 07 Jul 2004 18:01:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiKU8-0005SR-Sx
	for classpath@gnu.org; Wed, 07 Jul 2004 18:01:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiKU8-0005SH-PE
	for classpath@gnu.org; Wed, 07 Jul 2004 18:01:48 -0400
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiKS0-0000Oj-KB
	for classpath@gnu.org; Wed, 07 Jul 2004 17:59:36 -0400
Received: from sp1n294en1.watson.ibm.com (sp1n294en1.watson.ibm.com
	[129.34.20.40])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i67LwsW59894 for <classpath@gnu.org>; Wed, 7 Jul 2004 17:58:54 -0400
Received: from sp1n294en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004)
	with ESMTP id i67LxYl54124
	for <classpath@gnu.org>; Wed, 7 Jul 2004 17:59:34 -0400
Received: from [9.49.154.231] (sig-9-49-154-231.mts.ibm.com [9.49.154.231])
	by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004)
	with ESMTP id i67LxWx54118; Wed, 7 Jul 2004 17:59:33 -0400
Message-ID: <40EC7236.5020105@watson.ibm.com>
Date: Wed, 07 Jul 2004 17:59:18 -0400
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616
X-Accept-Language: ast, gl, en-us, en, it, eo, pt, es-ec, es-us, es, fr, de, el
MIME-Version: 1.0
To: jikesrvm-core@www-124.southbury.usf.ibm.com
References: <OFD0CFC27A.2B1FA16E-ON85256EC7.007D37F8-85256EC7.007E341B@us.ibm.com>
	<1089052544.18083.61.camel@localhost>
In-Reply-To: <1089052544.18083.61.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: [Jikesrvm-core] Re: classpath-0.10-pre1 available
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 07 Jul 2004 22:01:49 -0000

Mark Wielaard wrote:

> What also doesn't work is eclipse, neither 3.0 nor 2.1.2. I know 2.1.2
> used to work in the past. 

I will note here that much of Mark's trouble was because Jikes RVM's 
select() and poll() hijacking fail when 
RVM_FOR_SINGLE_VIRTUAL_PROCESSOR is set.  We had an IRC chat yesterday 
and Eclipse 2.1.2 now works for him.  Eclipse 3.0 will require some 
additional implementation work on Jikes RVM.

--Steve Augart
-- 
Steven Augart

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



From MAILER-DAEMON Wed Jul 07 19:42:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiM3U-00067f-Hv
	for mharc-classpath@gnu.org; Wed, 07 Jul 2004 19:42:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiM3R-00066n-0C
	for classpath@gnu.org; Wed, 07 Jul 2004 19:42:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiM3P-00066U-QN
	for classpath@gnu.org; Wed, 07 Jul 2004 19:42:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiM3P-00066K-Lc
	for classpath@gnu.org; Wed, 07 Jul 2004 19:42:19 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiM1I-0007F7-Ln
	for classpath@gnu.org; Wed, 07 Jul 2004 19:40:09 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i67NdmJH003765;
	Thu, 8 Jul 2004 09:39:48 +1000 (EST)
Message-Id: <200407072339.i67NdmJH003765@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Bryce McKinlay <mckinlay@redhat.com>
In-Reply-To: Message from Bryce McKinlay <mckinlay@redhat.com> 
	of "Wed, 07 Jul 2004 14:33:16 -0400." <40EC41EC.80900@redhat.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 08 Jul 2004 09:40:01 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.39 (DSTC)
Cc: classpath@gnu.org, Chris Pickett <chris.pickett@mail.mc>
Subject: Re: Patch: merge File.toURI() from Classpath 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2004 23:42:21 -0000



mckinlay@redhat.com said:
> Dalibor Topic wrote:
> > Can't we just use assertions for things that should never happen?

> In this case I think its better not to, because assertions may be
> disabled in production builds. 

Ah ... but we could avoid that by explicitly throwing AssertionError.

But my preference is to throw InternalError.  The current large scale
use of InternalError in Sun's implementation makes their javadoc wrong.
In the light of this, InternalError is in fact a good fit.

Aside: if you want Sun to fix their abuse of RuntimeException, it
has Bug/RFE Id: 5071860 on the Sun Bug Parade.  In a day or so you
should be able to see it / vote for it.

-- Steve







From MAILER-DAEMON Thu Jul 08 06:29:30 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiW9h-0006as-QE
	for mharc-classpath@gnu.org; Thu, 08 Jul 2004 06:29:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiW9f-0006aS-9v
	for classpath@gnu.org; Thu, 08 Jul 2004 06:29:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiW9d-0006aE-9c
	for classpath@gnu.org; Thu, 08 Jul 2004 06:29:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1BiW9d-0006aB-34; Thu, 08 Jul 2004 06:29:25 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BiW7P-0007Ds-DB; Thu, 08 Jul 2004 06:27:07 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BiW6m-00079W-00; Thu, 08 Jul 2004 12:26:28 +0200
From: Mark Wielaard <mark@klomp.org>
To: Ito Kazumitsu <kaz@maczuka.gcd.org>
In-Reply-To: <20040622215345.1941.qmail@maczuka.gcd.org>
References: <20040615223317.63173.qmail@maczuka.gcd.org>
	<20040622215345.1941.qmail@maczuka.gcd.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-P4J2uIxOrSS3yYrfymwp"
Message-Id: <1089282380.21380.68.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 08 Jul 2004 12:26:20 +0200
Cc: classpath@gnu.org, commit-classpath@gnu.org
Subject: Re: Bug: java/text/MessageFormat.java
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 08 Jul 2004 10:29:27 -0000


--=-P4J2uIxOrSS3yYrfymwp
Content-Type: multipart/mixed; boundary="=-QN87cPDFUuehijlDKgPp"


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

Hi,

On Tue, 2004-06-22 at 23:53, Ito Kazumitsu wrote:
> >>>>> ":" =3D=3D Ito Kazumitsu <kaz@maczuka.gcd.org> writes:
> :> As reported to the Kaffe mailing list:
> :> http://www.kaffe.org/pipermail/kaffe/2004-June/046657.html
> :> java/text/MessageFormat.java has a bug.
> :>=20
> :> This is my suggested patch.
>=20
> In addition to that, I found another difference between the API
> document and Classpath's implementation.
>=20
> I made some test cases for checking these bugs and updated the
> mauve test: gnu/testlet/java/text/MessageFormat/format.java.
>=20
> My patch follows.
>=20
> Changelog entry:
> 2004-06-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
>=20
> 	* java/text/MessageFormat.java
> 	(formatInternal): Append "{n}" if argument n is unavailable.
> 	(format(Object, StringBuffer, FieldPosition)): This should be
> 	equivalent to format(Object[], StringBuffer, FieldPosition).

I have just checked this in with a small API update for that last method
since at first I thought the original implementation was correct. And I
updated the copyright year list. (diff attached).

Sorry for the long delay. I had already reviewed it but forgot to apply
it. With this almost all Mauve java.text tests succeed! And no new
regressions were introduced.

Thanks,

Mark

--=-QN87cPDFUuehijlDKgPp
Content-Disposition: inline; filename=MessageFormat.diff
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name=MessageFormat.diff; charset=ISO-8859-1

SW5kZXg6IGphdmEvdGV4dC9NZXNzYWdlRm9ybWF0LmphdmENCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxl
OiAvY3Zzcm9vdC9jbGFzc3BhdGgvY2xhc3NwYXRoL2phdmEvdGV4dC9NZXNzYWdlRm9ybWF0Lmph
dmEsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjEwDQpkaWZmIC11IC1yMS4xMCBNZXNzYWdlRm9y
bWF0LmphdmENCi0tLSBqYXZhL3RleHQvTWVzc2FnZUZvcm1hdC5qYXZhCTI4IEFwciAyMDA0IDE5
OjE3OjA5IC0wMDAwCTEuMTANCisrKyBqYXZhL3RleHQvTWVzc2FnZUZvcm1hdC5qYXZhCTggSnVs
IDIwMDQgMTA6MjY6MDIgLTAwMDANCkBAIC0xLDUgKzEsNSBAQA0KIC8qIE1lc3NhZ2VGb3JtYXQu
amF2YSAtIExvY2FsaXplZCBtZXNzYWdlIGZvcm1hdHRpbmcuDQotICAgQ29weXJpZ2h0IChDKSAx
OTk5LCAyMDAxLCAyMDAyIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgSW5jLg0KKyAgIENvcHly
aWdodCAoQykgMTk5OSwgMjAwMSwgMjAwMiwgMjAwNCBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb24s
IEluYy4NCiANCiBUaGlzIGZpbGUgaXMgcGFydCBvZiBHTlUgQ2xhc3NwYXRoLg0KIA0KQEAgLTE1
Nyw3ICsxNTcsNyBAQA0KICAgICAgKiBUaGlzIGlzIHRoZSBhdHRyaWJ1dGUgc2V0IGZvciBhbGwg
Y2hhcmFjdGVycyBwcm9kdWNlZA0KICAgICAgKiBieSBNZXNzYWdlRm9ybWF0IGR1cmluZyBhIGZv
cm1hdHRpbmcuDQogICAgICAqLw0KLSAgICBwdWJsaWMgc3RhdGljIGZpbmFsIE1lc3NhZ2VGb3Jt
YXQuRmllbGQgQVJHVU1FTlQgPSBuZXcgRmllbGQoImFyZ3VtZW50Iik7DQorICAgIHB1YmxpYyBz
dGF0aWMgZmluYWwgTWVzc2FnZUZvcm1hdC5GaWVsZCBBUkdVTUVOVCA9IG5ldyBNZXNzYWdlRm9y
bWF0LkZpZWxkKCJhcmd1bWVudCIpOw0KIA0KICAgICAvLyBGb3IgZGVzZXJpYWxpemF0aW9uDQog
ICAgIHByaXZhdGUgRmllbGQoKQ0KQEAgLTQxNCwxMCArNDE0LDEzIEBADQogDQogICAgIGZvciAo
aW50IGkgPSAwOyBpIDwgZWxlbWVudHMubGVuZ3RoOyArK2kpDQogICAgICAgew0KLQlpZiAoZWxl
bWVudHNbaV0uYXJnTnVtYmVyID49IGFyZ3VtZW50cy5sZW5ndGgpDQotCSAgdGhyb3cgbmV3IEls
bGVnYWxBcmd1bWVudEV4Y2VwdGlvbigiTm90IGVub3VnaCBhcmd1bWVudHMgZ2l2ZW4iKTsNCisJ
T2JqZWN0IHRoaXNBcmcgPSBudWxsOw0KKwlib29sZWFuIHVuYXZhaWxhYmxlID0gZmFsc2U7DQor
CWlmIChhcmd1bWVudHMgPT0gbnVsbCB8fCBlbGVtZW50c1tpXS5hcmdOdW1iZXIgPj0gYXJndW1l
bnRzLmxlbmd0aCkNCisJICB1bmF2YWlsYWJsZSA9IHRydWU7DQorCWVsc2UNCisJICB0aGlzQXJn
ID0gYXJndW1lbnRzW2VsZW1lbnRzW2ldLmFyZ051bWJlcl07DQogDQotCU9iamVjdCB0aGlzQXJn
ID0gYXJndW1lbnRzW2VsZW1lbnRzW2ldLmFyZ051bWJlcl07DQogCUF0dHJpYnV0ZWRDaGFyYWN0
ZXJJdGVyYXRvciBpdGVyYXRvciA9IG51bGw7DQogDQogCUZvcm1hdCBmb3JtYXR0ZXIgPSBudWxs
Ow0KQEAgLTQyNSwyMiArNDI4LDI3IEBADQogCWlmIChmcCAhPSBudWxsICYmIGkgPT0gZnAuZ2V0
RmllbGQoKSAmJiBmcC5nZXRGaWVsZEF0dHJpYnV0ZSgpID09IEZpZWxkLkFSR1VNRU5UKQ0KIAkg
IGZwLnNldEJlZ2luSW5kZXgoYXBwZW5kQnVmLmxlbmd0aCgpKTsNCiANCi0JaWYgKGVsZW1lbnRz
W2ldLnNldEZvcm1hdCAhPSBudWxsKQ0KLQkgIGZvcm1hdHRlciA9IGVsZW1lbnRzW2ldLnNldEZv
cm1hdDsNCi0JZWxzZSBpZiAoZWxlbWVudHNbaV0uZm9ybWF0ICE9IG51bGwpDQorCWlmICh1bmF2
YWlsYWJsZSkNCisJICBhcHBlbmRCdWYuYXBwZW5kKCJ7IiArIGVsZW1lbnRzW2ldLmFyZ051bWJl
ciArICJ9Iik7DQorCWVsc2UNCiAJICB7DQotCSAgICBpZiAoZWxlbWVudHNbaV0uZm9ybWF0Q2xh
c3MgIT0gbnVsbA0KLQkJJiYgISBlbGVtZW50c1tpXS5mb3JtYXRDbGFzcy5pc0luc3RhbmNlKHRo
aXNBcmcpKQ0KLQkgICAgICB0aHJvdyBuZXcgSWxsZWdhbEFyZ3VtZW50RXhjZXB0aW9uKCJXcm9u
ZyBmb3JtYXQgY2xhc3MiKTsNCisJICAgIGlmIChlbGVtZW50c1tpXS5zZXRGb3JtYXQgIT0gbnVs
bCkNCisJICAgICAgZm9ybWF0dGVyID0gZWxlbWVudHNbaV0uc2V0Rm9ybWF0Ow0KKwkgICAgZWxz
ZSBpZiAoZWxlbWVudHNbaV0uZm9ybWF0ICE9IG51bGwpDQorCSAgICAgIHsNCisJICAgICAgICBp
ZiAoZWxlbWVudHNbaV0uZm9ybWF0Q2xhc3MgIT0gbnVsbA0KKwkJICAgICYmICEgZWxlbWVudHNb
aV0uZm9ybWF0Q2xhc3MuaXNJbnN0YW5jZSh0aGlzQXJnKSkNCisJICAgICAgICAgIHRocm93IG5l
dyBJbGxlZ2FsQXJndW1lbnRFeGNlcHRpb24oIldyb25nIGZvcm1hdCBjbGFzcyIpOw0KIAkgICAg
DQotCSAgICBmb3JtYXR0ZXIgPSBlbGVtZW50c1tpXS5mb3JtYXQ7DQorCSAgICAgICAgZm9ybWF0
dGVyID0gZWxlbWVudHNbaV0uZm9ybWF0Ow0KKwkgICAgICB9DQorCSAgICBlbHNlIGlmICh0aGlz
QXJnIGluc3RhbmNlb2YgTnVtYmVyKQ0KKwkgICAgICBmb3JtYXR0ZXIgPSBOdW1iZXJGb3JtYXQu
Z2V0SW5zdGFuY2UobG9jYWxlKTsNCisJICAgIGVsc2UgaWYgKHRoaXNBcmcgaW5zdGFuY2VvZiBE
YXRlKQ0KKwkgICAgICBmb3JtYXR0ZXIgPSBEYXRlRm9ybWF0LmdldFRpbWVJbnN0YW5jZShEYXRl
Rm9ybWF0LkRFRkFVTFQsIGxvY2FsZSk7DQorCSAgICBlbHNlDQorCSAgICAgIGFwcGVuZEJ1Zi5h
cHBlbmQodGhpc0FyZyk7DQogCSAgfQ0KLQllbHNlIGlmICh0aGlzQXJnIGluc3RhbmNlb2YgTnVt
YmVyKQ0KLQkgIGZvcm1hdHRlciA9IE51bWJlckZvcm1hdC5nZXRJbnN0YW5jZShsb2NhbGUpOw0K
LQllbHNlIGlmICh0aGlzQXJnIGluc3RhbmNlb2YgRGF0ZSkNCi0JICBmb3JtYXR0ZXIgPSBEYXRl
Rm9ybWF0LmdldFRpbWVJbnN0YW5jZShEYXRlRm9ybWF0LkRFRkFVTFQsIGxvY2FsZSk7DQotCWVs
c2UNCi0JICBhcHBlbmRCdWYuYXBwZW5kKHRoaXNBcmcpOw0KIA0KIAlpZiAoZnAgIT0gbnVsbCAm
JiBmcC5nZXRGaWVsZCgpID09IGkgJiYgZnAuZ2V0RmllbGRBdHRyaWJ1dGUoKSA9PSBGaWVsZC5B
UkdVTUVOVCkNCiAJICBmcC5zZXRFbmRJbmRleChhcHBlbmRCdWYubGVuZ3RoKCkpOw0KQEAgLTQ5
NiwyOSArNTA0LDE4IEBADQogICB9DQogDQogICAvKioNCi0gICAqIFJldHVybnMgdGhlIHBhdHRl
cm4gd2l0aCB0aGUgZm9ybWF0dGVkIG9iamVjdHMuDQorICAgKiBSZXR1cm5zIHRoZSBwYXR0ZXJu
IHdpdGggdGhlIGZvcm1hdHRlZCBvYmplY3RzLiAgVGhlIGZpcnN0IGFyZ3VtZW50DQorICAgKiBt
dXN0IGJlIGEgYXJyYXkgb2YgT2JqZWN0cy4NCisgICAqIFRoaXMgaXMgZXF1aXZhbGVudCB0byBm
b3JtYXQoKE9iamVjdFtdKSBvYmplY3RBcnJheSwgYXBwZW5kQnVmLCBmcG9zKQ0KICAgICoNCi0g
ICAqIEBwYXJhbSBzb3VyY2UgVGhlIG9iamVjdCB0byBiZSBmb3JtYXR0ZWQuDQotICAgKiBAcGFy
YW0gcmVzdWx0IFRoZSBTdHJpbmdCdWZmZXIgd2hlcmUgdGhlIHRleHQgaXMgYXBwZW5lZC4NCisg
ICAqIEBwYXJhbSBvYmplY3RBcnJheSBUaGUgb2JqZWN0IGFycmF5IHRvIGJlIGZvcm1hdHRlZC4N
CisgICAqIEBwYXJhbSBhcHBlbmRCdWYgVGhlIFN0cmluZ0J1ZmZlciB3aGVyZSB0aGUgdGV4dCBp
cyBhcHBlbmVkLg0KICAgICogQHBhcmFtIGZwb3MgQSBGaWVsZFBvc2l0aW9uIG9iamVjdCAoaXQg
aXMgaWdub3JlZCkuDQogICAgKi8NCi0gIHB1YmxpYyBmaW5hbCBTdHJpbmdCdWZmZXIgZm9ybWF0
IChPYmplY3Qgc2luZ2xlQXJnLCBTdHJpbmdCdWZmZXIgYXBwZW5kQnVmLA0KKyAgcHVibGljIGZp
bmFsIFN0cmluZ0J1ZmZlciBmb3JtYXQgKE9iamVjdCBvYmplY3RBcnJheSwgU3RyaW5nQnVmZmVy
IGFwcGVuZEJ1ZiwNCiAJCQkJICAgIEZpZWxkUG9zaXRpb24gZnBvcykNCiAgIHsNCi0gICAgT2Jq
ZWN0W10gYXJnczsNCi0NCi0gICAgaWYgKHNpbmdsZUFyZyBpbnN0YW5jZW9mIE9iamVjdFtdKQ0K
LSAgICAgIHsNCi0JLy8gVGhpcyBpc24ndCBzcGVjaWZpZWQgaW4gYW55IG1hbnVhbCwgYnV0IGl0
IGZvbGxvd3MgdGhlDQotCS8vIEpESyBpbXBsZW1lbnRhdGlvbi4NCi0JYXJncyA9IChPYmplY3Rb
XSkgc2luZ2xlQXJnOw0KLSAgICAgIH0NCi0gICAgZWxzZQ0KLSAgICAgIHsNCi0JYXJncyA9IG5l
dyBPYmplY3RbMV07DQotCWFyZ3NbMF0gPSBzaW5nbGVBcmc7DQotICAgICAgfQ0KLSAgICByZXR1
cm4gZm9ybWF0IChhcmdzLCBhcHBlbmRCdWYsIGZwb3MpOw0KKyAgICByZXR1cm4gZm9ybWF0ICgo
T2JqZWN0W10pb2JqZWN0QXJyYXksIGFwcGVuZEJ1ZiwgZnBvcyk7DQogICB9DQogDQogICAvKioN
Cg==

--=-QN87cPDFUuehijlDKgPp--

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

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

iD8DBQBA7SFMxVhZCJWr9QwRAouVAJ9V3XMlAqi7oEKSJS5SMVHZ3qbnkQCcC7dw
sbA5zfG/Jca6nrLh5vKprkc=
=pCPH
-----END PGP SIGNATURE-----

--=-P4J2uIxOrSS3yYrfymwp--




From MAILER-DAEMON Thu Jul 08 07:32:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiX8q-0001oM-T1
	for mharc-classpath@gnu.org; Thu, 08 Jul 2004 07:32:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiX8p-0001nv-2S
	for classpath@gnu.org; Thu, 08 Jul 2004 07:32:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiX8m-0001nf-9N
	for classpath@gnu.org; Thu, 08 Jul 2004 07:32:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1BiX8m-0001nV-4h; Thu, 08 Jul 2004 07:32:36 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BiX6U-0007O4-Ii; Thu, 08 Jul 2004 07:30:15 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BiX64-0007JV-00; Thu, 08 Jul 2004 13:29:48 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1089156012.11894.81.camel@localhost>
References: <1089156012.11894.81.camel@localhost>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-0OW1NmQIMu90QGumH9Cy"
Message-Id: <1089286180.21380.118.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 08 Jul 2004 13:29:40 +0200
Cc: commit-classpath@gnu.org
Subject: Re: 0.10 release status update
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Jul 2004 11:32:39 -0000


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

Hi,

We will have a real release today. But I am taking my time to make sure
it is "perfect". Here is the proposed NEWS entry for this release.
I am sure I missed some things. Feel free to email correction.

New in release 0.10 (Jul 8, 2004)

* java.net.URL now uses application classloader to load URLStreamHandlers
  and reuses URLStreamHandlers when URL is reset (but protocol isn't change=
d).
* java.io.File.deleteOnExit() implementation.
* java.text multiple new features and bug fixes.
* Better (non-black) default AWT System colors.
* AWT lists use GTK treeviews.
* Proper AWT focus management has been implemented.
* Swing menus and scrollpanes are beginning to work.
* Swing splitpanes, dialogs and internal frames were added.
* Swing repainting / double buffering was redone.
* Font management and Pango DPI conversion fixes.
* A lot of AWT imaging and event bugs have been picked out.
* More of javax.swing.text has been implemented.
* javax.swing.Timer has been reimplemented.
* java.security.AccessController has been implemented
  (see runtime section).
* The default java.lang.SecurityManager now uses AccessController.
* New java.beans.Statement and Expression implementations.
* Small FileChannel implementation speed improvement for traditional
  JNI based systems.
* Regenerated all included JNI header files with gcjh (3.5 CVS),
  removes extra extern modifier and allows stricter compiler warning.
* More C code cleanups (-Wmissing-declarations, -Wmissing-prototypesand
  -Wstring-prototypes) and jni.h fixlets (a few funtion prototype fixles,
  made compilable with C++ compilers and jni.h got renamed from jni.h.in).
* Double.toString() and Float.toString() now work properly on 64-bit
  PowerPC systems.
* PPC Darwin, arm, x86-64 and s/390 JNI C code compilation fixes.
* Build system refactored and removed old Japhar specific support.

Runtime interface Changes:

* VMProcess.destroy() default implementation fixes.
* Fixed the "portable native sync" code; it had been broken since
  Classpath release 0.06, when we upgraded to GTK+2.
  Classpath's AWT peers use GTK+.  GTK+ uses GLIB.  GLIB by default uses
  the platform's native threading model -- pthreads in most cases.
  If the Java runtime doesn't use the native threading model, then you shou=
ld
  specify --portable-native-sync when configuring Classpath, so that GLIB w=
ill
  use the Java threading primitives instead.  (For a superior alternative,
  see below.)
* The VM can set the system property
  gnu.classpath.awt.gtk.portable.native.sync instead of using the
  --portable-native-sync configure-type option.
  See doc/vmintegration.texinfo for details.
* We intend that the next release of GNU Classpath will require the VM
  to provide JNI 1.2.  Classpath currently uses only JNI 1.1, except for
  one JNI 1.2 function: GetEnv(), in the JNI Invocation API.
  If this poses problems, please raise them on the classpath mailing list.
* The reference implementation of VMThread.holdsLock(Object) now has
  a default implementation written in java. For efficiency and to
  prevent spurious wakeups a real 'native' runtime version can be supplied.
* There is a new java.security.VMAccessController class that runtimes need
  to implement to properly support SecurityManagers. The default
  implementation that comes with GNU Classpath makes sure that ANY attempt
  to access a protected resource is denied when a SecurityManager is
  installed. Which is pretty secure, but also no very useful.
  Please see the documentation in
  vm/reference/java/security/VMAccessController.java,
  and please give feedback on the GNU Classpath mailinglist whether or not
  the current AccessController framework is flexible enough.

As always you have all worked pretty hard the last two months!
There were about 130 commits which means about 2 commits each and every
day (including weekends!). And in that statistic the two big GUI-Branch
drops have been counted as just two commits. The last GUI patch drop had
actually had about 80 entries, so the above numbers should probably be
multiplied by two!

Thanks all!

Mark

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

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

iD8DBQBA7TAkxVhZCJWr9QwRAl2/AJwOzvjv1F6fKQ2sB9E0FRvelVxPwgCgjWA+
vdN5zzm9cFMYcrHURa2Nypo=
=9e9f
-----END PGP SIGNATURE-----

--=-0OW1NmQIMu90QGumH9Cy--




From MAILER-DAEMON Thu Jul 08 15:40:03 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiekV-000318-CH
	for mharc-classpath@gnu.org; Thu, 08 Jul 2004 15:40:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiekT-00030G-6a
	for classpath@gnu.org; Thu, 08 Jul 2004 15:40:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiekR-0002zh-5B
	for classpath@gnu.org; Thu, 08 Jul 2004 15:40:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiekR-0002zP-1o
	for classpath@gnu.org; Thu, 08 Jul 2004 15:39:59 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiehW-0000Cz-R3
	for classpath@gnu.org; Thu, 08 Jul 2004 15:36:59 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1Bieh9-0008TW-00; Thu, 08 Jul 2004 21:36:35 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-SqBXsAHXesqn6XSh7Wkk"
Message-Id: <1089315387.21380.326.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 08 Jul 2004 21:36:27 +0200
Cc: java@gcc.gnu.org
Subject: API documentation - Please don't use illegal HTML in comments like
	"L&F"
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 08 Jul 2004 19:40:01 -0000


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

Hi,

Please avoid using illegal HTML in comments.
gjdoc currently doesn't handle that very well.

Obviously we should fix gjdoc (or actually libxmlj it seems) but in the
meantime please avoid using non-XHTML in comments. The biggest issue was
the use of "L&F" in the swing sources. For now I have committed a patch
to the classpath tree to just say "Look and Feel" everywhere.
(Yes, &amp; might have worked. But since I have had trouble with some
[not all] HTML entities in the past [see bug #4823] I just decided to
spell it all out.)

Anyway. New pre-0.10 GNU Classpath API documentation can be found at:
http://www.klomp.org/mark/classpath/doc/api/html/

For those that want to see official API documentation please fix any of
the issues mentioned in:
http://lists.gnu.org/archive/html/classpath/2004-05/msg00050.html

Cheers,

Mark

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

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

iD8DBQBA7aI7xVhZCJWr9QwRAn8FAJ43Sr7G7SVLOuPJvBft0Oln0Xh0ewCgmQBP
ZjWe23/R5B+SSf4nMSQsTRI=
=b0mJ
-----END PGP SIGNATURE-----

--=-SqBXsAHXesqn6XSh7Wkk--




From MAILER-DAEMON Thu Jul 08 16:00:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bif4S-0000GV-18
	for mharc-classpath@gnu.org; Thu, 08 Jul 2004 16:00:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bif4R-0000GO-0W
	for classpath@gnu.org; Thu, 08 Jul 2004 16:00:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bif4P-0000Fy-8I
	for classpath@gnu.org; Thu, 08 Jul 2004 16:00:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bif4P-0000Fv-4u
	for classpath@gnu.org; Thu, 08 Jul 2004 16:00:37 -0400
Received: from [82.69.70.8] (helo=bluezoo.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bif2E-0003GB-95
	for classpath@gnu.org; Thu, 08 Jul 2004 15:58:22 -0400
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by bluezoo.org (Postfix) with ESMTP id 8DAACB6509;
	Thu,  8 Jul 2004 20:58:21 +0100 (BST)
In-Reply-To: <1089315387.21380.326.camel@localhost>
References: <1089315387.21380.326.camel@localhost>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <2892A3B2-D119-11D8-B511-000D934FF4B2@bluezoo.org>
Content-Transfer-Encoding: 7bit
From: Chris Burdess <dog@bluezoo.org>
Date: Thu, 8 Jul 2004 20:58:19 +0100
To: Mark Wielaard <mark@klomp.org>
X-Pgp-Agent: GPGMail 1.0.1 (v33, 10.3)
X-Mailer: Apple Mail (2.618)
Cc: classpath@gnu.org, java@gcc.gnu.org
Subject: Re: API documentation - Please don't use illegal HTML in comments
	like "L&F"
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 08 Jul 2004 20:00:39 -0000

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

Mark Wielaard wrote:
> Please avoid using illegal HTML in comments.
> gjdoc currently doesn't handle that very well.
>
> Obviously we should fix gjdoc (or actually libxmlj it seems) but in the
> meantime please avoid using non-XHTML in comments.

Regarding "fixing" libxmlj: I've considered adding HTML parsing support 
with implementations for the HTML DOM, however there is absolutely no 
facility in JAXP as far as I can see to declare that an input source is 
intended to be HTML (or anything other than XML). I haven't seen 
support for parsing HTML in any other JAXP parser either.

I am happy to add additional functionality to GnomeDocumentBuilder if 
nobody has any more generic solution. However, in the short term it may 
be more sensible to use an HTML parser for gjdoc - I can recommend John 
Cowan's TagSoup:

	http://mercury.ccil.org/~cowan/XML/tagsoup/
- -- 
Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFA7adb6dl1DEqHgrgRAgYgAKCDrH1Mdg9S+C1dsaKZ8EluJlKG4wCglxBZ
yaxYL5PqpjHETQ/uHiJFsFA=
=9L6D
-----END PGP SIGNATURE-----




From MAILER-DAEMON Thu Jul 08 18:23:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BihIr-00077E-HZ
	for mharc-classpath@gnu.org; Thu, 08 Jul 2004 18:23:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BihIp-00076F-AS
	for classpath@gnu.org; Thu, 08 Jul 2004 18:23:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BihIn-00075S-OA
	for classpath@gnu.org; Thu, 08 Jul 2004 18:23:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BihIl-00075E-Uw
	for classpath@gnu.org; Thu, 08 Jul 2004 18:23:37 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BihGb-0004oe-T1
	for classpath@gnu.org; Thu, 08 Jul 2004 18:21:22 -0400
Received: (qmail 2331 invoked by uid 65534); 8 Jul 2004 22:20:59 -0000
Received: from p213.54.211.61.tisdip.tiscali.de (EHLO gmx.net) (213.54.211.61)
	by mail.gmx.net (mp013) with SMTP; 09 Jul 2004 00:20:59 +0200
X-Authenticated: #17532834
Message-ID: <40EDC919.7090606@gmx.net>
Date: Fri, 09 Jul 2004 00:22:17 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040521
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
X-Enigmail-Version: 0.83.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: classpath API version
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 08 Jul 2004 22:23:40 -0000

Hi,
a former discussion on this list got to the point where it was discussed 
which API version Classpath is going to support but there was no final 
answer yet. I hope to start up this discussion again and we can get to a 
conclusion.

Classpath' projectpage says it is going to be compatible with JDK1.1 but 
classpath already contains 1.4-style features and looks like a hybrid 
now (at least for me).
It would not be that bad if a higher version number only means that 
there is a larger amount of classes available but unfortunately this is 
not the only case: Often a newer JDK version deprecated certain classes, 
methods and fields, changed the usage of the 'final' keyword, added 
exceptions to the throws-clause or changed the values of constants (see 
java.awt.event).
When looking closely at the JDK1.x-classpath comparisons one can easily 
spot situations where classpath is beyond a certain JDK version (eg. 1.1 
java.lang) but on the other hand there are situations where classpath is 
not up-to-date (eg. java.net, look at the 1.4 and 1.3 comparison).

What I want to say is: IMHO since Classpath already stepped into the 1.4 
land it would not a good idea to primary support previous JDK versions. 
Classpath had to rip classes, methods and signatures off to be 
compatible with <1.4 again. If Classpath would officially head for full 
1.4 compatibility this would a much better. Java 1.5 is a nice 'natural' 
barrier for adding its features because it needs a different syntax and 
therefore tools ...

cu
Robert Schuster



From MAILER-DAEMON Thu Jul 08 20:18:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bij67-0005rS-Gv
	for mharc-classpath@gnu.org; Thu, 08 Jul 2004 20:18:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bij65-0005pS-Ln
	for classpath@gnu.org; Thu, 08 Jul 2004 20:18:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bij63-0005ol-MO
	for classpath@gnu.org; Thu, 08 Jul 2004 20:18:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bij63-0005oi-Kx
	for classpath@gnu.org; Thu, 08 Jul 2004 20:18:35 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bij3n-0002Ko-Hh
	for classpath@gnu.org; Thu, 08 Jul 2004 20:16:16 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i690FiT4016992
	for <classpath@gnu.org>; Fri, 9 Jul 2004 10:15:46 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Fri, 9 Jul 2004 10:15:46 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEPPEFAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Subject: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 00:18:38 -0000

These are questions for the different VM implementors out there.

1. Is your bootstrap loader represented by null or an actual Classloader
instance?
2. Is your bootstrap loader and system/application classloader the same
object?
3. Do you think your structure for the bootstrap and system loader correctly
reflect the expectations of the security architecture.

Thanks,
David Holmes




From MAILER-DAEMON Fri Jul 09 02:42:13 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bip5J-000641-27
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 02:42:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bip5H-00063s-77
	for classpath@gnu.org; Fri, 09 Jul 2004 02:42:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bip5F-00063g-Df
	for classpath@gnu.org; Fri, 09 Jul 2004 02:42:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bip5F-00063d-An
	for classpath@gnu.org; Fri, 09 Jul 2004 02:42:09 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bip2s-000466-Gx
	for classpath@gnu.org; Fri, 09 Jul 2004 02:39:42 -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, 9 Jul 2004 08:39:35 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CDD2@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: A query on the classloader architecture
Thread-Index: AcRlSlL2uM4YeJ7dQt6e/p22TOqzBgAM3fXQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>,
	"classpath" <classpath@gnu.org>
Cc: ikvm-developers@lists.sourceforge.net
Subject: RE: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 06:42:11 -0000

David Holmes wrote:
> These are questions for the different VM implementors out there.
>=20
> 1. Is your bootstrap loader represented by null or an actual=20
> Classloader instance?

By null.

> 2. Is your bootstrap loader and system/application=20
> classloader the same object?

No.

> 3. Do you think your structure for the bootstrap and system=20
> loader correctly reflect the expectations of the security
> architecture.

I don't know.

In case anyone cares, I'm struggling with a classloader architecture
issue myself. At the moment, all statically compiled code (and
pre-existing .NET classes) are loaded (or appear to be loaded) by the
bootstrap loader in IKVM. To me this makes perfect sense and it would
seem like the ideal solution, <rant>except for the fact that there is a
lot of code out there that expects that this.getClass().getClassLoader()
is not null. Most of the code is actually broken, because it simply
tries to load a resource, which could have also been accomplished by
doing this.getClass().getResourceAsStream(), which, of course, also
works if the classloader is null.</rant>

So I'm considering three options:
1) Add evil VM magic that allows
((ClassLoader)null).getResourceAsStream() to work.
2) Introduce an extension class loader that "loads" statically compiled
and pre-existing .NET classes.
3) Make the bootstrap classloader non-null.

All options have some obvious downsides:
1) Magic is rarely a good thing.
2) This introduces the possibility that the classloader architecture is
violated (classes loaded by the null classloader can refer to classes
loaded by the extension classloader). It's hard (or expensive) to guard
against this.
3) This would break code that assumes that the core classes have a null
classloader (I'm sure that exists as well).

Regards,
Jeroen



From MAILER-DAEMON Fri Jul 09 04:31:56 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiqnT-0000wQ-L0
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 04:31:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiqnR-0000wJ-HS
	for classpath@gnu.org; Fri, 09 Jul 2004 04:31:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiqnQ-0000w7-7v
	for classpath@gnu.org; Fri, 09 Jul 2004 04:31:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiqnP-0000w4-Tu
	for classpath@gnu.org; Fri, 09 Jul 2004 04:31:52 -0400
Received: from [193.74.71.21] (helo=xizor.is.scarlet.be)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiqkB-0001F5-L6
	for classpath@gnu.org; Fri, 09 Jul 2004 04:28:31 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by xizor.is.scarlet.be  with ESMTP id i698SLK11572; 
	Fri, 9 Jul 2004 10:28:22 +0200
From: Chris Gray <chris.gray@kiffer.be>
Organization: /k/ Embedded Java Syste;s
To: "David Holmes" <dholmes@dltech.com.au>, "classpath" <classpath@gnu.org>
Date: Fri, 9 Jul 2004 10:33:30 +0200
User-Agent: KMail/1.5.4
References: <NFBBKALFDCPFIDBNKAPCEEPPEFAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCEEPPEFAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200407091033.30581.chris.gray@kiffer.be>
Cc: 
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 08:31:53 -0000

On Friday 09 July 2004 02:15, David Holmes wrote:
> These are questions for the different VM implementors out there.

ObDisclaimer: the Wonka VM doesn't (currently) use Classpath, but ...

> 1. Is your bootstrap loader represented by null or an actual Classloader
> instance?

Null. (But see below).

> 2. Is your bootstrap loader and system/application classloader the same
> object?

No. 

The system classloader is created as soon as we have the infrastructure 
(Class, String, ...) to do it, and from then on it is responsible for loading 
classes from the bootstrap class path (only). All requests to load a class in 
java.* or wonka.* are dispatched to the system class loader, by-passing the 
class loader hierarchy.

The extension class loader is created only if java.ext.dirs.path exists. It 
loads classes from this path, and its parent is the system class loader.

The application class loader loads classes from -classpath/$CLASSPATH, and is 
responsible for loading the application specified on the command line. Its 
parent is the extension class loader if this exists, the system class loader 
otherwise.

> 3. Do you think your structure for the bootstrap and system loader
> correctly reflect the expectations of the security architecture.

As regards the above, yes. Dispatching java.* classes directly to the system 
class loader seems to be implied by some passages in the specs and/or Li 
Gong's book, but may actually be over-zealous; however I don't see how code 
could depend on a different behaviour. OTOH our handling of runtime packages 
is somewhat flakey; we are messing around matching strings when we should 
have a VM structure for the purpose.

The relationship between bootstrap loader and system class loader may change 
in the future. On the one hand, we currently "kill" the bootstrap loader as 
soon as the system class loader has been created, but it could be better to 
keep it around and have the system class loader delegate to it. (This would 
be essential if we wanted to store some classes in a "predigested" format, 
and not have to go through defineClass() to load them). On the other, it 
would be a useful simplification if classes loaded by the bootstrap class 
loader would later return the system class loader as their class loader.  It 
remains to be seen whether this can be done without creating too many 
bootstrapping problems. 

As Jeroen says, whatever you will do will "break" some B.A.D. code. I think 
that most code which depends on the system class loader being null will be in 
the "web crapplet" category, and Wonka doesn't really aim to be able to run 
all that stuff. For VMs which aim to do just that, this is going to be a 
major pain.

I don't think Classpath can legitimately mandate a particular answer to either 
(1) or (2). Based on the responses to this survey you could optimise for one 
case or another, but one day a VM will have excellent reasons to do things 
differently. Ideally the Classpath VM API should reflect this, so authors of 
"deviant" VMs only need to modify their VMclasses.

Best wishes

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




From MAILER-DAEMON Fri Jul 09 06:54:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bit1K-0000QJ-UF
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 06:54:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bit1I-0000Q8-MG
	for classpath@gnu.org; Fri, 09 Jul 2004 06:54:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bit1H-0000Pw-1F
	for classpath@gnu.org; Fri, 09 Jul 2004 06:54:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bit1G-0000Pt-TY
	for classpath@gnu.org; Fri, 09 Jul 2004 06:54:18 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bisye-000227-10
	for classpath@gnu.org; Fri, 09 Jul 2004 06:51:36 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1BisyA-0002GQ-00
	for <classpath@gnu.org>; Fri, 09 Jul 2004 12:51:06 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1Bisy4-0002FU-00; Fri, 09 Jul 2004 12:51:00 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i69Aowh7009305;
	Fri, 9 Jul 2004 12:50:59 +0200 (MEST)
Message-ID: <40EE7892.3040407@kaffe.org>
Date: Fri, 09 Jul 2004 12:50:58 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Chris Burdess <dog@bluezoo.org>
References: <1089315387.21380.326.camel@localhost>
	<2892A3B2-D119-11D8-B511-000D934FF4B2@bluezoo.org>
In-Reply-To: <2892A3B2-D119-11D8-B511-000D934FF4B2@bluezoo.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org, java@gcc.gnu.org
Subject: Re: API documentation - Please don't use illegal HTML in comments
 like "L&F"
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 10:54:20 -0000

Chris Burdess wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mark Wielaard wrote:
> 
>> Please avoid using illegal HTML in comments.
>> gjdoc currently doesn't handle that very well.
>>
>> Obviously we should fix gjdoc (or actually libxmlj it seems) but in the
>> meantime please avoid using non-XHTML in comments.
> 
> 
> Regarding "fixing" libxmlj: I've considered adding HTML parsing support 
> with implementations for the HTML DOM, however there is absolutely no 
> facility in JAXP as far as I can see to declare that an input source is 
> intended to be HTML (or anything other than XML). I haven't seen support 
> for parsing HTML in any other JAXP parser either.

I think XHTML is fine, I believe Mark was just having trouble with gjdoc 
crashing because of occurences of 'L&F' in javadocs :)

cheers,
dalibor topic




From MAILER-DAEMON Fri Jul 09 10:32:29 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiwQP-0000Fz-KD
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 10:32:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiwQO-0000Fu-4Y
	for classpath@gnu.org; Fri, 09 Jul 2004 10:32:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiwQM-0000Fi-JE
	for classpath@gnu.org; Fri, 09 Jul 2004 10:32:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiwQM-0000Ff-GR
	for classpath@gnu.org; Fri, 09 Jul 2004 10:32:26 -0400
Received: from [209.225.28.208] (helo=mxsf08.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiwO9-00065d-Q8
	for classpath@gnu.org; Fri, 09 Jul 2004 10:30:10 -0400
Received: from mxip18.cluster1.charter.net (mxip18a.cluster1.charter.net
	[209.225.28.148])
	by mxsf08.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i69EXDVm008528
	for <classpath@gnu.org>; Fri, 9 Jul 2004 10:33:13 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip18.cluster1.charter.net with ESMTP; 09 Jul 2004 10:30:04 -0400
X-Ironport-AV: i="3.81R,159,1083556800"; 
	d="scan'208"; a="98110613:sNHT12932532"
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 JAA94601;
	Fri, 9 Jul 2004 09:24:02 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i69EO2NY011105; 
	Fri, 9 Jul 2004 09:24:02 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i69EO1ie011104;
	Fri, 9 Jul 2004 09:24:01 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407091424.i69EO1ie011104@arch20m.dellroad.org>
In-Reply-To: <40EDC919.7090606@gmx.net>
To: Robert Schuster <theBohemian@gmx.net>
Date: Fri, 9 Jul 2004 09:24:01 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: classpath API version
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 14:32:28 -0000

Robert Schuster wrote:
> What I want to say is: IMHO since Classpath already stepped into the 1.4 
> land it would not a good idea to primary support previous JDK versions. 
> Classpath had to rip classes, methods and signatures off to be 
> compatible with <1.4 again. If Classpath would officially head for full 
> 1.4 compatibility this would a much better. Java 1.5 is a nice 'natural' 
> barrier for adding its features because it needs a different syntax and 
> therefore tools ...

Sounds good to me. I vote we say "we strive for 1.4 compatibility"
but also say "we don't promise everything in 1.4 is implemented yet".

-Archie

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



From MAILER-DAEMON Fri Jul 09 10:32:59 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiwQs-0000NG-VU
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 10:32:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiwQr-0000N5-FK
	for classpath@gnu.org; Fri, 09 Jul 2004 10:32:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiwQq-0000Mg-JW
	for classpath@gnu.org; Fri, 09 Jul 2004 10:32:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiwQq-0000Md-Ga
	for classpath@gnu.org; Fri, 09 Jul 2004 10:32:56 -0400
Received: from [209.225.28.208] (helo=mxsf08.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiwOA-00065w-U3
	for classpath@gnu.org; Fri, 09 Jul 2004 10:30:12 -0400
Received: from mxip18.cluster1.charter.net (mxip18a.cluster1.charter.net
	[209.225.28.148])
	by mxsf08.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i69EXDVo008528
	for <classpath@gnu.org>; Fri, 9 Jul 2004 10:33:18 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip18.cluster1.charter.net with ESMTP; 09 Jul 2004 10:30:10 -0400
X-Ironport-AV: i="3.81R,159,1083556800"; 
	d="scan'208"; a="98110870:sNHT15864008"
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 JAA94564;
	Fri, 9 Jul 2004 09:17:27 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i69EHQNY011017; 
	Fri, 9 Jul 2004 09:17:26 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i69EHOU7011016;
	Fri, 9 Jul 2004 09:17:24 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407091417.i69EHOU7011016@arch20m.dellroad.org>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CDD2@LEMBU.sumatrasoftware.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
Date: Fri, 9 Jul 2004 09:17:24 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>, ikvm-developers@lists.sourceforge.net
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 14:32:57 -0000

Jeroen Frijters wrote:
> bootstrap loader in IKVM. To me this makes perfect sense and it would
> seem like the ideal solution, <rant>except for the fact that there is a
> lot of code out there that expects that this.getClass().getClassLoader()
> is not null. Most of the code is actually broken, because it simply

The Sun API spec clearly states that Class.getClassLoader() may return
null, and in fact MUST return null for primitive type Class objects.
So why worry about obviously buggy software?

-Archie

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



From MAILER-DAEMON Fri Jul 09 10:40:31 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiwYB-0001lr-49
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 10:40:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiwY8-0001lT-RQ
	for classpath@gnu.org; Fri, 09 Jul 2004 10:40:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiwY7-0001kj-1e
	for classpath@gnu.org; Fri, 09 Jul 2004 10:40:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiwY6-0001kg-U9
	for classpath@gnu.org; Fri, 09 Jul 2004 10:40:26 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BiwVp-0007Ax-4T
	for classpath@gnu.org; Fri, 09 Jul 2004 10:38:05 -0400
Received: from [209.225.28.208] (helo=mxsf08.cluster1.charter.net)
	by mx20.gnu.org with esmtp (Exim 4.34) id 1BiwOB-0006jQ-EB
	for classpath@gnu.org; Fri, 09 Jul 2004 10:30:12 -0400
Received: from mxip18.cluster1.charter.net (mxip18a.cluster1.charter.net
	[209.225.28.148])
	by mxsf08.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i69EXDVn008528
	for <classpath@gnu.org>; Fri, 9 Jul 2004 10:33:14 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip18.cluster1.charter.net with ESMTP; 09 Jul 2004 10:30:04 -0400
X-Ironport-AV: i="3.81R,159,1083556800"; 
	d="scan'208"; a="98110631:sNHT12831116"
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 JAA94559;
	Fri, 9 Jul 2004 09:15:35 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i69EFYNY011010; 
	Fri, 9 Jul 2004 09:15:34 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i69EFX0W011009;
	Fri, 9 Jul 2004 09:15:33 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407091415.i69EFX0W011009@arch20m.dellroad.org>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCEEPPEFAA.dholmes@dltech.com.au>
To: David Holmes <dholmes@dltech.com.au>
Date: Fri, 9 Jul 2004 09:15:33 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 14:40:29 -0000

These answers are for JC...

David Holmes wrote:
> 1. Is your bootstrap loader represented by null or an actual Classloader
> instance?

By null.

> 2. Is your bootstrap loader and system/application classloader the same
> object?

No.

> 3. Do you think your structure for the bootstrap and system loader correctly
> reflect the expectations of the security architecture.

Don't know.

By the way, I'm somewhat confused about terminology. I've always
used the term "system class loader" to mean a user defined class
loader (with associated ClassLoader object), and always different
from the "bootstrap class loader" which (by my definition) is a VM
internal thing and is the only class loader capable of deriving/defining
types without invoking ClassLoader.defineClass(). By (my) definition,
the "system class loader" is the class loader associated with the object
returned by the method ClassLoader.getSystemClassLoader().

Are some people using "system class loader" to refer to the
bootstrap loader.. ? I'd love some clarification on this.

-Archie

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



From MAILER-DAEMON Fri Jul 09 10:52:30 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Biwjm-0003q8-5i
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 10:52:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Biwjk-0003pq-Oo
	for classpath@gnu.org; Fri, 09 Jul 2004 10:52:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Biwji-0003pP-RH
	for classpath@gnu.org; Fri, 09 Jul 2004 10:52:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Biwji-0003pM-PE
	for classpath@gnu.org; Fri, 09 Jul 2004 10:52:26 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiwhW-0000Oo-KF
	for classpath@gnu.org; Fri, 09 Jul 2004 10:50:10 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1Biwgx-0002ot-00; Fri, 09 Jul 2004 16:49:35 +0200
From: Mark Wielaard <mark@klomp.org>
To: Steven Augart <augart@watson.ibm.com>
In-Reply-To: <200407072156.i67LuVS3012753@augart-tp23.watson.ibm.com>
References: <200407072156.i67LuVS3012753@augart-tp23.watson.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-zzq0ojpYEcp9MOuhR8Nm"
Message-Id: <1089384566.21380.410.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 09 Jul 2004 16:49:27 +0200
Cc: classpath@gnu.org, jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: Re: classpath pre-0.10, Jikes RVM, and AWT
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 14:52:29 -0000


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

Hi,

On Wed, 2004-07-07 at 23:56, Steven Augart wrote:
> Mark Wielaard discovered the problem, and I thank him for this.  Two
> major possiblities come to mind:
>=20
>   1) There some problem that has been recently introduced, with
>      Classpath's C code (AWT), that is corrupting memory.  Jikes RVM
>      detects the problem; it should affect other VMs subtly too.
>=20
>   2) There's a previously undetected memory corrupting bug in Jikes RVM.
>=20
> I am still attempting to further locate the source of the corruption
> (have been doing so for about an hour and a half so far).  I do not
> know how long this will take to figure out.

I tried to pinpoint what was happening but unfortunately failed.
I did find some subtle initialization issues with the JNI environment
caching that I hopefully fixed in GNU Classpath CVS now. This did make a
crash on kissme disappear, but on jamvm I still (sometimes, but not
always!) get a crash on this simple program:

import java.awt.*;
public class B
{
  public static void main(String[] args)
  {
    Frame f =3D new Frame();
    f.setVisible(true);
    System.exit(0);
  }
}

And my patches also didn't solve the issue on rvm unfortunately.

Note that this simple program might actually show a design flaw in our
GTK+ peer setup. New Frame() will create the GtkMainThread() that stores
a global JNI environment reference (gdk_env)  which is then used in the
gtk callback triggered by the setVisible() method on another thread. It
seems the JNI spec does not guarantee that this works (it seems we will
need GetJavaVM, store that result and extract the JNI environment from
that on gtk call backs that don't happen on the main thread).

Unfortunately I couldn't get the enable-native-sync code working
properly with another runtime/JNI implementation out of the box. Kissme
unfortunately doesn't support GetJavaVM. And on jamvm, with
-Dgnu.classpath.awt.gtk.portable.native.sync=3Dtrue I get:

jamvm: ../../../../classpath/native/jni/gtk-peer/gthread-jni.c:1397:
mutexObj_unlock: Assertion `potentialLockers >=3D 1' failed.

I decided to not hold up the release any longer though and will announce
0.10 soon. It is a nice improvement already, even when combined with rvm
compared to 0.09. After the release I will try to sync all gtk-peer and
jni-thread stuff with libcj and test it against gcj/gij. That might be
easier to debug if it turns out to be a bug in the JNI/GTK+ peer
implementation (gdb can just step through JNI or C/C++/GCJ native code
which helps enormously with debugging!).

Cheers,

Mark

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

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

iD8DBQBA7rB2xVhZCJWr9QwRAn+1AKCdaun+tUA2z6N3PiaKPwSSkfqacgCcClGQ
nxNf2Snva19msmgLwc9Ah0k=
=UJyP
-----END PGP SIGNATURE-----

--=-zzq0ojpYEcp9MOuhR8Nm--




From MAILER-DAEMON Fri Jul 09 10:58:03 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Biwp9-0004bX-EX
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 10:58:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Biwp7-0004b9-Ef
	for classpath@gnu.org; Fri, 09 Jul 2004 10:58:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Biwp6-0004ax-0m
	for classpath@gnu.org; Fri, 09 Jul 2004 10:58:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Biwp5-0004au-Tp
	for classpath@gnu.org; Fri, 09 Jul 2004 10:57:59 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiwmU-00015H-LG
	for classpath@gnu.org; Fri, 09 Jul 2004 10:55: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: Fri, 9 Jul 2004 16:55:12 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CDEA@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: A query on the classloader architecture
Thread-Index: AcRlwY81GF2AGlmsRbec+6U3NWsbSQAAuG4Q
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Archie Cobbs" <archie@dellroad.org>
Cc: classpath <classpath@gnu.org>, ikvm-developers@lists.sourceforge.net
Subject: RE: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 14:58:01 -0000

Archie Cobbs wrote:
> Jeroen Frijters wrote:
> > bootstrap loader in IKVM. To me this makes perfect sense=20
> > and it would seem like the ideal solution, <rant>except for
> > the fact that there is a lot of code out there that expects that=20
> > this.getClass().getClassLoader() is not null. Most of the code
> > is actually broken, because it simply
>=20
> The Sun API spec clearly states that Class.getClassLoader() may return
> null, and in fact MUST return null for primitive type Class objects.
> So why worry about obviously buggy software?

Because most software is buggy? If something runs on the Sun VM and it
doesn't run on my VM, do you think the user cares about who's bug it is?

Regards,
Jeroen



From MAILER-DAEMON Fri Jul 09 11:17:33 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bix81-0000QJ-2F
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 11:17:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bix80-0000QD-Bt
	for classpath@gnu.org; Fri, 09 Jul 2004 11:17:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bix7y-0000Q0-Qh
	for classpath@gnu.org; Fri, 09 Jul 2004 11:17:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bix7y-0000Px-Oc
	for classpath@gnu.org; Fri, 09 Jul 2004 11:17:30 -0400
Received: from [209.225.28.213] (helo=mxsf13.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bix5e-0003r1-D1
	for classpath@gnu.org; Fri, 09 Jul 2004 11:15:06 -0400
Received: from mxip17.cluster1.charter.net (mxip17a.cluster1.charter.net
	[209.225.28.147])
	by mxsf13.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i69FHtu1023144
	for <classpath@gnu.org>; Fri, 9 Jul 2004 11:17:55 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip17.cluster1.charter.net with ESMTP; 09 Jul 2004 11:15:05 -0400
X-Ironport-AV: i="3.81R,159,1083556800"; 
	d="scan'208"; a="97663098:sNHT13312564"
Received: from arch20m.dellroad.org ([10.104.180.64])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA95129;
	Fri, 9 Jul 2004 10:06:15 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i69F6CI8000736; 
	Fri, 9 Jul 2004 10:06:12 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i69F6BT5000735;
	Fri, 9 Jul 2004 10:06:11 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407091506.i69F6BT5000735@arch20m.dellroad.org>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CDEA@LEMBU.sumatrasoftware.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
Date: Fri, 9 Jul 2004 10:06:10 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>, ikvm-developers@lists.sourceforge.net
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 15:17:32 -0000

Jeroen Frijters wrote:
> > The Sun API spec clearly states that Class.getClassLoader() may return
> > null, and in fact MUST return null for primitive type Class objects.
> > So why worry about obviously buggy software?
> 
> Because most software is buggy? If something runs on the Sun VM and it
> doesn't run on my VM, do you think the user cares about who's bug it is?

Sun's VM returns null for the boot loader.. here's an example:

    $ cat > xx.java
    public class xx {
	public static void main(String[] args) throws Exception {
	    System.out.println(Object.class.getClassLoader());
	}
    }
    ^D
    $ javac xx.java && java xx
    null
    $ java -version
    java version "1.4.2-p5"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p5-archie_18_nov_2003_16_43)
    Java HotSpot(TM) Client VM (build 1.4.2-p5-archie_18_nov_2003_16_43, mixed mode)

Are there some cases where Sun's Class.getClassLoader() doesn't
return null but other VM's do?

-Archie

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



From MAILER-DAEMON Fri Jul 09 11:26:30 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BixGg-0002zK-Dz
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 11:26:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BixGf-0002yy-1B
	for classpath@gnu.org; Fri, 09 Jul 2004 11:26:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BixGd-0002y7-0i
	for classpath@gnu.org; Fri, 09 Jul 2004 11:26:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BixGc-0002y4-Tn
	for classpath@gnu.org; Fri, 09 Jul 2004 11:26:26 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BixE9-00054P-Db
	for classpath@gnu.org; Fri, 09 Jul 2004 11:23:53 -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, 9 Jul 2004 17:23:49 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CDEB@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: A query on the classloader architecture
Thread-Index: AcRlx9RLK1sW7dO5Tuuj0LTDWOWchAAAFCew
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Archie Cobbs" <archie@dellroad.org>
Cc: classpath <classpath@gnu.org>
Subject: RE: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 15:26:29 -0000

Archie Cobbs wrote:
> Jeroen Frijters wrote:
> > > The Sun API spec clearly states that=20
> Class.getClassLoader() may return
> > > null, and in fact MUST return null for primitive type=20
> Class objects.
> > > So why worry about obviously buggy software?
> >=20
> > Because most software is buggy? If something runs on the=20
> Sun VM and it
> > doesn't run on my VM, do you think the user cares about=20
> who's bug it is?
>=20
> Sun's VM returns null for the boot loader.. here's an example:

I'm sorry, but you lost me. I clearly don't understand what you mean.
Can you please clarify your original statement (the one I quoted above)?

Regards,
Jeroen



From MAILER-DAEMON Fri Jul 09 11:34:59 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BixOt-0005Wv-Mk
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 11:34:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BixOr-0005Wc-LV
	for classpath@gnu.org; Fri, 09 Jul 2004 11:34:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BixOr-0005WQ-3a
	for classpath@gnu.org; Fri, 09 Jul 2004 11:34:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BixOr-0005WN-16
	for classpath@gnu.org; Fri, 09 Jul 2004 11:34:57 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BixMI-0006EA-LJ
	for classpath@gnu.org; Fri, 09 Jul 2004 11:32:19 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BixLv-0002x3-00
	for <classpath@gnu.org>; Fri, 09 Jul 2004 17:31:55 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-zvxQR3p6R8r4AUqFIokN"
Message-Id: <1089387106.21380.428.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 09 Jul 2004 17:31:47 +0200
Subject: GNU Classpath 0.10 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, 09 Jul 2004 15:34:57 -0000


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

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

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

GNU Classpath 0.10 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.10.tar.gz
MD5sum: a59a5040f9c1237dbf27bfc668919943

New in release 0.10 (Jul 9, 2004)

* java.net.URL now uses application classloader to load URLStreamHandlers
  and reuses URLStreamHandlers when URL is reset (but protocol isn't change=
d).
* java.io.File.deleteOnExit() implementation.
* java.text multiple new features and bug fixes
  (only 2 out of the 1000+ java.text Mauve tests now fail).
* Better (non-black) default AWT System colors.
* AWT lists use GTK treeviews.
* Proper AWT focus management has been implemented.
* Swing menus and scrollpanes are beginning to work.
* Swing splitpanes, dialogs and internal frames were added.
* Swing repainting / double buffering was redone.
* Font management and Pango DPI conversion fixes.
* A lot of AWT imaging and event bugs have been picked out.
* More of javax.swing.text has been implemented.
* javax.swing.Timer has been reimplemented.
* java.security.AccessController has been implemented
  (see runtime section).
* The default java.lang.SecurityManager now uses AccessController.
* New java.beans.Statement and Expression implementations.
* Small FileChannel implementation speed improvement for traditional
  JNI based systems.
* Regenerated all included JNI header files with gcjh (3.5 CVS),
  removes extra extern modifier and allows stricter compiler warning.
* More C code cleanups (-Wmissing-declarations, -Wmissing-prototypes and
  -Wstring-prototypes) and jni.h fixes (a few funtion prototype fixes,
  made it compilable with C++ compilers and jni.h got renamed from jni.h.in=
).
* Double.toString() and Float.toString() now work properly on 64-bit
  PowerPC systems.
* PPC Darwin, arm, x86-64 and s/390 JNI C code compilation fixes.
* Build system refactored and removed old Japhar specific support.
* The gnu.java.awt.EmbeddedWindow class has been improved, and now
  supports embedding AWT windows in other top-level X windows.
  This functionality is required by gcjwebplugin.
* gcjwebplugin, an applet viewer that can be embedded into several web
  browsers, has been extensively tested with this release of classpath.
  (See http://www.nongnu.org/gcjwebplugin/)
* Runtime environments based on GNU Classpath 0.10 should be able to
  start up Eclipse 3.0 out of the box now.

Runtime interface Changes:

* VMProcess.destroy() default implementation fixes.
* Fixed the "portable native sync" code; it had been broken since
  Classpath release 0.06, when we upgraded to GTK+2.
  Classpath's AWT peers use GTK+.  GTK+ uses GLIB.  GLIB by default uses
  the platform's native threading model -- pthreads in most cases.
  If the Java runtime doesn't use the native threading model, then you shou=
ld
  specify --portable-native-sync when configuring Classpath, so that GLIB w=
ill
  use the Java threading primitives instead.  (For a superior alternative,
  see below.)
* The VM can set the system property
  gnu.classpath.awt.gtk.portable.native.sync instead of using the
  --portable-native-sync configure-type option.
  See doc/vmintegration.texinfo for details.
* We intend that the next release of GNU Classpath will require the VM
  to provide JNI 1.2.  Classpath currently uses only JNI 1.1, except for
  one JNI 1.2 function: GetEnv(), in the JNI Invocation API.
  If this poses problems, please raise them on the classpath mailing list.
* The reference implementation of VMThread.holdsLock(Object) now has
  a default implementation written in java. For efficiency and to
  prevent spurious wakeups a real 'native' runtime version can be supplied.
* There is a new java.security.VMAccessController class that runtimes need
  to implement to properly support SecurityManagers. The default
  implementation that comes with GNU Classpath makes sure that ANY attempt
  to access a protected resource is denied when a SecurityManager is
  installed. Which is pretty secure, but also no very useful.
  Please see the documentation in
  vm/reference/java/security/VMAccessController.java,
  and please give feedback on the GNU Classpath mailinglist whether or not
  the current AccessController framework is flexible enough.

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

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

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

You will also need a runtime environment. The following environments
have been tested to work out of the box with this release:

    * JamVM         (http://jamvm.sourceforge.net/)
    * Jikes RVM     (http://www.ibm.com/developerworks/oss/jikesrvm/)
    * Kissme        (http://kissme.sourceforge.net/)

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.htm

2). What platforms are supported?

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

3). Who should use this software?

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

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/)

4). Where do I go for more information?

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

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


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

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

iD8DBQBA7rpixVhZCJWr9QwRAqA1AJ9Xf4uNuUL4XAoSSeAjdRtQFT8h6QCZAbWs
TVAfLxyK2NCykFnR5vMNglA=
=EDfh
-----END PGP SIGNATURE-----

--=-zvxQR3p6R8r4AUqFIokN--




From MAILER-DAEMON Fri Jul 09 11:55:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BixiH-0002JZ-Ie
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 11:55:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BixiG-0002JS-3a
	for classpath@gnu.org; Fri, 09 Jul 2004 11:55:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BixiF-0002JG-8J
	for classpath@gnu.org; Fri, 09 Jul 2004 11:54:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BixiF-0002JD-5q
	for classpath@gnu.org; Fri, 09 Jul 2004 11:54:59 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bixft-0000fu-1U
	for classpath@gnu.org; Fri, 09 Jul 2004 11:52:33 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Fri, 9 Jul 2004 11:54:46 -0400
Message-ID: <40EEBF31.4030101@netreach.com>
Date: Fri, 09 Jul 2004 11:52:17 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040605)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <788B535AB1F9CB49BB9C229372B50ACC10CDEB@LEMBU.sumatrasoftware.com>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CDEB@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 09 Jul 2004 15:54:46.0129 (UTC)
	FILETIME=[0EA01610:01C465CD]
Cc: classpath <classpath@gnu.org>
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 15:55:00 -0000

Jeroen Frijters wrote:
> I'm sorry, but you lost me. I clearly don't understand what you mean.
> Can you please clarify your original statement (the one I quoted above)?

I think the point is that Sun's VM returns null for stuff that (in IKVM) 
comes from IKVM.GNU.Classpath.dll, but not for anything else. In 
particular, Sun's VM will never return null for the classloader of any 
application code.

Perhaps a simple rule that might have the effect you want would be to 
use the null classloader for the following assemblies:
1) IKVM.Runtime.dll
2) IKVM.GNU.Classpath.dll
3) IKVM.JNI.*.dll
4) Anything in the GAC

and a non-null classloader for everything else.

Am I right that assemblies in the GAC must never have references to 
other assemblies that aren't? And that IKVM-compiled Java assemblies are 
never suitable for GACing? If both these things are true, then no class 
in the set listed above can ever refer to any class outside that set 
(assuming the references of the IKVM assemblies are limited to each 
other and stuff in the GAC).

Stuart.

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



From MAILER-DAEMON Fri Jul 09 12:02:43 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bixpi-00040s-TU
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 12:02:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bixph-00040C-4o
	for classpath@gnu.org; Fri, 09 Jul 2004 12:02:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bixpf-0003zQ-6J
	for classpath@gnu.org; Fri, 09 Jul 2004 12:02:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bixpf-0003zJ-2m
	for classpath@gnu.org; Fri, 09 Jul 2004 12:02:39 -0400
Received: from [209.225.28.230] (helo=mxsf30.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BixnC-0001nU-O4
	for classpath@gnu.org; Fri, 09 Jul 2004 12:00:07 -0400
Received: from mxip04.cluster1.charter.net (mxip04a.cluster1.charter.net
	[209.225.28.134])
	by mxsf30.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i69G031U006438
	for <classpath@gnu.org>; Fri, 9 Jul 2004 12:00:03 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip04.cluster1.charter.net with ESMTP; 09 Jul 2004 12:00:02 -0400
X-Ironport-AV: i="3.81R,159,1083556800"; 
	d="scan'208"; a="101590780:sNHT13490024"
Received: from arch20m.dellroad.org ([10.104.180.64])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA95465;
	Fri, 9 Jul 2004 10:44:11 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i69Fi8I8001072; 
	Fri, 9 Jul 2004 10:44:08 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i69Fi66g001071;
	Fri, 9 Jul 2004 10:44:06 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407091544.i69Fi66g001071@arch20m.dellroad.org>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CDEB@LEMBU.sumatrasoftware.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
Date: Fri, 9 Jul 2004 10:44:06 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 16:02:41 -0000

Jeroen Frijters wrote:
> Archie Cobbs wrote:
> > Jeroen Frijters wrote:
> > > > The Sun API spec clearly states that Class.getClassLoader() may return
> > > > null, and in fact MUST return null for primitive type Class objects.
> > > > So why worry about obviously buggy software?
> > > 
> > > Because most software is buggy? If something runs on the Sun VM and it
> > > doesn't run on my VM, do you think the user cares about who's bug it is?
> > 
> > Sun's VM returns null for the boot loader.. here's an example:
> 
> I'm sorry, but you lost me. I clearly don't understand what you mean.
> Can you please clarify your original statement (the one I quoted above)?

Hmm.. you mean the statement "Sun's VM returns null for the boot loader" ?
Otherwise I'm not sure what you're asking me to clarify...

What I meant by "Sun's VM returns null for the boot loader" was
that the method Class.getClassLoader(), when invoked on a Class
instance associated with a Java class that was loaded by the bootstrap
loader, returns null when executed on Sun's JDK.

As an example of this, I provided a short program demonstrating how
this is true for the specific case of the class java.lang.Object.

-Archie

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



From MAILER-DAEMON Fri Jul 09 12:40:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiyPq-0004Xk-7y
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 12:40:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiyPo-0004Xe-Ln
	for classpath@gnu.org; Fri, 09 Jul 2004 12:40:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiyPn-0004XP-4f
	for classpath@gnu.org; Fri, 09 Jul 2004 12:40:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiyPn-0004XM-2s
	for classpath@gnu.org; Fri, 09 Jul 2004 12:39:59 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BiyNM-0007CD-2f
	for classpath@gnu.org; Fri, 09 Jul 2004 12:37:28 -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, 9 Jul 2004 18:37:22 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CDEE@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: A query on the classloader architecture
Thread-Index: AcRlzhxNykTsKjBMQSGDxhZT32DpVgABGCkw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Archie Cobbs" <archie@dellroad.org>
Cc: classpath <classpath@gnu.org>
Subject: RE: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 16:40:00 -0000

Archie Cobbs wrote:
> Hmm.. you mean the statement "Sun's VM returns null for the=20
> boot loader" ?
> Otherwise I'm not sure what you're asking me to clarify...

No, originally you wrote:
> The Sun API spec clearly states that=20
> Class.getClassLoader() may return
> null, and in fact MUST return null for primitive type=20
> Class objects.
> So why worry about obviously buggy software?

I responded to this by saying that these vague spec statements don't
really help, in practice you have to be compatible with Sun's
implementation. Yes, it's legal to return null from getClassLoader
(IMHO, even for "application" classes), but in reality this breaks lots
of code. Yes, it's legal not to return null for "system" classes (e.g.
java.lang.Object), but again, I'm sure this will break some code.

Regards,
Jeroen



From MAILER-DAEMON Fri Jul 09 12:57:03 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BiygJ-0000Tv-FK
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 12:57:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BiygI-0000TG-DX
	for classpath@gnu.org; Fri, 09 Jul 2004 12:57:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BiygG-0000Rk-AI
	for classpath@gnu.org; Fri, 09 Jul 2004 12:57:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BiygG-0000RV-2q
	for classpath@gnu.org; Fri, 09 Jul 2004 12:57:00 -0400
Received: from [193.74.71.22] (helo=guri.is.scarlet.be)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Biye1-000144-4u
	for classpath@gnu.org; Fri, 09 Jul 2004 12:54:41 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.scarlet.be  with ESMTP id i69GsUR25047; 
	Fri, 9 Jul 2004 18:54:30 +0200
From: Chris Gray <chris.gray@kiffer.be>
Organization: /k/ Embedded Java Syste;s
To: Archie Cobbs <archie@dellroad.org>, David Holmes <dholmes@dltech.com.au>
Date: Fri, 9 Jul 2004 18:59:40 +0200
User-Agent: KMail/1.5.4
References: <200407091415.i69EFX0W011009@arch20m.dellroad.org>
In-Reply-To: <200407091415.i69EFX0W011009@arch20m.dellroad.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200407091859.40791.chris.gray@kiffer.be>
Cc: classpath <classpath@gnu.org>
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 16:57:02 -0000

On Friday 09 July 2004 16:15, Archie Cobbs wrote:

> By the way, I'm somewhat confused about terminology. I've always
> used the term "system class loader" to mean a user defined class
> loader (with associated ClassLoader object), and always different
> from the "bootstrap class loader" which (by my definition) is a VM
> internal thing and is the only class loader capable of deriving/defining
> types without invoking ClassLoader.defineClass(). By (my) definition,
> the "system class loader" is the class loader associated with the object
> returned by the method ClassLoader.getSystemClassLoader().
>
> Are some people using "system class loader" to refer to the
> bootstrap loader.. ? I'd love some clarification on this.

It seems only one person is using "system class loader" to mean a Java class 
which loads system classes, and that person is me. I thought I'd got the 
terminology from Li Gong's book (which I don't have handy), but apparently 
the rest of the world is unanimous in using "system class loader" to mean the 
application class loader. Sorry for the confusion.

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




From MAILER-DAEMON Fri Jul 09 13:17:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Biz07-000593-Ui
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 13:17:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Biz06-00058x-Dc
	for classpath@gnu.org; Fri, 09 Jul 2004 13:17:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Biz05-00058k-RH
	for classpath@gnu.org; Fri, 09 Jul 2004 13:17:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Biz05-00058h-Ne
	for classpath@gnu.org; Fri, 09 Jul 2004 13:17:29 -0400
Received: from [209.225.28.210] (helo=mxsf10.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Biyxo-0003es-Bl
	for classpath@gnu.org; Fri, 09 Jul 2004 13:15:08 -0400
Received: from mxip08.cluster1.charter.net (mxip08a.cluster1.charter.net
	[209.225.28.138])
	by mxsf10.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i69HHshg029324
	for <classpath@gnu.org>; Fri, 9 Jul 2004 13:17:54 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip08.cluster1.charter.net with ESMTP; 09 Jul 2004 13:15:07 -0400
X-Ironport-AV: i="3.81R,159,1083556800"; 
	d="scan'208"; a="104607112:sNHT15694020"
Received: from arch20m.dellroad.org ([10.104.180.64])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id LAA96161;
	Fri, 9 Jul 2004 11:59:58 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i69GxrI8001481; 
	Fri, 9 Jul 2004 11:59:53 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i69Gxphf001480;
	Fri, 9 Jul 2004 11:59:51 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407091659.i69Gxphf001480@arch20m.dellroad.org>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CDEE@LEMBU.sumatrasoftware.com>
To: Jeroen Frijters <jeroen@sumatra.nl>
Date: Fri, 9 Jul 2004 11:59:51 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 09 Jul 2004 17:17:30 -0000

Jeroen Frijters wrote:
> No, originally you wrote:
> > The Sun API spec clearly states that 
> > Class.getClassLoader() may return
> > null, and in fact MUST return null for primitive type 
> > Class objects.
> > So why worry about obviously buggy software?
> 
> I responded to this by saying that these vague spec statements don't
> really help, in practice you have to be compatible with Sun's
> implementation. Yes, it's legal to return null from getClassLoader
> (IMHO, even for "application" classes), but in reality this breaks lots
> of code. Yes, it's legal not to return null for "system" classes (e.g.
> java.lang.Object), but again, I'm sure this will break some code.

OK, so we both agree that Sun's implementation sometimes returns null.

What I'm curious about is: what are those cases that trigger the buggy
software's bugs? Can you be more specific? I'm just trying to understand
exactly what the issue is. What's a short program that behaves differently
on two VMs? Etc.

-Archie

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



From MAILER-DAEMON Fri Jul 09 19:29:34 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bj4oA-00063y-D1
	for mharc-classpath@gnu.org; Fri, 09 Jul 2004 19:29:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bj4o9-00063s-45
	for classpath@gnu.org; Fri, 09 Jul 2004 19:29:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bj4o7-00063g-Ii
	for classpath@gnu.org; Fri, 09 Jul 2004 19:29:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bj4o7-00063d-FS
	for classpath@gnu.org; Fri, 09 Jul 2004 19:29:31 -0400
Received: from [24.25.9.102] (helo=ms-smtp-03-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bj4lr-0007MJ-PD
	for classpath@gnu.org; Fri, 09 Jul 2004 19:27:11 -0400
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i69NR5iA011698; Fri, 9 Jul 2004 19:27:05 -0400 (EDT)
From: "C. Brian Jones" <cbj@gnu.org>
To: Archie Cobbs <archie@dellroad.org>
In-Reply-To: <200407091424.i69EO1ie011104@arch20m.dellroad.org>
References: <200407091424.i69EO1ie011104@arch20m.dellroad.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-oHk2HfmPrXoy4cJ2e7N8"
Message-Id: <1089415624.4640.69.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Fri, 09 Jul 2004 19:27:05 -0400
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: classpath API version
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jul 2004 23:29:33 -0000


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

On Fri, 2004-07-09 at 10:24, Archie Cobbs wrote:
> Robert Schuster wrote:
> > What I want to say is: IMHO since Classpath already stepped into the 1.=
4=20
> > land it would not a good idea to primary support previous JDK versions.=
=20
> > Classpath had to rip classes, methods and signatures off to be=20
> > compatible with <1.4 again. If Classpath would officially head for full=
=20
> > 1.4 compatibility this would a much better. Java 1.5 is a nice 'natural=
'=20
> > barrier for adding its features because it needs a different syntax and=
=20
> > therefore tools ...
>=20
> Sounds good to me. I vote we say "we strive for 1.4 compatibility"
> but also say "we don't promise everything in 1.4 is implemented yet".

It would be nice if Mauve/japi/stck could essentially be used to
indicate what's there and what works in a consolidated view, well
actually better to indicate the holes really... but anyway.

Brian

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

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

iD8DBQBA7ynIcEcmdY33uzYRApSqAJ4gvCVeKOVfMf6j8ozVN164S93YagCfTuxv
R8s0itGPkgPPX9AyB57WX+o=
=ck0C
-----END PGP SIGNATURE-----

--=-oHk2HfmPrXoy4cJ2e7N8--




From MAILER-DAEMON Sat Jul 10 15:03:20 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BjN84-0007wA-08
	for mharc-classpath@gnu.org; Sat, 10 Jul 2004 15:03:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BjN82-0007w3-C3
	for classpath@gnu.org; Sat, 10 Jul 2004 15:03:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BjN81-0007vr-QS
	for classpath@gnu.org; Sat, 10 Jul 2004 15:03:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BjN81-0007vo-OK
	for classpath@gnu.org; Sat, 10 Jul 2004 15:03:17 -0400
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BjN5d-0005Iz-HV
	for classpath@gnu.org; Sat, 10 Jul 2004 15:00:49 -0400
Received: from anis5.telecom.uqam.ca (anis5.telecom.uqam.ca [132.208.250.235])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i6AItDIO000682
	for <classpath@gnu.org>; Sat, 10 Jul 2004 14:55:14 -0400 (EDT)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis5.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004071014551312368
	for <classpath@gnu.org>; Sat, 10 Jul 2004 14:55:13 -0400
Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	i6AIsHXX028598
	for <classpath@gnu.org>; Sat, 10 Jul 2004 14:54:17 -0400 (EDT)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from localhost ([127.0.0.1])
	by perseval.info.uqam.ca with esmtp (Exim 4.34 #1 (Debian))
	id 1BjMzJ-0000Jg-Px
	for <classpath@gnu.org>; Sat, 10 Jul 2004 14:54:17 -0400
Message-ID: <40F03B59.7070005@uqam.ca>
Date: Sat, 10 Jul 2004 14:54:17 -0400
From: Etienne Gagnon <gagnon.etienne_m@uqam.ca>
Organization: UQAM
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.7) Gecko/20040705 Debian/1.7-4
X-Accept-Language: en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: SableVM 1.1.6 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: Sat, 10 Jul 2004 19:03:18 -0000

The developers of the SableVM Project are proud to announce the
official release of SableVM 1.1.6.  SableVM is a liberally licensed
Free Java virtual machine.  See the "About SableVM" section below for
more informations about SableVM.

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

- Synchronized sablevm-classpath with the latest GNU Classpath CVS
   (post 0.10 release) as of July 10, 2004.

- Improved AWT and Swing support.

- Added additional checks to autogen.sh for FreeBSD.

- Added new DecoderUS_ASCII, Spring and SpringLayout classes.

- Added a sablevm.verbose.synchronization (DEBUG) option to help
   debugging deadlocks.

- Improved TimeZone handling.

- Added detection of non-GNU-compatible "make" to issue warnings and
   errors appropriately.

- Added useful additional information in stack dumps.

- Added new documentation.

- Fixed various 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 ===

SableVM is available to download from the following locations:

- http://sourceforge.net/project/showfiles.php?group_id=5523
- (alternate) http://sablevm.org/download/release/

You must download both:

- sablevm-1.1.6.tar.gz
- sablevm-classpath-1.1.6.tar.gz.

See the INSTALL file included in the sablevm-1.1.6.tar.gz archive for
build environment requirements and installation procedures.

We make frequent releases, but we also provide daily snapshots of our
"staging" development branch at:

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

Note that the code of the staging branch is more robust than the code
usually found in the CVS trunk of many other free software projects.
The staging branch only contains code that has been first tested by
developers within their own sandbox.  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.


=== DEVELOPMENT OF SABLEVM AND CLASSPATH ===

We invite you to visit our "Developer Portal" at:

   http://sablevm.org/devel/

This site contains the very latest news and other informations about
SableVM development.


For people who want to develop SableVM or its class libraries in a
comfortable environment, we provide:

* 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 than takes approximately 10 minutes to
   learn for a person familiar with CVS.

* Very frequent updates from upstream GNU Classpath CVS repository

   The "staging" development branch 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" where he
   can have several 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/branches/staging/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







From MAILER-DAEMON Sun Jul 11 07:22:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BjcPC-00021P-Mh
	for mharc-classpath@gnu.org; Sun, 11 Jul 2004 07:22:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BjcPB-000212-04
	for classpath@gnu.org; Sun, 11 Jul 2004 07:22:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BjcP9-00020q-Tf
	for classpath@gnu.org; Sun, 11 Jul 2004 07:22:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BjcP9-00020n-R1
	for classpath@gnu.org; Sun, 11 Jul 2004 07:21:59 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BjcMY-0004yr-0N
	for classpath@gnu.org; Sun, 11 Jul 2004 07:19:18 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i6BBIfT4086280;
	Sun, 11 Jul 2004 21:18:49 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Chris Gray" <chris.gray@kiffer.be>
Date: Sun, 11 Jul 2004 21:18:45 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCKEBJEGAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <200407091859.40791.chris.gray@kiffer.be>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Cc: classpath <classpath@gnu.org>
Subject: RE: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 11 Jul 2004 11:22:01 -0000

Chris,

> It seems only one person is using "system class loader" to mean a
> Java class which loads system classes, and that person is me.
> I thought I'd got the terminology from Li Gong's book (which I don't
> have handy), but apparently the rest of the world is unanimous in
> using "system class loader" to mean the
> application class loader. Sorry for the confusion.

It is Sun's fault as they decided the class loader that loads the
application is the "system class loader" while at the same time "core"
classes in the java.* packages were referred to as "system classes" (which
is what Li Gong calls them all the time) but are "loaded" by the bootstrap
loader. These days I tend to say system/application classloader to refer to
the class loader returned by getSystemClassLoader that loaded the
application. :)

Does this mean you need to edit your previous email to me to clarify exactly
which class loader you were referring to with each point?

Cheers,
David Holmes




From MAILER-DAEMON Sun Jul 11 07:28:29 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BjcVQ-0003eH-Sv
	for mharc-classpath@gnu.org; Sun, 11 Jul 2004 07:28:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BjcVO-0003dR-Po
	for classpath@gnu.org; Sun, 11 Jul 2004 07:28:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BjcVM-0003cL-UH
	for classpath@gnu.org; Sun, 11 Jul 2004 07:28:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BjcVM-0003cG-Px
	for classpath@gnu.org; Sun, 11 Jul 2004 07:28:24 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BjcSz-0005c5-Sf
	for classpath@gnu.org; Sun, 11 Jul 2004 07:25:58 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i6BBN3T4088419;
	Sun, 11 Jul 2004 21:23:06 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Archie Cobbs" <archie@dellroad.org>, "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Sun, 11 Jul 2004 21:23:07 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEBKEGAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <200407091417.i69EHOU7011016@arch20m.dellroad.org>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Cc: classpath <classpath@gnu.org>, ikvm-developers@lists.sourceforge.net
Subject: RE: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 11 Jul 2004 11:28:27 -0000

> Archie Cobbs wrote:
> The Sun API spec clearly states that Class.getClassLoader() may return
> null, and in fact MUST return null for primitive type Class objects.
> So why worry about obviously buggy software?

There are only two cases where getClassLoader is allowed to return null:

a) it may return null for a bootstrap loader so represented; and
b) it must return null when invoked in the Class object for a primitive type
or void.

Consequently application code should have every right to assert that
"this.getClass().getClassLoader()" is never null.

David Holmes




From MAILER-DAEMON Sun Jul 11 07:48:26 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bjcok-000792-Kb
	for mharc-classpath@gnu.org; Sun, 11 Jul 2004 07:48:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bjcoi-00078f-Su
	for classpath@gnu.org; Sun, 11 Jul 2004 07:48:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bjcoh-00078K-2V
	for classpath@gnu.org; Sun, 11 Jul 2004 07:48:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bjcog-00078A-TX
	for classpath@gnu.org; Sun, 11 Jul 2004 07:48:22 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BjcmJ-0007W2-Mh
	for classpath@gnu.org; Sun, 11 Jul 2004 07:45:55 -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: Sun, 11 Jul 2004 13:45:48 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC10CDF4@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: A query on the classloader architecture
Thread-Index: AcRnOibJhAH0Df7zTWmKZmdsWKwjjQAAdkDg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>,
	"Archie Cobbs" <archie@dellroad.org>
Cc: classpath <classpath@gnu.org>, ikvm-developers@lists.sourceforge.net
Subject: RE: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 11 Jul 2004 11:48:25 -0000

David Holmes wrote:
> > Archie Cobbs wrote:
> > The Sun API spec clearly states that Class.getClassLoader()=20
> may return
> > null, and in fact MUST return null for primitive type Class objects.
> > So why worry about obviously buggy software?
>=20
> There are only two cases where getClassLoader is allowed to=20
> return null:
>=20
> a) it may return null for a bootstrap loader so represented; and
> b) it must return null when invoked in the Class object for a=20
> primitive type
> or void.
>=20
> Consequently application code should have every right to assert that
> "this.getClass().getClassLoader()" is never null.

Sure, but, IMHO, if you write a library you cannot assume that your
library won't be loaded by the bootstrap class loader.

Regards,
Jeroen



From MAILER-DAEMON Sun Jul 11 07:54:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BjcuA-00089D-H2
	for mharc-classpath@gnu.org; Sun, 11 Jul 2004 07:54:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bjcu8-000897-Pf
	for classpath@gnu.org; Sun, 11 Jul 2004 07:54:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bjcu6-00088u-Eu
	for classpath@gnu.org; Sun, 11 Jul 2004 07:54:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bjcu6-00088r-AF
	for classpath@gnu.org; Sun, 11 Jul 2004 07:53:58 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bjcra-00085u-5e
	for classpath@gnu.org; Sun, 11 Jul 2004 07:51:22 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i6BBo0T4001871;
	Sun, 11 Jul 2004 21:50:02 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>, "Archie Cobbs" <archie@dellroad.org>
Date: Sun, 11 Jul 2004 21:50:04 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCAEBMEGAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC10CDF4@LEMBU.sumatrasoftware.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Cc: classpath <classpath@gnu.org>, ikvm-developers@lists.sourceforge.net
Subject: RE: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 11 Jul 2004 11:54:01 -0000

I wrote:
> > Consequently application code should have every right to assert that
> > "this.getClass().getClassLoader()" is never null.
>

Jeroen responded:
> Sure, but, IMHO, if you write a library you cannot assume that your
> library won't be loaded by the bootstrap class loader.

Good point. There's nothing stopping a user from putting everything on
bootclasspath. I wonder how many library writers actually consider that?

David Holmes




From MAILER-DAEMON Sun Jul 11 15:56:13 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BjkQm-0002CG-SG
	for mharc-classpath@gnu.org; Sun, 11 Jul 2004 15:56:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BjkJT-00019E-Lx
	for classpath@gnu.org; Sun, 11 Jul 2004 15:48:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BjkJR-00017t-0m
	for classpath@gnu.org; Sun, 11 Jul 2004 15:48:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BjkJQ-00017q-TN
	for classpath@gnu.org; Sun, 11 Jul 2004 15:48:36 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BjkGx-0008BF-O5; Sun, 11 Jul 2004 15:46:04 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BjkGM-00022j-00; Sun, 11 Jul 2004 21:45:26 +0200
From: Mark Wielaard <mark@klomp.org>
To: Stephen Crawley <crawley@dstc.edu.au>
In-Reply-To: <200407070321.i673LTij018001@piglet.dstc.edu.au>
References: <200407070321.i673LTij018001@piglet.dstc.edu.au>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-kssN0RquBhVQW0YUuqq5"
Message-Id: <1089575117.21380.694.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 11 Jul 2004 21:45:17 +0200
X-Mailman-Approved-At: Sun, 11 Jul 2004 15:56:10 -0400
Cc: crawley@piglet.dstc.edu.au, David Daney <ddaney@avtrex.com>, cbj@gnu.org,
	Ranjit Mathew <rmathew@gmail.com>, java-patches@gcc.gnu.org,
	gnustuff@thisiscool.com, Bryce McKinlay <mckinlay@redhat.com>,
	classpath@gnu.org
Subject: Re: Patch: merge File.toURI() from 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, 11 Jul 2004 19:48:40 -0000


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

Hi,

On Wed, 2004-07-07 at 05:21, Stephen Crawley wrote:
> For the record, grep tells me that Sun's JDK 1.4.2 class libraries
> throws InternalError in 145 places.   Notwithstanding the wording of the
> InternalError javadoc, Sun uses it extensively for library errors. In a
> couple of cases, the comments that indicated that the developer thought
> that InternalError was the wrong exception ... but used it anyway.
>=20
> On the other hand, grep tells me that JDK 1.4.2 throws RuntimeException
> in 157 places.

Quick note. As pointed out in the GNU Classpath Hacker Guide
http://www.gnu.org/software/classpath/docs/hacking.html#SEC2
Never under any circumstances refer to proprietary code while working on
GNU Classpath. GNU Classpath can be developed while just relying on free
software tools. Please make this as easy as possible for everybody and
just use only free software whenever you can.

Yes, I know that running grep over a bunch of source files isn't the
same as studying some proprietary implementation while working on a free
implementation like GNU Classpath. But we like to make it as clear and
easy as possible to avoid any confusion about whether or not people
hacking on GNU Classpath ever refer to proprietary implementations while
working on compatible free implementations. They don't. Keeping it that
simple means we don't have to open up a giant can of legal worms. It can
easily be kept closed.

Thanks,

Mark

BTW. FWIW. I think Chris has it right. The book by Joshua Bloch makes a
very good case. We should just define a ClasspathAssertionFailure that
extends RuntimeException and takes a cause (and/or string) as argument.
Then at every place we get an unexpected exception that should not
happen or some other pre/post condition failure inside the core
libraries that was never supposed to happen we throw this. It doesn't
even matter that much what another implementation does. We should do it
better and more consistent.

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

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

iD8DBQBA8ZjNxVhZCJWr9QwRAmC3AKCjXOpgNgZgwB2FUnCkk5f+cCmsggCggw8F
ZkUTtHLcemVtBBg5qVnDNHY=
=Zmys
-----END PGP SIGNATURE-----

--=-kssN0RquBhVQW0YUuqq5--




From MAILER-DAEMON Sun Jul 11 17:52:43 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BjmFX-0000Lf-3L
	for mharc-classpath@gnu.org; Sun, 11 Jul 2004 17:52:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BjmFV-0000LN-V3
	for classpath@gnu.org; Sun, 11 Jul 2004 17:52:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BjmFU-0000KC-Hi
	for classpath@gnu.org; Sun, 11 Jul 2004 17:52:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BjmFT-0000K3-Ba
	for classpath@gnu.org; Sun, 11 Jul 2004 17:52:40 -0400
Received: from [193.74.71.22] (helo=guri.is.scarlet.be)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BjmCB-0004ko-NR
	for classpath@gnu.org; Sun, 11 Jul 2004 17:49:16 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.scarlet.be  with ESMTP id i6BLn3R28251; 
	Sun, 11 Jul 2004 23:49:03 +0200
From: Chris Gray <chris.gray@kiffer.be>
Organization: /k/ Embedded Java Syste;s
To: "David Holmes" <dholmes@dltech.com.au>,
	"Jeroen Frijters" <jeroen@sumatra.nl>, "Archie Cobbs" <archie@dellroad.org>
Date: Sun, 11 Jul 2004 23:54:16 +0200
User-Agent: KMail/1.5.4
References: <NFBBKALFDCPFIDBNKAPCAEBMEGAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCAEBMEGAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200407112354.16328.chris.gray@kiffer.be>
Cc: classpath <classpath@gnu.org>, ikvm-developers@lists.sourceforge.net
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 11 Jul 2004 21:52:42 -0000

On Sunday 11 July 2004 13:50, David Holmes wrote:
> I wrote:
> > > Consequently application code should have every right to assert that
> > > "this.getClass().getClassLoader()" is never null.
>
> Jeroen responded:
> > Sure, but, IMHO, if you write a library you cannot assume that your
> > library won't be loaded by the bootstrap class loader.
>
> Good point. There's nothing stopping a user from putting everything on
> bootclasspath. I wonder how many library writers actually consider that?

Why do you think people write stuff like
   Class c;
   ClassLoader cl = this.getClass().getClassLoader();
   if (cl == null) {
     c = Class.forName(classname);
   }
   else {
     c = Class.forName(classname, false, cl);
   }

Which gets tedious, real fast. :-{

Chris

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




From MAILER-DAEMON Sun Jul 11 18:08:37 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BjmUv-0004Ly-8Z
	for mharc-classpath@gnu.org; Sun, 11 Jul 2004 18:08:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BjmUt-0004Lm-NO
	for classpath@gnu.org; Sun, 11 Jul 2004 18:08:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BjmUt-0004La-7f
	for classpath@gnu.org; Sun, 11 Jul 2004 18:08:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BjmUt-0004LX-2h
	for classpath@gnu.org; Sun, 11 Jul 2004 18:08:35 -0400
Received: from [193.74.71.22] (helo=guri.is.scarlet.be)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BjmSB-0006R1-De
	for classpath@gnu.org; Sun, 11 Jul 2004 18:05:47 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.scarlet.be  with ESMTP id i6BM5gR02687; 
	Mon, 12 Jul 2004 00:05:42 +0200
From: Chris Gray <chris.gray@kiffer.be>
Organization: /k/ Embedded Java Syste;s
To: "David Holmes" <dholmes@dltech.com.au>
Date: Mon, 12 Jul 2004 00:10:55 +0200
User-Agent: KMail/1.5.4
References: <NFBBKALFDCPFIDBNKAPCKEBJEGAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCKEBJEGAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200407120010.55612.chris.gray@kiffer.be>
Cc: classpath <classpath@gnu.org>
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 11 Jul 2004 22:08:35 -0000

On Sunday 11 July 2004 13:18, David Holmes wrote:
> Chris,
>
> > It seems only one person is using "system class loader" to mean a
> > Java class which loads system classes, and that person is me.
> > I thought I'd got the terminology from Li Gong's book (which I don't
> > have handy), but apparently the rest of the world is unanimous in
> > using "system class loader" to mean the
> > application class loader. Sorry for the confusion.
>
> It is Sun's fault as they decided the class loader that loads the
> application is the "system class loader" while at the same time "core"
> classes in the java.* packages were referred to as "system classes" (which
> is what Li Gong calls them all the time) but are "loaded" by the bootstrap
> loader. These days I tend to say system/application classloader to refer to
> the class loader returned by getSystemClassLoader that loaded the
> application. :)

And then go to the bathroom to rinse your mouth with disinfectant. :)

> Does this mean you need to edit your previous email to me to clarify
> exactly which class loader you were referring to with each point?
I guess so, yes. Here goes ...

During bootstrapping, a native code (C) classloader is used to load the most 
fundamental classes; Object, Class, String, Thread, etc.. This classloader 
only searches one file, namely the first .jar or .zip in the bootstrap 
classpath (normally this is wre.jar). As soon as it is possible to run Java 
bytecode a Java bootstrap classloader is created, and this classloader 
inherits all classes loaded by the native code. The Java bootstrap class 
loader will load classes and system resources from the whole bootstrap class 
path (-Xbootclasspath). All requests to load a class in java.* or wonka.* are 
dispatched to the system class loader, by-passing the class loader hierarchy.

Classes which are loaded by the Java bootstrap classloader will return a 
reference to the Java bootstrap classloader as class.getClassLoader(). 
Classes which are loaded by the native code classloader will return null 
(this could change), as will primitive data types. We have not seen any 
problems resulting from this, but some code written to a Java 1.1 security 
model could fail if it assumes classloader null <=> system class.

The extension class loader is created only if java.ext.dirs.path exists. It 
loads classes from this path, and its parent is the (Java) bootstrap class 
loader.

The application class loader loads classes from -classpath/$CLASSPATH, and is 
responsible for loading the application specified on the command line. Its 
parent is the extension class loader if this exists, the (Java) bootstrap 
class loader otherwise.

Does that make more sense?

Best wishes

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




From MAILER-DAEMON Sun Jul 11 18:47:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bjn6g-00051V-0o
	for mharc-classpath@gnu.org; Sun, 11 Jul 2004 18:47:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bjn6e-00051Q-RV
	for classpath@gnu.org; Sun, 11 Jul 2004 18:47:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bjn6d-00051E-95
	for classpath@gnu.org; Sun, 11 Jul 2004 18:47:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bjn6d-00051B-6W
	for classpath@gnu.org; Sun, 11 Jul 2004 18:47:35 -0400
Received: from [209.225.28.207] (helo=mxsf07.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bjn4F-00026e-O3
	for classpath@gnu.org; Sun, 11 Jul 2004 18:45:08 -0400
Received: from mxip01.cluster1.charter.net (mxip01a.cluster1.charter.net
	[209.225.28.131])
	by mxsf07.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i6C2nBL8004352
	for <classpath@gnu.org>; Sun, 11 Jul 2004 22:49:11 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip01.cluster1.charter.net with ESMTP; 11 Jul 2004 18:45:04 -0400
X-Ironport-AV: i="3.81R,160,1083556800"; 
	d="scan'208"; a="91889010:sNHT13650796"
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 RAA24889;
	Sun, 11 Jul 2004 17:43:57 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i6BMhvDh045181; 
	Sun, 11 Jul 2004 17:43:57 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i6BMhvgD045180;
	Sun, 11 Jul 2004 17:43:57 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407112243.i6BMhvgD045180@arch20m.dellroad.org>
In-Reply-To: <200407120010.55612.chris.gray@kiffer.be>
To: Chris Gray <chris.gray@kiffer.be>
Date: Sun, 11 Jul 2004 17:43:56 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath <classpath@gnu.org>
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 11 Jul 2004 22:47:37 -0000

Chris Gray wrote:
> During bootstrapping, a native code (C) classloader is used to load the most 
> fundamental classes; Object, Class, String, Thread, etc.. This classloader 
> only searches one file, namely the first .jar or .zip in the bootstrap 
> classpath (normally this is wre.jar). As soon as it is possible to run Java 
> bytecode a Java bootstrap classloader is created, and this classloader 
> inherits all classes loaded by the native code. The Java bootstrap class 
> loader will load classes and system resources from the whole bootstrap class 
> path (-Xbootclasspath). All requests to load a class in java.* or wonka.* are 
> dispatched to the system class loader, by-passing the class loader hierarchy.
> 
> Classes which are loaded by the Java bootstrap classloader will return a 
> reference to the Java bootstrap classloader as class.getClassLoader(). 
> Classes which are loaded by the native code classloader will return null 
> (this could change), as will primitive data types. We have not seen any 
> problems resulting from this, but some code written to a Java 1.1 security 
> model could fail if it assumes classloader null <=> system class.
> 
> The extension class loader is created only if java.ext.dirs.path exists. It 
> loads classes from this path, and its parent is the (Java) bootstrap class 
> loader.
> 
> The application class loader loads classes from -classpath/$CLASSPATH, and is 
> responsible for loading the application specified on the command line. Its 
> parent is the extension class loader if this exists, the (Java) bootstrap 
> class loader otherwise.

So.. (I hope this doesn't sound like an annoying question) what is the
point of creating your "Java bootstrap classloader" ? Why not just let
your primoridal native code class loader fill this role as well? Is all
you're trying to do is prevent getClassLoader() from ever returning null?

If so, a separate question which underlies this whole discussion is
is whether that goal is worthwhile or not.. guess the jury's still out.

Thanks,
-Archie

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



From MAILER-DAEMON Sun Jul 11 19:00:10 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BjnIo-00075f-Qf
	for mharc-classpath@gnu.org; Sun, 11 Jul 2004 19:00:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BjnIn-00075Z-3i
	for classpath@gnu.org; Sun, 11 Jul 2004 19:00:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BjnIk-00075M-1g
	for classpath@gnu.org; Sun, 11 Jul 2004 19:00:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BjnIj-00075J-H2
	for classpath@gnu.org; Sun, 11 Jul 2004 19:00:05 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BjnGB-0003Qh-Jz
	for classpath@gnu.org; Sun, 11 Jul 2004 18:57:28 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id i6BMv0T4088075;
	Mon, 12 Jul 2004 08:57:01 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Chris Gray" <chris.gray@kiffer.be>
Date: Mon, 12 Jul 2004 08:57:04 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCCECBEGAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <200407112354.16328.chris.gray@kiffer.be>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Cc: classpath <classpath@gnu.org>, ikvm-developers@lists.sourceforge.net
Subject: RE: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 11 Jul 2004 23:00:09 -0000

Chris Gray wrote:
> Why do you think people write stuff like
>    Class c;
>    ClassLoader cl = this.getClass().getClassLoader();
>    if (cl == null) {
>      c = Class.forName(classname);
>    }
>    else {
>      c = Class.forName(classname, false, cl);
>    }
>
> Which gets tedious, real fast. :-{

Hmmm. Given that the *only* distinction between the two forms of forName are
that the first implies initialize=true while the latter gives
initialize=false, I don't know why anyone would write that code. ???

Class.forName(className) is "equivalent to:
  Class.forName(className, true, currentLoader)
where currentLoader denotes the defining class loader of the current class."

David Holmes




From MAILER-DAEMON Mon Jul 12 04:15:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BjvyS-00079u-LG
	for mharc-classpath@gnu.org; Mon, 12 Jul 2004 04:15:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BjvyR-00079p-02
	for classpath@gnu.org; Mon, 12 Jul 2004 04:15:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BjvyO-00079d-W4
	for classpath@gnu.org; Mon, 12 Jul 2004 04:15:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BjvyO-00079a-PS
	for classpath@gnu.org; Mon, 12 Jul 2004 04:15:40 -0400
Received: from [193.74.71.22] (helo=guri.is.scarlet.be)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bjvvq-0004y2-P7
	for classpath@gnu.org; Mon, 12 Jul 2004 04:13:03 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.scarlet.be  with ESMTP id i6C8CvR30502; 
	Mon, 12 Jul 2004 10:12:57 +0200
From: Chris Gray <chris.gray@kiffer.be>
Organization: /k/ Embedded Java Syste;s
To: Archie Cobbs <archie@dellroad.org>
Date: Mon, 12 Jul 2004 10:18:11 +0200
User-Agent: KMail/1.5.4
References: <200407112243.i6BMhvgD045180@arch20m.dellroad.org>
In-Reply-To: <200407112243.i6BMhvgD045180@arch20m.dellroad.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200407121018.11063.chris.gray@kiffer.be>
Cc: classpath <classpath@gnu.org>
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 12 Jul 2004 08:15:43 -0000

On Monday 12 July 2004 00:43, Archie Cobbs wrote:

> So.. (I hope this doesn't sound like an annoying question) what is the
> point of creating your "Java bootstrap classloader" ? Why not just let
> your primoridal native code class loader fill this role as well? Is all
> you're trying to do is prevent getClassLoader() from ever returning null?

Some of us just like programming in Java. So the C classloader is as kept very 
simple - for example it only looks in one file - while the Java bootstrap 
class loader can be more complex. If we wanted for example to store only the 
bare minimum (20 or so classes) on the device and load the rest using tftp, 
all the code to do that would be in the Java part.

Preventing getClassLoader() from ever returning null is a possible further 
step; it would simplify some code, but nothing earth-shaking.

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




From MAILER-DAEMON Mon Jul 12 04:23:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bjw6G-0000I5-Cl
	for mharc-classpath@gnu.org; Mon, 12 Jul 2004 04:23:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bjw6E-0000Gv-H0
	for classpath@gnu.org; Mon, 12 Jul 2004 04:23:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bjw6C-0000FD-Fk
	for classpath@gnu.org; Mon, 12 Jul 2004 04:23:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bjw6A-0000F8-Tw
	for classpath@gnu.org; Mon, 12 Jul 2004 04:23:44 -0400
Received: from [193.74.71.23] (helo=oola.is.scarlet.be)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bjw3p-00060w-EO
	for classpath@gnu.org; Mon, 12 Jul 2004 04:21:17 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by oola.is.scarlet.be  with ESMTP id i6C8LBY09119; 
	Mon, 12 Jul 2004 10:21:11 +0200
From: Chris Gray <chris.gray@kiffer.be>
Organization: /k/ Embedded Java Syste;s
To: "David Holmes" <dholmes@dltech.com.au>
Date: Mon, 12 Jul 2004 10:26:25 +0200
User-Agent: KMail/1.5.4
References: <NFBBKALFDCPFIDBNKAPCCECBEGAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCCECBEGAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200407121026.25252.chris.gray@kiffer.be>
Cc: classpath <classpath@gnu.org>, ikvm-developers@lists.sourceforge.net
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 12 Jul 2004 08:23:46 -0000

On Monday 12 July 2004 00:57, David Holmes wrote:

> Hmmm. Given that the *only* distinction between the two forms of forName
> are that the first implies initialize=true while the latter gives
> initialize=false, I don't know why anyone would write that code. ???

Oops, you're right; for some reason I thought the third parameter had to be 
non-null. I should check the Java APIs before posting ...

OTOH there are times where you want to call a method (getPackage(), 
findLibrary(), ...) of the appropriate classloader. Having a non-null 
bootstrap class loader would help here.

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




From MAILER-DAEMON Mon Jul 12 05:14:52 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bjwtf-0000xv-OX
	for mharc-classpath@gnu.org; Mon, 12 Jul 2004 05:14:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bjwtb-0000wo-Rj
	for classpath@gnu.org; Mon, 12 Jul 2004 05:14:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BjwtZ-0000vc-8S
	for classpath@gnu.org; Mon, 12 Jul 2004 05:14:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BjwtZ-0000vZ-57
	for classpath@gnu.org; Mon, 12 Jul 2004 05:14:45 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bjwqw-0003Tc-Fx
	for classpath@gnu.org; Mon, 12 Jul 2004 05:12:02 -0400
Received: (qmail 1949 invoked by uid 504); 12 Jul 2004 11:11:57 +0200
Received: from arnaud.vandyck@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501
	with qmail-scanner-1.16 (spamassassin: 2.55.  Clear:. 
	Processed in 0.155167 secs); 12 Jul 2004 09:11:57 -0000
Received: from unknown (HELO oz.fapse.ulg.ac.be) ([139.165.77.198])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 12 Jul 2004 11:11:56 +0200
Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.34)
	id 1Bjwqp-0001c6-Di
	for classpath@gnu.org; Mon, 12 Jul 2004 11:11:55 +0200
To: classpath@gnu.org
References: <788B535AB1F9CB49BB9C229372B50ACC10CD0F@LEMBU.sumatrasoftware.com>
	<1088763419.29406.79.camel@localhost>
	<1088794732.1168.80.camel@moonlight.localdomain>
	<1088797560.1168.92.camel@moonlight.localdomain>
	<1088804284.29403.177.camel@localhost>
	<1088813373.29403.235.camel@localhost>
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
X-Face: >U]gI'=hKRtZE@~Svh"mU,aS"">yCT*dBkVAFl'!]!&k@R8fEr{-)Ql6{xhuXKb+!>}x;
	^2ck7Ytr'EABxt~)3q?AO}$:wwSva.$uNN9x.w4+uVmMMSB1~EbJgo|9E0yQXONuM'~c*20^
Date: Mon, 12 Jul 2004 11:11:55 +0200
In-Reply-To: <1088813373.29403.235.camel@localhost> (Mark Wielaard's message
	of "Sat, 03 Jul 2004 02:09:33 +0200")
Message-ID: <874qod8u90.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Subject: Re: Eclipse 3.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Jul 2004 09:14:49 -0000

Mark Wielaard <mark@klomp.org> writes:

[...]

> Then we hit:
>
> javax.xml.transform.TransformerFactoryConfigurationError: Factory class
> com.icl.saxon.TransformerFactoryImpl not found
>    at javax.xml.transform.ClassStuff.createFactory (ClassStuff.java:141)
>
> Since they decided not to automagically include their own XML stuff
> since M9... So you need libxmlj or something like xalan added to your
> bootclasspath. I tried that, but I now have jamvm crashing. Rebuilding
> libgcj with the above patches now. But first some sleep.

This one is from Saxon but I think the default xslt engine now changed
to libxmlj

-- 
Arnaud Vandyck

< doogie> asuffield: how do you think dpkg was originally written?  :|
< asuffield> by letting iwj get dangerously near a computer
		-- in #debian-devel



From MAILER-DAEMON Mon Jul 12 10:17:36 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bk1ce-0005nW-4B
	for mharc-classpath@gnu.org; Mon, 12 Jul 2004 10:17:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bk1cb-0005nQ-QR
	for classpath@gnu.org; Mon, 12 Jul 2004 10:17:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bk1ca-0005n7-2w
	for classpath@gnu.org; Mon, 12 Jul 2004 10:17:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bk1cZ-0005n4-Vy
	for classpath@gnu.org; Mon, 12 Jul 2004 10:17:32 -0400
Received: from [209.225.28.229] (helo=mxsf29.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bk1aE-0007K2-Fa
	for classpath@gnu.org; Mon, 12 Jul 2004 10:15:06 -0400
Received: from mxip11.cluster1.charter.net (mxip11a.cluster1.charter.net
	[209.225.28.141])
	by mxsf29.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i6CEIDlf012730
	for <classpath@gnu.org>; Mon, 12 Jul 2004 10:18:14 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip11.cluster1.charter.net with ESMTP; 12 Jul 2004 10:15:05 -0400
X-Ironport-AV: i="3.81R,161,1083556800"; 
	d="scan'208"; a="116124341:sNHT13032952"
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 JAA33164;
	Mon, 12 Jul 2004 09:08:09 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id i6CE88Dh071459; 
	Mon, 12 Jul 2004 09:08:08 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i6CE87uw071458;
	Mon, 12 Jul 2004 09:08:07 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407121408.i6CE87uw071458@arch20m.dellroad.org>
In-Reply-To: <200407121018.11063.chris.gray@kiffer.be>
To: Chris Gray <chris.gray@kiffer.be>
Date: Mon, 12 Jul 2004 09:08:07 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: A query on the classloader architecture
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 12 Jul 2004 14:17:34 -0000

Chris Gray wrote:
> > So.. (I hope this doesn't sound like an annoying question) what is the
> > point of creating your "Java bootstrap classloader" ? Why not just let
> > your primoridal native code class loader fill this role as well? Is all
> > you're trying to do is prevent getClassLoader() from ever returning null?
> 
> Some of us just like programming in Java. So the C classloader is as kept very 
> simple - for example it only looks in one file - while the Java bootstrap 
> class loader can be more complex. If we wanted for example to store only the 
> bare minimum (20 or so classes) on the device and load the rest using tftp, 
> all the code to do that would be in the Java part.

Thanks.. that makes sense.

-Archie

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



From MAILER-DAEMON Mon Jul 12 12:41:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bk3rX-0006hG-Fn
	for mharc-classpath@gnu.org; Mon, 12 Jul 2004 12:41:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bk3rW-0006h2-3e
	for classpath@gnu.org; Mon, 12 Jul 2004 12:41:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bk3rU-0006gP-Sy
	for classpath@gnu.org; Mon, 12 Jul 2004 12:41:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bk3rU-0006gM-Ph
	for classpath@gnu.org; Mon, 12 Jul 2004 12:41:04 -0400
Received: from [130.237.205.63] (helo=mx.physto.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bk3op-0000xi-2H
	for classpath@gnu.org; Mon, 12 Jul 2004 12:38:19 -0400
Received: from localhost (localhost [127.0.0.1])
	by mx.physto.se (Postfix) with ESMTP id EE8331424E
	for <classpath@gnu.org>; Mon, 12 Jul 2004 18:38:14 +0200 (CEST)
Received: from mx.physto.se ([127.0.0.1])
	by localhost (syslx01.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 25202-02 for <classpath@gnu.org>;
	Mon, 12 Jul 2004 18:38:14 +0200 (CEST)
Received: from qcplx01.physto.se (qcplx01.physto.se [130.242.128.121])
	by mx.physto.se (Postfix) with ESMTP id 8AD821424D
	for <classpath@gnu.org>; Mon, 12 Jul 2004 18:38:14 +0200 (CEST)
From: Sven de Marothy <sven@physto.se>
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="=-mQxYB9xxGa0I9zIbyxZa"
Message-Id: <1089650294.24390.18.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 12 Jul 2004 18:38:14 +0200
X-Virus-Scanned: by amavisd-new at physto.se
Subject: java.awt.geom tasks (again)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 12 Jul 2004 16:41:06 -0000


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

Hello all,
It seems my FSF paperwork finally went through, so here is a
re-submission of the changes I've made. Due to formatting differences
the patch was difficult to read, so I put the whole files here:
http://www.qc.physto.se/~sven/Geom

This is the missing contains/intersects code for Cubic- and
QuadCurve2D, as well as an implementation of GeneralPath,
including the changes suggested by Sacha. 
(the png file explaining winding rules is intended for 
java/awt/geom/doc-files )

There is also (included with this post) a new patch for
RoundRectangle2D, which had the following errors:
contains() - the corner arc was off by a factor 2
intersects() - didn't handle the round corners at all, when it should

This fixes bug #6067, by the way.

getPathIterator() - The arcs were not being defined correctly and
one point was in the wrong place. Fixed it and changed the iteration
direction to counterclockwise, which I find a bit more logical
since Arc2D's are defined with that direction as positive.

So if it's all OK, now there's one bug and one task less out there.

And between vacations and paid work, I'm still working on Area. 

/Sven


--=-mQxYB9xxGa0I9zIbyxZa
Content-Disposition: attachment; filename=RoundRectangle2D.patch
Content-Type: text/plain; name=RoundRectangle2D.patch; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

--- original/RoundRectangle2D.java	2004-07-11 02:49:30.000000000 +0200
+++ RoundRectangle2D.java	2004-07-12 18:03:08.000000000 +0200
@@ -1,5 +1,5 @@
 /* RoundRectangle2D.java -- represents a rectangle with rounded corners
-   Copyright (C) 2000, 2002, 2003 Free Software Foundation
+   Copyright (C) 2000, 2002, 2003, 2004 Free Software Foundation
 
 This file is part of GNU Classpath.
 
@@ -87,8 +87,10 @@
     // Now check to see if the point is in range of an arc.
     double dy = Math.min(Math.abs(my - y), Math.abs(my + mh - y));
     double dx = Math.min(Math.abs(mx - x), Math.abs(mx + mw - x));
-    double aw = getArcWidth();
-    double ah = getArcHeight();
+    // The arc dimensions are that of the corresponding ellipse
+    // thus a 90 degree segment is half of that.
+    double aw = getArcWidth()/2.0;
+    double ah = getArcHeight()/2.0;
     if (dx > aw || dy > ah)
       return true;
 
@@ -112,8 +114,8 @@
   {
     // We have to check all four points here (for ordinary rectangles
     // we can just check opposing corners).
-    return (contains(x, y) && contains(x + w, h)
-            && contains(x, y + h) && contains(x + w, y + h));
+    return(contains(x, y) && contains(x, y + h)
+	   && contains(x + w, y + h) && contains(x + w, y));
   }
 
   /** Return a new path iterator which iterates over this rectangle.
@@ -129,8 +131,8 @@
     final double archeight = getArcHeight();
     return new PathIterator()
     {
-      /** We iterate clockwise around the rectangle, starting in the
-       * upper left.  This variable tracks our current point, which
+      /** We iterate counterclockwise around the rectangle, starting in the
+       * upper right.  This variable tracks our current point, which
        * can be on either side of a given corner.  */
       private int current = 0;
 
@@ -160,37 +162,37 @@
 	  {
 	  case 0:
 	  case 8:
-	    temp[0] = minx;
-	    temp[1] = miny + archeight;
-	    break;
-	  case 1:
-	    temp[0] = minx + arcwidth;
-	    temp[1] = miny;
-	    break;
-	  case 2:
-	    temp[0] = maxx - arcwidth;
-	    temp[1] = maxy;
-	    break;
-	  case 3:
 	    temp[0] = maxx;
 	    temp[1] = miny + archeight;
 	    break;
-	  case 4:
+	  case 7:
 	    temp[0] = maxx;
 	    temp[1] = maxy - archeight;
 	    break;
-	  case 5:
+	  case 6:
 	    temp[0] = maxx - arcwidth;
 	    temp[1] = maxy;
 	    break;
-	  case 6:
+	  case 5:
 	    temp[0] = minx + arcwidth;
 	    temp[1] = maxy;
 	    break;
-	  case 7:
+	  case 4:
 	    temp[0] = minx;
 	    temp[1] = maxy - archeight;
 	    break;
+	  case 3:
+	    temp[0] = minx;
+	    temp[1] = miny + archeight;
+	    break;
+	  case 2:
+	    temp[0] = minx + arcwidth;
+	    temp[1] = miny;
+	    break;
+	  case 1:
+	    temp[0] = maxx - arcwidth;
+	    temp[1] = miny;
+	    break;
 	  }
       }
 
@@ -218,8 +220,11 @@
 	    double x1 = temp[0];
 	    double y1 = temp[1];
 	    getPoint(current + 1);
-	    arc.setFrameFromDiagonal(x1, y1, temp[0], temp[1]);
-	    arc.setAngles(x1, y1, temp[0], temp[1]);
+	    Rectangle2D.Double r = new Rectangle2D.Double(Math.min(x1,temp[0]),
+						   Math.min(y1,temp[1]),
+						   Math.abs(x1-temp[0]),
+						   Math.abs(y1-temp[1]));
+	    arc.setArc(r,(current >> 1)*90.0, 90.0, Arc2D.OPEN);
 	    corner = arc.getPathIterator(at);
 	  }
       }
@@ -286,14 +291,9 @@
    */
   public boolean intersects(double x, double y, double w, double h)
   {
-    // Here we can use the same code we use for an ordinary rectangle.
-    double mx = getX();
-    double mw = getWidth();
-    if (x < mx || x >= mx + mw || x + w < mx || x + w >= mx + mw)
-      return false;
-    double my = getY();
-    double mh = getHeight();
-    return y >= my && y < my + mh && y + h >= my && y + h < my + mh;
+    // Check if any corner is within the rectangle
+    return(contains(x, y) || contains(x, y + h)
+	   || contains(x + w, y + h) || contains(x + w, y));
   }
 
   /** Set the boundary of this round rectangle.

--=-mQxYB9xxGa0I9zIbyxZa--




From MAILER-DAEMON Mon Jul 12 13:41:37 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bk4o5-0004pX-LN
	for mharc-classpath@gnu.org; Mon, 12 Jul 2004 13:41:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bk4o3-0004pO-CU
	for classpath@gnu.org; Mon, 12 Jul 2004 13:41:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bk4o1-0004pA-I1
	for classpath@gnu.org; Mon, 12 Jul 2004 13:41:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bk4o1-0004p7-Ev
	for classpath@gnu.org; Mon, 12 Jul 2004 13:41:33 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1Bk4kt-00008W-0o
	for classpath@gnu.org; Mon, 12 Jul 2004 13:38:19 -0400
Received: from 1cust39.vr1.dtm1.alter.net ([149.229.96.39]
	helo=moonlight.localdomain)
	by box84.elkhouse.de with asmtp (Exim 4.32) id 1Bk4ht-000389-F3
	for classpath@gnu.org; Mon, 12 Jul 2004 19:35:13 +0200
Received: from localhost.uu.net ([127.0.0.1] ident=roman)
	by moonlight.localdomain with esmtp (Exim 4.32) id 1Bk4kT-0005jA-KC
	for classpath@gnu.org; Mon, 12 Jul 2004 19:37:53 +0200
From: Roman Kennke <roman@ontographics.com>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-xdXsB0KikbQZVOCtggwm"
Message-Id: <1089653872.21940.9.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 12 Jul 2004 19:37:53 +0200
Subject: GNU Classpath and JDK1.0 completeness and compatibility
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 12 Jul 2004 17:41:35 -0000


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

Hi list,

In one of the last threads on this list there was a discussion about
which JDK spec GNU Classpath should have as a goal for its 1.0 release.
I will not answer it here (altough it seemed that most people see 1.4 as
a reasonable goal).

To concentrate efforts and to provide a basis for future development I
think it is reasonable to start with spec JDK1.0, complete this and then
concentrate on 1.1 and so on. Sure, there are some incompatibilities and
inconsistencies when going this way, in these cases I propose to make a
compromise in favour of the newer spec.

I have put together a checklist against JDK 1.0:

http://ontographics.com/classpath/status-1.0.html

I am starting now to manually audit all classes listed there with the
criteria listed on this page in mind. I'll start with documentation,
then check for implementations of the specified classes and public
methods and then write missing tests and/or fix failing tests. Of course
everybody is invited to join these efforts. :)

I think we should move these pages to
http://www.gnu.org/software/classpath/classpath.html soon.

Any more suggestions? Some more points that must be considered?=20

Cheers, Roman


--=-xdXsB0KikbQZVOCtggwm
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA8sxv3sO1VIw8IDoRAqxYAJsEha0MMS/aWAoKLRgrK0B9Zw3qSACfekOn
0H0GQykXwEBNxmyxl0t1/IM=
=TEG1
-----END PGP SIGNATURE-----

--=-xdXsB0KikbQZVOCtggwm--




From MAILER-DAEMON Mon Jul 12 14:26:37 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bk5Vd-0007de-AE
	for mharc-classpath@gnu.org; Mon, 12 Jul 2004 14:26:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bk5Vc-0007dY-4q
	for classpath@gnu.org; Mon, 12 Jul 2004 14:26:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bk5Va-0007dL-GF
	for classpath@gnu.org; Mon, 12 Jul 2004 14:26:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bk5Va-0007dI-Cx
	for classpath@gnu.org; Mon, 12 Jul 2004 14:26:34 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bk5T1-0005nv-1N
	for classpath@gnu.org; Mon, 12 Jul 2004 14:23:55 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6CINse1025725;
	Mon, 12 Jul 2004 14:23:54 -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 i6CINq012312; 
	Mon, 12 Jul 2004 14:23:52 -0400
Received: from [127.0.0.1] (tortoise.toronto.redhat.com [172.16.14.92])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	i6CINmvU022001; Mon, 12 Jul 2004 14:23:49 -0400
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: Roman Kennke <roman@ontographics.com>
In-Reply-To: <1089653872.21940.9.camel@moonlight.localdomain>
References: <1089653872.21940.9.camel@moonlight.localdomain>
Content-Type: text/plain
Message-Id: <1089656753.2536.147.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Mon, 12 Jul 2004 14:25:53 -0400
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: GNU Classpath and JDK1.0 completeness and compatibility
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 12 Jul 2004 18:26:36 -0000

On Mon, 2004-07-12 at 13:37, Roman Kennke wrote:
> Hi list,
> 
> In one of the last threads on this list there was a discussion about
> which JDK spec GNU Classpath should have as a goal for its 1.0 release.
> I will not answer it here (altough it seemed that most people see 1.4 as
> a reasonable goal).
> 
> To concentrate efforts and to provide a basis for future development I
> think it is reasonable to start with spec JDK1.0, complete this and then
> concentrate on 1.1 and so on. Sure, there are some incompatibilities and
> inconsistencies when going this way, in these cases I propose to make a
> compromise in favour of the newer spec.
> 
> I have put together a checklist against JDK 1.0:
> 
> http://ontographics.com/classpath/status-1.0.html
> 
> I am starting now to manually audit all classes listed there with the
> criteria listed on this page in mind. I'll start with documentation,
> then check for implementations of the specified classes and public
> methods and then write missing tests and/or fix failing tests. Of course
> everybody is invited to join these efforts. :)
> 

This is hugely useful.  Once you're done the AWT audit, I will write
documentation and tests to fill in the missing bits.

While the Acunia Visual Test Suite is excellent for testing general
functionality, it doesn't really test API conformance.  For API-level
testing, we need a new AWT test suite that contains minimal test cases
and detailed instructions for how to run each one.  I think we should
write a test suite like this as part of the JDK 1.0 effort.

Tom





From MAILER-DAEMON Mon Jul 12 16:56:10 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bk7qM-0006f5-Ip
	for mharc-classpath@gnu.org; Mon, 12 Jul 2004 16:56:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bk7qL-0006eD-5J
	for classpath@gnu.org; Mon, 12 Jul 2004 16:56:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bk7qK-0006dB-5c
	for classpath@gnu.org; Mon, 12 Jul 2004 16:56:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bk7qJ-0006d1-Md
	for classpath@gnu.org; Mon, 12 Jul 2004 16:56:08 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1Bk7nx-0007ee-Iw
	for classpath@gnu.org; Mon, 12 Jul 2004 16:53:41 -0400
Received: from 1cust39.vr1.dtm1.alter.net ([149.229.96.39]
	helo=moonlight.localdomain)
	by box84.elkhouse.de with asmtp (Exim 4.32)
	id 1Bk7kz-0003Yc-1m; Mon, 12 Jul 2004 22:50:37 +0200
Received: from localhost.uu.net ([127.0.0.1] ident=roman)
	by moonlight.localdomain with esmtp (Exim 4.32)
	id 1Bk7nY-0005nu-JN; Mon, 12 Jul 2004 22:53:16 +0200
From: Roman Kennke <roman@ontographics.com>
To: Thomas Fitzsimmons <fitzsim@redhat.com>
In-Reply-To: <1089656753.2536.147.camel@localhost.localdomain>
References: <1089653872.21940.9.camel@moonlight.localdomain>
	<1089656753.2536.147.camel@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-h+rfVW9r/MRLgNVHDRSr"
Message-Id: <1089665596.22240.3.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 12 Jul 2004 22:53:16 +0200
Cc: classpath@gnu.org
Subject: Re: GNU Classpath and JDK1.0 completeness and compatibility
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 12 Jul 2004 20:56:09 -0000


--=-h+rfVW9r/MRLgNVHDRSr
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Am Mo, den 12.07.2004 schrieb Thomas Fitzsimmons um 20:25:
> On Mon, 2004-07-12 at 13:37, Roman Kennke wrote:
> > Hi list,
> >=20
> > In one of the last threads on this list there was a discussion about
> > which JDK spec GNU Classpath should have as a goal for its 1.0 release.
> > I will not answer it here (altough it seemed that most people see 1.4 a=
s
> > a reasonable goal).
> >=20
> > To concentrate efforts and to provide a basis for future development I
> > think it is reasonable to start with spec JDK1.0, complete this and the=
n
> > concentrate on 1.1 and so on. Sure, there are some incompatibilities an=
d
> > inconsistencies when going this way, in these cases I propose to make a
> > compromise in favour of the newer spec.
> >=20
> > I have put together a checklist against JDK 1.0:
> >=20
> > http://ontographics.com/classpath/status-1.0.html
> >=20
> > I am starting now to manually audit all classes listed there with the
> > criteria listed on this page in mind. I'll start with documentation,
> > then check for implementations of the specified classes and public
> > methods and then write missing tests and/or fix failing tests. Of cours=
e
> > everybody is invited to join these efforts. :)
> >=20
>=20
> This is hugely useful.  Once you're done the AWT audit, I will write
> documentation and tests to fill in the missing bits.

Ok. I'll notify you.

> While the Acunia Visual Test Suite is excellent for testing general
> functionality, it doesn't really test API conformance.  For API-level
> testing, we need a new AWT test suite that contains minimal test cases
> and detailed instructions for how to run each one.  I think we should
> write a test suite like this as part of the JDK 1.0 effort.

This will be the difficult part. I hope we can test lots of
functionality without having something displayed. Hmm.

BTW: I think I have completed the check list and have started to audit
java.lang:
http://ontographics.com/classpath/status-1.0.html

looks very good so far :)

Cheers,
/Roman

--=-h+rfVW9r/MRLgNVHDRSr
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA8vo73sO1VIw8IDoRAjpGAJ9HAK66igYVBVgnitwgAlDUEtcJzQCgkVCE
aJ+A4COj3iEGsPiCV1CAHno=
=DJP9
-----END PGP SIGNATURE-----

--=-h+rfVW9r/MRLgNVHDRSr--




From MAILER-DAEMON Mon Jul 12 17:05:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bk7zW-0003f8-NJ
	for mharc-classpath@gnu.org; Mon, 12 Jul 2004 17:05:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bk7zV-0003ei-1K
	for classpath@gnu.org; Mon, 12 Jul 2004 17:05:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bk7zT-0003eP-8A
	for classpath@gnu.org; Mon, 12 Jul 2004 17:05:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bk7zT-0003eM-5F
	for classpath@gnu.org; Mon, 12 Jul 2004 17:05:35 -0400
Received: from [217.12.12.202] (helo=smtp812.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1Bk7vy-0000Ea-FL
	for classpath@gnu.org; Mon, 12 Jul 2004 17:01:58 -0400
Received: from unknown (HELO rivendell) (classpath@gnu.org@81.156.33.147 with
	poptime)
	by smtp812.mail.ukl.yahoo.com with SMTP; 12 Jul 2004 21:01:57 -0000
Received: from localhost ([127.0.0.1] ident=gandalf)
	by rivendell with esmtp (Exim 4.32) id 1Bk7vw-0004Or-Pa
	for classpath@gnu.org; Mon, 12 Jul 2004 22:01:56 +0100
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1089665596.22240.3.camel@moonlight.localdomain>
References: <1089653872.21940.9.camel@moonlight.localdomain>
	<1089656753.2536.147.camel@localhost.localdomain>
	<1089665596.22240.3.camel@moonlight.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-YnZIal3dK14uDV3Z5n5J"
Message-Id: <1089666116.13390.33.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 12 Jul 2004 22:01:56 +0100
Subject: Re: GNU Classpath and JDK1.0 completeness and compatibility
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Jul 2004 21:05:37 -0000


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

On Mon, 2004-07-12 at 21:53, Roman Kennke wrote:
> Am Mo, den 12.07.2004 schrieb Thomas Fitzsimmons um 20:25:
> > On Mon, 2004-07-12 at 13:37, Roman Kennke wrote:
> > > Hi list,
> > >=20
> > > In one of the last threads on this list there was a discussion about
> > > which JDK spec GNU Classpath should have as a goal for its 1.0 releas=
e.
> > > I will not answer it here (altough it seemed that most people see 1.4=
 as
> > > a reasonable goal).
> > >=20
> > > To concentrate efforts and to provide a basis for future development =
I
> > > think it is reasonable to start with spec JDK1.0, complete this and t=
hen
> > > concentrate on 1.1 and so on. Sure, there are some incompatibilities =
and
> > > inconsistencies when going this way, in these cases I propose to make=
 a
> > > compromise in favour of the newer spec.
> > >=20
> > > I have put together a checklist against JDK 1.0:
> > >=20
> > > http://ontographics.com/classpath/status-1.0.html
> > >=20
> > > I am starting now to manually audit all classes listed there with the
> > > criteria listed on this page in mind. I'll start with documentation,
> > > then check for implementations of the specified classes and public
> > > methods and then write missing tests and/or fix failing tests. Of cou=
rse
> > > everybody is invited to join these efforts. :)
> > >=20
> >=20
> > This is hugely useful.  Once you're done the AWT audit, I will write
> > documentation and tests to fill in the missing bits.
>=20
> Ok. I'll notify you.
>=20
> > While the Acunia Visual Test Suite is excellent for testing general
> > functionality, it doesn't really test API conformance.  For API-level
> > testing, we need a new AWT test suite that contains minimal test cases
> > and detailed instructions for how to run each one.  I think we should
> > write a test suite like this as part of the JDK 1.0 effort.
>=20
> This will be the difficult part. I hope we can test lots of
> functionality without having something displayed. Hmm.
>=20
> BTW: I think I have completed the check list and have started to audit
> java.lang:
> http://ontographics.com/classpath/status-1.0.html
>=20
> looks very good so far :)
>=20
> Cheers,
> /Roman
>=20
> ______________________________________________________________________
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath

FWIW, and you may already know this, nearly all the errors thrown up by
japi for 1.0 (i.e. the binary compatibility) are differences between
this and later versions (e.g. final/non-final, etc.).  It's worth
checking stuff like this against the docs for Sun's 1.4.2 to see if they
implement the same change.  As I recall, I only found the fields in font
to truly differ from 1.0 and Classpath (and the visibility of these
still seems a little dumb to me).
I think this is a great idea on the whole, and should give a better idea
of how well Classpath matches the Java APIs.  If you want others to help
out (myself included), perhaps it might be best to tell us which order
you intend to tackle the packages, and then others can elect to take
some on too.

Cheers,
--=20
Andrew :-)
=20
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
=20
Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn.
=20


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

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

iD8DBQBA8vxEu+fW6pI0dq4RAt8yAKCbex38vmBFhb+8qEyMVLPOseBz5ACffP+D
pLJDaLbqDneAQtylIVAx1To=
=7wDp
-----END PGP SIGNATURE-----

--=-YnZIal3dK14uDV3Z5n5J--




From MAILER-DAEMON Tue Jul 13 04:13:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BkIPb-00059n-6F
	for mharc-classpath@gnu.org; Tue, 13 Jul 2004 04:13:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BkIPX-00056a-Hx
	for classpath@gnu.org; Tue, 13 Jul 2004 04:13:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BkIPW-00055s-Nd
	for classpath@gnu.org; Tue, 13 Jul 2004 04:13:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BkIPW-00055i-IL
	for classpath@gnu.org; Tue, 13 Jul 2004 04:13:10 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1BkIMs-0005iL-D0; Tue, 13 Jul 2004 04:10:26 -0400
Received: from 1cust55.vr2.fft4.alter.net ([149.229.88.55]
	helo=moonlight.localdomain)
	by box84.elkhouse.de with asmtp (Exim 4.32)
	id 1BkIJs-00055y-OY; Tue, 13 Jul 2004 10:07:21 +0200
Received: from localhost.uu.net ([127.0.0.1] ident=roman)
	by moonlight.localdomain with esmtp (Exim 4.32)
	id 1BkIMS-0000Qm-Ot; Tue, 13 Jul 2004 10:10:00 +0200
From: Roman Kennke <roman@ontographics.com>
To: gnu_andrew@member.fsf.org
In-Reply-To: <1089666116.13390.33.camel@rivendell>
References: <1089653872.21940.9.camel@moonlight.localdomain>
	<1089656753.2536.147.camel@localhost.localdomain>
	<1089665596.22240.3.camel@moonlight.localdomain>
	<1089666116.13390.33.camel@rivendell>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-0pelr36pCLtvd2IB6Goy"
Message-Id: <1089706200.1253.6.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 13 Jul 2004 10:10:00 +0200
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: GNU Classpath and JDK1.0 completeness and compatibility
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 13 Jul 2004 08:13:11 -0000


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

> FWIW, and you may already know this, nearly all the errors thrown up by
> japi for 1.0 (i.e. the binary compatibility) are differences between
> this and later versions (e.g. final/non-final, etc.).  It's worth
> checking stuff like this against the docs for Sun's 1.4.2 to see if they
> implement the same change.

Yes. I will do this in my audit and accept such changes in favour of the
newer spec.

>   As I recall, I only found the fields in font
> to truly differ from 1.0 and Classpath (and the visibility of these
> still seems a little dumb to me).

You mean java.awt.Font?

> I think this is a great idea on the whole, and should give a better idea
> of how well Classpath matches the Java APIs.  If you want others to help
> out (myself included), perhaps it might be best to tell us which order
> you intend to tackle the packages, and then others can elect to take
> some on too.

Ok, I have checked java.lang now (look at the pages for the results).

Next on my list are the AWT packages (I hope that the RH folks fill in
the missing pieces quickly).

after this I'll look at the rest in this order:
java.applet
java.io
java.util
java.net

I welcome everybody to help. This can be done by auditing the listed
classes and testcases as well as filling in the missing pieces in
already audited classes. Oh, and discussing stuff that is red and yellow
in the list may also help in some cases :)

At the moment all changes (proposals) in the list should be sent
directly to me. As soon as I have have CVS access to the GNU Classpath
webpages, I think these should go there.

Cheers, Roman


--=-0pelr36pCLtvd2IB6Goy
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA85jX3sO1VIw8IDoRAnlBAJ9jiu1mcHGQdf+K4hE4g4LQXMx1QgCg5lkv
SizWs8dsd5Aokb2D+YPjLBY=
=Q0eO
-----END PGP SIGNATURE-----

--=-0pelr36pCLtvd2IB6Goy--




From MAILER-DAEMON Tue Jul 13 18:17:58 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BkVb3-000238-Sk
	for mharc-classpath@gnu.org; Tue, 13 Jul 2004 18:17:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BkVb1-00020I-J5
	for classpath@gnu.org; Tue, 13 Jul 2004 18:17:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BkVaz-0001zR-S3
	for classpath@gnu.org; Tue, 13 Jul 2004 18:17:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BkVaz-0001zO-NX
	for classpath@gnu.org; Tue, 13 Jul 2004 18:17:53 -0400
Received: from [209.225.28.226] (helo=mxsf26.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BkVYL-0002Db-Sa
	for classpath@gnu.org; Tue, 13 Jul 2004 18:15:10 -0400
Received: from mxip16.cluster1.charter.net (mxip16a.cluster1.charter.net
	[209.225.28.146])
	by mxsf26.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i6DMJEgL022460
	for <classpath@gnu.org>; Tue, 13 Jul 2004 18:19:14 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip16.cluster1.charter.net with ESMTP; 13 Jul 2004 18:15:04 -0400
X-Ironport-AV: i="3.81R,166,1083556800"; 
	d="scan'208"; a="114921424:sNHT12679424"
Received: from arch20m.dellroad.org ([10.104.180.64])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id RAA52055;
	Tue, 13 Jul 2004 17:06:48 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i6DM6jqL098555; 
	Tue, 13 Jul 2004 17:06:45 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i6DM6ivL098553;
	Tue, 13 Jul 2004 17:06:44 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407132206.i6DM6ivL098553@arch20m.dellroad.org>
To: jcvm-general@lists.sourceforge.net
Date: Tue, 13 Jul 2004 17:06:44 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org, soot-list@sable.mcgill.ca
Subject: Announcing JC release 1.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: Tue, 13 Jul 2004 22:17:56 -0000

Announcing release 1.2.1 of the JC virtual machine.

This release adds automatic inlining of short non-virtual method
invocations (for example, String.length()) to the code generator,
resulting in a dramatic improvement in the performance of generated
code. It also fixes several important bugs, and updates JC for
Classpath version 0.10.

This is the first version to include non-trivial Soot optimizations,
in this case method inlining. Future Soot optimizations will include
array bounds check elimination, null pointer check elimination, and
redundant cast elimination.

JC home page:

    http://jcvm.sourceforge.net/

Cheers,
-Archie

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



From MAILER-DAEMON Fri Jul 16 08:55:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BlSFQ-0006vR-AS
	for mharc-classpath@gnu.org; Fri, 16 Jul 2004 08:55:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BlSFO-0006ug-BC
	for classpath@gnu.org; Fri, 16 Jul 2004 08:55:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BlSFN-0006uG-FF
	for classpath@gnu.org; Fri, 16 Jul 2004 08:55:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BlSFN-0006uB-Cf
	for classpath@gnu.org; Fri, 16 Jul 2004 08:55:29 -0400
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BlSCZ-0002gC-9E
	for classpath@gnu.org; Fri, 16 Jul 2004 08:52:36 -0400
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.0); 
	Fri, 16 Jul 2004 08:54:57 -0400
Message-ID: <40F7CF84.6060406@netreach.com>
Date: Fri, 16 Jul 2004 08:52:20 -0400
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040605)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 16 Jul 2004 12:54:57.0411 (UTC)
	FILETIME=[18F09D30:01C46B34]
Subject: Eclipse Javac?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 16 Jul 2004 12:55:30 -0000

I found a few posts in the archives indicating that people have 
successfully built the Eclipse Java compiler in a Free environment. I 
wasn't quite sure from reading the postings whether this was done with a 
Classpath-based VM or with gcj, but I think most of the gcj hackers are 
here too and I'm not subscribed to the gcj list (sorry).

I'm working on something that could really use a good, free Java 
compiler written in Java, and I thought eclipse-javac was worth 
evaluating. But I'm not sure where to even start trying to build it - 
the debian source package is for the whole of eclipse, and looking in 
that tarball it wasn't even obvious where the Java compiler was located. 
Furthermore, eclipse apparently requires eclipse to build, which is a 
dependency I'd rather avoid (at least for now).

If anyone's successfully built eclipse-javac as a standalone compilation 
(or has any insight on where I should start trying to figure it out) I'd 
really appreciate any tips.

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



From MAILER-DAEMON Fri Jul 16 10:03:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BlTJL-00035U-UG
	for mharc-classpath@gnu.org; Fri, 16 Jul 2004 10:03:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BlTJK-00035D-LE
	for classpath@gnu.org; Fri, 16 Jul 2004 10:03:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BlTJI-00034f-UK
	for classpath@gnu.org; Fri, 16 Jul 2004 10:03:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BlTJI-00034R-Sn
	for classpath@gnu.org; Fri, 16 Jul 2004 10:03:36 -0400
Received: from [66.187.237.31] (helo=mx2.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BlTGP-00041Q-Te
	for classpath@gnu.org; Fri, 16 Jul 2004 10:00:38 -0400
Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26])
	by mx2.redhat.com (8.12.10/8.12.10) with ESMTP id i6GDubSt024250;
	Fri, 16 Jul 2004 09:56:37 -0400
Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15])
	by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6GE0UH30242; 
	Fri, 16 Jul 2004 10:00:31 -0400
Received: from [172.16.14.102] (to-dhcp2.toronto.redhat.com [172.16.14.102])
	by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i6GE0TP27213; 
	Fri, 16 Jul 2004 07:00:30 -0700
From: Anthony Green <green@redhat.com>
To: Stuart Ballard <sballard@netreach.com>
In-Reply-To: <40F7CF84.6060406@netreach.com>
References: <40F7CF84.6060406@netreach.com>
Content-Type: text/plain
Organization: Red Hat, Inc.
Message-Id: <1089986443.2786.10.camel@to-dhcp2.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Fri, 16 Jul 2004 07:00:43 -0700
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Eclipse Javac?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 16 Jul 2004 14:03:38 -0000

On Fri, 2004-07-16 at 05:52, Stuart Ballard wrote:
> If anyone's successfully built eclipse-javac as a standalone compilation 
> (or has any insight on where I should start trying to figure it out) I'd 
> really appreciate any tips.

cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/rhug login
[password is anoncvs]

cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/rhug co rhug/ecj

cd rhug/ecj

./configure && make && make install

AG

-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.




From MAILER-DAEMON Sat Jul 17 18:31:27 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BlxiJ-0007el-Nd
	for mharc-classpath@gnu.org; Sat, 17 Jul 2004 18:31:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BlxiI-0007ed-2f
	for classpath@gnu.org; Sat, 17 Jul 2004 18:31:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Blxhf-0007dG-C3
	for classpath@gnu.org; Sat, 17 Jul 2004 18:31:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Blxhf-0007dD-88
	for classpath@gnu.org; Sat, 17 Jul 2004 18:30:47 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BlxeY-0000Be-06
	for classpath@gnu.org; Sat, 17 Jul 2004 18:27:34 -0400
Received: from 1cust16.vr1.dtm1.alter.net ([149.229.96.16]
	helo=moonlight.localdomain)
	by box84.elkhouse.de with asmtp (Exim 4.32) id 1BlxXn-0002aN-9Q
	for classpath@gnu.org; Sun, 18 Jul 2004 00:20:35 +0200
Received: from localhost.uu.net ([127.0.0.1] ident=roman)
	by moonlight.localdomain with esmtp (Exim 4.32) id 1BlxaT-0005ui-1W
	for classpath@gnu.org; Sun, 18 Jul 2004 00:23:21 +0200
From: Roman Kennke <roman@ontographics.com>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-JI2euLQrB3y7zeRPt7UC"
Message-Id: <1090103000.22718.3.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 18 Jul 2004 00:23:20 +0200
Subject: automated mauve reports
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 17 Jul 2004 22:31:26 -0000


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

Hi list,

in order to improve my efforts in testing for compatibility and
completeness (http://ontographics.com/classpath/status-1.0.html), I have
written a nice script, which takes mauve output files as input and
transforms them into html pages like these:

http://ontographics.com/classpath/report-index.html

I still have to improve the script. When it is perfect, I will make a
cron job out of it, which will fetch the current cvs of mauve and
classpath and generate these reports on a nightly basis.

Have fun,
Roman


--=-JI2euLQrB3y7zeRPt7UC
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA+abY3sO1VIw8IDoRAjNwAKDJerCKQkqFhS5Fl39ohWjLJ/U5ygCaA00b
KO5Xb7wT9uacd3KszydLeJc=
=YOHf
-----END PGP SIGNATURE-----

--=-JI2euLQrB3y7zeRPt7UC--




From MAILER-DAEMON Sun Jul 18 08:19:55 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmAe3-000562-CV
	for mharc-classpath@gnu.org; Sun, 18 Jul 2004 08:19:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BlVYR-0001Me-7G
	for classpath@gnu.org; Fri, 16 Jul 2004 12:27:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BlVYO-0001MR-NF
	for classpath@gnu.org; Fri, 16 Jul 2004 12:27:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BlVYO-0001MO-KC
	for classpath@gnu.org; Fri, 16 Jul 2004 12:27:20 -0400
Received: from [144.212.95.218] (helo=smtp2.mathworks.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BlVV1-0006qY-1v
	for classpath@gnu.org; Fri, 16 Jul 2004 12:23:51 -0400
Received: from mail-vif.mathworks.com (fred-ce0.mathworks.com [144.212.95.18])
	by smtp2.mathworks.com (8.12.11/8.12.11) with ESMTP id i6GGNnaL002450
	for <classpath@gnu.org>; Fri, 16 Jul 2004 12:23:49 -0400 (EDT)
Received: from MESSAGE-AH.ad.mathworks.com (ex-01-ah.mathworks.com
	[144.212.95.156])
	by mail-vif.mathworks.com (8.11.7/8.11.7) with ESMTP id i6GGNn624110
	for <classpath@gnu.org>; Fri, 16 Jul 2004 12:23:49 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 16 Jul 2004 12:23:48 -0400
Message-ID: <EFEB6396440FB440ADD8A753B5530B9C022CCFE5@MESSAGE-AH.ad.mathworks.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: license question
Thread-Index: AcRrUUZXO+Y1mkSQRUChFgN3PdIn1A==
From: "Ben Hinkle" <Ben.Hinkle@mathworks.com>
To: <classpath@gnu.org>
X-Mailman-Approved-At: Sun, 18 Jul 2004 08:19:54 -0400
Subject: license question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Jul 2004 16:27:23 -0000

I'd like to port the Collections implementation in Classpath to another
language called D that is very similar to Java and I'm trying to figure
out the Classpath license. My question is simple: what license would
such a port fall under?

It looks like Classpath uses the GPL (not LGPL) with the "special
exception" which states that if one links statically *or dynamically* to
the classpath library that the sum is governed by the GPL. But then
there is the statement that "independent modules" aren't governed by the
GPL. So I interpret that to mean "independent modules" are ones that
aren't linked statically or dynamically with Classpath. I'm not even
sure what those are. I'm guessing that using the classpath jar and class
files are not considered dynamic linking? The D language doesn't use
class or jar files so users would have to statically or dynamically
link. As the tools stand now they would be statically linked. Am I
correct in reading this whole thing that any such port would mean any
code that uses the library would have to be GPL?

Thanks,
Ben



From MAILER-DAEMON Sun Jul 18 09:45:42 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmBz4-0003En-Eg
	for mharc-classpath@gnu.org; Sun, 18 Jul 2004 09:45:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmBz2-0003EE-2z
	for classpath@gnu.org; Sun, 18 Jul 2004 09:45:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmBz0-0003E2-DJ
	for classpath@gnu.org; Sun, 18 Jul 2004 09:45:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmBz0-0003Dz-AW
	for classpath@gnu.org; Sun, 18 Jul 2004 09:45:38 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmBw7-0000nK-UC
	for classpath@gnu.org; Sun, 18 Jul 2004 09:42:40 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BmBvZ-0002m6-00; Sun, 18 Jul 2004 15:42:05 +0200
From: Mark Wielaard <mark@klomp.org>
To: Ben Hinkle <Ben.Hinkle@mathworks.com>
In-Reply-To: <EFEB6396440FB440ADD8A753B5530B9C022CCFE5@MESSAGE-AH.ad.mathworks.com>
References: <EFEB6396440FB440ADD8A753B5530B9C022CCFE5@MESSAGE-AH.ad.mathworks.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-GAq1n8+0hrTrv987U0EJ"
Message-Id: <1090158116.23886.784.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 18 Jul 2004 15:41:56 +0200
Cc: classpath@gnu.org
Subject: Re: license question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 18 Jul 2004 13:45:40 -0000


--=-GAq1n8+0hrTrv987U0EJ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Fri, 2004-07-16 at 18:23, Ben Hinkle wrote:
>  My question is simple: what license would such a port fall under?

The answer is probably a bit harder and depends on the specific
circumstances and if the way you create the port is a new work or a
derived work of the original implementation. To get real answers to your
questions see our FAQ:
http://www.gnu.org/software/classpath/faq/faq.html

        2.4 I have a question about licensing GNU Classpath. Who can I
        ask?
       =20
        Direct such questions to licensing@gnu.org. The FSF is the
        official copyright holder of Classpath and sets the distribution
        terms=20
       =20
        2.5 How can I be sure that my application does not break the
        license?
       =20
        The FSF has a GPL-compliance lab which offers consulting
        services for companies who are working to develop products that
        incorporate Free Software so that they can do so in ways that
        comply with the terms of the GPL and other Free Software
        licenses. If you are interested in this service, please write to
        compliance-lab@fsf.org.

So contact the FSF, they can give you real advise depending on the exact
situation. The members on this list don't have legal training and
getting an answer from the FSF on your particular situation prevents
depending on speculation on this list (which is primarily used for
technical discussions).

> It looks like Classpath uses the GPL (not LGPL) with the "special
> exception" which states that if one links statically *or dynamically* to
> the classpath library that the sum is governed by the GPL. But then
> there is the statement that "independent modules" aren't governed by the
> GPL.

For the exact terms see our license page (a copy of which is included in
each distribution) which also defines the term independent module:
http://www.gnu.org/software/classpath/license.html

> Am I correct in reading this whole thing that any such port would mean an=
y
> code that uses the library would have to be GPL?

Distributing the complete work under the GPL is always an option.
(One which I would recommend!).

Cheers,

Mark

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

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

iD8DBQBA+n4jxVhZCJWr9QwRAoSkAJ0bY7EkwfAyWdXnrJDNGU7x/Gz+RACePyHE
gB2upuE6IPPONreNYmP0rRg=
=DC7Y
-----END PGP SIGNATURE-----

--=-GAq1n8+0hrTrv987U0EJ--




From MAILER-DAEMON Sun Jul 18 10:40:40 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmCqG-00042R-6u
	for mharc-classpath@gnu.org; Sun, 18 Jul 2004 10:40:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmCqE-00042H-4b
	for classpath@gnu.org; Sun, 18 Jul 2004 10:40:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmCqC-000425-Lu
	for classpath@gnu.org; Sun, 18 Jul 2004 10:40:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmCqC-000422-Ha
	for classpath@gnu.org; Sun, 18 Jul 2004 10:40:36 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmCnG-0005uA-Th
	for classpath@gnu.org; Sun, 18 Jul 2004 10:37:35 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BmCmp-0002t9-00; Sun, 18 Jul 2004 16:37:07 +0200
From: Mark Wielaard <mark@klomp.org>
To: Roman Kennke <roman@ontographics.com>
In-Reply-To: <1090103000.22718.3.camel@moonlight.localdomain>
References: <1090103000.22718.3.camel@moonlight.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-he97iX/M/o/utfTtYON9"
Message-Id: <1090161418.23886.794.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 18 Jul 2004 16:36:58 +0200
Cc: classpath@gnu.org
Subject: Re: automated mauve reports
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 18 Jul 2004 14:40:38 -0000


--=-he97iX/M/o/utfTtYON9
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Roman,

On Sun, 2004-07-18 at 00:23, Roman Kennke wrote:
> http://ontographics.com/classpath/report-index.html
>=20
> I still have to improve the script. When it is perfect, I will make a
> cron job out of it, which will fetch the current cvs of mauve and
> classpath and generate these reports on a nightly basis.

Wow! Very useful!
Would it be hard to adapt your script so it reports the number of
passes/fails for each level? e.g something like:

dir	PASS	FAIL

awt 	603	123
beans	 78	  8
io	120	 67

BTW. The original japhar had a mauve parsing script which is now also
used by kaffe:
http://www.kaffe.org/cgi-bin/viewcvs.cgi/*checkout*/kaffe/developers/mauve-=
html-gen.pl?rev=3DHEAD

Cheers,

Mark

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

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

iD8DBQBA+osJxVhZCJWr9QwRAv3OAKCgn6C/gTKmXyUT74VtIuBSYsJZAQCglm5A
1LnAatHHFQ0y8g8tQAewiFo=
=0gVH
-----END PGP SIGNATURE-----

--=-he97iX/M/o/utfTtYON9--




From MAILER-DAEMON Sun Jul 18 11:35:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmDh7-0006K2-Tt
	for mharc-classpath@gnu.org; Sun, 18 Jul 2004 11:35:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmDh1-0006Js-AK
	for classpath@gnu.org; Sun, 18 Jul 2004 11:35:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmDgz-0006JU-Pz
	for classpath@gnu.org; Sun, 18 Jul 2004 11:35:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmDgz-0006JK-OY
	for classpath@gnu.org; Sun, 18 Jul 2004 11:35:09 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmDe3-00037L-2m
	for classpath@gnu.org; Sun, 18 Jul 2004 11:32:07 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BmDdc-00033J-00; Sun, 18 Jul 2004 17:31:40 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-0rgysKmi8z+sXMRLh5kc"
Message-Id: <1090164690.23886.809.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 18 Jul 2004 17:31:30 +0200
Cc: java-patches@gcc.gnu.org
Subject: New mailinglist classpath-patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 18 Jul 2004 15:35:11 -0000


--=-0rgysKmi8z+sXMRLh5kc
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi all,

There is a new patch submission and discussion list for the GNU
Classpath project (classpath-patches@gnu.org). The existing
commit-classpath@gnu.org mailinglist will in the future only be used for
automatic notifications of Savannah (CVS commit messages and the
Savannah trackers). All proposed patches for GNU Classpath should be
submitted to this new classpath-patches list for discussion and approval
before committing them to CVS.

All members of commit-classpath have automatically been subscribed to
classpath-patches and are still also subscribed to commit-classpath.
Please feel free to unsubscribe from commit-classpath if you are only
interested in seeing the proposed patches and discussions/approval of
those patches and not in any auto-generated messages that Savannah
sends.

You can edit your subscription info for these lists at:
http://lists.gnu.org/mailman/listinfo/commit-classpath
http://lists.gnu.org/mailman/listinfo/classpath-patches

Readers of the libgcj java-patches@gcc.gnu.org mailinglist are
encouraged to also monitor classpath-patches@gnu.org since the two
libraries are now almost completely merged (and we hope they will be
merged even more in the future).

Cheers,

Mark

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

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

iD8DBQBA+pfSxVhZCJWr9QwRAgLFAJ0Qb64qxSP5kGLd3KkQUxPFhlofKgCfdlaS
wWKTR6bzWkOXNvu1jm+WvVA=
=STtU
-----END PGP SIGNATURE-----

--=-0rgysKmi8z+sXMRLh5kc--




From MAILER-DAEMON Sun Jul 18 12:36:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmEe3-0002Xj-9c
	for mharc-classpath@gnu.org; Sun, 18 Jul 2004 12:36:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmEe1-0002XG-AD
	for classpath@gnu.org; Sun, 18 Jul 2004 12:36:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmEdz-0002Wn-9I
	for classpath@gnu.org; Sun, 18 Jul 2004 12:36:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmEdz-0002Wk-7T
	for classpath@gnu.org; Sun, 18 Jul 2004 12:36:07 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1BmEay-0000vu-RM
	for classpath@gnu.org; Sun, 18 Jul 2004 12:33:01 -0400
Received: from 1cust15.vr1.dtm1.alter.net ([149.229.96.15]
	helo=moonlight.localdomain)
	by box84.elkhouse.de with asmtp (Exim 4.32)
	id 1BmEXu-0004z5-Jl; Sun, 18 Jul 2004 18:29:50 +0200
Received: from localhost.uu.net ([127.0.0.1] ident=roman)
	by moonlight.localdomain with esmtp (Exim 4.32)
	id 1BmEab-0000kd-9n; Sun, 18 Jul 2004 18:32:37 +0200
From: Roman Kennke <roman@ontographics.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1090161418.23886.794.camel@localhost>
References: <1090103000.22718.3.camel@moonlight.localdomain>
	<1090161418.23886.794.camel@localhost>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-b/0vIpIFey6YXSrjNAV8"
Message-Id: <1090168356.2815.2.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 18 Jul 2004 18:32:36 +0200
Cc: classpath@gnu.org
Subject: Re: automated mauve reports
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 18 Jul 2004 16:36:09 -0000


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

Am So, den 18.07.2004 schrieb Mark Wielaard um 16:36:
> Hi Roman,
>=20
> On Sun, 2004-07-18 at 00:23, Roman Kennke wrote:
> > http://ontographics.com/classpath/report-index.html
> >=20
> > I still have to improve the script. When it is perfect, I will make a
> > cron job out of it, which will fetch the current cvs of mauve and
> > classpath and generate these reports on a nightly basis.
>=20
> Wow! Very useful!
> Would it be hard to adapt your script so it reports the number of
> passes/fails for each level? e.g something like:
>=20
> dir	PASS	FAIL
>=20
> awt 	603	123
> beans	 78	  8
> io	120	 67

Yes, that should be no problem. I will modifiy the script, so that it
generates the HTML on the fly, which enables additional options, like
filtering FAIL/PASS and maybe some more.


> BTW. The original japhar had a mauve parsing script which is now also
> used by kaffe:
> http://www.kaffe.org/cgi-bin/viewcvs.cgi/*checkout*/kaffe/developers/mauv=
e-html-gen.pl?rev=3DHEAD


Why is this script not in action?

/Roman


--=-b/0vIpIFey6YXSrjNAV8
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA+qYj3sO1VIw8IDoRAqwBAJsFqS/SUhzw1C9QBV6IIdEMxS2ObACeMc49
QUCvLaYQxgpLKXA5Pi4J/Kw=
=ZJTs
-----END PGP SIGNATURE-----

--=-b/0vIpIFey6YXSrjNAV8--




From MAILER-DAEMON Sun Jul 18 15:12:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmH54-0006N3-Sc
	for mharc-classpath@gnu.org; Sun, 18 Jul 2004 15:12:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmH52-0006Mf-Pq
	for classpath@gnu.org; Sun, 18 Jul 2004 15:12:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmH51-0006MT-2b
	for classpath@gnu.org; Sun, 18 Jul 2004 15:12:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmH51-0006MQ-0O
	for classpath@gnu.org; Sun, 18 Jul 2004 15:12:11 -0400
Received: from [66.33.197.214] (helo=ludo.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmH27-0000qH-Gv
	for classpath@gnu.org; Sun, 18 Jul 2004 15:09:11 -0400
Received: from dexter (c-24-6-46-122.client.comcast.net [24.6.46.122])
	by ludo.dreamhost.com (Postfix) with ESMTP id 070A3280DE
	for <classpath@gnu.org>; Sun, 18 Jul 2004 12:09:11 -0700 (PDT)
Received: by dexter (Postfix, from userid 1000)
	id C868E39; Sun, 18 Jul 2004 12:09:09 -0700 (PDT)
To: classpath@gnu.org
From: Casey Marshall <csm@gnu.org>
Date: Sun, 18 Jul 2004 12:09:09 -0700
Message-ID: <87u0w52kve.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Merging crypto into 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, 18 Jul 2004 19:12:13 -0000

We've recently gotten an OK to merge the parts of the Java class
library implemented by GNU Crypto [1] and Jessie [2] into GNU
Classpath. All of these classes are related to cryptography, which is
why they have been kept separate from GNU Classpath. By merging these,
Classpath will become more compliant with the 1.4 API specification
without the need to install additional software.

The patch to do this is pretty big, so I am not going to post it to
the list. The patch, and change log, can be found here:

   <http://syzygy.metastatic.org/crypto.patch.gz>
   <http://syzygy.metastatic.org/crypto.ChangeLog>

I think it is generally agreed that having these packages in Classpath
is a good thing (but maybe not universally -- please speak up if you
have a comment), so I am posting this message mainly to vet this
rather large change before it gets committed. So please comment if I
have left anything out, and please do voice your opinion about this
merge, if we have not heard it yet.

Cheers,

-- 
Casey Marshall || csm@gnu.org

1. Packages javax.crypto, javax.security.auth, org.ietf.jgss, and
   their subpackages. <http://www.gnu.org/software/gnu-crypto/>
2. Packages javax.net, javax.net.ssl, and javax.security.cert.
   <http://www.nongnu.org/jessie/>



From MAILER-DAEMON Sun Jul 18 15:24:05 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmHGW-0007wE-Tr
	for mharc-classpath@gnu.org; Sun, 18 Jul 2004 15:24:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmHGV-0007uT-Ga
	for classpath@gnu.org; Sun, 18 Jul 2004 15:24:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmHGT-0007qz-7z
	for classpath@gnu.org; Sun, 18 Jul 2004 15:24:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmHGT-0007qw-41
	for classpath@gnu.org; Sun, 18 Jul 2004 15:24:01 -0400
Received: from [202.154.83.58] (helo=mail.syd.swiftdsl.com.au)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BmHDS-0001tU-UP
	for classpath@gnu.org; Sun, 18 Jul 2004 15:20:55 -0400
Received: (qmail 8173 invoked from network); 18 Jul 2004 19:20:53 -0000
Received: from unknown (HELO solomon) (218.214.50.3)
	by mail.syd.swiftdsl.com.au with SMTP; 18 Jul 2004 19:20:53 -0000
From: "Raif S. Naffah" <raif@swiftdsl.com.au>
To: classpath@gnu.org
Date: Mon, 19 Jul 2004 05:20:28 +1000
User-Agent: KMail/1.6.2
References: <87u0w52kve.fsf@gnu.org>
In-Reply-To: <87u0w52kve.fsf@gnu.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200407190520.46590.raif@swiftdsl.com.au>
Cc: Casey Marshall <csm@gnu.org>
Subject: Re: Merging crypto into classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: raif@swiftdsl.com.au
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 18 Jul 2004 19:24:03 -0000

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

hello Casey,

On Mon, 19 Jul 2004 05:09, Casey Marshall wrote:
> We've recently gotten an OK to merge the parts of the Java class
> library implemented by GNU Crypto [1] and Jessie [2] into GNU
> Classpath...

any reason why javax.security.sasl.* classes are not included in this=20
merge?


cheers;
rsn
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Que du magnifique

iD8DBQFA+s2G+e1AKnsTRiERAymIAKDlE3Ih5SgCK1xr1RwaOY6ZG3wWPgCg2RsY
G1b+oVUXpcw5ojjK5Lat7YE=3D
=3DOzOm
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Sun Jul 18 15:43:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmHZV-0003e9-Hz
	for mharc-classpath@gnu.org; Sun, 18 Jul 2004 15:43:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmHZV-0003e4-1h
	for classpath@gnu.org; Sun, 18 Jul 2004 15:43:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmHZT-0003ds-Gi
	for classpath@gnu.org; Sun, 18 Jul 2004 15:43:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmHZT-0003di-FJ
	for classpath@gnu.org; Sun, 18 Jul 2004 15:43:39 -0400
Received: from [66.33.197.214] (helo=ludo.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmHWf-0003w9-Op
	for classpath@gnu.org; Sun, 18 Jul 2004 15:40:45 -0400
Received: from dexter (c-24-6-46-122.client.comcast.net [24.6.46.122])
	by ludo.dreamhost.com (Postfix) with ESMTP
	id 4E50C28223; Sun, 18 Jul 2004 12:40:45 -0700 (PDT)
Received: by dexter (Postfix, from userid 1000)
	id 15F9539; Sun, 18 Jul 2004 12:40:44 -0700 (PDT)
To: raif@swiftdsl.com.au
References: <87u0w52kve.fsf@gnu.org> <200407190520.46590.raif@swiftdsl.com.au>
From: Casey Marshall <csm@gnu.org>
Date: Sun, 18 Jul 2004 12:40:44 -0700
In-Reply-To: <200407190520.46590.raif@swiftdsl.com.au> (Raif S. Naffah's
	message of "Mon, 19 Jul 2004 05:20:28 +1000")
Message-ID: <87oemd2jer.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Merging crypto into 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, 18 Jul 2004 19:43:41 -0000

>>>>> "Raif" == Raif S Naffah <raif@swiftdsl.com.au> writes:

Raif> hello Casey,
Raif> On Mon, 19 Jul 2004 05:09, Casey Marshall wrote:
>> We've recently gotten an OK to merge the parts of the Java class
>> library implemented by GNU Crypto [1] and Jessie [2] into GNU
>> Classpath...

Raif> any reason why javax.security.sasl.* classes are not included in
Raif> this merge?

That package isn't a part of any "stable" version of the API, correct?
Will that be a part of Java 1.5/5.0/whatever?

I don't think there is any plan for supporting 1.5 features in
Classpath yet, but I could be wrong.

-- 
Casey Marshall || csm@gnu.org



From MAILER-DAEMON Sun Jul 18 16:13:45 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmI2b-00011m-Di
	for mharc-classpath@gnu.org; Sun, 18 Jul 2004 16:13:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmI2a-00011h-DR
	for classpath@gnu.org; Sun, 18 Jul 2004 16:13:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmI2Y-00011U-TH
	for classpath@gnu.org; Sun, 18 Jul 2004 16:13:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmI2Y-00011R-Qx
	for classpath@gnu.org; Sun, 18 Jul 2004 16:13:42 -0400
Received: from [202.154.83.58] (helo=mail.syd.swiftdsl.com.au)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BmHzl-0006zX-SB
	for classpath@gnu.org; Sun, 18 Jul 2004 16:10:50 -0400
Received: (qmail 8963 invoked from network); 18 Jul 2004 20:10:52 -0000
Received: from unknown (HELO solomon) (218.214.50.3)
	by mail.syd.swiftdsl.com.au with SMTP; 18 Jul 2004 20:10:52 -0000
From: "Raif S. Naffah" <raif@swiftdsl.com.au>
To: Casey Marshall <csm@gnu.org>
Date: Mon, 19 Jul 2004 06:10:41 +1000
User-Agent: KMail/1.6.2
References: <87u0w52kve.fsf@gnu.org> <200407190520.46590.raif@swiftdsl.com.au>
	<87oemd2jer.fsf@gnu.org>
In-Reply-To: <87oemd2jer.fsf@gnu.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200407190610.45164.raif@swiftdsl.com.au>
Cc: classpath@gnu.org
Subject: Re: Merging crypto into classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: raif@swiftdsl.com.au
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 18 Jul 2004 20:13:44 -0000

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

hello Casey,

On Mon, 19 Jul 2004 05:40, Casey Marshall wrote:
> >>>>> "Raif" =3D=3D Raif S Naffah <raif@swiftdsl.com.au> writes:
>
> Raif> On Mon, 19 Jul 2004 05:09, Casey Marshall wrote:
> >> We've recently gotten an OK to merge the parts of the Java class
> >> library implemented by GNU Crypto [1] and Jessie [2] into GNU
> >> Classpath...
>
> Raif> any reason why javax.security.sasl.* classes are not included
> in Raif> this merge?
>
> That package isn't a part of any "stable" version of the API,
> correct? Will that be a part of Java 1.5/5.0/whatever?

it is part of the 1.5 release --see=20
http://java.sun.com/j2se/1.5.0/docs/api/javax/security/sasl/package-summary=
=2Ehtml. =20
this being the realisation of JSR-28: see=20
http://jcp.org/en/jsr/detail?id=3D28


cheers;
rsn
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Que du magnifique

iD8DBQFA+tlB+e1AKnsTRiERA7OdAJ0eO5YRRrTzOdn0LW3zZpic5Zfu3ACfRjrB
P+sl4xY+olAIVg2yvwam8Bc=3D
=3DCX9v
=2D----END PGP SIGNATURE-----



From MAILER-DAEMON Sun Jul 18 17:17:50 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmJ2b-0004o9-UT
	for mharc-classpath@gnu.org; Sun, 18 Jul 2004 17:17:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmJ2Z-0004nX-8t
	for classpath@gnu.org; Sun, 18 Jul 2004 17:17:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmJ2Y-0004nL-O5
	for classpath@gnu.org; Sun, 18 Jul 2004 17:17:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmJ2Y-0004nA-L8
	for classpath@gnu.org; Sun, 18 Jul 2004 17:17:46 -0400
Received: from [213.9.1.84] (helo=box84.elkhouse.de)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1BmIzS-0004jy-Uh
	for classpath@gnu.org; Sun, 18 Jul 2004 17:14:35 -0400
Received: from 1cust15.vr1.dtm1.alter.net ([149.229.96.15]
	helo=moonlight.localdomain)
	by box84.elkhouse.de with asmtp (Exim 4.32)
	id 1BmIwO-0002Fe-GQ; Sun, 18 Jul 2004 23:11:24 +0200
Received: from localhost.uu.net ([127.0.0.1] ident=roman)
	by moonlight.localdomain with esmtp (Exim 4.32)
	id 1BmIz4-0000tf-2B; Sun, 18 Jul 2004 23:14:10 +0200
From: Roman Kennke <roman@ontographics.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1090161418.23886.794.camel@localhost>
References: <1090103000.22718.3.camel@moonlight.localdomain>
	<1090161418.23886.794.camel@localhost>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-wC9LGBtkz7IcAAJzzFhD"
Message-Id: <1090185249.2815.15.camel@moonlight.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 18 Jul 2004 23:14:09 +0200
Cc: classpath@gnu.org
Subject: Re: automated mauve reports
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 18 Jul 2004 21:17:47 -0000


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

Am So, den 18.07.2004 schrieb Mark Wielaard um 16:36:
> Hi Roman,
>=20
> On Sun, 2004-07-18 at 00:23, Roman Kennke wrote:
> > http://ontographics.com/classpath/report-index.html
> >=20
> > I still have to improve the script. When it is perfect, I will make a
> > cron job out of it, which will fetch the current cvs of mauve and
> > classpath and generate these reports on a nightly basis.
>=20
> Wow! Very useful!
> Would it be hard to adapt your script so it reports the number of
> passes/fails for each level? e.g something like:
>=20
> dir	PASS	FAIL
>=20
> awt 	603	123
> beans	 78	  8
> io	120	 67

Ok, added. I also have added a cron job, which updates these pages
nightly with current CVS of both Classpath and Mauve. The script now
generates the HTML pages on the fly from the mauve output and is at a
new location:

http://ontographics.com/classpath/mauve/mauvereport.cgi

The next thing I will do is to add more compilers and VMs and build in a
switch in each page to select a compiler/VM combo.

Cheers, Roman


--=-wC9LGBtkz7IcAAJzzFhD
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBA+ugh3sO1VIw8IDoRAsLCAJ9JODsIbFsgPTXReRb7qdc5wkv3lwCdEeiA
PdU/Ik/W+yNP+yVAvefkWCA=
=rL3m
-----END PGP SIGNATURE-----

--=-wC9LGBtkz7IcAAJzzFhD--




From MAILER-DAEMON Mon Jul 19 03:26:53 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmSY0-00068B-Tk
	for mharc-classpath@gnu.org; Mon, 19 Jul 2004 03:26:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmSXz-00067V-0J
	for classpath@gnu.org; Mon, 19 Jul 2004 03:26:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmSXx-00066l-Hq
	for classpath@gnu.org; Mon, 19 Jul 2004 03:26:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmSXx-00066i-EY
	for classpath@gnu.org; Mon, 19 Jul 2004 03:26:49 -0400
Received: from [212.42.171.92] (helo=bluezoo.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BmSUn-00082c-LL; Mon, 19 Jul 2004 03:23:33 -0400
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by bluezoo.org (Postfix) with ESMTP id D8F76C25DC;
	Mon, 19 Jul 2004 08:23:36 +0100 (BST)
In-Reply-To: <87oemd2jer.fsf@gnu.org>
References: <87u0w52kve.fsf@gnu.org> <200407190520.46590.raif@swiftdsl.com.au>
	<87oemd2jer.fsf@gnu.org>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <8BDC8967-D954-11D8-85AD-000D934FF4B2@bluezoo.org>
Content-Transfer-Encoding: 7bit
From: Chris Burdess <dog@bluezoo.org>
Date: Mon, 19 Jul 2004 08:23:35 +0100
To: Casey Marshall <csm@gnu.org>
X-Pgp-Agent: GPGMail 1.0.1 (v33, 10.3)
X-Mailer: Apple Mail (2.618)
Cc: classpath@gnu.org
Subject: Re: Merging crypto into classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Jul 2004 07:26:52 -0000

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

Casey Marshall wrote:
> Raif> any reason why javax.security.sasl.* classes are not included in
> Raif> this merge?
>
> That package isn't a part of any "stable" version of the API, correct?
> Will that be a part of Java 1.5/5.0/whatever?

It is part of 1.5, and I for one would be very pleased to see it in 
classpath, it would simplify inetlib and classpathx packaging 
enormously.
- -- 
Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFA+3b36dl1DEqHgrgRAukSAJ90/AW5X4tAJXWNf0/Pdk/Cg+ty+wCfZyKR
uOFl1Bk+niDSfxu+2TH0RtQ=
=qp9D
-----END PGP SIGNATURE-----




From MAILER-DAEMON Mon Jul 19 08:51:30 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmXcA-00074h-7L
	for mharc-classpath@gnu.org; Mon, 19 Jul 2004 08:51:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmXc8-00074Q-8s
	for classpath@gnu.org; Mon, 19 Jul 2004 08:51:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmXc6-000743-Js
	for classpath@gnu.org; Mon, 19 Jul 2004 08:51:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmXc6-000740-GK
	for classpath@gnu.org; Mon, 19 Jul 2004 08:51:26 -0400
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmXZM-0006Wr-Sq
	for classpath@gnu.org; Mon, 19 Jul 2004 08:48:37 -0400
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i6JCm4Pf019064; Mon, 19 Jul 2004 08:48:19 -0400 (EDT)
From: "C. Brian Jones" <cbj@gnu.org>
To: Roman Kennke <roman@ontographics.com>
In-Reply-To: <1090168356.2815.2.camel@moonlight.localdomain>
References: <1090103000.22718.3.camel@moonlight.localdomain>
	<1090161418.23886.794.camel@localhost>
	<1090168356.2815.2.camel@moonlight.localdomain>
Content-Type: text/plain
Message-Id: <1090241283.4640.98.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Mon, 19 Jul 2004 08:48:03 -0400
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: classpath@gnu.org
Subject: Re: automated mauve reports
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 19 Jul 2004 12:51:28 -0000

On Sun, 2004-07-18 at 12:32, Roman Kennke wrote:
> Am So, den 18.07.2004 schrieb Mark Wielaard um 16:36:
> > Hi Roman,
> > 
> > On Sun, 2004-07-18 at 00:23, Roman Kennke wrote:
> > > http://ontographics.com/classpath/report-index.html
> > > 
> > > I still have to improve the script. When it is perfect, I will make a
> > > cron job out of it, which will fetch the current cvs of mauve and
> > > classpath and generate these reports on a nightly basis.
> > 
> > Wow! Very useful!
> > Would it be hard to adapt your script so it reports the number of
> > passes/fails for each level? e.g something like:
> > 
> > dir	PASS	FAIL
> > 
> > awt 	603	123
> > beans	 78	  8
> > io	120	 67
> 
> Yes, that should be no problem. I will modifiy the script, so that it
> generates the HTML on the fly, which enables additional options, like
> filtering FAIL/PASS and maybe some more.
> 
> 
> > BTW. The original japhar had a mauve parsing script which is now also
> > used by kaffe:
> > http://www.kaffe.org/cgi-bin/viewcvs.cgi/*checkout*/kaffe/developers/mauve-html-gen.pl?rev=HEAD
> 
> 
> Why is this script not in action?
> 
> /Roman
> 

You may find something useful from these scripts as well, see
http://www.haphazard.org/~cbj/classpath/automauve-1.0.tar.gz.  I like
how what you've done is starting towards that consolidated japi/mauve
view I mentioned a couple of weeks ago.

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




From MAILER-DAEMON Mon Jul 19 10:33:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmZCf-00010C-UJ
	for mharc-classpath@gnu.org; Mon, 19 Jul 2004 10:33:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmZCb-0000yK-Cd
	for classpath@gnu.org; Mon, 19 Jul 2004 10:33:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmZCa-0000xG-5B
	for classpath@gnu.org; Mon, 19 Jul 2004 10:33:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmZCa-0000wy-0h
	for classpath@gnu.org; Mon, 19 Jul 2004 10:33:12 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BmZ9n-0004yu-KY
	for classpath@gnu.org; Mon, 19 Jul 2004 10:30:20 -0400
Received: (qmail 11956 invoked by uid 65534); 19 Jul 2004 14:30:16 -0000
Received: from p213.54.192.144.tisdip.tiscali.de (EHLO gmx.net)
	(213.54.192.144)
	by mail.gmx.net (mp013) with SMTP; 19 Jul 2004 16:30:16 +0200
X-Authenticated: #17532834
Message-ID: <40FBDB66.3040300@gmx.net>
Date: Mon, 19 Jul 2004 16:32:06 +0200
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040521
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
References: <1090103000.22718.3.camel@moonlight.localdomain>	<1090161418.23886.794.camel@localhost>	<1090168356.2815.2.camel@moonlight.localdomain>
	<1090241283.4640.98.camel@lyta.haphazard.org>
In-Reply-To: <1090241283.4640.98.camel@lyta.haphazard.org>
X-Enigmail-Version: 0.83.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/alternative;
	boundary="------------050605060400060902010409"
Subject: Re: automated mauve reports
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 19 Jul 2004 14:33:14 -0000

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

Hi list,
tell me if I am wrong but in gnu.testlet.java.lang.Byte lines like this 
occur:
|
PASS: gnu.testlet.java.lang.Byte.ByteTest: Error : test_decode failed - 
2 (number 1)|

Isn't that (and many others) a failed test?

cu
Robert

C. Brian Jones wrote:

>On Sun, 2004-07-18 at 12:32, Roman Kennke wrote:
>  
>
>>Am So, den 18.07.2004 schrieb Mark Wielaard um 16:36:
>>    
>>
>>>Hi Roman,
>>>
>>>On Sun, 2004-07-18 at 00:23, Roman Kennke wrote:
>>>      
>>>
>>>>http://ontographics.com/classpath/report-index.html
>>>>
>>>>I still have to improve the script. When it is perfect, I will make a
>>>>cron job out of it, which will fetch the current cvs of mauve and
>>>>classpath and generate these reports on a nightly basis.
>>>>        
>>>>
>>>Wow! Very useful!
>>>Would it be hard to adapt your script so it reports the number of
>>>passes/fails for each level? e.g something like:
>>>
>>>dir	PASS	FAIL
>>>
>>>awt 	603	123
>>>beans	 78	  8
>>>io	120	 67
>>>      
>>>
>>Yes, that should be no problem. I will modifiy the script, so that it
>>generates the HTML on the fly, which enables additional options, like
>>filtering FAIL/PASS and maybe some more.
>>
>>
>>    
>>
>>>BTW. The original japhar had a mauve parsing script which is now also
>>>used by kaffe:
>>>http://www.kaffe.org/cgi-bin/viewcvs.cgi/*checkout*/kaffe/developers/mauve-html-gen.pl?rev=HEAD
>>>      
>>>
>>Why is this script not in action?
>>
>>/Roman
>>
>>    
>>
>
>You may find something useful from these scripts as well, see
>http://www.haphazard.org/~cbj/classpath/automauve-1.0.tar.gz.  I like
>how what you've done is starting towards that consolidated japi/mauve
>view I mentioned a couple of weeks ago.
>
>Brian
>  
>

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

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi list,<br>
tell me if I am wrong but in gnu.testlet.java.lang.Byte lines like this
occur:<br>
<span style="color: green;"><code><br>
PASS: gnu.testlet.java.lang.Byte.ByteTest: Error : test_decode failed -
2 (number 1)</code></span><br>
<span style="color: green;"></span><br>
Isn't that (and many others) a failed test?<br>
<br>
cu<br>
Robert<br>
<br>
C. Brian Jones wrote:
<blockquote cite="mid1090241283.4640.98.camel@lyta.haphazard.org"
 type="cite">
  <pre wrap="">On Sun, 2004-07-18 at 12:32, Roman Kennke wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Am So, den 18.07.2004 schrieb Mark Wielaard um 16:36:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi Roman,

On Sun, 2004-07-18 at 00:23, Roman Kennke wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap=""><a class="moz-txt-link-freetext" href="http://ontographics.com/classpath/report-index.html">http://ontographics.com/classpath/report-index.html</a>

I still have to improve the script. When it is perfect, I will make a
cron job out of it, which will fetch the current cvs of mauve and
classpath and generate these reports on a nightly basis.
        </pre>
      </blockquote>
      <pre wrap="">Wow! Very useful!
Would it be hard to adapt your script so it reports the number of
passes/fails for each level? e.g something like:

dir	PASS	FAIL

awt 	603	123
beans	 78	  8
io	120	 67
      </pre>
    </blockquote>
    <pre wrap="">Yes, that should be no problem. I will modifiy the script, so that it
generates the HTML on the fly, which enables additional options, like
filtering FAIL/PASS and maybe some more.


    </pre>
    <blockquote type="cite">
      <pre wrap="">BTW. The original japhar had a mauve parsing script which is now also
used by kaffe:
<a class="moz-txt-link-freetext" href="http://www.kaffe.org/cgi-bin/viewcvs.cgi/*checkout*/kaffe/developers/mauve-html-gen.pl?rev=HEAD">http://www.kaffe.org/cgi-bin/viewcvs.cgi/*checkout*/kaffe/developers/mauve-html-gen.pl?rev=HEAD</a>
      </pre>
    </blockquote>
    <pre wrap="">
Why is this script not in action?

/Roman

    </pre>
  </blockquote>
  <pre wrap=""><!---->
You may find something useful from these scripts as well, see
<a class="moz-txt-link-freetext" href="http://www.haphazard.org/~cbj/classpath/automauve-1.0.tar.gz">http://www.haphazard.org/~cbj/classpath/automauve-1.0.tar.gz</a>.  I like
how what you've done is starting towards that consolidated japi/mauve
view I mentioned a couple of weeks ago.

Brian
  </pre>
</blockquote>
</body>
</html>

--------------050605060400060902010409--



From MAILER-DAEMON Mon Jul 19 11:02:59 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmZfP-00077F-FV
	for mharc-classpath@gnu.org; Mon, 19 Jul 2004 11:02:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmZfO-00076u-AA
	for classpath@gnu.org; Mon, 19 Jul 2004 11:02:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmZfM-00076i-Nl
	for classpath@gnu.org; Mon, 19 Jul 2004 11:02:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmZfM-00076f-LZ
	for classpath@gnu.org; Mon, 19 Jul 2004 11:02:56 -0400
Received: from [209.225.28.211] (helo=mxsf11.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmZcc-00010R-Uc
	for classpath@gnu.org; Mon, 19 Jul 2004 11:00:07 -0400
Received: from mxip01.cluster1.charter.net (mxip01a.cluster1.charter.net
	[209.225.28.131])
	by mxsf11.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i6JF5s47002914
	for <classpath@gnu.org>; Mon, 19 Jul 2004 11:05:54 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip01.cluster1.charter.net with ESMTP; 19 Jul 2004 11:00:05 -0400
X-Ironport-AV: i="3.81R,178,1083556800"; 
	d="scan'208"; a="107693456:sNHT12622616"
Received: from arch20m.dellroad.org ([10.104.180.64])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id JAA29231;
	Mon, 19 Jul 2004 09:58:11 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i6JEw9KD003146; 
	Mon, 19 Jul 2004 09:58:09 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i6JEw8UP003145;
	Mon, 19 Jul 2004 09:58:08 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407191458.i6JEw8UP003145@arch20m.dellroad.org>
In-Reply-To: <40FBDB66.3040300@gmx.net>
To: Robert Schuster <theBohemian@gmx.net>
Date: Mon, 19 Jul 2004 09:58:08 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: automated mauve reports
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 19 Jul 2004 15:02:58 -0000

Robert Schuster wrote:
> Hi list,
> tell me if I am wrong but in gnu.testlet.java.lang.Byte lines like this 
> occur:
> |
> PASS: gnu.testlet.java.lang.Byte.ByteTest: Error : test_decode failed - 
> 2 (number 1)|
> 
> Isn't that (and many others) a failed test?

No... you are looking at verbose output which shows the failure
message that would have been displayed had the test failed..

-Archie

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



From MAILER-DAEMON Mon Jul 19 14:16:31 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bmcgh-0002e3-If
	for mharc-classpath@gnu.org; Mon, 19 Jul 2004 14:16:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bmcgf-0002dU-Ng
	for classpath@gnu.org; Mon, 19 Jul 2004 14:16:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bmcgd-0002bu-OA
	for classpath@gnu.org; Mon, 19 Jul 2004 14:16:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bmcgd-0002bV-H6
	for classpath@gnu.org; Mon, 19 Jul 2004 14:16:27 -0400
Received: from [66.33.197.214] (helo=ludo.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bmcdv-0005Ts-H6
	for classpath@gnu.org; Mon, 19 Jul 2004 14:13:39 -0400
Received: from dexter (c-24-6-46-122.client.comcast.net [24.6.46.122])
	by ludo.dreamhost.com (Postfix) with ESMTP
	id 6C05428483; Mon, 19 Jul 2004 11:13:38 -0700 (PDT)
Received: by dexter (Postfix, from userid 1000)
	id ECD4039; Mon, 19 Jul 2004 11:13:17 -0700 (PDT)
To: Chris Burdess <dog@bluezoo.org>
References: <87u0w52kve.fsf@gnu.org> <200407190520.46590.raif@swiftdsl.com.au>
	<87oemd2jer.fsf@gnu.org>
	<8BDC8967-D954-11D8-85AD-000D934FF4B2@bluezoo.org>
From: Casey Marshall <csm@gnu.org>
Date: Mon, 19 Jul 2004 11:13:17 -0700
In-Reply-To: <8BDC8967-D954-11D8-85AD-000D934FF4B2@bluezoo.org> (Chris
	Burdess's message of "Mon, 19 Jul 2004 08:23:35 +0100")
Message-ID: <87r7r7x3uq.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Merging crypto into classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Jul 2004 18:16:30 -0000

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

Chris> Casey Marshall wrote:
Raif> any reason why javax.security.sasl.* classes are not included in
Raif> this merge?
>>  That package isn't a part of any "stable" version of the API,
>> correct?  Will that be a part of Java 1.5/5.0/whatever?

Chris> It is part of 1.5, and I for one would be very pleased to see
Chris> it in classpath, it would simplify inetlib and classpathx
Chris> packaging enormously.

Ok. I don't see any problem in including the SASL API in this merge,
then.

-- 
Casey Marshall || csm@gnu.org



From MAILER-DAEMON Mon Jul 19 21:21:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmjK3-0005mg-Mf
	for mharc-classpath@gnu.org; Mon, 19 Jul 2004 21:21:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmjK1-0005mK-Qr
	for classpath@gnu.org; Mon, 19 Jul 2004 21:21:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmjK0-0005lu-RY
	for classpath@gnu.org; Mon, 19 Jul 2004 21:21:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmjK0-0005lr-O7
	for classpath@gnu.org; Mon, 19 Jul 2004 21:21:32 -0400
Received: from [204.127.202.55] (helo=sccrmhc11.comcast.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmjGr-0005lf-AX
	for classpath@gnu.org; Mon, 19 Jul 2004 21:18:17 -0400
Received: from officinale
	(pcp02933644pcs.catonv01.md.comcast.net[68.55.254.94])
	by comcast.net (sccrmhc11) with ESMTP
	id <2004072001171301100t4q9ie>; Tue, 20 Jul 2004 01:17:13 +0000
From: "Dan" <dansix@pobox.com>
To: classpath@gnu.org
Date: Mon, 19 Jul 2004 21:19:10 -0400
MIME-Version: 1.0
Message-ID: <40FC3ACE.4590.6AAF143@localhost>
Priority: normal
In-reply-to: <87r7r7x3uq.fsf@gnu.org>
References: <8BDC8967-D954-11D8-85AD-000D934FF4B2@bluezoo.org>
	(Chris	Burdess's message of "Mon, 19 Jul 2004 08:23:35 +0100")
X-mailer: Pegasus Mail for Windows (v4.12a)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
Cc: 
Subject: Question on autoconf
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: dansix@pobox.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, 20 Jul 2004 01:21:34 -0000

Hi,

Im using GNU Classpath (0.09) with JamVM on an embedded linux board.
I don't need the awt/swing classes (and a bunch of others) and thought I 
would remove them from the build to same on space. Right now
Im deleting the classes after I compile but I thought it would be smarter 
to change the configure/makefiles so the classes and native libraries I 
don't want are not compiled and the platform specific classes and native 
libraries I have can be added. But this simple idea is turning out to to 
more complicated than I had thought. Im learning about autoconf and 
automake but apparently not enough, yet. I jumped right in a started 
deleting things (carefully thought out of course :-) from configure.ac but 
after wasting several hours without success I decided to see if I could 
just get autoconf and automake to do their thing without modifying 
anything first. No luck there either.

$ aclocal
    (a few warnings here about underquoted definitions
     but Im assuming warning are ok)
$ autoconf
$ automake
$ ./configure --enable-jni --disable-gtk-peer
... (some messages deleted)
checking how to run the C preprocessor... gcc -E
./configure: line 11099: syntax error near unexpected token `GTK,'
./configure: line 11099: `     PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.2 
gthread-2.0 >= 2.2 libart-2.0)'

I didn't expect a syntax error. 
Im running redhat 9 and these are the version of tools I have installed:

gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Concurrent Versions System (CVS) 1.11.2 (client/server)
automake (GNU automake) 1.8.3
autoconf (GNU Autoconf) 2.59
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
gcj (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Jikes Compiler - Version 1.18 - 21 November 2002
GNU m4 1.4.1

Can anyone point out what Im doing wrong. If your feeling extra helpful 
how about some pointers on how I can remove things from the build like 
awt.  Thanks.

Dan
dansix@pobox.com





From MAILER-DAEMON Mon Jul 19 21:39:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bmjbj-0000Qi-7S
	for mharc-classpath@gnu.org; Mon, 19 Jul 2004 21:39:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bmjbh-0000QX-2j
	for classpath@gnu.org; Mon, 19 Jul 2004 21:39:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bmjbf-0000QE-DE
	for classpath@gnu.org; Mon, 19 Jul 2004 21:39:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bmjbf-0000QA-4X
	for classpath@gnu.org; Mon, 19 Jul 2004 21:39:47 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BmjYR-00083G-B1
	for classpath@gnu.org; Mon, 19 Jul 2004 21:36:27 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6K1aQe1021265;
	Mon, 19 Jul 2004 21:36:26 -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 i6K1aQa10487; 
	Mon, 19 Jul 2004 21:36:26 -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
	i6K1aPXP028612; Mon, 19 Jul 2004 21:36:25 -0400
Message-ID: <40FC7719.3050500@redhat.com>
Date: Mon, 19 Jul 2004 21:36:25 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: Ben Hinkle <Ben.Hinkle@mathworks.com>
References: <EFEB6396440FB440ADD8A753B5530B9C022CCFE5@MESSAGE-AH.ad.mathworks.com>
In-Reply-To: <EFEB6396440FB440ADD8A753B5530B9C022CCFE5@MESSAGE-AH.ad.mathworks.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: license question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jul 2004 01:39:49 -0000

Ben Hinkle wrote:

>I'd like to port the Collections implementation in Classpath to another
>language called D that is very similar to Java and I'm trying to figure
>out the Classpath license. My question is simple: what license would
>such a port fall under?
>
>It looks like Classpath uses the GPL (not LGPL) with the "special
>exception" which states that if one links statically *or dynamically* to
>the classpath library that the sum is governed by the GPL. But then
>there is the statement that "independent modules" aren't governed by the
>GPL. So I interpret that to mean "independent modules" are ones that
>aren't linked statically or dynamically with Classpath.
>
No. "An independent module is a module which is not derived from or 
based on this library."

For example, if you took Classpath collections code and made 
modifications to it, the modified code is subject to the terms of the 
GPL+exception, and is not an independent module. If you have some 
application code that USES classpath via the public java.* APIs, this IS 
an independent module. If you link it with classpath, it is not subject 
to the terms of the GPL+exception.

You can think of the classpath license as being similar to the LGPL, but 
with less restrictions on the manner in which code that uses the library 
may be linked.

> I'm not even
>sure what those are. I'm guessing that using the classpath jar and class
>files are not considered dynamic linking?
>
IMO, class files == dynamic linking.

Regards

Bryce




From MAILER-DAEMON Mon Jul 19 22:47:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmkfK-00039p-UL
	for mharc-classpath@gnu.org; Mon, 19 Jul 2004 22:47:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmkfJ-00038V-71
	for classpath@gnu.org; Mon, 19 Jul 2004 22:47:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmkfG-00036f-L2
	for classpath@gnu.org; Mon, 19 Jul 2004 22:47:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmkfG-00036X-CH
	for classpath@gnu.org; Mon, 19 Jul 2004 22:47:34 -0400
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmkcL-0007gU-He
	for classpath@gnu.org; Mon, 19 Jul 2004 22:44:33 -0400
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	i6K2iVPf000558; Mon, 19 Jul 2004 22:44:31 -0400 (EDT)
From: "C. Brian Jones" <cbj@gnu.org>
To: dansix@pobox.com
In-Reply-To: <40FC3ACE.4590.6AAF143@localhost>
References: <8BDC8967-D954-11D8-85AD-000D934FF4B2@bluezoo.org>
	<40FC3ACE.4590.6AAF143@localhost>
Content-Type: text/plain
Message-Id: <1090291470.4640.101.camel@lyta.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Date: Mon, 19 Jul 2004 22:44:31 -0400
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: classpath@gnu.org
Subject: Re: Question on autoconf
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 20 Jul 2004 02:47:37 -0000

On Mon, 2004-07-19 at 21:19, Dan wrote:
> Hi,
> 
> Im using GNU Classpath (0.09) with JamVM on an embedded linux board.
> I don't need the awt/swing classes (and a bunch of others) and thought I 
> would remove them from the build to same on space. 

It's really simple, modify lib/standard.omit for the regex of your
choice.

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




From MAILER-DAEMON Tue Jul 20 02:39:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmoHN-0006ua-D2
	for mharc-classpath@gnu.org; Tue, 20 Jul 2004 02:39:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmoHL-0006uU-S8
	for classpath@gnu.org; Tue, 20 Jul 2004 02:39:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmoHK-0006uI-Lu
	for classpath@gnu.org; Tue, 20 Jul 2004 02:39:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmoHK-0006uF-Dj
	for classpath@gnu.org; Tue, 20 Jul 2004 02:39:06 -0400
Received: from [193.74.71.23] (helo=oola.is.scarlet.be)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmoEW-0001Og-UP
	for classpath@gnu.org; Tue, 20 Jul 2004 02:36:13 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by oola.is.scarlet.be  with ESMTP id i6K6a0Y04580; 
	Tue, 20 Jul 2004 08:36:00 +0200
From: Chris Gray <chris.gray@kiffer.be>
Organization: /k/ Embedded Java Syste;s
To: Bryce McKinlay <mckinlay@redhat.com>, Ben Hinkle <Ben.Hinkle@mathworks.com>
Date: Tue, 20 Jul 2004 08:41:25 +0200
User-Agent: KMail/1.5.4
References: <EFEB6396440FB440ADD8A753B5530B9C022CCFE5@MESSAGE-AH.ad.mathworks.com>
	<40FC7719.3050500@redhat.com>
In-Reply-To: <40FC7719.3050500@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200407200841.25906.chris.gray@kiffer.be>
Cc: classpath@gnu.org
Subject: Re: license question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jul 2004 06:39:08 -0000

On Tuesday 20 July 2004 03:36, Bryce McKinlay wrote:
> Ben Hinkle wrote:
> >I'd like to port the Collections implementation in Classpath to another
> >language called D that is very similar to Java and I'm trying to figure
> >out the Classpath license. My question is simple: what license would
> >such a port fall under?
> >
> >It looks like Classpath uses the GPL (not LGPL) with the "special
> >exception" which states that if one links statically *or dynamically* to
> >the classpath library that the sum is governed by the GPL. But then
> >there is the statement that "independent modules" aren't governed by the
> >GPL. So I interpret that to mean "independent modules" are ones that
> >aren't linked statically or dynamically with Classpath.
>
> No. "An independent module is a module which is not derived from or
> based on this library."
>
> For example, if you took Classpath collections code and made
> modifications to it, the modified code is subject to the terms of the
> GPL+exception, and is not an independent module. If you have some
> application code that USES classpath via the public java.* APIs, this IS
> an independent module. If you link it with classpath, it is not subject
> to the terms of the GPL+exception.

This much is clear. Less clear to me is what happens when I create a subclass 
of a class in Classpath. To me it "obvious" that my class is independent of 
the one in Classpath:
  1) it contains not one jot or tittle of Classpath code, either at the source 
code or the bytecode level; unless one includes things like the name of the 
superclass and of (some of) its members, which are surely exempt.
  2) if the superclass forms part of the public Java API, there is no way to 
tell whether my class derives from the Classpath implementation or the Sun 
one or Wonka or whatever.
However I am quite sure that there are people to whom it is equally "obvious" 
that a subclass is a derived work of the superclass. So I feel some 
clarification is needed here.

> You can think of the classpath license as being similar to the LGPL, but
> with less restrictions on the manner in which code that uses the library
> may be linked.
>
> > I'm not even
> >sure what those are. I'm guessing that using the classpath jar and class
> >files are not considered dynamic linking?
>
> IMO, class files == dynamic linking.

I would think so too, and otherwise the Classpath exception makes very little 
sense. But what is a "module"? Is a class module, or would that be a package? 
Or a jar file maybe?

I've written to the FSF asking for clarification, but those particular wheels 
do grind exceeding slow.

Chris


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




From MAILER-DAEMON Tue Jul 20 03:39:42 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmpDy-0008M5-BV
	for mharc-classpath@gnu.org; Tue, 20 Jul 2004 03:39:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmpDw-0008LM-C5
	for classpath@gnu.org; Tue, 20 Jul 2004 03:39:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmpDu-0008Kz-Jc
	for classpath@gnu.org; Tue, 20 Jul 2004 03:39:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmpDu-0008Kw-Hx
	for classpath@gnu.org; Tue, 20 Jul 2004 03:39:38 -0400
Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmpB9-0000WU-C5
	for classpath@gnu.org; Tue, 20 Jul 2004 03:36:47 -0400
Received: from [192.168.2.40] ([69.156.8.98]) by tomts25-srv.bellnexxia.net
	(InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP
	id <20040720073644.KPTV28143.tomts25-srv.bellnexxia.net@[192.168.2.40]>;
	Tue, 20 Jul 2004 03:36:44 -0400
Message-ID: <40FCCC5D.5060706@mail.mcgill.ca>
Date: Tue, 20 Jul 2004 03:40:13 -0400
From: Chris Pickett <chris.pickett@mail.mcgill.ca>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040509)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Chris Gray <chris.gray@kiffer.be>
References: <EFEB6396440FB440ADD8A753B5530B9C022CCFE5@MESSAGE-AH.ad.mathworks.com>
	<40FC7719.3050500@redhat.com>
	<200407200841.25906.chris.gray@kiffer.be>
In-Reply-To: <200407200841.25906.chris.gray@kiffer.be>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Ben Hinkle <Ben.Hinkle@mathworks.com>, classpath@gnu.org,
	Bryce McKinlay <mckinlay@redhat.com>
Subject: Re: license question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jul 2004 07:39:40 -0000

Chris Gray wrote:
> On Tuesday 20 July 2004 03:36, Bryce McKinlay wrote:
> 
>>Ben Hinkle wrote:
>>
>>>I'd like to port the Collections implementation in Classpath to another
>>>language called D that is very similar to Java and I'm trying to figure
>>>out the Classpath license. My question is simple: what license would
>>>such a port fall under?
>>>
>>>It looks like Classpath uses the GPL (not LGPL) with the "special
>>>exception" which states that if one links statically *or dynamically* to
>>>the classpath library that the sum is governed by the GPL. But then
>>>there is the statement that "independent modules" aren't governed by the
>>>GPL. So I interpret that to mean "independent modules" are ones that
>>>aren't linked statically or dynamically with Classpath.
>>
>>No. "An independent module is a module which is not derived from or
>>based on this library."
>>
>>For example, if you took Classpath collections code and made
>>modifications to it, the modified code is subject to the terms of the
>>GPL+exception, and is not an independent module. If you have some
>>application code that USES classpath via the public java.* APIs, this IS
>>an independent module. If you link it with classpath, it is not subject
>>to the terms of the GPL+exception.
> 
> 
> This much is clear. Less clear to me is what happens when I create a subclass 
> of a class in Classpath. To me it "obvious" that my class is independent of 
> the one in Classpath:
>   1) it contains not one jot or tittle of Classpath code, either at the source 
> code or the bytecode level; unless one includes things like the name of the 
> superclass and of (some of) its members, which are surely exempt.
>   2) if the superclass forms part of the public Java API, there is no way to 
> tell whether my class derives from the Classpath implementation or the Sun 
> one or Wonka or whatever.
> However I am quite sure that there are people to whom it is equally "obvious" 
> that a subclass is a derived work of the superclass. So I feel some 
> clarification is needed here.

Since every class is a subclass of java.lang.Object, and given that you 
1) are most definitely allowed to create new classes, and 2) can't draw 
an arbitrary dividing line between classes or packages (except public 
vs. non-public), that means you can subclass any public class.

Chris



From MAILER-DAEMON Tue Jul 20 03:48:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BmpM0-0001aU-UP
	for mharc-classpath@gnu.org; Tue, 20 Jul 2004 03:48:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BmpLy-0001aG-Oi
	for classpath@gnu.org; Tue, 20 Jul 2004 03:47:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BmpLv-0001Zy-AO
	for classpath@gnu.org; Tue, 20 Jul 2004 03:47:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BmpLu-0001Zs-Kn
	for classpath@gnu.org; Tue, 20 Jul 2004 03:47:55 -0400
Received: from [193.74.71.21] (helo=xizor.is.scarlet.be)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmpIx-0001ea-ET
	for classpath@gnu.org; Tue, 20 Jul 2004 03:44:51 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by xizor.is.scarlet.be  with ESMTP id i6K7iYK03190; 
	Tue, 20 Jul 2004 09:44:35 +0200
From: Chris Gray <chris.gray@kiffer.be>
Organization: /k/ Embedded Java Syste;s
To: Chris Pickett <chris.pickett@mail.mcgill.ca>
Date: Tue, 20 Jul 2004 09:50:00 +0200
User-Agent: KMail/1.5.4
References: <EFEB6396440FB440ADD8A753B5530B9C022CCFE5@MESSAGE-AH.ad.mathworks.com>
	<200407200841.25906.chris.gray@kiffer.be>
	<40FCCC5D.5060706@mail.mcgill.ca>
In-Reply-To: <40FCCC5D.5060706@mail.mcgill.ca>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200407200950.00971.chris.gray@kiffer.be>
Cc: Ben Hinkle <Ben.Hinkle@mathworks.com>, classpath@gnu.org,
	Bryce McKinlay <mckinlay@redhat.com>
Subject: Re: license question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jul 2004 07:47:59 -0000

On Tuesday 20 July 2004 09:40, Chris Pickett wrote:

> Since every class is a subclass of java.lang.Object [...]

That of course is reason 3. :-)

A request has been made to licensing@gnu.org to expedite the processing of my 
request for clarification. In the meantime we should not pollute the mailing 
list with too much legal speculation.

Cheers

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




From MAILER-DAEMON Tue Jul 20 17:31:10 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bn2Cc-0000AZ-Jx
	for mharc-classpath@gnu.org; Tue, 20 Jul 2004 17:31:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bn2Ca-0000A1-3p
	for classpath@gnu.org; Tue, 20 Jul 2004 17:31:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bn2CZ-00009o-Hp
	for classpath@gnu.org; Tue, 20 Jul 2004 17:31:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bn2CZ-00009Q-Ay
	for classpath@gnu.org; Tue, 20 Jul 2004 17:31:07 -0400
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bn29P-0000j6-DK
	for classpath@gnu.org; Tue, 20 Jul 2004 17:27:51 -0400
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	i6KLQiW105246
	for <classpath@gnu.org>; Tue, 20 Jul 2004 17:26:45 -0400
Received: from bilbo.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004)
	with ESMTP id i6KLRn933374
	for <classpath@gnu.org>; Tue, 20 Jul 2004 17:27:49 -0400
Received: (from augart@localhost)
	by bilbo.watson.ibm.com (8.11.6/8.11.6/2001/12/13) id i6KLRmo18826;
	Tue, 20 Jul 2004 17:27:48 -0400
Date: Tue, 20 Jul 2004 17:27:48 -0400
Message-Id: <200407202127.i6KLRmo18826@bilbo.watson.ibm.com>
From: Steven Augart <augart@watson.ibm.com>
To: classpath@gnu.org
Subject: classpath 0.10 and GCJ Version 3.3.3 20040215
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 20 Jul 2004 21:31:08 -0000

I just accidentally tried to build Classpath 0.10 using GCJ (I was
using an AIX machine, and I'd left Jikes out of my path).  The GCJ
version is:

	gcj (GCC) 3.3.3 20040215 (release)

This gave the error:

     /usr/gnu/bin/gcj --bootclasspath '' --classpath ../../classpath-0.10:../../classpath-0.10/external/jaxp/source:../vm/current:.: -C -d . @classes
../../classpath-0.10/java/security/cert/X509Certificate.java:143: error: Class `java.security.cert.X509Certificate' can't subclass interface `java.security.Certificate'.
   public abstract class X509Certificate extends Certificate implements X509Extension

The "configure" script currently tests whether GCJ, if used, has at
least version 3.3.  This doesn't seem to be adequate to get around
the error.

Does anybody know what version of gcj we need to avoid this
complaint?  We should update the configure script appropriately.

Thanks, 

--Steve Augart

-- 
Steven Augart

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



From MAILER-DAEMON Wed Jul 21 03:14:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BnBJP-0000l4-3U
	for mharc-classpath@gnu.org; Wed, 21 Jul 2004 03:14:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BnBJM-0000kI-HG
	for classpath@gnu.org; Wed, 21 Jul 2004 03:14:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BnBJK-0000jS-CK
	for classpath@gnu.org; Wed, 21 Jul 2004 03:14:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BnBJK-0000jP-7l
	for classpath@gnu.org; Wed, 21 Jul 2004 03:14:42 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BnBGM-0002sI-I7
	for classpath@gnu.org; Wed, 21 Jul 2004 03:11:38 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BnBFf-0005MP-00; Wed, 21 Jul 2004 09:10:55 +0200
From: Mark Wielaard <mark@klomp.org>
To: Steven Augart <augart@watson.ibm.com>
In-Reply-To: <200407202127.i6KLRmo18826@bilbo.watson.ibm.com>
References: <200407202127.i6KLRmo18826@bilbo.watson.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-sbhbXm4hWRIfd4nWmAtQ"
Message-Id: <1090393845.30753.38.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 21 Jul 2004 09:10:45 +0200
Cc: classpath@gnu.org
Subject: Re: classpath 0.10 and GCJ Version 3.3.3 20040215
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 21 Jul 2004 07:14:44 -0000


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

Hi Steve,

On Tue, 2004-07-20 at 23:27, Steven Augart wrote:
> I just accidentally tried to build Classpath 0.10 using GCJ (I was
> using an AIX machine, and I'd left Jikes out of my path).  The GCJ
> version is:
>=20
> 	gcj (GCC) 3.3.3 20040215 (release)
>=20
> This gave the error:
>=20
>      /usr/gnu/bin/gcj --bootclasspath '' --classpath ../../classpath-0.10=
:../../classpath-0.10/external/jaxp/source:../vm/current:.: -C -d . @classe=
s
> ../../classpath-0.10/java/security/cert/X509Certificate.java:143: error: =
Class `java.security.cert.X509Certificate' can't subclass interface `java.s=
ecurity.Certificate'.
>    public abstract class X509Certificate extends Certificate implements X=
509Extension
>=20
> The "configure" script currently tests whether GCJ, if used, has at
> least version 3.3.  This doesn't seem to be adequate to get around
> the error.
>=20
> Does anybody know what version of gcj we need to avoid this
> complaint?  We should update the configure script appropriately.

The release was tested against gcj (GCC) 3.3.4 (Debian 1:3.3.4-3) and
gcj CVS. Hopefully 3.3.4 is enough. But I see that Debian actually
includes a couple of patches for the compiler... One of which looks like
it was for the above issue. Darn. So you might actually need the 3.4 FSF
release.

The "official" policy is to make sure that the java source files can be
compiled against the latest official releases of gcj and jikes. (So if
gcj 3.4 and/or jikes 2.21 don't work, we have a bit of a problem.) But
in practice (in my case) this often means the last releases of gcj and
jikes in Debian. We do have a problem in any case since at least the
INSTALL/hacking-guide document doesn't explicitly say that (and the
configure script version check could indeed be updated).

Cheers,

Mark

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

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

iD8DBQBA/hb0xVhZCJWr9QwRAgNhAKCAd7DCly6J5kX1BPX7bHW04kgZ5wCdEoHo
YMhOn6WzteYfKp2l6tjfGaE=
=WaHy
-----END PGP SIGNATURE-----

--=-sbhbXm4hWRIfd4nWmAtQ--




From MAILER-DAEMON Wed Jul 21 14:09:58 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BnLXS-0008Ap-1e
	for mharc-classpath@gnu.org; Wed, 21 Jul 2004 14:09:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BnLXP-0008Ag-Ub
	for classpath@gnu.org; Wed, 21 Jul 2004 14:09:56 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BnLXO-0008AT-C3
	for classpath@gnu.org; Wed, 21 Jul 2004 14:09:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BnLXO-0008AQ-8W
	for classpath@gnu.org; Wed, 21 Jul 2004 14:09:54 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BnLUE-0006yi-W4
	for classpath@gnu.org; Wed, 21 Jul 2004 14:06:39 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 6C02C62659; Wed, 21 Jul 2004 18:06:38 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 97735-08; Wed, 21 Jul 2004 18:06:36 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-68-141.adsl.solnet.ch
	[212.41.68.141]) by mail01.solnet.ch (Postfix) with ESMTP
	id A1565624CC; Wed, 21 Jul 2004 18:06:34 +0000 (GMT)
Received: from mc-reali (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id 4FF5E115A60; Wed, 21 Jul 2004 20:02:29 +0200 (CEST)
Date: Wed, 21 Jul 2004 20:07:47 +0200
From: Patrik Reali <reali@acm.org>
To: Mark Wielaard <mark@klomp.org>,
	Steven Augart <augart@watson.ibm.com>
Message-ID: <914855.1090440467@[192.168.1.3]>
In-Reply-To: <1090393845.30753.38.camel@localhost>
References: <200407202127.i6KLRmo18826@bilbo.watson.ibm.com>
	<1090393845.30753.38.camel@localhost>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Virus-Scanned: by SolNet mail01.solnet.ch
Cc: classpath@gnu.org, Michael Koch <konqueror@gmx.de>
Subject: Re: classpath 0.10 and GCJ Version 3.3.3 20040215
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 21 Jul 2004 18:09:56 -0000

Michael Koch programmed a nightly build executed every night, which is 
compiled with jikes 1.16. on a Suse 8.1 machine (with a few patches)

Maybe this could be extended to use more compilers and versions thereof?

-Patrik

--On Mittwoch, 21. Juli 2004 09:10 +0200 Mark Wielaard <mark@klomp.org> 
wrote:

> Hi Steve,
>
> On Tue, 2004-07-20 at 23:27, Steven Augart wrote:
>> I just accidentally tried to build Classpath 0.10 using GCJ (I was
>> using an AIX machine, and I'd left Jikes out of my path).  The GCJ
>> version is:
>>
>> 	gcj (GCC) 3.3.3 20040215 (release)
>>
>> This gave the error:
>>
>>      /usr/gnu/bin/gcj --bootclasspath '' --classpath
>>      ../../classpath-0.10:../../classpath-0.10/external/jaxp/source:../v
>>      m/current:.: -C -d . @classes
>> ../../classpath-0.10/java/security/cert/X509Certificate.java:143: error:
>> Class `java.security.cert.X509Certificate' can't subclass interface
>> `java.security.Certificate'. public abstract class X509Certificate
>>    extends Certificate implements X509Extension
>>
>> The "configure" script currently tests whether GCJ, if used, has at
>> least version 3.3.  This doesn't seem to be adequate to get around
>> the error.
>>
>> Does anybody know what version of gcj we need to avoid this
>> complaint?  We should update the configure script appropriately.
>
> The release was tested against gcj (GCC) 3.3.4 (Debian 1:3.3.4-3) and
> gcj CVS. Hopefully 3.3.4 is enough. But I see that Debian actually
> includes a couple of patches for the compiler... One of which looks like
> it was for the above issue. Darn. So you might actually need the 3.4 FSF
> release.
>
> The "official" policy is to make sure that the java source files can be
> compiled against the latest official releases of gcj and jikes. (So if
> gcj 3.4 and/or jikes 2.21 don't work, we have a bit of a problem.) But
> in practice (in my case) this often means the last releases of gcj and
> jikes in Debian. We do have a problem in any case since at least the
> INSTALL/hacking-guide document doesn't explicitly say that (and the
> configure script version check could indeed be updated).
>
> Cheers,
>
> Mark





From MAILER-DAEMON Wed Jul 21 16:22:26 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BnNbe-0006Ub-Fu
	for mharc-classpath@gnu.org; Wed, 21 Jul 2004 16:22:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BnNbc-0006UL-CB
	for classpath@gnu.org; Wed, 21 Jul 2004 16:22:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BnNbb-0006U9-MR
	for classpath@gnu.org; Wed, 21 Jul 2004 16:22:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BnNbb-0006U6-Jp
	for classpath@gnu.org; Wed, 21 Jul 2004 16:22:23 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BnNYm-0000DW-IF
	for classpath@gnu.org; Wed, 21 Jul 2004 16:19:28 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6LKJLe1026468;
	Wed, 21 Jul 2004 16:19:21 -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 i6LKJJa14945; 
	Wed, 21 Jul 2004 16:19:19 -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
	i6LKJHXP012115; Wed, 21 Jul 2004 16:19:17 -0400
Message-ID: <40FECFC5.6040407@redhat.com>
Date: Wed, 21 Jul 2004 16:19:17 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <200407202127.i6KLRmo18826@bilbo.watson.ibm.com>
	<1090393845.30753.38.camel@localhost>
In-Reply-To: <1090393845.30753.38.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: classpath 0.10 and GCJ Version 3.3.3 20040215
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 21 Jul 2004 20:22:24 -0000

Mark Wielaard wrote:

>>Does anybody know what version of gcj we need to avoid this
>>complaint?  We should update the configure script appropriately.
>>    
>>
>
>The release was tested against gcj (GCC) 3.3.4 (Debian 1:3.3.4-3) and
>gcj CVS. Hopefully 3.3.4 is enough. But I see that Debian actually
>includes a couple of patches for the compiler... One of which looks like
>it was for the above issue. Darn. So you might actually need the 3.4 FSF
>release.
>  
>

If someone wants to identify the patch in question, and post a bug 
report to gcc.gnu.org/bugzilla, we can probably get that patch into the 
3.3.5 release. This will make sure that other distributions still using 
gcc 3.3 pick up the fix.

Regards

Bryce




From MAILER-DAEMON Wed Jul 21 16:24:56 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BnNe4-0007HH-Oj
	for mharc-classpath@gnu.org; Wed, 21 Jul 2004 16:24:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BnNe3-0007G8-0V
	for classpath@gnu.org; Wed, 21 Jul 2004 16:24:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BnNdz-0007F5-HJ
	for classpath@gnu.org; Wed, 21 Jul 2004 16:24:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BnNdz-0007F2-En
	for classpath@gnu.org; Wed, 21 Jul 2004 16:24:51 -0400
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BnNas-0000aV-OG
	for classpath@gnu.org; Wed, 21 Jul 2004 16:21:39 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-247.ewetel.net
	[80.228.93.247])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id i6LKLNlC016097;
	Wed, 21 Jul 2004 22:21:23 +0200 (MEST)
Received: from miraculix.konqueror.de ([192.168.1.1])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BnNi6-0005wP-00; Wed, 21 Jul 2004 22:29:06 +0200
From: Michael Koch <konqueror@gmx.de>
To: Patrik Reali <reali@acm.org>
Date: Wed, 21 Jul 2004 22:21:25 +0200
User-Agent: KMail/1.6.2
References: <200407202127.i6KLRmo18826@bilbo.watson.ibm.com>
	<1090393845.30753.38.camel@localhost>
	<914855.1090440467@[192.168.1.3]>
In-Reply-To: <914855.1090440467@[192.168.1.3]>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200407212221.25116.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: classpath 0.10 and GCJ Version 3.3.3 20040215
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 21 Jul 2004 20:24:55 -0000

Am Mittwoch, 21. Juli 2004 20:07 schrieb Patrik Reali:
> Michael Koch programmed a nightly build executed every night, which
> is compiled with jikes 1.16. on a Suse 8.1 machine (with a few
> patches)
>
> Maybe this could be extended to use more compilers and versions
> thereof?

It's easy to extend or to use on other hosts. I will clean it up and 
commit it to CVS into the scripts directory.

This reminds me that I need to sent its mails to classpath@gnu.org ml 
again.


Michael



From MAILER-DAEMON Wed Jul 21 23:00:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BnTou-0006ST-8y
	for mharc-classpath@gnu.org; Wed, 21 Jul 2004 23:00:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BnTop-0006SG-Fd
	for classpath@gnu.org; Wed, 21 Jul 2004 23:00:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BnTon-0006Rs-T1
	for classpath@gnu.org; Wed, 21 Jul 2004 23:00:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BnTon-0006Ri-QA
	for classpath@gnu.org; Wed, 21 Jul 2004 23:00:25 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BnTli-0005zK-1z
	for classpath@gnu.org; Wed, 21 Jul 2004 22:57:14 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6M2v7e1009863;
	Wed, 21 Jul 2004 22:57:07 -0400
Received: from dub.venge.net (sebastian-int.corp.redhat.com [172.16.52.221])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6M2v7a16641; 
	Wed, 21 Jul 2004 22:57:07 -0400
Date: Wed, 21 Jul 2004 22:51:20 -0400
To: "java-patches.gcc.gnu.org" <java-patches@gcc.gnu.org>
From: "graydon hoare" <graydon@redhat.com>
Organization: red hat
Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-ID: <opsbip7uaztgmzw2@dub.venge.net>
User-Agent: Opera M2/7.51 (Linux, build 689)
Cc: classpath@gnu.org
Subject: [gui][patch] monthly merge from java-gui-branch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 22 Jul 2004 03:00:28 -0000

hi,

this is the "monthly" merge from java-gui-branch to gcc trunk. this will
be the last such regularly scheduled merge for a while; we're going to
be taking a slightly less disruptive (to trunk) route for a bit, as an
experiment: merging between the gui branch and classpath directly more
frequently, and doing a 1-way merge into trunk at lower frequency (say
every 2-3 months). this is primarily to reduce the number of times we
risk breaking the gcc trunk build, which is a recurrent problem of mine.

I'd ask that future work on gui-related stuff go into the gui branch
or classpath, *not* gcc trunk, since this will ease integration and
reduce the risk of a merge clobbering your changes.

anyways, the july patch is here:

http://people.redhat.com/graydon/java-gui-merge-july-20-2004.patch

it's another 600k of diffs, all confined to java.awt, javax.swing, and
jni/gtk-peers. I've done a build test against the trunk and run the
recent "activityboard" test:

http://people.redhat.com/graydon/activityboard.java

which appears to work out of the box with it. please let me know if you
have any objections; I'll be committing shortly (say, tomorrow morning)
if not. I'd welcome anyone with an extra autobuilder and some spare cycles
to check it out and make sure I'm not causing any trouble. last time was
almost too frustrating for me to believe my own test results anymore.

-graydon



From MAILER-DAEMON Thu Jul 22 06:38:31 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bnay7-0000BU-Iv
	for mharc-classpath@gnu.org; Thu, 22 Jul 2004 06:38:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BnamX-0006D2-Bt
	for classpath@gnu.org; Thu, 22 Jul 2004 06:26:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BnamV-0006C8-Gb
	for classpath@gnu.org; Thu, 22 Jul 2004 06:26:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BnamV-0006C1-CR
	for classpath@gnu.org; Thu, 22 Jul 2004 06:26:31 -0400
Received: from [148.87.2.204] (helo=inet-mail4.oracle.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BnajG-0001Me-WB
	for classpath@gnu.org; Thu, 22 Jul 2004 06:23:11 -0400
Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.191.12])
	by inet-mail4.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id
	i6MAJ4Hw022348; Thu, 22 Jul 2004 03:19:05 -0700 (PDT)
Received: from rgmgw3.us.oracle.com (localhost [127.0.0.1])
	by rgmgw3.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id
	i6MAN24h017121; Thu, 22 Jul 2004 04:23:03 -0600
Received: from [152.69.153.118] (stemos53.idc.oracle.com [152.69.153.118])
	by rgmgw3.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id
	i6MAMw29016948; Thu, 22 Jul 2004 04:23:01 -0600
Message-ID: <40FF955B.6010609@gmail.com>
Date: Thu, 22 Jul 2004 15:52:19 +0530
From: Ranjit Mathew <rmathew@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
	rv:1.7) Gecko/20040616
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: graydon hoare <graydon@redhat.com>
References: <opsbip7uaztgmzw2@dub.venge.net>
In-Reply-To: <opsbip7uaztgmzw2@dub.venge.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Thu, 22 Jul 2004 06:38:29 -0400
Cc: classpath@gnu.org, GCJ Patches <java-patches@gcc.gnu.org>
Subject: Re: [gui][patch] monthly merge from java-gui-branch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 22 Jul 2004 10:26:33 -0000

graydon hoare wrote:
[...]
> anyways, the july patch is here:
> 
> http://people.redhat.com/graydon/java-gui-merge-july-20-2004.patch
> 
> it's another 600k of diffs, all confined to java.awt, javax.swing, and
> jni/gtk-peers. I've done a build test against the trunk and run the
> recent "activityboard" test:
> 
> http://people.redhat.com/graydon/activityboard.java
> 
> which appears to work out of the box with it. please let me know if you
> have any objections; I'll be committing shortly (say, tomorrow morning)
> if not. I'd welcome anyone with an extra autobuilder and some spare cycles
> to check it out and make sure I'm not causing any trouble. last time was
> almost too frustrating for me to believe my own test results anymore.

FWIW:

While I don't have an "autobuilder" environment, I applied
your patch to the current mainline - it applied cleanly and
I did not get any compilation errors in a clean build of
libgcj on i686-pc-linux-gnu.

Thanks,
Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT gmail DOT com

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



From MAILER-DAEMON Thu Jul 22 11:37:00 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bnfcy-00008I-39
	for mharc-classpath@gnu.org; Thu, 22 Jul 2004 11:37:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bnfcv-000084-Sv
	for classpath@gnu.org; Thu, 22 Jul 2004 11:36:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bnfct-00007D-Pm
	for classpath@gnu.org; Thu, 22 Jul 2004 11:36:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bnfct-00007A-M5
	for classpath@gnu.org; Thu, 22 Jul 2004 11:36:55 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BnfZe-0007Pv-7O
	for classpath@gnu.org; Thu, 22 Jul 2004 11:33:34 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BnfZ0-0001fc-00; Thu, 22 Jul 2004 17:32:54 +0200
From: Mark Wielaard <mark@klomp.org>
To: graydon hoare <graydon@redhat.com>
In-Reply-To: <opsbip7uaztgmzw2@dub.venge.net>
References: <opsbip7uaztgmzw2@dub.venge.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-hriQlUxUPwvEq3lJmU3w"
Message-Id: <1090510363.27014.106.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 22 Jul 2004 17:32:43 +0200
Cc: classpath@gnu.org, "java-patches.gcc.gnu.org" <java-patches@gcc.gnu.org>
Subject: Re: [gui][patch] monthly merge from java-gui-branch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 22 Jul 2004 15:36:58 -0000


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

Hi Graydon,

On Thu, 2004-07-22 at 04:51, graydon hoare wrote:
> this is the "monthly" merge from java-gui-branch to gcc trunk. this will
> be the last such regularly scheduled merge for a while; we're going to
> be taking a slightly less disruptive (to trunk) route for a bit, as an
> experiment: merging between the gui branch and classpath directly more
> frequently, and doing a 1-way merge into trunk at lower frequency (say
> every 2-3 months). this is primarily to reduce the number of times we
> risk breaking the gcc trunk build, which is a recurrent problem of mine.
>=20
> I'd ask that future work on gui-related stuff go into the gui branch
> or classpath, *not* gcc trunk, since this will ease integration and
> reduce the risk of a merge clobbering your changes.

I agree. We used to do merges like:
  kaffe <=3D> classpath <=3D> libgcj <=3D> gui-branch
Since most changes for java/awt, javax/swing and native/jni/gtk-peers
take place on the gui branch it makes more sense to change this to:
   kaffe <=3D> classpath <=3D> gui-branch <=3D> libgcj
at least for those (sub)dirs.

I used to be a bit skeptical about splitting off the gui work on a
separate branch. But these days more and more people seem to have no
problem just working with the branch directly. Thomas his jhbuild setup
even makes it fun and easy to do:
http://people.redhat.com/fitzsim/gcj-and-jhbuild.html
And I noticed that being able to just use gdb with native gcj/C/JNI code
is invaluable for debugging at least the gtk-peers.

And lets try to keep GNU Classpath CVS and the gui-branch in sync as
much as possible for java/awt, javax/swing and native/jni/gtk-peers. And
of course for everything else lets keep libgcj head and GNU Classpath
CVS in sync. I'll try to adapt the compare script later today to help us
with that: http://gcc.gnu.org/java/libgcj-classpath-compare.html

(Note that doesn't mean you cannot develop gui stuff directly on GNU
Classpath CVS, but if you do either check it also in on the gui-branch,
or ask someone to do that for you.)

> anyways, the july patch is here:
>=20
> http://people.redhat.com/graydon/java-gui-merge-july-20-2004.patch
>=20
> it's another 600k of diffs, all confined to java.awt, javax.swing, and
> jni/gtk-peers. I've done a build test against the trunk and run the
> recent "activityboard" test:
>=20
> http://people.redhat.com/graydon/activityboard.java
>=20
> which appears to work out of the box with it. please let me know if you
> have any objections; I'll be committing shortly (say, tomorrow morning)
> if not. I'd welcome anyone with an extra autobuilder and some spare cycle=
s
> to check it out and make sure I'm not causing any trouble. last time was
> almost too frustrating for me to believe my own test results anymore.

I made some path and build cleanups for GNU Classpath and activity board
now works out of the box for me (you will need the BlueCurve icons on
your machine though) with jamvm. Kissme crashes though. Tests with both
runtimes for testswing, Test, TestAWT and the Visual Test Engine look
great!

Thanks for improving our gui classes so much Andreas, David, Graydon,
Jerry, Kim, Michael, Olga and Thomas!

If you are committing to gcc head I will add it to GNU Classpath also if
there are no objections.

Thanks,

Mark

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

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

iD8DBQBA/94axVhZCJWr9QwRAiBIAJ9FCK4GfEpO8ePV1zx2nqv2DeFkRACfT1N0
c62bZ6rAt2hWfH/FQ2QQY9I=
=HQ4r
-----END PGP SIGNATURE-----

--=-hriQlUxUPwvEq3lJmU3w--




From MAILER-DAEMON Fri Jul 23 07:23:31 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bny9D-00043Y-MX
	for mharc-classpath@gnu.org; Fri, 23 Jul 2004 07:23:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bny9C-00043J-I3
	for classpath@gnu.org; Fri, 23 Jul 2004 07:23:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bny9B-000433-Vo
	for classpath@gnu.org; Fri, 23 Jul 2004 07:23:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1Bny9A-00042m-5X; Fri, 23 Jul 2004 07:23:28 -0400
Received: from [212.42.171.92] (helo=bluezoo.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1Bny6E-0006GZ-TI; Fri, 23 Jul 2004 07:20:27 -0400
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by bluezoo.org (Postfix) with ESMTP id BFEC9D2625;
	Fri, 23 Jul 2004 12:20:22 +0100 (BST)
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <494209FB-DC9A-11D8-854A-000D934FF4B2@bluezoo.org>
Content-Transfer-Encoding: 7bit
From: Chris Burdess <dog@bluezoo.org>
Date: Fri, 23 Jul 2004 12:20:21 +0100
To: classpath-inetlib@gnu.org
X-Pgp-Agent: GPGMail 1.0.1 (v33, 10.3)
X-Mailer: Apple Mail (2.618)
Cc: classpath@gnu.org
Subject: inetlib HTTP client
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 23 Jul 2004 11:23:30 -0000

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

There is now an HTTP client in inetlib. It provides an API similar to 
the neon WebDAV/HTTP client.

It can do HTTPS, and Basic and Digest authentication, and can handle 
the chunked transfer-coding and keep-alive connections.

There are also URLStreamHandlers for the http and https URL schemes 
which use this client and can be used as a plug-in replacement for 
gnu.java.net.protocol.http. The URLConnection permits WebDAV methods to 
be issued.

Please post feature requests and bug reports on Savannah, or 
discussions to classpath-inetlib.
- -- 
Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBAPR26dl1DEqHgrgRAqt6AJwK3h/ZKlh8Y0iGIvmn39Xvt97fAwCeIZ4b
SmPK9/sZbm5jgmDEXVd62Uw=
=HhLC
-----END PGP SIGNATURE-----




From MAILER-DAEMON Fri Jul 23 11:17:45 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bo1nt-0005PW-Pd
	for mharc-classpath@gnu.org; Fri, 23 Jul 2004 11:17:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bo1ns-0005P6-Ag
	for classpath@gnu.org; Fri, 23 Jul 2004 11:17:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bo1nq-0005Ou-Mi
	for classpath@gnu.org; Fri, 23 Jul 2004 11:17:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bo1nq-0005Or-LH
	for classpath@gnu.org; Fri, 23 Jul 2004 11:17:42 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bo1ks-0005fg-1c
	for classpath@gnu.org; Fri, 23 Jul 2004 11:14:38 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6NFEVe1000857;
	Fri, 23 Jul 2004 11:14:31 -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 i6NFEVa02802; 
	Fri, 23 Jul 2004 11:14:31 -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
	i6NFEVXP028226; Fri, 23 Jul 2004 11:14:31 -0400
Message-ID: <41012B57.4020805@redhat.com>
Date: Fri, 23 Jul 2004 11:14:31 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1089578898.21380.774.camel@localhost>	
	<40F1B8C2.8070509@redhat.com>
	<1090582560.27014.230.camel@localhost>
In-Reply-To: <1090582560.27014.230.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org, java@gcc.gnu.org
Subject: Re: http.agent patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Jul 2004 15:17:44 -0000

[moving this to the gcj and classpath lists]

Mark Wielaard wrote:

>On Mon, 2004-07-12 at 00:01, Bryce McKinlay wrote:
>  
>
>>>I believe the following patch addresses both
>>>concerns and makes sure that even when the Connection class is
>>>loaded/initialized from a class with not enough permissions it can still
>>>get at the necessary system properties.
>>>      
>>>
>>I wonder if we really need to use AccessController.doPrivilaged() in a 
>>static initializer. Won't the class initialization code, which calls the 
>>static initializer, already be privilaged?
>>    
>>
>
>Yes you need that. The idea behind the whole security model is that a
>programmer needs to explicitly say whether or not they need/want only
>their own ProtectionDomain to be used with any access checks. This makes
>sure that under "normal" circumstances only security sensitive code can
>execute that the developer and the user set security manager allow to
>execute. It reliefs the developer to think about all the ways the code
>can potentially be called from an insecure environment. If you insert a
>doPrivileged() call you assert that you have thought about all ways this
>code can potentially be used from an insecure environment.
>  
>
Yeah.

Have a look at 
http://java.sun.com/j2se/1.4.2/docs/guide/security/doprivileged.html, 
particularly the bit about "GetPropertyAction". The syntax they suggest 
here addresses some of my concerns about PrivilagedActions. Namely, 
having a non-anonymous PrivilagedAction implementations to do common 
actions like System.getProperty() avoids the ugly anonymous class syntax 
I've seen elsewhere.

My other concern has been efficiency. Thinking about this more, the 
amount of calls that need to be privilaged is probably not as extensive 
as I first thought. Provided we follow some simple guidelines to ensure 
we are not making privilaged calls where we don't need to - for example, 
ensuring that all getProperty() calls are done only from static 
initializers, I think the overhead should be managable.

Moving forward, what we need is a list of all the calls that need to be 
privilaged - presumably this means calls that can throw 
SecurityException, and a list of all the places where they are called 
within the core classes. Does anyone have a tool that can do this? Hmm, 
maybe we can make an eclipse plugin to do it.

Regards

Bryce




From MAILER-DAEMON Fri Jul 23 18:43:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bo8lb-0001Su-HU
	for mharc-classpath@gnu.org; Fri, 23 Jul 2004 18:43:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bo8la-0001Sj-Ro
	for classpath@gnu.org; Fri, 23 Jul 2004 18:43:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bo8lZ-0001ST-AM
	for classpath@gnu.org; Fri, 23 Jul 2004 18:43:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1Bo8lV-0001SC-GD; Fri, 23 Jul 2004 18:43:45 -0400
Received: from [66.33.197.200] (helo=willum.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1Bo8iH-0005zf-Aq; Fri, 23 Jul 2004 18:40:25 -0400
Received: from dexter (c-24-6-46-122.client.comcast.net [24.6.46.122])
	by willum.dreamhost.com (Postfix) with ESMTP
	id EDC3E2CDCF; Fri, 23 Jul 2004 15:40:05 -0700 (PDT)
Received: by dexter (Postfix, from userid 1000)
	id 1695139; Fri, 23 Jul 2004 15:39:49 -0700 (PDT)
To: Chris Burdess <dog@bluezoo.org>
References: <494209FB-DC9A-11D8-854A-000D934FF4B2@bluezoo.org>
From: Casey Marshall <csm@gnu.org>
Date: Fri, 23 Jul 2004 15:39:49 -0700
In-Reply-To: <494209FB-DC9A-11D8-854A-000D934FF4B2@bluezoo.org> (Chris
	Burdess's message of "Fri, 23 Jul 2004 12:20:21 +0100")
Message-ID: <87fz7iuz4a.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, jessie-discuss@nongnu.org, classpath-inetlib@gnu.org
Subject: Re: inetlib HTTP client
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 23 Jul 2004 22:43:51 -0000

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

Chris> There is now an HTTP client in inetlib. It provides an API
Chris> similar to the neon WebDAV/HTTP client.

Chris> It can do HTTPS, and Basic and Digest authentication, and can
Chris> handle the chunked transfer-coding and keep-alive connections.

Oh, cool. I think I can retire Jessie's HTTPS handler in favor of
this.

-- 
Casey Marshall || csm@gnu.org



From MAILER-DAEMON Sat Jul 24 14:02:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BoQqx-0000Sx-Mn
	for mharc-classpath@gnu.org; Sat, 24 Jul 2004 14:02:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BoQqv-0000Sa-Bs
	for classpath@gnu.org; Sat, 24 Jul 2004 14:02:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BoQqs-0000SN-TC
	for classpath@gnu.org; Sat, 24 Jul 2004 14:02:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BoQqs-0000SK-Qc
	for classpath@gnu.org; Sat, 24 Jul 2004 14:02:30 -0400
Received: from [64.233.170.203] (helo=mproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BoQnE-0008OQ-UE
	for classpath@gnu.org; Sat, 24 Jul 2004 13:58:45 -0400
Received: by mproxy.gmail.com with SMTP id 75so31686rnk
	for <classpath@gnu.org>; Sat, 24 Jul 2004 10:58:44 -0700 (PDT)
Received: by 10.38.206.62 with SMTP id d62mr71761rng;
	Sat, 24 Jul 2004 10:58:44 -0700 (PDT)
Message-ID: <ab601d61040724105842adc336@mail.gmail.com>
Date: Sat, 24 Jul 2004 13:58:44 -0400
From: Jeff Myers <myersj@gmail.com>
To: classpath@gnu.org
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_9_10431783.1090691924313"
Subject: Problem with component image capture with Component.printAll()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 24 Jul 2004 18:02:33 -0000

------=_Part_9_10431783.1090691924313
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Greetings All,

I'm attempting to test out Classpath's AWT support, specifically in
the context of component image capture capability necessary to support
the Eclipse Visual Editor project.  Classpath's Component.printAll()
method is returning a badly garbled image (with Classpath 0.10 running
via jamvm).  Attached is a simple testcase of this issue.  Any help
resolving this issue would be appreciated.

Thanks,
 - Jeff Myers

------=_Part_9_10431783.1090691924313
Content-Type: text/x-java; name="AWTPrintAllTest.java"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="AWTPrintAllTest.java"

import java.awt.Button;
import java.awt.Canvas;
import java.awt.Checkbox;
import java.awt.Component;
import java.awt.Frame;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Label;
import java.awt.Panel;
import java.awt.ScrollPane;

public class AWTPrintAllTest {

=09private Frame displayFrame =3D null; =20
=09private Label label =3D null;
=09private Button button =3D null;
=09private Frame captureFrame =3D null;=20
=09private Panel panel =3D null;
=09private Checkbox checkbox =3D null;
=09private Button button1 =3D null;
=09private ScrollPane scrollPane =3D null;
=09private Canvas canvas =3D null;
=09private Button button2 =3D null;
=09
=09public Image componentImage =3D null;
=09
=09private class ImageCanvas extends Canvas {
=09=09public void paint(Graphics g) {
=09=09=09super.paint(g);
=09=09=09if (componentImage !=3D null) {
=09=09=09=09this.setSize(componentImage.getWidth(this), componentImage.getH=
eight(this));
=09=09=09=09g.drawImage(componentImage, 0, 0, this);
=09=09=09}
=09=09}
=09}
=09
=09public static void main(String[] args) {
     =09AWTPrintAllTest apat =3D new AWTPrintAllTest();
     =09apat.getDisplayFrame().setVisible(true);
     =09apat.getCaptureFrame().setVisible(true);
=09}
=09
=09private Frame getDisplayFrame() {
=09=09if (displayFrame =3D=3D null) {
=09=09=09displayFrame =3D new Frame();
=09=09=09label =3D new Label();
=09=09=09displayFrame.setLayout(null);
=09=09=09displayFrame.setSize(148, 98);
=09=09=09displayFrame.setTitle("Frame");
=09=09=09displayFrame.setLocation(200, 200);
=09=09=09label.setBounds(16, 32, 47, 41);
=09=09=09label.setText("Label");
=09=09=09displayFrame.add(label, null);
=09=09=09button =3D new Button();
=09=09=09button.setBounds(74, 37, 54, 39);
=09=09=09button.setLabel("Button");
=09=09=09displayFrame.add(button, null);
=09=09}
=09=09return displayFrame;
=09}

=09private Frame getCaptureFrame() {
=09=09if (captureFrame =3D=3D null) {
=09=09=09captureFrame =3D new Frame();
=09=09=09captureFrame.setSize(246, 181);
=09=09=09captureFrame.setTitle("Print All Test");
=09=09=09panel =3D new Panel();
=09=09=09checkbox =3D new Checkbox();
=09=09=09checkbox.setLabel("Off Screen");
=09=09=09checkbox.addItemListener(new java.awt.event.ItemListener() {=20
=09=09=09=09public void itemStateChanged(java.awt.event.ItemEvent e) {   =
=20
=09=09=09=09=09if (checkbox.getState()) {
=09=09=09=09=09=09getDisplayFrame().setLocation(10000,10000);
=09=09=09=09=09} else {
=09=09=09=09=09=09getDisplayFrame().setLocation(200,200);
=09=09=09=09=09}
=09=09=09=09}
=09=09=09});
=09=09=09panel.add(checkbox, null);
=09=09=09button1 =3D new Button();
=09=09=09button1.setLabel("Grab");
=09=09=09button1.addActionListener(new java.awt.event.ActionListener() {=20
=09=09=09=09public void actionPerformed(java.awt.event.ActionEvent e) {
=09=09=09=09=09Component component =3D getDisplayFrame();
=09=09=09=09=09componentImage =3D component.createImage(component.getWidth(=
), component.getHeight());
=09=09=09=09=09Graphics graphics =3D componentImage.getGraphics();
=09=09=09=09=09component.printAll(graphics);
=09=09=09=09=09canvas.repaint();
=09=09=09=09}
=09=09=09});
=09=09=09panel.add(button1, null);
=09=09=09button2 =3D new Button();
=09=09=09button2.setLabel("Quit");
=09=09=09button2.addActionListener(new java.awt.event.ActionListener() {=20
=09=09=09=09public void actionPerformed(java.awt.event.ActionEvent e) {   =
=20
=09=09=09=09=09System.exit(0);
=09=09=09=09}
=09=09=09});
=09=09=09panel.add(button2, null);
=09=09=09captureFrame.add(panel, java.awt.BorderLayout.SOUTH);
=09=09=09scrollPane =3D new ScrollPane();
=09=09=09canvas =3D new ImageCanvas();
=09=09=09scrollPane.add(canvas, null);
=09=09=09captureFrame.add(scrollPane, java.awt.BorderLayout.CENTER);
=09=09=09captureFrame.addWindowListener(new java.awt.event.WindowAdapter() =
{=20
=09=09=09=09public void windowClosing(java.awt.event.WindowEvent e) {   =20
=09=09=09=09=09System.exit(0);
=09=09=09=09}
=09=09=09});
=09=09}
=09=09return captureFrame;
=09}
}

------=_Part_9_10431783.1090691924313--



From MAILER-DAEMON Mon Jul 26 00:33:54 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BoxBS-0002mk-If
	for mharc-classpath@gnu.org; Mon, 26 Jul 2004 00:33:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BoxBP-0002mS-8u
	for classpath@gnu.org; Mon, 26 Jul 2004 00:33:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BoxBN-0002m0-KA
	for classpath@gnu.org; Mon, 26 Jul 2004 00:33:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BoxBN-0002lq-H0
	for classpath@gnu.org; Mon, 26 Jul 2004 00:33:49 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Box8C-00060D-2S
	for classpath@gnu.org; Mon, 26 Jul 2004 00:30:32 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6Q4UVe1021729;
	Mon, 26 Jul 2004 00:30:31 -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 i6Q4UUa27418; 
	Mon, 26 Jul 2004 00:30:30 -0400
Received: from [127.0.0.1] (tortoise.toronto.redhat.com [172.16.14.92])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	i6Q4USXP013393; Mon, 26 Jul 2004 00:30:29 -0400
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: Jeff Myers <myersj@gmail.com>
In-Reply-To: <ab601d61040724105842adc336@mail.gmail.com>
References: <ab601d61040724105842adc336@mail.gmail.com>
Content-Type: text/plain
Message-Id: <1090816239.5583.8.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Mon, 26 Jul 2004 00:30:39 -0400
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Problem with component image capture with Component.printAll()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 26 Jul 2004 04:33:51 -0000

On Sat, 2004-07-24 at 13:58, Jeff Myers wrote:
> Greetings All,
> 
> I'm attempting to test out Classpath's AWT support, specifically in
> the context of component image capture capability necessary to support
> the Eclipse Visual Editor project.  Classpath's Component.printAll()
> method is returning a badly garbled image (with Classpath 0.10 running
> via jamvm).  Attached is a simple testcase of this issue.  Any help
> resolving this issue would be appreciated.
> 

I looked at this briefly.  What you're seeing is the result of painting
uninitialized image data.  To solve this, we'll need to have GTK not
only paint widgets on its native windows, but also into the graphics
object that we pass to the peers' paint methods.

For example, see GtkComponentPeer.paint.  We'll need to call a native
method there that calls GTK to paint the widget into g's buffer.  I
don't know how to do this, but I'm pretty sure it's possible, since I've
heard Mozilla does something like this to render its native-looking
widgets.

Can you file a bug in GCC bugzilla under the AWT component, and attach
this test case?

Thanks,
Tom





From MAILER-DAEMON Mon Jul 26 22:31:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BpHkB-0007Wz-2d
	for mharc-classpath@gnu.org; Mon, 26 Jul 2004 22:31:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BpHk9-0007WX-AI
	for classpath@gnu.org; Mon, 26 Jul 2004 22:31:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BpHk7-0007WK-Mj
	for classpath@gnu.org; Mon, 26 Jul 2004 22:31:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BpHk7-0007WH-Ip
	for classpath@gnu.org; Mon, 26 Jul 2004 22:31:03 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BpHgb-0001TM-VY
	for classpath@gnu.org; Mon, 26 Jul 2004 22:27:26 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6R2RJe1011048;
	Mon, 26 Jul 2004 22:27: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 i6R2RJa20388; 
	Mon, 26 Jul 2004 22:27:19 -0400
Received: from [127.0.0.1] (tortoise.toronto.redhat.com [172.16.14.92])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	i6R2RHXP025799; Mon, 26 Jul 2004 22:27:18 -0400
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: java@gcc.gnu.org
Content-Type: text/plain
Message-Id: <1090895252.2536.32.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Mon, 26 Jul 2004 22:27:32 -0400
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: AWT and Swing bug reports
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 27 Jul 2004 02:31:05 -0000

Hi,

With lots of help from Daniel Berlin (thanks Daniel!), I just finished
exporting Red Hat's internal AWT and Swing bug reports to GCC bugzilla.

Currently, each bug is assigned to one of us Red Hat hackers but that
doesn't necessarily mean we're working on all of them at once.  So if
you'd like to help out on a particular bug, just ask, and we'll reassign
it to you.

Go get 'em!
Tom





From MAILER-DAEMON Tue Jul 27 17:43:53 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BpZjl-0002Dy-9g
	for mharc-classpath@gnu.org; Tue, 27 Jul 2004 17:43:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BpZjk-0002Ds-53
	for classpath@gnu.org; Tue, 27 Jul 2004 17:43:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BpZji-0002Dg-H4
	for classpath@gnu.org; Tue, 27 Jul 2004 17:43:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BpZji-0002Dd-EV
	for classpath@gnu.org; Tue, 27 Jul 2004 17:43:50 -0400
Received: from [82.69.70.8] (helo=bluezoo.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BpZgZ-0004v3-Kk
	for classpath@gnu.org; Tue, 27 Jul 2004 17:40:35 -0400
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by bluezoo.org (Postfix) with ESMTP id DE175D5BD4
	for <classpath@gnu.org>; Tue, 27 Jul 2004 22:40:31 +0100 (BST)
Mime-Version: 1.0 (Apple Message framework v618)
Content-Transfer-Encoding: 7bit
Message-Id: <9482F77C-E015-11D8-8EF4-000D934FF4B2@bluezoo.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: classpath@gnu.org
From: Chris Burdess <dog@bluezoo.org>
Date: Tue, 27 Jul 2004 22:40:29 +0100
X-Pgp-Agent: GPGMail 1.0.1 (v33, 10.3)
X-Mailer: Apple Mail (2.618)
Subject: libtool question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jul 2004 21:43:52 -0000

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

I need a bit of help fixing the JNI build for gnujaxp, perhaps someone 
familiar with libtool could comment:

All goes well until the link step. Then, under Darwin, I'm issuing the 
following:

/bin/sh ./libtool --mode=link gcc -shared -rpath /usr/local/lib    
- -release 0.99 -export-dynamic -D_JNI_IMPLEMENTATION_ -L/usr/local/lib 
- -lxslt -lxml2 -lz -lpthread -liconv -lm -shrext .jnilib -o libxmlj.la  
xmlj_dom.lo  xmlj_error.lo  xmlj_io.lo  xmlj_node.lo  xmlj_sax.lo  
xmlj_transform.lo  xmlj_util.lo  xmlj_xpath.lo

libtool converts this to

gcc -dynamiclib  -flat_namespace -undefined suppress -o 
.libs/libxmlj-0.99.jnilib  .libs/xmlj_dom.o .libs/xmlj_error.o 
.libs/xmlj_io.o .libs/xmlj_node.o .libs/xmlj_sax.o 
.libs/xmlj_transform.o .libs/xmlj_util.o .libs/xmlj_xpath.o  
- -L/usr/local/lib /usr/local/lib/libxslt.dylib /usr/lib/libm.dylib 
/usr/local/lib/libxml2.dylib /usr/lib/libpthread.dylib 
/usr/lib/libz.dylib -lz -lpthread /usr/lib/libiconv.dylib -lm 
- -install_name  /usr/local/lib/libxmlj-0.99.jnilib

Problem is, this is wrong, and results in an unlinkable shared object. 
How do I get libtool to leave the -l arguments alone?

TIA
- -- 
Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBBsvO6dl1DEqHgrgRAtBlAJ4/irAJ7eHFSLUiIrks0m6QHAAEZwCfZUV+
IKs5AUVPDEL59tWS2ttQ/Z0=
=9hZD
-----END PGP SIGNATURE-----




From MAILER-DAEMON Wed Jul 28 10:44:50 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bppfm-0002mP-Pr
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 10:44:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bppfk-0002mH-Mt
	for classpath@gnu.org; Wed, 28 Jul 2004 10:44:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bppfj-0002ly-C4
	for classpath@gnu.org; Wed, 28 Jul 2004 10:44:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bppfj-0002lo-9L
	for classpath@gnu.org; Wed, 28 Jul 2004 10:44:47 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BppcF-00027D-BZ
	for classpath@gnu.org; Wed, 28 Jul 2004 10:41:11 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.105.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id i6SEekxw025316;
	Thu, 29 Jul 2004 00:40:46 +1000 (EST)
Message-Id: <200407281440.i6SEekxw025316@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 "Thu,
	10 Jun 2004 16:56:54 +0200."
	<1086879414.6327.168.camel@elsschot.wildebeest.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 29 Jul 2004 00:41:06 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Spam-Score: -1.734
X-Scanned-By: MIMEDefang 2.39 (DSTC)
Cc: crawley@piglet.dstc.edu.au, classpath@gnu.org
Subject: Re: RFC: Require VM to provide JNI 1.2 support? 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jul 2004 14:44:48 -0000


Folks,

As of few days ago, the CVS version of Kissme supports JNI 1.2 apart from
the Invocation API.  Some of the new methods are untested, but I'll be
addressing this in coming weeks.

-- Steve






From MAILER-DAEMON Wed Jul 28 11:58:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bpqp9-0001As-6m
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 11:58:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bpqp7-0001Ag-Ne
	for classpath@gnu.org; Wed, 28 Jul 2004 11:58:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bpqp6-0001AU-ON
	for classpath@gnu.org; Wed, 28 Jul 2004 11:58:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bpqp6-0001AR-Ix
	for classpath@gnu.org; Wed, 28 Jul 2004 11:58:32 -0400
Received: from [32.97.182.103] (helo=e3.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bpqlf-00046f-FI
	for classpath@gnu.org; Wed, 28 Jul 2004 11:54:59 -0400
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com
	[9.56.224.206])
	by e3.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i6SFswHr494396
	for <classpath@gnu.org>; Wed, 28 Jul 2004 11:54:58 -0400
Received: from d01ml604.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id
	i6SFtvji079318; Wed, 28 Jul 2004 11:55:57 -0400
To: jikesrvm-researchers@www-124.southbury.usf.ibm.com,
	jikesrvm-announce@www-124.southbury.usf.ibm.com, classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
From: David P Grove <groved@us.ibm.com>
X-MIMETrack: S/MIME Sign by Notes Client on David P Grove/Watson/IBM(Release
	6.0.2CF1|June 9, 2003) at 07/28/2004 11:50:20 AM,
	Serialize by Notes Client on David P Grove/Watson/IBM(Release
	6.0.2CF1|June 9, 2003) at 07/28/2004 11:50:20 AM,
	Serialize complete at 07/28/2004 11:50:20 AM,
	S/MIME Sign failed at 07/28/2004 11:50:20 AM: The cryptographic key was
	not found,
	Serialize by Router on D01ML604/01/M/IBM(Release 6.51HF433 | July 14,
	2004) at 07/28/2004 11:54:57,
	Serialize complete at 07/28/2004 11:54:57
Message-ID: <OF5032A608.CF637D56-ON85256EDF.00568767-85256EDF.00576D60@us.ibm.com>
Date: Wed, 28 Jul 2004 11:54:55 -0400
Content-Type: multipart/alternative;
	boundary="=_alternative 005701CF85256EDF_="
Cc: 
Subject: Jikes RVM 2.3.3 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: Wed, 28 Jul 2004 15:58:33 -0000

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

Jikes RVM 2.3.3 is now available from the developerworks web site (
http://www-124.ibm.com/developerworks/oss/jikesrvm/). 

The release notes are appended below. 

-*-outline-*-
These are release notes for Jikes RVM release 2.3.3.

*Sections of this document:
 *Highlights
 *Other Notes
 *Bug Fixes

*Highlights of this release include:

**GNU Classpath 0.10
Jikes RVM now uses GNU Classpath version 0.10 on all platforms.  Jikes
RVM 2.3.3 should work with classpath version 0.08, 0.09 or 0.10.
However, we recommend that users switch to classpath 0.10, to get the
new features and because we run our nightly regression tests against
Classpath 0.10.

(If hand-building GNU Classpath 0.10 or 0.09 on AIX, follow the
directions in rvm/doc/classpath-0.10-on-AIX.txt)

**GCspy garbage collection visualization tool

Jikes RVM now includes support for the GCspy tool for visualizing the
garbage collector's behaviour.  Many thanks to Richard Jones of the
University of Kent for this contribution.  (This item should have been
included in the 2.3.2 release notes, but was inadvertently omitted.)
Documentation is in the user's guide.

**PowerPC/Linux/64 support with baseline compiler
Jikes RVM now runs on 64-bit PowerPC Linux to the same extent as it
does on 64-bit PowerPC AIX.  All regression tests pass with the
baseline compiler.  Porting of the opt compiler to 64 bit PowerPC is
an open work item; contributions welcome!

**Startup time slashed
The startup time for Jikes RVM to run a simple "Hello World" program
on Linux/x86 went down by a factor of 8.  This is because we now use
mmap()'s copy-on-write feature, instead of reading all 30 MB of boot
image into an area mmap()'d with MAP_ANONYMOUS.
(There is a long comment in src/tools/bootImageRunner/IA32/libvm.C
describing this; search for the preprocessor condition #ifdef
MMAP_COPY_ON_WRITE).  If this creates problems, disable them by
#undefining MMAP_COPY_ON_WRITE in libvm.C.

This change should be ported to PowerPC Linux by someone who runs that
platform.  (Please remove this paragraph if you do so.)

**Jikes RVM installable as a production runtime environment
You can install Jikes RVM on your system as a production runtime
environment for Java.  Once you've built Jikes RVM, cd to
src/tools/install and read the file README to find out how to
install a Jikes RVM executable as /usr/bin/rvm (or in some other
location of your choice).


**JNI 1.2 and 1.4 implemented
We have implemented all of the missing functions from JNI 1.2 and 1.4.
There are still aspects of the JNI implementation that can be
improved; volunteers welcome.

**MMTk
Improvements to write barrier implementation, cleanup to mechanisms
for specifying alignment constraints in allocation code, and
refactoring of reference processing (java.lang.ref.*).

*Other notes:

**Compiler DNA updated -- x86 adaptive system now uses Opt level O2 
sometimes.
The compiler DNA (the precomputed cost & benefit of using various
compiler/optimization levels) has been updated.  Due to improvements
over the past 10 months, the optimizing compiler's level 2 is now
better than level 1, on average, on both platforms.  (Previously,
this was not the case on IA32.)  The result is that the adaptive
system may now choose to use Opt level 2 on some methods because
its model can now determine that it will sometimes be beneficial
to do so.

*Bug Fixes:
** Calls to the JNI function pair
GetPrimitiveArrayCritical/ReleasePrimitiveArrayCritical can now be nested.
** Fixed a bug in the GC map iterator code (both platforms) that was 
returning
references multiple times in dynamic linking frames.
** Fixed a bug in the GC map iterator code on PPC that was failing to 
return
spilled parameters in dynamic linking frames.

--=_alternative 005701CF85256EDF_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=3>Jikes RVM 2.3.3 is now available from the developerworks
web site (</font><a href="http://www-124.ibm.com/developerworks/oss/jikesrvm/" target=_blank><font size=3 color=blue><u>http://www-124.ibm.com/developerworks/oss/jikesrvm/</u></font></a><font size=3>).
<br>
<br>
The release notes are appended below. </font>
<br>
<br><font size=2 face="Arial">-*-outline-*-<br>
These are release notes for Jikes RVM release 2.3.3.<br>
<br>
*Sections of this document:<br>
 *Highlights<br>
 *Other Notes<br>
 *Bug Fixes<br>
<br>
*Highlights of this release include:<br>
<br>
**GNU Classpath 0.10<br>
Jikes RVM now uses GNU Classpath version 0.10 on all platforms. &nbsp;Jikes<br>
RVM 2.3.3 should work with classpath version 0.08, 0.09 or 0.10.<br>
However, we recommend that users switch to classpath 0.10, to get the<br>
new features and because we run our nightly regression tests against<br>
Classpath 0.10.<br>
<br>
(If hand-building GNU Classpath 0.10 or 0.09 on AIX, follow the<br>
directions in rvm/doc/classpath-0.10-on-AIX.txt)<br>
<br>
**GCspy garbage collection visualization tool<br>
<br>
Jikes RVM now includes support for the GCspy tool for visualizing the<br>
garbage collector's behaviour. &nbsp;Many thanks to Richard Jones of the<br>
University of Kent for this contribution. &nbsp;(This item should have
been<br>
included in the 2.3.2 release notes, but was inadvertently omitted.)<br>
Documentation is in the user's guide.<br>
<br>
**PowerPC/Linux/64 support with baseline compiler<br>
Jikes RVM now runs on 64-bit PowerPC Linux to the same extent as it<br>
does on 64-bit PowerPC AIX. &nbsp;All regression tests pass with the<br>
baseline compiler. &nbsp;Porting of the opt compiler to 64 bit PowerPC
is<br>
an open work item; contributions welcome!<br>
<br>
**Startup time slashed<br>
The startup time for Jikes RVM to run a simple &quot;Hello World&quot;
program<br>
on Linux/x86 went down by a factor of 8. &nbsp;This is because we now use<br>
mmap()'s copy-on-write feature, instead of reading all 30 MB of boot<br>
image into an area mmap()'d with MAP_ANONYMOUS.<br>
(There is a long comment in src/tools/bootImageRunner/IA32/libvm.C<br>
describing this; search for the preprocessor condition #ifdef<br>
MMAP_COPY_ON_WRITE). &nbsp;If this creates problems, disable them by<br>
#undefining MMAP_COPY_ON_WRITE in libvm.C.<br>
<br>
This change should be ported to PowerPC Linux by someone who runs that<br>
platform. &nbsp;(Please remove this paragraph if you do so.)<br>
<br>
**Jikes RVM installable as a production runtime environment<br>
You can install Jikes RVM on your system as a production runtime<br>
environment for Java. &nbsp;Once you've built Jikes RVM, cd to<br>
src/tools/install and read the file README to find out how to<br>
install a Jikes RVM executable as /usr/bin/rvm (or in some other<br>
location of your choice).<br>
<br>
<br>
**JNI 1.2 and 1.4 implemented<br>
We have implemented all of the missing functions from JNI 1.2 and 1.4.<br>
There are still aspects of the JNI implementation that can be<br>
improved; volunteers welcome.<br>
<br>
**MMTk<br>
Improvements to write barrier implementation, cleanup to mechanisms<br>
for specifying alignment constraints in allocation code, and<br>
refactoring of reference processing (java.lang.ref.*).<br>
<br>
*Other notes:<br>
<br>
**Compiler DNA updated -- x86 adaptive system now uses Opt level O2 sometimes.<br>
The compiler DNA (the precomputed cost &amp; benefit of using various<br>
compiler/optimization levels) has been updated. &nbsp;Due to improvements<br>
over the past 10 months, the optimizing compiler's level 2 is now<br>
better than level 1, on average, on both platforms. &nbsp;(Previously,<br>
this was not the case on IA32.) &nbsp;The result is that the adaptive<br>
system may now choose to use Opt level 2 on some methods because<br>
its model can now determine that it will sometimes be beneficial<br>
to do so.<br>
<br>
*Bug Fixes:<br>
** Calls to the JNI function pair<br>
GetPrimitiveArrayCritical/ReleasePrimitiveArrayCritical can now be nested.<br>
** Fixed a bug in the GC map iterator code (both platforms) that was returning<br>
references multiple times in dynamic linking frames.<br>
** Fixed a bug in the GC map iterator code on PPC that was failing to return<br>
spilled parameters in dynamic linking frames.</font>
<br>
--=_alternative 005701CF85256EDF_=--



From MAILER-DAEMON Wed Jul 28 12:08:59 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BpqzD-0005LC-J5
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 12:08:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BpqzB-0005JV-SF
	for classpath@gnu.org; Wed, 28 Jul 2004 12:08:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bpqz5-0005C6-UN
	for classpath@gnu.org; Wed, 28 Jul 2004 12:08:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bpqz5-0005C3-S4
	for classpath@gnu.org; Wed, 28 Jul 2004 12:08:51 -0400
Received: from [207.189.223.52] (helo=email3.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bpqva-0006xB-1X
	for classpath@gnu.org; Wed, 28 Jul 2004 12:05:14 -0400
Received: (qmail 3811 invoked by uid 513); 28 Jul 2004 16:11:47 -0000
Received: from tromey@redhat.com by email3 by uid 504 with qmail-scanner-1.20 
	(clamscan: 0.65.  Clear:RC:1(207.189.214.58):. 
	Processed in 0.021694 secs); 28 Jul 2004 16:11:47 -0000
Received: from 58-214-189-207.dyn.peakpeak.com (HELO fleche.redhat.com)
	([207.189.214.58]) (envelope-sender <tromey@redhat.com>)
	by email3.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 28 Jul 2004 16:11:47 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 92C694F8059; Wed, 28 Jul 2004 09:49:40 -0600 (MDT)
To: GNU Classpath Project <classpath@gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 28 Jul 2004 09:49:40 -0600
Message-ID: <87zn5kb08b.fsf@fleche.redhat.com>
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
Subject: building without gtk
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, 28 Jul 2004 16:08:58 -0000

I'm running my nightly builds on RHL 9, which has an older gtk.  I
get:

checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 libart-2.0... Requested 'gtk+-2.0 >= 2.4' but version of GTK+ is 2.2.1
                                                                                
configure: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 libart-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.



However, I don't configure with --enable-gtk-peer.  So, I think this
is a bug.

Tom



From MAILER-DAEMON Wed Jul 28 12:24:53 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BprEb-0008Ko-Mr
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 12:24:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BprEa-0008KM-UU
	for classpath@gnu.org; Wed, 28 Jul 2004 12:24:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BprEZ-0008K7-1y
	for classpath@gnu.org; Wed, 28 Jul 2004 12:24:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BprEY-0008K4-WC
	for classpath@gnu.org; Wed, 28 Jul 2004 12:24:51 -0400
Received: from [212.6.122.105] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BprBK-00037z-6I
	for classpath@gnu.org; Wed, 28 Jul 2004 12:21:30 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-073.ewetel.net
	[80.228.94.73])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id i6SGLL6A000046;
	Wed, 28 Jul 2004 18:21:21 +0200 (MEST)
Received: from miraculix.konqueror.de ([192.168.1.1])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BprJ5-0005XO-00; Wed, 28 Jul 2004 18:29:32 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org, tromey@redhat.com
Date: Wed, 28 Jul 2004 18:21:40 +0200
User-Agent: KMail/1.6.2
References: <87zn5kb08b.fsf@fleche.redhat.com>
In-Reply-To: <87zn5kb08b.fsf@fleche.redhat.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200407281821.40572.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: building without gtk
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 28 Jul 2004 16:24:53 -0000

Am Mittwoch, 28. Juli 2004 17:49 schrieb Tom Tromey:
> I'm running my nightly builds on RHL 9, which has an older gtk.  I
> get:
>
> checking for pkg-config... /usr/bin/pkg-config
> checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 libart-2.0...
> Requested 'gtk+-2.0 >= 2.4' but version of GTK+ is 2.2.1
>
> configure: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0
> >= 2.2 libart-2.0) not met; consider adjusting the PKG_CONFIG_PATH
> environment variable if your libraries are in a nonstandard prefix
> so pkg-config can find them.
>
>
>
> However, I don't configure with --enable-gtk-peer.  So, I think
> this is a bug.

Yes, I noticed this too. I have a solution for this here but I want my 
speedup patch to be in first.


Michael



From MAILER-DAEMON Wed Jul 28 14:54:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BptZ5-0000YR-EJ
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 14:54:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BptZ3-0000YE-Gn
	for classpath@gnu.org; Wed, 28 Jul 2004 14:54:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BptZ1-0000Xx-OV
	for classpath@gnu.org; Wed, 28 Jul 2004 14:54:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BptZ1-0000Xn-Ke
	for classpath@gnu.org; Wed, 28 Jul 2004 14:54:07 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BptVi-0007og-Ul
	for classpath@gnu.org; Wed, 28 Jul 2004 14:50:43 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BptV8-00031Y-00; Wed, 28 Jul 2004 20:50:06 +0200
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <87zn5kb08b.fsf@fleche.redhat.com>
References: <87zn5kb08b.fsf@fleche.redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-B5T0vEd7tDd3S010qGAp"
Message-Id: <1091040594.28981.14.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 28 Jul 2004 20:49:54 +0200
Cc: GNU Classpath Project <classpath@gnu.org>
Subject: Re: building without gtk
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 28 Jul 2004 18:54:09 -0000


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

Hi,

On Wed, 2004-07-28 at 17:49, Tom Tromey wrote:
> I'm running my nightly builds on RHL 9, which has an older gtk.  I
> get:
>=20
> checking for pkg-config... /usr/bin/pkg-config
> checking for gtk+-2.0 >=3D 2.4 gthread-2.0 >=3D 2.2 libart-2.0... Request=
ed 'gtk+-2.0 >=3D 2.4' but version of GTK+ is 2.2.1
>                                                                          =
      =20
> configure: error: Library requirements (gtk+-2.0 >=3D 2.4 gthread-2.0 >=
=3D 2.2 libart-2.0) not met; consider adjusting the PKG_CONFIG_PATH environ=
ment variable if your libraries are in a nonstandard prefix so pkg-config c=
an find them.
>
> However, I don't configure with --enable-gtk-peer.  So, I think this
> is a bug.

No --enable-gtk-peer has been the default since a long time. People
don't want a broken AWT by default. If you really cannot update your
gtk+ installation you will have to configure with --disable-gtk-peer.

Maybe the above error message can be improved to mention this?

Cheers,

Mark

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

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

iD8DBQBBB/VSxVhZCJWr9QwRAvxUAJ9X3y/5+TeWOU0e0iYVnIGzkxWCgwCfSoKm
ZFypTIgJ87ym1kbl/9dmQyA=
=DImx
-----END PGP SIGNATURE-----

--=-B5T0vEd7tDd3S010qGAp--




From MAILER-DAEMON Wed Jul 28 14:58:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bptd1-0001YC-CP
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 14:58:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bptcz-0001Xu-Uo
	for classpath@gnu.org; Wed, 28 Jul 2004 14:58:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bptcy-0001Xi-Fy
	for classpath@gnu.org; Wed, 28 Jul 2004 14:58:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bptcy-0001Xf-C0
	for classpath@gnu.org; Wed, 28 Jul 2004 14:58:12 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BptZ8-0008F4-4a
	for classpath@gnu.org; Wed, 28 Jul 2004 14:54:14 -0400
Received: (qmail 17767 invoked by uid 65534); 28 Jul 2004 18:53:52 -0000
Received: from pD9E4F448.dip.t-dialin.net (EHLO mainpc) (217.228.244.72)
	by mail.gmx.net (mp018) with SMTP; 28 Jul 2004 20:53:52 +0200
X-Authenticated: #22289156
Message-ID: <001201c474d4$3931f2c0$0100a8c0@mainpc>
From: "Valentin Chira" <vchira@gmx.de>
To: <classpath@gnu.org>
References: <200407281440.i6SEekxw025316@piglet.dstc.edu.au>
Date: Wed, 28 Jul 2004 20:53:51 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Subject: (no subject)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 28 Jul 2004 18:58:14 -0000

Hi guys, I wanna try to port a Java VM to BeOS R5 but I have problem finding
a VM that is full featured and easy to port. Can you help me with an advice?

regards,
 Valentin




From MAILER-DAEMON Wed Jul 28 15:07:59 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BptmQ-0003N8-V6
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 15:07:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BptmP-0003Kg-4a
	for classpath@gnu.org; Wed, 28 Jul 2004 15:07:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BptmN-0003IA-2Q
	for classpath@gnu.org; Wed, 28 Jul 2004 15:07:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BptmM-0003I4-VI
	for classpath@gnu.org; Wed, 28 Jul 2004 15:07:55 -0400
Received: from [212.6.122.115] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bptiw-0001Dq-Pc
	for classpath@gnu.org; Wed, 28 Jul 2004 15:04:23 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-073.ewetel.net
	[80.228.94.73])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id i6SJ4Bm7004180;
	Wed, 28 Jul 2004 21:04:11 +0200 (MEST)
Received: from miraculix.konqueror.de ([192.168.1.1])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1Bptqg-0005vR-00; Wed, 28 Jul 2004 21:12:22 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Wed, 28 Jul 2004 21:04:30 +0200
User-Agent: KMail/1.6.2
References: <87zn5kb08b.fsf@fleche.redhat.com>
	<1091040594.28981.14.camel@localhost>
In-Reply-To: <1091040594.28981.14.camel@localhost>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200407282104.30462.konqueror@gmx.de>
X-CheckCompat: OK
Cc: tromey@redhat.com, Mark Wielaard <mark@klomp.org>
Subject: Re: building without gtk
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 28 Jul 2004 19:07:57 -0000

Am Mittwoch, 28. Juli 2004 20:49 schrieb Mark Wielaard:
> Hi,
>
> On Wed, 2004-07-28 at 17:49, Tom Tromey wrote:
> > I'm running my nightly builds on RHL 9, which has an older gtk. 
> > I get:
> >
> > checking for pkg-config... /usr/bin/pkg-config
> > checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 libart-2.0...
> > Requested 'gtk+-2.0 >= 2.4' but version of GTK+ is 2.2.1
> >
> > configure: error: Library requirements (gtk+-2.0 >= 2.4
> > gthread-2.0 >= 2.2 libart-2.0) not met; consider adjusting the
> > PKG_CONFIG_PATH environment variable if your libraries are in a
> > nonstandard prefix so pkg-config can find them.
> >
> > However, I don't configure with --enable-gtk-peer.  So, I think
> > this is a bug.
>
> No --enable-gtk-peer has been the default since a long time. People
> don't want a broken AWT by default. If you really cannot update
> your gtk+ installation you will have to configure with
> --disable-gtk-peer.
>
> Maybe the above error message can be improved to mention this?

Are you sure ? configure.ac looks to me as its enabled by default.


Michael



From MAILER-DAEMON Wed Jul 28 15:13:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BptrK-0004cP-H9
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 15:13:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BptrI-0004bU-6G
	for classpath@gnu.org; Wed, 28 Jul 2004 15:13:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BptrH-0004aq-JS
	for classpath@gnu.org; Wed, 28 Jul 2004 15:12:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BptrH-0004al-Gv
	for classpath@gnu.org; Wed, 28 Jul 2004 15:12:59 -0400
Received: from [207.189.223.52] (helo=email3.peakpeak.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1Bptne-0001uf-Mm
	for classpath@gnu.org; Wed, 28 Jul 2004 15:09:14 -0400
Received: (qmail 32141 invoked by uid 513); 28 Jul 2004 19:15:52 -0000
Received: from tromey@redhat.com by email3 by uid 504 with qmail-scanner-1.20 
	(clamscan: 0.65.  Clear:RC:1(207.189.214.58):. 
	Processed in 0.022549 secs); 28 Jul 2004 19:15:52 -0000
Received: from 58-214-189-207.dyn.peakpeak.com (HELO fleche.redhat.com)
	([207.189.214.58]) (envelope-sender <tromey@redhat.com>)
	by email3.peakpeak.com (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 28 Jul 2004 19:15:52 -0000
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 1799C4F8059; Wed, 28 Jul 2004 12:53:40 -0600 (MDT)
To: Mark Wielaard <mark@klomp.org>
References: <87zn5kb08b.fsf@fleche.redhat.com>
	<1091040594.28981.14.camel@localhost>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 28 Jul 2004 12:53:40 -0600
In-Reply-To: <1091040594.28981.14.camel@localhost>
Message-ID: <873c3carpn.fsf@fleche.redhat.com>
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: GNU Classpath Project <classpath@gnu.org>
Subject: Re: building without gtk
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, 28 Jul 2004 19:13:00 -0000

Mark> No --enable-gtk-peer has been the default since a long time. People
Mark> don't want a broken AWT by default. If you really cannot update your
Mark> gtk+ installation you will have to configure with --disable-gtk-peer.

Oops, sorry.

Mark> Maybe the above error message can be improved to mention this?

Yes, it is traditional (and useful) for the help message to mention
the non-default argument.  So in this case it would be
`--disable-gtk-peer'.  I looked at this before sending email; should
have looked at the source I suppose.

Tom



From MAILER-DAEMON Wed Jul 28 15:18:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BptwF-0005Kj-Hm
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 15:18:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BptwD-0005Kd-AE
	for classpath@gnu.org; Wed, 28 Jul 2004 15:18:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BptwB-0005KR-Lg
	for classpath@gnu.org; Wed, 28 Jul 2004 15:18:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BptwB-0005KO-J9
	for classpath@gnu.org; Wed, 28 Jul 2004 15:18:03 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bptsu-0002cj-CG
	for classpath@gnu.org; Wed, 28 Jul 2004 15:14:40 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BptsA-00038P-00; Wed, 28 Jul 2004 21:13:54 +0200
From: Mark Wielaard <mark@klomp.org>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200407282104.30462.konqueror@gmx.de>
References: <87zn5kb08b.fsf@fleche.redhat.com>
	<1091040594.28981.14.camel@localhost>
	<200407282104.30462.konqueror@gmx.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-i0UcKYJZTreyMY/5qfWv"
Message-Id: <1091042022.28981.17.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 28 Jul 2004 21:13:42 +0200
Cc: tromey@redhat.com, classpath@gnu.org
Subject: Re: building without gtk
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 28 Jul 2004 19:18:05 -0000


--=-i0UcKYJZTreyMY/5qfWv
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Wed, 2004-07-28 at 21:04, Michael Koch wrote:
> Am Mittwoch, 28. Juli 2004 20:49 schrieb Mark Wielaard:
> > No --enable-gtk-peer has been the default since a long time. People
> > don't want a broken AWT by default. If you really cannot update
> > your gtk+ installation you will have to configure with
> > --disable-gtk-peer.
> >
> > Maybe the above error message can be improved to mention this?
>=20
> Are you sure ? configure.ac looks to me as its enabled by default.

Yes, I am sure --enable-gtk-peer is enabled by default.
You will have to give --disable-gtk-peer to disable AWT gtk+ peers.
What part of configure.ac are you looking at?

Cheers,

Mark

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

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

iD8DBQBBB/rmxVhZCJWr9QwRAnsqAKCRaIjyYi45Uwb3Uwbka0r8ubQdYACfR2aT
vPa3fqR20Et9bcXy0hHkYOU=
=Z0Gr
-----END PGP SIGNATURE-----

--=-i0UcKYJZTreyMY/5qfWv--




From MAILER-DAEMON Wed Jul 28 15:19:25 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BptxV-0005aX-5f
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 15:19:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BptxT-0005aM-M2
	for classpath@gnu.org; Wed, 28 Jul 2004 15:19:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BptxS-0005a1-0r
	for classpath@gnu.org; Wed, 28 Jul 2004 15:19:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BptxR-0005Zr-T7
	for classpath@gnu.org; Wed, 28 Jul 2004 15:19:21 -0400
Received: from [209.225.28.213] (helo=mxsf13.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BpttN-0002hL-VN
	for classpath@gnu.org; Wed, 28 Jul 2004 15:15:10 -0400
Received: from mxip20.cluster1.charter.net (mxip20a.cluster1.charter.net
	[209.225.28.150])
	by mxsf13.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	i6SJF3hV017634
	for <classpath@gnu.org>; Wed, 28 Jul 2004 15:15:04 -0400
Received: from cable-24-196-25-11.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (24.196.25.11)
	by mxip20.cluster1.charter.net with ESMTP; 28 Jul 2004 15:15:04 -0400
X-Ironport-AV: i="3.83,94,1089000000"; d="scan'208"; a="76719817:sNHT12267116"
Received: from arch20m.dellroad.org ([10.104.180.64])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id OAA49397;
	Wed, 28 Jul 2004 14:09:16 -0500 (CDT)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id i6SJ9Cq1013670; 
	Wed, 28 Jul 2004 14:09:13 -0500 (CDT)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i6SJ9B41013669;
	Wed, 28 Jul 2004 14:09:11 -0500 (CDT) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200407281909.i6SJ9B41013669@arch20m.dellroad.org>
In-Reply-To: <001201c474d4$3931f2c0$0100a8c0@mainpc>
To: Valentin Chira <vchira@gmx.de>
Date: Wed, 28 Jul 2004 14:09:10 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: (no subject)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 28 Jul 2004 19:19:23 -0000

Valentin Chira wrote:
> Hi guys, I wanna try to port a Java VM to BeOS R5 but I have problem finding
> a VM that is full featured and easy to port. Can you help me with an advice?

Aside from any architecture-specific stuff (e.g., compare-and-swap
implementation) what are the differences between BeOS and UNIX?
E.g., do you have signals? mmap? use gcc compiler? ELF binaries? Etc.

-Archie

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



From MAILER-DAEMON Wed Jul 28 15:22:04 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bpu04-0005z6-Ox
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 15:22:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bpu02-0005ym-Kg
	for classpath@gnu.org; Wed, 28 Jul 2004 15:22:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bpu01-0005yS-Tg
	for classpath@gnu.org; Wed, 28 Jul 2004 15:22:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bpu01-0005yB-OA
	for classpath@gnu.org; Wed, 28 Jul 2004 15:22:01 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BptwI-00037a-8U
	for classpath@gnu.org; Wed, 28 Jul 2004 15:18:10 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1Bptvi-000399-00; Wed, 28 Jul 2004 21:17:34 +0200
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <873c3carpn.fsf@fleche.redhat.com>
References: <87zn5kb08b.fsf@fleche.redhat.com>
	<1091040594.28981.14.camel@localhost>
	<873c3carpn.fsf@fleche.redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-CbBuhY/Ff1DrmIwU6v9f"
Message-Id: <1091042242.28981.20.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 28 Jul 2004 21:17:22 +0200
Cc: GNU Classpath Project <classpath@gnu.org>
Subject: Re: building without gtk
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 28 Jul 2004 19:22:02 -0000


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

Hi,

On Wed, 2004-07-28 at 20:53, Tom Tromey wrote:
> Yes, it is traditional (and useful) for the help message to mention
> the non-default argument.  So in this case it would be
> `--disable-gtk-peer'.  I looked at this before sending email; should
> have looked at the source I suppose.

Could you provide a patch for this behavior?

Thanks,

Mark

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

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

iD8DBQBBB/vCxVhZCJWr9QwRApMnAKCUMisgyS2D4yfL+uaJTZqaSQElvgCeLg5/
gw0bDVUFs4BKI6JHfAAPmt4=
=1UNm
-----END PGP SIGNATURE-----

--=-CbBuhY/Ff1DrmIwU6v9f--




From MAILER-DAEMON Wed Jul 28 15:24:00 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bpu1w-0006JH-GD
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 15:24:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bpu1v-0006Ig-3F
	for classpath@gnu.org; Wed, 28 Jul 2004 15:23:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bpu1r-0006G5-Ab
	for classpath@gnu.org; Wed, 28 Jul 2004 15:23:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bpu1r-0006Fj-8W
	for classpath@gnu.org; Wed, 28 Jul 2004 15:23:55 -0400
Received: from [209.226.175.93] (helo=tomts36-srv.bellnexxia.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BptyL-0003Un-NB
	for classpath@gnu.org; Wed, 28 Jul 2004 15:20:17 -0400
Received: from [192.168.2.40] ([65.94.19.248]) by tomts36-srv.bellnexxia.net
	(InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP
	id <20040728192015.IJKM4787.tomts36-srv.bellnexxia.net@[192.168.2.40]>
	for <classpath@gnu.org>; Wed, 28 Jul 2004 15:20:15 -0400
Message-ID: <4107FD74.3030901@mail.mcgill.ca>
Date: Wed, 28 Jul 2004 15:24:36 -0400
From: Chris Pickett <chris.pickett@mail.mcgill.ca>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040509)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
References: <200407281440.i6SEekxw025316@piglet.dstc.edu.au>
	<001201c474d4$3931f2c0$0100a8c0@mainpc>
In-Reply-To: <001201c474d4$3931f2c0$0100a8c0@mainpc>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: (no subject)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 28 Jul 2004 19:23:59 -0000

Valentin Chira wrote:
> Hi guys, I wanna try to port a Java VM to BeOS R5 but I have problem finding
> a VM that is full featured and easy to port. Can you help me with an advice?

Hi Valentin,

Try SableVM, it's highly portable if POSIX libraries are available.

http://www.sablevm.org

You can probably get help on our #sablevm IRC channel as well.

Cheers,
Chris



From MAILER-DAEMON Wed Jul 28 15:35:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BpuD6-0001Dr-5k
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 15:35:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BpuD3-0001Cr-2o
	for classpath@gnu.org; Wed, 28 Jul 2004 15:35:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BpuD1-0001CQ-5V
	for classpath@gnu.org; Wed, 28 Jul 2004 15:35:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BpuD1-0001CN-1o
	for classpath@gnu.org; Wed, 28 Jul 2004 15:35:27 -0400
Received: from [212.6.122.135] (helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bpu9h-0005A0-1O
	for classpath@gnu.org; Wed, 28 Jul 2004 15:32:01 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-073.ewetel.net
	[80.228.94.73])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id i6SJVl8Z011032;
	Wed, 28 Jul 2004 21:31:48 +0200 (MEST)
Received: from miraculix.konqueror.de ([192.168.1.1])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BpuHP-0005xH-00; Wed, 28 Jul 2004 21:39:59 +0200
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>
Date: Wed, 28 Jul 2004 21:32:07 +0200
User-Agent: KMail/1.6.2
References: <87zn5kb08b.fsf@fleche.redhat.com>
	<200407282104.30462.konqueror@gmx.de>
	<1091042022.28981.17.camel@localhost>
In-Reply-To: <1091042022.28981.17.camel@localhost>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200407282132.07137.konqueror@gmx.de>
X-CheckCompat: OK
Cc: tromey@redhat.com, classpath@gnu.org
Subject: Re: building without gtk
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 28 Jul 2004 19:35:29 -0000

Am Mittwoch, 28. Juli 2004 21:13 schrieb Mark Wielaard:
> Hi,
>
> On Wed, 2004-07-28 at 21:04, Michael Koch wrote:
> > Am Mittwoch, 28. Juli 2004 20:49 schrieb Mark Wielaard:
> > > No --enable-gtk-peer has been the default since a long time.
> > > People don't want a broken AWT by default. If you really cannot
> > > update your gtk+ installation you will have to configure with
> > > --disable-gtk-peer.
> > >
> > > Maybe the above error message can be improved to mention this?
> >
> > Are you sure ? configure.ac looks to me as its enabled by
> > default.
>
> Yes, I am sure --enable-gtk-peer is enabled by default.
> You will have to give --disable-gtk-peer to disable AWT gtk+ peers.
> What part of configure.ac are you looking at?

I misread your comment, sorry. I think we should make it enabled by 
default if gtk+ gets found, and disable otherwise. We will still be 
able to disable it. That's not hard to do.


Michael



From MAILER-DAEMON Wed Jul 28 15:44:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BpuLn-00032J-Ui
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 15:44:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BpuLl-00032D-So
	for classpath@gnu.org; Wed, 28 Jul 2004 15:44:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BpuLk-000321-E8
	for classpath@gnu.org; Wed, 28 Jul 2004 15:44:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BpuLj-00031y-2f
	for classpath@gnu.org; Wed, 28 Jul 2004 15:44:28 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BpuIO-0006Kb-UD
	for classpath@gnu.org; Wed, 28 Jul 2004 15:41:01 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BpuHt-0003BD-00; Wed, 28 Jul 2004 21:40:29 +0200
From: Mark Wielaard <mark@klomp.org>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200407282132.07137.konqueror@gmx.de>
References: <87zn5kb08b.fsf@fleche.redhat.com>
	<200407282104.30462.konqueror@gmx.de>
	<1091042022.28981.17.camel@localhost>
	<200407282132.07137.konqueror@gmx.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-JpDZ91WlwVa5E8IlawmH"
Message-Id: <1091043617.28981.41.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 28 Jul 2004 21:40:17 +0200
Cc: tromey@redhat.com, classpath@gnu.org
Subject: Re: building without gtk
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 28 Jul 2004 19:44:30 -0000


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

Hi,

On Wed, 2004-07-28 at 21:32, Michael Koch wrote:
> I think we should make it enabled by=20
> default if gtk+ gets found, and disable otherwise. We will still be=20
> able to disable it. That's not hard to do.

No, we should not silently give the user a crippled AWT. Disabling it
should be an active choice by the user if they really want it. I have
seen the pain that silently disabling support (like java.math in kaffe)
can give if you think you have a fully functional product but when you
run some more tests it suddenly starts to mysteriously break down, just
because configure couldn't find the installation dir of some needed
library.

Cheers,

Mark

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

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

iD8DBQBBCAEgxVhZCJWr9QwRAmgGAJ0WfJ/H1JzFQLYHOGEGjcgzltzoLwCgq3Fk
i1pmXB9HSw1xMUV2ExS9efU=
=0KRu
-----END PGP SIGNATURE-----

--=-JpDZ91WlwVa5E8IlawmH--




From MAILER-DAEMON Wed Jul 28 16:13:42 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bpuo2-0000vE-Gi
	for mharc-classpath@gnu.org; Wed, 28 Jul 2004 16:13:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bpuo1-0000up-6m
	for classpath@gnu.org; Wed, 28 Jul 2004 16:13:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bpunz-0000uN-Il
	for classpath@gnu.org; Wed, 28 Jul 2004 16:13:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bpunz-0000uK-F6
	for classpath@gnu.org; Wed, 28 Jul 2004 16:13:39 -0400
Received: from [212.6.122.28] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BpukK-0001hS-3R
	for classpath@gnu.org; Wed, 28 Jul 2004 16:09:52 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-073.ewetel.net
	[80.228.94.73])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i6SK8VMv004885;
	Wed, 28 Jul 2004 22:08:31 +0200 (MEST)
Received: from miraculix.konqueror.de ([192.168.1.1])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1Bpuqw-00066C-00; Wed, 28 Jul 2004 22:16:42 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Wed, 28 Jul 2004 22:08:50 +0200
User-Agent: KMail/1.6.2
References: <9482F77C-E015-11D8-8EF4-000D934FF4B2@bluezoo.org>
In-Reply-To: <9482F77C-E015-11D8-8EF4-000D934FF4B2@bluezoo.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200407282208.50682.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: libtool question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jul 2004 20:13:41 -0000

Am Dienstag, 27. Juli 2004 23:40 schrieb Chris Burdess:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I need a bit of help fixing the JNI build for gnujaxp, perhaps
> someone familiar with libtool could comment:
>
> All goes well until the link step. Then, under Darwin, I'm issuing
> the following:
>
> /bin/sh ./libtool --mode=link gcc -shared -rpath /usr/local/lib
> - -release 0.99 -export-dynamic -D_JNI_IMPLEMENTATION_
> -L/usr/local/lib - -lxslt -lxml2 -lz -lpthread -liconv -lm -shrext
> .jnilib -o libxmlj.la xmlj_dom.lo  xmlj_error.lo  xmlj_io.lo 
> xmlj_node.lo  xmlj_sax.lo xmlj_transform.lo  xmlj_util.lo 
> xmlj_xpath.lo
>
> libtool converts this to
>
> gcc -dynamiclib  -flat_namespace -undefined suppress -o
> .libs/libxmlj-0.99.jnilib  .libs/xmlj_dom.o .libs/xmlj_error.o
> .libs/xmlj_io.o .libs/xmlj_node.o .libs/xmlj_sax.o
> .libs/xmlj_transform.o .libs/xmlj_util.o .libs/xmlj_xpath.o
> - -L/usr/local/lib /usr/local/lib/libxslt.dylib /usr/lib/libm.dylib
> /usr/local/lib/libxml2.dylib /usr/lib/libpthread.dylib
> /usr/lib/libz.dylib -lz -lpthread /usr/lib/libiconv.dylib -lm
> - -install_name  /usr/local/lib/libxmlj-0.99.jnilib
>
> Problem is, this is wrong, and results in an unlinkable shared
> object. How do I get libtool to leave the -l arguments alone?

What do you mean by "unlinkable" ? Any error message at hand ?


Michael



From MAILER-DAEMON Thu Jul 29 04:20:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bq695-0003Ml-8G
	for mharc-classpath@gnu.org; Thu, 29 Jul 2004 04:20:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bq692-0003Kv-Vl
	for classpath@gnu.org; Thu, 29 Jul 2004 04:20:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bq691-0003K5-Kv
	for classpath@gnu.org; Thu, 29 Jul 2004 04:20:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bq691-0003Jl-Bf
	for classpath@gnu.org; Thu, 29 Jul 2004 04:20:07 -0400
Received: from [212.42.171.92] (helo=bluezoo.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bq65W-00061F-Lh
	for classpath@gnu.org; Thu, 29 Jul 2004 04:16:30 -0400
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by bluezoo.org (Postfix) with ESMTP id 8D7B1DAAFB;
	Thu, 29 Jul 2004 09:16:28 +0100 (BST)
In-Reply-To: <200407282208.50682.konqueror@gmx.de>
References: <9482F77C-E015-11D8-8EF4-000D934FF4B2@bluezoo.org>
	<200407282208.50682.konqueror@gmx.de>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <96CF9F30-E137-11D8-9545-000D934FF4B2@bluezoo.org>
Content-Transfer-Encoding: 7bit
From: Chris Burdess <dog@bluezoo.org>
Date: Thu, 29 Jul 2004 09:16:27 +0100
To: Michael Koch <konqueror@gmx.de>
X-Pgp-Agent: GPGMail 1.0.1 (v33, 10.3)
X-Mailer: Apple Mail (2.618)
Cc: classpath@gnu.org
Subject: Re: libtool question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Jul 2004 08:20:09 -0000

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

Michael Koch wrote:
>> Problem is, this is wrong, and results in an unlinkable shared
>> object. How do I get libtool to leave the -l arguments alone?
>
> What do you mean by "unlinkable" ? Any error message at hand ?

It just results in a "Bus error" on the System.loadLibrary call.
- -- 
Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBCLJb6dl1DEqHgrgRAlqXAJ0YxvKZHEUOpoieMm6RHzySD2U35wCfee+Z
MOiEenxQ1vQmmZmxXrvCQVg=
=/gXP
-----END PGP SIGNATURE-----




From MAILER-DAEMON Thu Jul 29 07:27:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bq947-0006Hm-E7
	for mharc-classpath@gnu.org; Thu, 29 Jul 2004 07:27:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bq945-0006HU-Vi
	for classpath@gnu.org; Thu, 29 Jul 2004 07:27:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bq944-0006Gr-7M
	for classpath@gnu.org; Thu, 29 Jul 2004 07:27:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bq944-0006GX-2X
	for classpath@gnu.org; Thu, 29 Jul 2004 07:27:12 -0400
Received: from [139.19.1.2] (helo=francois.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bq90o-0005pS-HB
	for classpath@gnu.org; Thu, 29 Jul 2004 07:23:50 -0400
Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.35 #1
	(Debian)) id 1Bq90n-00079q-00
	for <classpath@gnu.org>; Thu, 29 Jul 2004 13:23:49 +0200
Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de)
	by francois.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1Bq90k-00079i-00; Thu, 29 Jul 2004 13:23:46 +0200
Received: from kaffe.org (topic@mpiat2304 [139.19.20.93])
	by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id i6TBNjdx002294;
	Thu, 29 Jul 2004 13:23:46 +0200 (MEST)
Message-ID: <4108DE41.3000906@kaffe.org>
Date: Thu, 29 Jul 2004 13:23:45 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Chris Pickett <chris.pickett@mail.mcgill.ca>
References: <200407281440.i6SEekxw025316@piglet.dstc.edu.au>	<001201c474d4$3931f2c0$0100a8c0@mainpc>
	<4107FD74.3030901@mail.mcgill.ca>
In-Reply-To: <4107FD74.3030901@mail.mcgill.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org
Subject: Re: (no subject)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 29 Jul 2004 11:27:14 -0000

Chris Pickett wrote:
> Valentin Chira wrote:
> 
>> Hi guys, I wanna try to port a Java VM to BeOS R5 but I have problem 
>> finding
>> a VM that is full featured and easy to port. Can you help me with an 
>> advice?
> 
> 
> Hi Valentin,
> 
> Try SableVM, it's highly portable if POSIX libraries are available.
> 
> http://www.sablevm.org
> 
> You can probably get help on our #sablevm IRC channel as well.

If you've got some time after porting SableVM, check out 
http://bekaffe.sourceforge.net/ and 
http://bekaffe.sourceforge.net/screen.html :) ...

As usual, with ports that are not in the Kaffe main tree, it would take 
a willing BeOS developer to merge things back into the main tree on 
Kaffe.org [1], but you get the idea.[2]

On a side note, which BeOS are we talking about? BeOS 4/5/Max/*? Zeta? 
OpenBeOS/Haiku? BlueEyed? There seem to be many, and I've got no real 
idea what the differences are :(

cheers,
dalibor topic

[1] Which is more-featured-then-bekaffe. :) As it has been already 
ported, it may not be a big deal to get it up and running. I've got some 
mails from BeKaffe developers that I could forward to you regarding 
their code layout and getting started, if you are interested.
[2] There is always some Kaffe port, almost anywhere you go. Comes with 
the age, just like the bit rot :)



From MAILER-DAEMON Thu Jul 29 10:34:28 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BqBzI-000631-Ot
	for mharc-classpath@gnu.org; Thu, 29 Jul 2004 10:34:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BqBzH-00062i-3b
	for classpath@gnu.org; Thu, 29 Jul 2004 10:34:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BqBzD-00062V-FP
	for classpath@gnu.org; Thu, 29 Jul 2004 10:34:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BqBzD-00062S-BY
	for classpath@gnu.org; Thu, 29 Jul 2004 10:34:23 -0400
Received: from [213.228.0.62] (helo=postfix4-1.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BqBvg-0002sy-4i
	for classpath@gnu.org; Thu, 29 Jul 2004 10:30:44 -0400
Received: from kaffe.org (unknown [81.56.169.129])
	by postfix4-1.free.fr (Postfix) with ESMTP id 7A51C16C5C8
	for <classpath@gnu.org>; Thu, 29 Jul 2004 16:30:42 +0200 (CEST)
Message-ID: <41090A12.2020807@kaffe.org>
Date: Thu, 29 Jul 2004 16:30:42 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: About locale data ... (again)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 29 Jul 2004 14:34:27 -0000

Hi all,

As we always need a good locale database for GNU Classpath, I was 
thinking of a way to get it. The ICU locale converter is only partially 
satisfying as it does not have any collation rules generator (at least). 
I've seen that www.openi18n.org[1][2] has begun a new standard file 
format to interchange locale data. It is purely written in XML form and 
looks well documented. On IBM[3], we can find the locale database 
waiting to be converted.

As it is written in XML it should be fairly simple to write a parser in 
Java for these data.
Once it is parsed, we can (I hope) all the same generate the Java 
classes/properties corresponding to our internal representation.

I may start soon (one/two weeks) to build the parser.

Is there someone against it ?

Cheers,

Guilhem.

[1] http://www.openi18n.org
[2] http://oss.software.ibm.com/cvs/icu/~checkout~/locale/ldml-spec.html
[3] http://oss.software.ibm.com/cvs/icu/locale/linux/main/#dirlist



From MAILER-DAEMON Thu Jul 29 15:15:14 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BqGN0-0006SB-I1
	for mharc-classpath@gnu.org; Thu, 29 Jul 2004 15:15:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BqGMy-0006Rq-Ti
	for classpath@gnu.org; Thu, 29 Jul 2004 15:15:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BqGMw-0006Qr-TH
	for classpath@gnu.org; Thu, 29 Jul 2004 15:15:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BqGMw-0006QP-O7
	for classpath@gnu.org; Thu, 29 Jul 2004 15:15:10 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BqGJE-0004QW-64
	for classpath@gnu.org; Thu, 29 Jul 2004 15:11:20 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6TJBJe1014831;
	Thu, 29 Jul 2004 15:11: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 i6TJBHa09570; 
	Thu, 29 Jul 2004 15:11:17 -0400
Received: from [172.16.14.67] (towel.toronto.redhat.com [172.16.14.67])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	i6TJBFXP024076; Thu, 29 Jul 2004 15:11:15 -0400
Message-ID: <41094BD3.2020300@redhat.com>
Date: Thu, 29 Jul 2004 15:11:15 -0400
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040626)
X-Accept-Language: en
MIME-Version: 1.0
To: Guilhem Lavaux <guilhem@kaffe.org>
References: <41090A12.2020807@kaffe.org>
In-Reply-To: <41090A12.2020807@kaffe.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: About locale data ... (again)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 29 Jul 2004 19:15:13 -0000

Guilhem Lavaux wrote:

> As we always need a good locale database for GNU Classpath, I was 
> thinking of a way to get it. The ICU locale converter is only 
> partially satisfying as it does not have any collation rules generator 
> (at least). I've seen that www.openi18n.org[1][2] has begun a new 
> standard file format to interchange locale data. It is purely written 
> in XML form and looks well documented. On IBM[3], we can find the 
> locale database waiting to be converted.
>
> As it is written in XML it should be fairly simple to write a parser 
> in Java for these data.
> Once it is parsed, we can (I hope) all the same generate the Java 
> classes/properties corresponding to our internal representation.
>
> I may start soon (one/two weeks) to build the parser.
>
> Is there someone against it ?


No, I think this is an excellent idea. Its something I've wanted for a 
long time too.

One issue to consider is whether the compiled locale data should be 
represented by properties files or java source files. Currently libgcj's 
locale date uses java files, but this has been a bit inefficient in 
terms of space used in the compiled .so. However, this overhead should 
be reduced with the BC-ABI, so if .class files are preferred for other 
VMs then I wouldn't be opposed to continue doing it this way.

Regards

Bryce




From MAILER-DAEMON Thu Jul 29 16:31:31 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BqHYo-0006OD-PF
	for mharc-classpath@gnu.org; Thu, 29 Jul 2004 16:31:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BqHYm-0006Ny-Vv
	for classpath@gnu.org; Thu, 29 Jul 2004 16:31:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BqHYl-0006Nm-BF
	for classpath@gnu.org; Thu, 29 Jul 2004 16:31:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BqHYl-0006Nj-6o
	for classpath@gnu.org; Thu, 29 Jul 2004 16:31:27 -0400
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BqHVC-0007n8-SN
	for classpath@gnu.org; Thu, 29 Jul 2004 16:27:47 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-93-230.ewetel.net
	[80.228.93.230])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id i6TKRD8D029206;
	Thu, 29 Jul 2004 22:27:14 +0200 (MEST)
Received: from miraculix.konqueror.de ([192.168.1.1])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BqHcf-0004Qv-00; Thu, 29 Jul 2004 22:35:29 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Thu, 29 Jul 2004 22:27:34 +0200
User-Agent: KMail/1.6.2
References: <9482F77C-E015-11D8-8EF4-000D934FF4B2@bluezoo.org>
	<200407282208.50682.konqueror@gmx.de>
	<96CF9F30-E137-11D8-9545-000D934FF4B2@bluezoo.org>
In-Reply-To: <96CF9F30-E137-11D8-9545-000D934FF4B2@bluezoo.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200407292227.34292.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: libtool question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Jul 2004 20:31:29 -0000

Am Donnerstag, 29. Juli 2004 10:16 schrieb Chris Burdess:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Michael Koch wrote:
> >> Problem is, this is wrong, and results in an unlinkable shared
> >> object. How do I get libtool to leave the -l arguments alone?
> >
> > What do you mean by "unlinkable" ? Any error message at hand ?

I asked a Darwin guru on #gcj and he said you are using a too old GCC 
or are linking against an old libgcc without signal support. Try gcc 
CVS HEAD and it should work.


Michael



From MAILER-DAEMON Fri Jul 30 03:54:17 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BqSDZ-00072y-3h
	for mharc-classpath@gnu.org; Fri, 30 Jul 2004 03:54:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BqSDW-0006zt-NX
	for classpath@gnu.org; Fri, 30 Jul 2004 03:54:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BqSDS-0006wX-KQ
	for classpath@gnu.org; Fri, 30 Jul 2004 03:54:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BqSDS-0006wT-Cf
	for classpath@gnu.org; Fri, 30 Jul 2004 03:54:10 -0400
Received: from [82.69.70.8] (helo=bluezoo.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BqS9r-0007nj-MC
	for classpath@gnu.org; Fri, 30 Jul 2004 03:50:27 -0400
Received: by bluezoo.org (Postfix, from userid 501)
	id C72CCE210E; Fri, 30 Jul 2004 08:50:27 +0100 (BST)
Date: Fri, 30 Jul 2004 08:50:27 +0100
From: Chris Burdess <dog@bluezoo.org>
To: Michael Koch <konqueror@gmx.de>
Message-ID: <20040730075026.GA23988@bluezoo.org>
References: <9482F77C-E015-11D8-8EF4-000D934FF4B2@bluezoo.org>
	<200407282208.50682.konqueror@gmx.de>
	<96CF9F30-E137-11D8-9545-000D934FF4B2@bluezoo.org>
	<200407292227.34292.konqueror@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200407292227.34292.konqueror@gmx.de>
User-Agent: Mutt/1.4i
Organization: the mireval massive
X-URL: http://bluezoo.org/
Cc: classpath@gnu.org
Subject: Re: libtool question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Jul 2004 07:54:15 -0000

Michael Koch wrote:
> > >> Problem is, this is wrong, and results in an unlinkable shared
> > >> object. How do I get libtool to leave the -l arguments alone?
> > >
> > > What do you mean by "unlinkable" ? Any error message at hand ?
> 
> I asked a Darwin guru on #gcj and he said you are using a too old GCC 
> or are linking against an old libgcc without signal support. Try gcc 
> CVS HEAD and it should work.

I discovered the problem - it was compiling against an incompatible version
of jni.h. Hopefully it's all fixed now, I've tested successfully on Darwin
and Linux at least. 
-- 
Chris Burdess



From MAILER-DAEMON Sat Jul 31 05:15:59 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BqpyB-0008UK-0k
	for mharc-classpath@gnu.org; Sat, 31 Jul 2004 05:15:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bqpy8-0008UE-Jm
	for classpath@gnu.org; Sat, 31 Jul 2004 05:15:56 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bqpy5-0008U2-Fq
	for classpath@gnu.org; Sat, 31 Jul 2004 05:15:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bqpy4-0008Tz-R5
	for classpath@gnu.org; Sat, 31 Jul 2004 05:15:52 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BqpuO-00038q-Lt
	for classpath@gnu.org; Sat, 31 Jul 2004 05:12:04 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP id 35BFF624AD
	for <classpath@gnu.org>; Sat, 31 Jul 2004 09:12:03 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 18710-06 for <classpath@gnu.org>;
	Sat, 31 Jul 2004 09:12:02 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-94-191.adsl.solnet.ch
	[212.41.94.191])
	by mail01.solnet.ch (Postfix) with ESMTP id 5922762492
	for <classpath@gnu.org>; Sat, 31 Jul 2004 09:12:01 +0000 (GMT)
Received: by reali.dnsalias.net (Postfix, from userid 65534)
	id 0BF9661792; Sat, 31 Jul 2004 11:07:39 +0200 (CEST)
Received: from mc-reali (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP id D75D55DD64
	for <classpath@gnu.org>; Sat, 31 Jul 2004 11:07:37 +0200 (CEST)
Date: Sat, 31 Jul 2004 11:13:09 +0200
From: Patrik Reali <reali@acm.org>
To: classpath@gnu.org
Message-ID: <2861124.1091272389@[192.168.1.3]>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spambayes-Classification: ham; 0.00
X-Virus-Scanned: by SolNet mail01.solnet.ch
Subject: cvsignore files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 31 Jul 2004 09:15:57 -0000

Hi!

I just noticed that most of the cvsignore files where removed.

Now, when checking for changed files (e.g. "cvs -n -q upd") all the 
Makefile and Makefile.in show up though they are not meant to be in the cvs.

What was the reason for removing them?

-Patrik




From MAILER-DAEMON Sat Jul 31 05:22:17 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1Bqq4F-0002CZ-4R
	for mharc-classpath@gnu.org; Sat, 31 Jul 2004 05:22:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bqq48-0002C3-6k
	for classpath@gnu.org; Sat, 31 Jul 2004 05:22:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bqq3w-0002Ac-O8
	for classpath@gnu.org; Sat, 31 Jul 2004 05:21:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bqq3w-0002AO-2l
	for classpath@gnu.org; Sat, 31 Jul 2004 05:21:56 -0400
Received: from [212.6.122.28] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bqq0V-0003kr-38
	for classpath@gnu.org; Sat, 31 Jul 2004 05:18:23 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-94-096.ewetel.net
	[80.228.94.96])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id i6V9IIMv001716;
	Sat, 31 Jul 2004 11:18:19 +0200 (MEST)
Received: from miraculix.konqueror.de ([192.168.1.1])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1Bqq8X-0002qd-00; Sat, 31 Jul 2004 11:26:41 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Sat, 31 Jul 2004 11:18:42 +0200
User-Agent: KMail/1.6.2
References: <2861124.1091272389@[192.168.1.3]>
In-Reply-To: <2861124.1091272389@[192.168.1.3]>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200407311118.42191.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: cvsignore files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 31 Jul 2004 09:22:13 -0000

Am Samstag, 31. Juli 2004 11:13 schrieb Patrik Reali:
> Hi!
>
> I just noticed that most of the cvsignore files where removed.
>
> Now, when checking for changed files (e.g. "cvs -n -q upd") all the
> Makefile and Makefile.in show up though they are not meant to be in
> the cvs.
>
> What was the reason for removing them?

The reason was: The Makefile and Makefile.in files are not generated 
anymore. You can savely delete the files that "cvs up" shows.


Michael



From MAILER-DAEMON Sat Jul 31 05:29:30 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BqqBG-0003bW-JR
	for mharc-classpath@gnu.org; Sat, 31 Jul 2004 05:29:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1BqqBD-0003aI-W4
	for classpath@gnu.org; Sat, 31 Jul 2004 05:29:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1BqqBA-0003ZU-DN
	for classpath@gnu.org; Sat, 31 Jul 2004 05:29:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1BqqBA-0003ZR-1e
	for classpath@gnu.org; Sat, 31 Jul 2004 05:29:24 -0400
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bqq7S-0004fE-Vd
	for classpath@gnu.org; Sat, 31 Jul 2004 05:25:35 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1Bqq6v-0002Dv-00; Sat, 31 Jul 2004 11:25:01 +0200
From: Mark Wielaard <mark@klomp.org>
To: Patrik Reali <reali@acm.org>
In-Reply-To: <2861124.1091272389@[192.168.1.3]>
References: <2861124.1091272389@[192.168.1.3]>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-yIcl1zapZLOEe4PS3i9d"
Message-Id: <1091265888.28981.491.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 31 Jul 2004 11:24:48 +0200
Cc: classpath@gnu.org
Subject: Re: cvsignore files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 31 Jul 2004 09:29:29 -0000


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

Hi,

On Sat, 2004-07-31 at 11:13, Patrik Reali wrote:
> I just noticed that most of the cvsignore files where removed.
>=20
> Now, when checking for changed files (e.g. "cvs -n -q upd") all the=20
> Makefile and Makefile.in show up though they are not meant to be in the c=
vs.
>=20
> What was the reason for removing them?

Most of the Makefile and Makefile.in files won't be generated at all
now. You can remove all those files and when doing a ./autogen.sh and/or
./configure they won't return.

BTW. I recommend builddir !=3D srcdir builds. Then most of the generated
files won't show up in your srddir at all (except those generated by
./autogen.sh in the builddir of course).

Cheers,

Mark

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

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

iD8DBQBBC2VfxVhZCJWr9QwRAg/dAJ9SIsNvI8xKyisjZ4bIZa0NbhwlRwCcCDbk
4al1ieTUaiRdMCkzR6TKSgc=
=5VLI
-----END PGP SIGNATURE-----

--=-yIcl1zapZLOEe4PS3i9d--




From MAILER-DAEMON Sat Jul 31 06:18:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1BqqwD-0004nr-Vx
	for mharc-classpath@gnu.org; Sat, 31 Jul 2004 06:18:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Bqqw9-0004nc-6m
	for classpath@gnu.org; Sat, 31 Jul 2004 06:17:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Bqqw6-0004nN-FK
	for classpath@gnu.org; Sat, 31 Jul 2004 06:17:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Bqqw5-0004nK-QM
	for classpath@gnu.org; Sat, 31 Jul 2004 06:17:54 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BqqsQ-0001Qj-Vv
	for classpath@gnu.org; Sat, 31 Jul 2004 06:14:07 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id F0863625C2; Sat, 31 Jul 2004 10:14:05 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 21585-04; Sat, 31 Jul 2004 10:14:04 +0000 (GMT)
Received: from reali.dnsalias.net (212-41-94-191.adsl.solnet.ch
	[212.41.94.191]) by mail01.solnet.ch (Postfix) with ESMTP
	id 805636256F; Sat, 31 Jul 2004 10:14:03 +0000 (GMT)
Received: by reali.dnsalias.net (Postfix, from userid 65534)
	id 8AC6A11C562; Sat, 31 Jul 2004 12:09:44 +0200 (CEST)
Received: from mc-reali (reali.dnsalias.net [192.168.1.2])
	by reali.dnsalias.net (Postfix) with ESMTP
	id 5243311C560; Sat, 31 Jul 2004 12:09:43 +0200 (CEST)
Date: Sat, 31 Jul 2004 12:15:15 +0200
From: Patrik Reali <reali@acm.org>
To: classpath@gnu.org
Message-ID: <6586971.1091276115@[192.168.1.3]>
In-Reply-To: <1091265888.28981.491.camel@localhost>
References: <2861124.1091272389@[192.168.1.3]>
	<1091265888.28981.491.camel@localhost>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spambayes-Classification: ham; 0.00
X-Virus-Scanned: by SolNet mail01.solnet.ch
Cc: Mark Wielaard <mark@klomp.org>, Michael Koch <konqueror@gmx.de>
Subject: Re: cvsignore files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@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, 31 Jul 2004 10:17:57 -0000

Cool! This is a great improvement.

Thank you very much.

-Patrik




