From MAILER-DAEMON Fri Aug 01 00:08:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19iRCs-0006T1-AV
	for mharc-classpath@gnu.org; Fri, 01 Aug 2003 00:07:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19iRCp-0006Mb-Fr
	for classpath@gnu.org; Fri, 01 Aug 2003 00:07:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19iRCl-0006CN-Mi
	for classpath@gnu.org; Fri, 01 Aug 2003 00:07:48 -0400
Received: from [24.93.67.84] (helo=ms-smtp-03.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19iRCa-0005js-Si
	for classpath@gnu.org; Fri, 01 Aug 2003 00:07:36 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7145c93028284; Fri, 1 Aug 2003 00:05:38 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id F40A2BE6B4; Fri,  1 Aug 2003 00:07:33 -0400 (EDT)
Sender: cbj@haphazard.org
To: Michael Klaus <Michael.Klaus@gmx.net>
References: <200307311722.32649.Michael.Klaus@gmx.net>
	<m3wudynybo.fsf@lyta.haphazard.org>
	<200308010308.46713.Michael.Klaus@gmx.net>
From: Brian Jones <cbj@gnu.org>
Date: 01 Aug 2003 00:07:33 -0400
In-Reply-To: <200308010308.46713.Michael.Klaus@gmx.net>
Message-ID: <m3smomnhq2.fsf@lyta.haphazard.org>
Lines: 34
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Another VM running classpath.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Aug 2003 04:07:52 -0000

Michael Klaus <Michael.Klaus@gmx.net> writes:

> > I think on the todo list (mental, group collective, etc.) is to take
> > everything with a native method and create two versions... Foo and
> > VMFoo.  VMFoo could have native methods and JNI or someone else could
> > provide VMFoo that is written in some completely different way.  Does
> > that help?
> 
> It takes us a step further definitely :o)
> 
> Just for clearance:
> We got a directory structure like
> <jnode>/src/classpath	the core api packages from classpath.org
> <jnode>/src/jnode		out project specific packages
> 
> Our build.xml compiles both roots into one 'classes' directory.
> 
> In case of, java.io.File, we would
> 	- create jnode/java/io/VMFile.java
> 	- modify classpath/java/io/File.java to delegate all 
>         OS-dependent parts to java.io.VMFile
> 	- donate the File.java to your project so all other VMs can
>         be made fit to this
> 
> Is that right?

I think so, but I'm now cc'ing the classpath list to make sure I got
this correct.  You might want to take a look at our requirements for
contributing code at http://www.gnu.org/software/classpath/ in the
hacking guide.

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



From MAILER-DAEMON Fri Aug 01 23:42:58 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19in5L-0006dD-8H
	for mharc-classpath@gnu.org; Fri, 01 Aug 2003 23:29:35 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19il84-0005Hn-Uh
	for classpath@gnu.org; Fri, 01 Aug 2003 21:24:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19il3T-0004hw-Cg
	for classpath@gnu.org; Fri, 01 Aug 2003 21:19:31 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ijr5-0003T7-Qu
	for classpath@gnu.org; Fri, 01 Aug 2003 20:02:39 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19ijow-0006JW-00; Sat, 02 Aug 2003 02:00:26 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19ijqu-0006nB-00; Sat, 02 Aug 2003 02:02:28 +0200
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <87lludrnkk.fsf@fleche.redhat.com>
References: <freemail.20030410115217.37695@fm9.freemail.hu>
	<1052565390.7761.198.camel@elsschot> <87lludrnkk.fsf@fleche.redhat.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1059782546.2769.162.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 02 Aug 2003 02:02:27 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: classpath@gnu.org
Subject: Native eclipse with gcj
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Aug 2003 03:29:30 -0000

Hi Tom,

On Sat, 2003-08-02 at 00:59, Tom Tromey wrote:
> As I know you've heard, we've released a (mostly-)fully-compiled
> eclipse.  See:
> 
>     http://gcc.gnu.org/ml/java/2003-08/msg00025.html
> 
> There are pointers there to all the sources.  The individual patches
> aren't all in the upstream cvs yet, but they're available in the
> SRPMs.
> 
> Our testing indicates that this eclipse starts up a bit faster than
> eclipse running under the IBM 1.3.1 JDK.  That must be a speed
> record...

Wow! You complete the install/startup/welcome/shutdown process under 10
seconds on my machine! And the whole things feels amazingly fast and
smooth. You clearly created a winner. Congratulations!

And you provide a way to compile the whole thing from source!

Truly amazing. Thanks so much!

Mark



From MAILER-DAEMON Sat Aug 02 00:17:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19inhc-0003Su-5h
	for mharc-classpath@gnu.org; Sat, 02 Aug 2003 00:09:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ikCp-0006Le-Gb
	for classpath@gnu.org; Fri, 01 Aug 2003 20:25:07 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ijOe-00086C-1G
	for classpath@gnu.org; Fri, 01 Aug 2003 19:33:16 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19iizC-0004fK-JR
	for classpath@gnu.org; Fri, 01 Aug 2003 19:06:58 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id RAA03890;
	Fri, 1 Aug 2003 17:06:51 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 41CF84F82F1; Fri,  1 Aug 2003 16:59:55 -0600 (MDT)
To: Mark Wielaard <mark@klomp.org>
References: <freemail.20030410115217.37695@fm9.freemail.hu>
	<1052565390.7761.198.camel@elsschot>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Why don't you ever enter any CONTESTS, Marvin??
	Don't you know your own ZIPCODE?
Date: 01 Aug 2003 16:59:55 -0600
In-Reply-To: <1052565390.7761.198.camel@elsschot>
Message-ID: <87lludrnkk.fsf@fleche.redhat.com>
Lines: 25
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: [Ikvm-developers] Eclipse under mono
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Aug 2003 04:09:06 -0000

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

Mark> You might or might not know that there is a prize for for the first VM
Mark> that manages to load Eclipse under one minute on some standard PC using
Mark> only free software (although it is a bit of a symbolic prize since it is
Mark> paid out of my own pocket). You can see a list of contestants and the
Mark> "official rules" at
Mark> http://mail.gnu.org/archive/html/classpath/2003-04/msg00038.html

Hi Mark.

As I know you've heard, we've released a (mostly-)fully-compiled
eclipse.  See:

    http://gcc.gnu.org/ml/java/2003-08/msg00025.html

There are pointers there to all the sources.  The individual patches
aren't all in the upstream cvs yet, but they're available in the
SRPMs.

Our testing indicates that this eclipse starts up a bit faster than
eclipse running under the IBM 1.3.1 JDK.  That must be a speed
record...

Tom



From MAILER-DAEMON Sat Aug 02 22:56:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19j8GL-0006O0-OK
	for mharc-classpath@gnu.org; Sat, 02 Aug 2003 22:06:21 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19iymS-0005Fv-By
	for classpath@gnu.org; Sat, 02 Aug 2003 11:58:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19iyJZ-00043o-6X
	for classpath@gnu.org; Sat, 02 Aug 2003 11:29:31 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ibAr-0006Kh-G0
	for classpath@gnu.org; Fri, 01 Aug 2003 10:46:29 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id IAA07765;
	Fri, 1 Aug 2003 08:46:28 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id D86224F87E0; Fri,  1 Aug 2003 08:39:33 -0600 (MDT)
To: David P Grove <groved@us.ibm.com>
References: <OF47C50443.C17092A1-ON85256D75.004A8304-85256D75.004BA1A3@us.ibm.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: I just had a MAJOR CONTRACT DISPUTE with SUZANNE SOMERS!!
Date: 01 Aug 2003 08:39:33 -0600
In-Reply-To: <OF47C50443.C17092A1-ON85256D75.004A8304-85256D75.004BA1A3@us.ibm.com>
Message-ID: <87k79x1ly2.fsf@fleche.redhat.com>
Lines: 19
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 Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Aug 2003 02:06:19 -0000

>>>>> "David" == David P Grove <groved@us.ibm.com> writes:

David> If you come up with a finer-grained fix for libgcj, let me know
David> -- I'm not that happy with what we are currently doing in Jikes
David> RVM.

I checked in a couple patches last night that fix this problem.
Basically we now call setAccessible() on the Method and Field objects.
We do this via AccessController.doPrivileged, to avoid pesky security
checks.

I think this should be correct for any VM; I'd like to recommend it as
a method to solve this sort of problem anywhere in Classpath.  It is
already used in at least one other place, ResourceBundle.

Classpath just has stubs for the important parts of AccessController.
I guess another VMsomething class is in order here.

Tom



From MAILER-DAEMON Sat Aug 02 23:29:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19j9Uv-0004xZ-KH
	for mharc-classpath@gnu.org; Sat, 02 Aug 2003 23:25:29 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19j5tH-0001Fc-2d
	for classpath@gnu.org; Sat, 02 Aug 2003 19:34:23 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19j5Qj-0006oS-0w
	for classpath@gnu.org; Sat, 02 Aug 2003 19:05:24 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19j4kn-0001HH-SF
	for classpath@gnu.org; Sat, 02 Aug 2003 18:21:33 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19j4ii-00007D-00
	for <classpath@gnu.org>; Sun, 03 Aug 2003 00:19:24 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="=-QY4nJeK9v8dgN3R9ezu+"
Organization: 
Message-Id: <1059862888.32460.44.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) 
Date: 03 Aug 2003 00:21:28 +0200
Subject: Fast Free Eclipse Prize Winners Announcement
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Aug 2003 03:25:15 -0000


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

Hi all,

After playing a bit with the just announced native eclipse build from
the gcj hackers it is clear that they have won the fast free eclipse
prize! Below is the official announcement. Please feel free to
distribute this to anyone that might be interested since I really think
this is a huge accomplishment.. Thanks everybody. It was a exciting
race!

Cheers,

Mark

--=-QY4nJeK9v8dgN3R9ezu+
Content-Disposition: inline; filename=eclipse_prize
Content-Type: text/plain; name=eclipse_prize; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

   gcj Eclipse team wins Fast Free Eclipse Prize

Andrew Haley and Tom Tromey led a team of gcj (GNU Compiler for Java)
hackers at Red Hat who won the Fast Free Eclipse prize. The Fast Free
Eclipse challenge was to produce a free and fast version of the
Eclipse development environment that would run on a completely Free
Software system like GNU/Linux. Tom and Andrew not only accomplished
all the goals of the original challenge, but they went far beyond that
to produce the fasted Eclipse based development environment to
date. This accomplishment means that the Free Software movement now
has another high productivity environment for creating software that
can be freely used, modified and distributed.

The Eclipse platform is a graphical IDE for anything and nothing in
particular. It supports creating highly integrated tools (plugins) for
development activities such as code management, source code viewing,
editing, refactoring and debugging. Eclipse itself is written in the
java programming language and is most famous for its excellent tools
for manipulation of large projects. Eclipse is distributed under a
Free Software license (the Common Public License) and its development
is organized as a Open Source project where both individuals and large
companies share their development efforts.

Despite being distributed under a Free Software license, Eclipse
didn't work on a free software platform or (like other projects
developed for a java like environment) integrate very well with a
traditional GNU system. So the original challenge to win the Fast Free
Eclipse prize was just to get Eclipse to start up under one minute on a
completely free system given some standard hardware. Late last year
this seemed a lot of work given the modest goal of just getting it to
run quickly enough to be usable.

But Andrew and Tom went much further than that. By consistently
identifying and fixing issues with the runtime libraries, the
compiler, linker and the gcc C++/java ABI they made the GNU Compiler
Collection and the GNU/Linux platform a better environment to develop
and run such huge multi component systems. This enables developers to
create programs in a programming language with support for static
typing, exception handling, garbage collection, multi-threading and
dynamic object creation and invocation. All while keeping the
traditional GNU way in mind to make it possible to easily interoperate
with other languages and libraries supported on a GNU system.

The result is not just a Fast Free Eclipse.
We now have the fastest Eclipse on the planet!

This effort was clearly not possible without the support of a lot of
other hackers. For the purpose of winning this prize special mention
should also be given to the following Red Hat people: Anthony Green
made an important garbage collection fix. Graydon Hoare did lots of
profiling and identified critical performance bottlenecks. And Jakub
Jelinek fixed the most critical performance bottleneck.  Together with
Tom and Andrew they are the winners of the Fast Free Eclipse prize and
they will receive a GNU appreciation package.


Links:

GNU Compiler for Java (gcj)
http://gcc.gnu.org/java/

Eclipse, universal tool platform - an open extensible IDE
http://www.eclipse.org/

Natively compiled Eclipse
http://sources.redhat.com/eclipse/

--=-QY4nJeK9v8dgN3R9ezu+--




From MAILER-DAEMON Sun Aug 03 02:37:45 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jCRI-0000fj-NW
	for mharc-classpath@gnu.org; Sun, 03 Aug 2003 02:33:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jBne-0008K2-Pz
	for classpath@gnu.org; Sun, 03 Aug 2003 01:52:58 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jBGJ-000125-MI
	for classpath@gnu.org; Sun, 03 Aug 2003 01:19:03 -0400
Received: from [32.97.182.103] (helo=e3.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19iaEs-0006OE-4e
	for classpath@gnu.org; Fri, 01 Aug 2003 09:46:34 -0400
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com
	[9.56.224.206])
	by e3.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h71DkRpW101300;
	Fri, 1 Aug 2003 09:46:28 -0400
Received: from d01mlc04.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay04.pok.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id
	h71DkQxY110694; Fri, 1 Aug 2003 09:46:26 -0400
In-Reply-To: <87lluepqf5.fsf@fleche.redhat.com>
To: tromey@redhat.com
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
Message-ID: <OF47C50443.C17092A1-ON85256D75.004A8304-85256D75.004BA1A3@us.ibm.com>
Date: Fri, 1 Aug 2003 09:46:24 -0400
X-MIMETrack: Serialize by Router on D01MLC04/01/M/IBM(Release 6.0.2CF1 SPRs
	CGOH5MSQFA, JHEG5MYSFA, MIAS5M9K9M
	JBON5L8FGD|June 13, 2003) at 08/01/2003 09:46:26,
	Serialize complete at 08/01/2003 09:46:26
Content-Type: multipart/alternative;
	boundary="=_alternative 004B547085256D75_="
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Aug 2003 06:33:54 -0000

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

Hi Tom,

        We've had security manager checks in the reflection code in Jikes 
RVM for a while.  Our current workaround for serialization is that classes 
loaded by the system classloader are always allowed access.  This is 
probably too big of a hole, but it does work in practice.  The key routine 
for us is in java.lang.reflect.JikesRVMSupport (appended below).   If you 
come up with a finer-grained fix for libgcj, let me know -- I'm not that 
happy with what we are currently doing in Jikes RVM. 

--dave


  /**
   * Check to see if a method declared by the accessingClass 
   * should be allowed to access the argument VM_Member.
   * Assumption: member is not public.  This trivial case should
   * be approved by the caller without needing to call this method.
   */
  public static void checkAccess(VM_Member member, VM_Class 
accessingClass) throws IllegalAccessException {
    // TODO: Is this the right kludge? 
    // We must allow classes like java.io.ObjectOutputStream access to 
anything.
    // Allowing everything loaded by the system classloader the same 
freedom 
    // might be too broad of a loophole.
    if (accessingClass.getClassLoader() == 
VM_SystemClassLoader.getVMClassLoader()) return;
 
    VM_Class declaringClass = member.getDeclaringClass();
    if (member.isPrivate()) {
      // access from the declaringClass is allowed
      if (accessingClass == declaringClass) return;
    } else if (member.isProtected()) {
      // access within the package is allowed.
      if 
(declaringClass.getPackageName().equals(accessingClass.getPackageName())) 
return;

      // access by subclasses is allowed.
      for (VM_Class cls = accessingClass; cls != null; cls = 
cls.getSuperClass()) {
                 if (accessingClass == declaringClass) return;
      }
    } else {
      // default: access within package is allowed
      if 
(declaringClass.getPackageName().equals(accessingClass.getPackageName())) 
return;
    } 
 
    throw new IllegalAccessException("Access to "+member+" is denied to 
"+accessingClass);
  }

--=_alternative 004B547085256D75_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi Tom,</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; We've
had security manager checks in the reflection code in Jikes RVM for a while.
&nbsp;Our current workaround for serialization is that classes loaded by
the system classloader are always allowed access. &nbsp;This is probably
too big of a hole, but it does work in practice. &nbsp;The key routine
for us is in java.lang.reflect.JikesRVMSupport (appended below). &nbsp;
If you come up with a finer-grained fix for libgcj, let me know -- I'm
not that happy with what we are currently doing in Jikes RVM. </font>
<br>
<br><font size=2 face="sans-serif">--dave</font>
<br>
<br><font size=2><tt><br>
 &nbsp;/**<br>
 &nbsp; * Check to see if a method declared by the accessingClass <br>
 &nbsp; * should be allowed to access the argument VM_Member.<br>
 &nbsp; * Assumption: member is not public. &nbsp;This trivial case should<br>
 &nbsp; * be approved by the caller without needing to call this method.<br>
 &nbsp; */<br>
 &nbsp;public static void checkAccess(VM_Member member, VM_Class accessingClass)
throws IllegalAccessException {<br>
 &nbsp; &nbsp;// TODO: Is this the right kludge? &nbsp;<br>
 &nbsp; &nbsp;// We must allow classes like java.io.ObjectOutputStream
access to anything.<br>
 &nbsp; &nbsp;// Allowing everything loaded by the system classloader the
same freedom <br>
 &nbsp; &nbsp;// might be too broad of a loophole.<br>
 &nbsp; &nbsp;if (accessingClass.getClassLoader() == VM_SystemClassLoader.getVMClassLoader())
return;<br>
 &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp;VM_Class declaringClass = member.getDeclaringClass();<br>
 &nbsp; &nbsp;if (member.isPrivate()) {<br>
 &nbsp; &nbsp; &nbsp;// access from the declaringClass is allowed<br>
 &nbsp; &nbsp; &nbsp;if (accessingClass == declaringClass) return;<br>
 &nbsp; &nbsp;} else if (member.isProtected()) {<br>
 &nbsp; &nbsp; &nbsp;// access within the package is allowed.<br>
 &nbsp; &nbsp; &nbsp;if (declaringClass.getPackageName().equals(accessingClass.getPackageName()))
return;<br>
<br>
 &nbsp; &nbsp; &nbsp;// access by subclasses is allowed.<br>
 &nbsp; &nbsp; &nbsp;for (VM_Class cls = accessingClass; cls != null; cls
= cls.getSuperClass()) {<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
if (accessingClass == declaringClass) return;<br>
 &nbsp; &nbsp; &nbsp;}<br>
 &nbsp; &nbsp;} else {<br>
 &nbsp; &nbsp; &nbsp;// default: access within package is allowed<br>
 &nbsp; &nbsp; &nbsp;if (declaringClass.getPackageName().equals(accessingClass.getPackageName()))
return;<br>
 &nbsp; &nbsp;} &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp;<br>
 &nbsp; &nbsp;throw new IllegalAccessException(&quot;Access to &quot;+member+&quot;
is denied to &quot;+accessingClass);<br>
 &nbsp;}<br>
</tt></font>
--=_alternative 004B547085256D75_=--



From MAILER-DAEMON Sun Aug 03 10:47:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jK4M-0004bo-HX
	for mharc-classpath@gnu.org; Sun, 03 Aug 2003 10:42:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jK11-000356-04
	for classpath@gnu.org; Sun, 03 Aug 2003 10:39:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jJvM-0000z4-ND
	for classpath@gnu.org; Sun, 03 Aug 2003 10:33:59 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jJjO-00046Z-0I
	for classpath@gnu.org; Sun, 03 Aug 2003 10:21:06 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP id 6EA0C622BA
	for <classpath@gnu.org>; Sun,  3 Aug 2003 14:21: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 59593-03 for <classpath@gnu.org>;
	Sun,  3 Aug 2003 14:21:04 +0000 (GMT)
Received: from reali.dnsalias.net (adsl-212-41-68-10.solnet.ch [212.41.68.10])
	by mail01.solnet.ch (Postfix) with ESMTP id B88A7622A9
	for <classpath@gnu.org>; Sun,  3 Aug 2003 14:21:03 +0000 (GMT)
Received: from cyclone
	(192-168-001-003-at-home-your-network.privateiprange.solnet.ch
	[192.168.1.3])
	by reali.dnsalias.net (Postfix) with SMTP id DDF1F2B51D
	for <classpath@gnu.org>; Sun,  3 Aug 2003 16:14:43 +0200 (CEST)
Message-ID: <003701c359ca$8f66ca10$0301a8c0@cyclone>
From: "Patrik Reali" <reali@acm.org>
To: <classpath@gnu.org>
Date: Sun, 3 Aug 2003 16:21:41 +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.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Virus-Scanned: by SolNet
Subject: Jaos JVM
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Aug 2003 14:42:44 -0000

Hi!

After a pause of more than one year, caused by some other higher-priority
projects, I'm working again on the Jaos VM [0]. Since I left ETH, I can only
work during my spare time on the project.

The Jaos VM is a JVM using GNU Classpath implemented on top of the
Aos/Bluebottle kernel [1]. This kernel offers many useful features like
garbage collected memory management, dynamic module loading, and
object-oriented model. This makes the implementation of a JVM particularly
attractive and simple.

Jaos uses GNU Classpath out-of -the-box. Currently, it works with GNU
Classpath release 0.5. No changes at all are required.

Jaos has some charateristics which make it peculiar. First, the jitter
generates code that follows the kernel conventions for data layout, thus the
java modules are fully integrated in the system (interoperability with
oberon requires no glue code). Second, the java reflection classes are
implemented to work directly with the system's symbol tables (the same used
by the oberon compiler) so that both compilers rely on the same metadata
(this sounds .NETish, and in fact also is).

Jaos is a jit-based JVM; the jitter is based on [3], which is an ideal
compromise as it fastly generates good code for the i386 processors.

The language used for the native methods and low-level implementation is
Active Oberon, an extension of the Oberon language (an evolution of Modula-2
and Pascal). Thus, Jaos is only able to run code written either in Active
Oberon or Java: third party code in C is excluded. This is no big problem
(for the moment), as the core classes of classpath are quite complete; it
may pose a problem with the java/awt package, because apparently most of the
implementation are optimized (and thus in C).

Another advantage of the kernel modularity and dynamic loading features is
that it allows decide which modules are loaded. As an example, I can deploy
only the Aos kernel, Jaos, and a stripped down version of classpath (and
forget about Oberon itself) on a single bootable floppy disk.

My plans for the future include supporting java/net, java/awt, simplify Jaos
installation and handling, and fine-tuning the VM. I want to rely as much as
possible on Java code, in particular for the graphical support (I'm thankful
to Sascha Brawer, who is writing the font stuff in Java). As a JVM
developer, I think it is important for Classpath to provide as much code as
possible in Java itself: this provides a reference implementation, it is
fully portable, and allows to quickly have a fully-featured running JVM;
each JVM can then choose whether to rely on the default implementation or
provide an own optimized one.

I will shortly begin with the implementation of java/awt/* for Jaos, but I
will try to work as much as possible with Java (ideal would be to have only
one base class with graphical primitives like Graphics2D natively
implemented, and the rest in Java). Obviously, I will contribute any Java
code I need to add to classpath to make Jaos work. Jaos itself is also
freely available.

Thank you very much to the whole classpath developer team for the great work
done!

-Patrik Reali


[0] Jaos: http://www.oberon.ethz.ch/jaos/
[1] Aos/Bluebottle: http://bluebottle.ethz.ch/
[2] Active Oberon: http://bluebottle.ethz.ch/languagereport/
[3] Cierniak et al.; Fast, Effective Code Generation in a Just-In-Time Java
Compiler; PLDI-98
--------
Patrik Reali
http://www.inf.ethz.ch/personal/reali
http://www.oberon.ethz.ch/jaos




From MAILER-DAEMON Sun Aug 03 14:15:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jNOH-0002RA-RB
	for mharc-classpath@gnu.org; Sun, 03 Aug 2003 14:15:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jMyv-0000WG-P9
	for classpath@gnu.org; Sun, 03 Aug 2003 13:49:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jMws-0004we-T8
	for classpath@gnu.org; Sun, 03 Aug 2003 13:47:46 -0400
Received: from [193.252.22.28] (helo=mwinf0304.wanadoo.fr)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jMuS-0003ag-M5
	for classpath@gnu.org; Sun, 03 Aug 2003 13:44:44 -0400
Received: from inria.fr (APuteaux-105-1-6-213.w80-15.abo.wanadoo.fr
	[80.15.52.213]) by mwinf0304.wanadoo.fr (SMTP Server) with ESMTP
	id E7D31A804093; Sun,  3 Aug 2003 19:44:42 +0200 (CEST)
Message-ID: <3F2D494C.8050600@inria.fr>
Date: Sun, 03 Aug 2003 19:41:32 +0200
From: Jean-Daniel Fekete <Jean-Daniel.Fekete@inria.fr>
Organization: INRIA Futurs, LRI
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en, fr-fr
MIME-Version: 1.0
To: classpath@gnu.org
X-Enigmail-Version: 0.76.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Sun, 03 Aug 2003 14:15:31 -0400
Subject: Re: X Rendering and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Aug 2003 17:50:08 -0000

Brian Jones writes:

 >...

> Sascha,
>=20
> Is there any way to implement this that would work on both UNIX and
> Windows, but not require 3d hardware which OpenGL seems to... I'm
> guessing probably not.  Looks like 2 days Sun and SGI decided to
> create standard Java bindings for OpenGL,
> http://www.sgi.com/newsroom/press_releases/2003/july/sgisun_opengl.html=
=2E

Dear classpath developers,

I took over the development of Agile2D, a package implementing Graphics2D=
 in OpenGL using gl4java.  Agile2d has been implemented originaly by Jon =
Meyer for Ben Bederson, director of the Human Computer Interaction Lab. a=
t the University of Maryland.  Agile2d is available at http://www.cs.umd.=
edu/hcil/agile2d and, until the new version is available there, at my loc=
al page http://www.lri.fr/~fekete/agile2d and it is distributed under the=
 Apache licence (it can change).

Having seen the announcement of Sgi and Sun, I think I will migrate Agile=
2D to the new Java binding.

It would be a shame to duplicate the effort so I am willing to help and p=
rovide all the information you would need to achieve a free port of Graph=
ics2D based on OpenGL and, of course, the code too.

Keep in mind that there are currently more platform supporting OpenGL tha=
n Java so OpenGL is really a garantee of portability, compared to the  me=
ss of having different ports for X11 graphics, Windows graphics, Mac grap=
hics and others to come.  There is still a little bit of platform depende=
nt code required to access OpenGL from these platform.

As for Font rendering, I have implemented FreeType font rendering for Ope=
nGL and there is a library made by Stephane Conversy called glft that can=
 be used too (see the svgl project at http://www.lri.fr/~conversy/svgl/).=


I hope we can collaborate on providing a good and fast, free implementati=
on of Graphics2D.

Best regards,

--=20
 Jean-Daniel Fekete      Jean-Daniel.Fekete@inria.fr
 INRIA Futurs, LRI               tel: +33 1 69156623
 Bat 490, Universit=E9 Paris-Sud   fax: +33 1 69156586
 F91405 ORSAY Cedex, France





From MAILER-DAEMON Mon Aug 04 03:14:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jZQh-0005Fo-61
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 03:06:51 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jSer-0007oD-2l
	for classpath@gnu.org; Sun, 03 Aug 2003 19:53:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jSeI-0007hj-Md
	for classpath@gnu.org; Sun, 03 Aug 2003 19:52:57 -0400
Received: from [210.86.15.146] (helo=mta203-rme.xtra.co.nz)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jSeB-0007fb-QD
	for classpath@gnu.org; Sun, 03 Aug 2003 19:52:20 -0400
Received: from mta2-rme.xtra.co.nz ([210.86.15.141])
	by mta203-rme.xtra.co.nz with ESMTP
	id <20030803235217.WECX1938.mta203-rme.xtra.co.nz@mta2-rme.xtra.co.nz>; 
	Mon, 4 Aug 2003 11:52:17 +1200
Received: from mckinlay.net.nz ([210.55.57.198]) by mta2-rme.xtra.co.nz
	with ESMTP
	id <20030803235217.HZFN9359.mta2-rme.xtra.co.nz@mckinlay.net.nz>;
	Mon, 4 Aug 2003 11:52:17 +1200
Date: Mon, 4 Aug 2003 11:53:16 +1200
Content-Type: multipart/alternative; boundary=Apple-Mail-2-43218258
Mime-Version: 1.0 (Apple Message framework v552)
To: David P Grove <groved@us.ibm.com>
From: Bryce McKinlay <bryce@mckinlay.net.nz>
In-Reply-To: <OF47C50443.C17092A1-ON85256D75.004A8304-85256D75.004BA1A3@us.ibm.com>
Message-Id: <A6F197CC-C60D-11D7-884F-003065F97F7C@mckinlay.net.nz>
X-Mailer: Apple Mail (2.552)
X-Mailman-Approved-At: Mon, 04 Aug 2003 03:06:49 -0400
Cc: tromey@redhat.com, Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Aug 2003 23:53:06 -0000


--Apple-Mail-2-43218258
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=ISO-8859-1;
	format=flowed


On Saturday, Aug 2, 2003, at 01:46 Pacific/Auckland, David P Grove=20
wrote:

>
> Hi Tom,
>
> =A0 =A0 =A0 =A0 We've had security manager checks in the reflection =
code in=20
> Jikes RVM for a while. =A0Our current workaround for serialization is=20=

> that classes loaded by the system classloader are always allowed=20
> access. =A0This is probably too big of a hole, but it does work in=20
> practice. =A0The key routine for us is in=20
> java.lang.reflect.JikesRVMSupport (appended below). =A0 If you come up=20=

> with a finer-grained fix for libgcj, let me know -- I'm not that happy=20=

> with what we are currently doing in Jikes RVM.


AccessibleObject.setAccessible() is the correct way for serialization=20
to get access to private reflection data. See:

http://java.sun.com/j2se/1.4.2/docs/guide/reflection/reflection.html

Regards

Bryce.

--Apple-Mail-2-43218258
Content-Transfer-Encoding: quoted-printable
Content-Type: text/enriched;
	charset=ISO-8859-1



On Saturday, Aug 2, 2003, at 01:46 Pacific/Auckland, David P Grove
wrote:


<excerpt>

<smaller>Hi Tom,


=A0 =A0 =A0 =A0 We've had security manager checks in the reflection code =
in
Jikes RVM for a while. =A0Our current workaround for serialization is
that classes loaded by the system classloader are always allowed
access. =A0This is probably too big of a hole, but it does work in
practice. =A0The key routine for us is in
java.lang.reflect.JikesRVMSupport (appended below). =A0 If you come up
with a finer-grained fix for libgcj, let me know -- I'm not that happy
with what we are currently doing in Jikes RVM.

</smaller></excerpt>


AccessibleObject.setAccessible() is the correct way for serialization
to get access to private reflection data. See:


http://java.sun.com/j2se/1.4.2/docs/guide/reflection/reflection.html


Regards


Bryce.


--Apple-Mail-2-43218258--




From MAILER-DAEMON Mon Aug 04 04:47:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jaZI-00017m-On
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 04:19:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jaVl-0007u2-Gk
	for classpath@gnu.org; Mon, 04 Aug 2003 04:16:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jaFz-0003xN-2N
	for classpath@gnu.org; Mon, 04 Aug 2003 04:00:22 -0400
Received: from [193.74.71.21] (helo=xizor.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jaDw-0003Np-6l
	for classpath@gnu.org; Mon, 04 Aug 2003 03:57:44 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by xizor.is.kpn.be  with SMTP id h747vWF22674; 
	Mon, 4 Aug 2003 09:57:32 +0200
Message-Id: <200308040757.h747vWF22674@xizor.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Bryce McKinlay <bryce@mckinlay.net.nz>, David P Grove <groved@us.ibm.com>
Date: Mon, 4 Aug 2003 09:57:32 +0200
X-Mailer: KMail [version 1.3]
References: <A6F197CC-C60D-11D7-884F-003065F97F7C@mckinlay.net.nz>
In-Reply-To: <A6F197CC-C60D-11D7-884F-003065F97F7C@mckinlay.net.nz>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by xizor.is.kpn.be id
	h747vWF22674
Cc: tromey@redhat.com, Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Aug 2003 08:19:47 -0000

On Monday 04 August 2003 01:53, Bryce McKinlay wrote:
> On Saturday, Aug 2, 2003, at 01:46 Pacific/Auckland, David P Grove
>
> wrote:
> > Hi Tom,
> >
> > =A0 =A0 =A0 =A0 We've had security manager checks in the reflection c=
ode in
> > Jikes RVM for a while. =A0Our current workaround for serialization is
> > that classes loaded by the system classloader are always allowed
> > access. =A0This is probably too big of a hole, but it does work in
> > practice. =A0The key routine for us is in
> > java.lang.reflect.JikesRVMSupport (appended below). =A0 If you come u=
p
> > with a finer-grained fix for libgcj, let me know -- I'm not that happ=
y
> > with what we are currently doing in Jikes RVM.
>
> AccessibleObject.setAccessible() is the correct way for serialization
> to get access to private reflection data. See:
>
> http://java.sun.com/j2se/1.4.2/docs/guide/reflection/reflection.html

Sure.  But to call AccessibleObject.setAccessible() you need=20
ReflectPermission, which the user code that initiated serialisation does =
not=20
necessarily have.  So the java.io serialisation stuff needs to have this=20
permission, and it seems to me that it needs to call=20
AccessibleObject.setAccessible()  from inside a PrivilegedAction.

Granting AllPermission to everything loaded by the system class loader is=
=20
IMHO acceptable, *iff* by system class loader you mean the class loader w=
hich=20
loads java.* classes from a trusted location.  Not to be confused with th=
e=20
application class loader which loads from the -classpath, which is the on=
e=20
returned by ClassLoader.getSystemClassLoader() (aaargh).

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



From MAILER-DAEMON Mon Aug 04 06:56:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jcbV-0004x8-Ch
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 06:30:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jbGW-0007ig-2W
	for classpath@gnu.org; Mon, 04 Aug 2003 05:04:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jbFw-0007Qy-0c
	for classpath@gnu.org; Mon, 04 Aug 2003 05:04:24 -0400
Received: from [210.86.15.146] (helo=mta203-rme.xtra.co.nz)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jbDL-0006if-3A
	for classpath@gnu.org; Mon, 04 Aug 2003 05:01:11 -0400
Received: from mta2-rme.xtra.co.nz ([210.86.15.143])
	by mta203-rme.xtra.co.nz with ESMTP
	id <20030804090104.XTKR1938.mta203-rme.xtra.co.nz@mta2-rme.xtra.co.nz>; 
	Mon, 4 Aug 2003 21:01:04 +1200
Received: from mckinlay.net.nz ([210.55.57.198]) by mta2-rme.xtra.co.nz
	with ESMTP
	id <20030804090103.RTKP9359.mta2-rme.xtra.co.nz@mckinlay.net.nz>;
	Mon, 4 Aug 2003 21:01:03 +1200
Date: Mon, 4 Aug 2003 21:02:03 +1200
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v552)
To: Chris Gray <chris@kiffer.eunet.be>
From: Bryce McKinlay <bryce@mckinlay.net.nz>
In-Reply-To: <200308040757.h747vWF22674@xizor.is.kpn.be>
Message-Id: <50945923-C65A-11D7-8E1C-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.552)
X-Mailman-Approved-At: Mon, 04 Aug 2003 06:30:11 -0400
Cc: tromey@redhat.com, Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Aug 2003 09:04:31 -0000

On Monday, Aug 4, 2003, at 19:57 Pacific/Auckland, Chris Gray wrote:

> Sure.  But to call AccessibleObject.setAccessible() you need
> ReflectPermission, which the user code that initiated serialisation 
> does not
> necessarily have.  So the java.io serialisation stuff needs to have 
> this
> permission, and it seems to me that it needs to call
> AccessibleObject.setAccessible()  from inside a PrivilegedAction.

Isn't the security context of any given class is based on which 
ClassLoader that loaded the class, rather than what called it? Since 
ObjectOutputStream etc should always be loaded by the system 
classloader, it doesn't need a PrivilegedAction. ie: regardless of the 
code that calls it, the ObjectOutputStream class itself always has full 
privileges (assuming the default security policies). Note that the 
serialization classes have their own security checks to prevent them 
being used maliciously by untrusted code.

> Granting AllPermission to everything loaded by the system class loader 
> is
> IMHO acceptable, *iff* by system class loader you mean the class 
> loader which
> loads java.* classes from a trusted location.  Not to be confused with 
> the
> application class loader which loads from the -classpath, which is the 
> one
> returned by ClassLoader.getSystemClassLoader() (aaargh).

By default, the application/system class loader gets all permissions - 
why would you want to restrict access the access of applications?

Regards,

Bryce.




From MAILER-DAEMON Mon Aug 04 07:43:19 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jdkE-0004jv-UL
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 07:43:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jcqD-0006qg-6r
	for classpath@gnu.org; Mon, 04 Aug 2003 06:45:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jccO-000579-La
	for classpath@gnu.org; Mon, 04 Aug 2003 06:31:39 -0400
Received: from [193.74.71.22] (helo=guri.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jbiZ-0004Dx-BW
	for classpath@gnu.org; Mon, 04 Aug 2003 05:33:27 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.kpn.be  with SMTP id h749XHM17590; 
	Mon, 4 Aug 2003 11:33:17 +0200
Message-Id: <200308040933.h749XHM17590@guri.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Mon, 4 Aug 2003 11:33:17 +0200
X-Mailer: KMail [version 1.3]
References: <50945923-C65A-11D7-8E1C-003065F97F7C@mckinlay.net.nz>
In-Reply-To: <50945923-C65A-11D7-8E1C-003065F97F7C@mckinlay.net.nz>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: tromey@redhat.com, Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Aug 2003 11:43:16 -0000

On Monday 04 August 2003 11:02, Bryce McKinlay wrote:
> On Monday, Aug 4, 2003, at 19:57 Pacific/Auckland, Chris Gray wrote:
> > Sure.  But to call AccessibleObject.setAccessible() you need
> > ReflectPermission, which the user code that initiated serialisation
> > does not
> > necessarily have.  So the java.io serialisation stuff needs to have
> > this
> > permission, and it seems to me that it needs to call
> > AccessibleObject.setAccessible()  from inside a PrivilegedAction.
>
> Isn't the security context of any given class is based on which
> ClassLoader that loaded the class, rather than what called it? 

No. The security context of a given method invocation is the set of classes 
"on the stack" at the time of the invocation, and the resulting set of 
privileges is the intersection of the privileges of all those classes.  So if 
com.acme.FooApp has permission to read all files, and com.ibm.KoolThing has 
read/write access to the user's directory only, when FooApp calls a method of 
KoolThing the latter just gets read access to the user's files.

> Since
> ObjectOutputStream etc should always be loaded by the system
> classloader, it doesn't need a PrivilegedAction. ie: regardless of the
> code that calls it, the ObjectOutputStream class itself always has full
> privileges (assuming the default security policies). Note that the
> serialization classes have their own security checks to prevent them
> being used maliciously by untrusted code.

PrivilegedAction means "the buck stops here": it tells the AccessController 
not to look any further back on the stack, if the class making the 
PrivilegedAction has the right permissions then it doesn't who called it. 
This is the mechanism used by classes which have their own security checks to 
prevent them being used maliciously by untrusted code.

> > Granting AllPermission to everything loaded by the system class loader
> > is
> > IMHO acceptable, *iff* by system class loader you mean the class
> > loader which
> > loads java.* classes from a trusted location.  Not to be confused with
> > the
> > application class loader which loads from the -classpath, which is the
> > one
> > returned by ClassLoader.getSystemClassLoader() (aaargh).
>
> By default, the application/system class loader gets all permissions -
> why would you want to restrict access the access of applications?

To enable unstrusted applications to be run without compromising the system.  
True, that's not the standard desktop computing model, but I don't think the 
class libraries should prejudge the issue.


-- 
Chris Gray                                /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                      +32 477 599 703



From MAILER-DAEMON Mon Aug 04 07:43:54 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jdLX-00016B-No
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 07:17:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jdHs-0000pQ-8H
	for classpath@gnu.org; Mon, 04 Aug 2003 07:14:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jdHC-0000kx-1Z
	for classpath@gnu.org; Mon, 04 Aug 2003 07:13:49 -0400
Received: from [217.8.192.20] (helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jdCd-0000Te-M3
	for classpath@gnu.org; Mon, 04 Aug 2003 07:08:35 -0400
Received: from [192.168.1.33] (199.235.dyn-adsl.customer.ch.easynet.net
	[217.8.199.235]) by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id DEE33645E7; Mon,  4 Aug 2003 13:08:27 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Mon, 4 Aug 2003 13:08:30 +0200
Message-Id: <20030804110830.13843@smtp.mail.ch.easynet.net>
In-Reply-To: <3F2D494C.8050600@inria.fr>
References: <3F2D494C.8050600@inria.fr>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: Jean-Daniel Fekete <Jean-Daniel.Fekete@inria.fr>,
	graydon hoare <graydon@redhat.com>
Subject: Re: X Rendering and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Aug 2003 11:17:44 -0000

Jean-Daniel Fekete <Jean-Daniel.Fekete@inria.fr> wrote on Sun, 3 Aug
2003 19:41:32 +0200:

>I took over the development of Agile2D, a package implementing Graphics=
2D
>in OpenGL using gl4java. [...]
>
>It would be a shame to duplicate the effort so I am willing to help and=

>provide all the information you would need to achieve a free port of
>Graphics2D based on OpenGL and, of course, the code too. [...]

This is great, thank you!

>I hope we can collaborate on providing a good and fast, free
>implementation of Graphics2D.

It seems there are several people with that goal, and that some
coordination would be good so we can share at least some of the effort.
Therefore, I guess I'll try to arrange a discussion session during
LinuxKongress in Saarbr=FCcken/Germany. Jean-Daniel, are you planning to=
 go
there, by chance=3F

Graydon, where are you located=3F Is there a chance that either you or
someone else might be present who is familiar with what you are doing on=

top of Cairo/Xr=3F

Best regards,

-- Sascha

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





From MAILER-DAEMON Mon Aug 04 07:48:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jdCH-0000TQ-HH
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 07:08:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jdBu-0000S0-5V
	for classpath@gnu.org; Mon, 04 Aug 2003 07:07:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jd0o-0007oP-9p
	for classpath@gnu.org; Mon, 04 Aug 2003 06:56:53 -0400
Received: from [62.177.154.234] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jc6a-0007rF-VM
	for classpath@gnu.org; Mon, 04 Aug 2003 05:58:17 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 4 Aug 2003 11:57:04 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC4535@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-TNEF-Correlator: 
Thread-Topic: question about serialization
Thread-Index: AcNaZD/MMLDjYDRJRvy/hIE8QJagHQACjfmA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Chris Gray" <chris@kiffer.eunet.be>,
	"Bryce McKinlay" <bryce@mckinlay.net.nz>,
	"David P Grove" <groved@us.ibm.com>
Cc: tromey@redhat.com, Classpath Discussion Mailing List <classpath@gnu.org>
Subject: RE: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Aug 2003 11:08:09 -0000

Chris Gray wrote:
> Granting AllPermission to everything loaded by the system=20
> class loader is IMHO acceptable, *iff* by system class
> loader you mean the class loader which=20
> loads java.* classes from a trusted location.

This is the "bootstrap class loader" aka "null class loader" (because
Object.class.getClassLoader() returns null).

> Not to be confused with the application class loader
> which loads from the -classpath, which is the one=20
> returned by ClassLoader.getSystemClassLoader() (aaargh).

Regards,
Jeroen



From MAILER-DAEMON Mon Aug 04 11:39:58 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jhRG-0002Fr-5v
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 11:39:58 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jhRE-0002Fh-9r
	for classpath@gnu.org; Mon, 04 Aug 2003 11:39:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jhQi-0002DV-N9
	for classpath@gnu.org; Mon, 04 Aug 2003 11:39:55 -0400
Received: from [32.97.182.102] (helo=e2.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jhQi-0002DR-E1
	for classpath@gnu.org; Mon, 04 Aug 2003 11:39:24 -0400
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com
	[9.56.224.206])
	by e2.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h74FdMPS104452
	for <classpath@gnu.org>; Mon, 4 Aug 2003 11:39:22 -0400
Received: from d01mlc04.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay04.pok.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id
	h74FdLpc207576
	for <classpath@gnu.org>; Mon, 4 Aug 2003 11:39:21 -0400
To: classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
Message-ID: <OF16E000DF.79AACFDF-ON85256D78.00555F52-85256D78.0055F7EC@us.ibm.com>
Date: Mon, 4 Aug 2003 11:39:19 -0400
X-MIMETrack: Serialize by Router on D01MLC04/01/M/IBM(Release 6.0.2CF1 SPRs
	CGOH5MSQFA, JHEG5MYSFA, MIAS5M9K9M
	JBON5L8FGD|June 13, 2003) at 08/04/2003 11:39:21,
	Serialize complete at 08/04/2003 11:39:21
Content-Type: text/plain; charset="US-ASCII"
Subject: gnu.java.io.encode.EncoderUTF8.java
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Aug 2003 15:39:56 -0000

I've been tracking down a bug using  classpath to run JSPs on top of Jikes 
RVM and I think the root of the problem is that EncoderUTF8.java is 
strictly following the UTF8 encoding scheme instead of the "pseudo-UTF8" 
that JVMs actually need.  In particular, the character \u0000 is being 
encoded as the one byte 0 instead of the 2 byte sequence that Java uses.

I'm happy to contribute a bug fix for this.  My question is should I 
change EncoderUTF8 to implement the Java treatment of \u0000, should this 
be conditional on some flag, or should I add a new encoder that is 
indentical to the original except for the treatment of \u0000?

thanks,

--dave



From MAILER-DAEMON Mon Aug 04 15:35:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jhCV-00082o-R8
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 11:24:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jfpG-0008Ag-3H
	for classpath@gnu.org; Mon, 04 Aug 2003 09:56:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jfd3-00070q-LK
	for classpath@gnu.org; Mon, 04 Aug 2003 09:44:32 -0400
Received: from [193.74.71.22] (helo=guri.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jfQr-00061K-D0
	for classpath@gnu.org; Mon, 04 Aug 2003 09:31:25 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.kpn.be  with SMTP id h74DVDM28738; 
	Mon, 4 Aug 2003 15:31:13 +0200
Message-Id: <200308041331.h74DVDM28738@guri.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: "Jeroen Frijters" <jeroen@sumatra.nl>,
	"Bryce McKinlay" <bryce@mckinlay.net.nz>,
	"David P Grove" <groved@us.ibm.com>
Date: Mon, 4 Aug 2003 15:31:09 +0200
X-Mailer: KMail [version 1.3]
References: <788B535AB1F9CB49BB9C229372B50ACC4535@LEMBU.sumatrasoftware.com>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC4535@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: tromey@redhat.com, Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Aug 2003 15:24:37 -0000

On Monday 04 August 2003 11:57, Jeroen Frijters wrote:
> Chris Gray wrote:
> > Granting AllPermission to everything loaded by the system
> > class loader is IMHO acceptable, *iff* by system class
> > loader you mean the class loader which
> > loads java.* classes from a trusted location.
>
> This is the "bootstrap class loader" aka "null class loader" (because
> Object.class.getClassLoader() returns null).

Can be, but doesn't have to be: Sun's documentation allows for the 
possibility that the bootstrap class loader hands over to a regular instance 
of ClassLoader once bootstrapping is complete.

Still, java.lang.Object illustrates the problem nicely: it's not possible to 
be playing with ProtectionDomain and Permissions and all that when you 
haven't even loaded Object yet. :) So the VM has to improvise something, and 
the usual answer is to regard all classes loaded by the bootstrap class loader
as being totally privileged.

Regards

-- 
Chris Gray                                /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                      +32 477 599 703



From MAILER-DAEMON Mon Aug 04 16:05:35 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jlaI-0003lJ-JV
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 16:05:34 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jlaG-0003km-93
	for classpath@gnu.org; Mon, 04 Aug 2003 16:05:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jlQd-0001sp-Df
	for classpath@gnu.org; Mon, 04 Aug 2003 15:56:06 -0400
Received: from [17.254.0.52] (helo=mail-out1.apple.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jl08-0002ck-L1
	for classpath@gnu.org; Mon, 04 Aug 2003 15:28:12 -0400
Received: from mailgate2.apple.com (A17-129-100-225.apple.com [17.129.100.225])
	by mail-out1.apple.com (8.12.9/8.12.9) with ESMTP id h74JRtiB020596
	for <classpath@gnu.org>; Mon, 4 Aug 2003 12:27:55 -0700 (PDT)
Received: from scv2.apple.com (scv2.apple.com) by mailgate2.apple.com
	(Content Technologies SMTPRS 4.2.1) with ESMTP id
	<T63d9568dba118164e13d8@mailgate2.apple.com>; 
	Mon, 4 Aug 2003 12:28:10 -0700
Received: from bothner.com (vpn-scv-x2-240.apple.com [17.219.193.240])
	by scv2.apple.com (8.12.9/8.12.9) with ESMTP id h74JS2QZ018018;
	Mon, 4 Aug 2003 12:28:02 -0700 (PDT)
Message-ID: <3F2EB468.7040300@bothner.com>
Date: Mon, 04 Aug 2003 12:30:48 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.4) Gecko/20030612
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David P Grove <groved@us.ibm.com>
References: <OF16E000DF.79AACFDF-ON85256D78.00555F52-85256D78.0055F7EC@us.ibm.com>
In-Reply-To: <OF16E000DF.79AACFDF-ON85256D78.00555F52-85256D78.0055F7EC@us.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: gnu.java.io.encode.EncoderUTF8.java
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Aug 2003 20:05:33 -0000

David P Grove wrote:

> I've been tracking down a bug using  classpath to run JSPs on top of Jikes 
> RVM and I think the root of the problem is that EncoderUTF8.java is 
> strictly following the UTF8 encoding scheme instead of the "pseudo-UTF8" 
> that JVMs actually need.  In particular, the character \u0000 is being 
> encoded as the one byte 0 instead of the 2 byte sequence that Java uses.
> 
> I'm happy to contribute a bug fix for this.  My question is should I 
> change EncoderUTF8 to implement the Java treatment of \u0000,

That would be wrong.  EncoderUTF8 is used to convert 16-bit Unicode
to the *external* UTF8 encoding used for files etc.  Not the Java
pseudo-UTF8.

I can only think of one reason why you'd want to create the Java
pseudo-UTF8 format:  when writing a Java class file.  Implement
that however you wish, but don't change the behavior of EncoderUTF8.
You could add a flag to EncoderUTF8 file to enable "Java-style UTF8",
but it can't be the default.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/





From MAILER-DAEMON Mon Aug 04 19:43:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jozF-0005hU-Tr
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 19:43:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jozA-0005UX-Mt
	for classpath@gnu.org; Mon, 04 Aug 2003 19:43:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19joyd-0004gF-6i
	for classpath@gnu.org; Mon, 04 Aug 2003 19:43:27 -0400
Received: from [210.86.15.147] (helo=mta204-rme.xtra.co.nz)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19joyE-0004Qi-I2
	for classpath@gnu.org; Mon, 04 Aug 2003 19:42:30 -0400
Received: from mta2-rme.xtra.co.nz ([210.86.15.143])
	by mta204-rme.xtra.co.nz with ESMTP
	id <20030804234228.QOV21917.mta204-rme.xtra.co.nz@mta2-rme.xtra.co.nz>; 
	Tue, 5 Aug 2003 11:42:28 +1200
Received: from mckinlay.net.nz ([210.55.57.198]) by mta2-rme.xtra.co.nz
	with ESMTP
	id <20030804234227.ZYIV9359.mta2-rme.xtra.co.nz@mckinlay.net.nz>;
	Tue, 5 Aug 2003 11:42:27 +1200
Date: Tue, 5 Aug 2003 11:43:30 +1200
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v552)
To: Chris Gray <chris@kiffer.eunet.be>
From: Bryce McKinlay <bryce@mckinlay.net.nz>
In-Reply-To: <200308040933.h749XHM17590@guri.is.kpn.be>
Message-Id: <739FB8F4-C6D5-11D7-A28F-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.552)
Cc: tromey@redhat.com, Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Aug 2003 23:43:32 -0000

On Monday, Aug 4, 2003, at 21:33 Pacific/Auckland, Chris Gray wrote:

> No. The security context of a given method invocation is the set of 
> classes
> "on the stack" at the time of the invocation, and the resulting set of
> privileges is the intersection of the privileges of all those classes. 
>  So if
> com.acme.FooApp has permission to read all files, and 
> com.ibm.KoolThing has
> read/write access to the user's directory only, when FooApp calls a 
> method of
> KoolThing the latter just gets read access to the user's files.

You're right - thanks for clearing that up. Looks like there is still 
quite a bit of work to do to implement the security model!

The performance implications of all this are also rather concerning - 
walking up the stack is going to be fairly slow. But I presume that for 
normal applications where security is not required (ie 
System.getSecurityManager()), such checks are avoided?

Regards

Bryce.




From MAILER-DAEMON Mon Aug 04 22:17:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jrO7-0000un-7I
	for mharc-classpath@gnu.org; Mon, 04 Aug 2003 22:17:23 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jrO4-0000rF-E6
	for classpath@gnu.org; Mon, 04 Aug 2003 22:17:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jrNZ-0000i5-2C
	for classpath@gnu.org; Mon, 04 Aug 2003 22:17:19 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jrNY-0000ge-4n
	for classpath@gnu.org; Mon, 04 Aug 2003 22:16:48 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id UAA29043;
	Mon, 4 Aug 2003 20:16:39 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 637F54F82F8; Mon,  4 Aug 2003 20:09:30 -0600 (MDT)
To: Bryce McKinlay <bryce@mckinlay.net.nz>
References: <739FB8F4-C6D5-11D7-A28F-003065F97F7C@mckinlay.net.nz>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: I think I'll make SCRAMBLED EGGS!!  They're each in LITTLE SHELLS..
Date: 04 Aug 2003 20:09:30 -0600
In-Reply-To: <739FB8F4-C6D5-11D7-A28F-003065F97F7C@mckinlay.net.nz>
Message-ID: <87he4wkg85.fsf@fleche.redhat.com>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Aug 2003 02:17:21 -0000

>>>>> "Bryce" == Bryce McKinlay <bryce@mckinlay.net.nz> writes:

Bryce> But I presume that for normal applications where security is
Bryce> not required (ie System.getSecurityManager()), such checks are
Bryce> avoided?

Yes, the security manager itself walks the stack in this case, so if
there is no security manager...

There are also situations where the code unconditionally must find the
caller and use that to do access checks, e.g. in Method.

Also there are cases where you must find the caller's class loader,
say in order to implement Class.forName.

In libgcj these latter cases are also implemented by stack crawling.

Tom



From MAILER-DAEMON Tue Aug 05 05:28:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jy7F-00009T-3G
	for mharc-classpath@gnu.org; Tue, 05 Aug 2003 05:28:25 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jy40-0006ur-J6
	for classpath@gnu.org; Tue, 05 Aug 2003 05:25:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jy3S-0006M3-Ez
	for classpath@gnu.org; Tue, 05 Aug 2003 05:25:01 -0400
Received: from [212.227.126.183] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jy2a-0005qK-Iq
	for classpath@gnu.org; Tue, 05 Aug 2003 05:23:36 -0400
Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19jy2Y-00026L-00
	for classpath@gnu.org; Tue, 05 Aug 2003 11:23:34 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19jy2Y-0006OO-00
	for classpath@gnu.org; Tue, 05 Aug 2003 11:23:34 +0200
Message-ID: <3F2F7796.80307@aicas.com>
Date: Tue, 05 Aug 2003 11:23:34 +0200
From: =?ISO-8859-1?Q?Ingo_Pr=F6tel?= <proetel@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath Discussion Mailing List <classpath@gnu.org>
References: <739FB8F4-C6D5-11D7-A28F-003065F97F7C@mckinlay.net.nz>
	<87he4wkg85.fsf@fleche.redhat.com>
In-Reply-To: <87he4wkg85.fsf@fleche.redhat.com>
X-Enigmail-Version: 0.71.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Aug 2003 09:28:24 -0000

Hi,

would like to propose a modification to Toms fix. It looks to me as if 
all fields of a deserialized object are accessible as well as the 
private readObject-Method. Or does the VM reset the Accessible flag?

I think we need to reset the accessible flag after we are done with the 
field or method:


  private void callReadMethod (Object obj, ObjectStreamClass osc) throws 
IOException
  {
  ...
    boolean saved = setAccessible(m,true);
    m.invoke (obj, args);
    setAccessible(m,saved);
  ...
  }
 
  /**
   * Sets the accessible flag of theAccessible in a privileged action.
   * @param theAccessible
   * @param isAccessible
   * @return the previous value of theAccessible.isAccessible()
   */
  private static boolean setAccessible(final AccessibleObject 
theAccessible, boolean isAccessible){
      boolean oldValue = theAccessible.isAccessible();
    AccessController.doPrivileged(new PrivilegedAction()
      {
      public Object run()
        {
        theAccessible.setAccessible(true);
        return null;
        }
      });
    return oldValue;
  }

--ingo




From MAILER-DAEMON Tue Aug 05 06:13:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19jyoT-0003Ca-Qe
	for mharc-classpath@gnu.org; Tue, 05 Aug 2003 06:13:05 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19jyoP-00039Q-FZ
	for classpath@gnu.org; Tue, 05 Aug 2003 06:13:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19jynt-0002uD-Hl
	for classpath@gnu.org; Tue, 05 Aug 2003 06:13:00 -0400
Received: from [193.74.71.22] (helo=guri.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jyUZ-0006c0-5v
	for classpath@gnu.org; Tue, 05 Aug 2003 05:52:31 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.kpn.be  with SMTP id h759qNM16804; 
	Tue, 5 Aug 2003 11:52:24 +0200
Message-Id: <200308050952.h759qNM16804@guri.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Tue, 5 Aug 2003 11:52:24 +0200
X-Mailer: KMail [version 1.3]
References: <739FB8F4-C6D5-11D7-A28F-003065F97F7C@mckinlay.net.nz>
In-Reply-To: <739FB8F4-C6D5-11D7-A28F-003065F97F7C@mckinlay.net.nz>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: tromey@redhat.com, Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Aug 2003 10:13:03 -0000

On Tuesday 05 August 2003 01:43, Bryce McKinlay wrote:

> The performance implications of all this are also rather concerning -
> walking up the stack is going to be fairly slow. But I presume that for
> normal applications where security is not required (ie
> System.getSecurityManager()), such checks are avoided?

Performance is definitely an issue, so ideally it should be possible to omit 
stack checks in systems where this is not required.  But you only need to do 
a stack walk when explicitly requested, i.e when 
AccessController.checkPermission() is invoked.  For each stack frame you have 
to find the ProtectionDomain associated with the class in which the method 
being executed was declared; the set of distinct ProtectionDomain's is the 
AccessControlContext which will determine wheher the check passes or fails.  
Most of the time the number of distinct ProtectionDomain's will be rather 
small, the order doesn't matter, and all-powerful "system" classes have no 
effect on the end result; so opportunities for optimisation abound.

-- 
Chris Gray                                /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi              http://www.kiffer.be/k/
chris.gray@kiffer.be                      +32 477 599 703



From MAILER-DAEMON Tue Aug 05 07:51:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19k0M5-0000qk-G5
	for mharc-classpath@gnu.org; Tue, 05 Aug 2003 07:51:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19k0M3-0000pm-Nl
	for classpath@gnu.org; Tue, 05 Aug 2003 07:51:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19k0LV-0000XN-S4
	for classpath@gnu.org; Tue, 05 Aug 2003 07:51:49 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19jzxa-0002ld-SD
	for classpath@gnu.org; Tue, 05 Aug 2003 07:26:34 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 5 Aug 2003 13:26:27 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC453E@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: String question
Thread-Index: AcNbRGhw9um0hW+YS8O26ayi0zv5kw==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Classpath Discussion Mailing List" <classpath@gnu.org>
Subject: String question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Aug 2003 11:51:52 -0000

Hi,

Would anyone mind if I made the
java.lang.String.CaseInsensitiveComparator inner class non-private (i.e.
make it package accessible)?

Regards,
Jeroen



From MAILER-DAEMON Tue Aug 05 14:56:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19k6zD-0007h3-UI
	for mharc-classpath@gnu.org; Tue, 05 Aug 2003 14:56:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19k6zC-0007gR-8R
	for classpath@gnu.org; Tue, 05 Aug 2003 14:56:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19k6yg-0007Wj-8A
	for classpath@gnu.org; Tue, 05 Aug 2003 14:56:41 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19k6ye-0007WA-25
	for classpath@gnu.org; Tue, 05 Aug 2003 14:56:08 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id MAA24128;
	Tue, 5 Aug 2003 12:56:03 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 996A64F86EA; Tue,  5 Aug 2003 12:48:51 -0600 (MDT)
To: "Jeroen Frijters" <jeroen@sumatra.nl>
References: <788B535AB1F9CB49BB9C229372B50ACC453E@LEMBU.sumatrasoftware.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: GOOD-NIGHT, everybody..  Now I have to go administer FIRST-AID
	to my pet LEISURE SUIT!!
Date: 05 Aug 2003 12:48:51 -0600
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC453E@LEMBU.sumatrasoftware.com>
Message-ID: <87fzkgey98.fsf@fleche.redhat.com>
Lines: 10
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: String question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Aug 2003 18:56:43 -0000

>>>>> "Jeroen" == Jeroen Frijters <jeroen@sumatra.nl> writes:

Jeroen> Would anyone mind if I made the
Jeroen> java.lang.String.CaseInsensitiveComparator inner class
Jeroen> non-private (i.e.  make it package accessible)?

I'm sure it would be fine.
But why do you need this?

Tom



From MAILER-DAEMON Tue Aug 05 15:03:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19k75g-0001jT-9J
	for mharc-classpath@gnu.org; Tue, 05 Aug 2003 15:03:24 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19k75d-0001i2-Fs
	for classpath@gnu.org; Tue, 05 Aug 2003 15:03:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19k757-0001Wg-MB
	for classpath@gnu.org; Tue, 05 Aug 2003 15:03:20 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19k70R-0008Hu-3R
	for classpath@gnu.org; Tue, 05 Aug 2003 14:57:59 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id MAA24690;
	Tue, 5 Aug 2003 12:57:56 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id E7D4A4F86EA; Tue,  5 Aug 2003 12:50:43 -0600 (MDT)
To: =?iso-8859-15?q?Ingo_Pr=F6tel?= <proetel@aicas.com>
References: <739FB8F4-C6D5-11D7-A28F-003065F97F7C@mckinlay.net.nz>
	<87he4wkg85.fsf@fleche.redhat.com> <3F2F7796.80307@aicas.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: A GRAM??  A BRAM...  A GROOM...  A BROOM...  Oh, Yeh!!  Wash the
	ROOM!!
Date: 05 Aug 2003 12:50:43 -0600
In-Reply-To: <3F2F7796.80307@aicas.com>
Message-ID: <87brv4ey64.fsf@fleche.redhat.com>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Aug 2003 19:03:22 -0000

>>>>> "Ingo" == Ingo Prötel <proetel@aicas.com> writes:

Ingo> would like to propose a modification to Toms fix. It looks to me as if
Ingo> all fields of a deserialized object are accessible as well as the
Ingo> private readObject-Method. Or does the VM reset the Accessible flag?

No, nothing resets the flag.

I assume you are doing this because your Class implementation caches
the Field and Method objects.  I don't think that is valid.  If we
call setAccessible on a Method, then even if we reset it we are
opening up a window where other unprivileged code could access that
Method.  This can only happen in the serialization code if Class
returns the same Method or Field object to other callers.

Tom



From MAILER-DAEMON Tue Aug 05 15:20:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19k7MA-0005G4-RK
	for mharc-classpath@gnu.org; Tue, 05 Aug 2003 15:20:26 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19k7M8-0005FX-98
	for classpath@gnu.org; Tue, 05 Aug 2003 15:20:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19k7Lc-00057E-Ha
	for classpath@gnu.org; Tue, 05 Aug 2003 15:20:23 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19k7Kw-0004zD-Sw
	for classpath@gnu.org; Tue, 05 Aug 2003 15:19:11 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19k7Im-0007gC-00; Tue, 05 Aug 2003 21:16:56 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19k7Kn-0001XR-00; Tue, 05 Aug 2003 21:19:01 +0200
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <87brv4ey64.fsf@fleche.redhat.com>
References: <739FB8F4-C6D5-11D7-A28F-003065F97F7C@mckinlay.net.nz>
	<87he4wkg85.fsf@fleche.redhat.com> <3F2F7796.80307@aicas.com>
	<87brv4ey64.fsf@fleche.redhat.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1060111141.736.25.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 05 Aug 2003 21:19:01 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Aug 2003 19:20:25 -0000

Hi,

On Tue, 2003-08-05 at 20:50, Tom Tromey wrote:
> I assume you are doing this because your Class implementation caches
> the Field and Method objects.  I don't think that is valid.  If we
> call setAccessible on a Method, then even if we reset it we are
> opening up a window where other unprivileged code could access that
> Method.  This can only happen in the serialization code if Class
> returns the same Method or Field object to other callers.

It is not valid, but the vm reference classes of GNU Classpath do
suggest this wrong optimization. I just added a couple of tests to Mauve
to check that this optimization isn't made.

Cheers,

Mark



From MAILER-DAEMON Tue Aug 05 15:22:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19k7OY-00063B-W4
	for mharc-classpath@gnu.org; Tue, 05 Aug 2003 15:22:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19k7OW-00062X-25
	for classpath@gnu.org; Tue, 05 Aug 2003 15:22:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19k7Nz-0005jU-I4
	for classpath@gnu.org; Tue, 05 Aug 2003 15:22:50 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19k7Nz-0005iv-5g
	for classpath@gnu.org; Tue, 05 Aug 2003 15:22:19 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19k7Lv-0007gO-00; Tue, 05 Aug 2003 21:20:11 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19k7Nw-0001Xi-00; Tue, 05 Aug 2003 21:22:16 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC453E@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC453E@LEMBU.sumatrasoftware.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1060111336.753.28.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 05 Aug 2003 21:22:16 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: String question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Aug 2003 19:22:52 -0000

Hi,

On Tue, 2003-08-05 at 13:26, Jeroen Frijters wrote:
> Would anyone mind if I made the
> java.lang.String.CaseInsensitiveComparator inner class non-private (i.e.
> make it package accessible)?

I think this is OK. But make sure that you mark the class final so VMs
can still optimize it. And document clearly why this is necessary (and
not just - IKVM.NET needs this), otherwise someone will probably make it
private again in the future.

Cheers,

Mark



From MAILER-DAEMON Wed Aug 06 06:38:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19kLYh-0000Go-5R
	for mharc-classpath@gnu.org; Wed, 06 Aug 2003 06:30:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19kLUu-0007CC-BQ
	for classpath@gnu.org; Wed, 06 Aug 2003 06:26:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19kLND-0002dg-Vz
	for classpath@gnu.org; Wed, 06 Aug 2003 06:18:59 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19kLKm-0001UU-SO
	for classpath@gnu.org; Wed, 06 Aug 2003 06:15:57 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 6 Aug 2003 12:02:46 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC454A@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: String question
Thread-Index: AcNbgz3+emlZCNvcT5Cf4rg9TYnVBAAamstA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <tromey@redhat.com>
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: RE: String question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Aug 2003 10:30:13 -0000

Tom Tromey wrote:
> >>>>> "Jeroen" =3D=3D Jeroen Frijters <jeroen@sumatra.nl> writes:
>=20
> Jeroen> Would anyone mind if I made the
> Jeroen> java.lang.String.CaseInsensitiveComparator inner class
> Jeroen> non-private (i.e.  make it package accessible)?
>=20
> I'm sure it would be fine.
> But why do you need this?

It's a complicated scenario and I'm not sure I'm happy with it. I'll try
to explain:

IKVM.NET doesn't use java.lang.String, because it uses the String class
from the underlying platform (.NET). However, to build GNU Classpath
(using a regular Java compiler, I use Jikes) I have to have a String
class, so it makes sense to use java/lang/String.java from Classpath for
this. Now, obviously, the .NET String doesn't provide all the methods
that java.lang.String does, so I have a package private helper class
java.lang.StringHelper that contains static methods that implement all
the missing String methods. It also contains the static field
CASE_INSENSITIVE_ORDER, and this is intialized with an instance of
java.lang.String.CaseInsensitiveComparator, because it is private I
cannot directly instantiate it from within my Java StringHelper class, I
have to use a "native" method. It would be cleaner if I could just
instantiate it from within my StringHelper code.

An alternative would be to provide my own implementation of a
java.lang.String$CaseInsensitiveComparator class and pretend it is an
inner class of java.lang.String, but this has the downside that it
complicates my build process (I have to ignore the Classpath
String$CaseInsensitiveComparator.class) and I have to duplicate the
(admittedly small) source code.

Regards,
Jeroen



From MAILER-DAEMON Wed Aug 06 13:28:37 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19kS5U-0001yk-N0
	for mharc-classpath@gnu.org; Wed, 06 Aug 2003 13:28:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19kS5R-0001wL-RW
	for classpath@gnu.org; Wed, 06 Aug 2003 13:28:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19kS4v-0001eJ-7D
	for classpath@gnu.org; Wed, 06 Aug 2003 13:28:32 -0400
Received: from [62.4.16.103] (helo=kraid.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19kRBR-0001sd-Sb
	for classpath@gnu.org; Wed, 06 Aug 2003 12:30:41 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by kraid.nerim.net (Postfix) with ESMTP id C6DA640E37
	for <classpath@gnu.org>; Wed,  6 Aug 2003 18:30:38 +0200 (CEST)
Message-ID: <3F312F0B.407@kaffe.org>
Date: Wed, 06 Aug 2003 18:38:35 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Aug 2003 17:28:34 -0000

Hi !

I am trying to import object serialization classes from Classpath to 
kaffe. I managed
 to make them work together but I found some behaviour inconsistencies. 
For example,
I do not understand the method 
java.io.ObjectStreamClass.getSerialPersistentFields:
apparently the official documentation says we must use the field 
serialPersistentFields
to explicitly describe the fields to be exported, however you seem to use
"getSerialPersistentFields" instead. Besides you suppress the check for 
the availability
of the field although it is quite sure it will not be there (I did not 
find it in the all source
code of classpath): this causes some huge NullPointerException problems.
The only solution is to change the name "getSerialPersistentFields" into 
"serialPersistentFields"
but I do not see the point to complicate things... :( (if someone can 
explain it to me)

For the moment, there are still some problems with kaffe's regression 
tests and trying to
reduce them...

Cheers,
Guilhem.




From MAILER-DAEMON Thu Aug 07 09:40:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19kl09-0007Ym-Bh
	for mharc-classpath@gnu.org; Thu, 07 Aug 2003 09:40:21 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19kl06-0007YP-Ug
	for classpath@gnu.org; Thu, 07 Aug 2003 09:40:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19kkza-0007Nt-Al
	for classpath@gnu.org; Thu, 07 Aug 2003 09:40:18 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19kkza-0007NW-1g
	for classpath@gnu.org; Thu, 07 Aug 2003 09:39:46 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19kkxT-0003rm-00; Thu, 07 Aug 2003 15:37:35 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19kkzV-0000Vw-00; Thu, 07 Aug 2003 15:39:41 +0200
From: Mark Wielaard <mark@klomp.org>
To: Guilhem Lavaux <guilhem@kaffe.org>
In-Reply-To: <3F312F0B.407@kaffe.org>
References: <3F312F0B.407@kaffe.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1060263581.750.62.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 07 Aug 2003 15:39:41 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: classpath@gnu.org
Subject: Re: Serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Aug 2003 13:40:19 -0000

Hi,

On Wed, 2003-08-06 at 18:38, Guilhem Lavaux wrote:
> I am trying to import object serialization classes from Classpath to 
> kaffe.

Cool. If there is anything to make the use of these classes with Kaffe
easier, please let us know.

The ObjectIn/OutputStream implementations from GNU Classpath are not
perfect though. There are some mauve failures. But for most cases they
seem to work very well.

> For example,
> I do not understand the method 
> java.io.ObjectStreamClass.getSerialPersistentFields:
> apparently the official documentation says we must use the field 
> serialPersistentFields
> to explicitly describe the fields to be exported, however you seem to use
> "getSerialPersistentFields" instead.

That must be a type. Clearly the field name to get should be just
"serialPersistentFields". There isn't a test for this in Mauve and the
only use of serialPersustentFields in the core libraries has been
removed a long time ago. Thanks for finding this.

> Besides you suppress the check for 
> the availability
> of the field although it is quite sure it will not be there (I did not 
> find it in the all source
> code of classpath): this causes some huge NullPointerException problems.
> The only solution is to change the name "getSerialPersistentFields" into 
> "serialPersistentFields"
> but I do not see the point to complicate things... :( (if someone can 
> explain it to me)

The only user of the method is setFields() which does the check before
calling getSerialPersistentFields() (it checks by also doing a
getDeclaredField, but this time with the correct spelling).

I agree that the code is not that clean.

Cheers,

Mark



From MAILER-DAEMON Thu Aug 07 09:54:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19klA6-0004jt-8L
	for mharc-classpath@gnu.org; Thu, 07 Aug 2003 09:50:38 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19kl9O-00045f-Or
	for classpath@gnu.org; Thu, 07 Aug 2003 09:49:54 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19kl8O-0003Mx-4j
	for classpath@gnu.org; Thu, 07 Aug 2003 09:49:23 -0400
Received: from [62.4.17.104] (helo=mallaury.noc.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19kl8N-0003ML-Pw
	for classpath@gnu.org; Thu, 07 Aug 2003 09:48:51 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by mallaury.noc.nerim.net (Postfix) with ESMTP
	id 06BC762D33; Thu,  7 Aug 2003 15:48:49 +0200 (CEST)
Message-ID: <3F325A9E.4040906@kaffe.org>
Date: Thu, 07 Aug 2003 15:56:46 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <3F312F0B.407@kaffe.org> <1060263581.750.62.camel@localhost>
In-Reply-To: <1060263581.750.62.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Aug 2003 13:50:36 -0000

Mark Wielaard wrote:

>Hi,
>  
>
>>Besides you suppress the check for 
>>the availability
>>of the field although it is quite sure it will not be there (I did not 
>>find it in the all source
>>code of classpath): this causes some huge NullPointerException problems.
>>The only solution is to change the name "getSerialPersistentFields" into 
>>"serialPersistentFields"
>>but I do not see the point to complicate things... :( (if someone can 
>>explain it to me)
>>    
>>
>
>The only user of the method is setFields() which does the check before
>calling getSerialPersistentFields() (it checks by also doing a
>getDeclaredField, but this time with the correct spelling).
>
>I agree that the code is not that clean.
>  
>
Once I have the agreement I will submit the necessary modifications to 
make the serialization a little
stronger (well at least it will make kaffe's regression test pass). 
There are still one or two issues like the
fact the serializer does not check invalid serialPersistentFields but it 
nearly behaves rightfully.

Cheers,
Guilhem.




From MAILER-DAEMON Fri Aug 08 22:39:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19lJPa-0000Bm-6n
	for mharc-classpath@gnu.org; Fri, 08 Aug 2003 22:24:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19lBrP-0003l7-7r
	for classpath@gnu.org; Fri, 08 Aug 2003 14:21:07 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19lBqr-0003eA-47
	for classpath@gnu.org; Fri, 08 Aug 2003 14:21:04 -0400
Received: from [81.96.64.123] (helo=cuddles.cambridge.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19lBqq-0003dD-OU
	for classpath@gnu.org; Fri, 08 Aug 2003 14:20:32 -0400
Received: from cuddles.cambridge.redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	h78IKP2g026281; Fri, 8 Aug 2003 19:20:25 +0100
Received: (from aph@localhost)
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8/Submit) id
	h78IKOwU026277; Fri, 8 Aug 2003 19:20:24 +0100
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16179.59880.633414.643532@cuddles.cambridge.redhat.com>
Date: Fri, 8 Aug 2003 19:20:24 +0100
To: classpath@gnu.org
X-Mailer: VM 7.14 under Emacs 21.2.1
X-Mailman-Approved-At: Fri, 08 Aug 2003 22:24:51 -0400
Subject: Small patch: java/io/PrintStream.java
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Aug 2003 21:53:43 -0000

Hi everyone, I'm aph, gcj maintainer.

I've joined in order to merge bug fixes I make to libngcj into
Classpath.  Here's my first.

Andrew.


2003-08-07  Andrew Haley  <aph@redhat.com>

	* java/io/PrintStream.java (print(String)): Don't crash on a null
	string.
	
Index: PrintStream.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/PrintStream.java,v
retrieving revision 1.21
diff -u -r1.21 PrintStream.java
--- PrintStream.java	28 Jun 2003 08:27:29 -0000	1.21
+++ PrintStream.java	7 Aug 2003 15:45:08 -0000
@@ -256,7 +256,7 @@
   {
     pw.print (str);
 
-    if (auto_flush)
+    if (str != null && auto_flush)
       if ((str.indexOf ('\r') != -1)
           || (str.indexOf ('\n') != -1))
         flush ();



From MAILER-DAEMON Sun Aug 10 09:34:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19lqKp-0006Qg-CC
	for mharc-classpath@gnu.org; Sun, 10 Aug 2003 09:34:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19lqKm-0006Nm-3z
	for classpath@gnu.org; Sun, 10 Aug 2003 09:34:08 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19lqKF-0005dh-7F
	for classpath@gnu.org; Sun, 10 Aug 2003 09:34:07 -0400
Received: from [217.24.218.112] (helo=werno.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19lqKE-0005aq-NX
	for classpath@gnu.org; Sun, 10 Aug 2003 09:33:34 -0400
Received: from werno.com (werno.com [217.24.218.112])
	by werno.com (8.12.8/8.12.8) with SMTP id h7ADWGfR014375
	for <classpath@gnu.org>; Sun, 10 Aug 2003 15:32:16 +0200
Received: from 217.234.121.140 (SquirrelMail authenticated user peter)
	by mail.werno.biz with HTTP; Sun, 10 Aug 2003 15:32:16 +0200 (CEST)
Message-ID: <65167.217.234.121.140.1060522336.squirrel@mail.werno.biz>
Date: Sun, 10 Aug 2003 15:32:16 +0200 (CEST)
From: "Peter Werno" <peter@werno.biz>
To: <classpath@gnu.org>
X-Priority: 3
Importance: Normal
X-Mailer: SquirrelMail (version 1.2.11)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Subject: Developing VM
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Aug 2003 13:34:08 -0000

Hello everybody,

we are developing a new Virtual Machine for Amiga OS
(http://sourceforge.net/projects/jamiga) which will be bundled with the
GNU classpath.

Our VM is following a differnet approach and JNI has not been implemented
yet. Moreover, we tend to implement a lot of the core functions/classes
natively straight into the VM, as the older 68K-processors of the
Amiga-Systems are not really up to speed with modern Intel or IBM-chips!

For this reason, it would be very useful, if we could get information on
changes, especially where native method calls are involved.

Would this kind of information usually be broadcasted on this mailing
list, or are there different channels that I should subscribe to?

Many thanks,

Peter Werno








From MAILER-DAEMON Sun Aug 10 10:41:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19lrNT-0003Ms-Rc
	for mharc-classpath@gnu.org; Sun, 10 Aug 2003 10:40:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19lrNR-0003Mj-JC
	for classpath@gnu.org; Sun, 10 Aug 2003 10:40:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19lrMv-0003KZ-T9
	for classpath@gnu.org; Sun, 10 Aug 2003 10:40:56 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19lrMv-0003KV-Dg
	for classpath@gnu.org; Sun, 10 Aug 2003 10:40:25 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19lrKo-0004x2-00
	for <classpath@gnu.org>; Sun, 10 Aug 2003 16:38:14 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1060526423.1050.57.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 10 Aug 2003 16:40:23 +0200
Content-Transfer-Encoding: 7bit
Subject: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Aug 2003 14:40:58 -0000

Hi all,

A little reminder. We want to release a new GNU Classpath snapshot
release (0.06) next Friday (August 15).

Things to do/decide before the release:

- What should really go in before the release?
  - There are still some open bugs:
    http://savannah.gnu.org/bugs/?group=classpath
    Not all are analyzed yet, but although it would be nice to fix/close
    some of these there don't seem to be any showstoppers.
  - There is still one open patch for SecurityManager/VMSecurityManager
    http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1031&group_id=85
    Don't know how urgent this is. I would like to see a real design how
    to handle this and related methods in a VM independent way, but that
    is probably not 0.06 material. (JRVM hackers, how important is it
    that this goes in? We can always add a hack for 0.06 if that really
    helps you out.)
  - Is there any progress on the Thread/VMThread split?
    Would be nice to get that in, but it will require work to make it
    work with the different VMs so it better go in quickly
    (today/tomorrow).
  - Is something else important missing? Please email me/the list with
    suggestions.

- Creating release tar balls.
  I am playing with this now. It seems that this is not to difficult
  (Just type: make dist). Have to check to things:
  - How to get gjdoc installed and generate correct api documentation.
  - Why my make install does not create any plain .so files
    (The .0, .0.0.0 and .la do get installed, but I have to symlink the
     .so to the .0.0.0 files by hand...)

- Update the NEWS file.
  - It contains all VM interface changes which is good.
  - It should contain all important additions/bug fixes made for this
    release. This can be done by going through the bug/patch database
    and the ChangeLog file. (Any volunteers?)

- Bumping the version number and tag the CVS treee (DON'T FORGET!)
  - Will do this just before the final release.

- Upload the release to alpha.gnu.org
  - Some yoyo thought it would be funny to crack the main GNU file
    server. So they had to disable all accounts, reinstall the whole
    machine and clean everything up :{ Hopefully this will be done
    before Friday, otherwise we have to host the tar ball somewhere else
    for the moment.

- Create release notes and post them to relevant forums.
  - Should be easy by taking the news items regarding older releases
    <http://savannah.gnu.org/news/?group=classpath> and combine them
    with the NEWS items.
    
Cheers,

Mark




From MAILER-DAEMON Sun Aug 10 11:13:19 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19lrsk-0006MO-6c
	for mharc-classpath@gnu.org; Sun, 10 Aug 2003 11:13:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19lrsh-0006Fb-82
	for classpath@gnu.org; Sun, 10 Aug 2003 11:13:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19lrs8-0005OM-LK
	for classpath@gnu.org; Sun, 10 Aug 2003 11:13:11 -0400
Received: from [62.4.17.100] (helo=mallaury.noc.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19lrs8-0005ML-9n
	for classpath@gnu.org; Sun, 10 Aug 2003 11:12:40 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by mallaury.noc.nerim.net (Postfix) with ESMTP
	id E7D8962D04; Sun, 10 Aug 2003 17:12:36 +0200 (CEST)
Message-ID: <3F3662C2.5010904@kaffe.org>
Date: Sun, 10 Aug 2003 17:20:34 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: kaffe@kaffe.org, classpath@gnu.org
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
Cc: 
Subject: Serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Aug 2003 15:13:16 -0000

Hi,

I nearly managed to get Classpath's serialization up to kaffe's level=20
and at the
same time keeping the advantage of it. However, it is "nearly". As I said=
 to
Mark Wielaard, kaffe's regression tests TestSerialVersions.Test0007,=20
Test0009,
Test0010, Test0011, Test0013 fails; but also TestSerialFields.Test0010 an=
d
Test0015. These tests are problematic because it seems the field=20
serialPersistentFields
has an effect on the deserialization. The specification is not really=20
clear for that
point although all documentation I came across says=20
serialPersistentFields is normally only used
for serialization. I checked JDK: except for one test, its output is the=20
same
as the expected one (which means kaffe's previous implementation was righ=
t
except for one test).

What is your opinion on that ? The spec of serialization says:
"By using |serialPersistentFields| to define the Serializable fields for=20
a class,
there no longer is a limitation that a serializable field must be a=20
field within
the current definition of the |Serializable| class. The |writeObject|=20
and |readObject|
methods of the |Serializable| class can map the current implementation=20
of the
class to the serializable fields of the class using the interface that=20
is described
in Section 1.7 "Accessing Serializable Fields of a Class
<http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/serial-arch=
.html#wp5253>.=94
Therefore, the fields for a |Serializable| class can change in a later=20
release, as
long as it maintains the mapping back to its Serializable fields that=20
must remain
compatible across release boundaries."

However I cam across an RMI's documentation which says=20
serialPersistentFields should
only be used for writing objects and not reading them.

So ?

Cheers,
Guilhem.




From MAILER-DAEMON Sun Aug 10 13:09:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19lthA-0005b3-Gd
	for mharc-classpath@gnu.org; Sun, 10 Aug 2003 13:09:28 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19lth8-0005aO-GR
	for classpath@gnu.org; Sun, 10 Aug 2003 13:09:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ltgc-0005Tm-NO
	for classpath@gnu.org; Sun, 10 Aug 2003 13:09:25 -0400
Received: from [24.93.67.84] (helo=ms-smtp-03.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ltgc-0005TQ-DS
	for classpath@gnu.org; Sun, 10 Aug 2003 13:08:54 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7AH6oaQ022689; Sun, 10 Aug 2003 13:06:50 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 9A9F0BE6B7; Sun, 10 Aug 2003 13:08:48 -0400 (EDT)
Sender: cbj@haphazard.org
To: Peter Werno <peter@werno.biz>
References: <65167.217.234.121.140.1060522336.squirrel@mail.werno.biz>
From: Brian Jones <cbj@gnu.org>
Date: 10 Aug 2003 13:08:48 -0400
In-Reply-To: <65167.217.234.121.140.1060522336.squirrel@mail.werno.biz>
Message-ID: <m3vft5xwwv.fsf@lyta.haphazard.org>
Lines: 28
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Developing VM
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Aug 2003 17:09:27 -0000

Peter Werno <peter@werno.biz> writes:

> Hello everybody,
> 
> we are developing a new Virtual Machine for Amiga OS
> (http://sourceforge.net/projects/jamiga) which will be bundled with the
> GNU classpath.
> 
> Our VM is following a differnet approach and JNI has not been implemented
> yet. Moreover, we tend to implement a lot of the core functions/classes
> natively straight into the VM, as the older 68K-processors of the
> Amiga-Systems are not really up to speed with modern Intel or IBM-chips!
> 
> For this reason, it would be very useful, if we could get information on
> changes, especially where native method calls are involved.
> 
> Would this kind of information usually be broadcasted on this mailing
> list, or are there different channels that I should subscribe to?

Generally we put in NEWS information concerning a change to the VM
interface.  However the information you want is more detailed,
relating to all native method changes.  You may wish to subscribe to
the commit mailing list and simply monitor commits for anything that
seems pertinent.

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



From MAILER-DAEMON Sun Aug 10 13:25:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ltwV-0003mH-9l
	for mharc-classpath@gnu.org; Sun, 10 Aug 2003 13:25:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ltwR-0003X0-0u
	for classpath@gnu.org; Sun, 10 Aug 2003 13:25:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ltvu-0002gw-Bv
	for classpath@gnu.org; Sun, 10 Aug 2003 13:25:13 -0400
Received: from [24.93.67.82] (helo=ms-smtp-01.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ltvD-0001fe-NF
	for classpath@gnu.org; Sun, 10 Aug 2003 13:23:59 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7AHHIos023177; Sun, 10 Aug 2003 13:17:21 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 5F4C1BE6B7; Sun, 10 Aug 2003 13:23:56 -0400 (EDT)
Sender: cbj@haphazard.org
To: Guilhem Lavaux <guilhem@kaffe.org>
References: <3F3662C2.5010904@kaffe.org>
From: Brian Jones <cbj@gnu.org>
Date: 10 Aug 2003 13:23:56 -0400
In-Reply-To: <3F3662C2.5010904@kaffe.org>
Message-ID: <m3r83txw7n.fsf@lyta.haphazard.org>
Lines: 31
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: Serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Aug 2003 17:25:17 -0000

Guilhem Lavaux <guilhem@kaffe.org> writes:

> Hi,
> 
> I nearly managed to get Classpath's serialization up to kaffe's
> level and at the same time keeping the advantage of it. However, it
> is "nearly".
> 
> However I cam across an RMI's documentation which says
> serialPersistentFields should only be used for writing objects and
> not reading them.

It's kind of weird, as I recall initially people were supposed to
support older versions of a serialized object by checking the
serialVersionUID and if/else if/etc. the read/write object code.  This
seems to say another method is to always use the older serialized form
and translate to/from it using serialPersistentFields, the advantage
being a newer version could be used by an older version.

I intend to work on verifying serial compatibility with JDK 1.1
through 1.4 (maybe 1.5 beta) in the next couple of months, but I maybe
should hold off until the framework is working as intended.  I have
code that instantiates serializable classes and serializes to XML or
normal serialized representation.  Comparing via diff isn't that hard
on the XML afterward.  Testing that Classpath's libraries can in fact
read the serialized forms is also not too difficult.  I might should
spend time making it easy to run as a suite of tests.

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



From MAILER-DAEMON Sun Aug 10 13:28:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ltzM-0006xY-8e
	for mharc-classpath@gnu.org; Sun, 10 Aug 2003 13:28:16 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ltzK-0006wp-V6
	for classpath@gnu.org; Sun, 10 Aug 2003 13:28:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ltyo-0006hr-Mz
	for classpath@gnu.org; Sun, 10 Aug 2003 13:28:13 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ltyn-0006gt-IO
	for classpath@gnu.org; Sun, 10 Aug 2003 13:27:41 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19ltwb-0005Dw-00; Sun, 10 Aug 2003 19:25:25 +0200
From: Mark Wielaard <mark@klomp.org>
To: Peter Werno <peter@werno.biz>
In-Reply-To: <65167.217.234.121.140.1060522336.squirrel@mail.werno.biz>
References: <65167.217.234.121.140.1060522336.squirrel@mail.werno.biz>
Content-Type: text/plain
Message-Id: <1060536453.1050.121.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 10 Aug 2003 19:27:34 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Developing VM
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Aug 2003 17:28:15 -0000

Hi,

On Sun, 2003-08-10 at 15:32, Peter Werno wrote:
> we are developing a new Virtual Machine for Amiga OS
> (http://sourceforge.net/projects/jamiga) which will be bundled with the
> GNU classpath.

Nice. Hope you find GNU Classpath useful for bringing a VM to that
platform.

> Our VM is following a differnet approach and JNI has not been implemented
> yet. Moreover, we tend to implement a lot of the core functions/classes
> natively straight into the VM, as the older 68K-processors of the
> Amiga-Systems are not really up to speed with modern Intel or IBM-chips!

In principle GNU Classpath can be used by VMs that don't support JNI.
But JNI makes things a lot easier since for almost everything we supply
native JNI C based implementations. But we also try to setup everything
so that classes don't need explicit native methods. In principle every
class that needs native or VM support (or a particular system/VM
optimization) delegates to a package private final VMSomething class
that is VM dependent and that does the correct thing on that VM (so if
the VM supports JNI then in most cases it can use the default
vm/reference classes that use the supplied native JNI implementations.

But this support is not complete yet so we need developers of VMs that
don't support JNI to help us point out where we need to abstract away
from direct native methods. Welcome! You have just volunteered :)

> For this reason, it would be very useful, if we could get information on
> changes, especially where native method calls are involved.
> 
> Would this kind of information usually be broadcasted on this mailing
> list, or are there different channels that I should subscribe to?

There are two mailinglist: http://savannah.gnu.org/mail/?group=classpath
classpath@gnu.org and commit-classpath@gnu.org. The first one (this
mailinglist) is were all the technical discussion takes place, also
discussion related to VM interface changes (which should always be
listed in the NEWS file).
If you want to follow development closely then you also need to
subscribe to the second mailinglist which gets email whenever code in
CVS changes or the bug or patch tracker record changes.

Cheers,

Mark




From MAILER-DAEMON Sun Aug 10 14:31:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19luyk-0001MA-8b
	for mharc-classpath@gnu.org; Sun, 10 Aug 2003 14:31:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19luyi-0001HZ-2z
	for classpath@gnu.org; Sun, 10 Aug 2003 14:31:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19luyB-00018J-4p
	for classpath@gnu.org; Sun, 10 Aug 2003 14:31:39 -0400
Received: from [217.24.218.112] (helo=werno.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19luyA-00018D-NX
	for classpath@gnu.org; Sun, 10 Aug 2003 14:31:06 -0400
Received: from werno.com (werno.com [217.24.218.112])
	by werno.com (8.12.8/8.12.8) with SMTP id h7AITjfR015212;
	Sun, 10 Aug 2003 20:29:45 +0200
Received: from 217.234.121.140 (SquirrelMail authenticated user peter)
	by mail.werno.biz with HTTP; Sun, 10 Aug 2003 20:29:47 +0200 (CEST)
Message-ID: <65125.217.234.121.140.1060540187.squirrel@mail.werno.biz>
Date: Sun, 10 Aug 2003 20:29:47 +0200 (CEST)
From: "Peter Werno" <peter@werno.biz>
To: <mark@klomp.org>
In-Reply-To: <1060536453.1050.121.camel@elsschot>
References: <65167.217.234.121.140.1060522336.squirrel@mail.werno.biz>
	<1060536453.1050.121.camel@elsschot>
X-Priority: 3
Importance: Normal
X-Mailer: SquirrelMail (version 1.2.11)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Cc: classpath@gnu.org
Subject: Re: Developing VM
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Aug 2003 18:31:40 -0000

Hello Mark,

> Hi,
>
> On Sun, 2003-08-10 at 15:32, Peter Werno wrote:
>> we are developing a new Virtual Machine for Amiga OS
>> (http://sourceforge.net/projects/jamiga) which will be bundled with
>> the GNU classpath.
>
> Nice. Hope you find GNU Classpath useful for bringing a VM to that
> platform.
>

Yes, indeed. We tried with Sun's rt.jar first, but their documentation
...uhm... well ...
plus they were never answering any of our requests (e.g. wether or not we
could include the rt.jar with our vm). Once we moved to GNU classpath, it
took us only 2-3 days to "replace" everything and it now runs much
smoother :-)

>> Our VM is following a differnet approach and JNI has not been
>> implemented yet. Moreover, we tend to implement a lot of the core
>> functions/classes natively straight into the VM, as the older
>> 68K-processors of the Amiga-Systems are not really up to speed with
>> modern Intel or IBM-chips!
>
> In principle GNU Classpath can be used by VMs that don't support JNI.
> But JNI makes things a lot easier since for almost everything we supply
> native JNI C based implementations. But we also try to setup everything
> so that classes don't need explicit native methods. In principle every
> class that needs native or VM support (or a particular system/VM
> optimization) delegates to a package private final VMSomething class
> that is VM dependent and that does the correct thing on that VM (so if
> the VM supports JNI then in most cases it can use the default
> vm/reference classes that use the supplied native JNI implementations.
>
> But this support is not complete yet so we need developers of VMs that
> don't support JNI to help us point out where we need to abstract away
> from direct native methods. Welcome! You have just volunteered :)
>

I will help wherever I can :-)
>From the top of my head ... there is this "TimeZone" - class in the
java.util - package which defines a "getDefaultTimeZoneId" - method. Would
it make sense to redirect this to - say - the java.lang.VMSystem - class?
(The currentTimeMillis is defined in "System" too, so it's not too far off
:-) )

>> For this reason, it would be very useful, if we could get information
>> on changes, especially where native method calls are involved.
>>
>> Would this kind of information usually be broadcasted on this mailing
>> list, or are there different channels that I should subscribe to?
>
> There are two mailinglist: http://savannah.gnu.org/mail/?group=classpath
> classpath@gnu.org and commit-classpath@gnu.org. The first one (this
> mailinglist) is were all the technical discussion takes place, also
> discussion related to VM interface changes (which should always be
> listed in the NEWS file).
> If you want to follow development closely then you also need to
> subscribe to the second mailinglist which gets email whenever code in
> CVS changes or the bug or patch tracker record changes.
>
> Cheers,
>
> Mark

I will check that out! Thank you very much,

Peter Werno





From MAILER-DAEMON Sun Aug 10 14:33:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19lv03-0002Es-Fq
	for mharc-classpath@gnu.org; Sun, 10 Aug 2003 14:33:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19lv01-0002EC-IM
	for classpath@gnu.org; Sun, 10 Aug 2003 14:33:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19luzV-0001rA-Cv
	for classpath@gnu.org; Sun, 10 Aug 2003 14:33:00 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19luzV-0001qf-0s
	for classpath@gnu.org; Sun, 10 Aug 2003 14:32:29 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19luxM-0005KO-00; Sun, 10 Aug 2003 20:30:16 +0200
From: Mark Wielaard <mark@klomp.org>
To: Patrik Reali <reali@acm.org>
In-Reply-To: <003701c359ca$8f66ca10$0301a8c0@cyclone>
References: <003701c359ca$8f66ca10$0301a8c0@cyclone>
Content-Type: text/plain
Message-Id: <1060540345.1050.192.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 10 Aug 2003 20:32:25 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Jaos JVM
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Aug 2003 18:33:02 -0000

Hi Patrik,

On Sun, 2003-08-03 at 16:21, Patrik Reali wrote:
> The Jaos VM is a JVM using GNU Classpath implemented on top of the
> Aos/Bluebottle kernel [1]. This kernel offers many useful features like
> garbage collected memory management, dynamic module loading, and
> object-oriented model. This makes the implementation of a JVM particularly
> attractive and simple.

Thanks for the update and the nice description. It is really good to
know people find such innovative uses for GNU Classpath. I have added a
link to Jaos from the projects list on our homepage.

Cheers,

Mark




From MAILER-DAEMON Mon Aug 11 02:49:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19m6UU-000445-F2
	for mharc-classpath@gnu.org; Mon, 11 Aug 2003 02:49:14 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19m6US-00040U-Ix
	for classpath@gnu.org; Mon, 11 Aug 2003 02:49:12 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19m6Tw-0002tY-Bb
	for classpath@gnu.org; Mon, 11 Aug 2003 02:49:11 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19m6To-0002ez-PB
	for classpath@gnu.org; Mon, 11 Aug 2003 02:48:32 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19m6Rd-0006bB-00; Mon, 11 Aug 2003 08:46:17 +0200
From: Mark Wielaard <mark@klomp.org>
To: Peter Werno <peter@werno.biz>
In-Reply-To: <65125.217.234.121.140.1060540187.squirrel@mail.werno.biz>
References: <65167.217.234.121.140.1060522336.squirrel@mail.werno.biz>
	<1060536453.1050.121.camel@elsschot>
	<65125.217.234.121.140.1060540187.squirrel@mail.werno.biz>
Content-Type: text/plain
Message-Id: <1060584506.1011.9.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 11 Aug 2003 08:48:27 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Developing VM
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Aug 2003 06:49:13 -0000

Hi,

On Sun, 2003-08-10 at 20:29, Peter Werno wrote:
>
> From the top of my head ... there is this "TimeZone" - class in the
> java.util - package which defines a "getDefaultTimeZoneId" - method. Would
> it make sense to redirect this to - say - the java.lang.VMSystem - class?
> (The currentTimeMillis is defined in "System" too, so it's not too far off
> :-) )

That is indeed one of the places that needs to be abstracted away. Maybe
we could even just let the VM set some System property
(gnu.classpath.vm.default-timezone) to indicate this. But since the 0.06
release is coming soon it might be better to move such a decision to
next week after the release.

Cheers,

Mark




From MAILER-DAEMON Mon Aug 11 02:54:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19m6Zp-0000VS-EC
	for mharc-classpath@gnu.org; Mon, 11 Aug 2003 02:54:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19m6Zm-0000UW-MP
	for classpath@gnu.org; Mon, 11 Aug 2003 02:54:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19m6ZG-0000Fk-Oy
	for classpath@gnu.org; Mon, 11 Aug 2003 02:54:41 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19m6ZF-0000Fd-Oc
	for classpath@gnu.org; Mon, 11 Aug 2003 02:54:09 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C35FD5.5D028C88"
Date: Mon, 11 Aug 2003 08:53:58 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC456C@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: Preparing for 0.06 release
Thread-Index: AcNfTcOU11gyQPleTYiadVbgPK8ZMAAhkkLw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>,
	<classpath@gnu.org>
Cc: 
Subject: RE: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Aug 2003 06:54:43 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C35FD5.5D028C88
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Mark Wielaard wrote:
>   - Is there any progress on the Thread/VMThread split?
>     Would be nice to get that in, but it will require work to make it
>     work with the different VMs so it better go in quickly
>     (today/tomorrow).

I think it would be good if another VM implemented it, to see if the
proposed split works there as well (IKVM is already running with it).
Besides that, VMThread needs to be documented and a NEWS entry needs to
be written. I've attached the code I've got at the moment.

A side question (that's important for deciding whether to include it in
the 0.06 release), do any VMs use the unmodified reference Thread class?

Regards,
Jeroen

------_=_NextPart_001_01C35FD5.5D028C88
Content-Type: application/octet-stream;
	name="Thread.java"
Content-Transfer-Encoding: base64
Content-Description: Thread.java
Content-Disposition: attachment;
	filename="Thread.java"

LyogVGhyZWFkIC0tIGFuIGluZGVwZW5kZW50IHRocmVhZCBvZiBleGVjdXRhYmxlIGNvZGUNCiAg
IENvcHlyaWdodCAoQykgMTk5OCwgMjAwMSwgMjAwMiBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb24N
Cg0KVGhpcyBmaWxlIGlzIHBhcnQgb2YgR05VIENsYXNzcGF0aC4NCg0KR05VIENsYXNzcGF0aCBp
cyBmcmVlIHNvZnR3YXJlOyB5b3UgY2FuIHJlZGlzdHJpYnV0ZSBpdCBhbmQvb3IgbW9kaWZ5DQpp
dCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGFzIHB1
Ymxpc2hlZCBieQ0KdGhlIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbjsgZWl0aGVyIHZlcnNpb24g
Miwgb3IgKGF0IHlvdXIgb3B0aW9uKQ0KYW55IGxhdGVyIHZlcnNpb24uDQoNCkdOVSBDbGFzc3Bh
dGggaXMgZGlzdHJpYnV0ZWQgaW4gdGhlIGhvcGUgdGhhdCBpdCB3aWxsIGJlIHVzZWZ1bCwgYnV0
DQpXSVRIT1VUIEFOWSBXQVJSQU5UWTsgd2l0aG91dCBldmVuIHRoZSBpbXBsaWVkIHdhcnJhbnR5
IG9mDQpNRVJDSEFOVEFCSUxJVFkgb3IgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0Uu
ICBTZWUgdGhlIE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VsbDsNCiAgfQ0KfSAvLyBjbGFzcyBUaHJlYWQNCg==

------_=_NextPart_001_01C35FD5.5D028C88
Content-Type: application/octet-stream;
	name="VMThread.java"
Content-Transfer-Encoding: base64
Content-Description: VMThread.java
Content-Disposition: attachment;
	filename="VMThread.java"

cGFja2FnZSBqYXZhLmxhbmc7DQoNCi8vIE5vdGU6IHN0b3AoKSBzaG91bGQgdGFrZSBjYXJlIG5v
dCB0byBzdG9wIGEgdGhyZWFkIGlmIGl0IGlzDQovLyBleGVjdXRpbmcgY29kZSBpbiB0aGlzIGNs
YXNzLg0KZmluYWwgY2xhc3MgVk1UaHJlYWQNCnsNCiAgICAvLyBOb3RlOiB3aGVuIHRoaXMgdGhy
ZWFkIGRpZXMsIHRoaXMgcmVmZXJlbmNlIGlzICpub3QqIGNsZWFyZWQNCiAgICB2b2xhdGlsZSBU
aHJlYWQgdGhyZWFkOw0KICAgIHByaXZhdGUgdm9sYXRpbGUgYm9vbGVhbiBydW5uaW5nOw0KDQog
ICAgcHJpdmF0ZSBWTVRocmVhZChUaHJlYWQgdGhyZWFkKQ0KICAgIHsNCgl0aGlzLnRocmVhZCA9
IHRocmVhZDsNCiAgICB9DQoNCiAgICBwcml2YXRlIHZvaWQgcnVuKCkNCiAgICB7DQoJdHJ5DQoJ
ew0KCSAgICB0cnkNCgkgICAgew0KCQlydW5uaW5nID0gdHJ1ZTsNCgkJc3luY2hyb25pemVkKHRo
cmVhZCkNCgkJew0KCQkgICAgVGhyb3dhYmxlIHQgPSB0aHJlYWQuc3RpbGxib3JuOw0KCQkgICAg
aWYodCAhPSBudWxsKQ0KCQkgICAgew0KCQkJdGhyZWFkLnN0aWxsYm9ybiA9IG51bGw7DQoJCQl0
aHJvdyB0Ow0KCQkgICAgfQ0KCQl9DQoJCXRocmVhZC5ydW4oKTsNCgkgICAgfQ0KCSAgICBjYXRj
aChUaHJvd2FibGUgdCkNCgkgICAgew0KCQl0cnkNCgkJew0KCQkgICAgdGhyZWFkLmdyb3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gICBu
YXRpdmUgYm9vbGVhbiBpc0ludGVycnVwdGVkKCk7DQogICAgbmF0aXZlIHZvaWQgc3VzcGVuZCgp
Ow0KICAgIG5hdGl2ZSB2b2lkIHJlc3VtZSgpOw0KICAgIG5hdGl2ZSB2b2lkIG5hdGl2ZVNldFBy
aW9yaXR5KGludCBwcmlvcml0eSk7DQogICAgbmF0aXZlIHZvaWQgbmF0aXZlU3RvcChUaHJvd2Fi
bGUgdCk7DQogICAgbmF0aXZlIHN0YXRpYyBUaHJlYWQgY3VycmVudFRocmVhZCgpOw0KICAgIHN0
YXRpYyBuYXRpdmUgdm9pZCB5aWVsZCgpOw0KICAgIHN0YXRpYyBuYXRpdmUgdm9pZCBzbGVlcChs
b25nIG1zLCBpbnQgbnMpIHRocm93cyBJbnRlcnJ1cHRlZEV4Y2VwdGlvbjsNCiAgICBzdGF0aWMg
bmF0aXZlIGJvb2xlYW4gaW50ZXJydXB0ZWQoKTsNCiAgICBzdGF0aWMgbmF0aXZlIGJvb2xlYW4g
aG9sZHNMb2NrKE9iamVjdCBvYmopOw0KfQ0K

------_=_NextPart_001_01C35FD5.5D028C88--



From MAILER-DAEMON Mon Aug 11 08:57:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mCFJ-00025g-0I
	for mharc-classpath@gnu.org; Mon, 11 Aug 2003 08:57:57 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mCFF-00023n-TD
	for classpath@gnu.org; Mon, 11 Aug 2003 08:57:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mCD5-0000gP-Uf
	for classpath@gnu.org; Mon, 11 Aug 2003 08:56:11 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mCD4-0000d4-3S
	for classpath@gnu.org; Mon, 11 Aug 2003 08:55:38 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h7BCtWt03302
	for <classpath@gnu.org>; Mon, 11 Aug 2003 08:55:32 -0400
Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h7BCtWs21027
	for <classpath@gnu.org>; Mon, 11 Aug 2003 08:55:32 -0400
Received: from cuddles.cambridge.redhat.com
	(IDENT:+UhLXeXvTMXdYFd4sH7llY539MoDvM+2@vpn50-28.rdu.redhat.com
	[172.16.50.28])
	by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h7BCtVb1015245; 
	Mon, 11 Aug 2003 08:55:31 -0400
Received: from cuddles.cambridge.redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	h7BCtUiX010194; Mon, 11 Aug 2003 13:55:30 +0100
Received: (from aph@localhost)
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8/Submit) id
	h7BCtTtd010190; Mon, 11 Aug 2003 13:55:29 +0100
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16183.37441.938967.253516@cuddles.cambridge.redhat.com>
Date: Mon, 11 Aug 2003 13:55:29 +0100
To: classpath@gnu.org
In-Reply-To: <16179.59880.633414.643532@cuddles.cambridge.redhat.com>
References: <16179.59880.633414.643532@cuddles.cambridge.redhat.com>
X-Mailer: VM 7.14 under Emacs 21.2.1
Subject: Small patch: java/io/PrintStream.java
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Aug 2003 12:57:55 -0000

Andrew Haley writes:
 > 
 > 2003-08-07  Andrew Haley  <aph@redhat.com>
 > 
 > 	* java/io/PrintStream.java (print(String)): Don't crash on a null
 > 	string.

This code has been superseded, so I won't commit it.

Andrew.



From MAILER-DAEMON Mon Aug 11 10:32:54 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mDjB-0007T1-Hk
	for mharc-classpath@gnu.org; Mon, 11 Aug 2003 10:32:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mDj5-0007ML-EQ
	for classpath@gnu.org; Mon, 11 Aug 2003 10:32:47 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mDiW-0006x7-Gv
	for classpath@gnu.org; Mon, 11 Aug 2003 10:32:43 -0400
Received: from [32.97.182.105] (helo=e5.ny.us.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mDiW-0006wL-7R
	for classpath@gnu.org; Mon, 11 Aug 2003 10:32:12 -0400
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com
	[9.56.224.150])
	by e5.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h7BEW74X219872
	for <classpath@gnu.org>; Mon, 11 Aug 2003 10:32:07 -0400
Received: from d01ml243.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.9/NCO/VER6.6) with ESMTP id
	h7BEW2nQ111312
	for <classpath@gnu.org>; Mon, 11 Aug 2003 10:32:06 -0400
In-Reply-To: <1060526423.1050.57.camel@elsschot>
To: classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
Message-ID: <OFDAB7ADD9.2D960FEA-ON85256D7F.004ED0E7-85256D7F.004FB60F@us.ibm.com>
Date: Mon, 11 Aug 2003 10:31:01 -0400
X-MIMETrack: Serialize by Router on D01ML243/01/M/IBM(Release 6.0.2CF1|June 9,
	2003) at 08/11/2003 10:32:06,
	Serialize complete at 08/11/2003 10:32:06
Content-Type: multipart/alternative;
	boundary="=_alternative 004F6BE485256D7F_="
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Aug 2003 14:32:51 -0000

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

I talked to Julian, and Jikes RVM no longer has a functional need for this 
particular patch.  In the long run, getting a nice break between 
SecurityManager and a VMSecurityManager would be good for our performance, 
but the current code is functionally ok. Our suggestion would be to cancel 
this particular patch in favor of a more complete refactoring of this code 
to get a nice VMSecurityManager class we could provide our own 
implementation of after 0.06 come out.

--dave

Mark wrote: 

> - There is still one open patch for SecurityManager/VMSecurityManager
>    
http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1031&group_id=85
>    Don't know how urgent this is. I would like to see a real design how
>    to handle this and related methods in a VM independent way, but that
>    is probably not 0.06 material. (JRVM hackers, how important is it
>    that this goes in? We can always add a hack for 0.06 if that really
>    helps you out.)
--=_alternative 004F6BE485256D7F_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2><tt>I talked to Julian, and Jikes RVM no longer has a
functional need for this particular patch. &nbsp;In the long run, getting
a nice break between SecurityManager and a VMSecurityManager would be good
for our performance, but the current code is functionally ok. Our suggestion
would be to cancel this particular patch in favor of a more complete refactoring
of this code to get a nice VMSecurityManager class we could provide our
own implementation of after 0.06 come out.</tt></font>
<br>
<br><font size=2><tt>--dave</tt></font>
<br>
<br><font size=2><tt>Mark wrote: </tt></font>
<br>
<br><font size=2><tt>&gt; - There is still one open patch for SecurityManager/VMSecurityManager<br>
&gt; &nbsp; &nbsp;http://savannah.gnu.org/patch/?func=detailpatch&amp;patch_id=1031&amp;group_id=85<br>
&gt; &nbsp; &nbsp;Don't know how urgent this is. I would like to see a
real design how<br>
&gt; &nbsp; &nbsp;to handle this and related methods in a VM independent
way, but that<br>
&gt; &nbsp; &nbsp;is probably not 0.06 material. (JRVM hackers, how important
is it<br>
&gt; &nbsp; &nbsp;that this goes in? We can always add a hack for 0.06
if that really<br>
&gt; &nbsp; &nbsp;helps you out.)</tt></font>
--=_alternative 004F6BE485256D7F_=--



From MAILER-DAEMON Mon Aug 11 10:39:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mDpf-00024r-N7
	for mharc-classpath@gnu.org; Mon, 11 Aug 2003 10:39:35 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mDpc-00022n-RG
	for classpath@gnu.org; Mon, 11 Aug 2003 10:39:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mDp6-0001ck-9n
	for classpath@gnu.org; Mon, 11 Aug 2003 10:39:31 -0400
Received: from [212.227.126.185] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mDmg-0000As-Rb
	for classpath@gnu.org; Mon, 11 Aug 2003 10:36:30 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19mDmg-0006RH-00
	for classpath@gnu.org; Mon, 11 Aug 2003 16:36:30 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19mDmg-0000Mb-00
	for classpath@gnu.org; Mon, 11 Aug 2003 16:36:30 +0200
Message-ID: <3F37A9ED.7010206@aicas.com>
Date: Mon, 11 Aug 2003 16:36:29 +0200
From: =?ISO-8859-1?Q?Ingo_Pr=F6tel?= <proetel@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath Discussion Mailing List <classpath@gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Hello
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Aug 2003 14:39:33 -0000

Hi all,

I just want to introduce myself. I have started to work for aicas GmbH .
Currently I work on bugfixes in our VM and Classpath.

So in future you will see some bugfixes from me. I test my fixes against
kissme, so if you have trouble with any other VM please let me know.

I'm looking forward to work with you.

--ingo





From MAILER-DAEMON Mon Aug 11 13:01:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mG1S-0004lB-HR
	for mharc-classpath@gnu.org; Mon, 11 Aug 2003 12:59:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mG0p-00044i-Md
	for classpath@gnu.org; Mon, 11 Aug 2003 12:59:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mFzP-00029q-Lf
	for classpath@gnu.org; Mon, 11 Aug 2003 12:58:18 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mFyU-0005Kw-3N
	for classpath@gnu.org; Mon, 11 Aug 2003 12:56:50 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by mx20.gnu.org with esmtp (Exim 4.20) id 19mFxx-0006Hm-2d
	for classpath@gnu.org; Mon, 11 Aug 2003 12:56:17 -0400
Received: from fleche.redhat.com (tf0009.peakpeak.com [204.144.239.9])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id KAA04368;
	Mon, 11 Aug 2003 10:56:04 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 5A7A94F87A3; Mon, 11 Aug 2003 10:48:24 -0600 (MDT)
To: brawer@acm.org
References: <E19m6W0-0002ph-DK@subversions.gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: PEGGY FLEMING is stealing BASKET BALLS to feed the babies in VERMONT.
Date: 11 Aug 2003 10:48:23 -0600
In-Reply-To: <E19m6W0-0002ph-DK@subversions.gnu.org>
Message-ID: <87he4o16p4.fsf@fleche.redhat.com>
Lines: 10
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: /classpath java/awt/font/OpenType.java ChangeLog
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Aug 2003 16:59:53 -0000

>>>>> "Sascha" == Sascha Brawer <brawer@acm.org> writes:

Sascha> 	classpath/java/awt/font: OpenType.java 
Sascha> 	Declare OpenType tags as 'public static final'.

Please revert this patch.  Fields in an interface are implicitly
public, static, and final; see JLS 9.3.  Our coding standard is not to
add the unnecessary modifiers.

Tom



From MAILER-DAEMON Mon Aug 11 13:27:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mGSQ-00077M-H5
	for mharc-classpath@gnu.org; Mon, 11 Aug 2003 13:27:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mGSO-000721-4j
	for classpath@gnu.org; Mon, 11 Aug 2003 13:27:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mGRs-0005yz-DS
	for classpath@gnu.org; Mon, 11 Aug 2003 13:27:43 -0400
Received: from [62.4.16.101] (helo=kraid.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mGRs-0005wQ-1W
	for classpath@gnu.org; Mon, 11 Aug 2003 13:27:12 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by kraid.nerim.net (Postfix) with ESMTP
	id 97A3140E44; Mon, 11 Aug 2003 19:27:09 +0200 (CEST)
Message-ID: <3F37D3CB.1090700@kaffe.org>
Date: Mon, 11 Aug 2003 19:35:07 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: kaffe@kaffe.org, classpath@gnu.org
References: <3F3662C2.5010904@kaffe.org>
In-Reply-To: <3F3662C2.5010904@kaffe.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Re: [kaffe] Serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Aug 2003 17:27:44 -0000

Hi,

Finally, I have followed kaffe's regression tests. Classpath's 
serialization passes all kaffe's tests, although one is wrong
according to JDK 1.4.2 (TestSerialVersions.Test0007 should give "null, 
105"). serialPersistentFields is now also used
by the reading process to create some more fields to ensure 
compatibility. For the moment I do know how to deal with
the last failing test (I do not even know if it is not a bug in the JDK, 
the behaviour is really weird).

Cheers,
Guilhem.

P.S.: I will send to Mark the last patch against Classpath and will soon 
commit the code in kaffe's CVS.




From MAILER-DAEMON Mon Aug 11 17:25:45 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mKAj-00030r-6s
	for mharc-classpath@gnu.org; Mon, 11 Aug 2003 17:25:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mKAh-000304-3F
	for classpath@gnu.org; Mon, 11 Aug 2003 17:25:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mKAA-0002ZT-AD
	for classpath@gnu.org; Mon, 11 Aug 2003 17:25:42 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mKA9-0002ZP-Vr
	for classpath@gnu.org; Mon, 11 Aug 2003 17:25:10 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19mK81-0000QH-00; Mon, 11 Aug 2003 23:22:57 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC456C@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC456C@LEMBU.sumatrasoftware.com>
Content-Type: text/plain
Message-Id: <1060637106.1036.99.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 11 Aug 2003 23:25:06 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: RE: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Aug 2003 21:25:43 -0000

Hi,

On Mon, 2003-08-11 at 08:53, Jeroen Frijters wrote:
> Mark Wielaard wrote:
> >   - Is there any progress on the Thread/VMThread split?
> >     Would be nice to get that in, but it will require work to make it
> >     work with the different VMs so it better go in quickly
> >     (today/tomorrow).
> 
> I think it would be good if another VM implemented it, to see if the
> proposed split works there as well (IKVM is already running with it).
> Besides that, VMThread needs to be documented and a NEWS entry needs to
> be written. I've attached the code I've got at the moment.

I won't have time to try it out with another VM at the moment and the
VMThread class really needs documentation (you might be able to lift
some documentation of my old proposal).

> A side question (that's important for deciding whether to include it in
> the 0.06 release), do any VMs use the unmodified reference Thread class?

I believe the kissme VM just uses the vm/reference version of Thread.

But lets decide to get the Thread/VMThread in after the 0.06 release on
Friday. Then We can do it together with a better design for the
SecurityManager/VMSecurityManger thing. It is only four days till the
release if everything goes well. And I want to have the next release a
bit sooner then 6 months (say 3 months if we have enough new stuff).

Cheers,

Mark




From MAILER-DAEMON Mon Aug 11 18:49:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mLTW-0005SD-LE
	for mharc-classpath@gnu.org; Mon, 11 Aug 2003 18:49:14 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mLTP-0005O3-6V
	for classpath@gnu.org; Mon, 11 Aug 2003 18:49:07 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mLQn-0003U0-Cm
	for classpath@gnu.org; Mon, 11 Aug 2003 18:46:56 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mLQb-000310-0B
	for classpath@gnu.org; Mon, 11 Aug 2003 18:46:13 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19mLON-0000an-00; Tue, 12 Aug 2003 00:43:55 +0200
From: Mark Wielaard <mark@klomp.org>
To: Ingo =?ISO-8859-1?Q?Pr=F6tel?= <proetel@aicas.com>
In-Reply-To: <3F37A9ED.7010206@aicas.com>
References: <3F37A9ED.7010206@aicas.com>
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <1060641964.1038.190.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 12 Aug 2003 00:46:04 +0200
Content-Transfer-Encoding: quoted-printable
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: Hello
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Aug 2003 22:49:08 -0000

Hi Ingo,

On Mon, 2003-08-11 at 16:36, Ingo Pr=F6tel wrote:
> I just want to introduce myself. I have started to work for aicas GmbH .
> Currently I work on bugfixes in our VM and Classpath.
>=20
> So in future you will see some bugfixes from me. I test my fixes against
> kissme, so if you have trouble with any other VM please let me know.
>=20
> I'm looking forward to work with you.

You are very welcome! And thanks for testing out you patches against
another VM. That is very appreciated! Good to see that your patches are
all over the place.

There are a couple of nitpicks though. This seems to be getting a
tradition with new people joining the project... Please don't take them
personally. Nobody can come into a new project and know everything there
is to know. And even experienced hackers make mistakes from time to
time. Next time I will pick on Brian or Tom just to show that I also
dare to correct senior hackers :)

+2003-08-11 Ingo Proetel <proetel@aicas.com>
+
+	* java/security/Security.java: moved initialization code of providers
+	from static initializer into a method to allow lazy evaluation of
+	this code. This permits faster startup and even automatic removal of
+	this code if it is not needed.

ChangeLog entries should just describe the facts and be pretty dry and
factual. Just mention the method/variable that got changed, created or
deleted. The why should be in the actual code. Look at the other
ChangeLog entries for examples. A good description is at:
http://www.gnu.org/software/guile/changelogs/guile-changelogs_toc.html

So this ChangeLog entry could be written as:

	* java/security/Security.java (providers): Removed field,
	replace by method.
	(providers_lazy): New static field.
	(static): Removed and replaced by new providers() method.
	(providers): New static method, replaces static block and use of
	static field of the same name.

The ChangeLog entry should be used as the commit message and the
ChangeLog file should be committed together with the files that changed.
(As you did in your last couple of commits. Thanks)

+		/* Removed this (more comprehensive) error string to avoid the need for =
a=20
+		 * static variable or allocation of a buffer for this message in this (u=
nlikely)=20
+		 * error case. --Fridi.=20
+		 *
+		 * sprintf(errstr,"JCL: Failed to throw exception %s with message %s: co=
uld not find exception class.", className, errMsg);=20
+		 */

Just remove old, unused, commented out code. It is available in the CVS
history. No need to clutter up the source with dead code.

There is also no need to add initials or other author markers to
comments. Comments should be valid whoever wrote them. And if you want
to find out who was responsible for a certain line of code or comment
there is alway cvs annotate.

+	// ???

That is not really a useful comment.

+// NYI: ignore check until Method.getExceptionTypes is implemented	=09
+//		Class[] exceptions =3D meths[i].getExceptionTypes();
+//		int index =3D 0;
+//		for(;index < exceptions.length; index++){
+//			if(exceptions[index].equals(RemoteException.class)){
+//				break;
+//			}
+//		}
+//		if (index < exceptions.length) {
+			rmeths.add(meths[i]);
+//		} else {
+//			logError("Method "+meths[i]+" does not throw a java.rmi.RemoteExcepti=
on");
+//		}
[...]
-		out.print("throws ");
+// NYI hard-code java.rmi.RemoteException until Method.getExceptionTypes i=
s implemented
+//		out.print("throws ");
+		out.print("throws java.rmi.RemoteException");

This seems to be specific to VMs that don't implement
Method.getExceptionTypes(). Are you sure it is applicable in general?

Please revert this part.

Cheers,

Mark




From MAILER-DAEMON Mon Aug 11 19:16:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mLsT-00014c-Tn
	for mharc-classpath@gnu.org; Mon, 11 Aug 2003 19:15:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mLsJ-0000j7-Us
	for classpath@gnu.org; Mon, 11 Aug 2003 19:14:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mLrg-00086f-MY
	for classpath@gnu.org; Mon, 11 Aug 2003 19:14:43 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mLr1-00071K-IX
	for classpath@gnu.org; Mon, 11 Aug 2003 19:13:31 -0400
Received: from ms-smtp-03.southeast.rr.com ([24.93.67.84])
	by mx20.gnu.org with esmtp (Exim 4.20) id 19mLqz-00014m-3R
	for classpath@gnu.org; Mon, 11 Aug 2003 19:13:29 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7BNBCaQ003856; Mon, 11 Aug 2003 19:11:13 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id BA7F6BE6B7; Mon, 11 Aug 2003 19:13:10 -0400 (EDT)
Sender: cbj@haphazard.org
To: Guilhem Lavaux <guilhem@kaffe.org>
References: <3F3662C2.5010904@kaffe.org> <3F37D3CB.1090700@kaffe.org>
From: Brian Jones <cbj@gnu.org>
Date: 11 Aug 2003 19:13:10 -0400
In-Reply-To: <3F37D3CB.1090700@kaffe.org>
Message-ID: <m3he4nvldl.fsf@lyta.haphazard.org>
Lines: 25
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: [kaffe] Serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Aug 2003 23:15:00 -0000

Guilhem Lavaux <guilhem@kaffe.org> writes:

> Hi,
> 
> Finally, I have followed kaffe's regression tests. Classpath's
> serialization passes all kaffe's tests, although one is wrong
> according to JDK 1.4.2 (TestSerialVersions.Test0007 should give "null,
> 105"). serialPersistentFields is now also used
> by the reading process to create some more fields to ensure
> compatibility. For the moment I do know how to deal with
> the last failing test (I do not even know if it is not a bug in the
> JDK, the behaviour is really weird).
> 
> Cheers,
> Guilhem.
> 
> P.S.: I will send to Mark the last patch against Classpath and will
> soon commit the code in kaffe's CVS.

Sweet, when could this go into Classpath?

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



From MAILER-DAEMON Tue Aug 12 01:53:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mS63-0005Ra-9q
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 01:53:27 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mS60-0005RR-QP
	for classpath@gnu.org; Tue, 12 Aug 2003 01:53:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mS5U-0005NN-78
	for classpath@gnu.org; Tue, 12 Aug 2003 01:53:23 -0400
Received: from [217.8.192.20] (helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mS5T-0005NJ-TY
	for classpath@gnu.org; Tue, 12 Aug 2003 01:52:52 -0400
Received: from [192.168.1.33] (197.43.dyn-adsl.customer.ch.easynet.net
	[217.8.197.43]) by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id 9B4EF645D0; Tue, 12 Aug 2003 07:52:49 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: Tom Tromey <tromey@redhat.com>
Date: Tue, 12 Aug 2003 07:52:47 +0200
Message-Id: <20030812055247.11803@smtp.mail.ch.easynet.net>
In-Reply-To: <87he4o16p4.fsf@fleche.redhat.com>
References: <87he4o16p4.fsf@fleche.redhat.com>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: /classpath java/awt/font/OpenType.java ChangeLog
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 05:53:25 -0000

Tom Tromey <tromey@redhat.com> wrote on Mon, 11 Aug 2003 10:48:23 -0600:

>> 	classpath/java/awt/font: OpenType.java 
>> 	Declare OpenType tags as 'public static final'.
>
>Please revert this patch.  Fields in an interface are implicitly
>public, static, and final; see JLS 9.3. Our coding standard is not to
>add the unnecessary modifiers.

I know about the implicit modifiers for interface fields, but I am a bit
surprised that omitting them would be our coding standard. Is it a good
idea to omit declarations that, while technically redundant, make the
code easier to understand?

But then, we all have other things to do than arguing about matters of
taste, so I've reverted the change.

-- Sascha

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





From MAILER-DAEMON Tue Aug 12 09:04:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mYot-0006SA-9a
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 09:04:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mYor-0006RE-0S
	for classpath@gnu.org; Tue, 12 Aug 2003 09:04:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mYoL-0006Db-DI
	for classpath@gnu.org; Tue, 12 Aug 2003 09:04:08 -0400
Received: from [24.93.67.84] (helo=ms-smtp-03.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mYoL-0006DO-2f
	for classpath@gnu.org; Tue, 12 Aug 2003 09:03:37 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7CD1aaQ004808; Tue, 12 Aug 2003 09:01:36 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 1382ABE6B7; Tue, 12 Aug 2003 09:03:35 -0400 (EDT)
Sender: cbj@haphazard.org
To: David P Grove <groved@us.ibm.com>
References: <OF51CB1118.9E7C543C-ON85256D72.004FC7A4-85256D72.0050C351@us.ibm.com>
From: Brian Jones <cbj@gnu.org>
Date: 12 Aug 2003 09:03:35 -0400
In-Reply-To: <OF51CB1118.9E7C543C-ON85256D72.004FC7A4-85256D72.0050C351@us.ibm.com>
Message-ID: <m3d6fbuixk.fsf@lyta.haphazard.org>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: bug fix for java.io.InputReaderStream.close and
	java.util.zip.InflaterInputStream.close
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 13:04:09 -0000

David P Grove <groved@us.ibm.com> writes:

> Appended is a patch to avoid a NullPointerException if close is called 
> multiple times.  This matches the logic that is already in 
> java.io.BufferedReader.   Could someone please apply it?

Someone applied the java/io/InputStreamReader patch but did not use
synchronize on the java/util/zip/InflaterInputStream patch.  Not sure
why.

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



From MAILER-DAEMON Tue Aug 12 09:06:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mYrM-0007bG-BN
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 09:06:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mYrF-0007aI-QL
	for classpath@gnu.org; Tue, 12 Aug 2003 09:06:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mYqi-0007QG-Ri
	for classpath@gnu.org; Tue, 12 Aug 2003 09:06:36 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mYqi-0007Pt-C2
	for classpath@gnu.org; Tue, 12 Aug 2003 09:06:04 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7CD2dZw005628; Tue, 12 Aug 2003 09:02:39 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 52728BE6B7; Tue, 12 Aug 2003 09:06:02 -0400 (EDT)
Sender: cbj@haphazard.org
To: Sascha Brawer <brawer@dandelis.ch>
References: <20030729134510.6779@smtp.mail.ch.easynet.net>
From: Brian Jones <cbj@gnu.org>
Date: 12 Aug 2003 09:06:01 -0400
In-Reply-To: <20030729134510.6779@smtp.mail.ch.easynet.net>
Message-ID: <m38ypzuiti.fsf@lyta.haphazard.org>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: gnu.java.awt.font
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 13:06:38 -0000

Sascha Brawer <brawer@dandelis.ch> writes:

> Hi all,
> 
> I've put a new snapshot of a prospective gnu.java.awt.font package at the
> following address:
> 
>   http://www.dandelis.ch/development/fonts/#Implementation

Sascha,

Is this something we should get imported into Classpath since you're
no longer working on improving it or are you thinking of writing it on
top of OpenGL?

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



From MAILER-DAEMON Tue Aug 12 09:13:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mYxX-0002Sn-Bi
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 09:13:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mYxU-0002RZ-MS
	for classpath@gnu.org; Tue, 12 Aug 2003 09:13:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mYwx-0001qk-QZ
	for classpath@gnu.org; Tue, 12 Aug 2003 09:13:03 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mYww-0001oi-Vi
	for classpath@gnu.org; Tue, 12 Aug 2003 09:12:31 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7CD95Zw010822; Tue, 12 Aug 2003 09:09:05 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 90A66BE6B7; Tue, 12 Aug 2003 09:12:27 -0400 (EDT)
Sender: cbj@haphazard.org
To: "Jeroen Frijters" <jeroen@sumatra.nl>
References: <5C38B761F205B54BA59FF611A65C6248011A2D@lembu.sumatrasoftware.com>
From: Brian Jones <cbj@gnu.org>
Date: 12 Aug 2003 09:12:27 -0400
In-Reply-To: <5C38B761F205B54BA59FF611A65C6248011A2D@lembu.sumatrasoftware.com>
Message-ID: <m34r0nuiis.fsf@lyta.haphazard.org>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: More fixes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 13:13:05 -0000

"Jeroen Frijters" <jeroen@sumatra.nl> writes:

> Hi,
> 
> More JBoss related fixes.

You applied these yourself now, thanks.  :)

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



From MAILER-DAEMON Tue Aug 12 09:17:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mZ0o-0007H2-TC
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 09:16:30 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mYzk-0006dO-OP
	for classpath@gnu.org; Tue, 12 Aug 2003 09:15:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mYyU-0003SF-Ou
	for classpath@gnu.org; Tue, 12 Aug 2003 09:14:37 -0400
Received: from [24.93.67.82] (helo=ms-smtp-01.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mYyU-0003Rc-D6
	for classpath@gnu.org; Tue, 12 Aug 2003 09:14:06 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7CD7Nos025946; Tue, 12 Aug 2003 09:07:24 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 9A7EBBE6B7; Tue, 12 Aug 2003 09:14:03 -0400 (EDT)
Sender: cbj@haphazard.org
To: Ingo =?iso-8859-1?q?Pr=F6tel?= <proetel@aicas.com>
References: <3EE5E8AB.1030709@aicas.com>
From: Brian Jones <cbj@gnu.org>
Date: 12 Aug 2003 09:14:03 -0400
In-Reply-To: <3EE5E8AB.1030709@aicas.com>
Message-ID: <m3znift3vo.fsf@lyta.haphazard.org>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Cc: classpath@gnu.org
Subject: Re: configure ignores --disable-gtktest ?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 13:16:29 -0000

Ingo Pr=C3=B6tel <proetel@aicas.com> writes:

> Hi,
>=20
> I try to run configure without running the gtk test program by using
> the --disable-gtktest option.
> Configure seems to ignore this option and still runs the test. I have
> attached parts of my config.log file.
> What can I do to compile classpath so that I can use it with the kissme-v=
m?

Ingo,=20

Did you figure out a solution?  We might need to fix configure?

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



From MAILER-DAEMON Tue Aug 12 09:18:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mZ2X-0000zr-8q
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 09:18:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mZ2T-0000sj-J6
	for classpath@gnu.org; Tue, 12 Aug 2003 09:18:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mZ1x-00004y-OC
	for classpath@gnu.org; Tue, 12 Aug 2003 09:18:12 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mZ1x-0008WV-Fn
	for classpath@gnu.org; Tue, 12 Aug 2003 09:17:41 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7CDDwZw014907; Tue, 12 Aug 2003 09:14:08 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 8E02EBE6B7; Tue, 12 Aug 2003 09:17:20 -0400 (EDT)
Sender: cbj@haphazard.org
To: "Jeroen Frijters" <jeroen@sumatra.nl>
References: <5C38B761F205B54BA59FF611A65C6248011A24@lembu.sumatrasoftware.com>
From: Brian Jones <cbj@gnu.org>
Date: 12 Aug 2003 09:17:20 -0400
In-Reply-To: <5C38B761F205B54BA59FF611A65C6248011A24@lembu.sumatrasoftware.com>
Message-ID: <m3vft3t3q7.fsf@lyta.haphazard.org>
Lines: 10
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: java.lang.Class.newInstance() construction caching
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 13:18:14 -0000

"Jeroen Frijters" <jeroen@sumatra.nl> writes:

> Oops. Forget to attach the file.

The patch to java/lang/Class is in CVS, couldn't tell from ChangeLog
when though.  I'm cleaning up my inbox, can you tell?

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



From MAILER-DAEMON Tue Aug 12 09:22:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mZ5z-0002Pi-02
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 09:21:51 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mZ4y-0007jO-CM
	for classpath@gnu.org; Tue, 12 Aug 2003 09:20:48 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mZ3z-0004hZ-3u
	for classpath@gnu.org; Tue, 12 Aug 2003 09:20:18 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mZ3s-0004JI-2D
	for classpath@gnu.org; Tue, 12 Aug 2003 09:19:40 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7CDGBZw017183; Tue, 12 Aug 2003 09:16:12 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 61508BE6B7; Tue, 12 Aug 2003 09:19:33 -0400 (EDT)
Sender: cbj@haphazard.org
To: Stephen Crawley <crawley@dstc.edu.au>
References: <200306021607.h52G7TOW005153@piglet.dstc.edu.au>
From: Brian Jones <cbj@gnu.org>
Date: 12 Aug 2003 09:19:33 -0400
In-Reply-To: <200306021607.h52G7TOW005153@piglet.dstc.edu.au>
Message-ID: <m3r83rt3mi.fsf@lyta.haphazard.org>
Lines: 10
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Jerry Quinn <jlquinn@optonline.net>, classpath@gnu.org,
	Saket Rungta1 <saket_rungta@uk.ibm.com>
Subject: Re: Patches need applying ...
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 13:21:36 -0000

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

> Could some kind soul please apply the BigDecimal.setScale patch I 
> just submitted on behalf of Saket and Jerry?

Mark did this back in mid-July.

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



From MAILER-DAEMON Tue Aug 12 09:25:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mZ94-0005C6-8b
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 09:25:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mZ61-0002XQ-QI
	for classpath@gnu.org; Tue, 12 Aug 2003 09:21:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mZ4n-0007DB-KZ
	for classpath@gnu.org; Tue, 12 Aug 2003 09:21:08 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mZ4k-00074e-82
	for classpath@gnu.org; Tue, 12 Aug 2003 09:20:34 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7CDHAZw018020; Tue, 12 Aug 2003 09:17:10 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 08ED5BE6B7; Tue, 12 Aug 2003 09:20:33 -0400 (EDT)
Sender: cbj@haphazard.org
To: tromey@redhat.com
References: <5C38B761F205B54BA59FF611A65C62480118B8@lembu.sumatrasoftware.com>
	<874r6hg2pj.fsf@fleche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 12 Aug 2003 09:20:32 -0400
In-Reply-To: <874r6hg2pj.fsf@fleche.redhat.com>
Message-ID: <m3n0eft3kv.fsf@lyta.haphazard.org>
Lines: 15
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Small ZipFile patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 13:25:00 -0000

Tom Tromey <tromey@redhat.com> writes:

> >>>>> "Jeroen" == Jeroen Frijters <jeroen@sumatra.nl> writes:
> 
> Jeroen> Sun's ClassLoader has a hack that prevents this from being exploitable:
> Jeroen> http://www.securingjava.com/chapter-five/chapter-five-8.html
> 
> Sounds like we need this in ClassLoader and in any other class that
> performs security checks in its constructor.

This is still a TODO item, yes?

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



From MAILER-DAEMON Tue Aug 12 09:26:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mZA3-00069l-KV
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 09:26:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mZA1-00068p-BZ
	for classpath@gnu.org; Tue, 12 Aug 2003 09:26:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mZ9V-0005g5-IT
	for classpath@gnu.org; Tue, 12 Aug 2003 09:26:00 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19mZ8w-0004zZ-53; Tue, 12 Aug 2003 09:24:54 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 12 Aug 2003 15:24:27 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC4570@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: java.lang.Class.newInstance() construction caching
Thread-Index: AcNg1B1FLbd0IMXTR2qTwuYB+RPKYQAAEWHA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Brian Jones" <cbj@gnu.org>
Cc: classpath@gnu.org
Subject: RE: java.lang.Class.newInstance() construction caching
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 13:26:01 -0000

Brian Jones wrote:
> The patch to java/lang/Class is in CVS, couldn't tell from ChangeLog
> when though.  I'm cleaning up my inbox, can you tell?

The original patch was applied by Mark (I think) and the ChangeLog entry
was:
2003-04-17  Jeroen Frijters  <jeroen@sumatra.nl>

        * java/lang/Class.java
        (constructor): Added transient field to cache constructor.
        (newInstance): Fixed to consider non-public constructors as
well,
        added constructor object caching and implemented accessibility
check.
        * vm/reference/java/lang/VMClass.java (throwException): option
method
        used to throw exception without declaring it... useful for
        duplicating Sun behavior in newInstance
        * include/java_lang_VMClass.h: updated=20

Regards,
Jeroen



From MAILER-DAEMON Tue Aug 12 09:28:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mZBy-0007wh-9w
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 09:28:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mZBr-0007g2-Ao
	for classpath@gnu.org; Tue, 12 Aug 2003 09:27:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mZBG-0007BH-Nk
	for classpath@gnu.org; Tue, 12 Aug 2003 09:27:50 -0400
Received: from [24.93.67.84] (helo=ms-smtp-03.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mZ6w-0003x6-Ij
	for classpath@gnu.org; Tue, 12 Aug 2003 09:22:50 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7CDKkaQ019148; Tue, 12 Aug 2003 09:20:47 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 7134BBE6B7; Tue, 12 Aug 2003 09:22:45 -0400 (EDT)
Sender: cbj@haphazard.org
To: Archie Cobbs <archie@dellroad.org>
References: <200303031955.h23Jtc1o004941@arch20m.dellroad.org>
From: Brian Jones <cbj@gnu.org>
Date: 12 Aug 2003 09:22:45 -0400
In-Reply-To: <200303031955.h23Jtc1o004941@arch20m.dellroad.org>
Message-ID: <m3isp3t3h6.fsf@lyta.haphazard.org>
Lines: 166
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, Archie Cobbs <archie@precisionio.com>
Subject: Re: Method.equals() question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 13:28:00 -0000

These have not been applied yet, we should do so before Friday.  Does
this look okay to everyone?

Brian

Archie Cobbs <archie@dellroad.org> writes:

> Archie Cobbs wrote:
> > The practical upshot of this is that the equals() methods that currently
> > exist in Classpath for Field and Constructor need to be fixed. But the
> > fixes could use "obj1.getDeclaringClass() == obj2.getDeclaringClass()"
> > as part of the test.
> > 
> > Method also needs to be fixed, but for a different reason (it doesn't
> > compare the return types as it should (referring to Classpath 0.05)).
> 
> Below are my patches (against 0.05) for fixing these equals() methods.
> 
> Cheers,
> -Archie
> 
> __________________________________________________________________________
> Archie Cobbs     *     Precision I/O      *     http://www.precisionio.com
> 
> diff -ur /home/archie/classpath/classpath-0.05/vm/reference/java/lang/reflect/Constructor.java ./Constructor.java
> --- /home/archie/classpath/classpath-0.05/vm/reference/java/lang/reflect/Constructor.java	Fri Oct 25 16:02:26 2002
> +++ ./Constructor.java	Mon Mar  3 12:51:12 2003
> @@ -38,6 +38,8 @@
>  
>  package java.lang.reflect;
>  
> +import java.util.Arrays;
> +
>  /**
>   * The Constructor class represents a constructor of a class. It also allows
>   * dynamic creation of an object, via reflection. Invocation on Constructor
> @@ -160,7 +141,14 @@
>     */
>    public boolean equals(Object o)
>    {
> -    return this == o;
> +    if (!(o instanceof Constructor))
> +      return false;
> +    Constructor that = (Constructor)o; 
> +    if (this.getDeclaringClass() != that.getDeclaringClass())
> +      return false;
> +    if (!Arrays.equals(this.getParameterTypes(), that.getParameterTypes()))
> +      return false;
> +    return true;
>    }
>  
>    /**
> diff -ur /home/archie/classpath/classpath-0.05/vm/reference/java/lang/reflect/Field.java ./Field.java
> --- /home/archie/classpath/classpath-0.05/vm/reference/java/lang/reflect/Field.java	Fri Oct 25 16:02:26 2002
> +++ ./Field.java	Mon Mar  3 12:47:44 2003
> @@ -135,7 +125,16 @@
>     */
>    public boolean equals(Object o)
>    {
> -    return this == o;
> +    if (!(o instanceof Field))
> +      return false;
> +    Field that = (Field)o; 
> +    if (this.getDeclaringClass() != that.getDeclaringClass())
> +      return false;
> +    if (!this.getName().equals(that.getName()))
> +      return false;
> +    if (this.getType() != that.getType())
> +      return false;
> +    return true;
>    }
>  
>    /**
> diff -ur /home/archie/classpath/classpath-0.05/vm/reference/java/lang/reflect/Method.java ./Method.java
> --- /home/archie/classpath/classpath-0.05/vm/reference/java/lang/reflect/Method.java	Wed Dec 18 02:28:29 2002
> +++ ./Method.java	Mon Mar  3 12:52:48 2003
> @@ -38,6 +38,8 @@
>  
>  package java.lang.reflect;
>  
> +import java.util.Arrays;
> +
>  /**
>   * The Method class represents a member method of a class. It also allows
>   * dynamic invocation, via reflection. This works for both static and
> @@ -144,57 +136,25 @@
>    /**
>     * Compare two objects to see if they are semantically equivalent.
>     * Two Methods are semantically equivalent if they have the same declaring
> -   * class, name, and parameter list.  This ignores different exception
> -   * clauses or return types.
> +   * class, name, parameter list, and return type.
>     *
>     * @param o the object to compare to
>     * @return <code>true</code> if they are equal; <code>false</code> if not
>     */
>    public boolean equals(Object o)
>    {
> -      // Implementation note:
> -      // The following is a correct but possibly slow implementation.
> -      //
> -      // This class has a private field 'slot' that could be used by
> -      // the VM implementation to "link" a particular method to a Class.
> -      // In that case equals could be simply implemented as:
> -      //
> -      // if (o instanceof Method)
> -      // {
> -      //    Method m = (Method)o;
> -      //    return m.declaringClass == this.declaringClass
> -      //           && m.slot == this.slot;
> -      // }
> -      // return false;
> -      //
> -      // If a VM uses the Method class as their native/internal representation
> -      // then just using the following would be optimal:
> -      //
> -      // return this == o;
> -      //
> -      if (o == null)
> -        return false;
> -
> -      if (!(o instanceof Method))
> -        return false;
> -
> -      Method m = (Method)o;
> -      if(!name.equals(m.name))
> -	  return false;
> -
> -      if(declaringClass != m.declaringClass)
> -	  return false;
> -
> -      Class[] params1 = getParameterTypes();
> -      Class[] params2 = m.getParameterTypes();
> -      if(params1.length != params2.length)
> -	  return false;
> -
> -      for(int i = 0; i < params1.length; i++)
> -	  if(params1[i] != params2[i])
> -	      return false;
> -
> -      return true;
> +    if (!(o instanceof Method))
> +      return false;
> +    Method that = (Method)o; 
> +    if (this.getDeclaringClass() != that.getDeclaringClass())
> +      return false;
> +    if (!this.getName().equals(that.getName()))
> +      return false;
> +    if (this.getReturnType() != that.getReturnType())
> +      return false;
> +    if (!Arrays.equals(this.getParameterTypes(), that.getParameterTypes()))
> +      return false;
> +    return true;
>    }
>  
>    /**
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
> 

-- 
Brian Jones <cbj@gnu.org>



From MAILER-DAEMON Tue Aug 12 09:50:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mZXH-0003Oe-JG
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 09:50:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mZXD-0003Np-LR
	for classpath@gnu.org; Tue, 12 Aug 2003 09:49:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mZWe-0003GL-V1
	for classpath@gnu.org; Tue, 12 Aug 2003 09:49:56 -0400
Received: from [212.227.126.186] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mZWe-0003GE-Jo
	for classpath@gnu.org; Tue, 12 Aug 2003 09:49:24 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19mZWe-0005zP-00
	for classpath@gnu.org; Tue, 12 Aug 2003 15:49:24 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19mZWe-0002ua-00
	for classpath@gnu.org; Tue, 12 Aug 2003 15:49:24 +0200
Message-ID: <3F38F063.4000201@aicas.com>
Date: Tue, 12 Aug 2003 15:49:23 +0200
From: =?UTF-8?B?SW5nbyBQcsO2dGVs?= <proetel@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
References: <3EE5E8AB.1030709@aicas.com> <m3znift3vo.fsf@lyta.haphazard.org>
In-Reply-To: <m3znift3vo.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Subject: Re: configure ignores --disable-gtktest ?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 13:50:01 -0000

In the meantime I have the complete gtk-packe set that is needed. So I 
don't use this option any longer.

I just tested it anyway and it seems to work properly.

Thanks
ingo

Brian Jones wrote:
> Ingo PrÃ¶tel <proetel@aicas.com> writes:
> 
> 
>>Hi,
>>
>>I try to run configure without running the gtk test program by using
>>the --disable-gtktest option.
>>Configure seems to ignore this option and still runs the test. I have
>>attached parts of my config.log file.
>>What can I do to compile classpath so that I can use it with the kissme-vm?
> 
> 
> Ingo, 
> 
> Did you figure out a solution?  We might need to fix configure?
> 
> Thanks,
> Brian




From MAILER-DAEMON Tue Aug 12 10:37:51 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19maHI-0006YM-Qq
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 10:37:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19maGi-0004xD-MH
	for classpath@gnu.org; Tue, 12 Aug 2003 10:37:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19maEu-0000sg-7L
	for classpath@gnu.org; Tue, 12 Aug 2003 10:35:39 -0400
Received: from [217.8.192.20] (helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19maER-0007ng-1K
	for classpath@gnu.org; Tue, 12 Aug 2003 10:34:39 -0400
Received: from [192.168.1.33] (197.43.dyn-adsl.customer.ch.easynet.net
	[217.8.197.43]) by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id 1BE59645B6; Tue, 12 Aug 2003 16:34:35 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>,
	Jean-Daniel Fekete <Jean-Daniel.Fekete@inria.fr>,
	graydon hoare <graydon@redhat.com>,
	Keith Packard <keithp@keithp.com>, Adam Megacz <adam@megacz.com>,
	Tim Tyler <tim@bits.bris.ac.uk>, Patrik Reali <reali@acm.org>,
	Jeroen Frijters <jeroen@sumatra.nl>
Date: Tue, 12 Aug 2003 16:34:34 +0200
Message-Id: <20030812143434.16670@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: Martin Schulte <schulte@guug.de>
Subject: Workshop/BoF: Graphics in GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 14:37:32 -0000

=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
Workshop/BoF: Graphics in GNU Classpath
=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

Linux-Kongress, Saarbr=FCcken, Germany
October 14th, 2003, 14:30 - 17:30 h


----------
Background
----------

Many existing Java(TM) applications depend on the Java2D(TM) API, a very=

well-designed, powerful set of high-performance graphics routines. Most
applications use this graphics library indirectly through the Swing(TM)
toolkit, which is the most widely used API to write interactive
applications in the Java(TM) programming language.

It would be very desirable for GNU Classpath to support the Java2D(TM)
API. However, the current state of graphics support in GNU Classpath is
extremely limited. Since there currently exist several projects that wan=
t
to support Java graphics, it would be good to coordinate them.

Therefore, a workshop/developer's gathering/birds-of-a-feather session
will take place during Linux-Kongress 2003. Some Classpath developers
said they plan going to this event, which is why this location was chose=
n.


----------------------
Purpose of the meeting
----------------------

- To get an understanding of the requirements for supporting Java2D(TM)
on top of various graphics engines.

- To find a structure of the code that can support several target
platforms. For example, the requirements are rather different for remote=

X11, local X11, OpenGL, IKVM.NET, Jaos/Oberon, embedded devices with
framebuffers, or pure Java operating systems. Ideally, it will be
possible to find a clean, modular structure that allows for most code to=

be shared, while still supporting back-ends for various graphics subsyst=
ems.

- To identify the tricky parts, and to discuss techniques for
implementing them.


-----------------------
Who might be interested
-----------------------

- People who know about X11, the X Rendering Extension, OpenGL(TM), or
some other graphics API

- People who are familiar with the Java2D(TM) APIs

- Implementors of virtual machines

- Contributors to GNU Classpath

Of course, anyone else is equally welcome to join!


-----
Talks
-----

- Agile2D, an implementation of Java2D on top of OpenGL
  (Jean-Daniel Fekete)

If you would like to give a presentation during the workshop, please
contact Sascha Brawer (brawer@dandelis.ch).  It would be especially
helpful if someone was present who knows about RedHat's implementation o=
f
Java2D on top of Xr/Cairo. But you are invited to speak about any
relevant topic.

 

-------------
Related links
-------------

It would be good if the attendands could get familiar with some of the
relevant APIs. Of course, knowledge about Java2D(TM) would be especially=

important.

- Programmer's Guide to the Java2D(TM) API
  ftp://ftp.java.sun.com/docs/j2se/1.4/j2d-book.pdf (PDF),
  http://java.sun.com/j2se/1.4.2/docs/guide/2d/spec/j2d-bookTOC.html (HT=
ML)

- The X Rendering Extension
  Design: http://keithp.com/~keithp/talks/usenix2001/
  Protocol: http://keithp.com/~keithp/render/protocol.html

- Xr/Cairo (client-side API that uses X Rendering if present)
  Description: http://cairographics.org/xr=5Fols2003/
  Implementation: http://www.cairographics.org/
  API: http://www.keithp.com/cgi-bin/cvsweb/cairo/src/cairo.h

- OpenGL(TM)
  Overviews: http://www.opengl.org/developers/documentation/overviews.ht=
ml
  Specification:
  http://www.opengl.org/developers/documentation/version1=5F4/glspec14.p=
df
  Agile2D (implements Java2D on top of OpenGL):
  http://www.lri.fr/~fekete/agile2d/

- GNU Classpath
  http://www.gnu.org/software/classpath/




Please feel free to forward this message to anyone who might be interest=
ed.

-- Sascha

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






From MAILER-DAEMON Tue Aug 12 10:57:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19maaT-0003dr-Uk
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 10:57:25 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19maaP-0003dS-0A
	for classpath@gnu.org; Tue, 12 Aug 2003 10:57:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19maZs-0003Sg-7l
	for classpath@gnu.org; Tue, 12 Aug 2003 10:57:20 -0400
Received: from [217.8.192.20] (helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19maZL-0003JO-IM; Tue, 12 Aug 2003 10:56:15 -0400
Received: from [192.168.1.33] (197.43.dyn-adsl.customer.ch.easynet.net
	[217.8.197.43]) by smtp1.mail.ch.easynet.net (Postfix) with ESMTP
	id 66A5C49FB3; Tue, 12 Aug 2003 16:56:10 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: Brian Jones <cbj@gnu.org>
Date: Tue, 12 Aug 2003 16:56:10 +0200
Message-Id: <20030812145610.1456@smtp.mail.ch.easynet.net>
In-Reply-To: <m38ypzuiti.fsf@lyta.haphazard.org>
References: <m38ypzuiti.fsf@lyta.haphazard.org>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: gnu.java.awt.font
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 14:57:21 -0000

Brian Jones <cbj@gnu.org> wrote on Tue, 12 Aug 2003 09:06:01 -0400:

Sascha> I've put a new snapshot of a prospective gnu.java.awt.font
Sascha> package at the following address:
Sascha> http://www.dandelis.ch/development/fonts/#Implementation

>Is this something we should get imported into Classpath since you're
>no longer working on improving it or are you thinking of writing it on
>top of OpenGL?

We really should discuss how to do graphics in general; see the workshop
announcement in a separate mail. Therefore, I think it would be too early
to import my code into Classpath. Before importing it, we should find
some general interface to font engines, so that those who can use
FreeType or some other native engine are able to use that instead of my
(pure Java) implementation.

Since you mention it: OpenGL has actually very little to do with fonts.
Its potential role in 2D graphics is fast operations on polygons and
images. To draw text with OpenGL (or also with the X rendering
extension), one needs to render some glyphs into a raster image, pass the
image to the rendering engine, and draw rectangular sections of that
image. This is orthogonal to choosing, measuring and obtaining glyph
outlines, which is what my (or any other) font library does.

Best,

-- Sascha

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





From MAILER-DAEMON Tue Aug 12 12:09:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mbiW-0001bo-Fg
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 12:09:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mbiT-0001Z5-9G
	for classpath@gnu.org; Tue, 12 Aug 2003 12:09:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mbhv-0000zz-U7
	for classpath@gnu.org; Tue, 12 Aug 2003 12:09:43 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19mbhv-0000zT-FJ; Tue, 12 Aug 2003 12:09:11 -0400
Received: from fleche.redhat.com (tf0113.peakpeak.com [204.144.239.113])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id KAA32196;
	Tue, 12 Aug 2003 10:09:08 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 5396F4F8804; Tue, 12 Aug 2003 10:01:25 -0600 (MDT)
To: Brian Jones <cbj@gnu.org>
References: <5C38B761F205B54BA59FF611A65C62480118B8@lembu.sumatrasoftware.com>
	<874r6hg2pj.fsf@fleche.redhat.com> <m3n0eft3kv.fsf@lyta.haphazard.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Life is selling REVOLUTIONARY HAIR PRODUCTS!
Date: 12 Aug 2003 10:01:25 -0600
In-Reply-To: <m3n0eft3kv.fsf@lyta.haphazard.org>
Message-ID: <871xvqyiei.fsf@fleche.redhat.com>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Small ZipFile patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 16:09:46 -0000

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

>> Sounds like we need this in ClassLoader and in any other class that
>> performs security checks in its constructor.

Brian> This is still a TODO item, yes?

I fixed this in ClassLoader.  I haven't looked to see whether any
other classes have a security check in their constructor.  (Well, I
know that Window does, but I think it doesn't need this treatment,
since it won't throw a SecurityException.)

Tom



From MAILER-DAEMON Tue Aug 12 12:14:29 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mbn0-0007Zd-M4
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 12:14:26 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mbka-000495-AJ
	for classpath@gnu.org; Tue, 12 Aug 2003 12:11:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mbjy-0003Iv-SZ
	for classpath@gnu.org; Tue, 12 Aug 2003 12:11:50 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mbjb-0002hp-Cz
	for classpath@gnu.org; Tue, 12 Aug 2003 12:10:55 -0400
Received: from fleche.redhat.com (tf0113.peakpeak.com [204.144.239.113])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id KAA32669;
	Tue, 12 Aug 2003 10:10:52 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 165E34F8804; Tue, 12 Aug 2003 10:03:11 -0600 (MDT)
To: proetel@aicas.com
References: <E19mZOx-0004jE-IY@subversions.gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: This ASIAGO-N-DRIED TOMATO combo would taste a lot better between two
	plastic SIPPER LIDS!
Date: 12 Aug 2003 10:03:11 -0600
In-Reply-To: <E19mZOx-0004jE-IY@subversions.gnu.org>
Message-ID: <87wudix3r4.fsf@fleche.redhat.com>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: classpath java/util/TimeZone.java java/util/Loc...
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 16:14:24 -0000

>>>>> "Ingo" == Ingo Proetel <proetel@aicas.com> writes:

Hi.

Ingo> 	java/util      : TimeZone.java Locale.java 

Please follow the existing coding standards.  I looked at this briefly
and there were a couple formatting bugs.  For instance, in Classpath
an opening brace `{' goes on its own line.

Tom



From MAILER-DAEMON Tue Aug 12 12:38:54 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mcAg-0004M8-Cp
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 12:38:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mcAf-0004M0-45
	for classpath@gnu.org; Tue, 12 Aug 2003 12:38:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mcA8-0003uP-6e
	for classpath@gnu.org; Tue, 12 Aug 2003 12:38:52 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mcA7-0003tE-PD
	for classpath@gnu.org; Tue, 12 Aug 2003 12:38:19 -0400
Received: from fleche.redhat.com (tf0113.peakpeak.com [204.144.239.113])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id KAA07816;
	Tue, 12 Aug 2003 10:38:17 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 736254F8804; Tue, 12 Aug 2003 10:30:35 -0600 (MDT)
To: Sascha Brawer <brawer@dandelis.ch>
References: <87he4o16p4.fsf@fleche.redhat.com>
	<20030812055247.11803@smtp.mail.ch.easynet.net>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: BEEP-BEEP!!  I'm a '49 STUDEBAKER!!
Date: 12 Aug 2003 10:30:35 -0600
In-Reply-To: <20030812055247.11803@smtp.mail.ch.easynet.net>
Message-ID: <87oeyux2hg.fsf@fleche.redhat.com>
Lines: 17
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: /classpath java/awt/font/OpenType.java ChangeLog
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 16:38:53 -0000

>>>>> "Sascha" == Sascha Brawer <brawer@dandelis.ch> writes:

Sascha> I know about the implicit modifiers for interface fields, but
Sascha> I am a bit surprised that omitting them would be our coding
Sascha> standard. Is it a good idea to omit declarations that, while
Sascha> technically redundant, make the code easier to understand?

First, I didn't make this particular rule.  As I recall in libgcj we
did have all the redundant modifiers.

However, I think the rationale here is that even Sun suggests not
using these.

Well, ok, I could only find this style discouragement for modifiers
on methods.  See JLS 9.4.

Tom



From MAILER-DAEMON Tue Aug 12 16:00:14 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mfJR-0002uB-T4
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 16:00:09 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mfJJ-0002Ws-Mm
	for classpath@gnu.org; Tue, 12 Aug 2003 16:00:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mfIR-0000Di-EP
	for classpath@gnu.org; Tue, 12 Aug 2003 15:59:38 -0400
Received: from [80.91.224.249] (helo=main.gmane.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19mfIQ-00008l-EN
	for classpath@gnu.org; Tue, 12 Aug 2003 15:59:06 -0400
Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian))
	id 19mfJd-000694-00
	for <classpath@gnu.org>; Tue, 12 Aug 2003 22:00:21 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: classpath@gnu.org
Received: from sea.gmane.org ([80.91.224.252])
	by main.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 19mfBB-00064R-00
	for <gmane-comp-java-classpath-devel@m.gmane.org>;
	Tue, 12 Aug 2003 21:51:37 +0200
Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian))
	id 19mf9w-0001tV-00
	for <gmane-comp-java-classpath-devel@m.gmane.org>;
	Tue, 12 Aug 2003 21:50:20 +0200
From: graydon hoare <graydon@redhat.com>
Date: 12 Aug 2003 15:50:08 -0400
Lines: 54
Message-ID: <87isp2k64v.fsf@dub.venge.net>
References: <3F2D494C.8050600@inria.fr>
	<20030804110830.13843@smtp.mail.ch.easynet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: usenet@sea.gmane.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Sender: news <news@sea.gmane.org>
Cc: Jean-Daniel.Fekete@inria.fr
Subject: Re: X Rendering and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 20:00:08 -0000

Sascha Brawer <brawer@dandelis.ch> writes:

> It seems there are several people with that goal, and that some
> coordination would be good so we can share at least some of the effort.
> Therefore, I guess I'll try to arrange a discussion session during
> LinuxKongress in Saarbrücken/Germany. Jean-Daniel, are you planning to go
> there, by chance?
> 
> Graydon, where are you located? Is there a chance that either you or
> someone else might be present who is familiar with what you are doing on
> top of Cairo/Xr?

I am located in Canada, and it will be somewhat of a trick for me to
get to Saarbrücken. I'll ask my manager, but I can't make any
promises.

I have had a look over the agile2d material, and while I was quite
enthusiastic looking at screenshots and playing with the demo
material, after reading the code I am hesitant to endorse this as a
solution for classpath or gcj. it seems quite specifically an
experiment in java2d *acceleration*, rather than from-scratch
implementation.

In particular, it relies on the existing sun java2d to perform much of
the "tricky" work, such as region and scanline conversion of fonts,
strokes and shapes; glyph selection, shaping and layout. moreover it
does not appear to support porter/duff compositing rules or splines,
nor subpixel positioning of glyphs (the latter is a common problem
when using texture mosaics for hardware-assisted glyphs).

in general terms -- and I don't mean to start a flamewar or anything
-- what it seems to do is (elegantly) copy pixels, matrices and
vectors back and forth between sun's java2d and the video card's
texture buffers, matrix stack and display lists, keeping the requisite
graphics states in sync and accelerating those operations it can with
hardware resources. the result is a good speedup, but it's not
particularly independent of sun's code. 

(a broader concern I have with "hardware accelerated" drawing is that
 there is sometimes an uncontrollable loss of precision and increase
 in ambiguous or unspecified behavior when using consumer graphics
 hardware. for example -- though you'll probably have a hard time
 reproducing this -- my cheapo OGL video card appears to make some
 creative decisions about texel coordinates, such that depending on
 the position of a window on the screen, glyphs in the agile2d demo
 are selected from one pixel further to the left or right than they
 should be, making small (< 24pt) text read like garbage. this is less
 significant with applications like games -- for which the hardware is
 designed -- or for large block-pixel movement commands, but can be a
 problem when attempting to do precise subpixel operations, for
 example rendering and placing glyphs.)

-graydon





From MAILER-DAEMON Tue Aug 12 19:09:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19miGX-0002ss-DO
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 19:09:21 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19miGL-0002TA-RW
	for classpath@gnu.org; Tue, 12 Aug 2003 19:09:10 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19miFN-0000fy-Mv
	for classpath@gnu.org; Tue, 12 Aug 2003 19:08:40 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19miCr-0006fs-Eq
	for classpath@gnu.org; Tue, 12 Aug 2003 19:05:33 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19miAj-0004SO-00
	for <classpath@gnu.org>; Wed, 13 Aug 2003 01:03:21 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1060729531.1009.83.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 13 Aug 2003 01:05:31 +0200
Content-Transfer-Encoding: 7bit
Subject: ChangeLog entries
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 23:09:18 -0000

Hi,

I would really like everybody to follow the ChangeLog entry guidelines
given in:
http://www.gnu.org/software/guile/changelogs/guile-changelogs_3.html

I will try to update out hacking document with some of the style guides
later. But maybe a couple of examples are more clear. So here is how I
would like to see some of the ChangeLog entries of today:

>         * java/awt/font/OpenType.java: Remove 'public static final'
>         from OpenType tags, reverting the change of 2003-08-11.  See
>         Classpath discussion list of 2003-08-11.

This should just state:

	* java/awt/font/OpenType.java: Remove 'public static final' from
	all member fields.

The explanation why should either be in the code or (more appropriate in
this case be added to our hacking document.

>         * java/io/ObjectOutputStream.java : allow putFields be called more than
> once

Don't make lines longer then 80 characters. And this explains the effect
of the change, which should be in a comment in the code if appropriate.
The ChangeLog should just explain what changed:

	* java/io/ObjectOutputStream.java (putFields): Don't call
	markFieldsWritten(). Only create new PutField when
	currentPutField is null.
	(writeFields): Call markFieldsWritten().

Also this patch included more then just the above. It also cleaned up
some exceptions. Which is nice, but should probably be a separate patch
and the change should be documented in the ChangeLog.

(Sidenote. Since Throwables can now be chained it is a good idea to use
Throwable.setCause() and not just add the String representation of a
exception to another exception.)

Hope these examples help. And I do appreciate the fact that writing
ChangeLog entries, using a coding style that is not "your own" and the
CVS, patch and diff tools do take some time to getting used to. So don't
feel like you have to do it perfect right away or that contributions
aren't welcome if they aren't 'perfect'. We all learn by doing and
interacting with each other. And over time I might actually learn to be
a bit less uptight maintainer :)

One more thing. I really want to have a pretty open check-in policy. But
this means that you should be extra careful if you check something in.
If at all in doubt or if you think that something might need extra
explaining since it is not completely obvious please make a little
announcement about the change on the main classpath mailinglist. And if
you do commit something without discussing it first and another GNU
Classpath hackers asks for extra explanation or suggests to revert a
certain commit then please reply to the request by explaining why
something should be so or if you agree to revert it. (Just reverting
immediately is OK without discussion, but then please don't mix it with
other changes.)

All the above is really meant to make sure that GNU Classpath will be
maintainable in the long run and to give all the projects that are now
using GNU Classpath an accurate view of the changes we make to the code
and to see what changed when.

If you think that the above "project rules" are impractical or will
hinder contributions please contact me. I am happy to do code cleanups
and/or write ChangeLog entries for submissions (although that can mean
that your contribution takes a bit longer to get into the main tree).
And we can always setup a classpath-patches mailinglist to really
discuss and/or approve of each change before it gets committed, but I
think that will add to much bureaucracy at the moment.

Cheers,

Mark




From MAILER-DAEMON Tue Aug 12 19:19:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19miQ8-0001Cy-4A
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 19:19:16 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19miPl-0000Xf-Ju
	for classpath@gnu.org; Tue, 12 Aug 2003 19:18:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19miOd-00077b-0N
	for classpath@gnu.org; Tue, 12 Aug 2003 19:18:14 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19miIR-0005xx-2O; Tue, 12 Aug 2003 19:11:19 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19miGE-0004TY-00; Wed, 13 Aug 2003 01:09:02 +0200
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
In-Reply-To: <m3he4nvldl.fsf@lyta.haphazard.org>
References: <3F3662C2.5010904@kaffe.org> <3F37D3CB.1090700@kaffe.org>
	<m3he4nvldl.fsf@lyta.haphazard.org>
Content-Type: text/plain
Message-Id: <1060729871.1014.87.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 13 Aug 2003 01:11:12 +0200
Content-Transfer-Encoding: 7bit
Cc: kaffe@kaffe.org, classpath@gnu.org
Subject: Re: [kaffe] Serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 23:19:14 -0000

Hi,

On Tue, 2003-08-12 at 01:13, Brian Jones wrote:
>
> Sweet, when could this go into Classpath?

Guilhem already send me a patch and as soon as the paperwork is done it
will almost certainly go immediately (I will review it, but it looks
pretty good). And Guilhem already checked in this new code (the GNU
Classpath ObjectStream classes with his fixes into Kaffe so people can
already play with it if they want.

Cheers,

Mark




From MAILER-DAEMON Tue Aug 12 19:30:06 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19miZp-0004K5-So
	for mharc-classpath@gnu.org; Tue, 12 Aug 2003 19:29:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19miUN-00080x-9J
	for classpath@gnu.org; Tue, 12 Aug 2003 19:23:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19miTl-0007Fv-IL
	for classpath@gnu.org; Tue, 12 Aug 2003 19:23:32 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19miT4-0006c8-UF
	for classpath@gnu.org; Tue, 12 Aug 2003 19:22:18 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7CNIlnU029331; Tue, 12 Aug 2003 19:18:50 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 3320ABE6B7; Tue, 12 Aug 2003 18:59:33 -0400 (EDT)
Sender: cbj@haphazard.org
To: tromey@redhat.com
References: <E19mZOx-0004jE-IY@subversions.gnu.org>
	<87wudix3r4.fsf@fleche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 12 Aug 2003 18:59:33 -0400
In-Reply-To: <87wudix3r4.fsf@fleche.redhat.com>
Message-ID: <m3adaetrca.fsf@lyta.haphazard.org>
Lines: 17
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: classpath java/util/TimeZone.java java/util/Loc...
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Aug 2003 23:29:16 -0000

Tom Tromey <tromey@redhat.com> writes:

> >>>>> "Ingo" == Ingo Proetel <proetel@aicas.com> writes:
> 
> Hi.
> 
> Ingo> 	java/util      : TimeZone.java Locale.java 
> 
> Please follow the existing coding standards.  I looked at this briefly
> and there were a couple formatting bugs.  For instance, in Classpath
> an opening brace `{' goes on its own line.

Any word on jalopy understanding our conventions?

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



From MAILER-DAEMON Wed Aug 13 07:57:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19muFz-0002Kf-9Z
	for mharc-classpath@gnu.org; Wed, 13 Aug 2003 07:57:35 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19muFu-0002Au-IT
	for classpath@gnu.org; Wed, 13 Aug 2003 07:57:30 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19muDn-0008MX-BU
	for classpath@gnu.org; Wed, 13 Aug 2003 07:55:50 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19muCk-0007Vq-BX
	for classpath@gnu.org; Wed, 13 Aug 2003 07:54:14 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id F3DF362223; Wed, 13 Aug 2003 11:54:12 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 60104-02; Wed, 13 Aug 2003 11:54:09 +0000 (GMT)
Received: from reali.dnsalias.net (adsl-212-41-87-129.solnet.ch
	[212.41.87.129]) by mail01.solnet.ch (Postfix) with ESMTP
	id 43D0D60E05; Wed, 13 Aug 2003 11:54:07 +0000 (GMT)
Received: from pcprr (unknown [193.72.144.232])
	by reali.dnsalias.net (Postfix) with SMTP
	id 2BD4D31DC7; Wed, 13 Aug 2003 13:47:26 +0200 (CEST)
Message-ID: <001001c36191$93ff7350$360a280a@elca.ch>
From: "Patrik Reali" <reali@acm.org>
To: "Mark Wielaard" <mark@klomp.org>,
	"Jeroen Frijters" <jeroen@sumatra.nl>
References: <788B535AB1F9CB49BB9C229372B50ACC456C@LEMBU.sumatrasoftware.com>
	<1060637106.1036.99.camel@elsschot>
Date: Wed, 13 Aug 2003 13:53:56 +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.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Virus-Scanned: by SolNet
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Aug 2003 11:57:34 -0000

> > A side question (that's important for deciding whether to include it in
> > the 0.06 release), do any VMs use the unmodified reference Thread class?
>
> I believe the kissme VM just uses the vm/reference version of Thread.

Jaos uses vm/reference/java/lang/Thread as is.

But this shouldn't stop you from improving the design by moving the native
stuff into a VMThread class. If a native method is just rewritten to call a
VM* method, then Jaos implementation will still work, because the linker
patches the native method implementation directly into the method table and
thus ignores the call to the VM* class.

-Patrik




From MAILER-DAEMON Wed Aug 13 10:01:29 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19mwBs-0001BC-Vi
	for mharc-classpath@gnu.org; Wed, 13 Aug 2003 10:01:28 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19mwBq-0001Az-5i
	for classpath@gnu.org; Wed, 13 Aug 2003 10:01:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19mwBK-0000tM-H6
	for classpath@gnu.org; Wed, 13 Aug 2003 10:01:25 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19mwBK-0000sN-5S; Wed, 13 Aug 2003 10:00:54 -0400
Received: from fleche.redhat.com (tf0113.peakpeak.com [204.144.239.113])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id IAA31620;
	Wed, 13 Aug 2003 08:00:45 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 053414F87D2; Wed, 13 Aug 2003 07:52:59 -0600 (MDT)
To: Brian Jones <cbj@gnu.org>
References: <E19mZOx-0004jE-IY@subversions.gnu.org>
	<87wudix3r4.fsf@fleche.redhat.com> <m3adaetrca.fsf@lyta.haphazard.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: FIRST, I'm covering you with OLIVE OIL and PRUNE WHIP!!
Date: 13 Aug 2003 07:52:59 -0600
In-Reply-To: <m3adaetrca.fsf@lyta.haphazard.org>
Message-ID: <877k5hslz8.fsf@fleche.redhat.com>
Lines: 7
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 Discussion Mailing List <classpath@gnu.org>
Subject: Re: classpath java/util/TimeZone.java java/util/Loc...
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Aug 2003 14:01:26 -0000

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

Brian> Any word on jalopy understanding our conventions?

Nope, I haven't heard back :-(

Tom



From MAILER-DAEMON Wed Aug 13 20:18:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19n5oh-0007jX-Ps
	for mharc-classpath@gnu.org; Wed, 13 Aug 2003 20:18:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19n5oe-0007eO-0e
	for classpath@gnu.org; Wed, 13 Aug 2003 20:18:08 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19n5o7-00075B-Li
	for classpath@gnu.org; Wed, 13 Aug 2003 20:18:06 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19n5o7-00072C-0o; Wed, 13 Aug 2003 20:17:35 -0400
Received: from fleche.redhat.com (tf0113.peakpeak.com [204.144.239.113])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id SAA29901;
	Wed, 13 Aug 2003 18:17:30 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id AABDB4F80B0; Wed, 13 Aug 2003 18:09:42 -0600 (MDT)
To: Brian Jones <cbj@gnu.org>
References: <200303031955.h23Jtc1o004941@arch20m.dellroad.org>
	<m3isp3t3h6.fsf@lyta.haphazard.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Hello, GORRY-O!!  I'm a GENIUS from HARVARD!!
Date: 13 Aug 2003 18:09:42 -0600
In-Reply-To: <m3isp3t3h6.fsf@lyta.haphazard.org>
Message-ID: <87ptj9nlq1.fsf@fleche.redhat.com>
Lines: 29
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, Archie Cobbs <archie@precisionio.com>,
	Archie Cobbs <archie@dellroad.org>
Subject: Re: Method.equals() question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Aug 2003 00:18:09 -0000

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

Brian> These have not been applied yet, we should do so before Friday.
Brian> Does this look okay to everyone?

Yes, except for one little nit:

>> -      // Implementation note:
>> -      // The following is a correct but possibly slow implementation.
>> -      //
>> -      // This class has a private field 'slot' that could be used by
>> -      // the VM implementation to "link" a particular method to a Class.
>> -      // In that case equals could be simply implemented as:
>> -      //
>> -      // if (o instanceof Method)
>> -      // {
>> -      //    Method m = (Method)o;
>> -      //    return m.declaringClass == this.declaringClass
>> -      //           && m.slot == this.slot;
>> -      // }
>> -      // return false;

This part of the comment is still correct and could be left in place.
(This is actually what libgcj does.)

Whether you want to leave it in place, I don't know.  I see it is a
nice, but optional, hint to implementors.

Tom



From MAILER-DAEMON Wed Aug 13 21:13:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19n6gA-0004F2-Hv
	for mharc-classpath@gnu.org; Wed, 13 Aug 2003 21:13:26 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19n6fV-0002Ys-WD
	for classpath@gnu.org; Wed, 13 Aug 2003 21:12:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19n6eS-0007gP-L7
	for classpath@gnu.org; Wed, 13 Aug 2003 21:12:11 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19n6eR-0007Ta-QW
	for classpath@gnu.org; Wed, 13 Aug 2003 21:11:40 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.9/8.12.9) with ESMTP id h7E1BFwr027312;
	Thu, 14 Aug 2003 11:11:15 +1000 (EST)
Message-Id: <200308140111.h7E1BFwr027312@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 "11 Aug 2003 23:25:06 +0200." <1060637106.1036.99.camel@elsschot> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 14 Aug 2003 11:11:29 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang)
Cc: crawley@piglet.dstc.edu.au, classpath@gnu.org,
	Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Preparing for 0.06 release 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Aug 2003 01:13:24 -0000


> I believe the kissme VM just uses the vm/reference version of Thread.

This is correct.  

If the classpath implementation of  vm/reference/java/lang/Thread.java
is redone as java/lang/Thread.java + vm/reference/java/lang/VMThread.java,
kissme should be changed to reflect this.  This will entail changes to
the native methods, depending on how the new VMThread.java declares them.

A short term alternative (hack) would be to simply copy the existing 
classpath vm/reference/java/lang/Thread.java into the kissme tree so 
that kissme continues to use the old Thread.java code.

I'd prefer to deal with this AFTER Classpath 0.06.

-- Steve


-- Steve




From MAILER-DAEMON Thu Aug 14 01:10:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nANq-00067s-AR
	for mharc-classpath@gnu.org; Thu, 14 Aug 2003 01:10:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nANo-00066n-3n
	for classpath@gnu.org; Thu, 14 Aug 2003 01:10:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nANH-00060v-8f
	for classpath@gnu.org; Thu, 14 Aug 2003 01:10:42 -0400
Received: from [219.124.60.37] (helo=hc-gw2.hitachi-cable.co.jp)
	by monty-python.gnu.org with smtp (Exim 4.20) id 19nAKf-0008NQ-L9
	for classpath@gnu.org; Thu, 14 Aug 2003 01:07:30 -0400
Received: (qmail 25445 invoked from network); 14 Aug 2003 05:07:20 -0000
Received: from unknown (HELO sm1.hitachi-cable.co.jp) (172.31.2.40)
	by hc-gw2.hitachi-cable.co.jp with SMTP; 14 Aug 2003 05:07:20 -0000
Received: from tm.hitachi-cable.co.jp (localhost [127.0.0.1])
	by sm1.hitachi-cable.co.jp (8.11.6/8.11.6) with SMTP id h7E548B19378
	for <classpath@gnu.org>; Thu, 14 Aug 2003 14:04:08 +0900
Date: Thu, 14 Aug 2003 14:04:08 +0900
Message-Id: <200308140504.h7E548B19378@sm1.hitachi-cable.co.jp>
Received: (qmail 15329 invoked from network); 14 Aug 2003 05:07:20 -0000
Received: from hjavd.htk.hitachi-cable.co.jp (HELO FLR-1DL9-011844)
	(172.18.51.29) by 172.31.3.5 with SMTP; 14 Aug 2003 05:07:20 -0000
X-Mailer: cmail 2.60 on GNU Emacs 20.7.1 / Mule 4.1 (AOI)
References: <1060526423.1050.57.camel@elsschot>
From: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
To: classpath@gnu.org
In-reply-to: Mark Wielaard's message of "10 Aug 2003 16:40:23
	+0200"	<1060526423.1050.57.camel@elsschot>
User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory?=
	=?ISO-8859-4?Q?=F2mae?=) APEL/10.3 Emacs/20.7 (i386-*-windows98.2222)
	MULE/4.1 (AOI) Meadow/1.14 (AWSAKA:62)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Aug 2003 05:10:45 -0000

Hi,

In message "Preparing for 0.06 release"
    on 03/08/10, Mark Wielaard <mark@klomp.org> writes:

>   - There are still some open bugs:
>     http://savannah.gnu.org/bugs/?group=classpath

I submitted two new bug reports, which were originally
submitted to this mailing list.



From MAILER-DAEMON Thu Aug 14 05:39:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nEaJ-0007Vi-D2
	for mharc-classpath@gnu.org; Thu, 14 Aug 2003 05:39:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nEaB-0007R2-97
	for classpath@gnu.org; Thu, 14 Aug 2003 05:39:47 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nEZe-000725-Hi
	for classpath@gnu.org; Thu, 14 Aug 2003 05:39:45 -0400
Received: from [62.4.17.104] (helo=mallaury.noc.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19nEYT-0006Eq-KF
	for classpath@gnu.org; Thu, 14 Aug 2003 05:38:01 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by mallaury.noc.nerim.net (Postfix) with ESMTP id 6F77C62D22
	for <classpath@gnu.org>; Thu, 14 Aug 2003 11:37:43 +0200 (CEST)
Message-ID: <3F3B5A49.8020306@kaffe.org>
Date: Thu, 14 Aug 2003 11:45:45 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
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: Class loader and serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Aug 2003 09:39:48 -0000

Hi,

it seems there is a misunderstanding problem between kaffe's class loader
mechanism and classpath's serialization. Here is the current state:
* ObjectInputStream builds class decriptors from input stream, or if it
is not described build them from classes directly. To do so it resolves
classes using Class.forName(name)
* It needs to build each inner fields: it it is a "natural" type (int, 
...) it is
constructed directly but if it is an object it uses
gnu.java.lang.reflect.TypeSignature.getClassForEncoding to build it.
This method calls Class.forName(name) to get the corresponding class.

The second step is the most problematic (the first may also cause problems
but they are marginal and if we can solve the second it will also be 
solved):
gnu.java.lang.reflect.TypeSignature has been loaded using the native 
class loader
(or more precisely the bootstrap class loader). But this class loader 
does not have
access to locally defined classes and this causes the regression test 
Alias.java
to halt (as pointed out by Dalibor ;) ). Kaffe's former implementation seems
to have solved this problem by resolving classes using the first non-null
class loader in the calling stack. Apparently, JDK use a similar mechanism
because its serialization code is capable of not taking ObjectInputStream's
class loader (which is null) but Alias's class loader (which sun's app 
class loader).

Would it be possible to add in classpath this sort of mechanism ? I mean 
dumping
the calling class stack so we can fetch the right class loader.

Cheers,
Guilhem.




From MAILER-DAEMON Thu Aug 14 09:07:02 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nHoh-0002Li-8G
	for mharc-classpath@gnu.org; Thu, 14 Aug 2003 09:06:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nHn5-0001Tz-TH
	for classpath@gnu.org; Thu, 14 Aug 2003 09:05:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nHlt-0000Z2-98
	for classpath@gnu.org; Thu, 14 Aug 2003 09:04:36 -0400
Received: from [24.93.67.82] (helo=ms-smtp-01.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19nHlM-000067-Gj
	for classpath@gnu.org; Thu, 14 Aug 2003 09:03:32 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7ECujTf024051; Thu, 14 Aug 2003 08:56:46 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id AF0A6BE6B7; Thu, 14 Aug 2003 09:03:27 -0400 (EDT)
Sender: cbj@haphazard.org
To: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
References: <1060526423.1050.57.camel@elsschot>
	<200308140504.h7E548B19378@sm1.hitachi-cable.co.jp>
From: Brian Jones <cbj@gnu.org>
Date: 14 Aug 2003 09:03:27 -0400
In-Reply-To: <200308140504.h7E548B19378@sm1.hitachi-cable.co.jp>
Message-ID: <m3isp0pf1c.fsf@lyta.haphazard.org>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Aug 2003 13:06:57 -0000

Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp> writes:

> Hi,
> 
> In message "Preparing for 0.06 release"
>     on 03/08/10, Mark Wielaard <mark@klomp.org> writes:
> 
> >   - There are still some open bugs:
> >     http://savannah.gnu.org/bugs/?group=classpath
> 
> I submitted two new bug reports, which were originally
> submitted to this mailing list.

Thanks Ito, I hadn't forgot about these.

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



From MAILER-DAEMON Thu Aug 14 09:56:37 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nIai-0004xI-Sh
	for mharc-classpath@gnu.org; Thu, 14 Aug 2003 09:56:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nIag-0004vn-8U
	for classpath@gnu.org; Thu, 14 Aug 2003 09:56:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nIa9-0004hZ-Ak
	for classpath@gnu.org; Thu, 14 Aug 2003 09:56:33 -0400
Received: from [62.4.16.104] (helo=kraid.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19nIa8-0004hI-V4
	for classpath@gnu.org; Thu, 14 Aug 2003 09:56:01 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by kraid.nerim.net (Postfix) with ESMTP id 7630F40E47
	for <classpath@gnu.org>; Thu, 14 Aug 2003 15:55:59 +0200 (CEST)
Message-ID: <3F3B96D1.3070801@kaffe.org>
Date: Thu, 14 Aug 2003 16:04:01 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
Cc: classpath@gnu.org
References: <3F3B5A49.8020306@kaffe.org>
In-Reply-To: <3F3B5A49.8020306@kaffe.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: Class loader and serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Aug 2003 13:56:35 -0000

Hi,

Thanks to Mark I have found a compatible way to do what I want with the 
SecurityManager.
I am going to see if it works in real world now.

Thanks Mark ! ;)

Cheers,
Guilhem.




From MAILER-DAEMON Thu Aug 14 10:42:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nJJB-0004wj-1I
	for mharc-classpath@gnu.org; Thu, 14 Aug 2003 10:42:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nJHk-0003JK-TL
	for classpath@gnu.org; Thu, 14 Aug 2003 10:41:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nJHA-0002f6-Kq
	for classpath@gnu.org; Thu, 14 Aug 2003 10:40:59 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19nJGR-0001HL-K2
	for classpath@gnu.org; Thu, 14 Aug 2003 10:39:43 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19nJE9-00022r-00; Thu, 14 Aug 2003 16:37:21 +0200
From: Mark Wielaard <mark@klomp.org>
To: Guilhem Lavaux <guilhem@kaffe.org>
In-Reply-To: <3F3B96D1.3070801@kaffe.org>
References: <3F3B5A49.8020306@kaffe.org>  <3F3B96D1.3070801@kaffe.org>
Content-Type: text/plain
Message-Id: <1060871972.1007.21.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 14 Aug 2003 16:39:32 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Class loader and serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Aug 2003 14:42:31 -0000

Hi,

On Thu, 2003-08-14 at 16:04, Guilhem Lavaux wrote:
> Thanks to Mark I have found a compatible way to do what I want with the 
> SecurityManager.
> I am going to see if it works in real world now.

For an example of what I suggested see the way java.util.ResourceBundle
creates a SecurityManager to access the calling ClassLoader.

Note that the above example actually uses getClassContext() which is
inefficient. If we look again at the SecurityManger/VMSecurityManager
split it might be a good idea to give VMs the possibility of providing
efficient implementations of currentClassLoader(), currentLoadedClass(),
etc.

Cheers,

Mark

P.S. I am sometimes reachable on IRC on the irc.oftc.net server as 'mjw'
and/or on the #gcj channel or on the irc.gnu.org server on the #kaffe
channel. (Should we create a #classpath channel?)




From MAILER-DAEMON Thu Aug 14 13:19:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nLke-0006KC-CY
	for mharc-classpath@gnu.org; Thu, 14 Aug 2003 13:19:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nLkA-0005Ub-HM
	for classpath@gnu.org; Thu, 14 Aug 2003 13:18:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nLhy-0002KB-3E
	for classpath@gnu.org; Thu, 14 Aug 2003 13:16:49 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19nLhD-0000y8-Da
	for classpath@gnu.org; Thu, 14 Aug 2003 13:15:31 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19nLf2-0002NW-00
	for <classpath@gnu.org>; Thu, 14 Aug 2003 19:13:16 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1060526423.1050.57.camel@elsschot>
References: <1060526423.1050.57.camel@elsschot>
Content-Type: text/plain
Message-Id: <1060881328.1451.41.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 14 Aug 2003 19:15:28 +0200
Content-Transfer-Encoding: 7bit
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Aug 2003 17:19:02 -0000

Hi,

There is (in a couple of minutes) a first test tar ball up at:
http://www.klomp.org/mark/classpath/classpath-0.06-test1.tar.gz (5.4M)
And I would appreciate it if someone could try it out.
But there are still some things todo before 0.06.

- More bugs...

        3207 	API installation fails, argument list too long
        Postponed?
        
        3872 	Extra optional Exceptions thrown in e.g.
        List.remove(Object) since 1.4
        Postponed?
        
        4118 	java.text.RuleBasedCollator is incompleted
        Unanalyzed.
        
        4120 	Locale collation rules incorrect (or missing)
        Unalalyzed.
        
        4357 	HTTP Request Headers should be handled Case Sensitive
        Unanalyzed.
        
        4477 	PrintWriter.checkError() gives wrong result sometimes
        Seems to work for us, but libgcj is wrong. Strange, analyzis
        seems to indicate
        that this should also be a problem for us...
        
        4741 	java.util.GregorianCalendar returns 0 for the first week
        of the month
        Unanalyzed.
        
        4742 	java.io.StreamTokenizer behaves differently from Sun's
        implementation
        Unanalyzed.
        
- VMThread.
Postponed.

- VMSecurityManager
Postponed.

- VMMethod
Unanalyzed/Postpone?

- Import new external libraries
  - GNU-JAXP

- make dist.
Now creates a nice tar ball that can then be used to just
./configure && make && make install.

- make distcheck.
Would be nice to be distcheck clean, but currently we have lots of files
left after a make clean (mainly lib/*/ .class files).

- gjdoc
Played with it a bit and almost have it working, but gjdoc from CVS
doesn't build out of the box for me. I have to add the GNUJAXP sources,
play with resource paths a bit. Now still have to add a xml.transformer.
The Debian package from unstable is broken.

- .so files
Make install doesn't create .so files for me. For example I now have in
	/usr/share/classpath/lib/classpath:
	libjavanet -> libjavanet.0.0.0
	libjavanet.0 -> libjavanet.0.0.0
	libjavanet.0.0.0
	libjavanet.la
No .so files.
Linking libjavanet.so -> libjavanet.0.0.0 by hand seems to work.

- tar balls
  - Create tests
  - Where to host? (alpha.gnu.org)

- NEWS file

- Announcement
  - Write
  - When to announce?
  - Where to announce?

- Bumb version number and tag tree just before final tar ball.

I am slowly going through this list. Hopefully resolving all items so we
have a real 0.06 tomorrow.

Cheers,

Mark




From MAILER-DAEMON Thu Aug 14 19:43:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nRkM-0003e1-Ja
	for mharc-classpath@gnu.org; Thu, 14 Aug 2003 19:43:10 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nRkJ-0003bV-Vz
	for classpath@gnu.org; Thu, 14 Aug 2003 19:43:07 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nRjn-0002o9-EE
	for classpath@gnu.org; Thu, 14 Aug 2003 19:43:06 -0400
Received: from [24.93.67.82] (helo=ms-smtp-01.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19nRiG-0001ff-KQ
	for classpath@gnu.org; Thu, 14 Aug 2003 19:41:00 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7ENYGTf015223; Thu, 14 Aug 2003 19:34:17 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 56E95BE6B7; Thu, 14 Aug 2003 19:40:59 -0400 (EDT)
Sender: cbj@haphazard.org
To: Mark Wielaard <mark@klomp.org>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 14 Aug 2003 19:40:59 -0400
In-Reply-To: <1060881328.1451.41.camel@elsschot>
Message-ID: <m3adabq038.fsf@lyta.haphazard.org>
Lines: 60
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Aug 2003 23:43:08 -0000

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> There is (in a couple of minutes) a first test tar ball up at:
> http://www.klomp.org/mark/classpath/classpath-0.06-test1.tar.gz (5.4M)
> And I would appreciate it if someone could try it out.
> But there are still some things todo before 0.06.
> 
> - More bugs...
> 
>         3207 	API installation fails, argument list too long
>         Postponed?

Would 'find ... | cpio' fix the problem since the args are piped into
cpio instead of expanded on the command line...?

> - Import new external libraries
>   - GNU-JAXP

Will do tonight after dinner.

> 
> - make dist.
> Now creates a nice tar ball that can then be used to just
> ./configure && make && make install.
> 
> - make distcheck.
> Would be nice to be distcheck clean, but currently we have lots of files
> left after a make clean (mainly lib/*/ .class files).

It has never worked, worked almost completely with 0.05.  Does 'make
DESTDIR=/tmp/foo install' still work?

> - gjdoc
> Played with it a bit and almost have it working, but gjdoc from CVS
> doesn't build out of the box for me. I have to add the GNUJAXP sources,
> play with resource paths a bit. Now still have to add a xml.transformer.
> The Debian package from unstable is broken.
> 
> - .so files
> Make install doesn't create .so files for me. For example I now have in
> 	/usr/share/classpath/lib/classpath:
> 	libjavanet -> libjavanet.0.0.0
> 	libjavanet.0 -> libjavanet.0.0.0
> 	libjavanet.0.0.0
> 	libjavanet.la
> No .so files.
> Linking libjavanet.so -> libjavanet.0.0.0 by hand seems to work.

Is this a libtool problem or auto*?  I'll give it a try later.  I
think it works for me though.

automake 1.6.3
autoconf 2.53
libtool 1.4.2

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



From MAILER-DAEMON Thu Aug 14 21:02:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nSzH-0001gb-0I
	for mharc-classpath@gnu.org; Thu, 14 Aug 2003 21:02:39 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nSzE-0001dZ-Ji
	for classpath@gnu.org; Thu, 14 Aug 2003 21:02:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nSyh-0001PL-PO
	for classpath@gnu.org; Thu, 14 Aug 2003 21:02:35 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19nSyh-0001Om-Fk
	for classpath@gnu.org; Thu, 14 Aug 2003 21:02:03 -0400
Received: from ms-smtp-02.southeast.rr.com ([24.93.67.83])
	by mx20.gnu.org with esmtp (Exim 4.20) id 19nSyh-00043Q-8P
	for classpath@gnu.org; Thu, 14 Aug 2003 21:02:03 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7F0wbnU007101; Thu, 14 Aug 2003 20:58:38 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 9F2FBBE6B7; Thu, 14 Aug 2003 21:01:56 -0400 (EDT)
Sender: cbj@haphazard.org
To: Mark Wielaard <mark@klomp.org>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
	<m3adabq038.fsf@lyta.haphazard.org>
From: Brian Jones <cbj@gnu.org>
Date: 14 Aug 2003 21:01:56 -0400
In-Reply-To: <m3adabq038.fsf@lyta.haphazard.org>
Message-ID: <m365kzpwcb.fsf@lyta.haphazard.org>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2003 01:02:37 -0000

Brian Jones <cbj@gnu.org> writes:

> > - Import new external libraries
> >   - GNU-JAXP

Done, but someone concerned that I'm not seeing 'configure' in the
jaxp directory.  No difference otherwise between initial import and
this import.

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



From MAILER-DAEMON Thu Aug 14 21:27:19 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nTN9-00084w-34
	for mharc-classpath@gnu.org; Thu, 14 Aug 2003 21:27:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nTN6-00084a-QZ
	for classpath@gnu.org; Thu, 14 Aug 2003 21:27:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nTMZ-0007fg-2f
	for classpath@gnu.org; Thu, 14 Aug 2003 21:27:14 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19nTMY-0007Nf-CU
	for classpath@gnu.org; Thu, 14 Aug 2003 21:26:42 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7F1N4nU001045; Thu, 14 Aug 2003 21:23:11 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id A995DBE6B7; Thu, 14 Aug 2003 21:26:23 -0400 (EDT)
Sender: cbj@haphazard.org
To: tromey@redhat.com
References: <200303031955.h23Jtc1o004941@arch20m.dellroad.org>
	<m3isp3t3h6.fsf@lyta.haphazard.org> <87ptj9nlq1.fsf@fleche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 14 Aug 2003 21:26:23 -0400
In-Reply-To: <87ptj9nlq1.fsf@fleche.redhat.com>
Message-ID: <m3adabg18g.fsf@lyta.haphazard.org>
Lines: 35
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, Archie Cobbs <archie@precisionio.com>,
	Archie Cobbs <archie@dellroad.org>
Subject: Re: Method.equals() question
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2003 01:27:17 -0000

Tom Tromey <tromey@redhat.com> writes:

> >>>>> "Brian" == Brian Jones <cbj@gnu.org> writes:
> 
> Brian> These have not been applied yet, we should do so before Friday.
> Brian> Does this look okay to everyone?
> 
> Yes, except for one little nit:
> 
> >> -      // Implementation note:
> >> -      // The following is a correct but possibly slow implementation.
> >> -      //
> >> -      // This class has a private field 'slot' that could be used by
> >> -      // the VM implementation to "link" a particular method to a Class.
> >> -      // In that case equals could be simply implemented as:
> >> -      //
> >> -      // if (o instanceof Method)
> >> -      // {
> >> -      //    Method m = (Method)o;
> >> -      //    return m.declaringClass == this.declaringClass
> >> -      //           && m.slot == this.slot;
> >> -      // }
> >> -      // return false;
> 
> This part of the comment is still correct and could be left in place.
> (This is actually what libgcj does.)
> 
> Whether you want to leave it in place, I don't know.  I see it is a
> nice, but optional, hint to implementors.

Left it in place.  Checking in now.

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



From MAILER-DAEMON Fri Aug 15 06:43:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nc3R-0001Pu-5S
	for mharc-classpath@gnu.org; Fri, 15 Aug 2003 06:43:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nc3L-0001NG-Sk
	for classpath@gnu.org; Fri, 15 Aug 2003 06:43:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nc2n-0001DE-Gz
	for classpath@gnu.org; Fri, 15 Aug 2003 06:43:24 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19nc2D-00015E-GN; Fri, 15 Aug 2003 06:42:17 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19nc03-0004Jd-00; Fri, 15 Aug 2003 12:40:03 +0200
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
In-Reply-To: <m3adabq038.fsf@lyta.haphazard.org>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot> <m3adabq038.fsf@lyta.haphazard.org>
Content-Type: text/plain
Message-Id: <1060944135.24404.68.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 15 Aug 2003 12:42:15 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2003 10:43:30 -0000

Hi,

On Fri, 2003-08-15 at 01:40, Brian Jones wrote:
>  Does 'make DESTDIR=/tmp/foo install' still work?

Yes, except for the no .so files get installed for me thingy mentioned
earlier.

Cheers,

Mark




From MAILER-DAEMON Fri Aug 15 06:43:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nc3d-0001Xu-KV
	for mharc-classpath@gnu.org; Fri, 15 Aug 2003 06:43:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nc3X-0001SL-DY
	for classpath@gnu.org; Fri, 15 Aug 2003 06:43:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nc2y-0001GO-QG
	for classpath@gnu.org; Fri, 15 Aug 2003 06:43:35 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19nbvz-0007WQ-C9; Fri, 15 Aug 2003 06:35:51 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19nbtm-0004JP-00; Fri, 15 Aug 2003 12:33:34 +0200
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
In-Reply-To: <m3adabq038.fsf@lyta.haphazard.org>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot> <m3adabq038.fsf@lyta.haphazard.org>
Content-Type: text/plain
Message-Id: <1060943746.24404.64.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 15 Aug 2003 12:35:46 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2003 10:43:44 -0000

Hi,

On Fri, 2003-08-15 at 01:40, Brian Jones wrote:
> Is this a libtool problem or auto*?  I'll give it a try later.  I
> think it works for me though.
> 
> automake 1.6.3
> autoconf 2.53
> libtool 1.4.2

I have:
automake 1.7.6
autoconf 2.57
libtool 1.5.0a

Does it work for you? I can try downgrading the tools.

I see that out HACKING file suggests:

        - GNU autoconf 2.53
        - GNU automake 1.6
        - GNU libtool 1.4.2

Cheers,

Mark




From MAILER-DAEMON Fri Aug 15 07:22:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ncfQ-0002vp-RV
	for mharc-classpath@gnu.org; Fri, 15 Aug 2003 07:22:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ncfN-0002uD-Qi
	for classpath@gnu.org; Fri, 15 Aug 2003 07:22:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ncer-0002fi-5d
	for classpath@gnu.org; Fri, 15 Aug 2003 07:22:44 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ncaK-0001Z8-5R; Fri, 15 Aug 2003 07:17:32 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19ncYA-0004Qc-00; Fri, 15 Aug 2003 13:15:18 +0200
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
In-Reply-To: <1060943746.24404.64.camel@elsschot>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot> <m3adabq038.fsf@lyta.haphazard.org>
	<1060943746.24404.64.camel@elsschot>
Content-Type: text/plain
Message-Id: <1060946249.24404.70.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 15 Aug 2003 13:17:30 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2003 11:22:46 -0000

Hi,

On Fri, 2003-08-15 at 12:35, Mark Wielaard wrote:
> I have:
> automake 1.7.6
> autoconf 2.57
> libtool 1.5.0a
> 
> Does it work for you? I can try downgrading the tools.

Downgraded libtool to 1.4.3 and it now works correctly!

Yeah,

Mark




From MAILER-DAEMON Fri Aug 15 08:51:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ne3A-0001yL-PN
	for mharc-classpath@gnu.org; Fri, 15 Aug 2003 08:51:24 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ne37-0001rm-JN
	for classpath@gnu.org; Fri, 15 Aug 2003 08:51:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ne2Z-0000Vi-Js
	for classpath@gnu.org; Fri, 15 Aug 2003 08:51:19 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ne2I-0008QO-6p
	for classpath@gnu.org; Fri, 15 Aug 2003 08:50:30 -0400
Received: (qmail 13224 invoked by uid 504); 15 Aug 2003 14:50:24 +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.129705 secs); 15 Aug 2003 12:50:24 -0000
Received: from unknown (HELO localhost) ([139.165.77.48])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 15 Aug 2003 14:50:24 +0200
Date: Fri, 15 Aug 2003 14:36:54 +0200 (CEST)
Message-Id: <20030815.143654.102138409.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <1060946249.24404.70.camel@elsschot>
References: <m3adabq038.fsf@lyta.haphazard.org>
	<1060943746.24404.64.camel@elsschot>
	<1060946249.24404.70.camel@elsschot>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.57 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Multipart/Signed; protocol="application/pgp-signature";
	micalg=pgp-sha1;
	boundary="--Security_Multipart(Fri_Aug_15_14:36:55_2003_657)--"
Content-Transfer-Encoding: 7bit
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2003 12:51:23 -0000

----Security_Multipart(Fri_Aug_15_14:36:55_2003_657)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

On 15 Aug 2003 13:17:30 +0200
Mark Wielaard <mark@klomp.org> wrote:

> Hi,
> 
> On Fri, 2003-08-15 at 12:35, Mark Wielaard wrote:
> > I have:
> > automake 1.7.6
> > autoconf 2.57
> > libtool 1.5.0a
> > 
> > Does it work for you? I can try downgrading the tools.
> 
> Downgraded libtool to 1.4.3 and it now works correctly!
> 
> Yeah,

;) Mark can you specify this to make sure John 

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.

----Security_Multipart(Fri_Aug_15_14:36:55_2003_657)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

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

iD8DBQA/PNPn4vzFZu62tMIRAjRSAKC4cjzOqIxFDu0zFyP3szMRWw3x1gCfZAkP
k/lz6eXqvrGQvNDo8BqUFBs=
=xo4H
-----END PGP SIGNATURE-----

----Security_Multipart(Fri_Aug_15_14:36:55_2003_657)----



From MAILER-DAEMON Fri Aug 15 10:11:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nfIy-0000u0-Q6
	for mharc-classpath@gnu.org; Fri, 15 Aug 2003 10:11:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nfIu-0000tO-LO
	for classpath@gnu.org; Fri, 15 Aug 2003 10:11:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nfIO-0000Gk-OD
	for classpath@gnu.org; Fri, 15 Aug 2003 10:11:43 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19nfIA-00006K-UM
	for classpath@gnu.org; Fri, 15 Aug 2003 10:10:59 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19nfG0-0004kM-00
	for <classpath@gnu.org>; Fri, 15 Aug 2003 16:08:44 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1060881328.1451.41.camel@elsschot>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
Content-Type: text/plain
Message-Id: <1060956657.24404.95.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 15 Aug 2003 16:10:57 +0200
Content-Transfer-Encoding: 7bit
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2003 14:11:46 -0000

Hi,

On Thu, 2003-08-14 at 19:15, Mark Wielaard wrote:

> - NEWS file

Wow! There is so much changed between now and February 15 (the 0.05
release). There are 500+ ChangeLog entries since then. That is about 2
commits each and every day!

So I started out with mentioning some of the important changes, but soon
I just listed the packages that had seen big improvements, there has
been just to much work done the last couple of months :)
Anything I missed that really should be mentioned?

New in release 0.06 (not-yet-released)

* Update java.awt peers to GTK+2.
* java.awt.GridBagLayout implementation.
* New JNI nativee target code layer. See native/target/readme.txt.
* java.swing.border implementation.
* java.security and java.security.cert updated to 1.4 spec.
* --enable-regen-headers configure flag for automatic jni .h file generation.
* Removed workaround for gcj 3.2 and lower, gcj 3.3+ or jikes 1.18+ is now
  needed for compiling.
* Lots of improvements and/or new classes for java.awt, java.awt.dnd,
  java.awt.font, java.awt.geom, java.awt.image, java.io, java.math, java.net,
  java.nio, java.rmi, java.text, java.util, javax.swing, javax.swing.plaf,
  javax.swing.text.
                                                                                
VM Interface changes:
                                                                                
* VMClassLoader.loadClass(), the bootstrap classloader called by
  Class.forName() and ClassLoader.loadClass(), may now return null when
  a class is not found instead of throwing a new ClassNotFoundException.
  This is a performance optimization in some cases. This also changes
  the Class.forName() reference code.
* Native methods in Class have been moved to VMClass.  A few additional
  methods are also available in VMClass to provide optional performance
  improvements.
* A VM can now supply its own String.intern() strategy through the
  VMString class. The supplied VMString reference class implements the
  original WeakHashMap strategy.
* Float and Double to/from bits conversion functions can now be supplied by
  the VM through VMFloat and VMDouble. Default JNI conversion methods are
  supplied.

Cheers,

Mark




From MAILER-DAEMON Fri Aug 15 13:18:29 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19niD7-0007cP-Km
	for mharc-classpath@gnu.org; Fri, 15 Aug 2003 13:17:57 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19niBH-0004Tp-Qp
	for classpath@gnu.org; Fri, 15 Aug 2003 13:16:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19niAb-0003QJ-Bo
	for classpath@gnu.org; Fri, 15 Aug 2003 13:15:52 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ni5I-0008AA-9K
	for classpath@gnu.org; Fri, 15 Aug 2003 13:09:53 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19ni36-000541-00
	for <classpath@gnu.org>; Fri, 15 Aug 2003 19:07:36 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1060956657.24404.95.camel@elsschot>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
	<1060956657.24404.95.camel@elsschot>
Content-Type: multipart/mixed; boundary="=-19DvNlSZ6f3IZl3ZxSAy"
Message-Id: <1060967388.24404.138.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 15 Aug 2003 19:09:49 +0200
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2003 17:17:56 -0000


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

Hi,

Small update. I am not going to make it with 0.06 today.
I am still fighting to create a working gjdoc. I have it compiled now
with gcj, gnujaxp and libxmlj. But while running it always gives the
attached output. Also I think that the DecoderUTF8 patch should go in,
but I haven't created a test case for it yet. And the GNUAXP import
seems to not really work correctly when doing a make from a make dist
tarbal.

All other items on the list below aren't that important for 0.06 I
think. Will get out for a while now and try to finish it up tomorrow. In
the meantime you can play with a new test release:
http://www.klomp.org/mark/classpath/classpath-0.06-test2.tar.gz

- More bugs...

  3207 	API installation fails, argument list too long
  Postponed? Brian suggests:
  Would 'find ... | cpio' fix the problem since the args are piped into
  cpio instead of expanded on the command line...?

  3872 	Extra optional Exceptions thrown in e.g. List.remove(Object) since 1.4
  Postponed?

  4118 	java.text.RuleBasedCollator is incompleted
  Unanalyzed. (But Guilhem is working on java.text for importing into kaffe.)

  4120 	Locale collation rules incorrect (or missing)
  Unalalyzed. (But see above.)

  4357 	HTTP Request Headers should be handled Case Sensitive
  Unanalyzed.

  4477 	PrintWriter.checkError() gives wrong result sometimes
  Seems to work for us, but libgcj is wrong. Strange, analyzis seems to
  indicate that this should also be a problem for us...

  4741 	java.util.GregorianCalendar returns 0 for the first week of the month
  Unanalyzed.

  4742 	java.io.StreamTokenizer behaves differently from Sun's implementation
  Unanalyzed.

- Tech support requests

  100979	post class files
  Would be nice.

- Patches

  1823	errors in gnu/java/io/DecoderUTF8
  Seems necessary, but don't have a test case yet.

- VM interface rewrite.

  - VMThread.
  Postponed.

  - VMSecurityManager
  Postponed.

- Import new external libraries
  - GNU-JAXP (Imported, does it work/get included in dist?)

- make dist.
Now creates a nice tar ball that can then be used to just
./configure && make && make install.

- make distcheck.
Would be nice to be distcheck clean, but currently we have lots of files
left after a make clean (mainly lib/*/ .class files).

- gjdoc
Played with it a bit and almost have it working, but gjdoc from CVS doesn't
build out of the box for me. I have to add the GNUJAXP sources, play with
resource paths a bit. Now still have to add a xml.transformer. The Debian
package from unstable is broken. Have it build now with gcj, libxml and
gnujaxp, but it doesn't work correctly :{

- .so files
Make install doesn't create .so files for me.
SOLVED. Downgrade to libtool 1.4.3 (and updated HACKING document).

- tar balls
  - Create tests
  - Where to host? (alpha.gnu.org)

- NEWS file
  DONE - Updated with some new info. Could be more extended.

- Announcement
  - Write
  - When to announce?
  - Where to announce?

- Bumb version number and tag tree just before final tar ball.

Cheers,

Mark

--=-19DvNlSZ6f3IZl3ZxSAy
Content-Disposition: inline; filename=gjdoc.out
Content-Type: text/plain; name=gjdoc.out; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Loading classes for package java.util.jar...
Constructing Javadoc information...
Resolving references in classes...
Resolving references in packages...
Resolving references in class comments...
Resolving references in package comments...
Running doclet...
Writing XML Index file...
Writing XML information for java.util.jar.JarEntry...
Writing XML information for java.util.jar.JarException...
Writing XML information for java.util.jar.JarFile...
Writing XML information for java.util.jar.JarInputStream...
Writing XML information for java.util.jar.JarOutputStream...
Writing XML information for java.util.jar.Manifest...
Writing XML information for java.util.jar.Attributes...
Writing XML information for java.util.jar.Attributes.Name...
WARNING: In java.util.jar.Attributes.Name: Inserting </li>
WARNING: In java.util.jar.Attributes.Name: Inserting </li>
WARNING: In java.util.jar.Attributes.Name: Inserting '</li>
WARNING: In java.util.jar.Attributes.Name.EXTENSION_LIST: Inserting </li>
WARNING: In java.util.jar.Attributes.Name.EXTENSION_LIST: Inserting </li>
WARNING: In java.util.jar.Attributes.Name.EXTENSION_LIST: Inserting </li>
WARNING: In java.util.jar.Attributes.Name.EXTENSION_LIST: Inserting </li>
WARNING: In java.util.jar.Attributes.Name.EXTENSION_LIST: Inserting '</li>
java.lang.ArrayIndexOutOfBoundsException: -1
   at gnu.xml.dom.DomNode.item(int) (Unknown Source)
   at gnu.xml.dom.DomNode.getLastChild() (Unknown Source)
   at gnu.xml.pipeline.DomConsumer$Handler.characters(char[], int, int) (Unknown Source)
   at gnu.xml.aelfred2.SAXDriver.charData(char[], int, int) (Unknown Source)
   at gnu.xml.aelfred2.XmlParser.parseCharData() (Unknown Source)
   at gnu.xml.aelfred2.XmlParser.parseContent() (Unknown Source)
   at gnu.xml.aelfred2.XmlParser.parseElement(boolean) (Unknown Source)
   at gnu.xml.aelfred2.XmlParser.parseContent() (Unknown Source)
   at gnu.xml.aelfred2.XmlParser.parseElement(boolean) (Unknown Source)
   at gnu.xml.aelfred2.XmlParser.parseDocument() (Unknown Source)
   at gnu.xml.aelfred2.XmlParser.doParse(java.lang.String, java.lang.String, java.io.Reader, java.io.InputStream, java.lang.String) (Unknown Source)
   at gnu.xml.aelfred2.SAXDriver.parse(org.xml.sax.InputSource) (Unknown Source)
   at gnu.xml.aelfred2.XmlReader.parse(org.xml.sax.InputSource) (Unknown Source)
   at gnu.xml.dom.JAXPFactory$JAXPBuilder.parse(org.xml.sax.InputSource) (Unknown Source)
   at javax.xml.parsers.DocumentBuilder.parse(java.io.InputStream) (Unknown Source)
   at gnu.classpath.tools.doclets.xmldoclet.doctranslet.DocTranslet.getOutputFileList(java.net.URL, java.io.File) (Unknown Source)
   at gnu.classpath.tools.doclets.xmldoclet.doctranslet.DocTranslet.apply(java.io.File, java.io.File, com.sun.javadoc.DocErrorReporter) (Unknown Source)
   at gnu.classpath.tools.doclets.xmldoclet.Driver.instanceStart(com.sun.javadoc.RootDoc) (Unknown Source)
   at gnu.classpath.tools.doclets.xmldoclet.Driver.start(gnu.classpath.tools.gjdoc.TemporaryStore) (Unknown Source)
   at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], jvalue, jvalue) (/usr/lib/libgcj.so.4.0.0)
   at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/usr/lib/libgcj.so.4.0.0)
   at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.4.0.0)
   at gnu.classpath.tools.gjdoc.Main.startDoclet(java.util.List) (Unknown Source)
   at gnu.classpath.tools.gjdoc.Main.start(java.lang.String[]) (Unknown Source)
   at gnu.classpath.tools.gjdoc.Main.main(java.lang.String[]) (Unknown Source)
ERROR: java.lang.ArrayIndexOutOfBoundsException: -1
Done.
8 warnings

--=-19DvNlSZ6f3IZl3ZxSAy--




From MAILER-DAEMON Fri Aug 15 14:15:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nj6n-0007BA-Qk
	for mharc-classpath@gnu.org; Fri, 15 Aug 2003 14:15:29 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nj5r-0006AJ-Qe
	for classpath@gnu.org; Fri, 15 Aug 2003 14:14:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nj4n-0002rZ-L0
	for classpath@gnu.org; Fri, 15 Aug 2003 14:13:56 -0400
Received: from [209.92.1.32] (helo=newmx2.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.20) id 19nj4f-0002Ea-N4
	for classpath@gnu.org; Fri, 15 Aug 2003 14:13:17 -0400
Received: (qmail 13142 invoked from network); 15 Aug 2003 18:06:27 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx2.fast.net (qmail-ldap-1.03) with SMTP
	for <kaffe@kaffe.org>; 15 Aug 2003 18:06:27 -0000
Message-ID: <3F3D2122.5050908@corp.fast.net>
Date: Fri, 15 Aug 2003 14:06:26 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: Kaffe <kaffe@kaffe.org>, libgcj <java@gcc.gnu.org>, 
	GNU Classpath <classpath@gnu.org>, wonka-developers@acunia.com
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Japi pages back up
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2003 18:15:28 -0000

Thanks to a kind offer from Jim and Dalibor of Kaffe, the Japitools 
pages have a new home on the kaffe.org server. The official URL remains 
http://japi.sab39.org/ - older URLs that used to work won't any longer - 
please check any links you have to make sure they're right[1].

(No, I'm not going to rig the results in Kaffe's favor just because 
they're hosting the pages ;) )

Nightly processing is again being run and the results are up-to-date.

Thanks!

Stuart.

[1] Such as those on http://www.kaffe.org/compatibility*.shtml

-- 
Stuart Ballard, Senior Web Developer
FASTNET - Web Solutions
(215) 283-2300, ext. 126
www.fast.net




From MAILER-DAEMON Fri Aug 15 18:51:29 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nnPs-0003JA-Fq
	for mharc-classpath@gnu.org; Fri, 15 Aug 2003 18:51:28 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nnPq-0003Db-5y
	for classpath@gnu.org; Fri, 15 Aug 2003 18:51:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nnPB-00011L-Rm
	for classpath@gnu.org; Fri, 15 Aug 2003 18:51:17 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19nnPA-0000kW-Oe
	for classpath@gnu.org; Fri, 15 Aug 2003 18:50:44 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7FMl9NF015829; Fri, 15 Aug 2003 18:47:09 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 97D14BE6B7; Fri, 15 Aug 2003 18:50:33 -0400 (EDT)
Sender: cbj@haphazard.org
To: Mark Wielaard <mark@klomp.org>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
	<1060956657.24404.95.camel@elsschot>
	<1060967388.24404.138.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 15 Aug 2003 18:50:33 -0400
In-Reply-To: <1060967388.24404.138.camel@elsschot>
Message-ID: <m3r83meds6.fsf@lyta.haphazard.org>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2003 22:51:26 -0000

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> Small update. I am not going to make it with 0.06 today.

OK

> And the GNUAXP import seems to not really work correctly when doing
> a make from a make dist tarbal.

Weird, I'll have to take a look.

> java.lang.ArrayIndexOutOfBoundsException: -1

Hmm, Julian (julian@sektor37.de) could probably answer if he had time.

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



From MAILER-DAEMON Sat Aug 16 07:57:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19nzgS-0006Y7-V1
	for mharc-classpath@gnu.org; Sat, 16 Aug 2003 07:57:24 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19nzgP-0006N3-2Q
	for classpath@gnu.org; Sat, 16 Aug 2003 07:57:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19nzfs-0005Yo-0A
	for classpath@gnu.org; Sat, 16 Aug 2003 07:57:19 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19nzeE-0003V6-To; Sat, 16 Aug 2003 07:55:07 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19nzc4-00071X-00; Sat, 16 Aug 2003 13:52:52 +0200
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
In-Reply-To: <m3r83meds6.fsf@lyta.haphazard.org>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
	<1060956657.24404.95.camel@elsschot>
	<1060967388.24404.138.camel@elsschot>
	<m3r83meds6.fsf@lyta.haphazard.org>
Content-Type: text/plain
Message-Id: <1061034904.24404.196.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 16 Aug 2003 13:55:04 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Aug 2003 11:57:22 -0000

Hi,

On Sat, 2003-08-16 at 00:50, Brian Jones wrote:
> [... gjdoc execution ...]
> > java.lang.ArrayIndexOutOfBoundsException: -1
> 
> Hmm, Julian (julian@sektor37.de) could probably answer if he had time.

There must be something wrong with my setup/gcj since the statement
which throws this exception is inside a try { ... } catch
(RuntimeException re). Strange. Rebuilding my gcj now.

When compiling everything from source (I used gnujaxp.jar and
libxmlj.jar files first) most seems to work already for small batches of
classes, but multiple packages keep crashing.

Cheers,

Mark




From MAILER-DAEMON Sat Aug 16 18:15:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19o9Kj-00053b-5L
	for mharc-classpath@gnu.org; Sat, 16 Aug 2003 18:15:37 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19o9Ke-0004rA-Ku
	for classpath@gnu.org; Sat, 16 Aug 2003 18:15:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19o9K6-0003U4-Vc
	for classpath@gnu.org; Sat, 16 Aug 2003 18:15:30 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19o9JX-0001n1-SG; Sat, 16 Aug 2003 18:14:23 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19o9HG-00084z-00; Sun, 17 Aug 2003 00:12:02 +0200
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
In-Reply-To: <1061034904.24404.196.camel@elsschot>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
	<1060956657.24404.95.camel@elsschot>
	<1060967388.24404.138.camel@elsschot>
	<m3r83meds6.fsf@lyta.haphazard.org>
	<1061034904.24404.196.camel@elsschot>
Content-Type: multipart/mixed; boundary="=-kNHcMWiX7VadoQVeZ7bt"
Message-Id: <1061072055.24404.269.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 17 Aug 2003 00:14:15 +0200
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Aug 2003 22:15:35 -0000


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

Hi,

On Sat, 2003-08-16 at 13:55, Mark Wielaard wrote:
> When compiling everything from source (I used gnujaxp.jar and
> libxmlj.jar files first) most seems to work already for small batches of
> classes, but multiple packages keep crashing.

This seems to be a combination of bugs in libxmlj and libgcj.
I now have a more or less correctly working gjdoc with the patch
mentioned in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11951

And the following patch to libxmlj:

diff -u -r1.4 xmlj_io.c
--- src/xmlj_io.c       7 Mar 2003 02:07:34 -0000       1.4
+++ src/xmlj_io.c       16 Aug 2003 21:53:16 -0000
@@ -442,6 +442,12 @@
                                 hrefString,
                                 baseString);
  
+  if ((*env)->ExceptionOccurred (env))
+    {
+      /* Report to ErrorAdapter here? */
+      return NULL;
+    }
+
   jlong tree
     = (*env)->CallLongMethod (env,
                               libxmlDocument,

The above makes gjdoc barf a bit more intelligently on broken XHTML in
our javadoc. I am now going slowly through the output to
fixup/workaround some things that is wrong/cannot be handled gjdoc at
the moment.

This will take a while and I also want to be sure that the way we handle
gnujaxp is correct (didn't have time to check that). I did apply some of
the patches send in by Julian Dolby and Patrik Reali which fixed some
pretty embarrassing bugs (thanks guys!).

I want to push the release to Monday since everything takes much more
time then I had hoped (but we do get a much more robust release which is
nice). Hopefully I will then also have access again to the gnu machines
to make sure that the release can be published somewhere. Current status
below. Feel free to fix/check-in bug fixes (make sure you test it really
carefully), but please no big things till after the release.

Cheers,

Mark

--=-kNHcMWiX7VadoQVeZ7bt
Content-Disposition: inline; filename=TODO-0.06
Content-Type: text/x-readme; name=TODO-0.06; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

- More bugs...

  3207 	API installation fails, argument list too long
  Postponed? Brian suggests:
  Would 'find ... | cpio' fix the problem since the args are piped into
  cpio instead of expanded on the command line...?

  3872 	Extra optional Exceptions thrown in e.g. List.remove(Object) since 1.4
  Postponed.

  4118 	java.text.RuleBasedCollator is incompleted
  Unanalyzed. (But Guilhem is working on java.text for importing into kaffe.)

  4120 	Locale collation rules incorrect (or missing)
  Unanalyzed. (But see above.)

  4357 	HTTP Request Headers should be handled Case Sensitive
  Unanalyzed.

  4477 	PrintWriter.checkError() gives wrong result sometimes
  Seems to work for us, but libgcj is wrong. Strange, analyzis seems to
  indicate that this should also be a problem for us...

  4741 	java.util.GregorianCalendar returns 0 for the first week of the month
  Unanalyzed.

  4742 	java.io.StreamTokenizer behaves differently from Sun's implementation
  Unanalyzed.

- Tech support requests

  100979	post class files
  Would be nice.

- Patches

  1831	bug compatibility with sun for ZipInputStream
  Not sure how important this is or what the correct approach is.
  Needs test case or better explanation what is going on/expected.

  1832	InitialContext lookup handle CannotProceedEx's; fix to close
  Unanalyzed.

  1833	make NamingManager handle nested names for JBoss
  Unanalyzed.

- VM interface rewrite.

  - VMThread.
  Postponed.

  - VMSecurityManager
  Postponed.

- Import new external libraries
  - GNU-JAXP (Imported, does it work/get included in dist?)

- make dist.
  Now creates a nice tar ball that can then be used to just
  ./configure && make && make install.

- make distcheck.
  Would be nice to be distcheck clean, but currently we have lots of files
  left after a make clean (mainly lib/*/ .class files).

- gjdoc
  Played with it a bit and almost have it working, but gjdoc from CVS doesn't
  build out of the box for me. I have to add the GNUJAXP sources, play with
  resource paths a bit. Now still have to add a xml.transformer. The Debian
  package from unstable is broken. Have it build now with gcj, libxml and
  gnujaxp, and need a patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11951
  plus another to src/xmlj_io.c (xmljResolveURIAndOpen) to do an
  EexceptionOccured check after CallObjectMethod().

- .so files
  Make install doesn't create .so files for me.
  SOLVED. Downgrade to libtool 1.4.3 (and updated HACKING document).

- tar balls
  - Create tests
  - Where to host? (alpha.gnu.org)

- NEWS file
  DONE - Updated with some new info. Could be more extended.

- Announcement
  - Write
  - When to announce?
  - Where to announce?

- Bumb version number and tag tree just before final tar ball.

--=-kNHcMWiX7VadoQVeZ7bt--




From MAILER-DAEMON Sun Aug 17 18:31:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19oW3b-0007w5-Da
	for mharc-classpath@gnu.org; Sun, 17 Aug 2003 18:31:27 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19oW3W-0007q6-Vi
	for classpath@gnu.org; Sun, 17 Aug 2003 18:31:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19oW2u-0007b0-El
	for classpath@gnu.org; Sun, 17 Aug 2003 18:31:15 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19oW2t-0007aH-Nj
	for classpath@gnu.org; Sun, 17 Aug 2003 18:30:43 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19oW0g-0002Cr-00
	for <classpath@gnu.org>; Mon, 18 Aug 2003 00:28:26 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1060967388.24404.138.camel@elsschot>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
	<1060956657.24404.95.camel@elsschot>
	<1060967388.24404.138.camel@elsschot>
Content-Type: text/plain
Message-Id: <1061159440.6381.43.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Mon, 18 Aug 2003 00:30:40 +0200
Content-Transfer-Encoding: 7bit
Subject: Re: Preparing for 0.06 release (last test release - hopefully)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Aug 2003 22:31:25 -0000

Hi,

On Fri, 2003-08-15 at 19:09, Mark Wielaard wrote:
> - Import new external libraries
>   - GNU-JAXP (Imported, does it work/get included in dist?)

I have added all files explicitly to a new Makefile.am DISTFILES and
updated the README how to do this when we import a new version.

> - gjdoc

As I already said in an earlier email gjdoc now works.
I have one small problem with unknown entities. I have remove those from
CVS at the moment, but that is actually a bug. Savannah was down so I
couldn't report it. Will do so when it is up so we can put them back
when we get a gjdoc that does handles them correctly (it is probably my
fault/setup).

I have put up a new test release:
http://www.klomp.org/mark/classpath/classpath-0.06-test3.tar.gz

(Note that I disabled the actual API generation since that just takes to
much time. I will generate a new set tonight and put it up somewhere
tomorrow morning.)

Please look at it since I want to do a real release tomorrow.
But if you find show-stoppers or can fix something that is low risk
please do. Below is a lost of issues, some could be rolled into the
release if someone has time to do it.

Good night,

Mark




From MAILER-DAEMON Mon Aug 18 02:06:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19od9s-0004dk-Gi
	for mharc-classpath@gnu.org; Mon, 18 Aug 2003 02:06:24 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19od9p-0004d7-VO
	for classpath@gnu.org; Mon, 18 Aug 2003 02:06:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19od9J-0004Q2-Kj
	for classpath@gnu.org; Mon, 18 Aug 2003 02:06:20 -0400
Received: from [217.8.192.20] (helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19od9H-0004Pr-SC
	for classpath@gnu.org; Mon, 18 Aug 2003 02:05:48 -0400
Received: from [192.168.1.33] (199.203.dyn-adsl.customer.ch.easynet.net
	[217.8.199.203])
	by smtp1.mail.ch.easynet.net (Postfix) with ESMTP id 69ED94A011
	for <classpath@gnu.org>; Mon, 18 Aug 2003 08:05:39 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Mon, 18 Aug 2003 08:05:32 +0200
Message-Id: <20030818060532.8518@smtp.mail.ch.easynet.net>
In-Reply-To: <1060729531.1009.83.camel@elsschot>
References: <1060729531.1009.83.camel@elsschot>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: ChangeLog entries
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Aug 2003 06:06:22 -0000

Mark Wielaard <mark@klomp.org> wrote on Wed, 13 Aug 2003 01:05:31 +0200:

>I would really like everybody to follow the ChangeLog entry guidelines
>given in:
>http://www.gnu.org/software/guile/changelogs/guile-changelogs_3.html

Here's a question about ChangeLog entries: Would it make sense to have
separate commits (and thus ChangeLog entries) for unrelated changes?

The guile guidelines do not mention this, but I personally think it can
be rather unpleasant to sift through dozens of irrelevant lines when
trying to find out what has happened to a file.

For example, the attached log message does not seem to be very helpful.
(The author is omitted in order to not pick on anybody in particular).
IMHO, such bulk commits make it harder to track changes.

-- Sascha

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




% cvs log java/awt/font/GlyphVector.java

[...]
2003-02-17  [...]

        * java/awt/dnd/DragSourceContext.java
        (addDragSourceListener): Added documentation.
        * java/awt/dnd/DragSourceDragEvent.java
        (serialVersionUID): New member variable.
        (getDropAction): Reformated.
        * java/awt/dnd/DragSourceDropEvent.java
        (serialVersionUID): New member variable.
        (dropSuccess): Renamed from success for serialization issues.
        * java/awt/dnd/DragSourceEvent.java
        (serialVersionUID): New member variable.
        * java/awt/dnd/DropTarget.java
        (serialVersionUID): New member variable.
        (DropTarget): Implemented, documentation reworked.
        (setComponent): Documentation added.
        (getComponent): Documentation added.
        (setDefaultActions): Documentation added.
        (getDefaultActions): Documentation added.
        (addDropTargetListener): Documentation added.
        * java/awt/dnd/DropTargetContext.java
        (DropTargetContext): Documentation added.
        (TransferableProxy.TransferableProxy): New method.
        (dropComplete): Fixed documentation.
        (getTransferable): Fixed documentation.
        (createTransferableProxy): Implemented.
        * java/awt/dnd/DropTargetDragEvent.java
        (DropTargetDragEvent): Documentation added.
        (serialVersionUID): New member variable.
        (DropTargetDragEvent): Throw exceptions, documentation added.
        (acceptDrag): Implemented.
        (getCurrentDataFlavors): Implemented.3yy
        (getCurrentDataFlavorsAsList): Implemented.
        (isDataFlavorSupported): Implemented.
        (rejectDrag): Implemented.
        * java/awt/dnd/DropTargetDropEvent.java
        (DropTargetDropEvent): Documentation added.
        (serialVersionUID): New member variable.
        (actions): Renamed from srcActions for serialization issues.
        (isLocalTx): Renamed from isLocalTx for serialization issues.
        (DropTargetDropEvent): New implementation, throw exceptions,
        documentation added.
        (getCurrentDataFlavors): Implemented.
        (getCurrentDataFlavorsAsList): Implemented.
        (isDataFlavorSupported): Implemented.
        (getSourceActions): Implemented.
        (getDropAction): Implemented.
        (getTransferable): Implemented.
        (acceptDrop): Implemented.
        (rejectDrop): Implemented.
        * java/awt/dnd/DropTargetListener.java
        (drop): Fixed documentation.
        * java/awt/dnd/MouseDragGestureRecognizer.java
        (MouseDragGestureRecognizer): Documentation added.

2003-02-17  [...]

        * java/awt/font/FontRenderContext.java,
        java/awt/font/ShapeGraphicAttribute.java,
        java/awt/font/MultipleMaster.java,
        java/awt/font/TransformAttribute.java,
        java/awt/font/GlyphJustificationInfo.java,
        java/awt/font/LineBreakMeasurer.java,
        java/awt/font/TextMeasurer.java,
        java/awt/font/TextLayout.java,
        java/awt/font/LineMetrics.java,
        java/awt/font/TextAttribute.java,
        java/awt/font/GlyphMetrics.java,
        java/awt/font/OpenType.java,
        java/awt/font/GlyphVector.java,
        java/awt/font/GraphicAttribute.java,
        java/awt/font/ImageGraphicAttribute.java,
        java/awt/font/NumericShaper.java: New files.
        * Makefile.am
        (awt_java_source_files): Added the following files:
        java/awt/font/FontRenderContext.java
        java/awt/font/ShapeGraphicAttribute.java
        java/awt/font/MultipleMaster.java
        java/awt/font/TransformAttribute.java
        java/awt/font/GlyphJustificationInfo.java
        java/awt/font/LineBreakMeasurer.java
        java/awt/font/TextMeasurer.java
        java/awt/font/TextLayout.java
        java/awt/font/LineMetrics.java
        java/awt/font/TextAttribute.java
        java/awt/font/GlyphMetrics.java
        java/awt/font/OpenType.java
        java/awt/font/GlyphVector.java
        java/awt/font/GraphicAttribute.java
        java/awt/font/ImageGraphicAttribute.java
        java/awt/font/NumericShaper.java
        * Makefile.in: Regenerated.

2003-02-17  [...]

        * java/awt/print/Paper.java
        (Paper): Implements Cloneable.
        * java/awt/print/PrinterJob.java
        (setJobName): Return value must be void.
        (print): Throws PrinterException.








From MAILER-DAEMON Mon Aug 18 02:45:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19odly-0004Kh-Ak
	for mharc-classpath@gnu.org; Mon, 18 Aug 2003 02:45:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19odlv-0004Ii-IK
	for classpath@gnu.org; Mon, 18 Aug 2003 02:45:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19odlP-00045B-NQ
	for classpath@gnu.org; Mon, 18 Aug 2003 02:45:42 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19odlP-000457-FP
	for classpath@gnu.org; Mon, 18 Aug 2003 02:45:11 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by mx20.gnu.org with esmtp (Exim 4.20) id 19odlP-0003MF-6J
	for classpath@gnu.org; Mon, 18 Aug 2003 02:45:11 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19odik-0003D3-00
	for <classpath@gnu.org>; Mon, 18 Aug 2003 08:42:26 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1061159440.6381.43.camel@elsschot>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
	<1060956657.24404.95.camel@elsschot>
	<1060967388.24404.138.camel@elsschot>
	<1061159440.6381.43.camel@elsschot>
Content-Type: text/plain
Message-Id: <1061189080.6386.160.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Mon, 18 Aug 2003 08:44:40 +0200
Content-Transfer-Encoding: 7bit
Subject: Re: Preparing for 0.06 release (last test release - hopefully)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Aug 2003 06:45:44 -0000

Hi,

On Mon, 2003-08-18 at 00:30, Mark Wielaard wrote:
> I have put up a new test release:
> http://www.klomp.org/mark/classpath/classpath-0.06-test3.tar.gz
> 
> (Note that I disabled the actual API generation since that just takes to
> much time. I will generate a new set tonight and put it up somewhere
> tomorrow morning.)

API documentation is now up at:
http://www.klomp.org/mark/classpath/doc/api/html/

Cannot compare it with the old version since that seems to be gone:
http://www.gnu.org/software/classpath/docs/api/
Brian, do you know how to get it back up?

Cheers,

Mark




From MAILER-DAEMON Mon Aug 18 14:37:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19oosw-0006Nx-CI
	for mharc-classpath@gnu.org; Mon, 18 Aug 2003 14:37:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19oost-0006Ng-Or
	for classpath@gnu.org; Mon, 18 Aug 2003 14:37:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19oosN-0006K2-14
	for classpath@gnu.org; Mon, 18 Aug 2003 14:37:38 -0400
Received: from [217.24.218.112] (helo=werno.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19oosM-0006JY-CJ
	for classpath@gnu.org; Mon, 18 Aug 2003 14:37:06 -0400
Received: from werno.com (werno.com [217.24.218.112])
	by werno.com (8.12.8/8.12.8) with SMTP id h7IIZQfR017333
	for <classpath@gnu.org>; Mon, 18 Aug 2003 20:35:26 +0200
Received: from 217.234.123.202 (SquirrelMail authenticated user peter)
	by mail.werno.biz with HTTP; Mon, 18 Aug 2003 20:35:26 +0200 (CEST)
Message-ID: <64524.217.234.123.202.1061231726.squirrel@mail.werno.biz>
Date: Mon, 18 Aug 2003 20:35:26 +0200 (CEST)
From: "Peter Werno" <peter@werno.biz>
To: <classpath@gnu.org>
X-Priority: 3
Importance: Normal
X-Mailer: SquirrelMail (version 1.2.11)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Subject: older alpha-releases
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Aug 2003 18:37:40 -0000

Hello classpath-ers,

I wanted to check for the old 0.05 - release, but the link on the
classpath-homepage leads to an error. Where can I get the older releases?

Ciao,

Peter





From MAILER-DAEMON Mon Aug 18 15:02:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19opFR-0000jd-Nf
	for mharc-classpath@gnu.org; Mon, 18 Aug 2003 15:00:57 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19opFN-0000iK-ND
	for classpath@gnu.org; Mon, 18 Aug 2003 15:00:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19opEi-0000Cl-L4
	for classpath@gnu.org; Mon, 18 Aug 2003 15:00:43 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19opDa-0007yC-73
	for classpath@gnu.org; Mon, 18 Aug 2003 14:59:02 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19opBJ-0004gt-00; Mon, 18 Aug 2003 20:56:41 +0200
From: Mark Wielaard <mark@klomp.org>
To: Peter Werno <peter@werno.biz>
In-Reply-To: <64524.217.234.123.202.1061231726.squirrel@mail.werno.biz>
References: <64524.217.234.123.202.1061231726.squirrel@mail.werno.biz>
Content-Type: text/plain
Message-Id: <1061233135.1012.11.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Mon, 18 Aug 2003 20:58:56 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: older alpha-releases
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Aug 2003 19:00:56 -0000

Hi,

On Mon, 2003-08-18 at 20:35, Peter Werno wrote:
> I wanted to check for the old 0.05 - release, but the link on the
> classpath-homepage leads to an error. Where can I get the older releases?

We are still checking the integrity of some of these files.
See ftp://alpha.gnu.org/MISSING-FILES.README

For now you can get old 0.04 and 0.05 tarballs from:
http://ftp.debian.org/debian/pool/main/c/classpath/
classpath_0.04.orig.tar.gz and classpath_0.05.orig.tar.gz

There is also a 0.06 pre-release at:
http://www.klomp.org/mark/classpath/classpath-0.06-test3.tar.gz
In a few hours I hope to release a real 0.06.

Cheers,

Mark





From MAILER-DAEMON Mon Aug 18 16:39:58 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19oqnD-0004Ji-Qa
	for mharc-classpath@gnu.org; Mon, 18 Aug 2003 16:39:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19oqmy-00040W-63
	for classpath@gnu.org; Mon, 18 Aug 2003 16:39:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19oqiI-00011Y-Ow
	for classpath@gnu.org; Mon, 18 Aug 2003 16:35:21 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19oqiI-000112-B2
	for classpath@gnu.org; Mon, 18 Aug 2003 16:34:50 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19oqg6-0004sm-00
	for <classpath@gnu.org>; Mon, 18 Aug 2003 22:32:34 +0200
From: Mark Wielaard <mark@klomp.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <20030818060532.8518@smtp.mail.ch.easynet.net>
References: <1060729531.1009.83.camel@elsschot>
	<20030818060532.8518@smtp.mail.ch.easynet.net>
Content-Type: text/plain
Message-Id: <1061238888.1011.26.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Mon, 18 Aug 2003 22:34:48 +0200
Content-Transfer-Encoding: 7bit
Subject: Re: ChangeLog entries
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Aug 2003 20:39:48 -0000

Hi,

On Mon, 2003-08-18 at 08:05, Sascha Brawer wrote:
> Here's a question about ChangeLog entries: Would it make sense to have
> separate commits (and thus ChangeLog entries) for unrelated changes?

Yes for completely unrelated changes they should be committed seperately
(especially when doing a formatting change and a logical change, do them
in two separate commits). But do try to do a commit of as much
things/files that are done at the same time which can logically be seen
as part of the same change/cleanup etc.

> The guile guidelines do not mention this, but I personally think it can
> be rather unpleasant to sift through dozens of irrelevant lines when
> trying to find out what has happened to a file.
> 
> For example, the attached log message does not seem to be very helpful.
> (The author is omitted in order to not pick on anybody in particular).
> IMHO, such bulk commits make it harder to track changes.

The three log messages that you quote seem logically grouped together.
O, I see you mean that they are actually one commit.
Then it would have made sense to just use the New files/Regenerate entry
since logically it was just the adding of a bunch of new files (that
they were edited offline a couple of times isn't really reflected in out
CVS so it doesn't have to to be mentioned (except maybe if it comes from
resyncing with another tree, like libgcj, then it is a good idea to add
all relevant changes that were done in the other tree to our ChangeLog).
I would certainly made this into three commits but would have just used
the given separate ChangeLog entries as shown since eacht entry is
clearly a group of changes that is related.


Cheers,

Mark




From MAILER-DAEMON Mon Aug 18 17:03:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19orAC-0006Xn-SX
	for mharc-classpath@gnu.org; Mon, 18 Aug 2003 17:03:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19orA8-0006P6-43
	for classpath@gnu.org; Mon, 18 Aug 2003 17:03:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19or9W-0005ts-OW
	for classpath@gnu.org; Mon, 18 Aug 2003 17:03:29 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19or9U-0005tN-Sm
	for classpath@gnu.org; Mon, 18 Aug 2003 17:02:56 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by mx20.gnu.org with esmtp (Exim 4.20) id 19or9U-00033B-ID
	for classpath@gnu.org; Mon, 18 Aug 2003 17:02:56 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19or7F-0004tV-00
	for <classpath@gnu.org>; Mon, 18 Aug 2003 23:00:37 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1061159440.6381.43.camel@elsschot>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
	<1060956657.24404.95.camel@elsschot>
	<1060967388.24404.138.camel@elsschot>
	<1061159440.6381.43.camel@elsschot>
Content-Type: text/plain
Message-Id: <1061240571.1012.44.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Mon, 18 Aug 2003 23:02:51 +0200
Content-Transfer-Encoding: 7bit
Subject: Re: Preparing for 0.06 release (last test release - hopefully)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Aug 2003 21:03:39 -0000

Hi,

I think this is as good as it gets for 0.06. The only real change with
test-3 is that I disabled generation of the API documentation during the
make dist because the API doc doesn't look completely right (some
encoding problems) and I am not sure what to do with the copyright
statement at the bottom since (as Anthony Green pointed out) not all
files are now actually copyright FSF since we have imported those JAXP
things.

I have tested it with kissme and mauve and the results seem OK.
But since I still cannot stage the thing at alpha.gnu.org and since I
didn't get much feedback (does it just work OK for everybody?) I just
put up a test-4 that I will turn into a real release when I can get it
on alpha.gnu.org.
http://www.klomp.org/mark/classpath/classpath-0.06-test4.tar.gz

If you have small, trivial, low risk changes please check them in (I
still have a couple that could go in if I just had more time). If you
have something big or non-trivial to check in please let me know and I
will tag the tree and do the final release anyway.

Cheers,

Mark




From MAILER-DAEMON Mon Aug 18 18:50:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ospm-0001FJ-R9
	for mharc-classpath@gnu.org; Mon, 18 Aug 2003 18:50:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ospj-0001Dk-M2
	for classpath@gnu.org; Mon, 18 Aug 2003 18:50:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ospC-00012Z-1z
	for classpath@gnu.org; Mon, 18 Aug 2003 18:50:37 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ospB-00012P-Ps
	for classpath@gnu.org; Mon, 18 Aug 2003 18:50:05 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7IMkbDa020590; Mon, 18 Aug 2003 18:46:37 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 7C431BE6B7; Mon, 18 Aug 2003 18:50:02 -0400 (EDT)
Sender: cbj@haphazard.org
To: Mark Wielaard <mark@klomp.org>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
	<1060956657.24404.95.camel@elsschot>
	<1060967388.24404.138.camel@elsschot>
	<1061159440.6381.43.camel@elsschot>
	<1061240571.1012.44.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 18 Aug 2003 18:50:02 -0400
In-Reply-To: <1061240571.1012.44.camel@elsschot>
Message-ID: <m3brum4m3p.fsf@lyta.haphazard.org>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release (last test release - hopefully)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Aug 2003 22:50:40 -0000

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> I think this is as good as it gets for 0.06. The only real change with
> test-3 is that I disabled generation of the API documentation during the
> make dist because the API doc doesn't look completely right (some
> encoding problems) and I am not sure what to do with the copyright
> statement at the bottom since (as Anthony Green pointed out) not all
> files are now actually copyright FSF since we have imported those JAXP
> things.

The latest gjdoc has a special tag it will pull from the sources for
each file, something like @copyright.  We merely need to add it to
every single file and it should be fixed.

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



From MAILER-DAEMON Mon Aug 18 18:54:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ostT-0002LA-28
	for mharc-classpath@gnu.org; Mon, 18 Aug 2003 18:54:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ostP-0002KC-Np
	for classpath@gnu.org; Mon, 18 Aug 2003 18:54:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19osss-0002Bx-W4
	for classpath@gnu.org; Mon, 18 Aug 2003 18:54:26 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19oss1-0001wN-Pz
	for classpath@gnu.org; Mon, 18 Aug 2003 18:53:01 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by mx20.gnu.org with esmtp (Exim 4.20) id 19osmT-00086b-KP
	for classpath@gnu.org; Mon, 18 Aug 2003 18:47:17 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7IMeOPR018076; Mon, 18 Aug 2003 18:40:30 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 6890BBE6B7; Mon, 18 Aug 2003 18:47:11 -0400 (EDT)
Sender: cbj@haphazard.org
To: Mark Wielaard <mark@klomp.org>
References: <1060526423.1050.57.camel@elsschot>
	<1060881328.1451.41.camel@elsschot>
	<1060956657.24404.95.camel@elsschot>
	<1060967388.24404.138.camel@elsschot>
	<1061159440.6381.43.camel@elsschot>
	<1061189080.6386.160.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 18 Aug 2003 18:47:11 -0400
In-Reply-To: <1061189080.6386.160.camel@elsschot>
Message-ID: <m3fzjy4m8g.fsf@lyta.haphazard.org>
Lines: 29
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Preparing for 0.06 release (last test release - hopefully)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Aug 2003 22:54:28 -0000

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> On Mon, 2003-08-18 at 00:30, Mark Wielaard wrote:
> > I have put up a new test release:
> > http://www.klomp.org/mark/classpath/classpath-0.06-test3.tar.gz
> > 
> > (Note that I disabled the actual API generation since that just takes to
> > much time. I will generate a new set tonight and put it up somewhere
> > tomorrow morning.)
> 
> API documentation is now up at:
> http://www.klomp.org/mark/classpath/doc/api/html/
> 
> Cannot compare it with the old version since that seems to be gone:
> http://www.gnu.org/software/classpath/docs/api/
> Brian, do you know how to get it back up?

I had access to the file space on
gnudist.gnu.org:/var/www/software/classpath which is where the web
pages come from.  Anyway with the crack that is gone and I don't know
how to get it back up.  I certainly don't think it reasonable to make
us check this generated stuff into cvs.  Paul set this up for me
before.

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



From MAILER-DAEMON Mon Aug 18 18:55:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ostw-0002bF-M4
	for mharc-classpath@gnu.org; Mon, 18 Aug 2003 18:55:00 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ostu-0002Zf-1d
	for classpath@gnu.org; Mon, 18 Aug 2003 18:54:58 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ostM-0002JO-5S
	for classpath@gnu.org; Mon, 18 Aug 2003 18:54:55 -0400
Received: from [24.93.67.84] (helo=ms-smtp-03.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ostL-0002JG-QK
	for classpath@gnu.org; Mon, 18 Aug 2003 18:54:23 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7IMqLig008406; Mon, 18 Aug 2003 18:52:21 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id B32C9BE6B7; Mon, 18 Aug 2003 18:54:22 -0400 (EDT)
Sender: cbj@haphazard.org
To: Mark Wielaard <mark@klomp.org>
References: <1060729531.1009.83.camel@elsschot>
	<20030818060532.8518@smtp.mail.ch.easynet.net>
	<1061238888.1011.26.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 18 Aug 2003 18:54:22 -0400
In-Reply-To: <1061238888.1011.26.camel@elsschot>
Message-ID: <m37k5a4lwh.fsf@lyta.haphazard.org>
Lines: 48
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: ChangeLog entries
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Aug 2003 22:54:58 -0000

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> On Mon, 2003-08-18 at 08:05, Sascha Brawer wrote:
> > Here's a question about ChangeLog entries: Would it make sense to have
> > separate commits (and thus ChangeLog entries) for unrelated changes?
> 
> Yes for completely unrelated changes they should be committed seperately
> (especially when doing a formatting change and a logical change, do them
> in two separate commits). But do try to do a commit of as much
> things/files that are done at the same time which can logically be seen
> as part of the same change/cleanup etc.
> 
> > The guile guidelines do not mention this, but I personally think it can
> > be rather unpleasant to sift through dozens of irrelevant lines when
> > trying to find out what has happened to a file.
> > 
> > For example, the attached log message does not seem to be very helpful.
> > (The author is omitted in order to not pick on anybody in particular).
> > IMHO, such bulk commits make it harder to track changes.
> 
> The three log messages that you quote seem logically grouped together.
> O, I see you mean that they are actually one commit.
> Then it would have made sense to just use the New files/Regenerate entry
> since logically it was just the adding of a bunch of new files (that
> they were edited offline a couple of times isn't really reflected in out
> CVS so it doesn't have to to be mentioned (except maybe if it comes from
> resyncing with another tree, like libgcj, then it is a good idea to add
> all relevant changes that were done in the other tree to our ChangeLog).
> I would certainly made this into three commits but would have just used
> the given separate ChangeLog entries as shown since eacht entry is
> clearly a group of changes that is related.

My typical usage is:

1) Make vast sweeping changes
2) cd classpath
3) cvs ci .

I don't really like that this puts changes to other files in the log
of every file... but it's the easy and simple way not to screw up.
More helpful if cvs grok'd ChangeLog entries and fixed the log as you
go... but oh well.  Should I adjust?

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



From MAILER-DAEMON Wed Aug 20 01:35:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19pLcj-0006w2-B8
	for mharc-classpath@gnu.org; Wed, 20 Aug 2003 01:35:09 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19pKyL-0002Jc-Tq
	for classpath@gnu.org; Wed, 20 Aug 2003 00:53:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19pKPp-0007ey-QO
	for classpath@gnu.org; Wed, 20 Aug 2003 00:18:16 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19pHz8-0003No-AQ
	for classpath@gnu.org; Tue, 19 Aug 2003 21:42:02 -0400
Received: (qmail 25996 invoked by uid 504); 19 Aug 2003 14:15:18 +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.214799 secs); 19 Aug 2003 12:15:18 -0000
Received: from unknown (HELO localhost) ([139.165.77.48])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpathx-discuss@gnu.org>; 19 Aug 2003 14:15:18 +0200
Date: Tue, 19 Aug 2003 14:15:16 +0200 (CEST)
Message-Id: <20030819.141516.20494626.arnaud.vandyck@ulg.ac.be>
To: classpathx-discuss@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.57 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: [gnujaxp] javax.xml.* conform to jaxp1.1
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Aug 2003 05:35:07 -0000

I've just finished some commits (less than 10) to make gnujaxp compliant
with jaxp1.1 public API. 

We still need to  fix the build system (see [1]) and  that's all for the
minor changes. 

The major improvment would be to have an transform implementation.

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.

Footnotes: 
[1] http://bugs.debian.org/205647
    http://bugs.debian.org/205648




From MAILER-DAEMON Thu Aug 21 00:54:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19pZdK-0006LV-LB
	for mharc-classpath@gnu.org; Wed, 20 Aug 2003 16:32:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19pZUm-0004QO-KR
	for classpath@gnu.org; Wed, 20 Aug 2003 16:23:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19pVy0-0007WH-E3
	for classpath@gnu.org; Wed, 20 Aug 2003 12:38:19 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19pUe4-0001Pd-Ux
	for classpath@gnu.org; Wed, 20 Aug 2003 11:13:09 -0400
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by mx20.gnu.org with esmtp (Exim 4.20) id 19p89m-00032J-2y
	for classpath@gnu.org; Tue, 19 Aug 2003 11:12:22 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.9/8.12.9) with ESMTP id h7JFA4cw004383;
	Wed, 20 Aug 2003 01:10:05 +1000 (EST)
Message-Id: <200308191510.h7JFA4cw004383@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Torsten Rupp <rupp@lisa.aicas.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 20 Aug 2003 01:10:23 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang)
Cc: classpath@gnu.org
Subject: Compilation errors in native/jni/java-nio/java_nio_FileChannelImpl.c
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Aug 2003 20:32:40 -0000


Hi Torsten,

Your last changes to java_nio_FileChannelImpl.c have introduced a bunch
of compilation errors.  The following patch corrects them.

Have you any idea how/why this happened? 

-- Steve


diff -p -r1.5 java_nio_FileChannelImpl.c
*** native/jni/java-nio/java_nio_FileChannelImpl.c      19 Aug 2003 09:03:55 -0000      1.5
--- native/jni/java-nio/java_nio_FileChannelImpl.c      19 Aug 2003 14:56:40 -0000
*************** exception statement from your version. *
*** 41,46 ****
--- 41,48 ----
  #include <jni.h>
  #include <jcl.h>

+ #include <target_native_math_int.h>
+
  #include "java_nio_channels_FileChannelImpl.h"

  #define IO_EXCEPTION "java/io/IOException"
*************** JNIEXPORT void JNICALL
*** 84,97 ****
  Java_java_nio_channels_FileChannelImpl_nio_1unmmap_1file (JNIEnv *env, jclass
clazz, jobject map_address, jint size)
  {
    JCL_ThrowException (env, IO_EXCEPTION, "java.nio.FileChannelImpl.nio_unmmap_file(): not implemented");
!   return 0;
  }

  JNIEXPORT void JNICALL
  Java_java_nio_channels_FileChannelImpl_nio_1msync (JNIEnv *env, jclass clazz,
jobject map_address, jint length)
  {
    JCL_ThrowException (env, IO_EXCEPTION, "java.nio.FileChannelImpl.nio_msync(): not implemented");
!   return 0;
  }

  JNIEXPORT jint JNICALL
--- 86,99 ----
  Java_java_nio_channels_FileChannelImpl_nio_1unmmap_1file (JNIEnv *env, jclass
clazz, jobject map_address, jint size)
  {
    JCL_ThrowException (env, IO_EXCEPTION, "java.nio.FileChannelImpl.nio_unmmap_file(): not implemented");
!   return;
  }

  JNIEXPORT void JNICALL
  Java_java_nio_channels_FileChannelImpl_nio_1msync (JNIEnv *env, jclass clazz,
jobject map_address, jint length)
  {
    JCL_ThrowException (env, IO_EXCEPTION, "java.nio.FileChannelImpl.nio_msync(): not implemented");
!   return;
  }

  JNIEXPORT jint JNICALL




From MAILER-DAEMON Thu Aug 21 04:59:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19pjS5-00061I-Bc
	for mharc-classpath@gnu.org; Thu, 21 Aug 2003 03:01:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19piSb-0005XA-Lx
	for classpath@gnu.org; Thu, 21 Aug 2003 01:58:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19peDU-0006Ns-PN
	for classpath@gnu.org; Wed, 20 Aug 2003 21:26:52 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19paKS-0003WE-H5
	for classpath@gnu.org; Wed, 20 Aug 2003 17:17:16 -0400
Received: (qmail 25822 invoked by uid 504); 20 Aug 2003 22:50:32 +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.08153 secs); 20 Aug 2003 20:50:32 -0000
Received: from unknown (HELO localhost) ([139.165.77.48])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpathx-discuss@gnu.org>; 20 Aug 2003 22:50:32 +0200
Date: Wed, 20 Aug 2003 22:50:32 +0200 (CEST)
Message-Id: <20030820.225032.128615048.arnaud.vandyck@ulg.ac.be>
To: classpathx-discuss@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <m3y8xp2bge.fsf@lyta.haphazard.org>
References: <20030819.141516.20494626.arnaud.vandyck@ulg.ac.be>
	<m3y8xp2bge.fsf@lyta.haphazard.org>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.57 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: [Classpathx-discuss] [gnujaxp] javax.xml.* conform to jaxp1.1
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Aug 2003 07:01:43 -0000

On 20 Aug 2003 00:35:13 -0400
Brian Jones <cbj@gnu.org> wrote:

> Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> writes:
> 
> > I've just finished some commits (less than 10) to make gnujaxp compliant
> > with jaxp1.1 public API. 
> > 
> > We still need to  fix the build system (see [1]) and  that's all for the
> > minor changes. 
> > 
> > The major improvment would be to have an transform implementation.
> 
> Ahh, that's good.  Should we import that for the release?

There are  very few  classes that  have been changed  but the  japi test
will, I think, return a 99.99% conformance ;)

Regards,

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.



From MAILER-DAEMON Thu Aug 21 09:15:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19plw5-0000nj-Ou
	for mharc-classpath@gnu.org; Thu, 21 Aug 2003 05:40:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19pkb1-00020q-Vw
	for classpath@gnu.org; Thu, 21 Aug 2003 04:15:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19pk80-00021r-Uy
	for classpath@gnu.org; Thu, 21 Aug 2003 03:45:36 -0400
Received: from [24.93.67.84] (helo=ms-smtp-03.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19pKgk-0005fP-W7; Wed, 20 Aug 2003 00:35:15 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7K4XBig028969; Wed, 20 Aug 2003 00:33:11 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id D537DBE6B7; Wed, 20 Aug 2003 00:35:13 -0400 (EDT)
Sender: cbj@haphazard.org
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
References: <20030819.141516.20494626.arnaud.vandyck@ulg.ac.be>
From: Brian Jones <cbj@gnu.org>
Date: 20 Aug 2003 00:35:13 -0400
In-Reply-To: <20030819.141516.20494626.arnaud.vandyck@ulg.ac.be>
Message-ID: <m3y8xp2bge.fsf@lyta.haphazard.org>
Lines: 15
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, classpathx-discuss@gnu.org
Subject: Re: [Classpathx-discuss] [gnujaxp] javax.xml.* conform to jaxp1.1
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Aug 2003 09:40:51 -0000

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

> I've just finished some commits (less than 10) to make gnujaxp compliant
> with jaxp1.1 public API. 
> 
> We still need to  fix the build system (see [1]) and  that's all for the
> minor changes. 
> 
> The major improvment would be to have an transform implementation.

Ahh, that's good.  Should we import that for the release?

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



From MAILER-DAEMON Fri Aug 22 00:14:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19q1O5-000280-BS
	for mharc-classpath@gnu.org; Thu, 21 Aug 2003 22:10:49 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19pxpM-0006U6-6v
	for classpath@gnu.org; Thu, 21 Aug 2003 18:22:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19pufT-0005zU-MX
	for classpath@gnu.org; Thu, 21 Aug 2003 15:00:50 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ptcT-0008Di-9e
	for classpath@gnu.org; Thu, 21 Aug 2003 13:53:09 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by mx20.gnu.org with esmtp (Exim 4.20) id 19pokA-0007qF-Qe
	for classpath@gnu.org; Thu, 21 Aug 2003 08:40:46 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19pn7z-0002dL-00; Thu, 21 Aug 2003 12:57:15 +0200
From: Mark Wielaard <mark@klomp.org>
To: rupp@aicas.com
In-Reply-To: <E19pn1k-0002d1-00@nescio.wildebeest.org>
References: <E19pn1k-0002d1-00@nescio.wildebeest.org>
Content-Type: text/plain
Message-Id: <1061463572.13469.28.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Thu, 21 Aug 2003 12:59:32 +0200
Content-Transfer-Encoding: 7bit
Cc: Stephen Crawley <crawley@dstc.edu.au>, classpath@gnu.org
Subject: Re: Compilation errors in
	native/jni/java-nio/java_nio_FileChannelImpl.c
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Aug 2003 02:10:46 -0000

Hi,

Sorry this should have gone to @aicas.com.

On Thu, 2003-08-21 at 12:50, Mail Delivery System wrote:
> This message was created automatically by mail delivery software (Exim).
> [...]
>   rupp@lisa.aicas.com
>     unrouteable mail domain "lisa.aicas.com"
> 
> ------ This is a copy of the message, including all the headers. ------
> [...]
> Hi,
> 
> On Tue, 2003-08-19 at 17:10, Stephen Crawley wrote:
> > Your last changes to java_nio_FileChannelImpl.c have introduced a bunch
> > of compilation errors.  The following patch corrects them.
> > 
> > Have you any idea how/why this happened?
> 
> I already noted it on the commit-classpath mailinglist, but somehow non
> of the emails seem to have actually made it to the list yet (I suspect
> that mail.gnu.org has gotten a large amount of the latest Windows
> virus/worm thingy).
> 
> Tosrten has already fixed this in CVS.
> 
> Cheers,
> 
> Mark
> 
> 
> 




From MAILER-DAEMON Fri Aug 22 00:41:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19pq1z-0006MX-KG
	for mharc-classpath@gnu.org; Thu, 21 Aug 2003 10:03:15 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19pioC-0003ZA-5V
	for classpath@gnu.org; Thu, 21 Aug 2003 02:20:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19phOr-0003qh-Q1
	for classpath@gnu.org; Thu, 21 Aug 2003 00:50:48 -0400
Received: from [217.185.152.67] (helo=clerks.local)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19pPWq-0008SY-Qf
	for classpath@gnu.org; Wed, 20 Aug 2003 05:45:21 -0400
Received: from kaffe.org (localhost [127.0.0.1])
	by clerks.local (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id
	h7KA7ft01985 for <classpath@gnu.org>; Wed, 20 Aug 2003 12:07:41 +0200
Message-ID: <3F43486B.2030704@kaffe.org>
Date: Wed, 20 Aug 2003 12:07:39 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="------------050109020202020600050801"
Subject: RMIC patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Aug 2003 14:03:11 -0000

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

Hi all,

I've merged in GNU Classpath's RMI implementation into kaffe and fixed a 
few small issues along the way. Attached you'll find the patch, and the 
changelog. My paperwork has passed a while ago ;)

The patch adds two new RMIC compilers, jikes and kjc, and adapts 
CompilerProcess to offer a 'typical' command line argument generation 
method, to avoid code duplication. That method is now used by all 
current RMI compiler implementations, gcj, kjc, and jikes.

It also fixes a few small issues with paths of generated stubs and 
skeletons, as well as with names of constructors, which could contain 
the full package name.

Finally, the patch fixes one major issue with generated stubs, by making 
the generated stub implement ony those interfaces (its original class 
implements) that are derived from java.rmi.Remote. Current 
implementation generates broken stubs which don't compile if the 
original class implements interfaces that are not derived from Remote.

cheers,
dalibor topic

--------------050109020202020600050801
Content-Type: text/plain;
 name="gnu-java-rmi.changelog"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="gnu-java-rmi.changelog"

	* gnu/java/rmi/rmic/Compile_gcj.java:
	(COMPILER_ARGS) new private constant.
	(computeArguments) use computeTypicalArguments.

	* gnu/java/rmi/rmic/Compile_kjc.java,
	gnu/java/rmi/rmic/Compile_jikes.java,
	gnu/java/rmi/rmic/RMICException.java:
	new files.

	* gnu/java/rmi/rmic/Compiler.java:
	(getDestination) new method.

	* gnu/java/rmi/rmic/CompilerProcess.java:
	Import java.io.InputStream.
	(computeTypicalArguments) new method.
	(compile) print compiler output to System.out. Collect compiler
	error output and use it in exception message.

	* gnu/java/rmi/rmic/RMIC.java:
	Import java.util.Set.
	(destination) initialize to null.
	(run) replace file separator with '.' when processing class.
	(processClass) replace '.' with file separator when compiling
	classes.
	(findClass) use SystemClassLoader to load class.
	(generateStub) use full class name for generated stub, that puts
	it in right path.  Replace '.' with file separator when generating
	stub file name. Write just the stub class name without package
	information as class name, and constructor name. Write only
	interface names for interfaces extending java.rmi.Remote as
	implemented. 
	(generateSkel) use full class name for generated skel, that puts
	it in right path.  Replace '.' with file separator when generating
	stub file name. Write just the stub class name without package
	information as class name.

--------------050109020202020600050801
Content-Type: text/plain;
 name="gnu-java-rmi.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="gnu-java-rmi.diff"

diff -urN -x CVS -x '*.am' -x '.*' /home/topic/CVS/classpath/gnu/java/rmi/rmic/Compile_gcj.java gnu/java/rmi/rmic/Compile_gcj.java
--- /home/topic/CVS/classpath/gnu/java/rmi/rmic/Compile_gcj.java	2002-01-22 17:26:57.000000000 -0500
+++ gnu/java/rmi/rmic/Compile_gcj.java	2003-08-18 13:40:33.000000000 -0400
@@ -40,21 +40,16 @@
 /** Subclass of Compiler that can be used to invoke gcj.  */
 public class Compile_gcj extends CompilerProcess
 {
-  public String[] computeArguments (String filename)
+  private static final String [] COMPILER_ARGS = 
   {
-    int len = 3 + (dest == null ? 0 : 2);
-    String[] result = new String[len];
-    int i = 0;
-
-    result[i++] = "gcj";
-    result[i++] = "-C";
-    if (dest != null)
-      {
-	result[i++] = "-d";
-	result[i++] = dest;
-      }
-    result[i++] = filename;
+    "gcj",
+    "-C"
+  };
 
-    return result;
+  public String[] computeArguments (String filename)
+  {
+    return computeTypicalArguments(COMPILER_ARGS,
+				   getDestination(),
+				   filename);
   }
 }
diff -urN -x CVS -x '*.am' -x '.*' /home/topic/CVS/classpath/gnu/java/rmi/rmic/Compile_jikes.java gnu/java/rmi/rmic/Compile_jikes.java
--- /home/topic/CVS/classpath/gnu/java/rmi/rmic/Compile_jikes.java	1969-12-31 19:00:00.000000000 -0500
+++ gnu/java/rmi/rmic/Compile_jikes.java	2003-08-18 13:40:33.000000000 -0400
@@ -0,0 +1,56 @@
+/*
+  Copyright (c) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+package gnu.java.rmi.rmic;
+
+/** Subclass of Compiler that can be used to invoke kjc.  */
+public class Compile_jikes extends CompilerProcess
+{
+  /** Compiler arguments to invoke kjc */
+  private static final String [] COMPILER_ARGS = 
+  {
+    "jikes"
+  };
+
+  /** Compute the command line for the process.  */
+  public String[] computeArguments (String filename)
+  {
+    return computeTypicalArguments(COMPILER_ARGS,
+				   getDestination(),
+				   filename);
+  }
+}
diff -urN -x CVS -x '*.am' -x '.*' /home/topic/CVS/classpath/gnu/java/rmi/rmic/Compile_kjc.java gnu/java/rmi/rmic/Compile_kjc.java
--- /home/topic/CVS/classpath/gnu/java/rmi/rmic/Compile_kjc.java	1969-12-31 19:00:00.000000000 -0500
+++ gnu/java/rmi/rmic/Compile_kjc.java	2003-08-18 13:40:33.000000000 -0400
@@ -0,0 +1,56 @@
+/*
+  Copyright (c) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+package gnu.java.rmi.rmic;
+
+/** Subclass of Compiler that can be used to invoke kjc.  */
+public class Compile_kjc extends CompilerProcess
+{
+  /** Compiler arguments to invoke kjc */
+  private static final String [] COMPILER_ARGS = 
+  {
+    "kjc"
+  };
+
+  /** Compute the command line for the process.  */
+  public String[] computeArguments (String filename)
+  {
+    return computeTypicalArguments(COMPILER_ARGS,
+				   getDestination(),
+				   filename);
+  }
+}
diff -urN -x CVS -x '*.am' -x '.*' /home/topic/CVS/classpath/gnu/java/rmi/rmic/Compiler.java gnu/java/rmi/rmic/Compiler.java
--- /home/topic/CVS/classpath/gnu/java/rmi/rmic/Compiler.java	2002-01-22 17:26:57.000000000 -0500
+++ gnu/java/rmi/rmic/Compiler.java	2003-08-18 13:40:33.000000000 -0400
@@ -68,6 +68,12 @@
     return null;
   }
 
+  /** Get the directory where output files will be put.  */
+  public String getDestination ()
+  {
+    return dest;
+  }
+
   /** Set the directory where output files will be put.  */
   public void setDestination (String dest)
   {
diff -urN -x CVS -x '*.am' -x '.*' /home/topic/CVS/classpath/gnu/java/rmi/rmic/CompilerProcess.java gnu/java/rmi/rmic/CompilerProcess.java
--- /home/topic/CVS/classpath/gnu/java/rmi/rmic/CompilerProcess.java	2002-01-22 17:26:57.000000000 -0500
+++ gnu/java/rmi/rmic/CompilerProcess.java	2003-08-18 13:40:33.000000000 -0400
@@ -37,6 +37,8 @@
 
 package gnu.java.rmi.rmic;
 
+import java.io.InputStream;
+
 /** Subclass of Compiler that can be subclassed to invoke a process to
  * do its work.  */
 public abstract class CompilerProcess extends Compiler
@@ -44,12 +46,58 @@
   /** This is used to compute the command line for the process.  */
   public abstract String[] computeArguments (String filename);
 
+  /** This is used to compute the command line for the process.
+   *  Most compilers typically arrange their arguments as in 
+   *  <compiler name and arguments> <optional destination> <filename>.
+   *  This method builds an argument array out that. It should be used
+   * to define computeArguments for those compilers that follow the
+   * argument convention described above.
+   */
+  public static String[] computeTypicalArguments (String[] compilerArgs, String destination, String filename) 
+  {
+    /* length of compiler specific arguments */
+    final int len = compilerArgs.length;
+    /* length of returned array of arguments */
+    final int arglen = len + (destination == null ? 0 : 2) + 1;
+
+    /* Allocate String array for computed arguments. */
+    String [] args = new String[arglen];
+
+    /* Fill in compiler arguments. */
+    System.arraycopy(compilerArgs, 0, args, 0, len);
+
+    /* Fill in destination argument if necessary. */
+    if (destination != null) {
+      args[len] = "-d";
+      args[len + 1] = destination;
+    }
+
+    /* Fill in filename */
+    args[arglen - 1] = filename;
+
+    return args;
+  }
+
   public void compile (String name) throws Exception
   {
     String[] args = computeArguments (name);
     Process p = Runtime.getRuntime ().exec (args);
-    // FIXME: probably should collect compiler output here and then
-    // put it into the exception message.
+
+    /* Print compiler output to System.out. */
+    InputStream procin = p.getInputStream();
+    for (int ch = procin.read(); ch != -1; ch = procin.read()) {
+	    System.out.print((char) ch);
+    }
+
+    /* Collect compiler error output in a buffer.
+     * If compilation fails, it will be used for an error message.
+     */
+    StringBuffer stderr = new StringBuffer();
+    InputStream procerr = p.getErrorStream();
+    for (int ch = procerr.read(); ch != -1; ch = procerr.read()) {
+	    stderr.append((char) ch);
+    }
+
     int result;
     while (true)
       {
@@ -65,7 +113,8 @@
     if (result != 0)
       {
 	// FIXME: wrong exception class.
-	throw new Exception ("compiler exited with status: " + result);
+	throw new Exception ("compiler exited with status: " + result,
+			     new RMICException(stderr.toString()));
       }
   }
 }
diff -urN -x CVS -x '*.am' -x '.*' /home/topic/CVS/classpath/gnu/java/rmi/rmic/RMICException.java gnu/java/rmi/rmic/RMICException.java
--- /home/topic/CVS/classpath/gnu/java/rmi/rmic/RMICException.java	1969-12-31 19:00:00.000000000 -0500
+++ gnu/java/rmi/rmic/RMICException.java	2003-08-18 13:40:33.000000000 -0400
@@ -0,0 +1,66 @@
+/*
+  Copyright (c) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+package gnu.java.rmi.rmic;
+
+/**
+ * Thrown by the underlying compiler used by RMIC when it fails to compile a file.
+ *
+ * @author Dalibor Topic <robilad@kaffe.org>
+ */
+
+public class RMICException extends Exception {
+	/**
+	 * Create an exception with a message. The cause remains uninitialized.
+	 *
+	 * @param s the message string
+	 * @see #initCause(Throwable)
+	 */
+	public RMICException(String message) {
+		super(message);
+	}
+
+	/**
+	 * Create an exception with a message and a cause.
+	 *
+	 * @param s the message string
+	 * @param cause the cause of this exception
+	 */
+	public RMICException(String message, Throwable cause) {
+		super(message, cause);
+	}
+}
diff -urN -x CVS -x '*.am' -x '.*' /home/topic/CVS/classpath/gnu/java/rmi/rmic/RMIC.java gnu/java/rmi/rmic/RMIC.java
--- /home/topic/CVS/classpath/gnu/java/rmi/rmic/RMIC.java	2003-08-12 15:58:20.000000000 -0400
+++ gnu/java/rmi/rmic/RMIC.java	2003-08-18 13:40:33.000000000 -0400
@@ -47,6 +47,7 @@
 import java.util.HashSet;
 import java.util.Iterator;
 import java.util.Arrays;
+import java.util.Set;
 
 import gnu.java.rmi.server.RMIHashes;
 
@@ -61,7 +62,7 @@
 private boolean need12Stubs = true;
 private boolean compile = true;
 private boolean verbose;
-private String destination = "";
+private String destination;
 
 private PrintWriter out;
 private TabbedWriter ctrl;
@@ -102,7 +103,7 @@
 			if (verbose) {
 				System.out.println("[Processing class " + args[i] + ".class]");
 			}
-			processClass(args[i]);
+			processClass(args[i].replace(File.separatorChar, '.'));
 		}
 		catch (Exception e) {
 			exception = e;
@@ -123,15 +124,15 @@
 		generateSkel();
 	}
 	if (compile) {
-		compile(stubname + ".java");
+		compile(stubname.replace('.', File.separatorChar) + ".java");
 		if (need11Stubs) {
-			compile(skelname + ".java");
+			compile(skelname.replace('.', File.separatorChar) + ".java");
 		}
 	}
 	if (!keep) {
-		(new File(stubname + ".java")).delete();
+		(new File(stubname.replace('.', File.separatorChar) + ".java")).delete();
 		if (need11Stubs) {
-			(new File(skelname + ".java")).delete();
+			(new File(skelname.replace('.', File.separatorChar) + ".java")).delete();
 		}
 	}
 	return (true);
@@ -194,12 +195,15 @@
 }
 
 private void findClass() throws ClassNotFoundException {
-	clazz = Class.forName(fullclassname);
+	clazz = Class.forName(fullclassname, true, ClassLoader.getSystemClassLoader());
 }
 
 private void generateStub() throws IOException {
-	stubname = classname + "_Stub";
-	ctrl = new TabbedWriter(new FileWriter(destination + File.separator + stubname + ".java"));
+	stubname = fullclassname + "_Stub";
+	String stubclassname = classname + "_Stub";
+	ctrl = new TabbedWriter(new FileWriter((destination == null ? "" : destination + File.separator)
+					       + stubname.replace('.', File.separatorChar)
+					       + ".java"));
 	out = new PrintWriter(ctrl);
 
 	if (verbose) {
@@ -214,20 +218,32 @@
 		out.println();
 	}
 
-	out.print("public final class " + stubname);
+	out.print("public final class " + stubclassname);
 	ctrl.indent();
 	out.println("extends java.rmi.server.RemoteStub");
 	
-	// Output interfaces we implement
+	// Output interfaces we implement
 	out.print("implements ");
-	Class[] ifaces = clazz.getInterfaces(); 
-	for (int i = 0; i < ifaces.length; i++) {
-		out.print(ifaces[i].getName());
-		if (i+1 < ifaces.length) {
+	/* Scan implemented interfaces, and only print remote interfaces. */ 
+        Class[] ifaces = clazz.getInterfaces(); 
+	Set remoteIfaces = new HashSet();
+        for (int i = 0; i < ifaces.length; i++) {
+		Class iface = ifaces[i];
+		if (java.rmi.Remote.class.isAssignableFrom(iface)) {
+			remoteIfaces.add(iface);
+		}
+	}
+	Iterator iter = remoteIfaces.iterator();
+	while (iter.hasNext()) {
+		/* Print remote interface. */
+		Class iface = (Class) iter.next();
+		out.print(iface.getName());
+
+		/* Print ", " if more remote interfaces follow. */
+		if (iter.hasNext()) {
 			out.print(", ");
 		}
 	}
-
 	ctrl.unindent();
 	out.print("{");
 	ctrl.indent();
@@ -330,7 +346,7 @@
 
 	// Constructors
 	if (need11Stubs) {
-		out.print("public " + stubname + "() {");
+		out.print("public " + stubclassname + "() {");
 		ctrl.indent();
 		out.print("super();");
 		ctrl.unindent();
@@ -338,7 +354,7 @@
 	}
 
 	if (need12Stubs) {
-		out.print("public " + stubname + "(java.rmi.server.RemoteRef ref) {");
+		out.print("public " + stubclassname + "(java.rmi.server.RemoteRef ref) {");
 		ctrl.indent();
 		out.print("super(ref);");
 		ctrl.unindent();
@@ -619,8 +635,11 @@
 }
 
 private void generateSkel() throws IOException {
-	skelname = classname + "_Skel";
-	ctrl = new TabbedWriter(new FileWriter(destination + File.separator + skelname + ".java"));
+	skelname = fullclassname + "_Skel";
+	String skelclassname = classname + "_Skel";
+	ctrl = new TabbedWriter(new FileWriter((destination == null ? "" : destination + File.separator)
+					       + skelname.replace('.', File.separatorChar)
+					       + ".java"));
 	out = new PrintWriter(ctrl);
 
 	if (verbose) {
@@ -635,7 +654,7 @@
 		out.println();
 	}
 
-	out.print("public final class " + skelname);
+	out.print("public final class " + skelclassname);
 	ctrl.indent();
 	
 	// Output interfaces we implement

--------------050109020202020600050801--




From MAILER-DAEMON Fri Aug 22 03:44:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19q5DG-0003is-5I
	for mharc-classpath@gnu.org; Fri, 22 Aug 2003 02:15:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19pcxb-00012x-TU
	for classpath@gnu.org; Wed, 20 Aug 2003 20:05:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19pcdb-0002ie-V6
	for classpath@gnu.org; Wed, 20 Aug 2003 19:45:43 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19pbjm-0003PZ-7W
	for classpath@gnu.org; Wed, 20 Aug 2003 18:47:30 -0400
Received: (qmail 26360 invoked by uid 504); 20 Aug 2003 23:00:24 +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.086316 secs); 20 Aug 2003 21:00:24 -0000
Received: from unknown (HELO localhost) ([139.165.77.48])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpathx-discuss@gnu.org>; 20 Aug 2003 23:00:24 +0200
Date: Wed, 20 Aug 2003 23:00:24 +0200 (CEST)
Message-Id: <20030820.230024.98340873.arnaud.vandyck@ulg.ac.be>
To: classpathx-discuss@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <87n0e5vht4.fsf@tapsellferrier.co.uk>
References: <20030819.141516.20494626.arnaud.vandyck@ulg.ac.be>
	<87n0e5vht4.fsf@tapsellferrier.co.uk>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.57 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: [Classpathx-discuss] [gnujaxp] javax.xml.* conform to jaxp1.1
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Aug 2003 06:15:52 -0000

On 19 Aug 2003 15:32:55 +0100
Nic <nferrier@tapsellferrier.co.uk> wrote:

> Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> writes:
> 
> > I've just finished some commits (less than 10) to make gnujaxp compliant
> > with jaxp1.1 public API. 
> > 
> > We still need to  fix the build system (see [1]) and  that's all for the
> > minor changes. 
> > 
> > The major improvment would be to have an transform implementation.
> 
> Err.. what about our libxslt thing? It's in the classpathx repository.

It's not full java :( but well,  if it runs well, no problem. I think we
have to integrate the full jaxp API (so WITH transformations).

> What I had planned to do was make a libxml2 jaxp provider for SAX and
> DOM. They would fit in very nicely with a libxslt based TRAX.

Do I understand  that Aelfred and gnu.xml.dom will be  out? And you plan
to make bindings with libxml2? 

Well, I'd  like to have come  comments about that (if  I understood this
right?).

> I will get round to the build setup soon. Are you available to test
> builds?

Maybe next week. List or private, no problem.

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.



From MAILER-DAEMON Fri Aug 22 08:17:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qAiT-0005pH-2D
	for mharc-classpath@gnu.org; Fri, 22 Aug 2003 08:08:29 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qAXS-00031x-15
	for classpath@gnu.org; Fri, 22 Aug 2003 07:57:06 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qAWf-0002nX-47
	for classpath@gnu.org; Fri, 22 Aug 2003 07:56:48 -0400
Received: from [217.34.135.17] (helo=tf1.tapsellferrier.co.uk)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19qAU9-0002Am-BQ; Fri, 22 Aug 2003 07:53:41 -0400
Received: from [194.74.202.254] (helo=roo)
	by tf1.tapsellferrier.co.uk with esmtp (Exim 3.35 #1 (Debian))
	id 19q9nI-0001Lf-00; Fri, 22 Aug 2003 12:09:24 +0100
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
References: <20030819.141516.20494626.arnaud.vandyck@ulg.ac.be>
	<87n0e5vht4.fsf@tapsellferrier.co.uk>
	<20030820.230024.98340873.arnaud.vandyck@ulg.ac.be>
From: Nic <nferrier@tapsellferrier.co.uk>
Date: 22 Aug 2003 11:05:25 +0100
In-Reply-To: <20030820.230024.98340873.arnaud.vandyck@ulg.ac.be>
Message-ID: <87vfsq57oa.fsf@tapsellferrier.co.uk>
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, classpathx-discuss@gnu.org
Subject: Re: [Classpathx-discuss] [gnujaxp] javax.xml.* conform to jaxp1.1
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Aug 2003 12:08:27 -0000

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

> It's not full java :( but well,  if it runs well, no problem. I think we
> have to integrate the full jaxp API (so WITH transformations).

That's what libxmlj does. It's already used for the gjdoc tool.
 

> Do I understand  that Aelfred and gnu.xml.dom will be  out? And you plan
> to make bindings with libxml2? 

Not "out" exactly. But there will be a choice.

As far as I can see libxml2 will be the standard XML library for the
GNU system. XML is so important that it should be standard on the OS
so I see no reason for Java not to work through that.

 
> Well, I'd  like to have come  comments about that (if  I understood this
> right?).

Would Debian have a problem with this? It's just a dependancy on the
package isn't it? Most people will already have libxml2 I suspect.


-- 
Nic Ferrier
http://www.tapsellferrier.co.uk




From MAILER-DAEMON Fri Aug 22 10:17:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qBVr-0003oQ-A3
	for mharc-classpath@gnu.org; Fri, 22 Aug 2003 08:59:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qAg6-0005FI-JA
	for classpath@gnu.org; Fri, 22 Aug 2003 08:06:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19q9U7-00035L-UE
	for classpath@gnu.org; Fri, 22 Aug 2003 06:50:07 -0400
Received: from [62.4.17.105] (helo=mallaury.noc.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19q8Ym-00026G-DD
	for classpath@gnu.org; Fri, 22 Aug 2003 05:50:20 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by mallaury.noc.nerim.net (Postfix) with ESMTP id 7FAF062D81
	for <classpath@gnu.org>; Fri, 22 Aug 2003 10:50:18 +0200 (CEST)
Message-ID: <3F45DB2F.7000507@kaffe.org>
Date: Fri, 22 Aug 2003 10:58:23 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
X-Enigmail-Version: 0.74.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Locale collation rules
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Aug 2003 12:59:29 -0000

Hi,

I have posted to Mark and to Classpath bug database a patch to implement
some major parts of RuleBasedCollator. It is now possible to interpret 
at least
some locale collation rules. Is it legally possible to get the rules 
returned by sun jdk's
RuseBasedCollator.getRules() as it was done in Mauve ? That way we could add
these rules directly in LocaleInformation...

Cheers,

Guilhem.




From MAILER-DAEMON Fri Aug 22 15:50:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qHUi-0004KN-UO
	for mharc-classpath@gnu.org; Fri, 22 Aug 2003 15:22:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qHMW-0000aF-DI
	for classpath@gnu.org; Fri, 22 Aug 2003 15:14:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qHDM-0005mQ-Tw
	for classpath@gnu.org; Fri, 22 Aug 2003 15:05:21 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19qHDM-0005lQ-6H
	for classpath@gnu.org; Fri, 22 Aug 2003 15:04:48 -0400
Received: from fleche.redhat.com (tf0113.peakpeak.com [204.144.239.113])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id NAA25670;
	Fri, 22 Aug 2003 13:04:40 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id E1DE74F80C5; Fri, 22 Aug 2003 12:56:14 -0600 (MDT)
To: Guilhem Lavaux <guilhem@kaffe.org>
References: <3F45DB2F.7000507@kaffe.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: ..  So, if we convert SUPPLY-SIDE SOYBEAN FUTURES into
	HIGH-YIELD T-BILL INDICATORS, the PRE-INFLATIONARY risks
	will DWINDLE to a rate of 2 SHOPPING SPREES per EGGPLANT!!
Date: 22 Aug 2003 12:56:13 -0600
In-Reply-To: <3F45DB2F.7000507@kaffe.org>
Message-ID: <87vfspy10y.fsf@fleche.redhat.com>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Locale collation rules
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Aug 2003 19:22:43 -0000

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

Guilhem> Is it legally possible to get the rules returned by sun jdk's
Guilhem> RuseBasedCollator.getRules() as it was done in Mauve ?

We would have to have RMS ask the FSF lawyer about this.

When I initially wrote this code I avoided this issue.
One option might be to see if we can further adapt the glibc
localeconv program to generate the collation rules for us.

Tom



From MAILER-DAEMON Fri Aug 22 18:33:14 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qKCq-0000PB-90
	for mharc-classpath@gnu.org; Fri, 22 Aug 2003 18:16:28 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qJoo-0007ky-TX
	for classpath@gnu.org; Fri, 22 Aug 2003 17:51:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qIxS-0002tg-Po
	for classpath@gnu.org; Fri, 22 Aug 2003 16:57:01 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19q5i6-0004xv-7b; Fri, 22 Aug 2003 02:47:46 -0400
Received: from host217-34-135-17.in-addr.btopenworld.com ([217.34.135.17]
	helo=tf1.tapsellferrier.co.uk) by mx20.gnu.org with esmtp (Exim 4.20)
	id 19pDrx-0004sl-RA; Tue, 19 Aug 2003 17:18:22 -0400
Received: from host217-34-135-22.in-addr.btopenworld.com ([217.34.135.22]
	helo=roo)
	by tf1.tapsellferrier.co.uk with esmtp (Exim 3.35 #1 (Debian))
	id 19pDr9-0007xH-00; Tue, 19 Aug 2003 22:17:31 +0100
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
References: <20030819.141516.20494626.arnaud.vandyck@ulg.ac.be>
From: Nic <nferrier@tapsellferrier.co.uk>
Date: 19 Aug 2003 15:32:55 +0100
In-Reply-To: <20030819.141516.20494626.arnaud.vandyck@ulg.ac.be>
Message-ID: <87n0e5vht4.fsf@tapsellferrier.co.uk>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, classpathx-discuss@gnu.org
Subject: Re: [Classpathx-discuss] [gnujaxp] javax.xml.* conform to jaxp1.1
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Aug 2003 22:16:10 -0000

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

> I've just finished some commits (less than 10) to make gnujaxp compliant
> with jaxp1.1 public API. 
> 
> We still need to  fix the build system (see [1]) and  that's all for the
> minor changes. 
> 
> The major improvment would be to have an transform implementation.

Err.. what about our libxslt thing? It's in the classpathx repository.

What I had planned to do was make a libxml2 jaxp provider for SAX and
DOM. They would fit in very nicely with a libxslt based TRAX.


I will get round to the build setup soon. Are you available to test
builds?


Nic




From MAILER-DAEMON Fri Aug 22 19:44:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qLT5-0004u3-QH
	for mharc-classpath@gnu.org; Fri, 22 Aug 2003 19:37:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qLNH-00033b-EM
	for classpath@gnu.org; Fri, 22 Aug 2003 19:31:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qKEc-0000zK-6U
	for classpath@gnu.org; Fri, 22 Aug 2003 18:18:49 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19qJet-0003dZ-8k
	for classpath@gnu.org; Fri, 22 Aug 2003 17:41:23 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by mx20.gnu.org with esmtp (Exim 4.20) id 19qJds-0006Vl-Ga
	for classpath@gnu.org; Fri, 22 Aug 2003 17:40:20 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19qBt4-0005cL-00
	for <classpath@gnu.org>; Fri, 22 Aug 2003 15:23:30 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1061558747.29432.67.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Fri, 22 Aug 2003 15:25:47 +0200
Content-Transfer-Encoding: 7bit
Subject: GNU Classpath 0.06 created
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Aug 2003 23:37:17 -0000

Hi,

Although I don't have access yet to alpha.gnu.org to publish the release
I have already created the 0.06 release tarball. I also tagged the CVS
tree as 'classpath-0_06-release'.

Current tarball can be found at:
http://www.klomp.org/mark/classpath/classpath-0.06.tar.gz

It has the following MD5 sum:
d6f6506790d1166d0cd20dcde3221297  classpath-0.06.tar.gz

I will make the real announcement about 0.06 as soon as it is up at the
official GNU ftp server.

Please feel free to hack on the CVS tree again.

Hope this message makes it to the mailinglist since messages seem to go
very slow the last couple of days.

Cheers,

Mark




From MAILER-DAEMON Sat Aug 23 03:56:51 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qTFK-0001Qy-Rv
	for mharc-classpath@gnu.org; Sat, 23 Aug 2003 03:55:38 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qTCR-00077r-Bx
	for classpath@gnu.org; Sat, 23 Aug 2003 03:52:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qT3n-0000pC-Fz
	for classpath@gnu.org; Sat, 23 Aug 2003 03:44:14 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19qSyL-0005w5-6w
	for classpath@gnu.org; Sat, 23 Aug 2003 03:38:05 -0400
Received: from [62.4.16.106] (helo=kraid.nerim.net)
	by mx20.gnu.org with esmtp (Exim 4.20) id 19qSxd-0004La-7N
	for classpath@gnu.org; Sat, 23 Aug 2003 03:37:21 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by kraid.nerim.net (Postfix) with ESMTP
	id C2F6D40E37; Sat, 23 Aug 2003 08:37:46 +0200 (CEST)
Message-ID: <3F470D9E.6000101@kaffe.org>
Date: Sat, 23 Aug 2003 08:45:50 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <3F45DB2F.7000507@kaffe.org> <87vfspy10y.fsf@fleche.redhat.com>
In-Reply-To: <87vfspy10y.fsf@fleche.redhat.com>
X-Enigmail-Version: 0.74.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Locale collation rules
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Aug 2003 07:55:34 -0000

Tom Tromey wrote:

>>>>>>"Guilhem" == Guilhem Lavaux <guilhem@kaffe.org> writes:
>>>>>>            
>>>>>>
>
>Guilhem> Is it legally possible to get the rules returned by sun jdk's
>Guilhem> RuseBasedCollator.getRules() as it was done in Mauve ?
>
>We would have to have RMS ask the FSF lawyer about this.
>
>When I initially wrote this code I avoided this issue.
>One option might be to see if we can further adapt the glibc
>localeconv program to generate the collation rules for us.
>
>Tom
>  
>
Hi Tom,

Do you know how much of the java's locale information can be found in 
glibc's ? I
remember something like glibc's locale would never be sufficient to 
translate all
necessary informations. I'll download glibc sources and have a look at 
what can be done.

Cheers,
Guilhem.




From MAILER-DAEMON Sat Aug 23 10:29:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qZLY-0003ZU-KE
	for mharc-classpath@gnu.org; Sat, 23 Aug 2003 10:26:28 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qZBr-00055D-O1
	for classpath@gnu.org; Sat, 23 Aug 2003 10:16:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qZ5U-0000hS-3c
	for classpath@gnu.org; Sat, 23 Aug 2003 10:10:23 -0400
Received: from [196.2.45.76] (helo=quake.mweb.co.za)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19qYwt-0001xo-Ow
	for classpath@gnu.org; Sat, 23 Aug 2003 10:01:00 -0400
Received: from pta-dial-196-31-187-67.mweb.co.za ([196.31.187.67]:32789)
	by quake.mweb.co.za with esmtp (Exim 4.01)
	id 19qYn3-0003hn-00; Sat, 23 Aug 2003 15:50:50 +0200
From: John Leuner <jewel@pixie.co.za>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1061463572.13469.28.camel@elsschot>
References: <E19pn1k-0002d1-00@nescio.wildebeest.org>
	<1061463572.13469.28.camel@elsschot>
Content-Type: text/plain
Organization: 
Message-Id: <1061647064.403.0.camel@cmalu>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.4 
Date: 23 Aug 2003 14:57:45 +0100
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: date for release 0.06
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Aug 2003 14:26:25 -0000

When should we expect 0.06 to be released?

John Leuner





From MAILER-DAEMON Sat Aug 23 13:52:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qcYX-0003tz-Ux
	for mharc-classpath@gnu.org; Sat, 23 Aug 2003 13:52:05 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qcWr-0001bu-Hs
	for classpath@gnu.org; Sat, 23 Aug 2003 13:50:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qcVO-0007no-B9
	for classpath@gnu.org; Sat, 23 Aug 2003 13:49:22 -0400
Received: from [64.164.98.8] (helo=mta7.pltn13.pbi.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19qcVB-0007LF-Uq
	for classpath@gnu.org; Sat, 23 Aug 2003 13:48:38 -0400
Received: from bothner.com (adsl-216-102-199-253.dsl.snfc21.pacbell.net
	[216.102.199.253])
	by mta7.pltn13.pbi.net (8.12.9/8.12.3) with ESMTP id h7NHmaOA006145;
	Sat, 23 Aug 2003 10:48:36 -0700 (PDT)
Message-ID: <3F47A9A4.6070001@bothner.com>
Date: Sat, 23 Aug 2003 10:51:32 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.4) Gecko/20030612
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1061558747.29432.67.camel@elsschot>	
	<3F479134.6030205@bothner.com> <1061656095.29429.82.camel@elsschot>
In-Reply-To: <1061656095.29429.82.camel@elsschot>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.06 created
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Aug 2003 17:52:04 -0000

Mark Wielaard wrote:

> My thinking was that the 0.0x releases are actually the pre-releases
> while we work towards the first real GNU Classpath 1.0 release. People
> can combine these pre-releases with their own VMs like gcj, kissme,
> jikesRVM, Jaos, etc already do. But as long as we don't have at least a
> minimum of functionality to offer (we are hoping that 1.0 will have the
> equivalent functionality as core libraries that come with some
> proprietary 1.1 JDKs) and a stable/maintainable VM interface we cannot
> call it a real release.

If you've created a cvs tag, and given it a real version number,
I'd call it a release, even if it's not a 1.0 relase.  alpha.gnu.org
has outlived its usefulness (evidenced by the fact that it is little
used) now that "alpha" code is available in CVS for most projects.

Note that alpha.gnu.org is not mirrored the way ftp.gnu.org is.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/





From MAILER-DAEMON Sat Aug 23 21:30:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qjhm-00071M-Ie
	for mharc-classpath@gnu.org; Sat, 23 Aug 2003 21:30:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qjhe-0006y6-Q4
	for classpath@gnu.org; Sat, 23 Aug 2003 21:29:58 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qjh5-0006aA-QI
	for classpath@gnu.org; Sat, 23 Aug 2003 21:29:55 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19qjdY-0001bJ-IC
	for classpath@gnu.org; Sat, 23 Aug 2003 21:25:44 -0400
Received: from [64.164.98.8] (helo=mta7.pltn13.pbi.net)
	by mx20.gnu.org with esmtp (Exim 4.20) id 19qjSL-0007b4-ES
	for classpath@gnu.org; Sat, 23 Aug 2003 21:14:09 -0400
Received: from bothner.com (adsl-216-102-199-253.dsl.snfc21.pacbell.net
	[216.102.199.253])
	by mta7.pltn13.pbi.net (8.12.9/8.12.3) with ESMTP id h7NG4KOA016965;
	Sat, 23 Aug 2003 09:04:20 -0700 (PDT)
Message-ID: <3F479134.6030205@bothner.com>
Date: Sat, 23 Aug 2003 09:07:16 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.4) Gecko/20030612
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1061558747.29432.67.camel@elsschot>
In-Reply-To: <1061558747.29432.67.camel@elsschot>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.06 created
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Aug 2003 01:30:03 -0000

Mark Wielaard wrote:

> Although I don't have access yet to alpha.gnu.org to publish the release
> I have already created the 0.06 release tarball. I also tagged the CVS
> tree as 'classpath-0_06-release'.

You don't put releases on alpha.gnu.org - you put them on ftp.gnu.org.
You can put pre-releases on alpha.gnu.org, but if you already have
a release there seems little point.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/





From MAILER-DAEMON Sun Aug 24 11:48:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qx4g-0002TW-DN
	for mharc-classpath@gnu.org; Sun, 24 Aug 2003 11:46:38 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qx4L-00026d-TQ
	for classpath@gnu.org; Sun, 24 Aug 2003 11:46:17 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qx2d-0006qM-GN
	for classpath@gnu.org; Sun, 24 Aug 2003 11:45:02 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19qx1x-0005ca-5y
	for classpath@gnu.org; Sun, 24 Aug 2003 11:43:49 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19qbDB-0008W8-00; Sat, 23 Aug 2003 18:25:57 +0200
From: Mark Wielaard <mark@klomp.org>
To: Per Bothner <per@bothner.com>
In-Reply-To: <3F479134.6030205@bothner.com>
References: <1061558747.29432.67.camel@elsschot> <3F479134.6030205@bothner.com>
Content-Type: text/plain
Message-Id: <1061656095.29429.82.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Sat, 23 Aug 2003 18:28:15 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.06 created
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Aug 2003 15:46:34 -0000

Hi,

On Sat, 2003-08-23 at 18:07, Per Bothner wrote:
> You don't put releases on alpha.gnu.org - you put them on ftp.gnu.org.
> You can put pre-releases on alpha.gnu.org, but if you already have
> a release there seems little point.

My thinking was that the 0.0x releases are actually the pre-releases
while we work towards the first real GNU Classpath 1.0 release. People
can combine these pre-releases with their own VMs like gcj, kissme,
jikesRVM, Jaos, etc already do. But as long as we don't have at least a
minimum of functionality to offer (we are hoping that 1.0 will have the
equivalent functionality as core libraries that come with some
proprietary 1.1 JDKs) and a stable/maintainable VM interface we cannot
call it a real release. We do hope that people try these pre-releases
out to create compilers and/or VM environments so they can give us
feedback what should be improved for the real 1.0 release.
(And I also don't have access to ftp.gnu.org)

Cheers,

Mark




From MAILER-DAEMON Sun Aug 24 11:49:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qx4B-0001zY-CI
	for mharc-classpath@gnu.org; Sun, 24 Aug 2003 11:46:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qx3v-0001W7-I7
	for classpath@gnu.org; Sun, 24 Aug 2003 11:45:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qx2s-0007V3-An
	for classpath@gnu.org; Sun, 24 Aug 2003 11:45:18 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19qx20-0005ca-CT
	for classpath@gnu.org; Sun, 24 Aug 2003 11:43:52 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19qb5r-0008W0-00; Sat, 23 Aug 2003 18:18:23 +0200
From: Mark Wielaard <mark@klomp.org>
To: John Leuner <jewel@pixie.co.za>
In-Reply-To: <1061647064.403.0.camel@cmalu>
References: <E19pn1k-0002d1-00@nescio.wildebeest.org>
	<1061463572.13469.28.camel@elsschot>  <1061647064.403.0.camel@cmalu>
Content-Type: text/plain
Message-Id: <1061655640.29431.73.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Sat, 23 Aug 2003 18:20:40 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: date for release 0.06
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Aug 2003 15:46:05 -0000

Hi,

On Sat, 2003-08-23 at 15:57, John Leuner wrote:
> When should we expect 0.06 to be released?

The tarball can already be found at http://www.klomp.org/mark/classpath/
The CVS tree has been taged and the version number in configure.in has
already been bumped to 0.06+cvs. It has been tested and works well with
both Kissme and JikesRVM out of the box according to the reports that
people send me.

But as long as we cannot put it on the gnu ftp server I don't want to
announce it widely. Hopefully that can be arranged soon, but
communication goes extremely slow since the mail.gnu.org server seems to
have a big backlog of messages (probably from the latest Windows
worm/virus thingy).

Cheers,

Mark




From MAILER-DAEMON Sun Aug 24 12:13:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19qxTV-000657-4U
	for mharc-classpath@gnu.org; Sun, 24 Aug 2003 12:12:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19qxSk-00048S-Cu
	for classpath@gnu.org; Sun, 24 Aug 2003 12:11:30 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qxRU-0001Gl-DL
	for classpath@gnu.org; Sun, 24 Aug 2003 12:10:44 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19qxQu-0008Ge-NM
	for classpath@gnu.org; Sun, 24 Aug 2003 12:09:36 -0400
Received: (qmail 27588 invoked by uid 504); 24 Aug 2003 18:09:32 +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.227889 secs); 24 Aug 2003 16:09:32 -0000
Received: from unknown (HELO localhost) ([139.165.201.72])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 24 Aug 2003 18:09:32 +0200
Date: Sun, 24 Aug 2003 18:09:31 +0200 (CEST)
Message-Id: <20030824.180931.103121561.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.57 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: [japitools message] how to resolve 'SerialVersionUID'
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Aug 2003 16:12:11 -0000

Hi all,

if you  look at  japitools[1], there are  some minor problems  like this
one:

org.xml.sax
Minor: 3 classes.
Minor

    * class org.xml.sax.SAXException: SerialVersionUID=583241635256073760 in jdk14, but SerialVersionUID=-8251803752662179270 in classpath
    * class org.xml.sax.SAXNotRecognizedException: SerialVersionUID=5440506620509557213 in jdk14, but SerialVersionUID=1398555601346822626 in classpath
    * class org.xml.sax.SAXNotSupportedException: SerialVersionUID=-1422818934641823846 in jdk14, but SerialVersionUID=-7373565723188945450 in classpath

Can someone tell me how to solve this problems if they can be solved? 

Best Regards,

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.

Footnotes: 
[1] http://japi.sab39.org/htmlout/h-jdk14-classpath.html



From MAILER-DAEMON Sun Aug 24 14:54:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19r00X-00064M-Tv
	for mharc-classpath@gnu.org; Sun, 24 Aug 2003 14:54:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19r00V-00062T-3v
	for classpath@gnu.org; Sun, 24 Aug 2003 14:54:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19qzzy-0005cp-Sz
	for classpath@gnu.org; Sun, 24 Aug 2003 14:54:29 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19qzz9-0004sF-5q
	for classpath@gnu.org; Sun, 24 Aug 2003 14:53:07 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by mx20.gnu.org with esmtp (Exim 4.20) id 19qzwt-0005kr-3l
	for classpath@gnu.org; Sun, 24 Aug 2003 14:50:47 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 19qzav-0004vU-00
	for <classpath@gnu.org>; Sun, 24 Aug 2003 20:28:05 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 19qzat-0004v6-00; Sun, 24 Aug 2003 20:28:03 +0200
Message-ID: <3F4903B3.7010403@kaffe.org>
Date: Sun, 24 Aug 2003 20:28:03 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
References: <20030824.180931.103121561.arnaud.vandyck@ulg.ac.be>
In-Reply-To: <20030824.180931.103121561.arnaud.vandyck@ulg.ac.be>
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: [japitools message] how to resolve 'SerialVersionUID'
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Aug 2003 18:54:32 -0000

Arnaud Vandyck wrote:
> Hi all,
> 
> if you  look at  japitools[1], there are  some minor problems  like this
> one:
> 
> org.xml.sax
> Minor: 3 classes.
> Minor
> 
>     * class org.xml.sax.SAXException: SerialVersionUID=583241635256073760 in jdk14, but SerialVersionUID=-8251803752662179270 in classpat
>     * class org.xml.sax.SAXNotRecognizedException: SerialVersionUID=5440506620509557213 in jdk14, but SerialVersionUID=1398555601346822626 in classpath
>     * class org.xml.sax.SAXNotSupportedException: SerialVersionUID=-1422818934641823846 in jdk14, but SerialVersionUID=-7373565723188945450 in classpath
> 
> Can someone tell me how to solve this problems if they can be solved? 

Add a private final long field SerialVersionUID to the class. Take a 
look at class documentation to see what it looks like in serialized form.

http://java.sun.com/j2se/1.4.2/docs/api/serialized-form.html#org.xml.sax.SAXException

See also http://www-124.ibm.com/pipermail/jikes/2001-November/002356.html

cheers,
dalibor topic




From MAILER-DAEMON Sun Aug 24 15:09:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19r0F1-0002Y5-Jo
	for mharc-classpath@gnu.org; Sun, 24 Aug 2003 15:09:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19r0Ey-0002Ux-RG
	for classpath@gnu.org; Sun, 24 Aug 2003 15:09:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19r0EC-0001QE-3J
	for classpath@gnu.org; Sun, 24 Aug 2003 15:09:12 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19r0EA-0001P4-Or
	for classpath@gnu.org; Sun, 24 Aug 2003 15:08:38 -0400
Received: (qmail 712 invoked by uid 504); 24 Aug 2003 20:08:37 +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.17023 secs); 24 Aug 2003 18:08:37 -0000
Received: from unknown (HELO localhost) ([139.165.201.72])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 24 Aug 2003 20:08:36 +0200
Date: Sun, 24 Aug 2003 20:08:35 +0200 (CEST)
Message-Id: <20030824.200835.81403844.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.57 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: java.sql.Time#setTime(long)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Aug 2003 19:09:30 -0000

This methode does not exist in classpath but does in J2SE1.4

http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Time.html#setTime(long)

... and is not deprecated. 

Also, Is  it normal that the  deprecated methode of this  class throw an
IllegalArgumentException?

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.



From MAILER-DAEMON Sun Aug 24 15:44:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19r0n2-0003ot-QC
	for mharc-classpath@gnu.org; Sun, 24 Aug 2003 15:44:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19r0mv-0003k4-CQ
	for classpath@gnu.org; Sun, 24 Aug 2003 15:44:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19r0mO-0003Nc-Ah
	for classpath@gnu.org; Sun, 24 Aug 2003 15:44:32 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19r0ly-00034z-If
	for classpath@gnu.org; Sun, 24 Aug 2003 15:43:34 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19r0eZ-00030U-00; Sun, 24 Aug 2003 21:35:55 +0200
From: Mark Wielaard <mark@klomp.org>
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <20030824.200835.81403844.arnaud.vandyck@ulg.ac.be>
References: <20030824.200835.81403844.arnaud.vandyck@ulg.ac.be>
Content-Type: text/plain
Message-Id: <1061753893.1012.76.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Sun, 24 Aug 2003 21:38:13 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: java.sql.Time#setTime(long)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Aug 2003 19:44:39 -0000

Hi,

On Sun, 2003-08-24 at 20:08, Arnaud Vandyck wrote:
> This methode does not exist in classpath but does in J2SE1.4
> 
> http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Time.html#setTime(long)
> 
> ... and is not deprecated. 

And it seems to be defined in earlier versions like 1.3.
It looks like there is a constructor that does almost exactly what this
method does. Could you take a look at that and try to create a patch
that implements this method?

> Also, Is  it normal that the  deprecated methode of this  class throw an
> IllegalArgumentException?

Yes, because that is what the documentation says it should do.

Cheers,

Mark




From MAILER-DAEMON Sun Aug 24 15:47:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19r0pM-0006cN-U7
	for mharc-classpath@gnu.org; Sun, 24 Aug 2003 15:47:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19r0p9-00067q-Pk
	for classpath@gnu.org; Sun, 24 Aug 2003 15:46:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19r0nI-00044J-VS
	for classpath@gnu.org; Sun, 24 Aug 2003 15:45:28 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19r0lz-00034z-LV
	for classpath@gnu.org; Sun, 24 Aug 2003 15:43:35 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19qzQM-0002sG-00
	for <classpath@gnu.org>; Sun, 24 Aug 2003 20:17:11 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1061749168.10941.71.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Sun, 24 Aug 2003 20:19:29 +0200
Content-Transfer-Encoding: 7bit
Subject: make distcheck and libtool 1.5a now work
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Aug 2003 19:47:02 -0000

Hi,

I got make distcheck and libtool 1.5 (and keeping 1.4.3) to work.
make distcheck helps us to see whether a make dist really creates a good
release tarball. It points out missing files or make rules which don't
cleanup after themselves. In the future we might be able to add
automatic Mauve checking to it, but that is a lot more tricky.
It does mean that make clean now really removes all generated files
(also the .class and glibj.zip file). But since we these files have not
been necessary for a long time to bootstrap anyway this shouldn't be a
problem.

I had to update the libtoolize files (config.guess, config.sub and
ltmain.sh) to get libtool 1.5 (and 1.4.3) to work correctly and had to
update a few configure.in definitions.

If this breaks something for you please let me know.
(You will have to do the automagic dance described in the HACKING file
after a CVS update.)

Cheers,

Mark




From MAILER-DAEMON Sun Aug 24 17:46:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19r2gV-0002Yl-Vx
	for mharc-classpath@gnu.org; Sun, 24 Aug 2003 17:46:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19r2ft-0001E4-0a
	for classpath@gnu.org; Sun, 24 Aug 2003 17:45:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19r2ed-0006kh-K2
	for classpath@gnu.org; Sun, 24 Aug 2003 17:44:38 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19r2eH-0006BS-6L
	for classpath@gnu.org; Sun, 24 Aug 2003 17:43:45 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19r2Ca-0003Cq-00
	for <classpath@gnu.org>; Sun, 24 Aug 2003 23:15:08 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1061759846.1012.158.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Sun, 24 Aug 2003 23:17:26 +0200
Content-Transfer-Encoding: 7bit
Subject: Towards GNU Classpath 0.07 and 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Aug 2003 21:46:01 -0000

Hi all,

Wanted to share my thoughts on the next snapshot 0.07 and what should be
done before we can really start thinking about GNU Classpath 1.0. These
are just suggestions so please yell and scream (politely) if you have
other ideas about this.

0.07. The best thing for the next snapshot is to just set a date when we
want to release it. I propose to just set this at the last week of
November (three months from now) since we are already making real
progress. Look at the bug/patch database for a number of improvements to
object streams, java.text, rmi and javax.naming that are just waiting to
get checked in. Much thanks go to the Kaffe team that has been importing
Classpath libraries like mad the last couple of weeks and simultaneously
debugged them and provided patches! And apologies to anyone whose
patches didn't make it for the 0.06 release.
If that works out then we can just keep on doing snapshot releases every
three months till...

1.0. This is the release everybody is really waiting for. It should give
people enough functionality to be useful for creating real projects
(from full featured JDKs that people create on top of GNU Classpath) and
it should be polished enough that we feel it is worth to maintain it
(while we start working towards 2.0). We cannot set a date for it, but
we can list the requirements that should be met to make it happen:

- At least the same functionality as other 1.1 JDK core classes provide.
  (We have most of the packages needed to provide, but debugging to get
   them all working correctly will take some time. The main missing part
   has always been the AWT (peers) but the gcj hackers are really
   working hard on them. The wonka visual test tool that Thomas recently
   imported into Mauve will certainly help with this effort. Since we
   clearly have already so much more then plain 1.1 we might set the
   goal a bit higher to include everything that people expect from 1.1
   plus the extensions described in the java class libraries second
   edition, volume 1 supplemental. Plus of course everything from 1.3
   and 1.4 that we can clearly show is ready. But getting a minimum 1.1
   set of packages all at the same minimum level should be the first
   goal.)

- Clean and stable VM interface that makes implementing a VM and/or
  compiler based on GNU Classpath easy.
  (We have a start with the various VM[ClassName] classes inside the
   vm/reference directory. We should extend these with the proposals for
   e.g. VMThread and VMSecurityManager that were already proposed on the
   list and they should be better documented in the vmintegration guide.
   Ideally even gcj and kaffe would use this VM interface, but the main
   target are the free VMs that realy exclusively on GNU Classpath as
   core library implementation.)

- Up to date documentation that at a minimum provides a reference like
  overview of what we have and what each class/method does. And clearly
  describes what is work in progress/non-functional stubs.
  (gjdoc really helps here. And our api doc isn't that bad. We really
   need to write some package.html overview pages for the packages that
   we feel agree really useful though. We also might need to hack a bit
   on gjdoc to make do everything we want - like including pictures.)

- Testsuite that can be used to see if the libraries work as expected
  and that we can use to spot regressions while we work on future
  versions.
  (We use Mauve for that and it is already pretty good to show
   regressions on parts of our library, but it needs a bit of cleaning
   up to make it more generally useful. Also some packages don't have
   any tests at all.)

We aren't that far from 1.0. But polishing everything up and the general
rule about "the last 10% takes the other 90% of time" do apply.
Hopefully we can come up with a useful task list for 1.0 (we already
have a task list on savannah, but I don't if people really use that).

But above all, keep having fun, keep on hacking!

Cheers,

Mark

P.S. Speaking about the future of software.

Please take the time to read the following important information about
patents in Europe: http://swpat.ffii.org/

If you live in Europe and can make time, please join the protest in
Brussels next Wednesday (Aug 27 2003):
    http://swpat.ffii.org/news/03/demo0819/index.en.html
If you cannot make it, please join the online demonstration:
    http://swpat.ffii.org/group/demo/index.en.html
And/Or try to help in other ways:
    http://swpat.ffii.org/group/todo/index.en.html

Hope to see some of you in Brussels on Wednesday!
Help with lodging and traveling in groups is coordinated at:
http://wiki.ael.be/index.php/BigDemo27aug
And the #bxl-ffii channel on irc.freenode.org




From MAILER-DAEMON Sun Aug 24 21:02:33 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19r5jG-000497-7e
	for mharc-classpath@gnu.org; Sun, 24 Aug 2003 21:01:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19r5id-0003XW-Ka
	for classpath@gnu.org; Sun, 24 Aug 2003 21:00:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19r5hx-0003CT-H4
	for classpath@gnu.org; Sun, 24 Aug 2003 21:00:16 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19r5hw-0003Bk-Q4
	for classpath@gnu.org; Sun, 24 Aug 2003 20:59:45 -0400
Received: (qmail 24193 invoked by uid 504); 24 Aug 2003 15:53:02 +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.207084 secs); 24 Aug 2003 13:53:02 -0000
Received: from unknown (HELO localhost) ([139.165.201.72])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpathx-discuss@gnu.org>; 24 Aug 2003 15:53:01 +0200
Date: Sun, 24 Aug 2003 15:53:01 +0200 (CEST)
Message-Id: <20030824.155301.79000990.arnaud.vandyck@ulg.ac.be>
To: classpathx-discuss@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <87vfsq57oa.fsf@tapsellferrier.co.uk>
References: <87n0e5vht4.fsf@tapsellferrier.co.uk>
	<20030820.230024.98340873.arnaud.vandyck@ulg.ac.be>
	<87vfsq57oa.fsf@tapsellferrier.co.uk>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.57 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: [Classpathx-discuss] [gnujaxp] javax.xml.* conform to jaxp1.1
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Aug 2003 01:01:04 -0000

On 22 Aug 2003 11:05:25 +0100
Nic <nferrier@tapsellferrier.co.uk> wrote:

> Would Debian have  a problem with this? It's just  a dependancy on the
> package isn't it? Most people will already have libxml2 I suspect.

No problem with Debian. But maybe  with other JDK/ JRE. What does kaffe,
sablevm, jikes, gcj and so think about this?

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.



From MAILER-DAEMON Mon Aug 25 11:14:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19rJ39-0003oo-J3
	for mharc-classpath@gnu.org; Mon, 25 Aug 2003 11:14:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19rJ36-0003n8-Gk
	for classpath@gnu.org; Mon, 25 Aug 2003 11:14:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19rJ2a-0003aU-HR
	for classpath@gnu.org; Mon, 25 Aug 2003 11:14:27 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19rIxr-0000on-Rh
	for classpath@gnu.org; Mon, 25 Aug 2003 11:09:03 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by mx20.gnu.org with esmtp (Exim 4.20) id 19rIxf-0001RI-Nu
	for classpath@gnu.org; Mon, 25 Aug 2003 11:08:51 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 19rGQ0-0001PH-00
	for <classpath@gnu.org>; Mon, 25 Aug 2003 14:25:56 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 19rGPw-0001Oh-00; Mon, 25 Aug 2003 14:25:52 +0200
Message-ID: <3F4A0050.1030806@kaffe.org>
Date: Mon, 25 Aug 2003 14:25:52 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
References: <87n0e5vht4.fsf@tapsellferrier.co.uk>	<20030820.230024.98340873.arnaud.vandyck@ulg.ac.be>	<87vfsq57oa.fsf@tapsellferrier.co.uk>
	<20030824.155301.79000990.arnaud.vandyck@ulg.ac.be>
In-Reply-To: <20030824.155301.79000990.arnaud.vandyck@ulg.ac.be>
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, kaffe@kaffe.org
Subject: Re: [Classpathx-discuss] [gnujaxp] javax.xml.* conform to jaxp1.1
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Aug 2003 15:14:29 -0000

Arnaud Vandyck wrote:
> On 22 Aug 2003 11:05:25 +0100
> Nic <nferrier@tapsellferrier.co.uk> wrote:
> 
> 
>>Would Debian have  a problem with this? It's just  a dependancy on the
>>package isn't it? Most people will already have libxml2 I suspect.
> 
> 
> No problem with Debian. But maybe  with other JDK/ JRE. What does kaffe,
> sablevm, jikes, gcj and so think about this?

An optional dependency on an external library is not a problem for kaffe.

Preferably, the external library should be available on seral platforms, 
since kaffe is trying to be the 'netbsd of virtual machines' and run 
almost everywhere. But it's not a 'must', for non-essential (i.e. not 
used in the bootstrap process) libraries.

In the best case, there would be a pure java implementation as a 
fallback for those systems without libxml2. But I guess, that's up to 
developers on those platforms to implement, which don't have a libxml2 
port yet.

cheers,
dalibor topic




From MAILER-DAEMON Mon Aug 25 11:27:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19rJG7-00050E-EZ
	for mharc-classpath@gnu.org; Mon, 25 Aug 2003 11:27:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19rJG3-0004ye-QD
	for classpath@gnu.org; Mon, 25 Aug 2003 11:27:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19rJBV-0002X8-Ny
	for classpath@gnu.org; Mon, 25 Aug 2003 11:23:40 -0400
Received: from [132.206.3.88] (helo=relay10.cs.mcgill.ca)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19rJ76-0005cu-JC; Mon, 25 Aug 2003 11:18:36 -0400
Received: from pinto.cs.mcgill.ca (pinto.CS.McGill.CA [132.206.3.79])
	by relay10.cs.mcgill.ca (Postfix) with ESMTP id F39E6536F46;
	Mon, 25 Aug 2003 10:51:18 -0400 (EDT)
Received: from pinto.cs.mcgill.ca (dbelan2@localhost [127.0.0.1])
	by pinto.cs.mcgill.ca (8.12.3/8.12.3/Debian-6.4) with ESMTP id
	h7PEpIQa004025; Mon, 25 Aug 2003 10:51:18 -0400
Received: (from dbelan2@localhost)
	by pinto.cs.mcgill.ca (8.12.3/8.12.3/Debian-6.4) id h7PEpIv5004023;
	Mon, 25 Aug 2003 10:51:18 -0400
Date: Mon, 25 Aug 2003 10:51:18 -0400
From: David =?iso-8859-1?Q?B=E9langer?= <dbelan2@cs.mcgill.ca>
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Message-ID: <20030825145118.GA3820@pinto.cs.mcgill.ca>
References: <87n0e5vht4.fsf@tapsellferrier.co.uk>
	<20030820.230024.98340873.arnaud.vandyck@ulg.ac.be>
	<87vfsq57oa.fsf@tapsellferrier.co.uk>
	<20030824.155301.79000990.arnaud.vandyck@ulg.ac.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <20030824.155301.79000990.arnaud.vandyck@ulg.ac.be>
User-Agent: Mutt/1.3.28i
Content-Transfer-Encoding: quoted-printable
Cc: classpath@gnu.org, classpathx-discuss@gnu.org
Subject: Re: [Classpathx-discuss] [gnujaxp] javax.xml.* conform to jaxp1.1
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Aug 2003 15:27:52 -0000

On Sun, Aug 24, 2003 at 03:53:01PM +0200, Arnaud Vandyck wrote:
> On 22 Aug 2003 11:05:25 +0100
> Nic <nferrier@tapsellferrier.co.uk> wrote:
>=20
> > Would Debian have  a problem with this? It's just  a dependancy on th=
e
> > package isn't it? Most people will already have libxml2 I suspect.
>=20
> No problem with Debian. But maybe  with other JDK/ JRE. What does kaffe=
,
> sablevm, jikes, gcj and so think about this?

There should not be any problem with SableVM as long as the library is
available for the underlying OS.

David,
SableVM Developer

>=20
> -- Arnaud Vandyck, STE fi, ULg
>    Formateur Cellule Programmation.
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath

--=20

---

David B=E9langer
Graduate Student
School of Computer Science
McGill University
Office: MC226

Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt




From MAILER-DAEMON Mon Aug 25 15:58:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19rN2y-00031J-5e
	for mharc-classpath@gnu.org; Mon, 25 Aug 2003 15:30:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19rMzg-0001Gt-Tf
	for classpath@gnu.org; Mon, 25 Aug 2003 15:27:12 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19rMgF-0002oi-IX
	for classpath@gnu.org; Mon, 25 Aug 2003 15:07:39 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19rMc8-0000f7-Sk
	for classpath@gnu.org; Mon, 25 Aug 2003 15:02:53 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19rMc1-0000Ky-00; Mon, 25 Aug 2003 21:02:45 +0200
From: Mark Wielaard <mark@klomp.org>
To: qiongc@cse.unsw.edu.au
In-Reply-To: <001101c36acf$1f08c9b0$57f15e81@codebook>
References: <001101c36acf$1f08c9b0$57f15e81@codebook>
Content-Type: text/plain
Message-Id: <1061838165.12692.4.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Mon, 25 Aug 2003 21:02:45 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: RE: GNU Classpath 0.06 created
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Aug 2003 19:30:33 -0000

Hi,

On Mon, 2003-08-25 at 08:07, Qiong Cai wrote:
> Does ORP 1.10 work with this new release?  After browsing through the
> mailing list archives, I cannot find why ORP is broken with the
> classpath.

I don't think Orp will work out of the box with the 0.06 snapshot.
But the changes since the last version aren't that big. All changes
relevant to VM implementers are listed in the NEWS file. Most will just
require updating some vm/reference classes. If you contact the Orp
developers about this please let us know if/when it works.

>  I really like to do some experiments on some server
> benchmarks like tomcat/jboss and jbb by using ORP+classpath, and I
> believe the latest classpath support these benchmarks arleady.  

I would be very interested in how this works out.
Note that there are some patches by the JikesRVM hackers for
javax.naming that are labeled as JBoss improvements but that didn't make
it for 0.06.

Cheers,

Mark




From MAILER-DAEMON Mon Aug 25 19:47:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19rQlO-0007bq-4H
	for mharc-classpath@gnu.org; Mon, 25 Aug 2003 19:28:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19rQdq-0004jU-Rx
	for classpath@gnu.org; Mon, 25 Aug 2003 19:20:54 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19rQ8t-0000Bl-3c
	for classpath@gnu.org; Mon, 25 Aug 2003 18:49:25 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19rOz1-0004cm-Kl
	for classpath@gnu.org; Mon, 25 Aug 2003 17:34:39 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19rOz0-0000ZL-00
	for <classpath@gnu.org>; Mon, 25 Aug 2003 23:34:38 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="=-9N4nYi9+fUoKKv0ku/5h"
Message-Id: <1061847277.12685.17.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Mon, 25 Aug 2003 23:34:37 +0200
Subject: Small vm/reference Thread.join() hack
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Aug 2003 23:28:39 -0000


--=-9N4nYi9+fUoKKv0ku/5h
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

Although I think we should move quickly to the new Thread/VMThread setup
I needed Thread.join(long) to work reliably on kissme. So I made the
following quick hack that work for me.

       * vm/reference/java/lang/Thread.java (join(long)): Call sleep(10),
       not sleep(1). Explicitly check elapsed time.

Without this, one of the new mauve tests hangs forever. And
Thread.join() was very resource intensive since it was continuously
sleeping 1 milisecond.

Cheers,

Mark

--=-9N4nYi9+fUoKKv0ku/5h
Content-Disposition: inline; filename=Thread.diff
Content-Type: text/x-patch; name=Thread.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.1408
diff -u -r1.1408 ChangeLog
--- ChangeLog	24 Aug 2003 18:10:55 -0000	1.1408
+++ ChangeLog	25 Aug 2003 21:31:57 -0000
@@ -1,3 +1,8 @@
+2003-08-25  Mark Wielaard  <mark@klomp.org>
+
+	* vm/reference/java/lang/Thread.java (join(long)): Call sleep(10),
+	not sleep(1). Explicitly check elapsed time.
+
 2003-08-24  Mark Wielaard  <mark@klomp.org>
 
 	* configure.in (AC_INIT): Use four argument version.
Index: vm/reference/java/lang/Thread.java
===================================================================
RCS file: /cvsroot/classpath/classpath/vm/reference/java/lang/Thread.java,v
retrieving revision 1.27
diff -u -r1.27 Thread.java
--- vm/reference/java/lang/Thread.java	9 Aug 2003 18:30:18 -0000	1.27
+++ vm/reference/java/lang/Thread.java	25 Aug 2003 21:31:58 -0000
@@ -1,5 +1,5 @@
 /* Thread -- an independent thread of executable code
-   Copyright (C) 1998, 2001, 2002 Free Software Foundation
+   Copyright (C) 1998, 2001, 2002, 2003 Free Software Foundation
 
 This file is part of GNU Classpath.
 
@@ -688,16 +688,19 @@
     Thread current = currentThread();
     if (ms == 0 && ns == 0)
       while (isAlive())
-        current.sleep(1);
+        current.sleep(10);
     else
       {
-        while (--ms >= 0)
+	long startTime = System.currentTimeMillis();
+	long currentTime = startTime;
+	do
           {
             if (! isAlive())
               return;
-            current.sleep(1);
+	    current.sleep(10);
+	    currentTime = System.currentTimeMillis();
           }
-        current.sleep(0, ns);
+        while (Math.abs(startTime - currentTime) < ms);
       }
   }
 

--=-9N4nYi9+fUoKKv0ku/5h--




From MAILER-DAEMON Mon Aug 25 19:53:35 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19rR6d-0005gh-S9
	for mharc-classpath@gnu.org; Mon, 25 Aug 2003 19:50:39 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19rQeX-000575-6W
	for classpath@gnu.org; Mon, 25 Aug 2003 19:21:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19rPuQ-0002h3-QH
	for classpath@gnu.org; Mon, 25 Aug 2003 18:34:30 -0400
Received: from [196.2.45.76] (helo=quake.mweb.co.za)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19rPTT-0000cd-U0
	for classpath@gnu.org; Mon, 25 Aug 2003 18:06:08 -0400
Received: from pta-dial-196-31-187-48.mweb.co.za ([196.31.187.48]:32842)
	by quake.mweb.co.za with esmtp (Exim 4.01) id 19rPJk-00062f-00
	for classpath@gnu.org; Mon, 25 Aug 2003 23:56:05 +0200
From: John Leuner <jewel@pixie.co.za>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-9ndBDi6pWYSbKaeOEG9i"
Organization: 
Message-Id: <1061848933.407.3.camel@cmalu>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.4 
Date: 25 Aug 2003 23:02:13 +0100
Subject: kissme 0.0.31 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Aug 2003 23:50:37 -0000


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

Hello everyone

I have released version 0.0.31 of the kissme Java Virtual Machine:
http://prdownloads.sourceforge.net/kissme/kissme-0.0.31.tar.gz?download

This release is intended to match the release of 0.06 of Classpath.

The mauve results are quite impressive for this combination, there are
about 70 failures out of several thousand tests.

Thanks to Stephen Crawley and others who have been working on kissme for
the last few months.=20

I have also uploaded .deb packages of classpath 0.06 and kissme 0.0.31
to the debian archive.

--=20
John Leuner <jewel@pixie.co.za>

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

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

iD8DBQA/SodlXrnnKiKKOuQRAmsPAKC79LvHygU47dt1Qf2LUUZaBVkqFgCeOkOl
chUtnRJc9lFoYqw6uaw3z0k=
=xBNI
-----END PGP SIGNATURE-----

--=-9ndBDi6pWYSbKaeOEG9i--




From MAILER-DAEMON Mon Aug 25 19:54:54 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19rQl5-0007UL-T3
	for mharc-classpath@gnu.org; Mon, 25 Aug 2003 19:28:23 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19rQXW-0001VO-5Z
	for classpath@gnu.org; Mon, 25 Aug 2003 19:14:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19rQAD-0000km-La
	for classpath@gnu.org; Mon, 25 Aug 2003 18:50:48 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19rPtX-0002Ij-GV
	for classpath@gnu.org; Mon, 25 Aug 2003 18:33:03 -0400
Received: (qmail 658 invoked by uid 504); 24 Aug 2003 20:06:17 +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.177557 secs); 24 Aug 2003 18:06:17 -0000
Received: from unknown (HELO localhost) ([139.165.201.72])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 24 Aug 2003 20:06:17 +0200
Date: Sun, 24 Aug 2003 20:06:16 +0200 (CEST)
Message-Id: <20030824.200616.118032615.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.57 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: java.sql.Date#setTime(long)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Aug 2003 23:28:21 -0000

This methode does not exist in classpath but does in J2SE1.4

http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Date.html#setTime(long)

... and is not deprecated. 

Also, Is  it normal that the  deprecated methode of this  class throw an
IllegalArgumentException?

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.



From MAILER-DAEMON Mon Aug 25 20:21:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19rRZv-0007Vb-Rc
	for mharc-classpath@gnu.org; Mon, 25 Aug 2003 20:20:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19rR16-0003mG-8s
	for classpath@gnu.org; Mon, 25 Aug 2003 19:44:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19rQud-0001Jg-Rl
	for classpath@gnu.org; Mon, 25 Aug 2003 19:38:47 -0400
Received: from [129.94.242.24] (helo=note.orchestra.cse.unsw.EDU.AU)
	by monty-python.gnu.org with smtp (Exim 4.20) id 19rQjh-0006w0-Sb
	for classpath@gnu.org; Mon, 25 Aug 2003 19:27:00 -0400
Received: From codebook ([129.94.241.87] == ppp2-087.ppp2.cse.unsw.EDU.AU)
	(for <classpath@gnu.org>) (for <mark@klomp.org>)
	(for <per@bothner.com>) By note With Smtp ;
	Mon, 25 Aug 2003 16:07:12 +1000 
From: "Qiong Cai" <qiongc@cse.unsw.edu.au>
To: "'Mark Wielaard'" <mark@klomp.org>,
	"'Per Bothner'" <per@bothner.com>
Date: Mon, 25 Aug 2003 16:07:08 +1000
Organization: CSE, UNSW
Message-ID: <001101c36acf$1f08c9b0$57f15e81@codebook>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
In-Reply-To: <1061656095.29429.82.camel@elsschot>
Importance: Normal
Cc: classpath@gnu.org
Subject: RE: GNU Classpath 0.06 created
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: qiongc@cse.unsw.edu.au
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Aug 2003 00:20:53 -0000

Hi,

Does ORP 1.10 work with this new release?  After browsing through the
mailing list archives, I cannot find why ORP is broken with the
classpath.  I really like to do some experiments on some server
benchmarks like tomcat/jboss and jbb by using ORP+classpath, and I
believe the latest classpath support these benchmarks arleady.  


Qiong






On Sat, 2003-08-23 at 18:07, Per Bothner wrote:
> You don't put releases on alpha.gnu.org - you put them on ftp.gnu.org.

> You can put pre-releases on alpha.gnu.org, but if you already have a 
> release there seems little point.

My thinking was that the 0.0x releases are actually the pre-releases
while we work towards the first real GNU Classpath 1.0 release. People
can combine these pre-releases with their own VMs like gcj, kissme,
jikesRVM, Jaos, etc already do. But as long as we don't have at least a
minimum of functionality to offer (we are hoping that 1.0 will have the
equivalent functionality as core libraries that come with some
proprietary 1.1 JDKs) and a stable/maintainable VM interface we cannot
call it a real release. We do hope that people try these pre-releases
out to create compilers and/or VM environments so they can give us
feedback what should be improved for the real 1.0 release. (And I also
don't have access to ftp.gnu.org)

Cheers,

Mark



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




From MAILER-DAEMON Tue Aug 26 03:37:19 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19rYLX-0000O6-GG
	for mharc-classpath@gnu.org; Tue, 26 Aug 2003 03:34:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19rYEb-0006j2-SO
	for classpath@gnu.org; Tue, 26 Aug 2003 03:27:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19rYCl-0004Cn-Hi
	for classpath@gnu.org; Tue, 26 Aug 2003 03:25:58 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19rYCH-0003aL-QN
	for classpath@gnu.org; Tue, 26 Aug 2003 03:24:57 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP id A37E962292
	for <classpath@gnu.org>; Tue, 26 Aug 2003 07:24:56 +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 17489-01 for <classpath@gnu.org>;
	Tue, 26 Aug 2003 07:24:53 +0000 (GMT)
Received: from reali.dnsalias.net (adsl-212-41-70-221.solnet.ch
	[212.41.70.221])
	by mail01.solnet.ch (Postfix) with ESMTP id 0D3EA62274
	for <classpath@gnu.org>; Tue, 26 Aug 2003 07:24:53 +0000 (GMT)
Received: from pcprr (unknown [193.72.144.232])
	by reali.dnsalias.net (Postfix) with SMTP id 0CDAA3D565
	for <classpath@gnu.org>; Tue, 26 Aug 2003 09:18:01 +0200 (CEST)
Message-ID: <003901c36ba3$22881210$c00a280a@elca.ch>
From: "Patrik Reali" <reali@acm.org>
To: <classpath@gnu.org>
References: <1061759846.1012.158.camel@elsschot>
Date: Tue, 26 Aug 2003 09:24:46 +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.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Virus-Scanned: by SolNet
Subject: Re: Towards GNU Classpath 0.07 and 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: Patrik Reali <reali@acm.org>
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Aug 2003 07:34:29 -0000


> 0.07. The best thing for the next snapshot is to just set a date when we
> want to release it. I propose to just set this at the last week of
> November (three months from now) since we are already making real
> progress. Look at the bug/patch database for a number of improvements to
> object streams, java.text, rmi and javax.naming that are just waiting to
> get checked in. Much thanks go to the Kaffe team that has been importing
> Classpath libraries like mad the last couple of weeks and simultaneously
> debugged them and provided patches! And apologies to anyone whose
> patches didn't make it for the 0.06 release.
> If that works out then we can just keep on doing snapshot releases every
> three months till...
>

I think that setting the dates is quite useful, at least it gives an
indication of
classpath's progress; it also helps (at least me) to plan the releases of
the Jaos
to keep in synch with classpath and be able to start the migration early to
contribute
with feedback and comments about the new code.

At the moment it is not clear [to me], whether the releases are time-driven
or
feature-driven (I guess rather time-driver), but in both cases it would be
nice
to have a paragraph on the release policy on the web-site and the list of
conditions which trigger a new release.

I admit that 0.06 took me by surprise.... and I currently do not have the
resources to
upgrade Jaos to the 0.06 in the next days.

-Patrik

----------------------------------
Patrik Reali
http://www.oberon.ethz.ch/jaos/




From MAILER-DAEMON Tue Aug 26 18:52:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19rmbF-0001xz-Ox
	for mharc-classpath@gnu.org; Tue, 26 Aug 2003 18:47:41 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19rmb6-0001uw-A8
	for classpath@gnu.org; Tue, 26 Aug 2003 18:47:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19rmaX-0001cx-VY
	for classpath@gnu.org; Tue, 26 Aug 2003 18:47:28 -0400
Received: from [18.111.0.152] (helo=catfish.lcs.mit.edu)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19rmaX-0001ac-7v
	for classpath@gnu.org; Tue, 26 Aug 2003 18:46:57 -0400
Received: from localhost (localhost [127.0.0.1])
	by catfish.lcs.mit.edu (8.12.9/8.12.8) with ESMTP id h7QMkrH1029505;
	Tue, 26 Aug 2003 18:46:53 -0400 (EDT)
Date: Tue, 26 Aug 2003 18:46:52 -0400 (EDT)
From: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>
X-Sender: cananian@catfish.lcs.mit.edu
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1061759846.1012.158.camel@elsschot>
Message-ID: <Pine.GSO.4.10.10308261841140.21598-100000@catfish.lcs.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: [Classpath] Towards GNU Classpath 0.07 and 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: "C. Scott Ananian" <cscott@cscott.net>
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Aug 2003 22:47:39 -0000

On Sun, 24 Aug 2003, Mark Wielaard wrote:

> - Up to date documentation that at a minimum provides a reference like
>   overview of what we have and what each class/method does. And clearly
>   describes what is work in progress/non-functional stubs.
>   (gjdoc really helps here. And our api doc isn't that bad. We really
>    need to write some package.html overview pages for the packages that
>    we feel agree really useful though. We also might need to hack a bit
>    on gjdoc to make do everything we want - like including pictures.)

You might want to look into sinjdoc
   http://cscott.net/Projects/GJ/#sinjdoc
as an alternative to gjdoc, especially if you are planning on following
the java 1.5 language changes.  sinjdoc is GPL'ed and supports all the
Java 1.5 syntax.  It also includes a 'real' parser, for what it's worth.
The API is close but not identical to the javadoc api, although the
command-line options are identical to javadoc's.
 --scott

[i tried to compare sinjdoc's output to gjdoc's, but the API docs linked
 to by
   http://www.gnu.org/software/classpath/docs/
 are missing.
   ftp://alpha.gnu.org/gnu/classpath/
 is missing as well, but I assume y'all already knew that.]

Iraq Khaddafi Rijndael Dictionary Castro Echelon Cheney East Timor 
IDEA atomic Moscow operation Waco, Texas Delta Force Marxist BATF 
                         ( http://cscott.net/ )




From MAILER-DAEMON Wed Aug 27 06:09:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19rxE1-0001oG-RP
	for mharc-classpath@gnu.org; Wed, 27 Aug 2003 06:08:25 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19rxDG-0000jA-Hb
	for classpath@gnu.org; Wed, 27 Aug 2003 06:07:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19rxCH-0007ch-JT
	for classpath@gnu.org; Wed, 27 Aug 2003 06:06:39 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19rxC5-0007Hj-Pv
	for classpath@gnu.org; Wed, 27 Aug 2003 06:06:25 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C36C82.DEE2E79E"
Date: Wed, 27 Aug 2003 12:06:18 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC45AB@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: New VMThread model. Last chance to comment/protest!
Thread-Index: AcNsgthKVxvDuYCITqCHtqUA2QXm3w==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
Subject: New VMThread model. Last chance to comment/protest!
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Aug 2003 10:08:03 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C36C82.DEE2E79E
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Hi,

If no one objects, I will be checking in these VMThread/Thread classes
tomorrow.

Regards,
Jeroen

------_=_NextPart_001_01C36C82.DEE2E79E
Content-Type: application/octet-stream;
	name="VMThread.java"
Content-Transfer-Encoding: base64
Content-Description: VMThread.java
Content-Disposition: attachment;
	filename="VMThread.java"

LyogVk1UaHJlYWQgLS0gVk0gaW50ZXJmYWNlIGZvciBUaHJlYWQgb2YgZXhlY3V0YWJsZSBjb2Rl
DQogICBDb3B5cmlnaHQgKEMpIDIwMDMgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0aW9uDQoNClRoaXMg
ZmlsZSBpcyBwYXJ0IG9mIEdOVSBDbGFzc3BhdGguDQoNCkdOVSBDbGFzc3BhdGggaXMgZnJlZSBz
b2Z0d2FyZTsgeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQgYW5kL29yIG1vZGlmeQ0KaXQgdW5kZXIg
dGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSBhcyBwdWJsaXNoZWQg
YnkNCnRoZSBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb247IGVpdGhlciB2ZXJzaW9uIDIsIG9yIChh
dCB5b3VyIG9wdGlvbikNCmFueSBsYXRlciB2ZXJzaW9uLg0KDQpHTlUgQ2xhc3NwYXRoIGlzIGRp
c3RyaWJ1dGVkIGluIHRoZSBob3BlIHRoYXQgaXQgd2lsbCBiZSB1c2VmdWwsIGJ1dA0KV0lUSE9V
VCBBTlkgV0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BhIGdpdmVuIG9iamVjdC4NCiAgICAgKiBUaGlzIGFsbG93cyB5b3UgdG8g
ZG8gPGNvZGU+YXNzZXJ0IFRocmVhZC5ob2xkc0xvY2sob2JqKTwvY29kZT4uDQogICAgICoNCiAg
ICAgKiBAcGFyYW0gb2JqIHRoZSBvYmplY3QgdG8gY2hlY2sNCiAgICAgKiBAcmV0dXJuIHRydWUg
aWYgdGhlIGN1cnJlbnQgdGhyZWFkIGlzIGN1cnJlbnRseSBzeW5jaHJvbml6ZWQgb24gb2JqDQog
ICAgICogQHRocm93cyBOdWxsUG9pbnRlckV4Y2VwdGlvbiBpZiBvYmogaXMgbnVsbA0KICAgICAq
Lw0KICAgIHN0YXRpYyBuYXRpdmUgYm9vbGVhbiBob2xkc0xvY2soT2JqZWN0IG9iaik7DQp9DQo=

------_=_NextPart_001_01C36C82.DEE2E79E
Content-Type: application/octet-stream;
	name="Thread.java"
Content-Transfer-Encoding: base64
Content-Description: Thread.java
Content-Disposition: attachment;
	filename="Thread.java"

LyogVGhyZWFkIC0tIGFuIGluZGVwZW5kZW50IHRocmVhZCBvZiBleGVjdXRhYmxlIGNvZGUNCiAg
IENvcHlyaWdodCAoQykgMTk5OCwgMjAwMSwgMjAwMiBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb24N
Cg0KVGhpcyBmaWxlIGlzIHBhcnQgb2YgR05VIENsYXNzcGF0aC4NCg0KR05VIENsYXNzcGF0aCBp
cyBmcmVlIHNvZnR3YXJlOyB5b3UgY2FuIHJlZGlzdHJpYnV0ZSBpdCBhbmQvb3IgbW9kaWZ5DQpp
dCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGFzIHB1
Ymxpc2hlZCBieQ0KdGhlIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbjsgZWl0aGVyIHZlcnNpb24g
Miwgb3IgKGF0IHlvdXIgb3B0aW9uKQ0KYW55IGxhdGVyIHZlcnNpb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BvYmopDQogIHsNCiAgICBy
ZXR1cm4gVk1UaHJlYWQuaG9sZHNMb2NrKG9iaik7DQogIH0NCg0KICAvKioNCiAgICogQ2xlYW4g
dXAgY29kZSwgY2FsbGVkIGJ5IFZNVGhyZWFkIHdoZW4gdGhyZWFkIGRpZXMuDQogICAqLw0KICBz
eW5jaHJvbml6ZWQgdm9pZCBkaWUoKQ0KICB7DQogICAgZ3JvdXAucmVtb3ZlVGhyZWFkKHRoaXMp
Ow0KICAgIHZtVGhyZWFkID0gbnVsbDsNCiAgfQ0KfSAvLyBjbGFzcyBUaHJlYWQNCg==

------_=_NextPart_001_01C36C82.DEE2E79E--



From MAILER-DAEMON Wed Aug 27 18:29:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19s8lx-0000ji-SK
	for mharc-classpath@gnu.org; Wed, 27 Aug 2003 18:28:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19s8lf-0000UX-SF
	for classpath@gnu.org; Wed, 27 Aug 2003 18:27:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19s8ky-0008W6-Jv
	for classpath@gnu.org; Wed, 27 Aug 2003 18:27:15 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.22)
	id 19s8fG-00061p-Dl; Wed, 27 Aug 2003 18:21:18 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19s8fD-0005rt-00; Thu, 28 Aug 2003 00:21:15 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19s8fD-0000Bx-00; Thu, 28 Aug 2003 00:21:15 +0200
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
In-Reply-To: <m37k5a4lwh.fsf@lyta.haphazard.org>
References: <1060729531.1009.83.camel@elsschot>
	<20030818060532.8518@smtp.mail.ch.easynet.net>
	<1061238888.1011.26.camel@elsschot> <m37k5a4lwh.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1061966940.667.16.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Thu, 28 Aug 2003 00:21:15 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: ChangeLog entries
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Aug 2003 22:28:05 -0000

Hi,

On Tue, 2003-08-19 at 00:54, Brian Jones wrote:
> Mark Wielaard <mark@klomp.org> writes:
> > I would certainly made this into three commits but would have just used
> > the given separate ChangeLog entries as shown since eacht entry is
> > clearly a group of changes that is related.
> 
> My typical usage is:
> 
> 1) Make vast sweeping changes
> 2) cd classpath
> 3) cvs ci .
> 
> I don't really like that this puts changes to other files in the log
> of every file... but it's the easy and simple way not to screw up.
> More helpful if cvs grok'd ChangeLog entries and fixed the log as you
> go... but oh well.  Should I adjust?

No, I think this is fine. As long as the "vast sweeping changes" are
related to each other. If they change completely different things in the
code then it makes sense to copy your classpath cvs checkout working
directory and work/test these thing separately so they can easily be
committed independently from each other.

Cheers,

Mark



From MAILER-DAEMON Wed Aug 27 18:52:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19s986-0002ea-B2
	for mharc-classpath@gnu.org; Wed, 27 Aug 2003 18:51:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19s95i-0001ZY-De
	for classpath@gnu.org; Wed, 27 Aug 2003 18:48:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19s8xI-0006CH-7n
	for classpath@gnu.org; Wed, 27 Aug 2003 18:39:57 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19s8vU-00058j-L5
	for classpath@gnu.org; Wed, 27 Aug 2003 18:38:04 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19s8fM-0005sp-00; Thu, 28 Aug 2003 00:21:24 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19s8fL-0000CF-00; Thu, 28 Aug 2003 00:21:23 +0200
From: Mark Wielaard <mark@klomp.org>
To: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
In-Reply-To: <200307280543.h6S5hok19170@sm1.hitachi-cable.co.jp>
References: <200307280543.h6S5hok19170@sm1.hitachi-cable.co.jp>
Content-Type: multipart/mixed; boundary="=-XmyHwUI5AD89G4LOK6fs"
Message-Id: <1061990296.667.49.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Thu, 28 Aug 2003 00:21:23 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: classpath@gnu.org
Subject: Re: Bug report: java.util.GregorianCalendar
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Aug 2003 22:51:04 -0000


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

Hi,

On Mon, 2003-07-28 at 07:43, Ito Kazumitsu wrote:
> Sun's API document says about java.util.Calendar.WEEK_OF_MONTH,
> "The first week of the month, as defined by getFirstDayOfWeek() and
> getMinimalDaysInFirstWeek(), has value 1."
> 
> But GNU Classpath's java.util.GregorianCalendar returns 0 for the
> first week of the month except for those special months whose
> first day is Sunday (e.g. Jun 2003).
> 
> Here is my patch:

Thanks. I finally looked into this.
I created a simple Mauve test case for this (attached), but even with
your patch it still gives a few failures.

FAIL: gnu.testlet.java.util.GregorianCalendar.first: 1-3-2000 (number 1)
got 2 but expected 1
FAIL: gnu.testlet.java.util.GregorianCalendar.first: 1-6-2000 (number 1)
got 2 but expected 1
FAIL: gnu.testlet.java.util.GregorianCalendar.first: 1-4-2004 (number 1)
got 2 but expected 1
FAIL: gnu.testlet.java.util.GregorianCalendar.first: 1-12-2004 (number 1)
got 2 but expected 1
4 of 72 tests failed

Could you see if my test or GregorianCalendar is faulty?

Thanks,

Mark

--=-XmyHwUI5AD89G4LOK6fs
Content-Disposition: inline; filename=first.java
Content-Type: text/x-java; name=first.java; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: base64

Ly8gVGFnczogSkRLMS4xDQoNCi8vIENvcHlyaWdodCAoQykgMjAwMyBGcmVlIFNvZnR3YXJlIEZv
dW5kYXRpb24sIEluYy4NCi8vIENvbnRyaWJ1dGVkIGJ5IE1hcmsgV2llbGFhcmQgKG1hcmtAa2xv
bXAub3JnKQ0KDQovLyBUaGlzIGZpbGUgaXMgcGFydCBvZiBNYXV2ZS4NCg0KLy8gTWF1dmUgaXMg
ZnJlZSBzb2Z0d2FyZTsgeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQgYW5kL29yIG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amF2YS51dGlsLio7DQoNCi8qKg0KICogQ2hlY2tzIHRoYXQg
dGhlIGZpcnN0IHdlZWsgb2YgdGhlIG1vbnRoIGlzIHdlZWsgb25lLg0KICovDQpwdWJsaWMgY2xh
c3MgZmlyc3QgaW1wbGVtZW50cyBUZXN0bGV0DQp7DQogIHB1YmxpYyB2b2lkIHRlc3QgKFRlc3RI
YXJuZXNzIGhhcm5lc3MpDQogIHsNCiAgICBmb3IgKGludCB5ZWFyID0gMjAwMDsgeWVhciA8PSAy
MDA1OyB5ZWFyKyspDQogICAgICBmb3IgKGludCBtb250aCA9IDE7IG1vbnRoIDw9IDEyOyBtb250
aCsrKQ0KCXsNCgkgIEdyZWdvcmlhbkNhbGVuZGFyIGNhbCA9IG5ldyBHcmVnb3JpYW5DYWxlbmRh
cih5ZWFyLCBtb250aCwgMSk7DQoJICBoYXJuZXNzLmNoZWNrKGNhbC5nZXQoQ2FsZW5kYXIuV0VF
S19PRl9NT05USCksIDEsDQoJCQkxICsgIi0iICsgbW9udGggKyAiLSIgKyB5ZWFyKTsNCgl9DQog
IH0NCn0NCg==

--=-XmyHwUI5AD89G4LOK6fs--



From MAILER-DAEMON Wed Aug 27 21:25:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sBXN-00080N-D6
	for mharc-classpath@gnu.org; Wed, 27 Aug 2003 21:25:21 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sBXI-0007xv-PN
	for classpath@gnu.org; Wed, 27 Aug 2003 21:25:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sBXF-0007we-8h
	for classpath@gnu.org; Wed, 27 Aug 2003 21:25:13 -0400
Received: from [219.124.60.37] (helo=hc-gw2.hitachi-cable.co.jp)
	by monty-python.gnu.org with smtp (Exim 4.22) id 19sBX5-0007rU-FH
	for classpath@gnu.org; Wed, 27 Aug 2003 21:25:03 -0400
Received: (qmail 30882 invoked from network); 28 Aug 2003 01:24:51 -0000
Received: from unknown (HELO sm1.hitachi-cable.co.jp) (172.31.2.40)
	by hc-gw2.hitachi-cable.co.jp with SMTP; 28 Aug 2003 01:24:51 -0000
Received: from tm.hitachi-cable.co.jp (localhost [127.0.0.1])
	by sm1.hitachi-cable.co.jp (8.11.6/8.11.6) with SMTP id h7S1Kvf15488
	for <classpath@gnu.org>; Thu, 28 Aug 2003 10:21:00 +0900
Date: Thu, 28 Aug 2003 10:21:00 +0900
Message-Id: <200308280121.h7S1Kvf15488@sm1.hitachi-cable.co.jp>
Received: (qmail 23810 invoked from network); 28 Aug 2003 01:24:47 -0000
Received: from hjavd.htk.hitachi-cable.co.jp (HELO FLR-1DL9-011844)
	(172.18.51.29) by 172.31.3.4 with SMTP; 28 Aug 2003 01:24:47 -0000
X-Mailer: cmail 2.60 on GNU Emacs 20.7.1 / Mule 4.1 (AOI)
References: <200307280543.h6S5hok19170@sm1.hitachi-cable.co.jp>
	<1061990296.667.49.camel@localhost>
From: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
To: mark@klomp.org
In-reply-to: Mark Wielaard's message of "Thu,
	28 Aug 2003 00:21:23 +0200"	<1061990296.667.49.camel@localhost>
User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory?=
	=?ISO-8859-4?Q?=F2mae?=) APEL/10.3 Emacs/20.7 (i386-*-windows98.2222)
	MULE/4.1 (AOI) Meadow/1.14 (AWSAKA:62)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Bug report: java.util.GregorianCalendar
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Aug 2003 01:25:19 -0000


In message "Re: Bug report: java.util.GregorianCalendar"
    on 03/08/28, Mark Wielaard <mark@klomp.org> writes:

> Thanks. I finally looked into this.
> I created a simple Mauve test case for this (attached), but even with
> your patch it still gives a few failures.
> 
> FAIL: gnu.testlet.java.util.GregorianCalendar.first: 1-3-2000 (number 1)
> got 2 but expected 1
> FAIL: gnu.testlet.java.util.GregorianCalendar.first: 1-6-2000 (number 1)
> got 2 but expected 1
> FAIL: gnu.testlet.java.util.GregorianCalendar.first: 1-4-2004 (number 1)
> got 2 but expected 1
> FAIL: gnu.testlet.java.util.GregorianCalendar.first: 1-12-2004 (number 1)
> got 2 but expected 1
> 4 of 72 tests failed
> 
> Could you see if my test or GregorianCalendar is faulty?

Thank you for your attention.

First,  the number of month is 0-based.  So

>       for (int month = 1; month <= 12; month++)

should be

       for (int month = 0; month < 12; month++)

And I have found another bug shown by the attached program.
This bug seems to have something to do with leap yeas.
If this bug is fixed, my patch about the WEEK_OF_MONTH will
work.

$ cat TestGregorianCalendar.java
import java.util.*;
public class TestGregorianCalendar {
  public static void main(String[] args) {
    for (int year = 2000; year <= 2005; year++) {
      for (int month = 0; month < 12; month++) {
        GregorianCalendar cal = new GregorianCalendar(year, month, 1);
        if (cal.get(Calendar.DAY_OF_MONTH) != 1) {
          System.out.println (
            cal.get(Calendar.YEAR) + "-" +
            (cal.get(Calendar.MONTH) + 1) + "-" +
            cal.get(Calendar.DAY_OF_MONTH));
        }
      }
    }
  }
}
$ java  TestGregorianCalendar
2000-3-2
2000-4-2
2000-5-2
2000-6-2
2000-7-2
2000-8-2
2000-9-2
2000-10-2
2000-11-2
2000-12-2
2004-3-2
2004-4-2
2004-5-2
2004-6-2
2004-7-2
2004-8-2
2004-9-2
2004-10-2
2004-11-2
2004-12-2



From MAILER-DAEMON Thu Aug 28 12:06:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sPHm-0005IL-AU
	for mharc-classpath@gnu.org; Thu, 28 Aug 2003 12:06:10 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sPG6-00045M-8i
	for classpath@gnu.org; Thu, 28 Aug 2003 12:04:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sPFk-0003s9-WE
	for classpath@gnu.org; Thu, 28 Aug 2003 12:04:06 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19sPCi-0002RH-3X
	for classpath@gnu.org; Thu, 28 Aug 2003 12:00:56 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.9/8.12.9) with ESMTP id h7SG0S8g006176;
	Fri, 29 Aug 2003 02:00:28 +1000 (EST)
Message-Id: <200308281600.h7SG0S8g006176@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,
	28 Aug 2003 00:21:23 +0200." <1061990296.667.49.camel@localhost> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 29 Aug 2003 02:00:47 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang)
Cc: classpath@gnu.org, Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>,
	crawley@piglet.dstc.edu.au
Subject: Re: Bug report: java.util.GregorianCalendar 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Aug 2003 16:06:07 -0000


Mark,

For the record, your 'GregorianCalendar.first' testcase runs without
any failures under Sun JDK 1.4.1.

This suggests to me that any failures you are seeing are not the 
fault of your testcase!

-- Steve






From MAILER-DAEMON Thu Aug 28 12:31:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sPXo-0005v6-Cx
	for mharc-classpath@gnu.org; Thu, 28 Aug 2003 12:22:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sPX0-0005Gv-Ru
	for classpath@gnu.org; Thu, 28 Aug 2003 12:21:54 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sPUn-0003mi-3c
	for classpath@gnu.org; Thu, 28 Aug 2003 12:19:40 -0400
Received: from [80.91.224.249] (helo=main.gmane.org)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19sPPY-00011X-Qx
	for classpath@gnu.org; Thu, 28 Aug 2003 12:14:12 -0400
Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian))
	id 19sPQG-0003IO-00
	for <classpath@gnu.org>; Thu, 28 Aug 2003 18:14:56 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: classpath@gnu.org
Received: from sea.gmane.org ([80.91.224.252])
	by main.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 19sPQE-0003IA-00 for <gmane-comp-gcc-java-devel@m.gmane.org>;
	Thu, 28 Aug 2003 18:14:54 +0200
Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian))
	id 19sPPW-0003mb-00 for <gmane-comp-gcc-java-devel@m.gmane.org>;
	Thu, 28 Aug 2003 18:14:10 +0200
From: graydon hoare <graydon@redhat.com>
Date: 28 Aug 2003 12:14:12 -0400
Lines: 42
Message-ID: <87wucx92uj.fsf@dub.venge.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@sea.gmane.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Sender: news <news@sea.gmane.org>
Cc: java@gcc.gnu.org
Subject: status of java2d-on-cairo
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Aug 2003 16:22:35 -0000

hi,

I wanted to let people know about the status of my native java2d work.
this is visual work and a picture tells at least 1024 words:

http://people.redhat.com/graydon/native-java2d-aug28-2003.png

that is not using any sun code, it's all free software. now some
qualifications:

- most of the rendering there is being done in GDK and cairo, a C
  library (http://www.cairographics.org), and not in java. subsequently 
  the structure of the work so far is not as open to tinkering on
  the java-side of the JNI as the java2d APIs might imply. 

- the text API of cairo is not complete, so there is no text rendering
  support yet. the dark gray box in that screenshot is the bounding
  box for some glyph-converted text (via pango), but I cannot render
  it. when rendering is available it will be through xft (or other
  low level backends, such as win32 GDI, as needed)

- several of the java2d drawing functions are a bit ambiguous in
  specification, so the way they work might not be what you expect.
  feel free to correct.

- several drawing functions are incomplete, either in my code or in
  cairo or both. many overloads in the Graphics2D object are missing,
  and a few cairo APIs are unfinished or missing. both are free
  software though, and can be fleshed out.

- the draw cycle supports conventional AWT offscreen Image-based
  double buffering, but sometimes this appears to play less than
  perfectly with the GDK event queue, and gets slightly jerky in its
  response to update requests. I don't know exactly how this is
  happening yet.

in total there's about 140k of code in 9 new files, plus a handful of
little patches around and about. I can post it to the list, or break
it up into lots of separate little patches, or post it to a URL for
reading.. whatever is preferred. comments?

-graydon




From MAILER-DAEMON Thu Aug 28 13:08:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sQFf-000235-49
	for mharc-classpath@gnu.org; Thu, 28 Aug 2003 13:08:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sQEP-0000Lx-IE
	for classpath@gnu.org; Thu, 28 Aug 2003 13:06:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sQAF-0005Kj-SB
	for classpath@gnu.org; Thu, 28 Aug 2003 13:02:29 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19sQ77-0003W0-Il
	for classpath@gnu.org; Thu, 28 Aug 2003 12:59:13 -0400
Received: from fleche.redhat.com (tf0113.peakpeak.com [204.144.239.113])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id KAA32067;
	Thu, 28 Aug 2003 10:59:05 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id A35394F87A0; Thu, 28 Aug 2003 10:53:00 -0600 (MDT)
To: graydon hoare <graydon@redhat.com>
References: <87wucx92uj.fsf@dub.venge.net>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: I'm in LOVE with DON KNOTTS!!
Date: 28 Aug 2003 10:52:59 -0600
In-Reply-To: <87wucx92uj.fsf@dub.venge.net>
Message-ID: <87n0dtsp04.fsf@fleche.redhat.com>
Lines: 38
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, java@gcc.gnu.org
Subject: Re: status of java2d-on-cairo
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Aug 2003 17:08:00 -0000

>>>>> "graydon" == graydon hoare <graydon@redhat.com> writes:

graydon> I wanted to let people know about the status of my native java2d work.
graydon> this is visual work and a picture tells at least 1024 words:
graydon> http://people.redhat.com/graydon/native-java2d-aug28-2003.png

Very cool!

graydon> subsequently the structure of the work so far is not as open
graydon> to tinkering on the java-side of the JNI as the java2d APIs
graydon> might imply.

I assume this is a temporary problem, and not a permanent one?

graydon> - several of the java2d drawing functions are a bit ambiguous in
graydon>   specification, so the way they work might not be what you expect.
graydon>   feel free to correct.

For cases like this we usually write a test program to see what Sun
does.

graydon> in total there's about 140k of code in 9 new files, plus a handful of
graydon> little patches around and about. I can post it to the list, or break
graydon> it up into lots of separate little patches, or post it to a URL for
graydon> reading.. whatever is preferred. comments?

Our preferred route is smaller self-contained patches.  Sometimes that
isn't possible, or desirable -- sometimes it makes more sense to have
one big patch.  It's your call on that sort of thing; anything
defensible is fine :-)

Post to java-patches.  If there's something likely to be
controversial, let's talk about it sans patch on the classpath list.
Mostly I'm wondering how this interacts/interferes with other java2d
implementations, other platforms, etc.  (I'm sure this was already
covered and I forgot the answer.  Blah.)

Tom



From MAILER-DAEMON Thu Aug 28 13:50:06 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sQpR-00066U-Jn
	for mharc-classpath@gnu.org; Thu, 28 Aug 2003 13:45:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sQow-0005ts-6F
	for classpath@gnu.org; Thu, 28 Aug 2003 13:44:30 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sQgQ-0003ER-23
	for classpath@gnu.org; Thu, 28 Aug 2003 13:35:43 -0400
Received: from [66.187.233.200] (helo=lacrosse.corp.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19sQfb-0002vm-R7
	for classpath@gnu.org; Thu, 28 Aug 2003 13:34:52 -0400
Received: from dub.venge.net (sebastian-int.corp.redhat.com [172.16.52.221])
	by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id h7SHYjK06782; 
	Thu, 28 Aug 2003 13:34:45 -0400
Sender: graydon@dub.venge.net
To: tromey@redhat.com
References: <87wucx92uj.fsf@dub.venge.net> <87n0dtsp04.fsf@fleche.redhat.com>
From: graydon hoare <graydon@redhat.com>
Date: 28 Aug 2003 13:34:55 -0400
In-Reply-To: <87n0dtsp04.fsf@fleche.redhat.com>
Message-ID: <87fzjl8z40.fsf@dub.venge.net>
Lines: 74
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, java@gcc.gnu.org
Subject: Re: status of java2d-on-cairo
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Aug 2003 17:44:59 -0000

Tom Tromey <tromey@redhat.com> writes:

> graydon> subsequently the structure of the work so far is not as open
> graydon> to tinkering on the java-side of the JNI as the java2d APIs
> graydon> might imply.
> 
> I assume this is a temporary problem, and not a permanent one?

I think the issues are "mostly" temporary, yes, but it will be a long
and tiring road to remove every conceivable limitation. it's a big
body of code with a lot of weird ways you *could* use it. 

I'm expecting to eventually provide glyph -> path, path -> stroked
outline, path geometry feedback, custom composite operators, etc. back
up at the java level. all via feedback from cairo. but these are not
present yet, and occasionally there is something implied about the
inner workings which is not obviously essential and might be an
implementation option. it's sometimes hard to tell.

for example, say I support Composite objects, so that even in the
general case I can accept a user-written Composite and do a pixel
read-composite-write loop. I intend to do that much, because it's
needed even for compatibility with bitwise xor compositing, which the
old Graphics object supported. 

but the Graphics2D API has both a get and set method for the "current
Composite". the implication is that a Composite object is being used
to do composite operations in our GdkGraphics2D. But *most* of the
time, I have no intention of shipping pixels back and forth to java, I
want cairo to do a fast composite, within the display server if
possible, using X RENDER packets.

so suppose when asked for the GdkGraphics2D's current Composite
object, I return a GdkComposite which just stores a description of the
current cairo composite mode (say: an integer), so that it can be
stored and set again in the future. if someone takes that GdkComposite
and provides it to a sun Graphics2D, or some other function which uses
a Composite, it will not perform the composite mode in that foreign
context. it's just a memento for GdkGraphics2D. if need be, we could
write a java implementation of the 12 porter/duff rules for all the
various color models, but my current plan is to not do so. cairo
already knows how.

similarly, it is not clear when it is necessary to work with every
possible colorspace or every possible pixel packing mode, nor is it
clear which sort of precision a transformation between spaces or modes
should occur with. it is also unclear how precise the approximate
geometry methods need to be -- several are documented to be
approximate -- so there is a chance of providing something which
disappoints a java2d-using application.

> Our preferred route is smaller self-contained patches.  Sometimes that
> isn't possible, or desirable -- sometimes it makes more sense to have
> one big patch.  It's your call on that sort of thing; anything
> defensible is fine :-)

ok. mostly this is new code, which I'm only intending to commit for
storage, not activate yet.

> Post to java-patches.  If there's something likely to be
> controversial, let's talk about it sans patch on the classpath list.
> Mostly I'm wondering how this interacts/interferes with other java2d
> implementations, other platforms, etc.  (I'm sure this was already
> covered and I forgot the answer.  Blah.)

I think it will interoperate not-very-well with other java2d
implementations. it shouldn't *clobber* them -- it's confined to the
gnu.java.awt.peer.gtk package -- but similarly I doubt it will be able
to exchange a great many low level objects with them. there's going to
be a cutoff point where the object is represented by a C/GTK/cairo
amalgamation, and it just won't work in another rendering
pipeline. see above elaboration.

-graydon




From MAILER-DAEMON Thu Aug 28 14:46:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sRWm-0001B3-Om
	for mharc-classpath@gnu.org; Thu, 28 Aug 2003 14:29:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sRRP-0007EH-SX
	for classpath@gnu.org; Thu, 28 Aug 2003 14:24:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sRM3-0005nt-Jr
	for classpath@gnu.org; Thu, 28 Aug 2003 14:18:44 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19sRKs-0005Wq-3X
	for classpath@gnu.org; Thu, 28 Aug 2003 14:17:30 -0400
Received: from fleche.redhat.com (tf0113.peakpeak.com [204.144.239.113])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id MAA24566;
	Thu, 28 Aug 2003 12:17:24 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id C3B524F87A0; Thu, 28 Aug 2003 12:11:21 -0600 (MDT)
To: Mark Wielaard <mark@klomp.org>
References: <200307280543.h6S5hok19170@sm1.hitachi-cable.co.jp>
	<1061990296.667.49.camel@localhost>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Yow!  I'm out of work...I could go into shock absorbers...or SCUBA
	GEAR!!
Date: 28 Aug 2003 12:11:21 -0600
In-Reply-To: <1061990296.667.49.camel@localhost>
Message-ID: <873cflsldi.fsf@fleche.redhat.com>
Lines: 7
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, Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
Subject: Re: Bug report: java.util.GregorianCalendar
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Aug 2003 18:29:46 -0000

BTW, if you're interested in fixing GregorianCalendar, there are a
couple of reports against libgcj for it:

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

Tom



From MAILER-DAEMON Thu Aug 28 16:16:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sTAK-00027z-5f
	for mharc-classpath@gnu.org; Thu, 28 Aug 2003 16:14:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sT8u-0001Ow-BE
	for classpath@gnu.org; Thu, 28 Aug 2003 16:13:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sT83-0000fi-5d
	for classpath@gnu.org; Thu, 28 Aug 2003 16:12:29 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19sT7V-0007rO-G8
	for classpath@gnu.org; Thu, 28 Aug 2003 16:11:49 -0400
Received: from [213.86.99.234] (helo=phoenix.infradead.org)
	by mx20.gnu.org with esmtp (Exim 4.22) id 19sT6y-0000rs-Eq
	for classpath@gnu.org; Thu, 28 Aug 2003 16:11:16 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=localhost)
	by phoenix.infradead.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.22) id 19sSi2-0002Ux-Op; Thu, 28 Aug 2003 20:45:30 +0100
Date: Thu, 28 Aug 2003 20:45:25 +0100 (BST)
From: James Simmons <jsimmons@infradead.org>
To: classpath@gnu.org,  <kaffe@kaffe.org>
In-Reply-To: <87wucx92uj.fsf@dub.venge.net>
Message-ID: <Pine.LNX.4.44.0308281802060.6078-100000@phoenix.infradead.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: 
Subject: Kaffe/GNU Classpath AWT support
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Aug 2003 20:14:42 -0000


I have managed to get the GNU Classpath AWT build under kaffe. The only 
issue I ran into was kaffe uses profiles to define which classes to build. 
The problem is the Classpth AWT code requires code from java beans and 
java.accessibilty. So the profile default breaks. The profile allatonce 
works with some changes. So I have something working. I'm working in the 
native code but I was wondering if any work has been done for a xlib peer.
It would save me some time if this is the case :-)




From MAILER-DAEMON Thu Aug 28 19:05:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sVpQ-0008Ow-IN
	for mharc-classpath@gnu.org; Thu, 28 Aug 2003 19:05:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sVnx-00076D-8W
	for classpath@gnu.org; Thu, 28 Aug 2003 19:03:49 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sVlw-0005cD-Uz
	for classpath@gnu.org; Thu, 28 Aug 2003 19:01:47 -0400
Received: from [24.93.67.82] (helo=ms-smtp-01.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19sVkV-000587-9s
	for classpath@gnu.org; Thu, 28 Aug 2003 19:00:15 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h7SMqm4P011542; Thu, 28 Aug 2003 18:53:13 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 67CCDBE6B7; Thu, 28 Aug 2003 18:59:44 -0400 (EDT)
Sender: cbj@haphazard.org
To: James Simmons <jsimmons@infradead.org>
References: <Pine.LNX.4.44.0308281802060.6078-100000@phoenix.infradead.org>
From: Brian Jones <cbj@gnu.org>
Date: 28 Aug 2003 18:59:44 -0400
In-Reply-To: <Pine.LNX.4.44.0308281802060.6078-100000@phoenix.infradead.org>
Message-ID: <m3u1811j8f.fsf@lyta.haphazard.org>
Lines: 21
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: Kaffe/GNU Classpath AWT support
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Aug 2003 23:05:18 -0000

James Simmons <jsimmons@infradead.org> writes:

> I have managed to get the GNU Classpath AWT build under kaffe. The only 
> issue I ran into was kaffe uses profiles to define which classes to build. 
> The problem is the Classpth AWT code requires code from java beans and 
> java.accessibilty. So the profile default breaks. The profile allatonce 
> works with some changes. So I have something working. I'm working in the 
> native code but I was wondering if any work has been done for a xlib peer.
> It would save me some time if this is the case :-)

I think Kaffe has an AWT that has some xlib peers already.  GCJ
contains some xlib peers for Classpath's AWT.  Someone was recently
working to get the Kaffe xlib peers and all the Kaffe AWT code working
under GCJ.

The variations on AWT and Java2d are starting to require a huge
matrix.  It would be nice to standardize a peer interface.

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



From MAILER-DAEMON Thu Aug 28 19:16:58 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sW0N-0003j8-Ug
	for mharc-classpath@gnu.org; Thu, 28 Aug 2003 19:16:39 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sW05-0003PW-7w
	for classpath@gnu.org; Thu, 28 Aug 2003 19:16:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sVzB-0002IA-Tl
	for classpath@gnu.org; Thu, 28 Aug 2003 19:15:28 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19sVyY-0001KF-HN
	for classpath@gnu.org; Thu, 28 Aug 2003 19:14:46 -0400
Received: (qmail 13557 invoked by uid 504); 29 Aug 2003 01:14:44 +0200
Received: from arnaud.vandyck@ulg.ac.be by serv26.segi.ulg.ac.be by uid 501
	with qmail-scanner-1.16 
	(clamscan: 0.60. spamassassin: 2.55.  Clear:. 
	Processed in 0.512305 secs); 28 Aug 2003 23:14:44 -0000
Received: from unknown (HELO localhost) ([139.165.201.72])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 29 Aug 2003 01:14:43 +0200
Date: Fri, 29 Aug 2003 01:14:42 +0200 (CEST)
Message-Id: <20030829.011442.02498287.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <E19s90T-0001Xn-SZ@subversions.gnu.org>
References: <E19s90T-0001Xn-SZ@subversions.gnu.org>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.57 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: Re: [patch #1859] [Patch #1859] java.sql.Time#setTime(long)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Aug 2003 23:16:37 -0000

I think I'll stop committing patches late at night! ;)

On Wed, 27 Aug 2003 18:43:13 -0400
noreply@savannah.gnu.org wrote:

> Patch #1859 has been updated. 
> 
> Project: 
> Category: None
> Status: Closed
> Summary: java.sql.Time#setTime(long)
> 
> Follow-Ups:
> 
> Date: Thu 08/28/03 at 00:43
> By: mark
> 
> Comment:
> If the only thing we have todo is just call super.setTime() with the same argument then this is unnecessary.

> 

> I don't know why japitools is listing this since it isn't a real API difference, just an implementation issue.

> 
> -------------------------------------------------------
> 
> -------------------------------------------------------
> For more info, visit:
> 
> http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1859&group_id=85
> 
> _______________________________________________
>   Message sent via/by Savannah
>   http://savannah.gnu.org/
> 
> 


-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.



From MAILER-DAEMON Fri Aug 29 03:10:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sdOm-0000FC-FD
	for mharc-classpath@gnu.org; Fri, 29 Aug 2003 03:10:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sdOj-0000Dd-3C
	for classpath@gnu.org; Fri, 29 Aug 2003 03:10:17 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sdHm-0004ZM-OJ
	for classpath@gnu.org; Fri, 29 Aug 2003 03:03:11 -0400
Received: from [219.124.60.37] (helo=hc-gw2.hitachi-cable.co.jp)
	by monty-python.gnu.org with smtp (Exim 4.22) id 19sdH0-00041J-Q2
	for classpath@gnu.org; Fri, 29 Aug 2003 03:02:19 -0400
Received: (qmail 13513 invoked from network); 29 Aug 2003 07:02:08 -0000
Received: from unknown (HELO sm1.hitachi-cable.co.jp) (172.31.2.40)
	by hc-gw2.hitachi-cable.co.jp with SMTP; 29 Aug 2003 07:02:08 -0000
Received: from tm.hitachi-cable.co.jp (localhost [127.0.0.1])
	by sm1.hitachi-cable.co.jp (8.11.6/8.11.6) with SMTP id h7T6wba04478
	for <classpath@gnu.org>; Fri, 29 Aug 2003 15:58:38 +0900
Date: Fri, 29 Aug 2003 15:58:38 +0900
Message-Id: <200308290658.h7T6wba04478@sm1.hitachi-cable.co.jp>
Received: (qmail 2743 invoked from network); 29 Aug 2003 07:02:06 -0000
Received: from hjavd.htk.hitachi-cable.co.jp (HELO FLR-1DL9-011844)
	(172.18.51.29) by 172.31.3.4 with SMTP; 29 Aug 2003 07:02:06 -0000
X-Mailer: cmail 2.60 on GNU Emacs 20.7.1 / Mule 4.1 (AOI)
References: <200307280543.h6S5hok19170@sm1.hitachi-cable.co.jp>
	<1061990296.667.49.camel@localhost>
	<200308280121.h7S1Kvf15488@sm1.hitachi-cable.co.jp>
From: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
To: mark@klomp.org, classpath@gnu.org
In-reply-to: Ito Kazumitsu's message of "Thu, 28 Aug 2003 10:21:00
	+0900"	<200308280121.h7S1Kvf15488@sm1.hitachi-cable.co.jp>
User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory?=
	=?ISO-8859-4?Q?=F2mae?=) APEL/10.3 Emacs/20.7 (i386-*-windows98.2222)
	MULE/4.1 (AOI) Meadow/1.14 (AWSAKA:62)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Cc: 
Subject: Re: Bug report: java.util.GregorianCalendar
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Aug 2003 07:10:18 -0000


In message "Re: Bug report: java.util.GregorianCalendar"
    on 03/08/28, Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp> writes:

> And I have found another bug shown by the attached program.
> This bug seems to have something to do with leap yeas.
> If this bug is fixed, my patch about the WEEK_OF_MONTH will
> work.

This is my patch for this bug.

--- java/util/GregorianCalendar.java.orig	Thu Aug 14 13:32:06 2003
+++ java/util/GregorianCalendar.java	Fri Aug 29 15:56:51 2003
@@ -264,8 +264,10 @@
 	//
 	// The additional leap year factor accounts for the fact that
 	// a leap day is not seen on Jan 1 of the leap year.
+        // And on and after the leap day, the leap day has already been
+        // included in dayOfYear. 
 	int gregOffset = (year / 400) - (year / 100) + 2;
-	if (isLeapYear (year, true) && dayOfYear < 31 + 29)
+	if (isLeapYear (year, true))
 	  --gregOffset;
 	time += gregOffset * (24 * 60 * 60 * 1000L);
       }
@@ -609,7 +611,7 @@
     // which day of the week are we (0..6), relative to getFirstDayOfWeek
     int relativeWeekday = (7 + fields[DAY_OF_WEEK] - getFirstDayOfWeek()) % 7;
 
-    fields[WEEK_OF_MONTH] = (fields[DAY_OF_MONTH] - relativeWeekday + 6) / 7;
+    fields[WEEK_OF_MONTH] = (fields[DAY_OF_MONTH] - relativeWeekday + 12) / 7;
 
     int weekOfYear = (fields[DAY_OF_YEAR] - relativeWeekday + 6) / 7;
 



From MAILER-DAEMON Fri Aug 29 07:47:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19shcI-0007LQ-Vc
	for mharc-classpath@gnu.org; Fri, 29 Aug 2003 07:40:34 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19sf7W-0005cz-Co
	for classpath@gnu.org; Fri, 29 Aug 2003 05:00:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sf54-0004HX-TY
	for classpath@gnu.org; Fri, 29 Aug 2003 04:58:08 -0400
Received: from [134.106.1.7] (helo=arbi.Informatik.Uni-Oldenburg.DE)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19sf4g-0004Cq-4x
	for classpath@gnu.org; Fri, 29 Aug 2003 04:57:42 -0400
Received: from orwell.Informatik.Uni-Oldenburg.DE ([134.106.29.90])
	by arbi.Informatik.Uni-Oldenburg.DE (Exim 3.16)
	id 19sf4U-0007HF-00; Fri, 29 Aug 2003 10:57:30 +0200
Received: from marge.Informatik.Uni-Oldenburg.DE ([134.106.29.40])
	by orwell.Informatik.Uni-Oldenburg.DE (Exim 3.36)
	id 19sf4O-0000QV-00; Fri, 29 Aug 2003 10:57:24 +0200
From: "Jochen Hoenicke" <Hoenicke@Informatik.Uni-Oldenburg.DE>
To: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>,
 classpath@gnu.org
Date: Fri, 29 Aug 2003 10:56:59 +0200
User-Agent: KMail/1.5.3
References: <200307280543.h6S5hok19170@sm1.hitachi-cable.co.jp>
	<200308280121.h7S1Kvf15488@sm1.hitachi-cable.co.jp>
	<200308290658.h7T6wba04478@sm1.hitachi-cable.co.jp>
In-Reply-To: <200308290658.h7T6wba04478@sm1.hitachi-cable.co.jp>
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg=pgp-sha1; boundary="Boundary-02=_yVxT/6Vuztamnhs";
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200308291057.22969.hoenicke@informatik.uni-oldenburg.de>
X-Mailman-Approved-At: Fri, 29 Aug 2003 07:40:20 -0400
Cc: 
Subject: Re: Bug report: java.util.GregorianCalendar
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Aug 2003 09:02:20 -0000


--Boundary-02=_yVxT/6Vuztamnhs
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: signed data
Content-Disposition: inline

On Friday 29 August 2003 08:58, Ito Kazumitsu wrote:
>=20
> This is my patch for this bug.
>=20
> --- java/util/GregorianCalendar.java.orig	Thu Aug 14 13:32:06 2003
> +++ java/util/GregorianCalendar.java	Fri Aug 29 15:56:51 2003
> @@ -264,8 +264,10 @@
>  	//
>  	// The additional leap year factor accounts for the fact that
>  	// a leap day is not seen on Jan 1 of the leap year.
> +        // And on and after the leap day, the leap day has already been
> +        // included in dayOfYear.=20
>  	int gregOffset =3D (year / 400) - (year / 100) + 2;
> -	if (isLeapYear (year, true) && dayOfYear < 31 + 29)
> +	if (isLeapYear (year, true))
>  	  --gregOffset;

Although I authored this code, I haven't followed the patches for
GregorianCalendar lately.  I think you are right that the dayOfYear
doesn't matter here, but this should also apply for the julian case
i.e. outside of the if(gregorian).

Also there is almost the same code in getLinearDay that needs
fixing too. This function is used when transforming a linear day
in day/month/year and it is known whether it is gregorian or julian.

A trickier change would subtract year by one at the beginning of
the function, replace 1970 by 1969 and get rid of the isLeapYear
case.  This saves the extra case distinction and isLeapYear call
(and makes the code even less understandable).

  Jochen

=2D-=20
Jochen Hoenicke, University of Oldenburg, 26111 Oldenburg, Germany
Email: hoenicke@informatik.uni-oldenburg.de  Tel: +49 441 798 3124

--Boundary-02=_yVxT/6Vuztamnhs
Content-Type: application/pgp-signature
Content-Description: signature

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

iD8DBQA/TxVysTEv/cIwu2QRAiKJAJ99h9JhgAbEOyMaYTCOOV1JCRFVvACfVGa6
NFHXlS6YOnIYdKxMFDz7fhc=
=wU+E
-----END PGP SIGNATURE-----

--Boundary-02=_yVxT/6Vuztamnhs--




From MAILER-DAEMON Fri Aug 29 09:10:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19sj0s-0004s5-M3
	for mharc-classpath@gnu.org; Fri, 29 Aug 2003 09:10:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19siyF-0003uV-PN
	for classpath@gnu.org; Fri, 29 Aug 2003 09:07:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19sixy-0003lH-Vf
	for classpath@gnu.org; Fri, 29 Aug 2003 09:07:03 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19siwn-0003L1-AX
	for classpath@gnu.org; Fri, 29 Aug 2003 09:05:49 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 29 Aug 2003 15:04:42 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC45C6@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: New VMThread model. Last chance to comment/protest!
Thread-Index: AcNsgthKVxvDuYCITqCHtqUA2QXm3wBqzZQw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
Subject: RE: New VMThread model. Last chance to comment/protest!
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Aug 2003 13:10:00 -0000

I wrote:
> If no one objects, I will be checking in these VMThread/Thread classes
> tomorrow.

I checked in the new Thread/VMThread classes.

Many thanks to David Holmes for his extremely helpful comments and
suggestions.

Regards,
Jeroen



From MAILER-DAEMON Sun Aug 31 15:30:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19tXuJ-0004KN-Tt
	for mharc-classpath@gnu.org; Sun, 31 Aug 2003 15:30:39 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19tQXf-0004kC-Ht
	for classpath@gnu.org; Sun, 31 Aug 2003 07:38:47 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19tQXE-0004Zo-Ef
	for classpath@gnu.org; Sun, 31 Aug 2003 07:38:21 -0400
Received: from [66.35.250.166] (helo=mail.freshmeat.net)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19tQVE-0003oF-Ng
	for classpath@gnu.org; Sun, 31 Aug 2003 07:36:16 -0400
Received: from localhost.localdomain (localhost [127.0.0.1])
	by localhost.freshmeat.net (Postfix) with ESMTP
	id 6A5ADCBB1A; Sun, 31 Aug 2003 04:36:11 -0700 (PDT)
Received: by mail.freshmeat.net (Postfix, from userid 33)
	id 904C1CC1F8; Sun, 31 Aug 2003 04:36:10 -0700 (PDT)
From: Patrick Lenz via RT <broken-links@freshmeat.net>
To: 'Mark Wielaard' <mark@klomp.org>,
	'GNU Classpath Hackers' <classpath@gnu.org>
X-Request-ID: 31072
X-RT-Loop-Prevention: fm
X-Sender: broken-links@freshmeat.net
X-Managed-By: Request Tracker 1.0.7 (http://www.fsck.com/projects/rt)
Precedence: bulk
Message-Id: <20030831113610.904C1CC1F8@mail.freshmeat.net>
Date: Sun, 31 Aug 2003 04:36:10 -0700 (PDT)
X-Mailman-Approved-At: Sun, 31 Aug 2003 15:30:38 -0400
Cc: 
Subject: [fm #31072] (broken-links) Broken links - GNU Classpath,
	Default branch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Reply-To: Patrick Lenz via RT <broken-links@freshmeat.net>
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Aug 2003 11:39:56 -0000

Our automated link checking system repeatedly reported the following links of
your project at freshmeat.net as being inaccessible:

- ftp://alpha.gnu.org/pub/gnu/classpath/classpath-0.05.tar.gz

Please get back to us with either updated links or an estimate of how long your
project will be unavailable. Alternatively you can update your project links
through the 'update branch' function from the branch menu or by following
this URL:

    http://freshmeat.net/update-branch/3525/

In the meantime, your project has been hidden from public view. If you do not
respond within 7 days, we will be forced to remove your project from
our database.

Sincerely,
Patrick Lenz 
<broken-links@freshmeat.net>


--- Headers Follow ---

>From nobody@freshmeat.net  Sun Aug 31 04:36:09 2003
Return-Path: <nobody@freshmeat.net>
Delivered-To: broken-links@freshmeat.net
Received: from localhost.localdomain (localhost [127.0.0.1])
	by localhost.freshmeat.net (Postfix) with ESMTP id AFDB9CBB1A
	for <broken-links@freshmeat.net>; Sun, 31 Aug 2003 04:36:09 -0700 (PDT)
Received: from freshmeat.net (www1.freshmeat.net [10.2.165.1])
	by mail.freshmeat.net (Postfix) with ESMTP id 5C252CBB1A
	for <broken-links@freshmeat.net>; Sun, 31 Aug 2003 04:36:09 -0700 (PDT)
Received: by freshmeat.net (Postfix, from userid 65534)
	id 3A138110054; Sun, 31 Aug 2003 04:36:09 -0700 (PDT)
To: broken-links@freshmeat.net
Subject: [fm #31072] (broken-links) Broken links - GNU Classpath, Default branch
From: Patrick Lenz <broken-links@freshmeat.net>
Message-Id: <20030831113609.3A138110054@freshmeat.net>
Date: Sun, 31 Aug 2003 04:36:09 -0700 (PDT)

-------------------------------------------- Managed by Request Tracker



From MAILER-DAEMON Sun Aug 31 15:30:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19tXuK-0004KX-C6
	for mharc-classpath@gnu.org; Sun, 31 Aug 2003 15:30:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19tXhK-0007Dz-Qv
	for classpath@gnu.org; Sun, 31 Aug 2003 15:17:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19tXgL-0006hW-U7
	for classpath@gnu.org; Sun, 31 Aug 2003 15:16:14 -0400
Received: from [66.35.250.166] (helo=mail.freshmeat.net)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19tXev-000696-VA
	for classpath@gnu.org; Sun, 31 Aug 2003 15:14:46 -0400
Received: from localhost.localdomain (localhost [127.0.0.1])
	by localhost.freshmeat.net (Postfix) with ESMTP
	id F1BEACC1F6; Sun, 31 Aug 2003 12:14:44 -0700 (PDT)
Received: by mail.freshmeat.net (Postfix, from userid 33)
	id D44B9CC1F8; Sun, 31 Aug 2003 12:14:43 -0700 (PDT)
From: Mark Wielaard via RT <broken-links@freshmeat.net>
To: 'Mark Wielaard' <mark@klomp.org>,
	'GNU Classpath Hackers' <classpath@gnu.org>
X-Request-ID: 31072
X-RT-Loop-Prevention: fm
X-Sender: mark@klomp.org
X-Managed-By: Request Tracker 1.0.7 (http://www.fsck.com/projects/rt)
Precedence: bulk
Message-Id: <20030831191443.D44B9CC1F8@mail.freshmeat.net>
Date: Sun, 31 Aug 2003 12:14:43 -0700 (PDT)
X-Mailman-Approved-At: Sun, 31 Aug 2003 15:30:38 -0400
Cc: 
Subject: [fm #31072] (broken-links) Broken links - GNU Classpath,
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Reply-To: Mark Wielaard via RT <broken-links@freshmeat.net>
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Aug 2003 19:20:18 -0000

Hi,

On Sun, 2003-08-31 at 13:36, Patrick Lenz via RT wrote:
> Our automated link checking system repeatedly reported the following links of
> your project at freshmeat.net as being inaccessible:
> 
> - ftp://alpha.gnu.org/pub/gnu/classpath/classpath-0.05.tar.gz
> 
> Please get back to us with either updated links or an estimate of how long your
> project will be unavailable.

As you might know already the ftp servers of the GNU project got
compromised. This means that all old data was pulled from the servers
and only put back when they can be proved to not been tempered with.
We are working with the GNU ftp admins to get the old releases back and
a new release (0.06) up. As soon as that happens (hopefully not more
then a couple of days) we will also announce the new release.

Cheers,

Mark


--- Headers Follow ---

>From mark@klomp.org  Sun Aug 31 12:14:43 2003
Return-Path: <mark@klomp.org>
Delivered-To: broken-links@freshmeat.net
Received: from localhost.localdomain (localhost [127.0.0.1])
	by localhost.freshmeat.net (Postfix) with ESMTP id DEC06CC1F6
	for <broken-links@freshmeat.net>; Sun, 31 Aug 2003 12:14:42 -0700 (PDT)
Received: from nescio.wildebeest.org (node1c5f.a2000.nl [62.108.28.95])
	by mail.freshmeat.net (Postfix) with ESMTP id 6141ECBADA
	for <broken-links@freshmeat.net>; Sun, 31 Aug 2003 12:14:10 -0700 (PDT)
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19tXeF-0007o3-00
	for <broken-links@freshmeat.net>; Sun, 31 Aug 2003 21:14:03 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19tXeI-0000GX-00
	for <broken-links@freshmeat.net>; Sun, 31 Aug 2003 21:14:06 +0200
Subject: Re: [fm #31072] (broken-links) Broken links - GNU Classpath,
	Default branch
From: Mark Wielaard <mark@klomp.org>
To: Patrick Lenz via RT <broken-links@freshmeat.net>
In-Reply-To: <20030831113610.904C1CC1F8@mail.freshmeat.net>
References: <20030831113610.904C1CC1F8@mail.freshmeat.net>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1062357246.724.28.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Sun, 31 Aug 2003 21:14:06 +0200
Sender: Mark Wielaard <mark@slauerhoff>

-------------------------------------------- Managed by Request Tracker



From MAILER-DAEMON Sun Aug 31 20:19:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19tcPq-0005P5-Ow
	for mharc-classpath@gnu.org; Sun, 31 Aug 2003 20:19:30 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19tcP1-0004xd-UU
	for classpath@gnu.org; Sun, 31 Aug 2003 20:18:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19tcN2-0002O4-7V
	for classpath@gnu.org; Sun, 31 Aug 2003 20:16:37 -0400
Received: from [209.100.227.1] (helo=e4500.ripco.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.22) id 19tcMn-0001rt-LB
	for classpath@gnu.org; Sun, 31 Aug 2003 20:16:21 -0400
Received: from shell2.ripco.com (root@shell2.ripco.com [209.100.225.144])
	by e4500.ripco.com (8.12.9/8.12.9) with ESMTP id h810GJwc007815
	for <classpath@gnu.org>; Sun, 31 Aug 2003 19:16:19 -0500 (CDT)
Received: from shell2.ripco.com (arenn@localhost [127.0.0.1])
	by shell2.ripco.com (8.12.9/8.12.9) with ESMTP id h810Ghkj005186
	for <classpath@gnu.org>; Sun, 31 Aug 2003 19:16:43 -0500 (CDT)
Received: (from arenn@localhost)
	by shell2.ripco.com (8.12.9/8.12.9/Submit) id h810GhZE005185
	for classpath@gnu.org; Sun, 31 Aug 2003 19:16:43 -0500 (CDT)
Date: Sun, 31 Aug 2003 19:16:43 -0500
From: "Aaron M. Renn" <arenn@urbanophile.com>
To: classpath@gnu.org
Message-ID: <20030831191643.A5149@urbanophile.com>
Mail-Followup-To: "Aaron M. Renn" <arenn@urbanophile.com>,
	classpath@gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Organization: GNU's Not Unix!
Subject: Kissme and Classpath CVS
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Sep 2003 00:19:28 -0000

This is probably a dumb question, but I re-freshed my Classpath CVS
and updated to kissme 0.31 and kissme isn't working.  I get:

Couldn't preallocate OutOfMemoryError exception object

if I pass in any class argument (even for a bogus .class file)

A little mailing list searching turned up nothing on this.

-- 
Aaron M. Renn (arenn@urbanophile.com) http://www.urbanophile.com/arenn/




From MAILER-DAEMON Sun Aug 31 23:10:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.22)
	id 19tf3v-0008CN-P1
	for mharc-classpath@gnu.org; Sun, 31 Aug 2003 23:09:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22)
	id 19tf3W-0007d5-28
	for classpath@gnu.org; Sun, 31 Aug 2003 23:08:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22)
	id 19tf32-00076E-GG
	for classpath@gnu.org; Sun, 31 Aug 2003 23:08:12 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.22) id 19tf2l-0006a5-K9
	for classpath@gnu.org; Sun, 31 Aug 2003 23:07:51 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.9/8.12.9) with ESMTP id h812qMMx000004;
	Mon, 1 Sep 2003 12:52:22 +1000 (EST)
Message-Id: <200309010252.h812qMMx000004@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: "Aaron M. Renn" <arenn@urbanophile.com>, classpath@gnu.org
In-Reply-To: Message from "Aaron M. Renn" <arenn@urbanophile.com> of "Sun,
	31 Aug 2003 19:16:43 EST." <20030831191643.A5149@urbanophile.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 01 Sep 2003 12:52:39 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang)
Cc: 
Subject: Re: Kissme and Classpath CVS 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Sep 2003 03:09:00 -0000


Aaton Renn wrote:
> This is probably a dumb question, but I re-freshed my Classpath CVS
> and updated to kissme 0.31 and kissme isn't working.  I get:
> 
> Couldn't preallocate OutOfMemoryError exception object
> 
> if I pass in any class argument (even for a bogus .class file)

This is not a dumb question.  

The Kissme in CVS and in the Kissme 0.0.31 release are currently
incompatible with the latest Classpath in CVS.  The breakage happened
when the new versions of java/lang/Thread.java and vm/reference/java/
lang/VMThread.java were checked in, changing the native method APIs for
threads.  [Yeah ... I know we were warned ...]

Compatibility should be restored in a day or so.  In the meantime, you
could either manually back out the java.lang.Thread/VMThread changes in
your Classpath CVS sandbox, or use the Classpath 0.0.6 tarball.

-- Steve




