From MAILER-DAEMON Thu May 01 04:24:33 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19B9Mk-0004EO-00
	for mharc-classpath@gnu.org; Thu, 01 May 2003 04:24:30 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19B9Md-0003uT-00
	for classpath@gnu.org; Thu, 01 May 2003 04:24:23 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19B9MR-0003Ia-00
	for classpath@gnu.org; Thu, 01 May 2003 04:24:13 -0400
Received: from ms-smtp-02.southeast.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19B9ML-0002xx-00
	for classpath@gnu.org; Thu, 01 May 2003 04:24:05 -0400
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])h418Kth0014500;
	Thu, 1 May 2003 04:21:53 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.9.48]) by mail5.nc.rr.com  with
	Microsoft SMTPSVC(5.5.1877.757.75);	 Wed, 30 Apr 2003 23:51:03 -0400
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 3FBF3BE6B4; Wed, 30 Apr 2003 23:54:05 -0400 (EDT)
Sender: cbj@haphazard.org
To: Julian Dolby <dolby@us.ibm.com>
References: <OF265EE2A6.A2537E14-ON85256D18.004781B8-85256D18.0048BA3B@us.ibm.com>
From: Brian Jones <cbj@gnu.org>
Date: 30 Apr 2003 23:54:05 -0400
In-Reply-To: <OF265EE2A6.A2537E14-ON85256D18.004781B8-85256D18.0048BA3B@us.ibm.com>
Message-ID: <m3d6j3725e.fsf@lyta.haphazard.org>
Lines: 59
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: Fw: Running Eclipse on Jikes RVM and Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 01 May 2003 08:24:28 -0000

Julian Dolby <dolby@us.ibm.com> writes:

> Brian,
>       The scripts are designed to build the classpath libraries for you,
> but can be made to use your own build.  The CLASSPATH_ROOT directory is a
> parent directory that contains (at least) the classpath sources in a
> subdirectory called `classpath' and build directory for your platform.  If
> you just have the `classpath' source directory, then the scripts will build
> the platfom-specific build for you (essentially, it will run `configure'
> and `make' in the build directory).  If the source directory already
> exists, the script will simply use that, so you can make it whatever
> version of the classpath code you like.

See, I was setting CLASSPATH_ROOT to /home/cbj/cvs/classpath where
classpath contains configure, etc.  I had to set it to /home/cbj/cvs
instead.

>   If you want to use your own build, you need to make the build directory
> that the scripts expect.  I assume you are on linux, in which case it must
> be called `i686-pc-linux-gnu', that is, you need to make
> $CLASSPATH_ROOT/i686-pc-linux-gnu and run configure and make there.  Please
> look at the jBuildClasspathJar script to see what options we give to
> configure; you may want to use some or all of these.  If you build this
> directory yourself, the scripts will simply use it.  The scripts do not
> understand changes to the classpath source, so if you change
> $CLASSPATH_ROOT/classpath at all, you must re-run make in the build
> directory yourself.
> 
>   Finally, note that builds of JikesRVM include library class files, so if
> you rebuild the libraries, you must also rerun jbuild to get a new VM
> image.  Hopefully, this build system will work for you; if not, we will be
> happy to work with you to get something that does.

Okay, I have the following error with yesterday's CVS.  I see no
problem with rerunning jbuild as long as I use the BaseBaseSemiSpace
to avoid long build times.  This unescape paren problem appears in a
few places in jbuild.copy on my system.  I'm using pdksh on Red Hat
8.0.  I'll give the last "released" version a try in the near future.

make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/cbj/cvs/i686-pc-linux-gnu/vm'
make[1]: Leaving directory `/home/cbj/cvs/i686-pc-linux-gnu/vm'
make[1]: Entering directory `/home/cbj/cvs/i686-pc-linux-gnu'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/cbj/cvs/i686-pc-linux-gnu'
Building /home/cbj/cvs/rvmRoot/support/lib/classpathsrc.jar
jbuild.expand: (templates cleaned) 223 s 
jbuild.copy: (sources cleaned) 223 s 
jbuild.compile: (classes cleaned)  223 s 
jbuild.linkImage: (primordials cleaned) (bootimage cleaned)  223 s 
jbuild.linkBooter: (booter cleaned)  223 s 
jbuild.expand: (classloader templates expanded)  232 s 
make[1]: Entering directory `/home/cbj/cvs/rvmRoot/rvm/src/tools/preprocessor'
/usr/bin/g++ -g preprocessModifiedFiles.C -o
/home/cbj/cvs/rvmBuild/RVM.scratch/preprocessModifiedFiles
make[1]: Leaving directory `/home/cbj/cvs/rvmRoot/rvm/src/tools/preprocessor'
./jbuild.copy[33]: syntax error: `(' unexpected
-- 
Brian Jones <cbj@gnu.org>



From MAILER-DAEMON Thu May 01 08:45:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19BDQ1-0001j6-00
	for mharc-classpath@gnu.org; Thu, 01 May 2003 08:44:09 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19BDP3-00014N-00
	for classpath@gnu.org; Thu, 01 May 2003 08:43:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19BDOM-0000og-00
	for classpath@gnu.org; Thu, 01 May 2003 08:42:27 -0400
Received: from ms-smtp-02.southeast.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19BDO3-0000gi-00
	for classpath@gnu.org; Thu, 01 May 2003 08:42:07 -0400
Received: from mail4.nc.rr.com (fe4 [24.93.67.51])h41Cdfgs008132;
	Thu, 1 May 2003 08:39:42 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.9.48]) by mail4.nc.rr.com  with
	Microsoft SMTPSVC(5.5.1877.757.75);	 Thu, 1 May 2003 08:43:52 -0400
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 6BEAABE6B4; Thu,  1 May 2003 08:41:51 -0400 (EDT)
Sender: cbj@haphazard.org
To: Stephen Crawley <crawley@dstc.edu.au>
References: <200305010430.h414UoZV012563@piglet.dstc.edu.au>
From: Brian Jones <cbj@gnu.org>
Date: 01 May 2003 08:41:51 -0400
In-Reply-To: <200305010430.h414UoZV012563@piglet.dstc.edu.au>
Message-ID: <m3znm6rg8g.fsf@lyta.haphazard.org>
Lines: 23
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: GNU Classpath <classpath@gnu.org>
Subject: Re: latest kissme dumps core?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 01 May 2003 12:44:07 -0000

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

> > Stephen Crawley <crawley@dstc.edu.au> writes:
> > 
> > > > I tried that, tried make clean and that... tried updating again and
> > > > redo... not working for me.  Any ideas?
> > > 
> > > Did you try EXPLICITLY deleting classes.zip?  I don't think 'make clean'
> > > does this.
> > 
> > Yes, here "that" == rm classes.zip
> 
> Another thought.  Is there a stray Class.class file hanging around in
> the kissme build tree?  If so, running 'make' will put it into the
> classes.zip file.

That's it, there was a Class.class hanging around still.  I did a find
and removed all the .class files and removed classes.zip and now it
seems to be okay!  

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



From MAILER-DAEMON Thu May 01 10:39:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19BFBv-0003EK-00
	for mharc-classpath@gnu.org; Thu, 01 May 2003 10:37:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19BFAv-0002d1-00
	for classpath@gnu.org; Thu, 01 May 2003 10:36:41 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19BF97-0001g4-00
	for classpath@gnu.org; Thu, 01 May 2003 10:34:50 -0400
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19BF8z-0001QT-00; Thu, 01 May 2003 10:34:42 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.9/8.12.8) with ESMTP id h41EYbZV022105;
	Fri, 2 May 2003 00:34:37 +1000 (EST)
Message-Id: <200305011434.h41EYbZV022105@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Brian Jones <cbj@gnu.org>
In-Reply-To: Message from Brian Jones <cbj@gnu.org> 
   of "01 May 2003 08:41:51 -0400." <m3znm6rg8g.fsf@lyta.haphazard.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 02 May 2003 00:34:43 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Virus-Scanned: Message: ok
X-Scanned-By: MIMEDefang 2.9 (www dot roaringpenguin dot com slash mimedefang)
cc: crawley@piglet.dstc.edu.au
cc: Stephen Crawley <crawley@dstc.edu.au>
cc: GNU Classpath <classpath@gnu.org>
Subject: Re: latest kissme dumps core? 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 01 May 2003 14:37:41 -0000


Brian Jones <cbj@gnu.org> wrote:
> Stephen Crawley <crawley@dstc.edu.au> wrote:
> > Another thought.  Is there a stray Class.class file hanging around in
> > the kissme build tree?  If so, running 'make' will put it into the
> > classes.zip file.
> 
> That's it, there was a Class.class hanging around still.  I did a find
> and removed all the .class files and removed classes.zip and now it
> seems to be okay!  

Cool!

Meanwhile, I've fixed the bugs in kissme's Makefile that caused this
to happen.

-- Steve




From MAILER-DAEMON Thu May 01 20:46:54 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19BOgr-0000L3-00
	for mharc-classpath@gnu.org; Thu, 01 May 2003 20:46:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19BOgU-0008AH-00
	for classpath@gnu.org; Thu, 01 May 2003 20:45:54 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19BOgI-0007hg-00
	for classpath@gnu.org; Thu, 01 May 2003 20:45:43 -0400
Received: from e5.ny.us.ibm.com ([32.97.182.105])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19BOg7-0007Jr-00
	for classpath@gnu.org; Thu, 01 May 2003 20:45:31 -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 h420jUOm130990
	for <classpath@gnu.org>; Thu, 1 May 2003 20:45:30 -0400
Received: from d01ml243.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	h420jR4W231242
	for <classpath@gnu.org>; Thu, 1 May 2003 20:45:28 -0400
In-Reply-To: <m3d6j3725e.fsf@lyta.haphazard.org>
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: <OFF335D525.486EF4A1-ON85256D1A.0003B4F4-85256D1A.00040D08@us.ibm.com>
Date: Thu, 1 May 2003 20:45:26 -0400
X-MIMETrack: Serialize by Router on D01ML243/01/M/IBM(Release 6.0.1
	[IBM]|April 28, 2003) at 05/01/2003 20:45:27,
	Serialize complete at 05/01/2003 20:45:27
Content-Type: text/plain; charset="US-ASCII"
Subject: Re: Fw: Running Eclipse on Jikes RVM and Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 02 May 2003 00:46:06 -0000

Sorry, this was almost certainly due to two missing '\' in the definition 
of MAXIMUM_MAPPABLE_ADDRESS in Jikes RVM's i686-pc-linux-gnu config file. 
About half of the config files were wrong.  I just checked in fixes for 
them all. 

--dave

> ....
> make[1]: Entering directory 
`/home/cbj/cvs/rvmRoot/rvm/src/tools/preprocessor'
> /usr/bin/g++ -g preprocessModifiedFiles.C -o
> /home/cbj/cvs/rvmBuild/RVM.scratch/preprocessModifiedFiles
> make[1]: Leaving directory 
`/home/cbj/cvs/rvmRoot/rvm/src/tools/preprocessor'
> ./jbuild.copy[33]: syntax error: `(' unexpected




From MAILER-DAEMON Thu May 01 21:19:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19BPCk-00089n-00
	for mharc-classpath@gnu.org; Thu, 01 May 2003 21:19:14 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19BPCT-0007EQ-00
	for classpath@gnu.org; Thu, 01 May 2003 21:18:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19BPCA-0006S5-00
	for classpath@gnu.org; Thu, 01 May 2003 21:18:42 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19BPBj-00050X-00
	for classpath@gnu.org; Thu, 01 May 2003 21:18:11 -0400
Received: from mail3.nc.rr.com (fe3 [24.93.67.50])h421DPhA017723;
	Thu, 1 May 2003 21:13:25 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.9.48]) by mail3.nc.rr.com  with
	Microsoft SMTPSVC(5.5.1877.757.75);	 Thu, 1 May 2003 21:15:22 -0400
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id B873DBE6B4; Thu,  1 May 2003 21:18:09 -0400 (EDT)
Sender: cbj@haphazard.org
To: David P Grove <groved@us.ibm.com>
References: <OFF335D525.486EF4A1-ON85256D1A.0003B4F4-85256D1A.00040D08@us.ibm.com>
From: Brian Jones <cbj@gnu.org>
Date: 01 May 2003 21:18:09 -0400
In-Reply-To: <OFF335D525.486EF4A1-ON85256D1A.0003B4F4-85256D1A.00040D08@us.ibm.com>
Message-ID: <m3u1ceqh7y.fsf@lyta.haphazard.org>
Lines: 14
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: Fw: Running Eclipse on Jikes RVM and Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 02 May 2003 01:19:10 -0000

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

> Sorry, this was almost certainly due to two missing '\' in the definition 
> of MAXIMUM_MAPPABLE_ADDRESS in Jikes RVM's i686-pc-linux-gnu config file. 
> About half of the config files were wrong.  I just checked in fixes for 
> them all. 
> 
> --dave

All better now, thanks.

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



From MAILER-DAEMON Thu May 01 21:24:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19BPH3-0004JD-00
	for mharc-classpath@gnu.org; Thu, 01 May 2003 21:23:41 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19BPGA-0003Xy-00
	for classpath@gnu.org; Thu, 01 May 2003 21:22:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19BPFo-0003N9-00
	for classpath@gnu.org; Thu, 01 May 2003 21:22:25 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19BPFO-000329-00
	for classpath@gnu.org; Thu, 01 May 2003 21:21:58 -0400
Received: from mail3.nc.rr.com (fe3 [24.93.67.50])h421HChA020175;
	Thu, 1 May 2003 21:17:12 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.9.48]) by mail3.nc.rr.com  with
	Microsoft SMTPSVC(5.5.1877.757.75);	 Thu, 1 May 2003 21:19:09 -0400
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 300F5BE6B4; Thu,  1 May 2003 21:21:57 -0400 (EDT)
Sender: cbj@haphazard.org
To: David P Grove <groved@us.ibm.com>
References: <OFF335D525.486EF4A1-ON85256D1A.0003B4F4-85256D1A.00040D08@us.ibm.com>
From: Brian Jones <cbj@gnu.org>
Date: 01 May 2003 21:21:57 -0400
In-Reply-To: <OFF335D525.486EF4A1-ON85256D1A.0003B4F4-85256D1A.00040D08@us.ibm.com>
Message-ID: <m3ptn2qh1m.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: classpath@gnu.org
Subject: Re: Fw: Running Eclipse on Jikes RVM and Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 02 May 2003 01:23:39 -0000

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

> Sorry, this was almost certainly due to two missing '\' in the definition 
> of MAXIMUM_MAPPABLE_ADDRESS in Jikes RVM's i686-pc-linux-gnu config file. 
> About half of the config files were wrong.  I just checked in fixes for 
> them all. 

Is there a JNI function that isn't implemented in the VM causing
trouble here?

[cbj@lyta gtk]$ rvm -verbose:jni TestAWT
[Loaded native library: /home/cbj/cvs/rvmBuild/libjavaio.so]
[Dynamic-linking native method java.io.FileDescriptor.nativeInit ... JNI]
[Loaded native library: /home/cbj/cvs/rvmBuild/libjavalang.so]
[Dynamic-linking native method java.lang.Double.initIDs ... JNI]
[Dynamic-linking native method java.lang.Double.longBitsToDouble ... JNI]
[Dynamic-linking native method java.io.FileDescriptor.nativeOpen ... JNI]
[Dynamic-linking native method java.io.FileDescriptor.nativeGetLength ... JNI]
[Dynamic-linking native method java.io.FileDescriptor.nativeSeek ... JNI]
[Dynamic-linking native method java.io.FileDescriptor.nativeReadBuf ... JNI]
[Dynamic-linking native method java.io.FileDescriptor.nativeGetFilePointer ... JNI]
[Loaded native library: /home/cbj/cvs/rvmBuild/libjpnexec.so]
[Dynamic-linking native method java.io.File.existsInternal ... JNI]
[Dynamic-linking native method java.io.File.isDirectoryInternal ... JNI]
[Dynamic-linking native method java.io.File.lengthInternal ... JNI]
[Loaded native library: /home/cbj/cvs/rvmBuild/libgtkpeer.so]
[Dynamic-linking native method gnu.java.awt.peer.gtk.GtkMainThread.gtkInit ... JNI]
0x430001d4
vm internal error at:

-- Stack --
   Lcom/ibm/JikesRVM/VM; sysFail(Ljava/lang/String;)V at line 821
   Lcom/ibm/JikesRVM/VM; _assertionFailure(Ljava/lang/String;)V at line 392
   Lcom/ibm/JikesRVM/VM; _assert(ZLjava/lang/String;)V at line 386
   Lcom/ibm/JikesRVM/VM; _assert(Z)V at line 369
   Lcom/ibm/JikesRVM/VM_CompiledMethods; getCompiledMethod(I)Lcom/ibm/JikesRVM/VM_CompiledMethod; at line 69
   Lcom/ibm/JikesRVM/VM_Runtime; deliverException(Ljava/lang/Throwable;Lcom/ibm/JikesRVM/VM_Registers;)V at line 776
   Lcom/ibm/JikesRVM/VM_Runtime; athrow(Ljava/lang/Throwable;)V at line 517
   Lcom/ibm/JikesRVM/VM_DynamicLinker; unimplementedNativeMethod()V at line 41
   Lcom/ibm/JikesRVM/VM_JNIFunctions; GetJavaVM(ILcom/ibm/JikesRVM/VM_Address;)I at line 5724
   <native frame>
   Lgnu/java/awt/peer/gtk/GtkMainThread; gtkInit()V at line 0
   Lgnu/java/awt/peer/gtk/GtkMainThread; run()V at line 72
   Ljava/lang/Thread; run()V at line 270
   Lcom/ibm/JikesRVM/VM_Thread; startoff()V at line 712
vm: exit 1
-- 
Brian Jones <cbj@gnu.org>



From MAILER-DAEMON Thu May 01 22:49:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19BQZW-0007po-00
	for mharc-classpath@gnu.org; Thu, 01 May 2003 22:46:50 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19BQZA-0006x0-00
	for classpath@gnu.org; Thu, 01 May 2003 22:46:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19BQZ0-0006Us-00
	for classpath@gnu.org; Thu, 01 May 2003 22:46:18 -0400
Received: from ms-smtp-03.southeast.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19BQYv-0006Hu-00
	for classpath@gnu.org; Thu, 01 May 2003 22:46:13 -0400
Received: from mail5.nc.rr.com (fe5 [24.93.67.52])h422inMq022018;
	Thu, 1 May 2003 22:44:49 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.9.48]) by mail5.nc.rr.com  with
	Microsoft SMTPSVC(5.5.1877.757.75);	 Thu, 1 May 2003 22:43:09 -0400
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 6DC0EBE6B4; Thu,  1 May 2003 22:46:11 -0400 (EDT)
Sender: cbj@haphazard.org
To: David P Grove <groved@us.ibm.com>
References: <OF0480CF7B.65555E32-ON85256D18.00720D83-85256D18.0072B35A@us.ibm.com>
	<m365ovsmdz.fsf@lyta.haphazard.org>
From: Brian Jones <cbj@gnu.org>
Date: 01 May 2003 22:46:11 -0400
In-Reply-To: <m365ovsmdz.fsf@lyta.haphazard.org>
Message-ID: <m3llxqqd58.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
Subject: Re: Next release criteria
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 02 May 2003 02:46:48 -0000

Brian Jones <cbj@gnu.org> writes:

> David P Grove <groved@us.ibm.com> writes:
> 
> > Jikes RVM using Classpath cvs head augmented with the patch I submitted 
> > last night (#1437)  passes all of the Jikes RVM regression tests that 
> > classpath 0.05 does. 
> 
> Thanks, I saw the patch... just haven't applied it yet.

Patch applied, thanks.

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



From MAILER-DAEMON Fri May 02 08:54:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19Ba0s-0001ch-00
	for mharc-classpath@gnu.org; Fri, 02 May 2003 08:51:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19Ba0c-0000cc-00
	for classpath@gnu.org; Fri, 02 May 2003 08:51:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19Ba0Q-0008Mt-00
	for classpath@gnu.org; Fri, 02 May 2003 08:51:17 -0400
Received: from e4.ny.us.ibm.com ([32.97.182.104])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19BZzU-0006gU-00
	for classpath@gnu.org; Fri, 02 May 2003 08:50:16 -0400
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com
	[9.56.224.206])
	by e4.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h42CoFsZ166732
	for <classpath@gnu.org>; Fri, 2 May 2003 08:50:15 -0400
Received: from d01ml243.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	h42CoD0O124170
	for <classpath@gnu.org>; Fri, 2 May 2003 08:50:13 -0400
In-Reply-To: <m3ptn2qh1m.fsf@lyta.haphazard.org>
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: <OFA3323436.25E11C60-ON85256D1A.0046129A-85256D1A.00466733@us.ibm.com>
Date: Fri, 2 May 2003 08:50:12 -0400
X-MIMETrack: Serialize by Router on D01ML243/01/M/IBM(Release 6.0.1
	[IBM]|April 28, 2003) at 05/02/2003 08:50:13,
	Serialize complete at 05/02/2003 08:50:13
Content-Type: text/plain; charset="US-ASCII"
Subject: Re: Fw: Running Eclipse on Jikes RVM and Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 02 May 2003 12:51:36 -0000

Looks like there's something going wrong in the implementation of 
GetJavaVM.  I thought this was one that we'd actually implemented.  Julian 
and/or I will take a look today and see what the story is. 

--dave



From MAILER-DAEMON Fri May 02 11:09:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19Bc9i-0005iZ-00
	for mharc-classpath@gnu.org; Fri, 02 May 2003 11:08:58 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19Bc9L-0004QD-00
	for classpath@gnu.org; Fri, 02 May 2003 11:08:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19Bc9F-00043v-00
	for classpath@gnu.org; Fri, 02 May 2003 11:08:32 -0400
Received: from e4.ny.us.ibm.com ([32.97.182.104])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19Bc95-0003To-00
	for classpath@gnu.org; Fri, 02 May 2003 11:08:19 -0400
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com
	[9.56.224.150])
	by e4.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h42F8HsZ169336
	for <classpath@gnu.org>; Fri, 2 May 2003 11:08:17 -0400
Received: from d01ml243.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	h42F8Fco031542
	for <classpath@gnu.org>; Fri, 2 May 2003 11:08:15 -0400
To: classpath@gnu.org
X-Mailer: Lotus Notes Release 5.0.11   July 24, 2002
Message-ID: <OFD0695832.362B01FC-ON85256D1A.00525C9B-85256D1A.0052A3C3@us.ibm.com>
From: Julian Dolby <dolby@us.ibm.com>
Date: Fri, 2 May 2003 11:08:12 -0400
X-MIMETrack: Serialize by Router on D01ML243/01/M/IBM(Release 6.0.1
	[IBM]|April 28, 2003) at 05/02/2003 11:08:15
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Subject: Re: Classpath Digest, Vol 6, Issue 3
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 02 May 2003 15:08:56 -0000






 This is actually caused by another problem with the i686-pc-linux-gnu
config file.  Try setting the RVM_WITH_SINGLE_VIRTUAL_PROCESSOR flag to 0.
This should probably work for you, assuming you are using a 2.4 linux
kernel.

      -- Julian



                                                                                                                    
                      classpath-request@gnu.org                                                                     
                      Sent by:                               To:       classpath@gnu.org                            
                      classpath-bounces+dolby=us.ibm.        cc:                                                    
                      com@gnu.org                            Subject:  Classpath Digest, Vol 6, Issue 3             
                                                                                                                    
                                                                                                                    
                      05/02/03 06:53 AM                                                                             
                      Please respond to classpath                                                                   
                                                                                                                    
                                                                                                                    






Date: 01 May 2003 21:21:57 -0400
From: Brian Jones <cbj@gnu.org>
To: David P Grove <groved@us.ibm.com>
Cc: classpath@gnu.org
Subject: Re: Fw: Running Eclipse on Jikes RVM and Classpath
Message-ID: <m3ptn2qh1m.fsf@lyta.haphazard.org>
In-Reply-To:
<OFF335D525.486EF4A1-ON85256D1A.0003B4F4-85256D1A.00040D08@us.ibm.com>
References:
<OFF335D525.486EF4A1-ON85256D1A.0003B4F4-85256D1A.00040D08@us.ibm.com>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 3

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

> Sorry, this was almost certainly due to two missing '\' in the definition

> of MAXIMUM_MAPPABLE_ADDRESS in Jikes RVM's i686-pc-linux-gnu config file.

> About half of the config files were wrong.  I just checked in fixes for
> them all.

Is there a JNI function that isn't implemented in the VM causing
trouble here?

[cbj@lyta gtk]$ rvm -verbose:jni TestAWT
[Loaded native library: /home/cbj/cvs/rvmBuild/libjavaio.so]
[Dynamic-linking native method java.io.FileDescriptor.nativeInit ... JNI]
[Loaded native library: /home/cbj/cvs/rvmBuild/libjavalang.so]
[Dynamic-linking native method java.lang.Double.initIDs ... JNI]
[Dynamic-linking native method java.lang.Double.longBitsToDouble ... JNI]
[Dynamic-linking native method java.io.FileDescriptor.nativeOpen ... JNI]
[Dynamic-linking native method java.io.FileDescriptor.nativeGetLength ...
JNI]
[Dynamic-linking native method java.io.FileDescriptor.nativeSeek ... JNI]
[Dynamic-linking native method java.io.FileDescriptor.nativeReadBuf ...
JNI]
[Dynamic-linking native method java.io.FileDescriptor.nativeGetFilePointer
... JNI]
[Loaded native library: /home/cbj/cvs/rvmBuild/libjpnexec.so]
[Dynamic-linking native method java.io.File.existsInternal ... JNI]
[Dynamic-linking native method java.io.File.isDirectoryInternal ... JNI]
[Dynamic-linking native method java.io.File.lengthInternal ... JNI]
[Loaded native library: /home/cbj/cvs/rvmBuild/libgtkpeer.so]
[Dynamic-linking native method gnu.java.awt.peer.gtk.GtkMainThread.gtkInit
... JNI]
0x430001d4
vm internal error at:

-- Stack --
   Lcom/ibm/JikesRVM/VM; sysFail(Ljava/lang/String;)V at line 821
   Lcom/ibm/JikesRVM/VM; _assertionFailure(Ljava/lang/String;)V at line 392
   Lcom/ibm/JikesRVM/VM; _assert(ZLjava/lang/String;)V at line 386
   Lcom/ibm/JikesRVM/VM; _assert(Z)V at line 369
   Lcom/ibm/JikesRVM/VM_CompiledMethods;
getCompiledMethod(I)Lcom/ibm/JikesRVM/VM_CompiledMethod; at line 69
   Lcom/ibm/JikesRVM/VM_Runtime;
deliverException(Ljava/lang/Throwable;Lcom/ibm/JikesRVM/VM_Registers;)V at
line 776
   Lcom/ibm/JikesRVM/VM_Runtime; athrow(Ljava/lang/Throwable;)V at line 517
   Lcom/ibm/JikesRVM/VM_DynamicLinker; unimplementedNativeMethod()V at line
41
   Lcom/ibm/JikesRVM/VM_JNIFunctions;
GetJavaVM(ILcom/ibm/JikesRVM/VM_Address;)I at line 5724
   <native frame>
   Lgnu/java/awt/peer/gtk/GtkMainThread; gtkInit()V at line 0
   Lgnu/java/awt/peer/gtk/GtkMainThread; run()V at line 72
   Ljava/lang/Thread; run()V at line 270
   Lcom/ibm/JikesRVM/VM_Thread; startoff()V at line 712
vm: exit 1
--
Brian Jones <cbj@gnu.org>





From MAILER-DAEMON Sat May 10 07:22:54 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19ESRK-00025Y-00
	for mharc-classpath@gnu.org; Sat, 10 May 2003 07:22:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19ESRH-00024I-00
	for classpath@gnu.org; Sat, 10 May 2003 07:22:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19ESRF-000238-00
	for classpath@gnu.org; Sat, 10 May 2003 07:22:49 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19ESM6-0000Wk-00
	for classpath@gnu.org; Sat, 10 May 2003 07:17:30 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19ESK3-0004vr-00; Sat, 10 May 2003 13:15:23 +0200
From: Mark Wielaard <mark@klomp.org>
To: Varga Zoltan <vargaz@freemail.hu>
In-Reply-To: <freemail.20030410115217.37695@fm9.freemail.hu>
References: <freemail.20030410115217.37695@fm9.freemail.hu>
Content-Type: text/plain
Organization: 
Message-Id: <1052565390.7761.198.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.4 
Date: 10 May 2003 13:16:30 +0200
Content-Transfer-Encoding: 7bit
cc: ikvm-developers@lists.sourceforge.net
cc: classpath@gnu.org
Subject: Re: [Ikvm-developers] Eclipse under mono
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 10 May 2003 11:22:52 -0000

Hi,
(I have CCed the Classpath mailinglist with this good news!)

On Sat, 2003-05-10 at 11:52, Varga Zoltan wrote:
>
>   I got Eclipse running under IKVM under Mono. A screenshot,
> Makefiles
> etc. can be found here:
> 
> http://www.nexus.hu/vargaz/
> 
> The port uses a JNI provider written in C which works with
> mono. Eclipse
> startup up+shuts down in about 1 minute on an 1Ghz PC, while
> consuming about 90MB of memory. It works with Mono 0.24 and
> current
> mono CVS.

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

You might not (yet) be the fastest (the speed record is already claimed
by the JikesRVM with 12 seconds!) but you are probably the first fast
enough completely proprietary free implementation that runs Eclipse.

Please let me know if you want to claim te prize and how to repeat your
findings (I am currently using Debian unstable x86, but are willing to
install and/or patch any free software required).

BTW JRVM people. This is your last chance to get your VM to bootstrap
itself completely by building a boot image using JRVM itself. Please
hurry before Zoltan actually claims the prize! The same goes for any
other VM implementor of course :)

> [... Some patches needed ...]
> BTW: The IBM RVM project includes a nice JNI testsuite:
> 
> http://www-124.ibm.com/developerworks/oss/jikesrvm/

O nice. I didn't know that. This is probably also a good testsuite for
other VM implementors. Good to see all these free software projects
working together.

> The Mauve test status of mono:
> 191 of 7294 tests failed
> 
> Would it be possible to post the Mauve test results of IKVM
> somewhere
> (with -verbose) so I can compare it to the Mono version?

You know already about the results posted by Brian Jones for other VMs
based on Classpath? http://www.gnu.org/software/classpath/mauve/

Cheers,

Mark




From MAILER-DAEMON Tue May 13 07:35:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19FXuR-0005g4-00
	for mharc-classpath@gnu.org; Tue, 13 May 2003 07:25:27 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19FXtw-0005PI-00
	for classpath@gnu.org; Tue, 13 May 2003 07:24:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19FXrI-0004ej-00
	for classpath@gnu.org; Tue, 13 May 2003 07:22:13 -0400
Received: from hc-gw2.hitachi-cable.co.jp ([219.124.60.37])
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 19FXGR-0005O3-00
	for classpath@gnu.org; Tue, 13 May 2003 06:44:08 -0400
Received: (qmail 5063 invoked from network); 13 May 2003 07:52:42 -0000
Received: from unknown (HELO sm1.hitachi-cable.co.jp) (172.31.2.40)
  by hc-gw2.hitachi-cable.co.jp with SMTP; 13 May 2003 07:52:42 -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 h4D7mtu31092
	for <classpath@gnu.org>; Tue, 13 May 2003 16:48:56 +0900
Date: Tue, 13 May 2003 16:48:56 +0900
Message-Id: <200305130748.h4D7mtu31092@sm1.hitachi-cable.co.jp>
Received: (qmail 1982 invoked from network); 13 May 2003 07:51:01 -0000
Received: from hjavd.htk.hitachi-cable.co.jp (HELO FLR-1DL9-011844)
	(172.18.51.29)  by 172.31.3.7 with SMTP; 13 May 2003 07:51:01 -0000
X-Mailer: cmail 2.60 on GNU Emacs 20.7.1 / Mule 4.1 (AOI)
From: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
To: classpath@gnu.org
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: [patch] java.awt.image.ColorModel
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 13 May 2003 11:25:25 -0000

I would like to make java.awt.image.ColorModel work.

--- java/awt/image/ColorModel.java.orig	Fri Jan 17 06:37:20 2003
+++ java/awt/image/ColorModel.java	Tue May 13 16:30:54 2003
@@ -113,7 +113,7 @@
   {
     this(bits * 4, // total bits, sRGB, four channels
 	 nArray(bits, 4), // bits for each channel
-	 null, // FIXME: should be sRGB
+	 ColorSpace.getInstance(ColorSpace.CS_sRGB), // sRGB
 	 true, // has alpha
 	 false, // not premultiplied
 	 TRANSLUCENT,



From MAILER-DAEMON Tue May 13 23:42:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19Fn9v-0008KD-00
	for mharc-classpath@gnu.org; Tue, 13 May 2003 23:42:27 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19FdFW-0001lx-00
	for classpath@gnu.org; Tue, 13 May 2003 13:07:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19FdE6-0001DG-00
	for classpath@gnu.org; Tue, 13 May 2003 13:06:07 -0400
Received: from mail.echo-on.net ([205.189.151.1] helo=mail.eol.ca)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19FcGX-0000vv-00
	for classpath@gnu.org; Tue, 13 May 2003 12:04:33 -0400
Received: from mantatest.com (static-1M-b1-60.highspeed.eol.ca [64.56.237.60])
	by mail.eol.ca (Postfix) with SMTP id 85FC1BC368
	for <classpath@gnu.org>; Tue, 13 May 2003 12:14:16 -0400 (EDT)
Received: from scott ([192.168.22.60]) by mantatest.com ( IA Mail Server
	Version: 3.2.4. Build: 1096 ) ) ; Tue, 13 May 2003 12:00:29 -0400
Message-ID: <0bf301c31968$9fa268a0$3c16a8c0@mantatest.com>
From: "Scott Gilbertson" <scottg@mantatest.com>
To: <classpath@gnu.org>
Date: Tue, 13 May 2003 11:59:24 -0400
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-Mailman-Approved-At: Tue, 13 May 2003 23:42:20 -0400
Subject: Question about implementing java.awt.Toolkit.createComponent for
 lightweights
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 13 May 2003 17:09:32 -0000

I submitted the following patch for GCJ, but there's been some discussion
about whether it's OK.  I'm hoping someone on the Classpath project has
either already thought about the issue or can provide an opinion.
    http://gcc.gnu.org/ml/java-patches/2003-q2/msg00140.html

The patch implements java.awt.createComponent, so that lightweight
components and containers work (as would presumably be required for swing).
The above link includes a test class which works with the patch but not
without it.

Questions:

Is it right for java.awt.Toolkit to implement createComponent, or should it
return null and leave the implementation up to the platform-specific peers
(GtkToolkit, XToolkit, etc.)?

If my patch is OK, should it go in Classpath first, rather than directly
into GCJ?




From MAILER-DAEMON Sun May 18 23:00:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19HaqK-0006ac-00
	for mharc-classpath@gnu.org; Sun, 18 May 2003 22:57:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19Haq5-0006IP-00
	for classpath@gnu.org; Sun, 18 May 2003 22:57:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19HapU-0005w2-00
	for classpath@gnu.org; Sun, 18 May 2003 22:56:49 -0400
Received: from hc-gw2.hitachi-cable.co.jp ([219.124.60.37])
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 19Haos-0004ww-00
	for classpath@gnu.org; Sun, 18 May 2003 22:56:10 -0400
Received: (qmail 24202 invoked from network); 19 May 2003 02:54:14 -0000
Received: from unknown (HELO sm1.hitachi-cable.co.jp) (172.31.2.40)
  by hc-gw2.hitachi-cable.co.jp with SMTP; 19 May 2003 02:54:14 -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 h4J2nfK05747
	for <classpath@gnu.org>; Mon, 19 May 2003 11:49:42 +0900
Date: Mon, 19 May 2003 11:49:42 +0900
Message-Id: <200305190249.h4J2nfK05747@sm1.hitachi-cable.co.jp>
Received: (qmail 23252 invoked from network); 19 May 2003 02:52:09 -0000
Received: from hjavd.htk.hitachi-cable.co.jp (HELO FLR-1DL9-011844)
	(172.18.51.29)  by 172.31.3.7 with SMTP; 19 May 2003 02:52:09 -0000
X-Mailer: cmail 2.60 on GNU Emacs 20.7.1 / Mule 4.1 (AOI)
From: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
To: classpath@gnu.org
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: [Bug Report] java.nio.CharBuffer: toString() returns empty string
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 19 May 2003 02:57:38 -0000

toString() of java.nio.CharBuffer should not change the buffer's position
but the get() used in the toString() changes it.  So the output of
toString() is always empty.

Test program:
import java.nio.CharBuffer;
public class CharBufferTest {
    public static void main(String[] args)  throws Exception {
        String s = "Ito Kazumitsu";
        int l = s.length();
        char[] charbuf = new char[l];
        for (int i = 0; i < l; i++) {
            charbuf[i] = s.charAt(i);
        }
        CharBuffer cb = CharBuffer.wrap(charbuf, 0, l);
        System.out.println("Before toString()");
        System.out.println("length="+ cb.length());
        System.out.println("position=" +cb.position());
        System.out.println("limit=" +cb.limit());
        String s1 = cb.toString();
        System.out.println("After toString()");
        System.out.println("length="+ cb.length());
        System.out.println("position=" +cb.position());
        System.out.println("limit=" +cb.limit());
        System.out.println("String length = " + s1.length());
        System.out.println(s1);
    }
}

Result:
bash$ java CharBufferTest
Before toString()
length=13
position=0
limit=13
After toString()
length=0
position=13
limit=13
String length = 0

bash$

Result under Sun's JDK.
bash$ java CharBufferTest                
Before toString()
length=13
position=0
limit=13
After toString()
length=13
position=0
limit=13
String length = 13
Ito Kazumitsu
bash$



From MAILER-DAEMON Sun May 18 23:09:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19HaxT-00012e-00
	for mharc-classpath@gnu.org; Sun, 18 May 2003 23:05:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19Hax3-0000pl-00
	for classpath@gnu.org; Sun, 18 May 2003 23:04:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19Hawr-0000iB-00
	for classpath@gnu.org; Sun, 18 May 2003 23:04:26 -0400
Received: from hc-gw2.hitachi-cable.co.jp ([219.124.60.37])
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 19HawH-0000VR-00
	for classpath@gnu.org; Sun, 18 May 2003 23:03:53 -0400
Received: (qmail 25016 invoked from network); 19 May 2003 03:03:44 -0000
Received: from unknown (HELO sm1.hitachi-cable.co.jp) (172.31.2.40)
  by hc-gw2.hitachi-cable.co.jp with SMTP; 19 May 2003 03:03:44 -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 h4J2wGl13782
	for <classpath@gnu.org>; Mon, 19 May 2003 11:58:16 +0900
Date: Mon, 19 May 2003 11:58:16 +0900
Message-Id: <200305190258.h4J2wGl13782@sm1.hitachi-cable.co.jp>
Received: (qmail 23819 invoked from network); 19 May 2003 03:00:44 -0000
Received: from hjavd.htk.hitachi-cable.co.jp (HELO FLR-1DL9-011844)
	(172.18.51.29)  by 172.31.3.7 with SMTP; 19 May 2003 03:00:44 -0000
X-Mailer: cmail 2.60 on GNU Emacs 20.7.1 / Mule 4.1 (AOI)
From: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
To: classpath@gnu.org
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: Possible bug? java.nio.Buffer
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 19 May 2003 03:05:01 -0000

java/nio/Buffer.java has the following code:

  Buffer (int capacity, int limit, int position, int mark)
  {
    if (capacity < 0)
      throw new IllegalArgumentException ();

    cap = capacity;
    limit (limit);
    position (position);

    if (mark > 0)      ----(*)
    {
      if (mark > pos)
        throw new IllegalArgumentException ();

      this.mark = mark;
    }
  }

Should'nt the line marked with (*) be "if (mark >= 0)" ?



From MAILER-DAEMON Sun May 18 23:41:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19HbWg-0008BH-00
	for mharc-classpath@gnu.org; Sun, 18 May 2003 23:41:26 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19HbTZ-0007G7-00
	for classpath@gnu.org; Sun, 18 May 2003 23:38:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19HbTD-0006g5-00
	for classpath@gnu.org; Sun, 18 May 2003 23:37:52 -0400
Received: from hc-gw2.hitachi-cable.co.jp ([219.124.60.37])
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 19HbRI-0005Kr-00
	for classpath@gnu.org; Sun, 18 May 2003 23:35:53 -0400
Received: (qmail 26230 invoked from network); 19 May 2003 03:35:48 -0000
Received: from unknown (HELO sm1.hitachi-cable.co.jp) (172.31.2.40)
  by hc-gw2.hitachi-cable.co.jp with SMTP; 19 May 2003 03:35:48 -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 h4J3Gsc21345
	for <classpath@gnu.org>; Mon, 19 May 2003 12:16:54 +0900
Date: Mon, 19 May 2003 12:16:54 +0900
Message-Id: <200305190316.h4J3Gsc21345@sm1.hitachi-cable.co.jp>
Received: (qmail 11083 invoked from network); 19 May 2003 03:19:22 -0000
Received: from hjavd.htk.hitachi-cable.co.jp (HELO FLR-1DL9-011844)
	(172.18.51.29)  by 172.31.3.4 with SMTP; 19 May 2003 03:19:22 -0000
X-Mailer: cmail 2.60 on GNU Emacs 20.7.1 / Mule 4.1 (AOI)
From: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
To: classpath@gnu.org
In-reply-to: Ito Kazumitsu's message of "Mon, 19 May 03 11:53:24 JST"
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: [Bug Report] java.nio.CharBuffer: toString() returns empty string
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 19 May 2003 03:41:25 -0000


In message "[Bug Report] java.nio.CharBuffer: toString() returns empty string"
    on 03/05/19, Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp> writes:

> toString() of java.nio.CharBuffer should not change the buffer's position
> but the get() used in the toString() changes it.  So the output of
> toString() is always empty.

And my simple patch:

--- java/nio/CharBuffer.java.orig	Mon May 19 11:06:28 2003
+++ java/nio/CharBuffer.java	Mon May 19 12:14:52 2003
@@ -409,7 +409,9 @@
   public String toString ()
   {
     char[] data = new char [length ()];
+    int pos = position ();
     get (data, 0, length ());
+    position (pos);
     return new String (data, position (), length ());
   }
 



From MAILER-DAEMON Mon May 19 04:45:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19HgEs-0005le-00
	for mharc-classpath@gnu.org; Mon, 19 May 2003 04:43:22 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19HgEI-0005Pt-00
	for classpath@gnu.org; Mon, 19 May 2003 04:42:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19HgDi-00052i-00
	for classpath@gnu.org; Mon, 19 May 2003 04:42:12 -0400
Received: from mail2.ewetel.de ([212.6.122.18])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19HgCQ-0004n2-00
	for classpath@gnu.org; Mon, 19 May 2003 04:40:50 -0400
Received: from asterix.konqueror.de (dynadsl-080-228-69-037.ewetel.net
	[80.228.69.37])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id h4J8d7id028702;
	Mon, 19 May 2003 10:39:11 +0200 (MEST)
From: Michael Koch <konqueror@gmx.de>
To: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>, classpath@gnu.org
Date: Mon, 19 May 2003 10:41:15 +0200
User-Agent: KMail/1.5
References: <200305190258.h4J2wGl13782@sm1.hitachi-cable.co.jp>
In-Reply-To: <200305190258.h4J2wGl13782@sm1.hitachi-cable.co.jp>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200305191041.15301.konqueror@gmx.de>
X-CheckCompat: OK
Subject: Re: Possible bug? java.nio.Buffer
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 19 May 2003 08:43:20 -0000

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

Am Montag, 19. Mai 2003 04:58 schrieb Ito Kazumitsu:
> java/nio/Buffer.java has the following code:
>
>   Buffer (int capacity, int limit, int position, int mark)
>   {
>     if (capacity < 0)
>       throw new IllegalArgumentException ();
>
>     cap =3D capacity;
>     limit (limit);
>     position (position);
>
>     if (mark > 0)      ----(*)
>     {
>       if (mark > pos)
>         throw new IllegalArgumentException ();
>
>       this.mark =3D mark;
>     }
>   }
>
> Should'nt the line marked with (*) be "if (mark >=3D 0)" ?

=46ix commited to CVS HEAD.


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

iD8DBQE+yJirWSOgCCdjSDsRAvGfAJ4nROEHBCNUgNP6/CZTEEV/7Dk8ngCfXdSK
HnCmSsY8t/r0jeaCIOdxci4=3D
=3DsoXj
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Mon May 19 04:57:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 19HgSP-0000o6-00
	for mharc-classpath@gnu.org; Mon, 19 May 2003 04:57:21 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 19HgQN-0000BN-00
	for classpath@gnu.org; Mon, 19 May 2003 04:55:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 19HgNI-0007uD-00
	for classpath@gnu.org; Mon, 19 May 2003 04:52:07 -0400
Received: from mail0.ewetel.de ([212.6.122.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 19HgBu-0004gP-00
	for classpath@gnu.org; Mon, 19 May 2003 04:40:18 -0400
Received: from asterix.konqueror.de (dynadsl-080-228-69-037.ewetel.net
	[80.228.69.37])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id h4J8dVbm004473;
	Mon, 19 May 2003 10:39:36 +0200 (MEST)
From: Michael Koch <konqueror@gmx.de>
To: Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>, classpath@gnu.org
Date: Mon, 19 May 2003 10:41:40 +0200
User-Agent: KMail/1.5
References: <200305190316.h4J3Gsc21345@sm1.hitachi-cable.co.jp>
In-Reply-To: <200305190316.h4J3Gsc21345@sm1.hitachi-cable.co.jp>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200305191041.40312.konqueror@gmx.de>
X-CheckCompat: OK
Subject: Re: [Bug Report] java.nio.CharBuffer: toString() returns empty string
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 19 May 2003 08:57:20 -0000

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

Am Montag, 19. Mai 2003 05:16 schrieb Ito Kazumitsu:
> In message "[Bug Report] java.nio.CharBuffer: toString() returns
> empty string"
>
>     on 03/05/19, Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>=20
writes:
> > toString() of java.nio.CharBuffer should not change the buffer's
> > position but the get() used in the toString() changes it.  So the
> > output of toString() is always empty.
>
> And my simple patch:
>
> --- java/nio/CharBuffer.java.orig	Mon May 19 11:06:28 2003
> +++ java/nio/CharBuffer.java	Mon May 19 12:14:52 2003
> @@ -409,7 +409,9 @@
>    public String toString ()
>    {
>      char[] data =3D new char [length ()];
> +    int pos =3D position ();
>      get (data, 0, length ());
> +    position (pos);
>      return new String (data, position (), length ());
>    }

=46ix commited to CVS HEAD.


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

iD8DBQE+yJjEWSOgCCdjSDsRAtu6AJwK1YMc6MyUAL7OoC48ZCy9oXNoeACffq3O
qvfkPwgsJpqACPlppfIEXnY=3D
=3Dngop
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Tue May 20 08:50:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19I6ZJ-00052b-0S
	for mharc-classpath@gnu.org; Tue, 20 May 2003 08:50:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19I6YI-0004jz-9l
	for classpath@gnu.org; Tue, 20 May 2003 08:49:10 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19I6YF-0004fK-4i
	for classpath@gnu.org; Tue, 20 May 2003 08:49:08 -0400
Received: from serv19.segi.ulg.ac.be ([139.165.32.34])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19I6Xz-0004Em-Mk
	for classpath@gnu.org; Tue, 20 May 2003 08:48:51 -0400
Received: (qmail 27444 invoked from network); 20 May 2003 14:48:47 +0200
Received: from unknown (HELO localhost) ([139.165.77.48])
          (envelope-sender <arnaud.vandyck@ulg.ac.be>)
          by serv19.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
          for <cbj@gnu.org>; 20 May 2003 14:48:47 +0200
Date: Tue, 20 May 2003 14:48:47 +0200 (CEST)
Message-Id: <20030520.144847.104337032.arnaud.vandyck@ulg.ac.be>
To: cbj@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <m3vfwwzn64.fsf@lyta.haphazard.org>
References: <m3vfwwzn64.fsf@lyta.haphazard.org>
Organization: STE-Formations Informatiques, ULg
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-Mailer: Mew version 3.2 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
cc: classpath@gnu.org
Subject: separate .zip for some 'external' packages (was: Re: Next release
 criteria)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 20 May 2003 12:50:10 -0000

Brian Jones <cbj@gnu.org> wrote:
> Outstanding tasks before releasing Classpath 0.06.
[...]
> * Update classpathx jaxp, potentially create a separate .zip for
> these classes as suggested on the classpathx list
[...]

Hi Brian, Hi all classpath developpers (and users),

Yes, I suggested classpath to split some packages so I can package
them for Debian, but I don't know if it's a good thing and I want to
explain my ideas.

My first intention was to package gnujaxp for Debian because on my G3,
I only have a 1.3 version of the jdk and I'd like to try
gnujaxp. After that, I noticed that there is no jdbc extension nor jta
in jdk1.3. So, I'd like to have these packages in Debian so I can use
free reference api.

These api are in classpath, but they are 'embeded' (except gnujaxp) in
classpath and not available as separate parts. It's the same problem
with 'swing'.

There are different propositions regarding this situation:

1° Leave this as it is now. Because maybe it's not a good idea to have
   to deal with jar files as (I mean 'alors que' in french, sorry!) we
   can have the whole classes in one single zip and do not carre about
   'CLASSPATH' (the environment variable :-) )!

2° Separate the classpath project with classpath (core), and
   classpath-x (extensions) (jta, jdbc extension, xml, servlet and
   jsp, swing, etc.). And each new release of classpath is a
   combinaison of the core and the extensions (as in the jdk/jre). In
   that case, if someone only want free-swing, he can just pick the
   'free-swing.jar' file and that's all. So extensions can have a
   different release cycle than THE classpath project.

I'm sorry to respond with this delay and with this poor english. I
hope everyone understand what I meant. I do not know if a split of the
project is desirable? possible? technically complicated? enoy people?
or else. Let me know.

Thank you for your time and attention,

-- Arnaud Vandyck @ ste-fi, ULg



From MAILER-DAEMON Wed May 21 00:24:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19IL8k-0007aN-2u
	for mharc-classpath@gnu.org; Wed, 21 May 2003 00:23:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19IL8c-0007Fs-Rz
	for classpath@gnu.org; Wed, 21 May 2003 00:23:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19IL7r-0005h2-6d
	for classpath@gnu.org; Wed, 21 May 2003 00:23:23 -0400
Received: from ms-smtp-03.southeast.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19IL7R-0004eo-Hc
	for classpath@gnu.org; Wed, 21 May 2003 00:22:25 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	h4L4KpAg007807;	Wed, 21 May 2003 00:20:51 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 74C43BE6B4; Wed, 21 May 2003 00:22:22 -0400 (EDT)
Sender: cbj@haphazard.org
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
References: <m3vfwwzn64.fsf@lyta.haphazard.org>
	<20030520.144847.104337032.arnaud.vandyck@ulg.ac.be>
From: Brian Jones <cbj@gnu.org>
Date: 21 May 2003 00:22:22 -0400
In-Reply-To: <20030520.144847.104337032.arnaud.vandyck@ulg.ac.be>
Message-ID: <m3fzn9nd35.fsf@lyta.haphazard.org>
Lines: 53
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: separate .zip for some 'external' packages (was: Re: Next
 release criteria)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 21 May 2003 04:23:43 -0000

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

> Brian Jones <cbj@gnu.org> wrote:
> > Outstanding tasks before releasing Classpath 0.06.
> [...]
> > * Update classpathx jaxp, potentially create a separate .zip for
> > these classes as suggested on the classpathx list
> [...]
>=20
> Hi Brian, Hi all classpath developpers (and users),
>=20
> Yes, I suggested classpath to split some packages so I can package
> them for Debian, but I don't know if it's a good thing and I want to
> explain my ideas.
>=20
> My first intention was to package gnujaxp for Debian because on my G3,
> I only have a 1.3 version of the jdk and I'd like to try
> gnujaxp. After that, I noticed that there is no jdbc extension nor jta
> in jdk1.3. So, I'd like to have these packages in Debian so I can use
> free reference api.
>=20
> These api are in classpath, but they are 'embeded' (except gnujaxp) in
> classpath and not available as separate parts. It's the same problem
> with 'swing'.
>=20
> There are different propositions regarding this situation:
>=20
> 1=C2=B0 Leave this as it is now. Because maybe it's not a good idea to ha=
ve
>    to deal with jar files as (I mean 'alors que' in french, sorry!) we
>    can have the whole classes in one single zip and do not carre about
>    'CLASSPATH' (the environment variable :-) )!
>=20
> 2=C2=B0 Separate the classpath project with classpath (core), and
>    classpath-x (extensions) (jta, jdbc extension, xml, servlet and
>    jsp, swing, etc.). And each new release of classpath is a
>    combinaison of the core and the extensions (as in the jdk/jre). In
>    that case, if someone only want free-swing, he can just pick the
>    'free-swing.jar' file and that's all. So extensions can have a
>    different release cycle than THE classpath project.
>=20
> I'm sorry to respond with this delay and with this poor english. I
> hope everyone understand what I meant. I do not know if a split of the
> project is desirable? possible? technically complicated? enoy people?
> or else. Let me know.
>=20
> Thank you for your time and attention,

Thanks for the email.  Definitely easier to do nothing than to do
something.

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



From MAILER-DAEMON Wed May 21 00:28:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ILAp-0002WN-6V
	for mharc-classpath@gnu.org; Wed, 21 May 2003 00:25:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ILAY-000244-Oi
	for classpath@gnu.org; Wed, 21 May 2003 00:25:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19IL9p-0000Oi-Dk
	for classpath@gnu.org; Wed, 21 May 2003 00:25:24 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19IL9g-0000Cu-DS
	for classpath@gnu.org; Wed, 21 May 2003 00:24:44 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	h4L4JYal006049;	Wed, 21 May 2003 00:19:34 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id D6AB8BE6B4; Wed, 21 May 2003 00:24:42 -0400 (EDT)
Sender: cbj@haphazard.org
To: "Scott Gilbertson" <scottg@mantatest.com>
References: <0bf301c31968$9fa268a0$3c16a8c0@mantatest.com>
From: Brian Jones <cbj@gnu.org>
Date: 21 May 2003 00:24:42 -0400
In-Reply-To: <0bf301c31968$9fa268a0$3c16a8c0@mantatest.com>
Message-ID: <m3brxxncz9.fsf@lyta.haphazard.org>
Lines: 27
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: Question about implementing java.awt.Toolkit.createComponent
 for lightweights
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 21 May 2003 04:25:54 -0000

"Scott Gilbertson" <scottg@mantatest.com> writes:

> I submitted the following patch for GCJ, but there's been some discussion
> about whether it's OK.  I'm hoping someone on the Classpath project has
> either already thought about the issue or can provide an opinion.
>     http://gcc.gnu.org/ml/java-patches/2003-q2/msg00140.html
> 
> The patch implements java.awt.createComponent, so that lightweight
> components and containers work (as would presumably be required for swing).
> The above link includes a test class which works with the patch but not
> without it.
> 
> Questions:
> 
> Is it right for java.awt.Toolkit to implement createComponent, or should it
> return null and leave the implementation up to the platform-specific peers
> (GtkToolkit, XToolkit, etc.)?
> 
> If my patch is OK, should it go in Classpath first, rather than directly
> into GCJ?

Either is okay if it is accepted in one of them.  I thought I
responded to this on the gcj list some time back.

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



From MAILER-DAEMON Wed May 21 00:43:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ILR2-0000d9-Hb
	for mharc-classpath@gnu.org; Wed, 21 May 2003 00:42:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ILQn-0008B6-UN
	for classpath@gnu.org; Wed, 21 May 2003 00:42:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ILQ6-0006Lz-Fz
	for classpath@gnu.org; Wed, 21 May 2003 00:42:13 -0400
Received: from ms-smtp-02.southeast.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ILQ3-0006FO-EG
	for classpath@gnu.org; Wed, 21 May 2003 00:41:39 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	h4L4dANK008736;	Wed, 21 May 2003 00:39:10 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 3769ABE6B4; Wed, 21 May 2003 00:41:36 -0400 (EDT)
Sender: cbj@haphazard.org
To: tromey@redhat.com
References: <200304030549.h335nqQL096832@arch20m.dellroad.org>
	<3E8C49E6.4070500@uqam.ca> <m38yura1g6.fsf@lyta.haphazard.org>
	<3E8C7F61.2070000@uqam.ca> <87el4fjsq0.fsf@fleche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 21 May 2003 00:41:36 -0400
In-Reply-To: <87el4fjsq0.fsf@fleche.redhat.com>
Message-ID: <m3y910nc73.fsf@lyta.haphazard.org>
Lines: 24
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
cc: "Prof. Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
Subject: Re: Request for help + Re: java.lang.Class patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 21 May 2003 04:42:37 -0000

Tom Tromey <tromey@redhat.com> writes:

> >>>>> "Prof" == Prof Etienne M Gagnon <etienne.gagnon@uqam.ca> writes:
> 
> Etienne> In fact, if you have a pretty good idea of what you want, I
> Etienne> could develop a code indenter using my SableCC framework.
> 
> This would be very cool.
> 
> gdb's indentation style is defined by the output of a script that runs
> GNU indent with the blessed settings.  This seems like a great way to
> deal with this.  For one thing we wouldn't have to be as strict about
> checking patches for minor indentation problems -- we could just apply
> and reformat.
> 
> Tom
> 

So without any further ado I'd like to ask if Etienne has any time to
work on such an indenter for classpath/gcj to use?

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



From MAILER-DAEMON Wed May 21 10:04:29 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19IU0Q-0000Gf-7a
	for mharc-classpath@gnu.org; Wed, 21 May 2003 09:51:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ITxf-0007Yo-DT
	for classpath@gnu.org; Wed, 21 May 2003 09:48:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ITwV-0006s8-Kd
	for classpath@gnu.org; Wed, 21 May 2003 09:48:15 -0400
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ITpN-0003Wi-CK; Wed, 21 May 2003 09:40:21 -0400
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.12.9/8.12.1) with SMTP id h4LDPAmW003821;
	Wed, 21 May 2003 09:25:19 -0400 (EDT)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2003052109251911663
 ; Wed, 21 May 2003 09:25:19 -0400
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	h4LDL6v7002833;	Wed, 21 May 2003 09:21:06 -0400 (EDT)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
Received: from egagnon by localhost with local (Exim 3.36 #1 (Debian))
	id 19ITWl-0004lD-00; Wed, 21 May 2003 09:21:07 -0400
Date: Wed, 21 May 2003 09:21:07 -0400
To: Brian Jones <cbj@gnu.org>
Message-ID: <20030521132107.GB18261@perseval.info.uqam.ca>
References: <200304030549.h335nqQL096832@arch20m.dellroad.org>
	<3E8C49E6.4070500@uqam.ca> <m38yura1g6.fsf@lyta.haphazard.org>
	<3E8C7F61.2070000@uqam.ca> <87el4fjsq0.fsf@fleche.redhat.com>
	<m3y910nc73.fsf@lyta.haphazard.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <m3y910nc73.fsf@lyta.haphazard.org>
User-Agent: Mutt/1.5.4i
From: "Prof. Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
cc: tromey@redhat.com
cc: classpath@gnu.org
cc: "Prof. Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
Subject: Re: Request for help + Re: java.lang.Class patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 21 May 2003 13:51:44 -0000

Hi Brian & all,

On Wed, May 21, 2003 at 12:41:36AM -0400, Brian Jones wrote:
> Tom Tromey <tromey@redhat.com> writes:
> 
> > >>>>> "Prof" == Prof Etienne M Gagnon <etienne.gagnon@uqam.ca> writes:
> > 
> > Etienne> In fact, if you have a pretty good idea of what you want, I
> > Etienne> could develop a code indenter using my SableCC framework.
> > 
> > This would be very cool.
> > 
> > ...  For one thing we wouldn't have to be as strict about
> > checking patches for minor indentation problems -- we could just apply
> > and reformat.
> > 
> So without any further ado I'd like to ask if Etienne has any time to
> work on such an indenter for classpath/gcj to use?

Yes, I finally do!  So, I'll start working on it and I'll try to keep you
informed of my progress.

Etienne

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/



From MAILER-DAEMON Wed May 21 22:02:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19IfPO-0008SY-O5
	for mharc-classpath@gnu.org; Wed, 21 May 2003 22:02:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19IfPL-0008Rj-UL
	for classpath@gnu.org; Wed, 21 May 2003 22:02:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19IfCe-0004GM-3p
	for classpath@gnu.org; Wed, 21 May 2003 21:49:39 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Iemb-0003v9-Vf
	for classpath@gnu.org; Wed, 21 May 2003 21:22:14 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	h4M1H3al003007;	Wed, 21 May 2003 21:17:04 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id B6CF1BE6B4; Wed, 21 May 2003 21:22:01 -0400 (EDT)
Sender: cbj@haphazard.org
To: "Prof. Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
References: <200304030549.h335nqQL096832@arch20m.dellroad.org>
	<3E8C49E6.4070500@uqam.ca> <m38yura1g6.fsf@lyta.haphazard.org>
	<3E8C7F61.2070000@uqam.ca> <87el4fjsq0.fsf@fleche.redhat.com>
	<m3y910nc73.fsf@lyta.haphazard.org>
	<20030521132107.GB18261@perseval.info.uqam.ca>
From: Brian Jones <cbj@gnu.org>
Date: 21 May 2003 21:22:01 -0400
In-Reply-To: <20030521132107.GB18261@perseval.info.uqam.ca>
Message-ID: <m3el2rbwsm.fsf@lyta.haphazard.org>
Lines: 14
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
cc: tromey@redhat.com
Subject: Re: Request for help + Re: java.lang.Class patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 22 May 2003 02:02:16 -0000

"Prof. Etienne M. Gagnon" <etienne.gagnon@uqam.ca> writes:

> > So without any further ado I'd like to ask if Etienne has any time to
> > work on such an indenter for classpath/gcj to use?
> 
> Yes, I finally do!  So, I'll start working on it and I'll try to keep you
> informed of my progress.

Cool.  Do you need Tom or someone to post a definitive guide to the
GNU Java style?  I personally am not sure of all of it either.

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



From MAILER-DAEMON Wed May 21 22:18:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19IffQ-0005sT-8R
	for mharc-classpath@gnu.org; Wed, 21 May 2003 22:18:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19IffO-0005qN-0h
	for classpath@gnu.org; Wed, 21 May 2003 22:18:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Ifer-0005Vs-D6
	for classpath@gnu.org; Wed, 21 May 2003 22:18:49 -0400
Received: from [66.199.144.52] (helo=gandalf)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19IfeG-00059P-J2; Wed, 21 May 2003 22:17:41 -0400
Received: from gandalf ([127.0.0.1] helo=uqam.ca)
	by gandalf with esmtp (Exim 3.36 #1 (Debian))
	id 19IfeH-0000JQ-00; Wed, 21 May 2003 22:17:41 -0400
Message-ID: <3ECC3341.9020902@uqam.ca>
Date: Wed, 21 May 2003 22:17:37 -0400
From: Etienne Gagnon <etienne.gagnon@uqam.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.3) Gecko/20030430 Debian/1.3-5
X-Accept-Language: en
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
References: <200304030549.h335nqQL096832@arch20m.dellroad.org>
	<3E8C49E6.4070500@uqam.ca> <m38yura1g6.fsf@lyta.haphazard.org>
	<3E8C7F61.2070000@uqam.ca> <87el4fjsq0.fsf@fleche.redhat.com>
	<m3y910nc73.fsf@lyta.haphazard.org>
	<20030521132107.GB18261@perseval.info.uqam.ca>
	<m3el2rbwsm.fsf@lyta.haphazard.org>
In-Reply-To: <m3el2rbwsm.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: classpath@gnu.org
cc: tromey@redhat.com
Subject: Re: Request for help + Re: java.lang.Class patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 22 May 2003 02:18:50 -0000

> Cool.  Do you need Tom or someone to post a definitive guide to the
> GNU Java style?  I personally am not sure of all of it either.

This would effectively be helpful.  Regarding its implementation, I
don't promise to stick to it all the way, but we can discuss any
controversial issue once I have a prototype.

Thanks in advance,

Etienne


-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/




From MAILER-DAEMON Fri May 23 15:01:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19JHmf-0007Z4-PG
	for mharc-classpath@gnu.org; Fri, 23 May 2003 15:00:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19JHmB-0006vJ-IB
	for classpath@gnu.org; Fri, 23 May 2003 15:00:23 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19JHll-0006ah-Rs
	for classpath@gnu.org; Fri, 23 May 2003 14:59:58 -0400
Received: from [132.208.137.233] (helo=gandalf)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19JHjG-0004t3-BS; Fri, 23 May 2003 14:57:22 -0400
Received: from gandalf ([127.0.0.1] helo=uqam.ca)
	by gandalf with esmtp (Exim 3.36 #1 (Debian))
	id 19JHjI-0001pE-00; Fri, 23 May 2003 14:57:24 -0400
Message-ID: <3ECE6F14.5050500@uqam.ca>
Date: Fri, 23 May 2003 14:57:24 -0400
From: Etienne Gagnon <etienne.gagnon@uqam.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.3) Gecko/20030430 Debian/1.3-5
X-Accept-Language: en
MIME-Version: 1.0
To: classpath@gnu.org
References: <200304030549.h335nqQL096832@arch20m.dellroad.org>
	<3E8C49E6.4070500@uqam.ca> <m38yura1g6.fsf@lyta.haphazard.org>
	<3E8C7F61.2070000@uqam.ca> <87el4fjsq0.fsf@fleche.redhat.com>
	<m3y910nc73.fsf@lyta.haphazard.org>
	<20030521132107.GB18261@perseval.info.uqam.ca>
	<m3el2rbwsm.fsf@lyta.haphazard.org> <3ECC3341.9020902@uqam.ca>
In-Reply-To: <3ECC3341.9020902@uqam.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: tromey@redhat.com
cc: Brian Jones <cbj@gnu.org>
Subject: GNU Java Style
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 23 May 2003 19:00:51 -0000

Hi All,

Does anybody know where I can find the specification of the GNU Java
Style?  If yes, could you please tell me where to find it?

Thanks a lot,

Etienne

Etienne Gagnon wrote:
>> Cool.  Do you need Tom or someone to post a definitive guide to the
>> GNU Java style?  I personally am not sure of all of it either.
> 
> 
> This would effectively be helpful.  Regarding its implementation, I
> don't promise to stick to it all the way, but we can discuss any
> controversial issue once I have a prototype.
> 
> Thanks in advance,
> 
> Etienne
> 
> 


-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/




From MAILER-DAEMON Fri May 23 18:58:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19JLOc-00064O-96
	for mharc-classpath@gnu.org; Fri, 23 May 2003 18:52:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19JLM8-0004TM-4R
	for classpath@gnu.org; Fri, 23 May 2003 18:49:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19JLM5-0004QY-4Q
	for classpath@gnu.org; Fri, 23 May 2003 18:49:42 -0400
Received: from ms-smtp-03.southeast.rr.com ([24.93.67.84])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19JLM4-0004QP-Lj
	for classpath@gnu.org; Fri, 23 May 2003 18:49:40 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	h4NMm7Zo010649;	Fri, 23 May 2003 18:48:07 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id D02C6BE6B4; Fri, 23 May 2003 18:49:38 -0400 (EDT)
Sender: cbj@haphazard.org
To: Etienne Gagnon <etienne.gagnon@uqam.ca>
References: <200304030549.h335nqQL096832@arch20m.dellroad.org>
	<3E8C49E6.4070500@uqam.ca> <m38yura1g6.fsf@lyta.haphazard.org>
	<3E8C7F61.2070000@uqam.ca> <87el4fjsq0.fsf@fleche.redhat.com>
	<m3y910nc73.fsf@lyta.haphazard.org>
	<20030521132107.GB18261@perseval.info.uqam.ca>
	<m3el2rbwsm.fsf@lyta.haphazard.org> <3ECC3341.9020902@uqam.ca>
	<3ECE6F14.5050500@uqam.ca>
From: Brian Jones <cbj@gnu.org>
Date: 23 May 2003 18:49:38 -0400
In-Reply-To: <3ECE6F14.5050500@uqam.ca>
Message-ID: <m38ysxmg71.fsf@lyta.haphazard.org>
Lines: 52
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
cc: tromey@redhat.com
cc: classpath@gnu.org
Subject: Re: GNU Java Style
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 23 May 2003 22:52:16 -0000

--=-=-=

Etienne Gagnon <etienne.gagnon@uqam.ca> writes:

> Hi All,
> 
> Does anybody know where I can find the specification of the GNU Java
> Style?  If yes, could you please tell me where to find it?

Best characterized as subtly different from Gnu C-style,
http://www.gnu.org/prep/standards_23.html#SEC23

I will try here to start a list, it may be wrong.  I view Tom Tromey
as authoritative on the subject but not sure when he is back from
vacation.

Opening/closing brace for class and method is at the same level of
indent as the declaration.  All other braces are indented and content
between braces indented again.

Unnecessary braces can be removed, one line after an if, for, while as
examples.  

Space before method declaration parens, statement parens, braces,
method call parens.

Space after comma, semicolon, type cast.

Space around operators (assignment, logical, relational, bitwise,
mathematical, shift).

Implements and extends on separate lines, throws too.
Indent extends, implements, throws.
Apply deep indentation for method arguments.

If possible, generate specific imports (expand) over java.io.* type
imports.  Order by gnu, java, javax.

Blank line after package statement, last import statement, classes,
interfaces, methods.

Blank line before single-line comments, multi-line comments, javadoc
comments.

If more than 2 blank lines, trim to 2.

Wrap lines at 80 characters after assignments and before operators.
Wrap always before extends, implements, throws, and labels.

-- 
Brian Jones <cbj@gnu.org>


--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=test.java

/**
 * Comment.
 *
 * @see ...
 * @since 1.1
 */
public class foo
  extends bar
  implements fooI
{
  private String a;
  private Object[] values;

  /**
   * Comment
   */
  public final static String CONSTANT_VAR = "foo";

  public Object[] getValues ()
  {
    return values;
  }

  public void foobar (String s, int y)
    throws IOException, InvalidArgumentException,
	   SecurityException
  {
    printme (getValue (), getSecondValue (), thirdValue);
    while (!done)
      doSomething ();

    String[] values = 
      new String[] {"one", "two", "three", "four", "five", "six", "seven"};
    String[] names = {"Brian", "Tom", "Paul"};

    if ((a > b) && areallylongmethodthatgoesonandon (param1, param2, parm3,
						     parm4)
	&& validateMe ())
      doIf ();
    else
      {
	System.out.println ("");
      }

    for (int i = 0; i < 10; i++)
      System.out.println ("This is a great" + values[i]);

    String[] castvals = (String[]) getValues ();

    if ((LA (1) == '/') && ((LA (2) != '*') || (LA (2) == '*')))
      return;
    
    if (((1L << i) & l) != 0)
      System.out.print ("1");

    do
      {
	try
	  {
	    FileInputStream fstream = new FileInputStream ("tmp");
	  }
	catch (Throwable t)
	  {
	    doThrow ();
	  }
	finally
	  {
	    doFinally ();
	  }

	switch (a)
	  {
	  case 0:
	    doCase0 ();
	    break;
	    
	  case 1:
	    {
	      doCase1 ();
	      break;
	    }

	  default:
	    break;
	  }
      }
    while (true);
  }

  private void doSomething ()
  {
    int a = (3 + 4) * 12;
  }
}

--=-=-=--



From MAILER-DAEMON Fri May 23 19:28:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19JLxg-0001e3-KF
	for mharc-classpath@gnu.org; Fri, 23 May 2003 19:28:32 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19JLrS-0008EW-UK
	for classpath@gnu.org; Fri, 23 May 2003 19:22:06 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19JLqo-0007tn-1M
	for classpath@gnu.org; Fri, 23 May 2003 19:21:27 -0400
Received: from mail-out2.apple.com ([17.254.0.51])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19JLqQ-0006v0-Es; Fri, 23 May 2003 19:21:02 -0400
Received: from mailgate1.apple.com (A17-128-100-225.apple.com
	[17.128.100.225])
	by mail-out2.apple.com (8.12.9/8.12.9) with ESMTP id h4NNKvfR003251;
	Fri, 23 May 2003 16:20:57 -0700 (PDT)
Received: from scv2.apple.com (scv2.apple.com) by mailgate1.apple.com
	<T62623b1903118064e16f4@mailgate1.apple.com>;
	Fri, 23 May 2003 16:20:35 -0700
Received: from bothner.com (il0102a-dhcp124.apple.com [17.201.27.252])
	by scv2.apple.com (8.12.9/8.12.9) with ESMTP id h4NNKY7h019197;
	Fri, 23 May 2003 16:20:34 -0700 (PDT)
Message-ID: <3ECEAD0B.4090201@bothner.com>
Date: Fri, 23 May 2003 16:21:47 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
References: <200304030549.h335nqQL096832@arch20m.dellroad.org>
	<3E8C49E6.4070500@uqam.ca> <m38yura1g6.fsf@lyta.haphazard.org>
	<3E8C7F61.2070000@uqam.ca> <87el4fjsq0.fsf@fleche.redhat.com>
	<m3y910nc73.fsf@lyta.haphazard.org>
	<20030521132107.GB18261@perseval.info.uqam.ca>
	<m3el2rbwsm.fsf@lyta.haphazard.org> <3ECC3341.9020902@uqam.ca>
	<3ECE6F14.5050500@uqam.ca> <m38ysxmg71.fsf@lyta.haphazard.org>
In-Reply-To: <m38ysxmg71.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: classpath@gnu.org
cc: Etienne Gagnon <etienne.gagnon@uqam.ca>
Subject: Re: GNU Java Style
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 23 May 2003 23:28:30 -0000

Brian Jones wrote:

> Space before method declaration parens, statement parens, braces,
> method call parens.

I think the consensus was space before method declaration parens,
but not before method call parents.  The alternative is
   foo.bar (arg1).baz (arg2)
which i think groups expressions in a misleading way.  So I prefer
   foo.bar(arg1).baz(arg2)
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/





From MAILER-DAEMON Sat May 24 00:39:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19JQoD-0004F8-45
	for mharc-classpath@gnu.org; Sat, 24 May 2003 00:39:05 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19JQo9-0004AV-Ue
	for classpath@gnu.org; Sat, 24 May 2003 00:39:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19JQo7-00043m-3Y
	for classpath@gnu.org; Sat, 24 May 2003 00:38:59 -0400
Received: from pop2a.ripco.com ([209.100.227.25])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19JQo6-00043K-QE
	for classpath@gnu.org; Sat, 24 May 2003 00:38:58 -0400
Received: (from arenn@localhost)
	by pop2a.ripco.com (8.11.0/8.11.0) id h4O4dJL07759
	for classpath@gnu.org; Fri, 23 May 2003 23:39:19 -0500 (CDT)
Date: Fri, 23 May 2003 23:39:19 -0500
From: "Aaron M. Renn" <arenn@urbanophile.com>
To: classpath@gnu.org
Message-ID: <20030524043919.GA7736@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.4i
Organization: GNU's Not Unix!
Subject: DatagramSocketImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 24 May 2003 04:39:02 -0000

Looking in DatagramSocketImpl.java, the method declarations from SocketOptions
are repeated.  A note says this is a workaround to a gcj bug.  Is that
bug still out there or can those methods be nuked?

-- 
Aaron M. Renn (arenn@urbanophile.com) http://www.urbanophile.com/arenn/




From MAILER-DAEMON Sat May 24 03:40:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19JTe2-0000Ru-1D
	for mharc-classpath@gnu.org; Sat, 24 May 2003 03:40:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19JTdd-0007x8-VS
	for classpath@gnu.org; Sat, 24 May 2003 03:40:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19JTdP-0007Cq-94
	for classpath@gnu.org; Sat, 24 May 2003 03:40:09 -0400
Received: from mail2.ewetel.de ([212.6.122.18])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19JTd9-0006ah-IE
	for classpath@gnu.org; Sat, 24 May 2003 03:39:51 -0400
Received: from asterix.konqueror.de (dynadsl-080-228-69-019.ewetel.net
	[80.228.69.19])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id h4O7dlUq000152;
	Sat, 24 May 2003 09:39:48 +0200 (MEST)
From: Michael Koch <konqueror@gmx.de>
To: "Aaron M. Renn" <arenn@urbanophile.com>, classpath@gnu.org
Date: Sat, 24 May 2003 09:42:00 +0200
User-Agent: KMail/1.5
References: <20030524043919.GA7736@urbanophile.com>
In-Reply-To: <20030524043919.GA7736@urbanophile.com>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200305240942.04254.konqueror@gmx.de>
X-CheckCompat: OK
Subject: Re: DatagramSocketImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 24 May 2003 07:40:43 -0000

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

Am Samstag, 24. Mai 2003 06:39 schrieb Aaron M. Renn:
> Looking in DatagramSocketImpl.java, the method declarations from
> SocketOptions are repeated.  A note says this is a workaround to a
> gcj bug.  Is that bug still out there or can those methods be
> nuked?

I think the consensus was to wait until GCJ 3.3 is released because=20
3,2.x still had the bug of this miranda methods. IMO we can remove=20
them in classpath adn libgcj now but we should wait for Tom's=20
comeback and approval.


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

iD8DBQE+zyJLWSOgCCdjSDsRAoFfAKCN3ztRlrULQAjIPy//DJqH6TDI0wCfYhAA
6gGVItCKgC7igU0ZBCKarCw=3D
=3D/ja/
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Sat May 24 08:37:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19JYGM-0001MK-Gv
	for mharc-classpath@gnu.org; Sat, 24 May 2003 08:36:38 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19IWue-0005Y3-7S
	for classpath@gnu.org; Wed, 21 May 2003 12:58:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19IWu7-0005M1-7X
	for classpath@gnu.org; Wed, 21 May 2003 12:57:58 -0400
Received: from mail.echo-on.net ([205.189.151.1] helo=mail.eol.ca)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19IWkg-0002aO-8N; Wed, 21 May 2003 12:47:42 -0400
Received: from mantatest.com (static-1M-b1-60.highspeed.eol.ca [64.56.237.60])
	by mail.eol.ca (Postfix) with SMTP
	id B083EBC1E5; Wed, 21 May 2003 12:58:04 -0400 (EDT)
Received: from scott ([192.168.22.60]) by mantatest.com ( IA Mail Server
	Version: 3.2.4. Build: 1096 ) ) ; Wed, 21 May 2003 12:43:18 -0400
Message-ID: <002d01c31fb7$fbfacde0$3c16a8c0@mantatest.com>
From: "Scott Gilbertson" <scottg@mantatest.com>
To: "Brian Jones" <cbj@gnu.org>
References: <0bf301c31968$9fa268a0$3c16a8c0@mantatest.com>
	<m3brxxncz9.fsf@lyta.haphazard.org>
Date: Wed, 21 May 2003 12:42:36 -0400
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-Mailman-Approved-At: Sat, 24 May 2003 08:36:36 -0400
cc: classpath@gnu.org
Subject: Re: Question about implementing java.awt.Toolkit.createComponent
 for lightweights
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 21 May 2003 16:58:54 -0000

> "Scott Gilbertson" <scottg@mantatest.com> writes:
>
> > I submitted the following patch for GCJ, but there's been some
discussion
> > about whether it's OK.  I'm hoping someone on the Classpath project has
> > either already thought about the issue or can provide an opinion.
> >     http://gcc.gnu.org/ml/java-patches/2003-q2/msg00140.html
> >
> > The patch implements java.awt.createComponent, so that lightweight
> > components and containers work (as would presumably be required for
swing).
> > The above link includes a test class which works with the patch but not
> > without it.
> >
> > Questions:
> >
> > Is it right for java.awt.Toolkit to implement createComponent, or should
it
> > return null and leave the implementation up to the platform-specific
peers
> > (GtkToolkit, XToolkit, etc.)?
> >
> > If my patch is OK, should it go in Classpath first, rather than directly
> > into GCJ?
>
> Either is okay if it is accepted in one of them.  I thought I
> responded to this on the gcj list some time back.
> Brian Jones

So far the patch has not been accepted.  See the java-patches list:
http://gcc.gnu.org/ml/java-patches/2003-q2/msg00140.html
http://gcc.gnu.org/ml/java-patches/2003-q2/msg00197.html
http://gcc.gnu.org/ml/java-patches/2003-q2/msg00221.html

I was unable to descern from your earlier comments whether or not you agree
with the approach taken in the patch.  Maybe I'm just being thick, but I'm
really looking for "yes, this patch should go in" or "no, it shouldn't go
in, and here's why".  To continue the previous thread, here's your most
recent comment on the subject from the java list:

> It's the same peer, i.e. we don't implement a peer specifically for
> Container, the one provided for Component does just fine.  The extra
> functionality of maintaining a sequence of added children is just that
> and not part of the peer.

This sounds like a description of what my patch does, except that Container
relies on Container-specific peer methods, even without my patch, and
therefore can't use ComponentPeer.  The patch makes
java.awt.Toolkit.createComponent return a gnu.java.awt.GLightweightPeer,
which I've modified so it will work for both Component and Container by
implementing both peer interfaces.  In the libjava code (I'm assuming
Classpath is the same), Container requires a ContainerPeer and Component
requires a ComponentPeer, which aren't (without my patch) the same thing.
The ContainerPeer interface has methods for insets and layout, which aren't
required by Component.  In the heavyweight case the ContainerPeer methods
are implemented for the specific platforms so that you can, for example, use
native methods to allow the underlying windowing system to manage insets.
The ContainerPeer methods are therefore necessary.

Tom Tromey's main objection to the patch seems to be his assertion that it
should be toolkit-specific (i.e. it should go in xlib, gtk, etc. - see
http://gcc.gnu.org/ml/java-patches/2003-q2/msg00197.html).  I disagree,
because I claim lightweights are supposed to be platform-independent,
relying exclusively on public members of the heavyweight component classes
to do the platform-specific work.  So the real question is whether it's OK
for the combined Component/Container lightweight peer to be defined as I've
done, or whether it needs to be made platform-specific.  If it's OK as-is,
then I need to convince Tom of that so he'll accept the patch.  If not, I
need to change it.  Which is it, in your opinion?

Thanks.




From MAILER-DAEMON Mon May 26 15:06:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19KNIw-00069Q-Db
	for mharc-classpath@gnu.org; Mon, 26 May 2003 15:06:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19KNIi-0005sS-Mz
	for classpath@gnu.org; Mon, 26 May 2003 15:06:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19KNIa-0005eS-Rb
	for classpath@gnu.org; Mon, 26 May 2003 15:06:21 -0400
Received: from smtp-out.comcast.net ([24.153.64.109])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19KNIL-0005Rb-4E
	for classpath@gnu.org; Mon, 26 May 2003 15:06:05 -0400
Received: from byu.net (c-67-164-248-149.client.comcast.net [67.164.248.149])
 by mtaout05.icomcast.net
 (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003))
 with ESMTP id <0HFI008EDD1J6R@mtaout05.icomcast.net> for classpath@gnu.org;
 Mon, 26 May 2003 15:05:44 -0400 (EDT)
Date: Mon, 26 May 2003 13:00:40 -0600
From: Eric Blake <ebb9@byu.net>
To: Classpath list <classpath@gnu.org>
Message-id: <3ED26458.3030902@byu.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20030208
 Netscape/7.02
Subject: binary files in CVS
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 26 May 2003 19:06:39 -0000

The following files in CVS are binary, but were not checked in with the
proper -k switches.  Therefore, every time I do a CVS update on my
windows box, these files try to merge, and fail because of \n\r issues.
   I'm not sure I know how to fix it - can someone else do it?

gnu/javax/swing/plaf/gtk/icons/Error.png
gnu/javax/swing/plaf/gtk/icons/Inform.png
gnu/javax/swing/plaf/gtk/icons/JavaCup.png
gnu/javax/swing/plaf/gtk/icons/JavaCupLarge.png
gnu/javax/swing/plaf/gtk/icons/Question.png
gnu/javax/swing/plaf/gtk/icons/TreeClosed.png
gnu/javax/swing/plaf/gtk/icons/TreeLeaf-normal.png
gnu/javax/swing/plaf/gtk/icons/TreeLeaf.png
gnu/javax/swing/plaf/gtk/icons/TreeOpen.png
gnu/javax/swing/plaf/gtk/icons/Warn.png
gnu/javax/swing/plaf/gtk/icons/file-folders.png
gnu/javax/swing/plaf/gtk/icons/slider.png

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

Eric Blake             ebb9@byu.net




From MAILER-DAEMON Mon May 26 19:22:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19KRIh-0008Au-4r
	for mharc-classpath@gnu.org; Mon, 26 May 2003 19:22:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19KRIM-0007vt-0v
	for classpath@gnu.org; Mon, 26 May 2003 19:22:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19KRI0-0007jU-Ab
	for classpath@gnu.org; Mon, 26 May 2003 19:22:00 -0400
Received: from one-point.com ([216.234.116.146] helo=ops2.one-point.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19KRHC-0007a8-MY
	for classpath@gnu.org; Mon, 26 May 2003 19:21:10 -0400
Received: from localhost (jsturm@localhost)
	by ops2.one-point.com (8.11.6/8.11.6) with ESMTP id h4QNLAt16205;
	Mon, 26 May 2003 19:21:10 -0400
Date: Mon, 26 May 2003 19:21:09 -0400 (EDT)
From: Jeff Sturm <jsturm@one-point.com>
To: Eric Blake <ebb9@byu.net>
In-Reply-To: <3ED26458.3030902@byu.net>
Message-ID: <Pine.LNX.4.44.0305261919340.16053-100000@ops2.one-point.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: Classpath list <classpath@gnu.org>
Subject: Re: binary files in CVS
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 26 May 2003 23:22:41 -0000

On Mon, 26 May 2003, Eric Blake wrote:
> The following files in CVS are binary, but were not checked in with the
> proper -k switches.  Therefore, every time I do a CVS update on my
> windows box, these files try to merge, and fail because of \n\r issues.
>    I'm not sure I know how to fix it - can someone else do it?

cvs admin -kb *.png

Jeff




From MAILER-DAEMON Fri May 30 07:43:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19LiIh-0001Y9-MF
	for mharc-classpath@gnu.org; Fri, 30 May 2003 07:43:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19LiHL-00012p-JX
	for classpath@gnu.org; Fri, 30 May 2003 07:42:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19LiE4-0000DU-A2
	for classpath@gnu.org; Fri, 30 May 2003 07:39:13 -0400
Received: from 62-177-154-234.bbeyond.nl ([62.177.154.234]
	helo=LEMBU.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19LiDJ-0008JF-4T
	for classpath@gnu.org; Fri, 30 May 2003 07:38:25 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----_=_NextPart_001_01C3269F.44A54726"
Date: Fri, 30 May 2003 13:33:18 +0200
Message-ID: <5C38B761F205B54BA59FF611A65C6248011A05@lembu.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6803.0
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: DatagramSocket patch
Thread-Index: AcMmn+4Yjxs2K6UIS7aSGTKrUS1GSA==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
cc: rupp@homer.aicas.com
Subject: DatagramSocket patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 30 May 2003 11:43:57 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C3269F.44A54726
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

Attached is a patch for a bug introduced with the fix on 2003-04-30.

Thanks.

Regards,
Jeroen

------_=_NextPart_001_01C3269F.44A54726
Content-Type: application/octet-stream;
	name="DatagramSocket.patch"
Content-Transfer-Encoding: base64
Content-Description: DatagramSocket.patch
Content-Disposition: attachment;
	filename="DatagramSocket.patch"

SW5kZXg6IGphdmEvbmV0L0RhdGFncmFtU29ja2V0LmphdmENCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxl
OiAvY3Zzcm9vdC9jbGFzc3BhdGgvY2xhc3NwYXRoL2phdmEvbmV0L0RhdGFncmFtU29ja2V0Lmph
dmEsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjI1DQpkaWZmIC11IC1yMS4yNSBEYXRhZ3JhbVNv
Y2tldC5qYXZhDQotLS0gamF2YS9uZXQvRGF0YWdyYW1Tb2NrZXQuamF2YQkyNCBNYXkgMjAwMyAw
NDozNzoxOCAtMDAwMAkxLjI1DQorKysgamF2YS9uZXQvRGF0YWdyYW1Tb2NrZXQuamF2YQkzMCBN
YXkgMjAwMyAxMTozNzozMCAtMDAwMA0KQEAgLTE2NywyOCArMTY3LDI4IEBADQogICAgIGltcGwg
PSBuZXcgUGxhaW5EYXRhZ3JhbVNvY2tldEltcGwoKTsNCiAgICAgaW1wbC5jcmVhdGUoKTsNCiAN
Ci0gICAgaWYgKGxhZGRyICE9IG51bGwpDQorICAgIGlmIChsYWRkciA9PSBudWxsKQ0KKwlsYWRk
ciA9IEluZXRBZGRyZXNzLkFOWV9JRjsNCisNCisgICAgdHJ5DQogICAgICAgew0KLSAgICAgICAg
dHJ5DQotICAgICAgICAgIHsNCi0gICAgICAgICAgICBsb2NhbEFkZHIgPSBsYWRkcjsNCi0gICAg
ICAgICAgICBpbXBsLmJpbmQocG9ydCwgbGFkZHIpOw0KLSAgICAgICAgICB9DQotICAgICAgICBj
YXRjaCAoU29ja2V0RXhjZXB0aW9uIGV4Y2VwdGlvbikNCi0gICAgICAgICAgew0KLSAgICAgICAg
ICAgIGltcGwuY2xvc2UoKTsNCi0gICAgICAgICAgICB0aHJvdyBleGNlcHRpb247DQotICAgICAg
ICAgIH0NCi0gICAgICAgIGNhdGNoIChSdW50aW1lRXhjZXB0aW9uIGV4Y2VwdGlvbikNCi0gICAg
ICAgICAgew0KLSAgICAgICAgICAgIGltcGwuY2xvc2UoKTsNCi0gICAgICAgICAgICB0aHJvdyBl
eGNlcHRpb247DQotICAgICAgICAgIH0NCi0gICAgICAgIGNhdGNoIChFcnJvciBlcnJvcikNCi0g
ICAgICAgICAgew0KLSAgICAgICAgICAgIGltcGwuY2xvc2UoKTsNCi0gICAgICAgICAgICB0aHJv
dyBlcnJvcjsNCi0gICAgICAgICAgfQ0KKyAgICAgICAgbG9jYWxBZGRyID0gbGFkZHI7DQorICAg
ICAgICBpbXBsLmJpbmQocG9ydCwgbGFkZHIpOw0KKyAgICAgIH0NCisgICAgY2F0Y2ggKFNvY2tl
dEV4Y2VwdGlvbiBleGNlcHRpb24pDQorICAgICAgew0KKyAgICAgICAgaW1wbC5jbG9zZSgpOw0K
KyAgICAgICAgdGhyb3cgZXhjZXB0aW9uOw0KKyAgICAgIH0NCisgICAgY2F0Y2ggKFJ1bnRpbWVF
eGNlcHRpb24gZXhjZXB0aW9uKQ0KKyAgICAgIHsNCisgICAgICAgIGltcGwuY2xvc2UoKTsNCisg
ICAgICAgIHRocm93IGV4Y2VwdGlvbjsNCisgICAgICB9DQorICAgIGNhdGNoIChFcnJvciBlcnJv
cikNCisgICAgICB7DQorICAgICAgICBpbXBsLmNsb3NlKCk7DQorICAgICAgICB0aHJvdyBlcnJv
cjsNCiAgICAgICB9DQogICB9DQogDQo=

------_=_NextPart_001_01C3269F.44A54726--



From MAILER-DAEMON Fri May 30 08:54:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19LjM1-0003ae-Rr
	for mharc-classpath@gnu.org; Fri, 30 May 2003 08:51:29 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19LjIn-0001kM-LE
	for classpath@gnu.org; Fri, 30 May 2003 08:48:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19LjI5-0001Wr-Nq
	for classpath@gnu.org; Fri, 30 May 2003 08:47:26 -0400
Received: from mail0.ewetel.de ([212.6.122.10])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19LjGi-0001JO-1M
	for classpath@gnu.org; Fri, 30 May 2003 08:46:00 -0400
Received: from asterix.konqueror.de (dynadsl-080-228-80-241.ewetel.net
	[80.228.80.241])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id h4UCjoGY019484;
	Fri, 30 May 2003 14:45:51 +0200 (MEST)
From: Michael Koch <konqueror@gmx.de>
To: "Jeroen Frijters" <jeroen@sumatra.nl>, <classpath@gnu.org>
Date: Fri, 30 May 2003 14:48:24 +0200
User-Agent: KMail/1.5
References: <5C38B761F205B54BA59FF611A65C6248011A05@lembu.sumatrasoftware.com>
In-Reply-To: <5C38B761F205B54BA59FF611A65C6248011A05@lembu.sumatrasoftware.com>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200305301448.27800.konqueror@gmx.de>
X-CheckCompat: OK
cc: rupp@homer.aicas.com
Subject: Re: DatagramSocket patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 30 May 2003 12:51:27 -0000

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

Am Freitag, 30. Mai 2003 13:33 schrieb Jeroen Frijters:
> Hi,
>
> Attached is a patch for a bug introduced with the fix on
> 2003-04-30.
>
> Thanks.

Thanks for reporting and writing the patch. I commited it.

Please send a valid ChangeLog entry when writing your next patch ;-)


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

iD8DBQE+11MbWSOgCCdjSDsRAjCCAJ9JY99GPgG4Yi5mP8vAi5VK3eoIrQCeNuhX
dWNrzed6Z7SkjJMUtDOzGtc=3D
=3DXVA7
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Fri May 30 12:43:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Lmya-0006jE-Nz
	for mharc-classpath@gnu.org; Fri, 30 May 2003 12:43:32 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19LmyY-0006id-Mt
	for classpath@gnu.org; Fri, 30 May 2003 12:43:30 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Lmte-0004wH-Cj
	for classpath@gnu.org; Fri, 30 May 2003 12:38:27 -0400
Received: from [62.221.15.20] (helo=ns1.irishbroadband.ie)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Lmte-0004sq-2A
	for classpath@gnu.org; Fri, 30 May 2003 12:38:26 -0400
Received: from [192.168.2.54] (unknown [195.26.13.136])
	by ns1.irishbroadband.ie (Postfix) with ESMTP id BD70D12EDBA
	for <classpath@gnu.org>; Fri, 30 May 2003 17:38:19 +0100 (IST)
From: John Leuner <jewel@pixie.co.za>
To: classpath@gnu.org
In-Reply-To: <E19Llgo-0006iH-00@r063144.stusta.swh.mhn.de>
References: <E19Llgo-0006iH-00@r063144.stusta.swh.mhn.de>
Content-Type: text/plain
Organization: 
Message-Id: <1054312675.2357.11.camel@cmalu>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.4 
Date: 30 May 2003 17:37:55 +0100
Content-Transfer-Encoding: 7bit
Subject: classpath: build failure on m68k
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 30 May 2003 16:43:31 -0000

I received a bug report from a Debian build daemon that could not build
classpath on the m68k architecture.

Classpath builds on other architectures, so it's probably m68k specific.

The problem seems to be with the build scripts however, can someone take
a quick look at the output below and take a guess at what is
missing/wrong?

It appears to be while executing sh, but there seem to be many cases
where sh is invoked.

John Leuner

On Fri, 2003-05-30 at 16:21, Adrian Bunk wrote:
> Package: classpath
> Version: 0.05-1
> Severity: serious
> 
> 
> According to buildd.debian.org building classpath fails with the
> following error on m68k:
> 
> <--  snip  -->
> 
> ...
> Making all in doc
> make[2]: Entering directory `/build/buildd/classpath-0.05/doc'
> Making all in api
> /bin/sh: line 1: cd: ../../external/jaxp/source: No such file or directory
> make[3]: Entering directory `/build/buildd/classpath-0.05/doc/api'
> make[3]: Nothing to be done for `all'.   
> ...
> make[2]: Entering directory `/build/buildd/classpath-0.05/doc'
> Making install in api
> /bin/sh: line 1: cd: ../../external/jaxp/source: No such file or directory
> make[3]: Entering directory `/build/buildd/classpath-0.05/doc/api'
> /bin/sh: line 1: cd: ../../external/jaxp/source: No such file or directory
> make[4]: Entering directory `/build/buildd/classpath-0.05/doc/api'
> make[4]: Nothing to be done for `install-exec-am'.
> /bin/sh ../../mkinstalldirs /build/buildd/classpath-0.05/debian/classpath/usr/s
> hare/classpath/api
> mkdir -p -- /build/buildd/classpath-0.05/debian/classpath/usr/share/classpath/a
> pi
> /bin/sh: -c: line 1: unexpected EOF while looking for matching `''
> /bin/sh: -c: line 2: syntax error: unexpected end of file
> make[4]: *** [install-data-local] Error 2
> make[4]: Leaving directory `/build/buildd/classpath-0.05/doc/api'
> make[3]: *** [install-am] Error 2
> make[3]: Leaving directory `/build/buildd/classpath-0.05/doc/api'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/classpath-0.05/doc'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/build/buildd/classpath-0.05'
> make: *** [install] Error 2
> 
> <--  snip  -->
> 
> 
> 
-- 
John Leuner <jewel@pixie.co.za>




From MAILER-DAEMON Sat May 31 10:46:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19M7d4-00054C-EL
	for mharc-classpath@gnu.org; Sat, 31 May 2003 10:46:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19M7cn-0004Ym-Dl
	for classpath@gnu.org; Sat, 31 May 2003 10:46:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19M7ce-00047D-Cl
	for classpath@gnu.org; Sat, 31 May 2003 10:46:17 -0400
Received: from ms-smtp-02.southeast.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19M7cX-0003ik-CV
	for classpath@gnu.org; Sat, 31 May 2003 10:46:09 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	h4VEhIZh012367;	Sat, 31 May 2003 10:43:28 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 146EDBE6B4; Sat, 31 May 2003 10:45:51 -0400 (EDT)
Sender: cbj@haphazard.org
To: John Leuner <jewel@pixie.co.za>
References: <E19Llgo-0006iH-00@r063144.stusta.swh.mhn.de>
	<1054312675.2357.11.camel@cmalu>
From: Brian Jones <cbj@gnu.org>
Date: 31 May 2003 10:45:50 -0400
In-Reply-To: <1054312675.2357.11.camel@cmalu>
Message-ID: <m3wug7kwdd.fsf@lyta.haphazard.org>
Lines: 82
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: classpath: build failure on m68k
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
 <classpath.gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 31 May 2003 14:46:40 -0000

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

> I received a bug report from a Debian build daemon that could not build
> classpath on the m68k architecture.
> 
> Classpath builds on other architectures, so it's probably m68k specific.
> 
> The problem seems to be with the build scripts however, can someone take
> a quick look at the output below and take a guess at what is
> missing/wrong?
> 
> It appears to be while executing sh, but there seem to be many cases
> where sh is invoked.
> 
> John Leuner

Check to see if 'bash' is /bin/sh on this box.  I suspect the
commands for install-data-local are not friendly to the shell in use.
Quick fix may be to use `SHELL=/bin/bash make install' instead.

Brian

> 
> On Fri, 2003-05-30 at 16:21, Adrian Bunk wrote:
> > Package: classpath
> > Version: 0.05-1
> > Severity: serious
> > 
> > 
> > According to buildd.debian.org building classpath fails with the
> > following error on m68k:
> > 
> > <--  snip  -->
> > 
> > ...
> > Making all in doc
> > make[2]: Entering directory `/build/buildd/classpath-0.05/doc'
> > Making all in api
> > /bin/sh: line 1: cd: ../../external/jaxp/source: No such file or directory
> > make[3]: Entering directory `/build/buildd/classpath-0.05/doc/api'
> > make[3]: Nothing to be done for `all'.   
> > ...
> > make[2]: Entering directory `/build/buildd/classpath-0.05/doc'
> > Making install in api
> > /bin/sh: line 1: cd: ../../external/jaxp/source: No such file or directory
> > make[3]: Entering directory `/build/buildd/classpath-0.05/doc/api'
> > /bin/sh: line 1: cd: ../../external/jaxp/source: No such file or directory
> > make[4]: Entering directory `/build/buildd/classpath-0.05/doc/api'
> > make[4]: Nothing to be done for `install-exec-am'.
> > /bin/sh ../../mkinstalldirs /build/buildd/classpath-0.05/debian/classpath/usr/s
> > hare/classpath/api
> > mkdir -p -- /build/buildd/classpath-0.05/debian/classpath/usr/share/classpath/a
> > pi
> > /bin/sh: -c: line 1: unexpected EOF while looking for matching `''
> > /bin/sh: -c: line 2: syntax error: unexpected end of file
> > make[4]: *** [install-data-local] Error 2
> > make[4]: Leaving directory `/build/buildd/classpath-0.05/doc/api'
> > make[3]: *** [install-am] Error 2
> > make[3]: Leaving directory `/build/buildd/classpath-0.05/doc/api'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory `/build/buildd/classpath-0.05/doc'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/build/buildd/classpath-0.05'
> > make: *** [install] Error 2
> > 
> > <--  snip  -->
> > 
> > 
> > 
> -- 
> John Leuner <jewel@pixie.co.za>
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
> 

-- 
Brian Jones <cbj@gnu.org>



