From MAILER-DAEMON Tue Jul 01 05:52:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19XHmX-0005JH-7O
	for mharc-classpath@gnu.org; Tue, 01 Jul 2003 05:50:37 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19XHgr-0003wP-NO
	for classpath@gnu.org; Tue, 01 Jul 2003 05:44:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19XHgg-0003lP-SC
	for classpath@gnu.org; Tue, 01 Jul 2003 05:44:37 -0400
Received: from kknd.mweb.co.za ([196.2.45.79])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19XHgB-0003Bp-1Z
	for classpath@gnu.org; Tue, 01 Jul 2003 05:44:03 -0400
Received: from pta-dial-196-31-187-157.mweb.co.za ([196.31.187.157]:32856)
	by kknd.mweb.co.za with esmtp (Exim 4.01)
	id 19XHYg-0003Eb-00; Tue, 01 Jul 2003 11:36:19 +0200
From: John Leuner <jewel@pixie.co.za>
To: Steven Poelmans <steven.poelmans@treeleaf.be>
In-Reply-To: <1056048731.1324.13.camel@Luna>
References: <1056048731.1324.13.camel@Luna>
Content-Type: text/plain
Organization: 
Message-Id: <1057052473.819.24.camel@cmalu>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.4 
Date: 01 Jul 2003 10:41:13 +0100
Content-Transfer-Encoding: 7bit
cc: classpath@gnu.org
Subject: Re: developping
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, 01 Jul 2003 09:50:35 -0000

On Thu, 2003-06-19 at 19:52, Steven Poelmans wrote:
> Hello,
> 
> I wondered how I give something back to the Free Software community. I
> saw the GNU Tasklist and wondered if I could be a part of writing
> modules for the GNU ClassPath.
> I have 4 years of programming experience in Java and other languages
> like Perl, C, .
> 

Hi Steven

You are very welcome to help. To get started try and compile classpath
and then run some programs with one of the Free JVMs. 

We can use help with writing new code, fixing existing code and writing
regression tests (mauve tests) to catch future bugs.

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




From MAILER-DAEMON Tue Jul 01 06:04:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19XHy8-0008TS-O1
	for mharc-classpath@gnu.org; Tue, 01 Jul 2003 06:02:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19XHxy-0008D6-Kw
	for classpath@gnu.org; Tue, 01 Jul 2003 06:02:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19XHxv-000897-FH
	for classpath@gnu.org; Tue, 01 Jul 2003 06:02:24 -0400
Received: from mail0.ewetel.de ([212.6.122.10])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19XHxs-00085G-0b
	for classpath@gnu.org; Tue, 01 Jul 2003 06:02:20 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-75-132.ewetel.net
	[80.228.75.132])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id h61A2EwN002023;
	Tue, 1 Jul 2003 12:02:15 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 19XHxm-00034U-00; Tue, 01 Jul 2003 12:02:14 +0200
From: Michael Koch <konqueror@gmx.de>
To: John Leuner <jewel@pixie.co.za>,
   Steven Poelmans <steven.poelmans@treeleaf.be>
Date: Tue, 1 Jul 2003 12:06:16 +0200
User-Agent: KMail/1.5.2
References: <1056048731.1324.13.camel@Luna> <1057052473.819.24.camel@cmalu>
In-Reply-To: <1057052473.819.24.camel@cmalu>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200307011206.16938.konqueror@gmx.de>
X-CheckCompat: OK
cc: classpath@gnu.org
Subject: Re: developping
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, 01 Jul 2003 10:02:35 -0000

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

Am Dienstag, 1. Juli 2003 11:41 schrieb John Leuner:
> On Thu, 2003-06-19 at 19:52, Steven Poelmans wrote:
> > Hello,
> >
> > I wondered how I give something back to the Free Software
> > community. I saw the GNU Tasklist and wondered if I could be a
> > part of writing modules for the GNU ClassPath.
> > I have 4 years of programming experience in Java and other
> > languages like Perl, C, .
>
> Hi Steven
>
> You are very welcome to help. To get started try and compile
> classpath and then run some programs with one of the Free JVMs.
>
> We can use help with writing new code, fixing existing code and
> writing regression tests (mauve tests) to catch future bugs.

If you start providing patches we need a copyright assignment signed=20
by you. Contact assignments@gnu.org about this.


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

iD8DBQE/AV0YWSOgCCdjSDsRAvPzAJ9I28Yb2J/e2wiaJOAAHwdMIQHxhgCfUUKG
eAMnG8T6yu/L2iJhtg0Zagk=3D
=3DJit+
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Tue Jul 01 10:37:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19XMEo-0007WC-Mv
	for mharc-classpath@gnu.org; Tue, 01 Jul 2003 10:36:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19XMEY-0007MV-9R
	for classpath@gnu.org; Tue, 01 Jul 2003 10:35:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19XMEB-0006ut-Qy
	for classpath@gnu.org; Tue, 01 Jul 2003 10:35:32 -0400
Received: from serv09.segi.ulg.ac.be ([139.165.32.78])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19XMDi-0006DX-Ak
	for classpath@gnu.org; Tue, 01 Jul 2003 10:34:58 -0400
Received: (qmail 2504 invoked by uid 504); 1 Jul 2003 16:34:46 +0200
Received: from arnaud.vandyck@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501
	with qmail-scanner-1.16  (spamassassin: 2.55.  Clear:. 
	Processed in 0.124339 secs); 01 Jul 2003 14:34:46 -0000
Received: from unknown (HELO localhost) ([139.165.77.48])
          (envelope-sender <arnaud.vandyck@ulg.ac.be>)
          by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
          for <classpath@gnu.org>; 1 Jul 2003 16:34:45 +0200
Date: Tue, 01 Jul 2003 16:34:45 +0200 (CEST)
Message-Id: <20030701.163445.39138285.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <20030626150407.30834@smtp.mail.ch.easynet.net>
References: <20030626150407.30834@smtp.mail.ch.easynet.net>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 3.2 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: Re: FAQ
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, 01 Jul 2003 14:35:54 -0000

Sascha Brawer <brawer@dandelis.ch> wrote:
> I have  the impression that it would  not hurt if Classpath  had a FAQ
> page.  To make a concrete  proposal, I've written a preliminary draft,
> see
> 
>   http://www.dandelis.ch/cpfaq.html

Great! Very good job!

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



From MAILER-DAEMON Thu Jul 03 00:03:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19XvJN-0004Gn-OF
	for mharc-classpath@gnu.org; Thu, 03 Jul 2003 00:03:09 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19XvJG-0003s4-Pq
	for classpath@gnu.org; Thu, 03 Jul 2003 00:03:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19XvJ8-0003Rr-Dv
	for classpath@gnu.org; Thu, 03 Jul 2003 00:02:56 -0400
Received: from hc-gw2.hitachi-cable.co.jp ([219.124.60.37])
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19XvJ5-0008Ro-1x
	for classpath@gnu.org; Thu, 03 Jul 2003 00:02:51 -0400
Received: (qmail 16226 invoked from network); 3 Jul 2003 04:01:36 -0000
Received: from unknown (HELO sm1.hitachi-cable.co.jp) (172.31.2.40)
  by hc-gw2.hitachi-cable.co.jp with SMTP; 3 Jul 2003 04:01:36 -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 h633bBC05858
	for <classpath@gnu.org>; Thu, 3 Jul 2003 12:37:14 +0900
Date: Thu, 3 Jul 2003 12:37:14 +0900
Message-Id: <200307030337.h633bBC05858@sm1.hitachi-cable.co.jp>
Received: (qmail 2645 invoked from network); 3 Jul 2003 03:38:36 -0000
Received: from hjavd.htk.hitachi-cable.co.jp (HELO FLR-1DL9-011844)
	(172.18.51.29)  by 172.31.3.5 with SMTP; 3 Jul 2003 03:38:36 -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: java.io.StreamTokenizer behaves differently from Sun's implementation
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, 03 Jul 2003 04:03:07 -0000

HI,

It has been discussed in the kaffe mailing list [1] that Sun's
implementation of java.io.StreamTokenizer does not respect
the obsoltete document JLS 1st ed. and its working specificatin
is unknown.  Kaffe's java.io.StreamTokenizer has been modified
so that it simulates Sun's current implementation [2].

I checked GNU Classpath's java.io.StreamTokenizer to find
that it behaves differently from Sun's implementation.

Attached is my test program that generates various patterns
of test cases and prints the results of them.

If GNU Classpath is to simulate Sun's implementation,  I hope
these pieces of information can be of some help.

[1] http://www.kaffe.org/pipermail/kaffe/2003-June/042843.html
[2] http://www.kaffe.org/cgi-bin/viewcvs.cgi/kaffe/libraries/javalib/java/io/StreamTokenizer.java

Attached program:
bash$ cat StreamTokenizerTest2.java
import java.io.*;
public class StreamTokenizerTest2 {

  private static String testString;
  private static String testChar;

  public static void main(String[] args) throws Exception {
      testString = args[0];
      testChar = args[1];
      String[] a = new String[] {"S", "C", "Q", "W", "N"};
      for (int i=1; i<=5; i++) {
          Permutation.generate(a, i, new MainHandler());
      }
  }

  private static class MainHandler extends Permutation.Handler {
    public void doit(Object[] array) {
        try {
            System.out.print(testString + " " + testChar + " ");
            for (int i=0; i<array.length; i++) {
                System.out.print(array[i] + " ");
            }
            System.out.println();
            test(array);
        }
        catch (Exception e) {
            System.err.println(e);
        }
    }
  }

  private static void test(Object[] args) throws Exception {
    StreamTokenizer tok = new StreamTokenizer(new StringReader(testString));
    tok.resetSyntax();
    int c = testChar.charAt(0);
    for (int i=0; i<args.length; i++) {
       if (args[i].equals("S")) tok.whitespaceChars(c, c);
       else if (args[i].equals("C")) tok.commentChar(c);
       else if (args[i].equals("Q")) tok.quoteChar(c);
       else if (args[i].equals("N")) tok.parseNumbers();
       else if (args[i].equals("W")) tok.wordChars(c, c);
    }
    while (true) {
      int t = tok.nextToken();
      if (t == StreamTokenizer.TT_NUMBER) {
	  System.out.println(tok.nval + ": " + t);
      }
      else {
	  System.out.println(tok.sval + ": " + t);
      }
      if (t == StreamTokenizer.TT_EOF) break;
    }
  }
}
bash$ cat Permutation.java
public class Permutation {

    public static void generate(Object[] array, int n, Handler h) {
        int l = array.length;
        if (n == 1) {
            for (int i = 0; i < l; i++) {
                h.doit(new Object[] {array[i]});
            }
            return;
        }
        final int N = n;
        final Handler H = h;
        for (int i = 0; i < l; i++) {
            final Object OBJ = array[i];
            Object[] a1 = new Object[l - 1];
            System.arraycopy(array, 0, a1, 0, i);
            System.arraycopy(array, i+1, a1, i, l-i-1);
            generate(a1, n-1, new Handler() {
                public void doit(Object[] a2) {
                    Object[] a3 = new Object[N];
                    System.arraycopy(a2, 0, a3, 1, N-1);
                    a3[0] = OBJ;
                    H.doit(a3);
                }
            });
        }
        return;
    }

    public static class Handler {
        public void doit(Object[] array) {}
    }

}
bash$ java StreamTokenizerTest2 121 1
121 1 S 
null: 50
null: -1
121 1 C 
null: -1
(snip)
121 1 N W Q S C 
null: -1
121 1 N W Q C S 
21.0: -2
null: -1
bash$ 



From MAILER-DAEMON Mon Jul 07 06:02:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZSpN-00069b-Up
	for mharc-classpath@gnu.org; Mon, 07 Jul 2003 06:02:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZSmW-0005IO-FK
	for classpath@gnu.org; Mon, 07 Jul 2003 05:59:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZSkV-0004Jo-5g
	for classpath@gnu.org; Mon, 07 Jul 2003 05:57:31 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZSiY-0003ip-VH
	for classpath@gnu.org; Mon, 07 Jul 2003 05:55:31 -0400
Received: from [192.168.1.33] (unknown [217.8.220.124])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP id C69706464B
	for <classpath@gnu.org>; Mon,  7 Jul 2003 11:55:23 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Mon, 7 Jul 2003 11:55:09 +0200
Message-Id: <20030707095509.23431@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Font handling
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, 07 Jul 2003 10:02:32 -0000

Hi all,

I started doing something about handling fonts in GNU Classpath. Please
have a look at

  http://www.dandelis.ch/development/fonts/

so we can discuss this on the mailing list.

Best regards,

-- Sascha

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





From MAILER-DAEMON Mon Jul 07 06:38:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZTNh-0002Zf-4L
	for mharc-classpath@gnu.org; Mon, 07 Jul 2003 06:38:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZTNR-0002TW-G9
	for classpath@gnu.org; Mon, 07 Jul 2003 06:37:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZTGz-0000a5-MK
	for classpath@gnu.org; Mon, 07 Jul 2003 06:31:08 -0400
Received: from mail2.ewetel.de ([212.6.122.18])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZTFs-0000I6-D7
	for classpath@gnu.org; Mon, 07 Jul 2003 06:29:56 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-83-089.ewetel.net
	[80.228.83.89])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id h67ATrSJ001780
	for <classpath@gnu.org>; Mon, 7 Jul 2003 12:29:54 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 19ZTFq-0005K1-00
	for <classpath@gnu.org>; Mon, 07 Jul 2003 12:29:54 +0200
From: Michael Koch <konqueror@gmx.de>
To: GNU Classpath <classpath@gnu.org>
Date: Mon, 7 Jul 2003 12:34:12 +0200
User-Agent: KMail/1.5.2
References: <20030707095509.23431@smtp.mail.ch.easynet.net>
In-Reply-To: <20030707095509.23431@smtp.mail.ch.easynet.net>
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: <200307071234.13292.konqueror@gmx.de>
X-CheckCompat: OK
Subject: Re: Font handling
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, 07 Jul 2003 10:37:58 -0000

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

Am Montag, 7. Juli 2003 11:55 schrieb Sascha Brawer:
> Hi all,
>
> I started doing something about handling fonts in GNU Classpath.
> Please have a look at
>
>   http://www.dandelis.ch/development/fonts/
>
> so we can discuss this on the mailing list.

About java.nio: The direct buffer support will be merged in soon in=20
libgcj. Then I can port it to classpath.

About java.nio.charset.spi: Currently only the six standard encodings=20
are implmeneted. The plan is to add one another provider which can=20
encode/decode via iconv.


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

iD8DBQE/CUylWSOgCCdjSDsRAiZGAJ0XhBvpI4JZ7shdq5UTv7pspf7c/QCfaE02
1lQh9n4ogdA+qp4r0jNTpdI=3D
=3D60h3
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Mon Jul 07 18:40:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZeeT-0004YL-6q
	for mharc-classpath@gnu.org; Mon, 07 Jul 2003 18:40:05 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZeeC-0003tO-DS
	for classpath@gnu.org; Mon, 07 Jul 2003 18:39:48 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Zee4-0003mL-Uc
	for classpath@gnu.org; Mon, 07 Jul 2003 18:39:41 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Zedr-0003a4-F3
	for classpath@gnu.org; Mon, 07 Jul 2003 18:39:27 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19Zec7-0000KW-00
	for <classpath@gnu.org>; Tue, 08 Jul 2003 00:37:39 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1057617565.28184.113.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 08 Jul 2003 00:39:25 +0200
Content-Transfer-Encoding: 7bit
Subject: Benchmarks (who has the fastest free VM)
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, 07 Jul 2003 22:40:01 -0000

Hi all,

Before going to the Libre Software Meeting and LinuxTag
<http://www.libresoftwaremeeting.org/>
<http://www.linuxtag.org/2003/en/index.html>
I wanted to know how the different free VMs were doing.
So I did some micro benchmarks against them. I didn't have time to do
more complete benchmarks and I couldn't get Orp and JRVM working (which
is a shame since those are claimed to be the fasted VMs there are). So
maybe someone with more time (or access to working Orp/JRVM VMs) can do
some bigger tests.

Orp didn't compile since it has some hardcoded values for glibc 2.1
and glibc 2.2, but I am using glibc 2.3. And it needs several fixes to
get it to compile with gcc 3.x. JRVM did compile, but needs a specific
version of a proprietary VM to create the boot image. The resulting
JikesRVM binary and image keep seg faulting however on my machine.

The machine that ran the test had a Athlon 1600+ (1.4Ghz) and 768MB.
It was lightly used and I don't claim to have done scientific
benchmarking.  All times were measured with /usr/bin/time -p and the
best of three runs is given. (Note that some tests measure elapsed
time themselves so the time -p values are only for reference.)  The
benchmarks were mentioned earlier on shudo.net. If someone has more
suggestions please let me know.

VMs used:
kissme 0.0.30 (Jun 24 2003)
SableVM version 1.0.8
kaffe 1.1.x-cvs (checkout today)
ikvm (Latest ikvmbin snapshot plus Mono JIT compiler version 0.25)
gij/gcj 3.3.1 20030626 (Debian prerelease)
(For gcj tests were compiled from source using just -O2)

Looking at the results (see below) there are clearly three groups: the
plain interpreters (kissme, gij and sablevm), the jitters (kaffe and
ikvm) and the ahead of time compiler (gcj). The jitters are clearly
much faster then the interpreters, and the ahead of time compiler is
clearly much faster then the jitters.

Interesting is that ikvm has results comparable with kaffe, but often
takes more time "preparing" the classes. This can be clearly seen with
the Linpack benchmark where the ikvm score and kaffe score are almost
identical, but when looking at the real time spend you see that ikvm
consumes much more processor cycles.

SableVM recently got a "portable" jit compiler, it would be
interesting to see how it matches up to kaffe and ikvm.

Since gcj compiled code seems to be very fast but the gij interpreter
is not very fast it might be interesting to combine gcj with one of
the jitters or make one of the jitters be able to use precompiled
binaries produced by gcj (for example to precompile all core classes
used by the VM).

Let me know if you have other benchmark/speed test stories.

Cheers,

Mark


The results:

http://math.nist.gov/scimark2/

Kissme:
  Composite Score: 3.0156149099413163E174
  FFT (1024): 1.5078077289324666E175
  SOR (100x100):   -1.1107352312578372E61
  Monte Carlo : 1.6082285944663933E129
  Sparse matmult (N=1000, nz=5000): 2.6108808678857117E25
  LU (100x100): 3.5030103117925084
 
  real 26.99
  user 26.82
  sys 0.05

gij:
  Composite Score: 5.145989276632694
  FFT (1024): 2.648052903699278
  SOR (100x100):   8.881613884448855
  Monte Carlo : 1.387464107626074
  Sparse matmult (N=1000, nz=5000): 5.551639995055836
  LU (100x100): 7.261175492333425
 
  real 31.30
  user 31.19
  sys 0.10

SableVM:
  Composite Score: 7.329552111085732
  FFT (1024): 4.404292204203279
  SOR (100x100):   13.062330882926906
  Monte Carlo : 2.369663222573336
  Sparse matmult (N=1000, nz=5000): 7.329992764243664
  LU (100x100): 9.481481481481481
 
  real 28.23
  user 26.95
  sys 0.11

Kaffe:
  Composite Score: 60.46979156068268
  FFT (1024): 30.891199299334463
  SOR (100x100):   148.2273083076923
  Monte Carlo : 12.628691263262526
  Sparse matmult (N=1000, nz=5000): 54.10832237609153
  LU (100x100): 56.49343655703252
 
  real 31.17
  user 31.10
  sys 0.00

ikvm:
  Composite Score: 100.9979186697824
  FFT (1024): 59.79980402491375
  SOR (100x100):   224.2731618120265
  Monte Carlo : 34.02223834505183
  Sparse matmult (N=1000, nz=5000): 83.7413726183124
  LU (100x100): 103.1530165486078
 
  real 35.60
  user 35.42
  sys 0.09

gcj:
  Composite Score: 217.51089337171615
  FFT (1024): 225.23768378150965
  SOR (100x100):   305.57485467536026
  Monte Carlo : 15.335663953302584
  Sparse matmult (N=1000, nz=5000): 235.82583613959164
  LU (100x100): 305.5804283088167
 
  real 28.49
  user 28.44
  sys 0.06


Sieve.java from TYA <http://sax.sax.de/~adlibit/>

Kissme:
  634 iterations in 10.008 seconds
  Sieve score = 63
  real 10.10
  user 9.98
  sys 0.02

SableVM:
  2355 iterations in 10.0 seconds
  Sieve score = 236
  real 10.08
  user 10.08
  sys 0.01

gij:
  2692 iterations in 10.0 seconds
  Sieve score = 269
  real 10.10
  user 10.05
  sys 0.05

ikvm:
  40937 iterations in 10.0 seconds
  Sieve score = 4094
  real 11.32
  user 11.24
  sys 0.05

Kaffe:
  48611 iterations in 10.0 seconds
  Sieve score = 4861
  real 10.11
  user 10.10
  sys 0.01

gcj:
  91621 iterations in 10.0 seconds
  Sieve score = 9162
  real 10.03
  user 9.95
  sys 0.06


http://www.netlib.org/benchmark/linpackjava/

Kissme:
  Mflops/s: 2.289 Time: 36.62s
  Norm Res: 0.0 Precision: 2.220446049250313E-16
  real 40.73
  user 40.62
  sys 0.10

gij:
  Mflops/s: 6.078 Time: 13.79s
  Norm Res: 5.81 Precision: 2.220446049250313E-16
  real 14.74
  user 14.59
  sys 0.14

SableVM:
  Mflops/s: 8.45 Time: 9.92s
  Norm Res: 5.81 Precision: 2.220446049250313E-16
  real 10.88
  user 10.86
  sys 0.02

ikvm:
  Mflops/s: 60.312 Time: 1.39s
  Norm Res: 5.68 Precision: 2.220446049250313E-16.0
  real 5.03
  user 4.92
  sys 0.06

Kaffe:
  Mflops/s: 61.282 Time: 1.37s
  Norm Res: 4.28 Precision: 2.220446049250313E-16
  real 1.92
  user 1.89
  sys 0.03

gcj:
  Mflops/s: 79.163 Time: 1.06s
  Norm Res: 4.28 Precision: 2.220446049250313E-16
  real 1.41
  user 1.37
  sys 0.03





From MAILER-DAEMON Mon Jul 07 19:27:58 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZfKU-0003kS-ID
	for mharc-classpath@gnu.org; Mon, 07 Jul 2003 19:23:30 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZfIE-0003LK-Rm
	for classpath@gnu.org; Mon, 07 Jul 2003 19:21:10 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZfI7-00034Q-Tj
	for classpath@gnu.org; Mon, 07 Jul 2003 19:21:05 -0400
Received: from mx2.redhat.com ([66.187.237.31])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZfHp-0002YP-Ba
	for classpath@gnu.org; Mon, 07 Jul 2003 19:20:45 -0400
Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com
	[172.16.27.26])
	by mx2.redhat.com (8.11.6/8.11.6) with ESMTP id h67N7eZ20512;
	Mon, 7 Jul 2003 19:07:40 -0400
Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com
	[172.16.27.15])h67NKbS19650;	Mon, 7 Jul 2003 19:20:37 -0400
Received: from [192.168.1.101] (vpn50-5.rdu.redhat.com [172.16.50.5])
	by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h67NKaK10202;
	Mon, 7 Jul 2003 16:20:36 -0700
From: Anthony Green <green@redhat.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1057617565.28184.113.camel@elsschot>
References: <1057617565.28184.113.camel@elsschot>
Content-Type: text/plain
Organization: Red Hat, Inc.
Message-Id: <1057609235.3919.39.camel@escape>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) 
Date: 07 Jul 2003 16:20:35 -0400
Content-Transfer-Encoding: 7bit
cc: classpath@gnu.org
Subject: Re: Benchmarks (who has the fastest free VM)
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, 07 Jul 2003 23:23:28 -0000

On Mon, 2003-07-07 at 18:39, Mark Wielaard wrote:
> Let me know if you have other benchmark/speed test stories.

I did some measurements recently and put results here...

http://www.spindazzle.org/benchmarks/

I hope to have more soon.

AG

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




From MAILER-DAEMON Mon Jul 07 20:44:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Zgb9-0000Dy-K3
	for mharc-classpath@gnu.org; Mon, 07 Jul 2003 20:44:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Zgb4-0008Vl-Vb
	for classpath@gnu.org; Mon, 07 Jul 2003 20:44:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Zgau-00085T-GK
	for classpath@gnu.org; Mon, 07 Jul 2003 20:44:33 -0400
Received: from [66.199.144.141] (helo=gandalf)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Zgam-0007wQ-HD
	for classpath@gnu.org; Mon, 07 Jul 2003 20:44:25 -0400
Received: from gandalf ([127.0.0.1] helo=uqam.ca)
	by gandalf with esmtp (Exim 3.36 #1 (Debian))
	id 19Zgai-0000Bd-00; Mon, 07 Jul 2003 20:44:20 -0400
Message-ID: <3F0A13DA.6010500@uqam.ca>
Date: Mon, 07 Jul 2003 20:44:10 -0400
From: Etienne Gagnon <etienne.gagnon@uqam.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US;
	rv:1.3.1) Gecko/20030619 Debian/1.3.1-3
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1057617565.28184.113.camel@elsschot>
In-Reply-To: <1057617565.28184.113.camel@elsschot>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: classpath@gnu.org
Subject: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 00:44:46 -0000

Hi Mark,

You can find performance measurements SableVM compared to other free/non-free
JVMs running some real benchmarks (SPECjvm, Soot, SableCC) in my Ph.D. Thesis.
Look for the Chapter on performance measurements.  More precisely, you might
be interested by Tables 9.1 and 9.2 on page 118.

http://www.sable.mcgill.ca/publications/thesis/phd-gagnon/sable-thesis-2002-phd-gagnon.ps.gz

I would summarize SableVM's situation as follows:
- It is an interpreter, so do not expect it to perform as a JIT.  Interpreters
   have dispatch overhead.  (Yet SableVM is able to get rid of much dispatch
   overhead using clever tricks).
- As an interpreter, SableVM performs wery well.  It is much faster than Kaffe's
   interpreter (which has not bee designed for efficiency, to be fair).  It has
   comparable performance to interpreters written partly in assembly language.
- The goal of SableVM is *NOT* to achieve upmost performance.  It is to provide
   an efficient yet highly portable, suitable for doing research (profiling, language
   extensions, new type systems, new bytecodes, etc.)
- The very preliminary work is again not targeted at providing the maximal performance,
   but to provide an additional choice on the performance/portability tradeof scale,
   with an *easily* retargetable JIT. [The aim is for few hours or very few days work
   by a single person to port to a new platform].

I insist: SableVM's goal is *NOT* to beat other VMs in micro/mini/macro-benchmark
contests, but to provide a highly versatile and portable, yet *efficient* framework.

;-)

Have fun!

Etienne

Mark Wielaard wrote:
> Hi all,
> 
> Before going to the Libre Software Meeting and LinuxTag
> <http://www.libresoftwaremeeting.org/>
> <http://www.linuxtag.org/2003/en/index.html>
> I wanted to know how the different free VMs were doing.
> So I did some micro benchmarks against them. I didn't have time to do
> more complete benchmarks and I couldn't get Orp and JRVM working (which
> is a shame since those are claimed to be the fasted VMs there are). So
> maybe someone with more time (or access to working Orp/JRVM VMs) can do
> some bigger tests.
> 
> Orp didn't compile since it has some hardcoded values for glibc 2.1
> and glibc 2.2, but I am using glibc 2.3. And it needs several fixes to
> get it to compile with gcc 3.x. JRVM did compile, but needs a specific
> version of a proprietary VM to create the boot image. The resulting
> JikesRVM binary and image keep seg faulting however on my machine.
> 
> The machine that ran the test had a Athlon 1600+ (1.4Ghz) and 768MB.
> It was lightly used and I don't claim to have done scientific
> benchmarking.  All times were measured with /usr/bin/time -p and the
> best of three runs is given. (Note that some tests measure elapsed
> time themselves so the time -p values are only for reference.)  The
> benchmarks were mentioned earlier on shudo.net. If someone has more
> suggestions please let me know.
> 
> VMs used:
> kissme 0.0.30 (Jun 24 2003)
> SableVM version 1.0.8
> kaffe 1.1.x-cvs (checkout today)
> ikvm (Latest ikvmbin snapshot plus Mono JIT compiler version 0.25)
> gij/gcj 3.3.1 20030626 (Debian prerelease)
> (For gcj tests were compiled from source using just -O2)
> 
> Looking at the results (see below) there are clearly three groups: the
> plain interpreters (kissme, gij and sablevm), the jitters (kaffe and
> ikvm) and the ahead of time compiler (gcj). The jitters are clearly
> much faster then the interpreters, and the ahead of time compiler is
> clearly much faster then the jitters.
> 
> Interesting is that ikvm has results comparable with kaffe, but often
> takes more time "preparing" the classes. This can be clearly seen with
> the Linpack benchmark where the ikvm score and kaffe score are almost
> identical, but when looking at the real time spend you see that ikvm
> consumes much more processor cycles.
> 
> SableVM recently got a "portable" jit compiler, it would be
> interesting to see how it matches up to kaffe and ikvm.
> 
> Since gcj compiled code seems to be very fast but the gij interpreter
> is not very fast it might be interesting to combine gcj with one of
> the jitters or make one of the jitters be able to use precompiled
> binaries produced by gcj (for example to precompile all core classes
> used by the VM).
> 
> Let me know if you have other benchmark/speed test stories.
> 
> Cheers,
> 
> Mark
> 
> 
> The results:
> 
> http://math.nist.gov/scimark2/
> 
> Kissme:
>   Composite Score: 3.0156149099413163E174
>   FFT (1024): 1.5078077289324666E175
>   SOR (100x100):   -1.1107352312578372E61
>   Monte Carlo : 1.6082285944663933E129
>   Sparse matmult (N=1000, nz=5000): 2.6108808678857117E25
>   LU (100x100): 3.5030103117925084
>  
>   real 26.99
>   user 26.82
>   sys 0.05
> 
> gij:
>   Composite Score: 5.145989276632694
>   FFT (1024): 2.648052903699278
>   SOR (100x100):   8.881613884448855
>   Monte Carlo : 1.387464107626074
>   Sparse matmult (N=1000, nz=5000): 5.551639995055836
>   LU (100x100): 7.261175492333425
>  
>   real 31.30
>   user 31.19
>   sys 0.10
> 
> SableVM:
>   Composite Score: 7.329552111085732
>   FFT (1024): 4.404292204203279
>   SOR (100x100):   13.062330882926906
>   Monte Carlo : 2.369663222573336
>   Sparse matmult (N=1000, nz=5000): 7.329992764243664
>   LU (100x100): 9.481481481481481
>  
>   real 28.23
>   user 26.95
>   sys 0.11
> 
> Kaffe:
>   Composite Score: 60.46979156068268
>   FFT (1024): 30.891199299334463
>   SOR (100x100):   148.2273083076923
>   Monte Carlo : 12.628691263262526
>   Sparse matmult (N=1000, nz=5000): 54.10832237609153
>   LU (100x100): 56.49343655703252
>  
>   real 31.17
>   user 31.10
>   sys 0.00
> 
> ikvm:
>   Composite Score: 100.9979186697824
>   FFT (1024): 59.79980402491375
>   SOR (100x100):   224.2731618120265
>   Monte Carlo : 34.02223834505183
>   Sparse matmult (N=1000, nz=5000): 83.7413726183124
>   LU (100x100): 103.1530165486078
>  
>   real 35.60
>   user 35.42
>   sys 0.09
> 
> gcj:
>   Composite Score: 217.51089337171615
>   FFT (1024): 225.23768378150965
>   SOR (100x100):   305.57485467536026
>   Monte Carlo : 15.335663953302584
>   Sparse matmult (N=1000, nz=5000): 235.82583613959164
>   LU (100x100): 305.5804283088167
>  
>   real 28.49
>   user 28.44
>   sys 0.06
> 
> 
> Sieve.java from TYA <http://sax.sax.de/~adlibit/>
> 
> Kissme:
>   634 iterations in 10.008 seconds
>   Sieve score = 63
>   real 10.10
>   user 9.98
>   sys 0.02
> 
> SableVM:
>   2355 iterations in 10.0 seconds
>   Sieve score = 236
>   real 10.08
>   user 10.08
>   sys 0.01
> 
> gij:
>   2692 iterations in 10.0 seconds
>   Sieve score = 269
>   real 10.10
>   user 10.05
>   sys 0.05
> 
> ikvm:
>   40937 iterations in 10.0 seconds
>   Sieve score = 4094
>   real 11.32
>   user 11.24
>   sys 0.05
> 
> Kaffe:
>   48611 iterations in 10.0 seconds
>   Sieve score = 4861
>   real 10.11
>   user 10.10
>   sys 0.01
> 
> gcj:
>   91621 iterations in 10.0 seconds
>   Sieve score = 9162
>   real 10.03
>   user 9.95
>   sys 0.06
> 
> 
> http://www.netlib.org/benchmark/linpackjava/
> 
> Kissme:
>   Mflops/s: 2.289 Time: 36.62s
>   Norm Res: 0.0 Precision: 2.220446049250313E-16
>   real 40.73
>   user 40.62
>   sys 0.10
> 
> gij:
>   Mflops/s: 6.078 Time: 13.79s
>   Norm Res: 5.81 Precision: 2.220446049250313E-16
>   real 14.74
>   user 14.59
>   sys 0.14
> 
> SableVM:
>   Mflops/s: 8.45 Time: 9.92s
>   Norm Res: 5.81 Precision: 2.220446049250313E-16
>   real 10.88
>   user 10.86
>   sys 0.02
> 
> ikvm:
>   Mflops/s: 60.312 Time: 1.39s
>   Norm Res: 5.68 Precision: 2.220446049250313E-16.0
>   real 5.03
>   user 4.92
>   sys 0.06
> 
> Kaffe:
>   Mflops/s: 61.282 Time: 1.37s
>   Norm Res: 4.28 Precision: 2.220446049250313E-16
>   real 1.92
>   user 1.89
>   sys 0.03
> 
> gcj:
>   Mflops/s: 79.163 Time: 1.06s
>   Norm Res: 4.28 Precision: 2.220446049250313E-16
>   real 1.41
>   user 1.37
>   sys 0.03
> 
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
> 
> 


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




From MAILER-DAEMON Tue Jul 08 00:56:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZkX0-0003OO-J0
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 00:56:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZkWy-0003KA-9Y
	for classpath@gnu.org; Tue, 08 Jul 2003 00:56:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZkWw-0003H3-KF
	for classpath@gnu.org; Tue, 08 Jul 2003 00:56:43 -0400
Received: from mail0.ewetel.de ([212.6.122.10])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZkWw-0003Gz-6R
	for classpath@gnu.org; Tue, 08 Jul 2003 00:56:42 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-74-249.ewetel.net
	[80.228.74.249])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id h684uCwN000486;
	Tue, 8 Jul 2003 06:56:13 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 19ZkWS-0003k0-00; Tue, 08 Jul 2003 06:56:12 +0200
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Date: Tue, 8 Jul 2003 07:00:34 +0200
User-Agent: KMail/1.5.2
References: <1057617565.28184.113.camel@elsschot>
In-Reply-To: <1057617565.28184.113.camel@elsschot>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200307080700.35036.konqueror@gmx.de>
X-CheckCompat: OK
Subject: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 04:56:45 -0000

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

Am Dienstag, 8. Juli 2003 00:39 schrieb Mark Wielaard:
> Hi all,
>
> Before going to the Libre Software Meeting and LinuxTag
> <http://www.libresoftwaremeeting.org/>
> <http://www.linuxtag.org/2003/en/index.html>
> I wanted to know how the different free VMs were doing.
> So I did some micro benchmarks against them. I didn't have time to
> do more complete benchmarks and I couldn't get Orp and JRVM working
> (which is a shame since those are claimed to be the fasted VMs
> there are). So maybe someone with more time (or access to working
> Orp/JRVM VMs) can do some bigger tests.
>
> Orp didn't compile since it has some hardcoded values for glibc 2.1
> and glibc 2.2, but I am using glibc 2.3. And it needs several fixes
> to get it to compile with gcc 3.x. JRVM did compile, but needs a
> specific version of a proprietary VM to create the boot image. The
> resulting JikesRVM binary and image keep seg faulting however on my
> machine.
>
> The machine that ran the test had a Athlon 1600+ (1.4Ghz) and
> 768MB. It was lightly used and I don't claim to have done
> scientific benchmarking.  All times were measured with
> /usr/bin/time -p and the best of three runs is given. (Note that
> some tests measure elapsed time themselves so the time -p values
> are only for reference.)  The benchmarks were mentioned earlier on
> shudo.net. If someone has more suggestions please let me know.
>
> VMs used:
> kissme 0.0.30 (Jun 24 2003)
> SableVM version 1.0.8
> kaffe 1.1.x-cvs (checkout today)
> ikvm (Latest ikvmbin snapshot plus Mono JIT compiler version 0.25)
> gij/gcj 3.3.1 20030626 (Debian prerelease)
> (For gcj tests were compiled from source using just -O2)
>
> Looking at the results (see below) there are clearly three groups:
> the plain interpreters (kissme, gij and sablevm), the jitters
> (kaffe and ikvm) and the ahead of time compiler (gcj). The jitters
> are clearly much faster then the interpreters, and the ahead of
> time compiler is clearly much faster then the jitters.
>
> Interesting is that ikvm has results comparable with kaffe, but
> often takes more time "preparing" the classes. This can be clearly
> seen with the Linpack benchmark where the ikvm score and kaffe
> score are almost identical, but when looking at the real time spend
> you see that ikvm consumes much more processor cycles.
>
> SableVM recently got a "portable" jit compiler, it would be
> interesting to see how it matches up to kaffe and ikvm.
>
> Since gcj compiled code seems to be very fast but the gij
> interpreter is not very fast it might be interesting to combine gcj
> with one of the jitters or make one of the jitters be able to use
> precompiled binaries produced by gcj (for example to precompile all
> core classes used by the VM).
>
> Let me know if you have other benchmark/speed test stories.

It would be nice if you could put this onto a webpage for reference.
I currently search some performance comparisons for a german company=20
which thinks about switching to gcj.


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

iD8DBQE/Ck/zWSOgCCdjSDsRAgByAJ46vDXJ8gv7WkelDXbfBEp3bqyEhQCfeb7v
3xsv3D/B9ee370TXED2I1Ls=3D
=3D0xom
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Tue Jul 08 02:53:14 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZmLh-00006c-Nf
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 02:53:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZmLW-0008Ok-BD
	for classpath@gnu.org; Tue, 08 Jul 2003 02:53:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZmKH-0007oj-1R
	for classpath@gnu.org; Tue, 08 Jul 2003 02:51:45 -0400
Received: from web10005.mail.yahoo.com ([216.136.130.41])
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19ZmJB-0007hl-M3
	for classpath@gnu.org; Tue, 08 Jul 2003 02:50:37 -0400
Message-ID: <20030708065036.9364.qmail@web10005.mail.yahoo.com>
Received: from [217.185.152.91] by web10005.mail.yahoo.com via HTTP;
	Mon, 07 Jul 2003 23:50:36 PDT
Date: Mon, 7 Jul 2003 23:50:36 -0700 (PDT)
From: Dalibor Topic <robilad@yahoo.com>
To: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
In-Reply-To: <1057617565.28184.113.camel@elsschot>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 06:53:11 -0000

hi Mark,

--- Mark Wielaard <mark@klomp.org> wrote:

> benchmarks were mentioned earlier on shudo.net. If someone has more
> suggestions please let me know.

One word: Ashes ( http://www.sable.mcgill.ca/ashes/ ). Big, free java
benchmarking suite, that hardly gets used. To run it with kaffe, check out
http://www.kaffe.org/cgi-bin/viewcvs.cgi/*checkout*/kaffe/FAQ/FAQ.benchmarking?rev=HEAD
for setup advice.

cheers,
dalibor topic

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From MAILER-DAEMON Tue Jul 08 03:01:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZmTW-0003mh-I5
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 03:01:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZmT9-0003SX-KM
	for classpath@gnu.org; Tue, 08 Jul 2003 03:00:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZmSu-0002fE-N1
	for classpath@gnu.org; Tue, 08 Jul 2003 03:00:45 -0400
Received: from sampson.aptedtech.com ([209.124.140.29]
	helo=samspon.aptedtech.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19ZmSd-00027l-Hi
	for classpath@gnu.org; Tue, 08 Jul 2003 03:00:23 -0400
Received: (qmail 31159 invoked by uid 66); 8 Jul 2003 07:06:41 -0000
Received: from cgranade@greens.org by sampson.aptedtech.com by uid 60 with
	qmail-scanner-1.15  (sophie: 2.10/3.63.  Clear:. 
	Processed in 1.655565 secs); 08 Jul 2003 07:06:41 -0000
Received: from 109-140-124-209.ak.us.aptedtech.com (HELO greens.org)
	(spark@209.124.140.109)
	by sampson.customcpu.com with SMTP; 8 Jul 2003 07:06:39 -0000
Message-ID: <3F0A6C03.4090701@greens.org>
Date: Mon, 07 Jul 2003 23:00:19 -0800
From: Christopher Granade <cgranade@greens.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
References: <1057617565.28184.113.camel@elsschot>
	<200307080700.35036.konqueror@gmx.de>
In-Reply-To: <200307080700.35036.konqueror@gmx.de>
X-Enigmail-Version: 0.76.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Why gcj? WAS: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 07:01:16 -0000

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

Michael Koch wrote:
| I currently search some performance comparisons for a german company
| which thinks about switching to gcj.
|
|
| Michael

I'm new to the list, so excuse me if this is naive, but I don't quite
understand the idea of gcj. It seems on the surface that precompiling
defeats the purpose of Java itself: portability. If someone could please
elaborate, I would much appriciate it.
- -Chris

- --
"Everyone has to find their own reason."
~  -Cloud, FFVII

"In our world, every storm has an end.
~ Every night has a new morning.
~ What's important is to trust those you love, and to never give up.
~ We must all keep hope alive."
~  -Nun at Cathedral, 600 AD, Chrono Trigger

"Congrats for finishing the game! Now get a life!!"
~  -Chrono Trigger Secret Ending
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/CmwDGbmBNtJMAeMRApE/AKCVXGzuFWHSo/lnKmLbMAl+o3m7lgCgs1ji
TNBw2bFxhaPaC2fF3arxk+8=
=mTpT
-----END PGP SIGNATURE-----




From MAILER-DAEMON Tue Jul 08 03:17:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZmjK-0002H3-T2
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 03:17:38 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZmjH-0002Fp-Du
	for classpath@gnu.org; Tue, 08 Jul 2003 03:17:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZmjG-0002FH-3X
	for classpath@gnu.org; Tue, 08 Jul 2003 03:17:34 -0400
Received: from mail2.ewetel.de ([212.6.122.18])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZmjF-0002F7-MC
	for classpath@gnu.org; Tue, 08 Jul 2003 03:17:33 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-75-149.ewetel.net
	[80.228.75.149])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id h687HVSJ025313
	for <classpath@gnu.org>; Tue, 8 Jul 2003 09:17:32 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 19ZmjD-0005bm-00
	for <classpath@gnu.org>; Tue, 08 Jul 2003 09:17:31 +0200
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 8 Jul 2003 09:21:53 +0200
User-Agent: KMail/1.5.2
References: <1057617565.28184.113.camel@elsschot>
	<200307080700.35036.konqueror@gmx.de> <3F0A682D.5020301@greens.org>
In-Reply-To: <3F0A682D.5020301@greens.org>
MIME-Version: 1.0
Content-Description: clearsigned data
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200307080921.53732.konqueror@gmx.de>
X-CheckCompat: OK
Subject: Re: Why gcj? WAS: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 07:17:36 -0000

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

Am Dienstag, 8. Juli 2003 08:43 schrieben Sie:
> Michael Koch wrote:
> | I currently search some performance comparisons for a german
> | company which thinks about switching to gcj.
> |
> |
> | Michael
>
> I'm new to the list, so excuse me if this is naive, but I don't
> quite understand the idea of gcj. It seems on the surface that
> precompiling defeats the purpose of Java itself: portability. If
> someone could please elaborate, I would much appriciate it.
> -Chris

Well, GCJ can compile Java -> Native, Java -> ByteCode, ByteCode ->
Native. So using GCJ isnt against portability at all as it can
produce ByteCode. GCJ can be used as a plugin for javac (and gij,
part of gcj, as plugin for java).

One reason to use precompiled Java is that it performs better in some
critical things.

Christopher: Please use a valid From: address next time.


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

iD8DBQE/CnERWSOgCCdjSDsRAhufAJ4xw/90oF8/7abrGKGCDow9HeIrcQCfTSZP
5Wl713lqpQjuWva9FkmeDf0=
=glWD
-----END PGP SIGNATURE-----




From MAILER-DAEMON Tue Jul 08 03:23:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZmoR-00067K-1N
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 03:22:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZmoE-0005tq-CZ
	for classpath@gnu.org; Tue, 08 Jul 2003 03:22:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Zmny-0005Hg-Bi
	for classpath@gnu.org; Tue, 08 Jul 2003 03:22:26 -0400
Received: from web10005.mail.yahoo.com ([216.136.130.41])
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19Zmnd-00056S-VM
	for classpath@gnu.org; Tue, 08 Jul 2003 03:22:06 -0400
Message-ID: <20030708072205.14056.qmail@web10005.mail.yahoo.com>
Received: from [217.185.147.80] by web10005.mail.yahoo.com via HTTP;
	Tue, 08 Jul 2003 00:22:05 PDT
Date: Tue, 8 Jul 2003 00:22:05 -0700 (PDT)
From: Dalibor Topic <robilad@yahoo.com>
To: Christopher Granade <cgranade@greens.org>, classpath@gnu.org
In-Reply-To: <3F0A6C03.4090701@greens.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Re: Why gcj? WAS: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 07:22:47 -0000


--- Christopher Granade <cgranade@greens.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Michael Koch wrote:
> | I currently search some performance comparisons for a german company
> | which thinks about switching to gcj.
> |
> |
> | Michael
> 
> I'm new to the list, so excuse me if this is naive, but I don't quite
> understand the idea of gcj. It seems on the surface that precompiling
> defeats the purpose of Java itself: portability. If someone could please
> elaborate, I would much appriciate it.

bytecode is portable, but native objects are fast. So ideally, you'd use
bytecode for distribution, and use native compilation for local deployment.

cheers,
dalibor topic

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From MAILER-DAEMON Tue Jul 08 03:40:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Zn4e-0007A9-0I
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 03:39:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZmzO-00064t-DK
	for classpath@gnu.org; Tue, 08 Jul 2003 03:34:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZmyS-0005dU-3M
	for classpath@gnu.org; Tue, 08 Jul 2003 03:33:17 -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 19Zmwj-0004xm-Pq
	for classpath@gnu.org; Tue, 08 Jul 2003 03:31:29 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.6803.0
Date: Tue, 8 Jul 2003 09:29:44 +0200
Message-ID: <5C38B761F205B54BA59FF611A65C62480755A3@lembu.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Benchmarks (who has the fastest free VM)
Thread-Index: AcNE2K78REfLlsEVRxK1YSfACTQ2VAASNr9Q
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>,
	<classpath@gnu.org>
Subject: RE: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 07:39:38 -0000

Mark Wielaard wrote:
>[benchmark results]

Something to note: At least for IKVM (and I suspect for others as well),
the floating point benchmarks are probably inflated since I don't think
it implements FP correctly (i.e. it uses x86 FP and not the JVM model).

Regards,
Jeroen



From MAILER-DAEMON Tue Jul 08 05:01:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZoL7-0000lM-R1
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 05:00:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZoL0-0000Z3-T9
	for classpath@gnu.org; Tue, 08 Jul 2003 05:00:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZoJ4-0006tV-UY
	for classpath@gnu.org; Tue, 08 Jul 2003 04:58:40 -0400
Received: from mail2.ewetel.de ([212.6.122.18])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZoIz-0006Xc-QU
	for classpath@gnu.org; Tue, 08 Jul 2003 04:58:33 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-75-149.ewetel.net
	[80.228.75.149])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id h688wVSJ028898;
	Tue, 8 Jul 2003 10:58:31 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 19ZoIx-0003Dx-00; Tue, 08 Jul 2003 10:58:31 +0200
From: Michael Koch <konqueror@gmx.de>
To: Christopher Granade <cgranade@greens.org>
Date: Tue, 8 Jul 2003 11:02:53 +0200
User-Agent: KMail/1.5.2
References: <1057617565.28184.113.camel@elsschot>
	<200307080921.53732.konqueror@gmx.de> <3F0A852C.3040003@greens.org>
In-Reply-To: <3F0A852C.3040003@greens.org>
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: <200307081102.53207.konqueror@gmx.de>
X-CheckCompat: OK
cc: classpath@gnu.org
Subject: Re: Why gcj? WAS: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 09:00:43 -0000

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

> | Christopher: Please use a valid From: address next time.
>
> Eh? Was cgranade@greens.org not given as the From address? Or do
> you mean that I accidently send to you instead of the list, due to
> the Reply-To header being missing. I see that mailman is being
> used... perhaps the option to append a Reply-To header might be
> nice? Or am I simply to inattentive? I don't mean that
> sarcastically, either, because I am not, for all appearance a n00b,
> but merely am not- er- as graceful as I should be. Not as attentive
> to detail and such, if you catch my drift.

I mean the following I got from your (or your providers mail server):

The original message was received at Tue, 8 Jul 2003 08:53:03 +0200=20
(MEST)
from dynadsl-080-228-75-149.ewetel.net [80.228.75.149]

   ----- The following addresses had permanent fatal errors -----
<cgranade@greens.org>
    (reason: 553 sorry, your envelope sender is in my badmailfrom list=20
(#5.7.1))

   ----- Transcript of session follows -----
=2E. while talking to pk.greens.org.:
>>> DATA
<<< 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
550 5.1.1 <cgranade@greens.org>... User unknown
<<< 503 RCPT first (#5.5.1)



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

iD8DBQE/Coi9WSOgCCdjSDsRArZOAJ4jxsWIjYnYeKVuFZVjlDlVbaHhDwCglck8
zaRLGrbFCIG/f4LkdE3oyS0=3D
=3DEaVk
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Tue Jul 08 07:42:14 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Zqon-0000Jy-88
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 07:39:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Zqnl-0008CO-05
	for classpath@gnu.org; Tue, 08 Jul 2003 07:38:29 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Zqmn-0007cJ-Nr
	for classpath@gnu.org; Tue, 08 Jul 2003 07:37:30 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Zqmn-0007bP-AD
	for classpath@gnu.org; Tue, 08 Jul 2003 07:37:29 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19Zql1-0003C8-00; Tue, 08 Jul 2003 13:35:39 +0200
From: Mark Wielaard <mark@klomp.org>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200307080700.35036.konqueror@gmx.de>
References: <1057617565.28184.113.camel@elsschot>
	 <200307080700.35036.konqueror@gmx.de>
Content-Type: text/plain
Message-Id: <1057664245.28240.198.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 08 Jul 2003 13:37:26 +0200
Content-Transfer-Encoding: 7bit
cc: classpath@gnu.org
Subject: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 11:39:31 -0000

Hi,

On Tue, 2003-07-08 at 07:00, Michael Koch wrote:
> > Let me know if you have other benchmark/speed test stories.
> 
> It would be nice if you could put this onto a webpage for reference.
> I currently search some performance comparisons for a german company 
> which thinks about switching to gcj.

Thanks for the suggestion. I put up a quick page (with graphs even)
about the benchmark here: <http://klomp.org/mark/free-vm-benchmarks/>.
I have included comments and links that others provided.

Thanks,

Mark




From MAILER-DAEMON Tue Jul 08 07:42:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Zqr0-00016h-8W
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 07:41:50 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Zqpw-0000ra-4J
	for classpath@gnu.org; Tue, 08 Jul 2003 07:40:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZpsH-0006tM-9U
	for classpath@gnu.org; Tue, 08 Jul 2003 06:39:06 -0400
Received: from e2.ny.us.ibm.com ([32.97.182.102])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Zpru-0006nH-DP
	for classpath@gnu.org; Tue, 08 Jul 2003 06:38:42 -0400
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com
	[9.56.224.206])
	by e2.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h68Acf5U122598
	for <classpath@gnu.org>; Tue, 8 Jul 2003 06:38:41 -0400
Received: from d01mlc04.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	h68AcemB005488
	for <classpath@gnu.org>; Tue, 8 Jul 2003 06:38:40 -0400
In-Reply-To: <1057617565.28184.113.camel@elsschot>
To: classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
Message-ID: <OF1F0930EB.0B8F284E-ON85256D5D.00393FC1-85256D5D.003A7465@us.ibm.com>
Date: Tue, 8 Jul 2003 06:38:38 -0400
X-MIMETrack: Serialize by Router on D01MLC04/01/M/IBM(Release 6.0.2CF1 SPRs
	CGOH5MSQFA, JHEG5MYSFA, MIAS5M9K9M
	JBON5L8FGD|June 13, 2003) at 07/08/2003 06:38:40,
	Serialize complete at 07/08/2003 06:38:40
Content-Type: multipart/alternative;
	boundary="=_alternative 003A71AC85256D5D_="
Subject: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 11:41:48 -0000

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

> The resulting JikesRVM binary and image 
> keep seg faulting however on my machine

The most likely explanation for this is that your glibc is not using the 
GS register for pthread local state. You can kludge around this by 
building Jikes RVM with RVM_FOR_SINGLE_VIRTUAL_PROCESSOR=1.  However, the 
resulting Jikes RVM will be slightly less functional: it can run most 
simple java programs (eg SPECjvm98), but won't be able to run eclipse. 

--dave
--=_alternative 003A71AC85256D5D_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2><tt>&gt; The resulting JikesRVM binary and image </tt></font>
<br><font size=2><tt>&gt; keep seg faulting however on my machine</tt></font>
<br>
<br><font size=2><tt>The most likely explanation for this is that your
glibc is not using the GS register for pthread local state. You can kludge
around this by building Jikes RVM with RVM_FOR_SINGLE_VIRTUAL_PROCESSOR=1.
&nbsp;However, the resulting Jikes RVM will be slightly less functional:
it can run most simple java programs (eg SPECjvm98), but won't be able
to run eclipse. </tt></font>
<br>
<br><font size=2><tt>--dave</tt></font>
--=_alternative 003A71AC85256D5D_=--



From MAILER-DAEMON Tue Jul 08 07:59:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Zr6Y-0007LS-EX
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 07:57:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZquE-0003BU-AP
	for classpath@gnu.org; Tue, 08 Jul 2003 07:45:10 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZqQE-0002bZ-2p
	for classpath@gnu.org; Tue, 08 Jul 2003 07:14:10 -0400
Received: from moutng.kundenserver.de ([212.227.126.189])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZqLP-0001hX-DG
	for classpath@gnu.org; Tue, 08 Jul 2003 07:09:11 -0400
Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19ZqLO-0005WE-00
	for classpath@gnu.org; Tue, 08 Jul 2003 13:09:10 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19ZqLO-0003AA-00
	for classpath@gnu.org; Tue, 08 Jul 2003 13:09:10 +0200
Content-Type: text/plain;
  charset="iso-8859-15"
From: Andy Walter <anwalt_pop@aicas.com>
To: GNU Classpath <classpath@gnu.org>
Date: Tue, 8 Jul 2003 13:09:09 +0200
X-Mailer: KMail [version 1.4]
References: <20030627094829.16013@smtp.mail.ch.easynet.net>
	<1056908291.4815.15.camel@elsschot>
In-Reply-To: <1056908291.4815.15.camel@elsschot>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200307081309.09279.anwalt_pop@aicas.com>
Subject: Re: Meeting at LinuxTag?
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, 08 Jul 2003 11:57:53 -0000

Hi,

On Sunday 29 June 2003 19:38, Mark Wielaard wrote:
> I will be going to The Libre Software Meeting
> (http://www.libresoftwaremeeting.org/) on Friday July 11th
> and be on LinuxTag on Saterday and Sunday.
> I am meeting Dalibor Topic (of kaffe fame) who will also be on both
> events.

I can be on LinuxTag on Saterday or Sunday, too. I would be very interest=
ed in=20
meeting with you guys. Should we fix a certain meeting point? LinuxTag is=
 not=20
that big, but I doubt that we can meet there by accident. How about meeti=
ng=20
on Saturday, 16:00 at booth E40 of Linux Verband (LiVe). Any other meetin=
g=20
point would of course be fine for me, too.


Cheers,

=09Andy.

--=20
aicas GmbH                                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From MAILER-DAEMON Tue Jul 08 08:58:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Zs0a-0005wJ-PU
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 08:55:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Zs0D-0005b4-3x
	for classpath@gnu.org; Tue, 08 Jul 2003 08:55:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Zrzj-0005Cp-Ef
	for classpath@gnu.org; Tue, 08 Jul 2003 08:54:55 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZrzA-0004qR-MP
	for classpath@gnu.org; Tue, 08 Jul 2003 08:54:20 -0400
Received: from [192.168.1.33] (unknown [217.8.220.98])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id 256CF645FB; Tue,  8 Jul 2003 14:54:17 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>,
	Andy Walter <anwalt_pop@aicas.com>
Date: Tue, 8 Jul 2003 14:54:03 +0200
Message-Id: <20030708125403.15298@smtp.mail.ch.easynet.net>
In-Reply-To: <200307081309.09279.anwalt_pop@aicas.com>
References: <200307081309.09279.anwalt_pop@aicas.com>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: Meeting at LinuxTag?
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, 08 Jul 2003 12:55:38 -0000

Andy Walter <anwalt_pop@aicas.com> wrote on Tue, 8 Jul 2003 13:09:09 +0200:


>I can be on LinuxTag on Saterday or Sunday, too. I would be very
>interested in  meeting with you guys. Should we fix a certain meeting
>point? 

>Saturday, 16:00, booth E40

I'm scheduled to stand at the booth of FSF Europe, but I'll try to find a
replacement for that time. See you on Saturday at booth E40.

-- Sascha

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





From MAILER-DAEMON Tue Jul 08 10:03:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Zt1x-0001r0-2U
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 10:01:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZszQ-0001Gb-NK
	for classpath@gnu.org; Tue, 08 Jul 2003 09:58:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZsrM-0007RR-Oh
	for classpath@gnu.org; Tue, 08 Jul 2003 09:50:21 -0400
Received: from mx1.aist.go.jp ([150.29.246.133])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZsoX-0006eG-2s
	for classpath@gnu.org; Tue, 08 Jul 2003 09:47:25 -0400
Received: from rpsmtp1.aist.go.jp
	by mx1.aist.go.jp  with ESMTP id h68DlJSb007384;
	Tue, 8 Jul 2003 22:47:21 +0900 (JST)
	env-from (shudo@computer.org)
Received: from pbs2.aist.go.jp
	by rpsmtp1.aist.go.jp  with ESMTP id h68DlIaN028702;
	Tue, 8 Jul 2003 22:47:18 +0900 (JST)
	env-from (shudo@computer.org)
Received: from aist.go.jp
        by pbs2.aist.go.jp  with ESMTP id h68DlHth002304;
        Tue, 8 Jul 2003 22:47:17 +0900 (JST)
        env-from (shudo@computer.org)
Date: Tue, 08 Jul 2003 22:47:14 +0900 (JST)
Message-Id: <20030708.224714.532675693.shudo@localhost>
To: jeroen@sumatra.nl
From: shudo@computer.org
In-Reply-To: <5C38B761F205B54BA59FF611A65C62480755A3@lembu.sumatrasoftware.com>
References: <5C38B761F205B54BA59FF611A65C62480755A3@lembu.sumatrasoftware.com>
X-Mailer: Mew version 2.2 on XEmacs 21.4.8 (Honest Recruiter)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
cc: mark@klomp.org
cc: classpath@gnu.org
Subject: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 14:01:15 -0000

> Something to note: At least for IKVM (and I suspect for others as well),
> the floating point benchmarks are probably inflated since I don't think
> it implements FP correctly (i.e. it uses x86 FP and not the JVM model).

The Java 2 JVM model allows double-precision arithmetic in x86 FP
semantics as long as the enclosing method or class is not specified as
`strictfp'.  So, those results are not inflated.

I agree most JVMs have not implemented the FP-strict semantics except
JDK 1.4 and later, BulletTrain (an AOT compiler) and shuJIT.

  Kazuyuki Shudo	shudo@computer.org	http://www.shudo.net/



From MAILER-DAEMON Tue Jul 08 11:31:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZuP9-00006a-Rm
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 11:29:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZuIK-0006Gd-Vx
	for classpath@gnu.org; Tue, 08 Jul 2003 11:22:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZuDl-0004Cy-AO
	for classpath@gnu.org; Tue, 08 Jul 2003 11:17:34 -0400
Received: from moutng.kundenserver.de ([212.227.126.188])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZtSm-0008He-MB
	for classpath@gnu.org; Tue, 08 Jul 2003 10:29:00 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19ZtSl-0007lN-00; Tue, 08 Jul 2003 16:28:59 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19ZtSk-0000j7-00; Tue, 08 Jul 2003 16:28:58 +0200
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andy Walter <anwalt_pop@aicas.com>
To: Sascha Brawer <brawer@dandelis.ch>,
 GNU Classpath <classpath@gnu.org>
Date: Tue, 8 Jul 2003 16:28:58 +0200
X-Mailer: KMail [version 1.4]
References: <200307081309.09279.anwalt_pop@aicas.com>
	<20030708125403.15298@smtp.mail.ch.easynet.net>
In-Reply-To: <20030708125403.15298@smtp.mail.ch.easynet.net>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200307081628.58357.anwalt_pop@aicas.com>
Subject: Re: Meeting at LinuxTag?
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, 08 Jul 2003 15:29:18 -0000

Hi Sascha,

On Tuesday 08 July 2003 14:54, Sascha Brawer wrote:
> Andy Walter <anwalt_pop@aicas.com> wrote on Tue, 8 Jul 2003 13:09:09 +0=
200:
> >Saturday, 16:00, booth E40
>
> I'm scheduled to stand at the booth of FSF Europe, but I'll try to find=
 a
> replacement for that time. See you on Saturday at booth E40.

You don't have to change your schedule for that. I just proposed that pla=
ce=20
and date because nobody else did. If you're at the FSF booth anyway, mayb=
e=20
it's better if we meet there?

In case you would prefer meeting earlier or later that day, this would be=
 fine=20
for me, as well. Mark and Dalibor, do you have any time constraints for=20
saturday? Is there anybody else of the Classpath project who plans to com=
e to=20
LinuxTag?


Cheers,

=09Andy.

--=20
aicas GmbH                                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From MAILER-DAEMON Tue Jul 08 11:53:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZuP4-0008VZ-6R
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 11:29:14 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZuKC-0007Ei-Fw
	for classpath@gnu.org; Tue, 08 Jul 2003 11:24:12 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZtRP-0007f6-Dx
	for classpath@gnu.org; Tue, 08 Jul 2003 10:27:36 -0400
Received: from web10006.mail.yahoo.com ([216.136.130.42])
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19ZtBq-00043Y-0S
	for classpath@gnu.org; Tue, 08 Jul 2003 10:11:30 -0400
Message-ID: <20030708141129.1257.qmail@web10006.mail.yahoo.com>
Received: from [139.19.64.112] by web10006.mail.yahoo.com via HTTP;
	Tue, 08 Jul 2003 07:11:29 PDT
Date: Tue, 8 Jul 2003 07:11:29 -0700 (PDT)
From: Dalibor Topic <robilad@yahoo.com>
To: shudo@computer.org, jeroen@sumatra.nl
In-Reply-To: <20030708.224714.532675693.shudo@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: mark@klomp.org
cc: classpath@gnu.org
Subject: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 15:29:12 -0000

Hi Kazayuki,

--- shudo@computer.org wrote:
> > Something to note: At least for IKVM (and I suspect for others as well),
> > the floating point benchmarks are probably inflated since I don't think
> > it implements FP correctly (i.e. it uses x86 FP and not the JVM model).
> 
> The Java 2 JVM model allows double-precision arithmetic in x86 FP
> semantics as long as the enclosing method or class is not specified as
> `strictfp'.  So, those results are not inflated.
> 
> I agree most JVMs have not implemented the FP-strict semantics except
> JDK 1.4 and later, BulletTrain (an AOT compiler) and shuJIT.

speaking out of speculative interest, is shuJIT licensed in a GPL compatible
way? could one link kaffe with it? 

i think shuJIT is quite interesting, since it uses sun's JIT deprecated
interface. I'm not aware of any free JVM implementing that interface. I'm
wondering if a free software implementation of a glue interface to java jitters
would be desirable.

cheers,
dalibor topic

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From MAILER-DAEMON Tue Jul 08 12:27:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZvJV-0007nZ-6f
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 12:27:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZvBB-0005Bh-1e
	for classpath@gnu.org; Tue, 08 Jul 2003 12:18:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ZutL-0001JX-NC
	for classpath@gnu.org; Tue, 08 Jul 2003 12:00:32 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Zusq-00014t-B4
	for classpath@gnu.org; Tue, 08 Jul 2003 12:00:00 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id JAA28087;
	Tue, 8 Jul 2003 09:59:53 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 808DD4F839C; Tue,  8 Jul 2003 09:51:02 -0600 (MDT)
To: Dalibor Topic <robilad@yahoo.com>
References: <20030708141129.1257.qmail@web10006.mail.yahoo.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Does someone from PEORIA have a SHORTER ATTENTION span than me?
Date: 08 Jul 2003 09:51:00 -0600
In-Reply-To: <20030708141129.1257.qmail@web10006.mail.yahoo.com>
Message-ID: <87ptkldnkr.fsf@fleche.redhat.com>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: jeroen@sumatra.nl
cc: mark@klomp.org
cc: shudo@computer.org
cc: classpath@gnu.org
Subject: Re: Benchmarks (who has the fastest free VM)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: tromey@redhat.com
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, 08 Jul 2003 16:27:31 -0000

>>>>> "Dalibor" == Dalibor Topic <robilad@yahoo.com> writes:

Dalibor> I'm wondering if a free software implementation of a glue
Dalibor> interface to java jitters would be desirable.

Definitely!

I'd really like to see pluggable JITs (and interpreters).  I picture
something like what ORP did, where the details of the runtime (e.g.,
object layout, garbage collector interfaces) are abstracted out, so
that a given JIT can function in a variety of VM environments.

Tom



From MAILER-DAEMON Tue Jul 08 12:38:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ZvH5-0007CS-IH
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 12:25:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZvDU-0005pz-E4
	for classpath@gnu.org; Tue, 08 Jul 2003 12:21:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Zv6m-0003Rw-M0
	for classpath@gnu.org; Tue, 08 Jul 2003 12:14:25 -0400
Received: from web10010.mail.yahoo.com ([216.136.128.121])
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19Zuop-00005Z-Sg
	for classpath@gnu.org; Tue, 08 Jul 2003 11:55:51 -0400
Message-ID: <20030708155544.5739.qmail@web10010.mail.yahoo.com>
Received: from [139.19.64.112] by web10010.mail.yahoo.com via HTTP;
	Tue, 08 Jul 2003 08:55:44 PDT
Date: Tue, 8 Jul 2003 08:55:44 -0700 (PDT)
From: Dalibor Topic <robilad@yahoo.com>
To: Andy Walter <anwalt_pop@aicas.com>
In-Reply-To: <200307081628.58357.anwalt_pop@aicas.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: classpath@gnu.org
Subject: Re: Meeting at LinuxTag?
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, 08 Jul 2003 16:25:02 -0000


--- Andy Walter <anwalt_pop@aicas.com> wrote:
> Hi Sascha,

> In case you would prefer meeting earlier or later that day, this would be
> fine 
> for me, as well. Mark and Dalibor, do you have any time constraints for 
> saturday? Is there anybody else of the Classpath project who plans to come to
> 
> LinuxTag?

no time constraints on my side, really.

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From MAILER-DAEMON Tue Jul 08 12:48:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Zvb9-0004Nq-Da
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 12:45:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZvNb-0000YB-Jk
	for classpath@gnu.org; Tue, 08 Jul 2003 12:31:47 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Zusg-00011i-7J
	for classpath@gnu.org; Tue, 08 Jul 2003 11:59:50 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Zugh-0005kJ-4y
	for classpath@gnu.org; Tue, 08 Jul 2003 11:47:27 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19Zuew-0004G0-00
	for <classpath@gnu.org>; Tue, 08 Jul 2003 17:45:38 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <OF1F0930EB.0B8F284E-ON85256D5D.00393FC1-85256D5D.003A7465@us.ibm.com>
References: 
	<OF1F0930EB.0B8F284E-ON85256D5D.00393FC1-85256D5D.003A7465@us.ibm.com>
Content-Type: text/plain
Message-Id: <1057679244.28184.203.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 08 Jul 2003 17:47:24 +0200
Content-Transfer-Encoding: 7bit
Subject: Re: Benchmarks (who has the fastest free VM)
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, 08 Jul 2003 16:45:36 -0000

Hi,

On Tue, 2003-07-08 at 12:38, David P Grove wrote:
> The most likely explanation for this is that your glibc is not using
> the GS register for pthread local state. You can kludge around this by
> building Jikes RVM with RVM_FOR_SINGLE_VIRTUAL_PROCESSOR=1. 

Thanks. That was probably it since I now have a rvm that at least prints
a large stack trace to the screen. Progress!

I will post to the jikesrvm mailinglist for more help.

Cheers,

Mark




From MAILER-DAEMON Tue Jul 08 13:03:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Zvs5-0000ng-BI
	for mharc-classpath@gnu.org; Tue, 08 Jul 2003 13:03:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Zvfs-0005aD-DS
	for classpath@gnu.org; Tue, 08 Jul 2003 12:50:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Zvf9-0005R9-UR
	for classpath@gnu.org; Tue, 08 Jul 2003 12:49:56 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ZvHN-0007HX-Hi
	for classpath@gnu.org; Tue, 08 Jul 2003 12:25:21 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19ZvFa-0004MK-00; Tue, 08 Jul 2003 18:23:30 +0200
From: Mark Wielaard <mark@klomp.org>
To: Andy Walter <anwalt_pop@aicas.com>
In-Reply-To: <200307081628.58357.anwalt_pop@aicas.com>
References: <200307081309.09279.anwalt_pop@aicas.com>
	 <20030708125403.15298@smtp.mail.ch.easynet.net>
	 <200307081628.58357.anwalt_pop@aicas.com>
Content-Type: text/plain
Message-Id: <1057681516.28184.237.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 08 Jul 2003 18:25:16 +0200
Content-Transfer-Encoding: 7bit
cc: GNU Classpath <classpath@gnu.org>
cc: Sascha Brawer <brawer@dandelis.ch>
Subject: Re: Meeting at LinuxTag?
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, 08 Jul 2003 17:03:15 -0000

Hi,

On Tue, 2003-07-08 at 16:28, Andy Walter wrote:
> In case you would prefer meeting earlier or later that day, this would be fine 
> for me, as well. Mark and Dalibor, do you have any time constraints for 
> saturday?

Saturday 16:00 at the FSF Europe boot will be fine. But anywhere/anytime
on Saterday or Sunday is fine with me, although I will go back to the
Netherlands on Sunday so I probably have to leave somewhere between
14:00 and 15:00 that day.

Really looking forward to meet some of you people.

Cheers,

Mark




From MAILER-DAEMON Wed Jul 09 00:37:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19a6hl-0007Do-0U
	for mharc-classpath@gnu.org; Wed, 09 Jul 2003 00:37:21 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19a6h9-0005jX-Hh
	for classpath@gnu.org; Wed, 09 Jul 2003 00:36:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19a6gB-0004Dt-0x
	for classpath@gnu.org; Wed, 09 Jul 2003 00:36:14 -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 19a6fq-00032m-T2
	for classpath@gnu.org; Wed, 09 Jul 2003 00:35:22 -0400
Received: from localhost (jsturm@localhost)
	by ops2.one-point.com (8.11.6/8.11.6) with ESMTP id h694ZJA02239;
	Wed, 9 Jul 2003 00:35:19 -0400
Date: Wed, 9 Jul 2003 00:35:19 -0400 (EDT)
From: Jeff Sturm <jsturm@one-point.com>
To: Dalibor Topic <robilad@yahoo.com>
In-Reply-To: <20030708072205.14056.qmail@web10005.mail.yahoo.com>
Message-ID: <Pine.LNX.4.44.0307090031590.620-100000@ops2.one-point.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: classpath@gnu.org
Subject: Re: Why gcj? WAS: Re: Benchmarks (who has the fastest free VM)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jul 2003 04:37:17 -0000

On Tue, 8 Jul 2003, Dalibor Topic wrote:
> bytecode is portable, but native objects are fast. So ideally, you'd use
> bytecode for distribution, and use native compilation for local deployment.

Compiling from source is really the ideal situation, but yes,
bytecode->object works.

Also gcj-compiled applications may yield a smaller memory footprint.

Jeff




From MAILER-DAEMON Wed Jul 09 03:18:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19a9Do-0002cJ-26
	for mharc-classpath@gnu.org; Wed, 09 Jul 2003 03:18:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19a9BC-0001Bf-Ql
	for classpath@gnu.org; Wed, 09 Jul 2003 03:15:54 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19a9AG-0000li-CJ
	for classpath@gnu.org; Wed, 09 Jul 2003 03:15:28 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19a8vu-00053S-RO
	for classpath@gnu.org; Wed, 09 Jul 2003 03:00:06 -0400
Received: from [192.168.1.33] (196.95.dyn-adsl.customer.ch.easynet.net
	[217.8.196.95]) by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id B2C7E6464C; Wed,  9 Jul 2003 09:00:04 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: Mark Wielaard <mark@klomp.org>,
	Andy Walter <anwalt_pop@aicas.com>, Dalibor Topic <robilad@yahoo.com>
Date: Wed, 9 Jul 2003 08:59:48 +0200
Message-Id: <20030709065948.855@smtp.mail.ch.easynet.net>
In-Reply-To: <1057681516.28184.237.camel@elsschot>
References: <1057681516.28184.237.camel@elsschot>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Meeting at LinuxTag?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jul 2003 07:18:33 -0000

Mark Wielaard <mark@klomp.org> wrote on Tue, 8 Jul 2003 18:25:16 +0200:

>Saturday 16:00 at the FSF Europe boot will be fine.

OK, so let's meet there.

-- Sascha





From MAILER-DAEMON Wed Jul 09 04:14:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19aA3W-0008Kx-KY
	for mharc-classpath@gnu.org; Wed, 09 Jul 2003 04:12:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19aA2k-0007xI-8R
	for classpath@gnu.org; Wed, 09 Jul 2003 04:11:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19aA1u-0007Tl-Ia
	for classpath@gnu.org; Wed, 09 Jul 2003 04:10:54 -0400
Received: from mx1.aist.go.jp ([150.29.246.133])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19aA1m-0007Hi-W4
	for classpath@gnu.org; Wed, 09 Jul 2003 04:10:15 -0400
Received: from rpsmtp1.aist.go.jp
	by mx1.aist.go.jp  with ESMTP id h698ACSb014146;
	Wed, 9 Jul 2003 17:10:12 +0900 (JST) env-from (shudo@computer.org)
Received: from pbs1.aist.go.jp
	by rpsmtp1.aist.go.jp  with ESMTP id h698AB1f005427;
	Wed, 9 Jul 2003 17:10:12 +0900 (JST) env-from (shudo@computer.org)
Received: from aist.go.jp by pbs1.aist.go.jp  with ESMTP id h698AADr027791;
	Wed, 9 Jul 2003 17:10:11 +0900 (JST) env-from (shudo@computer.org)
Date: Wed, 09 Jul 2003 17:10:07 +0900 (JST)
Message-Id: <20030709.171007.639519701.shudo@localhost>
To: robilad@yahoo.com, classpath@gnu.org
From: shudo@computer.org
In-Reply-To: <20030708141129.1257.qmail@web10006.mail.yahoo.com>
References: <20030708.224714.532675693.shudo@localhost>
	<20030708141129.1257.qmail@web10006.mail.yahoo.com>
X-Mailer: Mew version 2.2 on XEmacs 21.4.8 (Honest Recruiter)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Re: Benchmarks (who has the fastest free VM)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jul 2003 08:12:00 -0000

Hi Dalibor,

> > I agree most JVMs have not implemented the FP-strict semantics except
> > JDK 1.4 and later, BulletTrain (an AOT compiler) and shuJIT.
>
> speaking out of speculative interest, is shuJIT licensed in a GPL compatible
> way? could one link kaffe with it?

ShuJIT is distributed under the terms of GNU LGPL.  On that point, we
all can link it with Kaffe.  But it does not work with Kaffe for
several reason.  Kaffe does not provide the Sun's old JIT interface
and the JIT make use of internal structures of Sun's Classic VM as
well as the JIT interface.

> i think shuJIT is quite interesting, since it uses sun's JIT deprecated
> interface. I'm not aware of any free JVM implementing that interface.

OpenJIT (http://www.openjit.org/) also uses the JIT interface, though
I'm not sure you look it as 'free'.

> I'm wondering if a free software implementation of a glue interface
> to java jitters would be desirable.

I hope we can design a comfortable and efficient JIT interface and
come to an agreement to adopt it.  I think it is possible that GCJ's
interpreter (gij) turns into having a JIT interface and other JVMs
adopt it.

Designing a clean and efficient JIT interface has been a research
topic.  ORP provides one of such interfaces and Open Virtual Machine
project (http://www.ovmj.org/) led by Jan Vitek had a plan to develop
a JIT interface and uses OpenJIT.

My concern for developing a JIT interface is a method of access to
internal structure of a JVM.  For example, each JVM has its own memory
layout of an object, which can be a characteristic part of the JVM.  A
standard and interoperable interface can be designed but such an
interface is usually not so efficient like JNI.

  Kazuyuki Shudo	shudo@computer.org	http://www.shudo.net/



From MAILER-DAEMON Wed Jul 09 08:14:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19aDWL-0007uW-QV
	for mharc-classpath@gnu.org; Wed, 09 Jul 2003 07:54:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19aDHX-0004Ed-4o
	for classpath@gnu.org; Wed, 09 Jul 2003 07:38:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19aD5i-0001Cz-KL
	for classpath@gnu.org; Wed, 09 Jul 2003 07:26:30 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19aD35-0000jN-CI
	for classpath@gnu.org; Wed, 09 Jul 2003 07:23:47 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19aD1J-0000Tp-00; Wed, 09 Jul 2003 13:21:57 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19aD32-0000bH-00; Wed, 09 Jul 2003 13:23:44 +0200
From: Mark Wielaard <mark@klomp.org>
To: rupp@aicas.com
In-Reply-To: <E19aA5i-0002Zc-6B@subversions.gnu.org>
References: <E19aA5i-0002Zc-6B@subversions.gnu.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1057749823.918.34.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 09 Jul 2003 13:23:44 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: classpath@gnu.org
Subject: Re: classpath/native/jni/java-io FileDescriptor.c j...
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jul 2003 11:53:58 -0000

Hi,

On Wed, 2003-07-09 at 10:14, Torsten Rupp wrote:
> Modified files:
> 	native/jni/java-io: FileDescriptor.c java_io_File.c 
> 	                    java_io_ObjectInputStream.c javaio.c 
> 
> Log message:
> 	Implemented target native layer macros for all native OS functions

This introduces JNI_JLONG_CONST_0 and JNI_JLONG_CONST_0 which are never
defined.

Cheers,

Mark



From MAILER-DAEMON Wed Jul 09 12:55:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19aIBS-000170-7D
	for mharc-classpath@gnu.org; Wed, 09 Jul 2003 12:52:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19aI7g-0000Js-PI
	for classpath@gnu.org; Wed, 09 Jul 2003 12:48:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19aI48-00005C-8o
	for classpath@gnu.org; Wed, 09 Jul 2003 12:45:43 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19aGRM-0000wC-7W
	for classpath@gnu.org; Wed, 09 Jul 2003 11:01:04 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id JAA13615;
	Wed, 9 Jul 2003 09:00:48 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 057624F82F2; Wed,  9 Jul 2003 08:51:52 -0600 (MDT)
To: rupp@aicas.com
References: <E19aDtf-0004dH-TN@subversions.gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: FISH-NET-FISH-NET-FISH-NET-FISH-NET-FISH!!
Date: 09 Jul 2003 08:51:52 -0600
In-Reply-To: <E19aDtf-0004dH-TN@subversions.gnu.org>
Message-ID: <87vfubiwhj.fsf@fleche.redhat.com>
Lines: 14
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: classpath/include jni.h.in
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jul 2003 16:52:44 -0000

>>>>> "Torsten" == Torsten Rupp <rupp@aicas.com> writes:

Torsten> 	Fixed missing JNI_JLONG_CONST* definitions (preliminary fix)

This adds new symbols to a public header.  I don't see these in Sun's
jni.h.  I think we probably shouldn't add them to ours either.  I'd
prefer these be in some internal header somewhere, with different
names.

Also, it seems to me that you could remove the FIXME and define these
as, e.g., "(jlong) -1".  I'm not a language lawyer, though.  Maybe
there's some problem with this that I don't know about?

Tom



From MAILER-DAEMON Wed Jul 09 19:41:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19aOSW-0004UG-Jb
	for mharc-classpath@gnu.org; Wed, 09 Jul 2003 19:34:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19aORu-0003zC-N9
	for classpath@gnu.org; Wed, 09 Jul 2003 19:34:10 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19aORT-0003Vu-Jn
	for classpath@gnu.org; Wed, 09 Jul 2003 19:33:46 -0400
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19aONq-000184-2Q
	for classpath@gnu.org; Wed, 09 Jul 2003 19:29:58 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.9/8.12.9) with ESMTP id h69NTcRf004820;
	Thu, 10 Jul 2003 09:29:38 +1000 (EST)
Message-Id: <200307092329.h69NTcRf004820@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: tromey@redhat.com
In-Reply-To: Message from Tom Tromey <tromey@redhat.com> 
	of "09 Jul 2003 08:51:52 CST." <87vfubiwhj.fsf@fleche.redhat.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 10 Jul 2003 09:29:48 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang)
Cc: rupp@aicas.com, Classpath Discussion Mailing List <classpath@gnu.org>,
	crawley@piglet.dstc.edu.au
Subject: Re: classpath/include jni.h.in 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jul 2003 23:34:46 -0000

>>>>> "Torsten" == Torsten Rupp <rupp@aicas.com> writes:

Torsten> 	Fixed missing JNI_JLONG_CONST* definitions (preliminary fix)

Torsten,

Another problem is that you need to add #include <assert.h> to a couple
of files.  Without these, the shared library will contain an external
reference to an 'assert' function.  This causes Kissme to fall over with
an unresolved reference when it loads the library, because 'assert' is
implemented as a macro.

-- Steve




From MAILER-DAEMON Wed Jul 09 21:39:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19aQMJ-0001yZ-OG
	for mharc-classpath@gnu.org; Wed, 09 Jul 2003 21:36:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ZwM4-0008Ll-82
	for classpath@gnu.org; Tue, 08 Jul 2003 13:34:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Zw1y-0003li-0Y
	for classpath@gnu.org; Tue, 08 Jul 2003 13:13:31 -0400
Received: from serv09.segi.ulg.ac.be ([139.165.32.78])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19Zvzf-0002VG-5P
	for classpath@gnu.org; Tue, 08 Jul 2003 13:11:07 -0400
Received: (qmail 13447 invoked by uid 504); 8 Jul 2003 19:10:51 +0200
Received: from arnaud@ressource-toi.org by serv09.segi.ulg.ac.be by uid 501
	with qmail-scanner-1.16 (spamassassin: 2.55.  Clear:. 
	Processed in 0.127992 secs); 08 Jul 2003 17:10:51 -0000
Received: from unknown (HELO localhost) ([139.165.77.48])
	(envelope-sender <arnaud@ressource-toi.org>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <info@ressource-toi.org>; 8 Jul 2003 19:10:51 +0200
Date: Tue, 08 Jul 2003 19:10:50 +0200 (CEST)
Message-Id: <20030708.191050.118025802.arnaud@ressource-toi.org>
To: info@ressource-toi.org
From: Arnaud Vandyck <arnaud@ressource-toi.org>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-Mailer: Mew version 3.2 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Tue_Jul__8_19:10:50_2003_939)--"
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Wed, 09 Jul 2003 21:36:29 -0400
Cc: webco@ressource-toi.org, ressources@ressource-toi.org, classpath@gnu.org
Subject: Fw: Benchmarks (who has the fastest free VM)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: info@ressource-toi.org
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Jul 2003 17:37:14 -0000

----Next_Part(Tue_Jul__8_19:10:50_2003_939)--
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Quelques tests de rapidité sur des machines virtuelles Java libres.

-- Arnaud pour http://ressource-toi.org/ --


----Next_Part(Tue_Jul__8_19:10:50_2003_939)--
Content-Type: Message/Rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Delivered-To: arnaud.vandyck@ulg.ac.be
Delivered-To: CLUSTERHOST serv27.segi.ulg.ac.be arnaud.vandyck@ulg.ac.be
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1057617565.28184.113.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 08 Jul 2003 00:39:25 +0200
Subject: Benchmarks (who has the fastest free VM)
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>
Sender: classpath-bounces+arnaud.vandyck=ulg.ac.be@gnu.org
Errors-To: classpath-bounces+arnaud.vandyck=ulg.ac.be@gnu.org
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

Hi all,

Before going to the Libre Software Meeting and LinuxTag
<http://www.libresoftwaremeeting.org/>
<http://www.linuxtag.org/2003/en/index.html>
I wanted to know how the different free VMs were doing.
So I did some micro benchmarks against them. I didn't have time to do
more complete benchmarks and I couldn't get Orp and JRVM working (which
is a shame since those are claimed to be the fasted VMs there are). So
maybe someone with more time (or access to working Orp/JRVM VMs) can do
some bigger tests.

Orp didn't compile since it has some hardcoded values for glibc 2.1
and glibc 2.2, but I am using glibc 2.3. And it needs several fixes to
get it to compile with gcc 3.x. JRVM did compile, but needs a specific
version of a proprietary VM to create the boot image. The resulting
JikesRVM binary and image keep seg faulting however on my machine.

The machine that ran the test had a Athlon 1600+ (1.4Ghz) and 768MB.
It was lightly used and I don't claim to have done scientific
benchmarking.  All times were measured with /usr/bin/time -p and the
best of three runs is given. (Note that some tests measure elapsed
time themselves so the time -p values are only for reference.)  The
benchmarks were mentioned earlier on shudo.net. If someone has more
suggestions please let me know.

VMs used:
kissme 0.0.30 (Jun 24 2003)
SableVM version 1.0.8
kaffe 1.1.x-cvs (checkout today)
ikvm (Latest ikvmbin snapshot plus Mono JIT compiler version 0.25)
gij/gcj 3.3.1 20030626 (Debian prerelease)
(For gcj tests were compiled from source using just -O2)

Looking at the results (see below) there are clearly three groups: the
plain interpreters (kissme, gij and sablevm), the jitters (kaffe and
ikvm) and the ahead of time compiler (gcj). The jitters are clearly
much faster then the interpreters, and the ahead of time compiler is
clearly much faster then the jitters.

Interesting is that ikvm has results comparable with kaffe, but often
takes more time "preparing" the classes. This can be clearly seen with
the Linpack benchmark where the ikvm score and kaffe score are almost
identical, but when looking at the real time spend you see that ikvm
consumes much more processor cycles.

SableVM recently got a "portable" jit compiler, it would be
interesting to see how it matches up to kaffe and ikvm.

Since gcj compiled code seems to be very fast but the gij interpreter
is not very fast it might be interesting to combine gcj with one of
the jitters or make one of the jitters be able to use precompiled
binaries produced by gcj (for example to precompile all core classes
used by the VM).

Let me know if you have other benchmark/speed test stories.

Cheers,

Mark


The results:

http://math.nist.gov/scimark2/

Kissme:
  Composite Score: 3.0156149099413163E174
  FFT (1024): 1.5078077289324666E175
  SOR (100x100):   -1.1107352312578372E61
  Monte Carlo : 1.6082285944663933E129
  Sparse matmult (N=1000, nz=5000): 2.6108808678857117E25
  LU (100x100): 3.5030103117925084
 
  real 26.99
  user 26.82
  sys 0.05

gij:
  Composite Score: 5.145989276632694
  FFT (1024): 2.648052903699278
  SOR (100x100):   8.881613884448855
  Monte Carlo : 1.387464107626074
  Sparse matmult (N=1000, nz=5000): 5.551639995055836
  LU (100x100): 7.261175492333425
 
  real 31.30
  user 31.19
  sys 0.10

SableVM:
  Composite Score: 7.329552111085732
  FFT (1024): 4.404292204203279
  SOR (100x100):   13.062330882926906
  Monte Carlo : 2.369663222573336
  Sparse matmult (N=1000, nz=5000): 7.329992764243664
  LU (100x100): 9.481481481481481
 
  real 28.23
  user 26.95
  sys 0.11

Kaffe:
  Composite Score: 60.46979156068268
  FFT (1024): 30.891199299334463
  SOR (100x100):   148.2273083076923
  Monte Carlo : 12.628691263262526
  Sparse matmult (N=1000, nz=5000): 54.10832237609153
  LU (100x100): 56.49343655703252
 
  real 31.17
  user 31.10
  sys 0.00

ikvm:
  Composite Score: 100.9979186697824
  FFT (1024): 59.79980402491375
  SOR (100x100):   224.2731618120265
  Monte Carlo : 34.02223834505183
  Sparse matmult (N=1000, nz=5000): 83.7413726183124
  LU (100x100): 103.1530165486078
 
  real 35.60
  user 35.42
  sys 0.09

gcj:
  Composite Score: 217.51089337171615
  FFT (1024): 225.23768378150965
  SOR (100x100):   305.57485467536026
  Monte Carlo : 15.335663953302584
  Sparse matmult (N=1000, nz=5000): 235.82583613959164
  LU (100x100): 305.5804283088167
 
  real 28.49
  user 28.44
  sys 0.06


Sieve.java from TYA <http://sax.sax.de/~adlibit/>

Kissme:
  634 iterations in 10.008 seconds
  Sieve score = 63
  real 10.10
  user 9.98
  sys 0.02

SableVM:
  2355 iterations in 10.0 seconds
  Sieve score = 236
  real 10.08
  user 10.08
  sys 0.01

gij:
  2692 iterations in 10.0 seconds
  Sieve score = 269
  real 10.10
  user 10.05
  sys 0.05

ikvm:
  40937 iterations in 10.0 seconds
  Sieve score = 4094
  real 11.32
  user 11.24
  sys 0.05

Kaffe:
  48611 iterations in 10.0 seconds
  Sieve score = 4861
  real 10.11
  user 10.10
  sys 0.01

gcj:
  91621 iterations in 10.0 seconds
  Sieve score = 9162
  real 10.03
  user 9.95
  sys 0.06


http://www.netlib.org/benchmark/linpackjava/

Kissme:
  Mflops/s: 2.289 Time: 36.62s
  Norm Res: 0.0 Precision: 2.220446049250313E-16
  real 40.73
  user 40.62
  sys 0.10

gij:
  Mflops/s: 6.078 Time: 13.79s
  Norm Res: 5.81 Precision: 2.220446049250313E-16
  real 14.74
  user 14.59
  sys 0.14

SableVM:
  Mflops/s: 8.45 Time: 9.92s
  Norm Res: 5.81 Precision: 2.220446049250313E-16
  real 10.88
  user 10.86
  sys 0.02

ikvm:
  Mflops/s: 60.312 Time: 1.39s
  Norm Res: 5.68 Precision: 2.220446049250313E-16.0
  real 5.03
  user 4.92
  sys 0.06

Kaffe:
  Mflops/s: 61.282 Time: 1.37s
  Norm Res: 4.28 Precision: 2.220446049250313E-16
  real 1.92
  user 1.89
  sys 0.03

gcj:
  Mflops/s: 79.163 Time: 1.06s
  Norm Res: 4.28 Precision: 2.220446049250313E-16
  real 1.41
  user 1.37
  sys 0.03




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

----Next_Part(Tue_Jul__8_19:10:50_2003_939)----



From MAILER-DAEMON Thu Jul 10 04:30:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19aWox-0000xV-WA
	for mharc-classpath@gnu.org; Thu, 10 Jul 2003 04:30:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19aWjH-00077w-Rm
	for classpath@gnu.org; Thu, 10 Jul 2003 04:24:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19aWij-0006wG-U5
	for classpath@gnu.org; Thu, 10 Jul 2003 04:24:06 -0400
Received: from moutng.kundenserver.de ([212.227.126.187])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19aWia-0006jy-QQ
	for classpath@gnu.org; Thu, 10 Jul 2003 04:23:56 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19aWia-0003cb-00
	for classpath@gnu.org; Thu, 10 Jul 2003 10:23:56 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19aWia-00066j-00
	for classpath@gnu.org; Thu, 10 Jul 2003 10:23:56 +0200
Message-ID: <3F0D229B.3020903@aicas.com>
Date: Thu, 10 Jul 2003 10:23:55 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
References: <E19aA5i-0002Zc-6B@subversions.gnu.org>
	<1057749823.918.34.camel@localhost>
In-Reply-To: <1057749823.918.34.camel@localhost>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Some errors in native layer sources
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Jul 2003 08:30:30 -0000

Dear Classpath members,

I checked-in some files with an abstraction layer for native
OS functions from our Jamaica VM to be able to port the Classpath
C sources to other OS than Unix. This is my first major change in
Classpath and there could still be some errors or not fixed things.
I will try to repair all broken things soon as possible. If you
find something which is not working in your environment please let
me know it.

Sincerely,

Torsten




From MAILER-DAEMON Fri Jul 11 00:41:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19apiw-0000gD-Ia
	for mharc-classpath@gnu.org; Fri, 11 Jul 2003 00:41:34 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19apiR-0008IY-Aj
	for classpath@gnu.org; Fri, 11 Jul 2003 00:41:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19apho-0007Fu-Eh
	for classpath@gnu.org; Fri, 11 Jul 2003 00:40:24 -0400
Received: from ms-smtp-02.southeast.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19aphd-00077M-SI
	for classpath@gnu.org; Fri, 11 Jul 2003 00:40:13 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6B4bDqP021879
	for <classpath@gnu.org>; Fri, 11 Jul 2003 00:37:13 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id D57E1BE6B4; Fri, 11 Jul 2003 00:40:12 -0400 (EDT)
Sender: cbj@haphazard.org
To: GNU Classpath <classpath@gnu.org>
From: Brian Jones <cbj@gnu.org>
Date: 11 Jul 2003 00:40:12 -0400
Message-ID: <m3znjlekwj.fsf@lyta.haphazard.org>
Lines: 22
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: New Maintainer!
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Jul 2003 04:41:32 -0000

All,

I've decided it is time for me to hand the reins over and let someone
else lead this project.  I have really enjoyed acting as maintainer
for a number of years now and think it has given me really good
insights into free software licensing, and the group dynamic, and
project leadership.  I will still remain involved with the project
however my role will transition to more or less just a developer.

Your new GNU Classpath maintainer will be Mark Wielaard
(mark@klomp.org).  Mark has been active with GNU Classpath, GCJ, and
other free software projects for as long as I can remember and I'm
very glad that he accepted this position.

Thank you Mark and everyone else for all the work each of you have put
into the project while I've been maintainer.  I hope all of you give
Mark and the project your support going forward.

Thank you again,
Brian
-- 
Brian Jones <cbj@gnu.org>



From MAILER-DAEMON Fri Jul 11 01:29:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19aqTR-0008MX-03
	for mharc-classpath@gnu.org; Fri, 11 Jul 2003 01:29:37 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19aqT8-0007q8-EJ
	for classpath@gnu.org; Fri, 11 Jul 2003 01:29:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19aqSy-0007lt-Hx
	for classpath@gnu.org; Fri, 11 Jul 2003 01:29:10 -0400
Received: from mail0-96.ewetel.de ([212.6.122.96] helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19aqSo-00076e-4q
	for classpath@gnu.org; Fri, 11 Jul 2003 01:28:58 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-69-212.ewetel.net
	[80.228.69.212])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id h6B5StCF028998
	for <classpath@gnu.org>; Fri, 11 Jul 2003 07:28:56 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 19aqSl-00068x-00
	for <classpath@gnu.org>; Fri, 11 Jul 2003 07:28:55 +0200
From: Michael Koch <konqueror@gmx.de>
To: GNU Classpath <classpath@gnu.org>
Date: Fri, 11 Jul 2003 07:33:21 +0200
User-Agent: KMail/1.5.2
References: <m3znjlekwj.fsf@lyta.haphazard.org>
In-Reply-To: <m3znjlekwj.fsf@lyta.haphazard.org>
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: <200307110733.25166.konqueror@gmx.de>
X-CheckCompat: OK
Subject: Re: New Maintainer!
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Jul 2003 05:29:35 -0000

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

Am Freitag, 11. Juli 2003 06:40 schrieb Brian Jones:

> I've decided it is time for me to hand the reins over and let
> someone else lead this project.  I have really enjoyed acting as
> maintainer for a number of years now and think it has given me
> really good insights into free software licensing, and the group
> dynamic, and project leadership.  I will still remain involved with
> the project however my role will transition to more or less just a
> developer.

THANKS YOU for your work and help you always gave us. You have done a=20
great job.

> Your new GNU Classpath maintainer will be Mark Wielaard
> (mark@klomp.org).  Mark has been active with GNU Classpath, GCJ,
> and other free software projects for as long as I can remember and
> I'm very glad that he accepted this position.

Congratulations, Mark. I think you will do the same great job Brian=20
did.


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

iD8DBQE/DkwkWSOgCCdjSDsRAvAiAJ0Q9HIKTlDIj1wrVz9iZSmk3mYl1gCfRHNw
v0u8YMoa/NxXqR9eORHc3TU=3D
=3DKktA
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Fri Jul 11 03:17:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19as7O-0008Jj-G1
	for mharc-classpath@gnu.org; Fri, 11 Jul 2003 03:14:58 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19as6W-0005yR-CN
	for classpath@gnu.org; Fri, 11 Jul 2003 03:14:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19as63-0004y3-PL
	for classpath@gnu.org; Fri, 11 Jul 2003 03:13:37 -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 19as5a-0003tT-Ju
	for classpath@gnu.org; Fri, 11 Jul 2003 03:13:06 -0400
Date: Fri, 11 Jul 2003 09:13:02 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C3477B.DE1697AA"
Message-ID: <5C38B761F205B54BA59FF611A65C62480755AC@lembu.sumatrasoftware.com>
X-MS-Has-Attach: yes
Content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.5.6803.0
X-MS-TNEF-Correlator: 
Thread-Topic: MemoryImageProducer patch
Thread-Index: AcNHezG17k1lLzVcQ5uuu/4qF+ullQ==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
Subject: MemoryImageProducer patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Jul 2003 07:14:56 -0000

This is a multi-part message in MIME format.

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

Hi,

Attached is a small patch for java.awt.image.MemoryImageProducer.

Change Log

* java/awt/image/MemoryImageSource.java
(MemoryImageSource(int,int,ColorModel,
   byte[],int,int,Hashtable props)): Changed array copy length to max *
height
(MemoryImageSource(int,int,ColorModel,
   int[],int,int,Hashtable props)): Changed array copy length to max *
height
(sendPicture): Call setDimensions on the consumer.

Please apply.

Regards,
Jeroen

------_=_NextPart_001_01C3477B.DE1697AA
Content-Type: application/octet-stream;
	name="MemoryImageProducer.patch"
Content-Transfer-Encoding: base64
Content-Description: MemoryImageProducer.patch
Content-Disposition: attachment;
	filename="MemoryImageProducer.patch"

SW5kZXg6IGphdmEvYXd0L2ltYWdlL01lbW9yeUltYWdlU291cmNlLmphdmENCj09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0N
ClJDUyBmaWxlOiAvY3Zzcm9vdC9jbGFzc3BhdGgvY2xhc3NwYXRoL2phdmEvYXd0L2ltYWdlL01l
bW9yeUltYWdlU291cmNlLmphdmEsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjUNCmRpZmYgLXUg
LXIxLjUgTWVtb3J5SW1hZ2VTb3VyY2UuamF2YQ0KLS0tIGphdmEvYXd0L2ltYWdlL01lbW9yeUlt
YWdlU291cmNlLmphdmEJMjMgSnVsIDIwMDIgMTc6MDg6MDIgLTAwMDAJMS41DQorKysgamF2YS9h
d3QvaW1hZ2UvTWVtb3J5SW1hZ2VTb3VyY2UuamF2YQkxMSBKdWwgM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ZiggcGl4ZWxpICE9IG51bGwgKSB7
DQogCSAgICBpYy5zZXRQaXhlbHMoIDAsIDAsIHdpZHRoLCBoZWlnaHQsIGNtLCBwaXhlbGksIG9m
ZnNldCwgc2NhbnNpemUgKTsNCiAJfSBlbHNlIHsNCg==

------_=_NextPart_001_01C3477B.DE1697AA--



From MAILER-DAEMON Sun Jul 13 17:58:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19bopo-0007mu-7x
	for mharc-classpath@gnu.org; Sun, 13 Jul 2003 17:56:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19bopc-0007C6-BM
	for classpath@gnu.org; Sun, 13 Jul 2003 17:56:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19bop0-0005v2-8z
	for classpath@gnu.org; Sun, 13 Jul 2003 17:55:54 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19boor-0005rq-OR
	for classpath@gnu.org; Sun, 13 Jul 2003 17:55:45 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19bokT-0005jA-02; Sun, 13 Jul 2003 23:51:13 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19awse-0000CM-00; Fri, 11 Jul 2003 14:20:04 +0200
From: Mark Wielaard <mark@klomp.org>
To: Stephen Crawley <crawley@dstc.edu.au>
In-Reply-To: <200307092344.h69NiaRf005963@piglet.dstc.edu.au>
References: <200307092344.h69NiaRf005963@piglet.dstc.edu.au>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1057825565.982.20.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 11 Jul 2003 14:20:03 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: classpath@gnu.org, kissme-general@lists.sourceforge.net
Subject: Re: [Kissme-general] Latest working kissme + classpath combination?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jul 2003 21:56:42 -0000

Hi Stephen,

On Thu, 2003-07-10 at 01:44, Stephen Crawley wrote:
> It is possible that your Kissme sandbox still contains old ".class" or
> ".java" files.

Yes, that was it! Thanks. Sorry, I should have checked that.

On to the following problem. Classpath seems to only install:

libjavalang
libjavalang.0
libjavalang.0.0.0
libjavalang.la

but not the libjavalang.so file/symlink, creating the symlink from
libjavalang.0.0.0 solves this for now though.

Thanks for the #include <assert.h> hint BTW.
Just adding that to the few files that use assert and I now have a fully
working kissme again.

Cheers,

Mark



From MAILER-DAEMON Sun Jul 13 18:13:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19bp5h-0005WJ-Ua
	for mharc-classpath@gnu.org; Sun, 13 Jul 2003 18:13:09 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19bp4N-0004i1-8C
	for classpath@gnu.org; Sun, 13 Jul 2003 18:11:47 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19bp3z-0003C9-Ev
	for classpath@gnu.org; Sun, 13 Jul 2003 18:11:24 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19bp3v-0002wq-8j
	for classpath@gnu.org; Sun, 13 Jul 2003 18:11:19 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19bp25-0005rI-00; Mon, 14 Jul 2003 00:09:25 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19bp3q-0000Cq-00; Mon, 14 Jul 2003 00:11:14 +0200
From: Mark Wielaard <mark@klomp.org>
To: kaffe@kaffe.org
Content-Type: multipart/mixed; boundary="=-3oG6z+Cxz78JGUAWKIf1"
Message-Id: <1058125728.1750.28.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 14 Jul 2003 00:11:14 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: classpath@gnu.org
Subject: Notes on kaffe (GNU Classpath integration) todo items
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jul 2003 22:13:08 -0000


--=-3oG6z+Cxz78JGUAWKIf1
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

Dalibor Topic from the Kaffe OpenVM project and me saw each other last
week when we went to the Libre Software Meeting. Attached are the (very
raw) notes I made on what things could be imported from GNU Classpath
into the kaffe library (and some other random notes). They might also be
interesting to the GNU Classpath hackers to see where/how the code ends
up in another free software project.

Cheers,

Mark

--=-3oG6z+Cxz78JGUAWKIf1
Content-Disposition: inline; filename=kaffe-todo.txt
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=kaffe-todo.txt; charset=ANSI_X3.4-1968

Notes LSM meeting, Friday Jul 11, 2003 (Dalibor Topic, Mark Wielaard)

=3D=3D=3D Things that could be imported from GNU Classpath into kaffe =3D=
=3D=3D

- Complete GNU Classpath Collection import.
  Importing AbstractMap makes some mauve tests fail.
 -> Goal to run japitools.
 -> And import even more classpath classes that depend on collection stuff.

- java.util.zip
  How to modularize to allow multiple implementations to coexist?
  (See what classes are different between classpath/gcj)
  Deflater/Inflater...
  Dalibor has still some outstanding bug reports against Classpath
  java.util.zip.
  -> Goal automatically use pure java implementation if zlib isn't
     available. (This is currently already done for the BigInteger
     class, kaffe has a native implementation, but falls back to the
     non-native GNU Classpath version if the gmp library is not installed.)

- Serialization ObjectIn/OutputStreams.
  Completely different implementations kaffe/GNU Classpath
  Some Mauve failures with Classpath/gcj code.
  Some other/same failures with current kaffe code.
  See also Eclipse startup stream failures.
  -> Goal Jython installer to run.
  -> Eclipse installer without ObjectStream failures

- StackTraceElement stuff ("pure java Throwable").  Mark has some
  code hacked up. It compiles... but crashes in spectacular ways.
  -> Goal log4j (used by either JBOSS or Tomcat) uses XMLized stacktraces
     from StackTraceElements.

- Verifier and security manager checks
  - Classpath seems to have all the proper Permission checks in place.
    (But has anybody every really used it? Probably not, because
     AccessController isn't really implemented.)
  - Jar verification/certification handling isn't implemented.
    (Neither in Classpath or Kaffe.)
  - Policyfile processor (What to use for it?)
  -> Goal savely run applets with appletviewer.

- NIO
  - Only java part in Classpath.
  - gcj has some native (CNI) implementations (not complete)
    but JNI is completely stubs at the moment.
  - Talk to Michael Koch. Mark bought a book on NIO stuff and will
    probably look at it soon.
  -> Goal run Freenet!

=3D=3D=3D Some random other stuff =3D=3D=3D

- Security/Crypto - Choose default provider
  (kaffe, GNU Classpath and/or GNU Crypto).
  - FAQ combining kaffe and GNU Crypto
    (provides javax.crypto and much more algorithms)

- Make gjdoc the default tool to generate API doc.
  - Problem, only really available in CVS, not current packaged version.

- javax.comm stuff
  - Kaffe has incomplete stubs
  - There is the rxtx (sp?) project which has been usable.
    (Check kaffe mailinglist archives)
    They have ported to lots of platforms
  - Wonka also has a implementation... (Status?)

- Swing (text)
  - Claspath has some implemented stuff, but large parts are just stubs.
  - Start simple with javax.swing.text.html parser stuff.
    Some could get going with gnu jaxp giving it correct DTDs
    (Dalibor his crazy idea).
    Look at JTidy/HTMLTidy.
  -> Goal make Appletviewer really parse parse.

- Bugs that poped up when Mark showed various things on his laptop.

  - -Xmx doesn't work (off by one bug), workaround use -mx.
    Dalibor quickly hacked up a patch, but the current command line parsing
    is broken...
  - gmp replacement configuration is broken when both tests fail.
  - tritonus install goes bad...
--=-3oG6z+Cxz78JGUAWKIf1--



From MAILER-DAEMON Sun Jul 13 18:47:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19bpc3-0005sh-9D
	for mharc-classpath@gnu.org; Sun, 13 Jul 2003 18:46:35 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19bpbt-0005Ld-Gg
	for classpath@gnu.org; Sun, 13 Jul 2003 18:46:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19bpbi-0004zU-J2
	for classpath@gnu.org; Sun, 13 Jul 2003 18:46:15 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19bpbe-0004r8-Cr
	for classpath@gnu.org; Sun, 13 Jul 2003 18:46:10 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19bpZq-00067P-00
	for <classpath@gnu.org>; Mon, 14 Jul 2003 00:44:18 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19bpbc-0000DJ-00
	for <classpath@gnu.org>; Mon, 14 Jul 2003 00:46:08 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1058136368.776.7.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 14 Jul 2003 00:46:08 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Subject: GNU Classpath Linuxtag meeting minutes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jul 2003 22:46:33 -0000

GNU Classpath meeting minutes
LinuxTag, 12 July 2003, Karlsruhe (Germany)

Present
- Dalibor Topic (Kaffe)
- Sascha Brawer (GNU Classpath)
- Mark Wielaard (GNU Classpath)
- Andy Wolter (Aicas)
- James Hunt (Aicas)
- Ingo Proetel (Aicas)

Sascha was the most organised and said someone should actually make
notes, so here they are. Some of the notes were made in the Biergarten
so take them with a grain of salt... I have surely forgotten something
important. And sometimes I couldn't clearly remember the context of my
notes. My applogies. If you were present and have more details please
follow up with clarifications and additions.

- Sascha has been working on font reading and rendering, see his very
  detailed architecture document, which describes all issues involved
  <http://www.dandelis.ch/development/fonts/>.

  Tim Tyler his public domain, pure java font rendering program was
  mentioned <http://fonteditor.org/>
  Adam Megacz of <http://www.xwt.org/> also needs this
  <http://gcc.gnu.org/ml/java/2003-07/msg00036.html>.

- For the above and AWT/Swing in general the issue of
  accessing/mapping frame/display buffers came up multiple times. What
  interface should be defined for mapping these (java.nio JNI
  additions?).

- OpenGL seems to have all the 2D drawing primitives that you ever
  want and implementations are widely available.

- Aicas wanted to know who are interested in the Realtime specs being
  discussed in the OpenGroup and the jconsortium
  <http://www.opengroup.org/rtforum/rt_java/>
  <http://www.jconsortium.org/> Thet were also looking for
  participants in an open European standards project (which name I
  forgot to write down).

- Aicas is working on some RMI fixups. During the discussion it came
  up that since object streams use serialization and serialization
  uses reflection, this only will work if you get all the details of
  reflection right. It was pointed out that reflection has some
  underspecified issues/bugs, for example see this note from Kissme
  (Class.getModifiers):

  // Arrays are always final and never an interface.
  // And also abstract (but that is actually a bug
  // - see JDC Bug: 4208179)
  // It matters for serial version UID calculations :{

  There was much complaining about the broken design of the RMI
  protocol. It was suggested to look at how RMI can work on IIOP which
  is cleaner.

- Sascha suggested to create a list of such issues and publish a list
  for GNU Classpath users/VM implementors of
  tricky/underspecified/buggy specs.

- Mark wants to extend the VM interface with more VMState package local
  final classes like to JRVM people just did for a couple of java.lang
  classes to make it easier to use GNU Classpath with non-JNI/Posix
  based VMs.

- The plan for character encodings is to move to the java.nio.charset
  interface. We already have required encodings for this. But GNU
  Classpath and gcj both still also have their old implementations
  (which are actually used in most places). gcj also has a libiconv
  provider (but not as java.nio.charset provider). A java.nio.charset
  libiconv provider would be nice to have for those systems that
  have that library.

- Mark and Dalibor wanted to name next month Mauvegustus and clean up
  Mauve (it still contains some bogus/broken tests) and import as much
  tests from the different projects that have "non-standard" core
  library tests so they can be more easily shared between the
  different projects.  Ingo dared Mark to create a Mauve plugin for
  Eclipse now that we have it running like the standard JUnit
  plugin. (The JUnit framework uses lots of reflection which we don't
  want to use for Mauve.) Other ideas were to create a standard JNI
  testsuite and maybe security issues/holes tests.

- Acias has property files which lists which class/method needs which
  other class/method. This is nice when you are use smart or static
  linking of classes.

- Kaffe has split up their library in different profiles (core, awt,
  xml, sound, rmi, etc) it would be nice if GNU Classpath also
  provided this. We could deliver different jar files.

- We need to update/document the state of each package. It is not
  really clear how much has been implemented, signature complete
  (japitools), tested (has mauve tests), how compliant with which
  spec, etc. packages/classes are. Problem is that we don't have
  gatekeepers anymore per package (we had this in the past, but
  developers on the project changed and the number of supported
  packages has actually exploded).

- The above is also important to show what people can do to help the
  project. We really need to setup a more visible task list then the
  current Savannah one with task people could do for the project which
  are annotated with how hard it would be it (simple -> follow
  existing example, like image provider or new character encoding,
  medium -> add something to an existing framework, like jar file
  verification for ZipFile, hard -> add complete new package or
  infrastructure).

- We should have a standard NotYetImplementedException. Just returning
  something random (like null) from stubs is really not
  acceptable. Kaffe for example has one.

- We really have a complete framework now to run significatly large
  applications. Getting semi-free application written in the java
  language (but which currently uses a proprietary runtime
  environment) running with a free VM is a great way to test and/or
  expand our classes and keeps us focused on the needs of free software
  developers.

  It would be really useful to have a "closure tool" which someone that
  has developed an application that he or she wants to get working with
  a GNU Classpath based VM can run and that tells possible problem
  areas/missing methods/classes that can then be used as a request for
  help on implementing the missing pieces.

- How well does Antlr work and can we use it to generate parsers for
  things? (There was some talk about Antlr on the RHUG
  <http://sources.redhat.com/rhug/> mailinglist recently
  <http://sources.redhat.com/ml/rhug-rhats/2003-07/msg00001.html>).

- There was some talk about sharing different things then just the
  core libraries such as jitters or a common shared compiled library
  format between VMs. Can be discussed on the GNU Classpath list at
  first, but will need a separate mailinglist if there is to much off
  topic (non-core classes) discussion.

- The GNU Classpath homepage contains a list of free (non-)core
  libraries that are useful for developers and/or VM implementors. Is
  something missing?

- Everybody had a really good time and looked forward to meet again in
  the future. Dalibor suggested the Linux-Kongress 2003 which will be
  from October 14 to October 16, 2003 in Saarbreucken, Germany, where
  he lives.




From MAILER-DAEMON Mon Jul 14 03:46:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19by2k-0001re-U0
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 03:46:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19by2W-0001Ma-V3
	for classpath@gnu.org; Mon, 14 Jul 2003 03:46:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19by2N-0000wt-U6
	for classpath@gnu.org; Mon, 14 Jul 2003 03:46:20 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19by2E-0000e7-QF
	for classpath@gnu.org; Mon, 14 Jul 2003 03:46:10 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19by0Q-0000hN-00; Mon, 14 Jul 2003 09:44:18 +0200
From: Mark Wielaard <mark@klomp.org>
To: konqueror@gmx.de
In-Reply-To: <E19bwET-0001BR-St@subversions.gnu.org>
References: <E19bwET-0001BR-St@subversions.gnu.org>
Content-Type: text/plain
Message-Id: <1058168768.883.6.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 14 Jul 2003 09:46:08 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: ChangeLog entries when merging things back from libgcj
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 07:46:40 -0000

Hi,

On Mon, 2003-07-14 at 07:50, Michael Koch wrote:	
> 	* java/net/ServerSocket.java,
> 	java/net/Socket.java: New versions from libgcj.

If possible I would like to see the original libgcj ChangeLog entry when
things get merged back into Classpath from libgcj.

        * java/net/ServerSocket.java
        (setChannel): New method.
        * java/net/Socket.java
        (setChannel): New method.

Is much more descriptive then the above.

Thanks,

Mark




From MAILER-DAEMON Mon Jul 14 04:04:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19byHo-0000m1-Ep
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 04:02:16 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19byBm-0005hB-68
	for classpath@gnu.org; Mon, 14 Jul 2003 03:56:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19byBj-0005g8-L6
	for classpath@gnu.org; Mon, 14 Jul 2003 03:56:00 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19by8r-0004ua-7L
	for classpath@gnu.org; Mon, 14 Jul 2003 03:53:01 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id BAA12029;
	Mon, 14 Jul 2003 01:52:53 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id E8C5A4F871E; Mon, 14 Jul 2003 01:43:34 -0600 (MDT)
To: Mark Wielaard <mark@klomp.org>
References: <1058125728.1750.28.camel@localhost>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: ..  hubub, hubub, HUBUB, hubub, hubub, hubub, HUBUB, hubub, hubub,
	hubub.
Date: 14 Jul 2003 01:43:34 -0600
In-Reply-To: <1058125728.1750.28.camel@localhost>
Message-ID: <87znjhtuxl.fsf@fleche.redhat.com>
Lines: 35
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: Notes on kaffe (GNU Classpath integration) todo items
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 08:02:14 -0000

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

Mark> - java.util.zip
Mark>   How to modularize to allow multiple implementations to coexist?
Mark>   (See what classes are different between classpath/gcj)

Here's a handy URL:

http://gcc.gnu.org/java/libgcj-classpath-compare.html

Note that the java.util.zip diffs will show up with the wrong
mime-type, due to a server configuration oddity :-(.  You should still
be able to get them with wget though.  Any zip classes listed as
missing from libgcj are part of the pure-java zip implementation.

Last time I looked there was at least one correctness bug in classpath
here -- a constant had the wrong (byte-swapped) value.

Mark>   - Classpath seems to have all the proper Permission checks in place.
Mark>     (But has anybody every really used it? Probably not, because
Mark>      AccessController isn't really implemented.)

As far as I know nobody has ever tried this.  I'm certain they haven't
with libgcj.  I suspect not with any other VM, since I've never seen a
bug report about it; the few security-related patches I've seen could
plausibly have been found by inspection (e.g., misspelling somewhere).

Mark> - Security/Crypto - Choose default provider
Mark>   (kaffe, GNU Classpath and/or GNU Crypto).

For libgcj we've settled on recommending GNU Crypto as the choice (we
don't ship it by default).  GNU Crypto is actively maintained by
friendly people -- big pluses.

Tom



From MAILER-DAEMON Mon Jul 14 04:37:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19bypb-0003BC-F5
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 04:37:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19byZT-0003q2-PN
	for classpath@gnu.org; Mon, 14 Jul 2003 04:20:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19byZS-0003pn-BF
	for classpath@gnu.org; Mon, 14 Jul 2003 04:20:30 -0400
Received: from guri.is.kpn.be ([193.74.71.22])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19byZR-0003jF-SK
	for classpath@gnu.org; Mon, 14 Jul 2003 04:20:29 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.kpn.be  with SMTP id h6E8KM518684; 
	Mon, 14 Jul 2003 10:20:22 +0200
Message-Id: <200307140820.h6E8KM518684@guri.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Mark Wielaard <mark@klomp.org>, kaffe@kaffe.org
Date: Mon, 14 Jul 2003 10:20:22 +0200
X-Mailer: KMail [version 1.3]
References: <1058125728.1750.28.camel@localhost>
In-Reply-To: <1058125728.1750.28.camel@localhost>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Mon, 14 Jul 2003 04:37:09 -0400
Cc: classpath@gnu.org
Subject: Re: [kaffe] Notes on kaffe (GNU Classpath integration) todo items
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 08:20:32 -0000

On Monday 14 July 2003 00:11, Mark Wielaard wrote:

> - javax.comm stuff
>   - Kaffe has incomplete stubs
>   - There is the rxtx (sp?) project which has been usable.
>     (Check kaffe mailinglist archives)
>     They have ported to lots of platforms
>   - Wonka also has a implementation... (Status?)

Wonka implementation status:
  [+] works, tested in a number of real-life situations. Uses async i/o on 
Linux.
  [-] ugly as hell: hard-coded data structures for 4 serial ports, giant 
switch statements, etc. Uses Wonka Native Interface (WNI), would need porting 
to JNI (but this is not hard).

For a project I'm working on currently it could be interesting to either 
convert the current Wonka implementation to JNI or switch to rxtx. Has anyone 
out there anyhing good or bad to say about rxtx?

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



From MAILER-DAEMON Mon Jul 14 05:08:33 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19bzJq-0007uS-C0
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 05:08:26 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19bzJh-0007Cj-AQ
	for classpath@gnu.org; Mon, 14 Jul 2003 05:08:17 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19bzJP-0006Kl-UN
	for classpath@gnu.org; Mon, 14 Jul 2003 05:08:01 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19bzJL-0005zD-Rt
	for classpath@gnu.org; Mon, 14 Jul 2003 05:07:55 -0400
Received: from [192.168.1.33] (199.208.dyn-adsl.customer.ch.easynet.net
	[217.8.199.208])
	by smtp1.mail.ch.easynet.net (Postfix) with ESMTP id 8E5E44A042
	for <classpath@gnu.org>; Mon, 14 Jul 2003 11:07:52 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Mon, 14 Jul 2003 11:07:36 +0200
Message-Id: <20030714090736.3425@smtp.mail.ch.easynet.net>
In-Reply-To: <m3znjlekwj.fsf@lyta.haphazard.org>
References: <m3znjlekwj.fsf@lyta.haphazard.org>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: New Maintainer!
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 09:08:24 -0000

Brian Jones <cbj@gnu.org> wrote on Fri, 11 Jul 2003 00:40:12 -0400:

>I've decided it is time for me to hand the reins over and let someone
>else lead this project.

Thanks, Brian, for everything you have done for Classpath.

-- Sascha

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





From MAILER-DAEMON Mon Jul 14 05:13:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19bzOA-0004AH-Ny
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 05:12:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19bzNL-0003Qv-Jw
	for classpath@gnu.org; Mon, 14 Jul 2003 05:12:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19bzLa-0001zG-Nr
	for classpath@gnu.org; Mon, 14 Jul 2003 05:10:15 -0400
Received: from mail0-96.ewetel.de ([212.6.122.96] helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19bzL9-0001jp-4X
	for classpath@gnu.org; Mon, 14 Jul 2003 05:09:47 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-83-121.ewetel.net
	[80.228.83.121])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id h6E99DCF024248;
	Mon, 14 Jul 2003 11:09:14 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 19bzKb-0004qH-00; Mon, 14 Jul 2003 11:09:13 +0200
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>
Date: Mon, 14 Jul 2003 11:13:51 +0200
User-Agent: KMail/1.5.2
References: <E19bwET-0001BR-St@subversions.gnu.org>
	<1058168768.883.6.camel@elsschot>
In-Reply-To: <1058168768.883.6.camel@elsschot>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200307141113.51541.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: ChangeLog entries when merging things back from libgcj
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 09:12:52 -0000

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

Am Montag, 14. Juli 2003 09:46 schrieb Mark Wielaard:
> Hi,
>
> On Mon, 2003-07-14 at 07:50, Michael Koch wrote:
> > 	* java/net/ServerSocket.java,
> > 	java/net/Socket.java: New versions from libgcj.
>
> If possible I would like to see the original libgcj ChangeLog entry
> when things get merged back into Classpath from libgcj.
>
>         * java/net/ServerSocket.java
>         (setChannel): New method.
>         * java/net/Socket.java
>         (setChannel): New method.
>
> Is much more descriptive then the above.

Sorry to make you troubles. Will do this in the future.


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

iD8DBQE/EnRPWSOgCCdjSDsRAlynAJ9jOmnS1CldpRnHy6peT3uOlf2QfwCfX4j1
VmJwnjVOCiw71hz/f0MoaLU=3D
=3Drlnd
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Mon Jul 14 05:42:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19bzpy-0006O4-In
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 05:41:38 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19bzob-0005RU-JT
	for classpath@gnu.org; Mon, 14 Jul 2003 05:40:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19bzoK-00059r-OX
	for classpath@gnu.org; Mon, 14 Jul 2003 05:39:57 -0400
Received: from web10003.mail.yahoo.com ([216.136.130.39])
	by monty-python.gnu.org with smtp (Exim 4.20) id 19bznb-0004f6-Tl
	for classpath@gnu.org; Mon, 14 Jul 2003 05:39:12 -0400
Message-ID: <20030714093910.76143.qmail@web10003.mail.yahoo.com>
Received: from [139.19.20.93] by web10003.mail.yahoo.com via HTTP;
	Mon, 14 Jul 2003 02:39:10 PDT
Date: Mon, 14 Jul 2003 02:39:10 -0700 (PDT)
From: Dalibor Topic <robilad@yahoo.com>
To: Brian Jones <cbj@gnu.org>, GNU Classpath <classpath@gnu.org>
In-Reply-To: <m3znjlekwj.fsf@lyta.haphazard.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: 
Subject: Re: New Maintainer!
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 09:41:37 -0000

Hi Brian,

--- Brian Jones <cbj@gnu.org> wrote:
> All,
> 
> I've decided it is time for me to hand the reins over and let someone
> else lead this project.  I have really enjoyed acting as maintainer
> for a number of years now and think it has given me really good
> insights into free software licensing, and the group dynamic, and
> project leadership.  I will still remain involved with the project
> however my role will transition to more or less just a developer.

Thank you very much for leading GNU Classpath to become what it is today: the
leading free software implementation of java class libraries.

cheers,
dalibor topic

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From MAILER-DAEMON Mon Jul 14 08:29:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19c2Bc-0005kd-CJ
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 08:12:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19c1rL-00082y-Hh
	for classpath@gnu.org; Mon, 14 Jul 2003 07:51:11 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19c1qp-0007gt-Eu
	for classpath@gnu.org; Mon, 14 Jul 2003 07:50:39 -0400
Received: from mpi-informatik.de ([139.19.1.1] helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19c1iB-0004U2-VM
	for classpath@gnu.org; Mon, 14 Jul 2003 07:41:44 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 19c1iA-0001xz-00
	for <classpath@gnu.org>; Mon, 14 Jul 2003 13:41:42 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 19c1i6-0001wp-00; Mon, 14 Jul 2003 13:41:38 +0200
Message-ID: <3F1296F2.9060801@kaffe.org>
Date: Mon, 14 Jul 2003 13:41:38 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Chris Gray <chris@kiffer.eunet.be>
References: <1058125728.1750.28.camel@localhost>
	<200307140820.h6E8KM518684@guri.is.kpn.be>
In-Reply-To: <200307140820.h6E8KM518684@guri.is.kpn.be>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
X-Mailman-Approved-At: Mon, 14 Jul 2003 08:12:06 -0400
Cc: Mark Wielaard <mark@klomp.org>, rxtx@linuxgrrls.org, classpath@gnu.org,
	taj@www.linux.org.uk, kaffe@kaffe.org
Subject: Implementing javax.comm for free software java implementations (Was:
 Re: [kaffe] Notes on kaffe (GNU Classpath integration) todo items)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 11:58:00 -0000

Hi Chris,

I've CC:ed Trent Jarvi, the maintainer of rxtx, see http://www.rxtx.org 
for more information about it.

Chris Gray wrote:
> On Monday 14 July 2003 00:11, Mark Wielaard wrote:
> 
> 
>>- javax.comm stuff
>>  - Kaffe has incomplete stubs
>>  - There is the rxtx (sp?) project which has been usable.
>>    (Check kaffe mailinglist archives)
>>    They have ported to lots of platforms
>>  - Wonka also has a implementation... (Status?)
> 
> 
> Wonka implementation status:
>   [+] works, tested in a number of real-life situations. Uses async i/o on 
> Linux.
>   [-] ugly as hell: hard-coded data structures for 4 serial ports, giant 
> switch statements, etc. Uses Wonka Native Interface (WNI), would need porting 
> to JNI (but this is not hard).
> 
> For a project I'm working on currently it could be interesting to either 
> convert the current Wonka implementation to JNI or switch to rxtx. Has anyone 
> out there anyhing good or bad to say about rxtx?

For kaffe it would be nice to use rxtx, since

* we had it nicely running under kaffe 
http://www.kaffe.org/pipermail/kaffe/2003-April/029251.html

* it is supposed to be quite portable

The following OS's should have full Serial Commapi Serial Support:

	mingw32 (windows 9* NT*)  (no printer support)
	WinCE (no printer support)
	Solaris 2.x (*-*-solaris2*) x86 and sparc
	Linux ELF (*-*-linux*, except aout, coff, and oldld)
	FreeBSD 3.x 4.x (*-*-freebsd2*, *-*-freebsd3*)
	Mac OS X
	HP-UX 10.x (*-*-hpux10*)
	SCO OpenServer 5.x (*-*-sco3.2v5*) (there may be recent breakage)
	UnixWare
	Digital/UNIX

* it appears to be in widespread use in different projects.

* it can be 'plugged in' into Sun's javax.comm implementation.

On the negative side:
* it needs someone to write the java part of javax.comm (which wonka 
already has working, kaffe has a GPLd implementation of unknown quality).

* We don't have anyone from rxtx on Classpath's or Kaffe's mailing 
lists, so there is a communication gap.

cheers,
dalibor topic




From MAILER-DAEMON Mon Jul 14 08:42:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19c2fC-0005J2-AA
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 08:42:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19c2f9-0005Id-Sb
	for classpath@gnu.org; Mon, 14 Jul 2003 08:42:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19c2f8-0005IH-GR
	for classpath@gnu.org; Mon, 14 Jul 2003 08:42:38 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19c2dQ-00058z-TP
	for classpath@gnu.org; Mon, 14 Jul 2003 08:40:53 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6ECYapM013469; Mon, 14 Jul 2003 08:34:37 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 2E5C7BE6B4; Mon, 14 Jul 2003 08:40:44 -0400 (EDT)
Sender: cbj@haphazard.org
To: tromey@redhat.com
References: <1058125728.1750.28.camel@localhost>
	<87znjhtuxl.fsf@fleche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 14 Jul 2003 08:40:43 -0400
In-Reply-To: <87znjhtuxl.fsf@fleche.redhat.com>
Message-ID: <m3u19pb7sk.fsf@lyta.haphazard.org>
Lines: 15
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org, kaffe@kaffe.org
Subject: Re: Notes on kaffe (GNU Classpath integration) todo items
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 12:42:40 -0000

Tom Tromey <tromey@redhat.com> writes:

> Mark> - Security/Crypto - Choose default provider
> Mark>   (kaffe, GNU Classpath and/or GNU Crypto).
> 
> For libgcj we've settled on recommending GNU Crypto as the choice (we
> don't ship it by default).  GNU Crypto is actively maintained by
> friendly people -- big pluses.

I should mention here that GNU Classpath also has settled upon
recommending GNU Crypto.

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



From MAILER-DAEMON Mon Jul 14 08:43:06 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19c2fa-0005Ut-Dq
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 08:43:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19c2fY-0005TC-4S
	for classpath@gnu.org; Mon, 14 Jul 2003 08:43:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19c2fV-0005Ru-NA
	for classpath@gnu.org; Mon, 14 Jul 2003 08:43:02 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19c2ch-0004uC-Sr
	for classpath@gnu.org; Mon, 14 Jul 2003 08:40:08 -0400
Received: from [192.168.1.33] (199.208.dyn-adsl.customer.ch.easynet.net
	[217.8.199.208])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP id 972A96469A
	for <classpath@gnu.org>; Mon, 14 Jul 2003 14:40:05 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Mon, 14 Jul 2003 14:39:55 +0200
Message-Id: <20030714123955.23056@smtp.mail.ch.easynet.net>
In-Reply-To: <1058136368.776.7.camel@localhost>
References: <1058136368.776.7.camel@localhost>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: GNU Classpath Linuxtag meeting minutes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 12:43:05 -0000

Mark Wielaard <mark@klomp.org> wrote on Mon, 14 Jul 2003 00:46:08 +0200:

> http://www.dandelis.ch/development/fonts/

I've updated the page to reflect the current state. I did not bother
updating the code snapshot, since I'd like to clean up things and bring
my implementation a bit further. If you want the code right now, please
write me.
 
>  Tim Tyler his public domain, pure java font rendering program was
>  mentioned <http://fonteditor.org/>

I've written to Tim, and he said he would not mind us using his code.
I'll make sure that the legal issues get resolved; Mark receives a copy
of everything.


>- Aicas is working on some RMI fixups.

In the context of RMI, maybe not everyone knows that there also exists a
variant which does RMI over IIOP. It uses the CORBA protocol for RMI, but
without using CORBA IDL. Actually, CORBA had to be extended to cope for
this, but it now is part of the standard. Of course, I don't know whether
this is relevant for Aicas -- in any case, [1] has more information. But
implementing RMI-IIOP seems like a big task, unless parts of some free
Java ORB can be used. IMHO, the main advantage is that IIOP is a better
protocol, and that it is possible to replace either client or server by
something not written in Java. There exist CORBA bindings for relatively
exotic languages, including Lisp, Ada, Objective C, or Smalltalk. There
also is an LGPLed project for IIOP on .NET [2].


>- We should have a standard NotYetImplementedException. Just returning
>  something random (like null) from stubs is really not
>  acceptable. Kaffe for example has one.

What about java.lang.UnsupportedOperationException?


>- We really have a complete framework now to run significatly large
>  applications. Getting semi-free application written in the java
>  language (but which currently uses a proprietary runtime
>  environment) running with a free VM is a great way to test and/or
>  expand our classes and keeps us focused on the needs of free software
>  developers.

Georg Greve said at LinuxTag that he would not mind including a text
about Classpath in one of the next issues of Brave GNU World.  I've heard
that [3] was perceived by some people as a statement that Free Software
developers should stay away from Java, although the text doesn't say
this. IMHO, we'd best send him a draft text for the column -- any
volunteers? I think this would be important.

[1] http://java.sun.com/products/rmi-iiop/
[2] http://www.gnu.org/brave-gnu-world/issue-49.en.html
[3] http://iiop-net.sourceforge.net/

Best,

-- Sascha

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





From MAILER-DAEMON Mon Jul 14 11:18:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19c54f-0003BE-SE
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 11:17:09 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19c54B-0002ED-Eb
	for classpath@gnu.org; Mon, 14 Jul 2003 11:16:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19c53r-000120-9L
	for classpath@gnu.org; Mon, 14 Jul 2003 11:16:21 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19c53b-0000Qz-MA
	for classpath@gnu.org; Mon, 14 Jul 2003 11:16:03 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id JAA13336;
	Mon, 14 Jul 2003 09:15:58 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 940F54F8751; Mon, 14 Jul 2003 09:06:41 -0600 (MDT)
To: Sascha Brawer <brawer@dandelis.ch>
References: <1058136368.776.7.camel@localhost>
	<20030714123955.23056@smtp.mail.ch.easynet.net>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Eisenhower!!  Your mimeograph machine upsets my stomach!!
Date: 14 Jul 2003 09:06:41 -0600
In-Reply-To: <20030714123955.23056@smtp.mail.ch.easynet.net>
Message-ID: <87oezxtaf2.fsf@fleche.redhat.com>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: GNU Classpath Linuxtag meeting minutes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 15:17:08 -0000

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

Sascha> But implementing RMI-IIOP seems like a big task, unless parts
Sascha> of some free Java ORB can be used.

I haven't looked at RMI-IIOP, but I do know that there are at least
two free Java ORBs out there.  One is OpenORB.  I forgot the name of
the other.

Occasionally I've tinkered with putting OpenORB into rhug, but the
build system is complex and it is a fair amount of work.  For just
building the .jar files, though, I think we should be there already.

The other ORB, whatever it is, once built with gcj.

Tom



From MAILER-DAEMON Mon Jul 14 11:38:54 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19c5Ns-00059k-Bz
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 11:37:00 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19c5Gg-0000Dc-1S
	for classpath@gnu.org; Mon, 14 Jul 2003 11:29:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19c5GM-0007iZ-Ds
	for classpath@gnu.org; Mon, 14 Jul 2003 11:29:16 -0400
Received: from hex.linuxgrrls.org ([212.18.228.73] helo=mail.linuxgrrls.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19c5G2-0005AL-UI
	for classpath@gnu.org; Mon, 14 Jul 2003 11:28:55 -0400
Received: from hex.linuxgrrls.org (hex.linuxgrrls.org [212.18.228.73])
	by mail.linuxgrrls.org (Postfix) with ESMTP
	id E08C373399; Mon, 14 Jul 2003 16:28:29 +0100 (BST)
Date: Mon, 14 Jul 2003 16:28:29 +0100 (BST)
From: Trent Jarvi <taj@linuxgrrls.org>
To: Java RXTX discussion <rxtx@linuxgrrls.org>
In-Reply-To: <3F1296F2.9060801@kaffe.org>
Message-ID: <Pine.LNX.4.53.0307141618560.5858@hex.linuxgrrls.org>
References: <1058125728.1750.28.camel@localhost>
	<200307140820.h6E8KM518684@guri.is.kpn.be>
	<3F1296F2.9060801@kaffe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Mailman-Approved-At: Mon, 14 Jul 2003 11:36:58 -0400
Cc: Chris Gray <chris@kiffer.eunet.be>, Mark Wielaard <mark@klomp.org>,
	classpath@gnu.org, taj@www.linux.org.uk, kaffe@kaffe.org
Subject: Re: [Rxtx] Implementing javax.comm for free software java
 implementations
 (Was: Re: [kaffe] Notes on kaffe (GNU Classpath integration) todo items)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 15:29:44 -0000



On Mon, 14 Jul 2003, Dalibor Topic wrote:

> Hi Chris,
> 
> I've CC:ed Trent Jarvi, the maintainer of rxtx, see http://www.rxtx.org 
> for more information about it.
> 
> Chris Gray wrote:
> > On Monday 14 July 2003 00:11, Mark Wielaard wrote:
> > 
> > 
> >>- javax.comm stuff
> >>  - Kaffe has incomplete stubs
> >>  - There is the rxtx (sp?) project which has been usable.
> >>    (Check kaffe mailinglist archives)
> >>    They have ported to lots of platforms
> >>  - Wonka also has a implementation... (Status?)
> > 
> > 
> > Wonka implementation status:
> >   [+] works, tested in a number of real-life situations. Uses async i/o on 
> > Linux.
> >   [-] ugly as hell: hard-coded data structures for 4 serial ports, giant 
> > switch statements, etc. Uses Wonka Native Interface (WNI), would need porting 
> > to JNI (but this is not hard).
> > 
> > For a project I'm working on currently it could be interesting to either 
> > convert the current Wonka implementation to JNI or switch to rxtx. Has anyone 
> > out there anyhing good or bad to say about rxtx?
> 
> For kaffe it would be nice to use rxtx, since
> 
> * we had it nicely running under kaffe 
> http://www.kaffe.org/pipermail/kaffe/2003-April/029251.html
> 
> * it is supposed to be quite portable
> 
> The following OS's should have full Serial Commapi Serial Support:
> 
> 	mingw32 (windows 9* NT*)  (no printer support)
> 	WinCE (no printer support)
> 	Solaris 2.x (*-*-solaris2*) x86 and sparc
> 	Linux ELF (*-*-linux*, except aout, coff, and oldld)
> 	FreeBSD 3.x 4.x (*-*-freebsd2*, *-*-freebsd3*)
> 	Mac OS X
> 	HP-UX 10.x (*-*-hpux10*)
> 	SCO OpenServer 5.x (*-*-sco3.2v5*) (there may be recent breakage)
> 	UnixWare
> 	Digital/UNIX
> 
> * it appears to be in widespread use in different projects.
> 
> * it can be 'plugged in' into Sun's javax.comm implementation.
> 
> On the negative side:
> * it needs someone to write the java part of javax.comm (which wonka 
> already has working, kaffe has a GPLd implementation of unknown quality).
> 
> * We don't have anyone from rxtx on Classpath's or Kaffe's mailing 
> lists, so there is a communication gap.
> 

There should also be minimal support for printer ports on w32 also.

We'd be more than willing to work with Classpath and or Kaffe to get this
working. RXTX 2.1 implements CommAPI from the top down but is in package
gnu.io to avoid confusion with Sun's impementation.

RXTX 2.0 implements the lower portion of CommAPI and could be made to work 
with the upper portion offered in Kaffe.  The Kaffe shell classes did look 
acceptable when I read through them.

--
Trent Jarvi




From MAILER-DAEMON Mon Jul 14 12:05:37 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19c5mo-0003sR-Em
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 12:02:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19c5mg-0003pp-Bp
	for classpath@gnu.org; Mon, 14 Jul 2003 12:02:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19c5kO-0003b3-HM
	for classpath@gnu.org; Mon, 14 Jul 2003 12:00:16 -0400
Received: from mpiat0212-1.mpi-sb.mpg.de ([139.19.1.1]
	helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19c5jL-0002xy-0a
	for classpath@gnu.org; Mon, 14 Jul 2003 11:59:11 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 19c5jK-0003wo-00
	for <classpath@gnu.org>; Mon, 14 Jul 2003 17:59:10 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 19c5jG-0003vp-00; Mon, 14 Jul 2003 17:59:06 +0200
Message-ID: <3F12D34A.4080009@kaffe.org>
Date: Mon, 14 Jul 2003 17:59:06 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <1058136368.776.7.camel@localhost>	<20030714123955.23056@smtp.mail.ch.easynet.net>
	<87oezxtaf2.fsf@fleche.redhat.com>
In-Reply-To: <87oezxtaf2.fsf@fleche.redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>, Sascha Brawer <brawer@dandelis.ch>
Subject: Re: GNU Classpath Linuxtag meeting minutes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 16:02:44 -0000

Tom Tromey wrote:
>>>>>>"Sascha" == Sascha Brawer <brawer@dandelis.ch> writes:
> 
> 
> Sascha> But implementing RMI-IIOP seems like a big task, unless parts
> Sascha> of some free Java ORB can be used.
> 
> I haven't looked at RMI-IIOP, but I do know that there are at least
> two free Java ORBs out there.  One is OpenORB.  I forgot the name of
> the other.
> 
> Occasionally I've tinkered with putting OpenORB into rhug, but the
> build system is complex and it is a fair amount of work.  For just
> building the .jar files, though, I think we should be there already.
> 
> The other ORB, whatever it is, once built with gcj.

the other ORB I know is Jacorb. See http://www.jacorb.org/ for more 
information. One day I'll try to integreate one of them into kaffe.

cheers,
dalibor topic




From MAILER-DAEMON Mon Jul 14 12:10:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19c5tb-0006up-7u
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 12:09:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19c5rt-000627-Ry
	for classpath@gnu.org; Mon, 14 Jul 2003 12:08:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19c5ri-0005xu-Ad
	for classpath@gnu.org; Mon, 14 Jul 2003 12:07:50 -0400
Received: from mail-out2.apple.com ([17.254.0.51])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19c5q5-0005SO-P0
	for classpath@gnu.org; Mon, 14 Jul 2003 12:06:09 -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 h6EG5qfR017953
	for <classpath@gnu.org>; Mon, 14 Jul 2003 09:05:54 -0700 (PDT)
Received: from scv3.apple.com (scv3.apple.com) by mailgate1.apple.com
	(Content Technologies SMTPRS 4.2.1) with ESMTP id
	<T636c779eb6118064e13ec@mailgate1.apple.com>; 
	Mon, 14 Jul 2003 09:05:41 -0700
Received: from bothner.com (vpn-scv-x2-233.apple.com [17.219.193.233])
	by scv3.apple.com (8.12.9/8.12.9) with ESMTP id h6EG5q0K006009;
	Mon, 14 Jul 2003 09:05:52 -0700 (PDT)
Message-ID: <3F12D573.6030201@bothner.com>
Date: Mon, 14 Jul 2003 09:08:19 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.4) Gecko/20030612
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1058136368.776.7.camel@localhost>
In-Reply-To: <1058136368.776.7.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: GNU Classpath Linuxtag meeting minutes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 16:09:45 -0000

Mark Wielaard wrote:

> - We should have a standard NotYetImplementedException. Just returning
>   something random (like null) from stubs is really not
>   acceptable. Kaffe for example has one.

In the gcj list I suggested UnsupportedOperationException, with a 
refinement:

throw new UnsupportedOperationException (REASON);
where REASON is a string literal that includes "not implemented"
and all on a single line (to make it easy to grep for).

See http://gcc.gnu.org/ml/java/2003-03/msg00016.html
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/





From MAILER-DAEMON Mon Jul 14 12:12:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19c5wB-0007oJ-0t
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 12:12:27 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19c5u3-0007Kc-Ik
	for classpath@gnu.org; Mon, 14 Jul 2003 12:10:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19c5oS-0004W6-De
	for classpath@gnu.org; Mon, 14 Jul 2003 12:04:28 -0400
Received: from ag4.mpi-sb.mpg.de ([139.19.1.1] helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19c5nP-00042p-7i
	for classpath@gnu.org; Mon, 14 Jul 2003 12:03:23 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 19c5nO-00050E-00
	for <classpath@gnu.org>; Mon, 14 Jul 2003 18:03:22 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 19c5nJ-0004zC-00; Mon, 14 Jul 2003 18:03:17 +0200
Message-ID: <3F12D445.5070808@kaffe.org>
Date: Mon, 14 Jul 2003 18:03:17 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Trent Jarvi <taj@linuxgrrls.org>
References: <1058125728.1750.28.camel@localhost>	<200307140820.h6E8KM518684@guri.is.kpn.be>	<3F1296F2.9060801@kaffe.org>
	<Pine.LNX.4.53.0307141618560.5858@hex.linuxgrrls.org>
In-Reply-To: <Pine.LNX.4.53.0307141618560.5858@hex.linuxgrrls.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: Chris Gray <chris@kiffer.eunet.be>,
	Java RXTX discussion <rxtx@linuxgrrls.org>, classpath@gnu.org,
	Mark Wielaard <mark@klomp.org>, taj@www.linux.org.uk, kaffe@kaffe.org
Subject: Re: [Rxtx] Implementing javax.comm for free software java
 implementations
 (Was: Re: [kaffe] Notes on kaffe (GNU Classpath integration) todo items)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 16:12:26 -0000

Hi Trent,

Trent Jarvi wrote:

> We'd be more than willing to work with Classpath and or Kaffe to get this
> working. RXTX 2.1 implements CommAPI from the top down but is in package
> gnu.io to avoid confusion with Sun's impementation.
> 
> RXTX 2.0 implements the lower portion of CommAPI and could be made to work 
> with the upper portion offered in Kaffe.  The Kaffe shell classes did look 
> acceptable when I read through them.

Could we implement the javax.comm shell classes on top of RXTX 2.1 
gnu.io API? I.e. would it be enough to just delegate method calls to 
gnu.io. for a basic javax.comm implementation?

cheers,
dalibor topic




From MAILER-DAEMON Mon Jul 14 12:29:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19c6Cs-0008C7-3L
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 12:29:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19c62H-0004G5-Kp
	for classpath@gnu.org; Mon, 14 Jul 2003 12:18:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19c5wu-000879-8O
	for classpath@gnu.org; Mon, 14 Jul 2003 12:13:12 -0400
Received: from hex.linuxgrrls.org ([212.18.228.73] helo=mail.linuxgrrls.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19c5vi-0007ga-GU
	for classpath@gnu.org; Mon, 14 Jul 2003 12:11:58 -0400
Received: from hex.linuxgrrls.org (hex.linuxgrrls.org [212.18.228.73])
	by mail.linuxgrrls.org (Postfix) with ESMTP
	id CF728735C9; Mon, 14 Jul 2003 17:11:57 +0100 (BST)
Date: Mon, 14 Jul 2003 17:11:57 +0100 (BST)
From: Trent Jarvi <taj@linuxgrrls.org>
To: Dalibor Topic <robilad@kaffe.org>
In-Reply-To: <3F12D445.5070808@kaffe.org>
Message-ID: <Pine.LNX.4.53.0307141708300.5858@hex.linuxgrrls.org>
References: <1058125728.1750.28.camel@localhost>
	<200307140820.h6E8KM518684@guri.is.kpn.be>
	<3F1296F2.9060801@kaffe.org>
	<Pine.LNX.4.53.0307141618560.5858@hex.linuxgrrls.org>
	<3F12D445.5070808@kaffe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Mailman-Approved-At: Mon, 14 Jul 2003 12:29:40 -0400
Cc: Chris Gray <chris@kiffer.eunet.be>,
	Java RXTX discussion <rxtx@linuxgrrls.org>, classpath@gnu.org,
	Mark Wielaard <mark@klomp.org>, taj@www.linux.org.uk, kaffe@kaffe.org
Subject: Re: [Rxtx] Implementing javax.comm for free software java
 implementations
 (Was: Re: [kaffe] Notes on kaffe (GNU Classpath integration) todo items)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 16:19:04 -0000



On Mon, 14 Jul 2003, Dalibor Topic wrote:

> Hi Trent,
> 
> Trent Jarvi wrote:
> 
> > We'd be more than willing to work with Classpath and or Kaffe to get this
> > working. RXTX 2.1 implements CommAPI from the top down but is in package
> > gnu.io to avoid confusion with Sun's impementation.
> > 
> > RXTX 2.0 implements the lower portion of CommAPI and could be made to work 
> > with the upper portion offered in Kaffe.  The Kaffe shell classes did look 
> > acceptable when I read through them.
> 
> Could we implement the javax.comm shell classes on top of RXTX 2.1 
> gnu.io API? I.e. would it be enough to just delegate method calls to 
> gnu.io. for a basic javax.comm implementation?


Hi Dalibor

That would be one possiblity.  Another option would be to keep a diff 
which simply converts RXTX 2.1 into javax.comm.  There are even scripts 
floating around which do that.

--
Trent Jarvi



From MAILER-DAEMON Mon Jul 14 15:09:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19c8gd-0004iV-DS
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 15:08:35 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19c8fr-0003Ut-7Z
	for classpath@gnu.org; Mon, 14 Jul 2003 15:07:47 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19c8dp-0002Fb-4V
	for classpath@gnu.org; Mon, 14 Jul 2003 15:05:44 -0400
Received: from interferon.mpi-sb.mpg.de ([139.19.1.1])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19c8dk-00023j-65
	for classpath@gnu.org; Mon, 14 Jul 2003 15:05:36 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 19c8dj-0005L0-00
	for <classpath@gnu.org>; Mon, 14 Jul 2003 21:05:35 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 19c8dh-0005Kb-00; Mon, 14 Jul 2003 21:05:33 +0200
Message-ID: <3F12FEFD.1040600@kaffe.org>
Date: Mon, 14 Jul 2003 21:05:33 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: kaffe@kaffe.org, GNU Classpath <classpath@gnu.org>
Content-Type: multipart/mixed; boundary="------------000400070300050007070201"
X-Virus-Scanned: by AMaViS perl-11
Cc: 
Subject: Linux Kongress 2003 in Saarbruecken, Germany
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 19:08:33 -0000

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

Hi everyone,

Mark Wielaard has already said that I'd like the next free software java 
develeper meeting to be in Saarbruecken, which hosts the Linux Kongress 
from October 14 to October 16, 2003. I hope we can use this Kongress as 
an oppportunity to present the current state of free java 
implementations to a broader audience. And of course to have a BOF 
session, a couple of drinks and a good time.

I've attached the Call for Papers, since it specifically mentions 
Virtual machines and emulations as one of the topics of interest. If you 
want to submit a paper, you should hurry up: Extended abstracts are due 
till August 8th.

See you,
dalibor topic

--------------000400070300050007070201
Content-Type: text/plain;
 name="lk2003-cfp.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
 filename="lk2003-cfp.txt"


                           Linux-Kongress 2003

		             Call for Papers

                   http://www.linux-kongress.org/2003/

   Linux-Kongress 2003, the 10th International Linux System Technology
   Conference, is organized by the German Unix User Group (GUUG) and
   hosted by the Saarland University in Saarbrücken, Germany. Please
   contact <info@linux-kongress.org> if you have any questions.

Overview

   The 10th Linux-Kongress will take place from October 14 to October 16,
   2003, at the Saarland University in Saarbrücken, Germany. It is the
   10th anniversary of the traditional Linux-Kongress series (Heidelberg
   '94, Berlin '95 and '96, Würzburg '97, Köln '98, Augsburg '99,
   Erlangen 2000, Enschede 2001, and Köln 2002) which has evolved into
   the most important meeting for Linux experts and developers in Europe.

   You are invited to participate in this famous Linux community event by
   giving a presentation about your current development work, experiences
   with Linux, and future plans. The Linux-Kongress will be the best
   opportunity for Open Source developers to meet in Europe and exchange
   ideas about current and upcoming projects that (will) play an
   important role for Linux.

   You can learn from the tutorials, refereed papers, and invited talks,
   and discuss the newest technology with famous Linux and Open Source
   gurus. You can also visit the vendor exhibition, where leading
   Linux-related companies show their newest products, or find the latest
   books about your favorite topic on this exhibition. A social event
   will take place on Wednesday, October 15. A perfect opportunity to
   exchange ideas with other Linux experts, while enjoying food and
   drinks.

   The conference language is English.

Tutorial Program (October 14)

   On Tuesday, a number of tutorials will be presented, all related to
   Linux and Open Source. Tutorials both for beginners and for more
   advanced users and developers will be included. If you're interested
   in presenting a tutorial or would like to share ideas about what would
   be a terrific tutorial, please contact the program committee via
   e-mail at <program@linux-kongress.org>.

Technical Conference (October 15-16)

   Wednesday and Thursday will offer around 25 technical sessions,
   including keynote address, presentations of refereed papers, and
   invited talks, divided in 2 parallel tracks. The talks will focus on
   Linux kernel and systems software, as well as more generic Open Source
   software used on Linux systems, and the underlying software
   technologies. Presentations should take about 40 minutes (including
   discussions, when applicable).

   The Linux-Kongress 2003 conference seeks original and innovative
   papers about current Linux and Open Source software development.

   Presentations are being solicited in areas including, but not limited
   to:
     * Security (firewalls, VPNs, cryptography, security models,
       programming techniques, smart cards, ...)
     * Networking (IPv6, IPsec, bandwith control, policy routing, VoIP, ...)
     * High-Availability and High-Performance clustering
     * Architectures (from Linux on PDAs to Linux on S/390)
     * Virtual machines and emulations (Wine, Plex86, User-Mode Linux, ...)
     * Storage management (RAID, LVM, filesystems, ...)
     * Device drivers (new advances, asynchronous I/O)
     * Desktop/office environments for Linux
     * Multimedia (sound, video, streaming media, conferencing)
     * ...

   To address the fast evolving nature of Linux, new topics not covered
   by the conference talks can be discussed during informal gatherings,
   called Birds-of-a-Feather (BoF) sessions. BoFs may be scheduled at the
   conference or in advance by mailing the program committee.

Refereed Paper Submissions

   Papers for the technical sessions will be reviewed by the program
   committee. An extended abstract is required for the paper selection
   process. These abstracts must be submitted via the Linux-Kongress 2003
   web site at http://www.linux-kongress.org/2003/cfp/subm.html . Only
   abstracts in ASCII format (250-500 words), including a title and the
   name(s) and e-mail address(es) of the author(s) are accepted.
   Furthermore, abstracts accompanied by non-disclosure agreement forms
   are not acceptable and will not be read. By submitting an abstract to
   the Linux-Kongress 2003 organization, you also give permission to
   publish it on the conference web site.

   Authors of accepted submissions are asked to provide a final paper for
   publication in the conference proceedings. This paper preferably
   should not have been published before.

Important Dates

   Extended abstracts due:       August 8, 2003
   Notification to speakers:    August 25, 2003
   Final papers due:         September 26, 2003

Program Committee

   You can contact the program committee via e-mail at
   <program@linux-kongress.org>. Abstracts can only be submitted via the
   web form.

  Program chair

   Jos Vos, X/OS

  Members

   Fred Donck, NLUUG / PatriotSoft
   Ralf Spenneberg
   Uli Weis, GUUG
   Harald Welte

   Complete registration and program information will be made available
   on the web site mid August 2003. Companies interested in getting a
   booth at the exhibition or in sponsoring the Linux-Kongress 2003
   should send e-mail to <info@linux-kongress.org>.


--------------000400070300050007070201--




From MAILER-DAEMON Mon Jul 14 18:04:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cBPX-0005g0-LR
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 18:03:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cBPJ-0004of-FQ
	for classpath@gnu.org; Mon, 14 Jul 2003 18:02:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cBOq-0003N4-O1
	for classpath@gnu.org; Mon, 14 Jul 2003 18:02:27 -0400
Received: from e2.ny.us.ibm.com ([32.97.182.102])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cBOl-0002wI-M1
	for classpath@gnu.org; Mon, 14 Jul 2003 18:02:19 -0400
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com
	[9.56.224.150])
	by e2.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h6EM2CPS110428
	for <classpath@gnu.org>; Mon, 14 Jul 2003 18:02:12 -0400
Received: from d01mlc04.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id
	h6EM2Bgn168812
	for <classpath@gnu.org>; Mon, 14 Jul 2003 18:02:11 -0400
To: classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
Message-ID: <OF76745136.4012C5A4-ON85256D63.00789C62-85256D63.007906EF@us.ibm.com>
Date: Mon, 14 Jul 2003 18:02:08 -0400
X-MIMETrack: Serialize by Router on D01MLC04/01/M/IBM(Release 6.0.2CF1 SPRs
	CGOH5MSQFA, JHEG5MYSFA, MIAS5M9K9M
	JBON5L8FGD|June 13, 2003) at 07/14/2003 18:02:11,
	Serialize complete at 07/14/2003 18:02:11
Content-Type: multipart/alternative;
	boundary="=_alternative 0079058385256D63_="
Subject: RE: suggested way to structure changes to String, Float, Double
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 22:03:05 -0000

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

Hi,

        I submitted a patch (#1686) for this about two weeks ago.  The 
change to java.lang.String is actually fairly important for Jikes RVM (our 
implementation of String.intern is buggy on classpath until this goes in). 
 Should I resubmit as two patches to make it easier for someone to apply 
the important one?  The changes to Float and Double are nice minor 
performance improvements for Jikes RVM, but aren't as critical.

thanks,

--dave

--=_alternative 0079058385256D63_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; I
submitted a patch (#1686) for this about two weeks ago. &nbsp;The change
to java.lang.String is actually fairly important for Jikes RVM (our implementation
of String.intern is buggy on classpath until this goes in). &nbsp;Should
I resubmit as two patches to make it easier for someone to apply the important
one? &nbsp;The changes to Float and Double are nice minor performance improvements
for Jikes RVM, but aren't as critical.</font>
<br>
<br><font size=2 face="sans-serif">thanks,</font>
<br>
<br><font size=2 face="sans-serif">--dave</font>
<br>
--=_alternative 0079058385256D63_=--



From MAILER-DAEMON Mon Jul 14 18:24:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cBjL-0007eD-LF
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 18:23:35 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cBer-0008JC-4l
	for classpath@gnu.org; Mon, 14 Jul 2003 18:18:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cBe9-0007Xy-Hi
	for classpath@gnu.org; Mon, 14 Jul 2003 18:18:14 -0400
Received: from oola.is.kpn.be ([193.74.71.23])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cBdo-00077y-ON
	for classpath@gnu.org; Mon, 14 Jul 2003 18:17:52 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by oola.is.kpn.be  with SMTP id h6EMHmV02507; 
	Tue, 15 Jul 2003 00:17:48 +0200
Message-Id: <200307142217.h6EMHmV02507@oola.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Dalibor Topic <robilad@kaffe.org>, kaffe@kaffe.org,
	GNU Classpath <classpath@gnu.org>
Date: Tue, 15 Jul 2003 00:17:48 +0200
X-Mailer: KMail [version 1.3]
References: <3F12FEFD.1040600@kaffe.org>
In-Reply-To: <3F12FEFD.1040600@kaffe.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Mon, 14 Jul 2003 18:23:33 -0400
Cc: 
Subject: Re: [kaffe] Linux Kongress 2003 in Saarbruecken, Germany
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 22:19:40 -0000

On Monday 14 July 2003 21:05, Dalibor Topic wrote:
> Hi everyone,
>
> Mark Wielaard has already said that I'd like the next free software java
> develeper meeting to be in Saarbruecken, which hosts the Linux Kongress
> from October 14 to October 16, 2003. I hope we can use this Kongress as
> an oppportunity to present the current state of free java
> implementations to a broader audience. And of course to have a BOF
> session, a couple of drinks and a good time.
>
> I've attached the Call for Papers, since it specifically mentions
> Virtual machines and emulations as one of the topics of interest. If you
> want to submit a paper, you should hurry up: Extended abstracts are due
> till August 8th.
>
> See you,
> dalibor topic

It's in my diary. :)

(The 15th is my mother's 80th birthday, but so far the party is planned for 
the following weekend ... did I mention that her twin brother will be 80 too?)

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



From MAILER-DAEMON Mon Jul 14 19:18:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cCam-0002lc-0H
	for mharc-classpath@gnu.org; Mon, 14 Jul 2003 19:18:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cCaS-00023S-5S
	for classpath@gnu.org; Mon, 14 Jul 2003 19:18:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cCaF-0001h0-3L
	for classpath@gnu.org; Mon, 14 Jul 2003 19:18:15 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cCZg-000157-Ov
	for classpath@gnu.org; Mon, 14 Jul 2003 19:17:40 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19cCXm-000687-00; Tue, 15 Jul 2003 01:15:42 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19cCZY-00014A-00; Tue, 15 Jul 2003 01:17:32 +0200
From: Mark Wielaard <mark@klomp.org>
To: David P Grove <groved@us.ibm.com>
In-Reply-To: <OF76745136.4012C5A4-ON85256D63.00789C62-85256D63.007906EF@us.ibm.com>
References: <OF76745136.4012C5A4-ON85256D63.00789C62-85256D63.007906EF@us.ibm.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1058224651.5852.165.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 15 Jul 2003 01:17:32 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: classpath@gnu.org
Subject: RE: suggested way to structure changes to String, Float, Double
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 23:18:46 -0000

Hi Dave,

On Tue, 2003-07-15 at 00:02, David P Grove wrote:
>         I submitted a patch (#1686) for this about two weeks ago.  The
> change to java.lang.String is actually fairly important for Jikes RVM

I already looked at them and they look OK, but I wanted to test them out
with at least one other VM before applying them. I will have time
tomorrow to do some tests and check it in.

Cheers,

Mark



From MAILER-DAEMON Tue Jul 15 04:09:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cKoX-0005Ur-EG
	for mharc-classpath@gnu.org; Tue, 15 Jul 2003 04:05:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cK0y-0008UW-8Z
	for classpath@gnu.org; Tue, 15 Jul 2003 03:14:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cK0w-0008Tn-N1
	for classpath@gnu.org; Tue, 15 Jul 2003 03:14:19 -0400
Received: from xizor.is.kpn.be ([193.74.71.21])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cJyb-0007cn-Cx
	for classpath@gnu.org; Tue, 15 Jul 2003 03:11:53 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by xizor.is.kpn.be  with SMTP id h6F7Boj23624; 
	Tue, 15 Jul 2003 09:11:50 +0200
Message-Id: <200307150711.h6F7Boj23624@xizor.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Trent Jarvi <taj@linuxgrrls.org>,
	Java RXTX discussion <rxtx@linuxgrrls.org>
Date: Tue, 15 Jul 2003 09:11:49 +0200
X-Mailer: KMail [version 1.3]
References: <1058125728.1750.28.camel@localhost> <3F1296F2.9060801@kaffe.org>
	<Pine.LNX.4.53.0307141618560.5858@hex.linuxgrrls.org>
In-Reply-To: <Pine.LNX.4.53.0307141618560.5858@hex.linuxgrrls.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Tue, 15 Jul 2003 04:05:31 -0400
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org, taj@www.linux.org.uk,
	kaffe@kaffe.org
Subject: Re: [Rxtx] Implementing javax.comm for free software java
	implementations (Was: Re: [kaffe] Notes on kaffe (GNU
	Classpath integration) todo items)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jul 2003 07:14:20 -0000

On Monday 14 July 2003 17:28, Trent Jarvi wrote:

> We'd be more than willing to work with Classpath and or Kaffe to get this
> working. RXTX 2.1 implements CommAPI from the top down but is in package
> gnu.io to avoid confusion with Sun's impementation.
>
> RXTX 2.0 implements the lower portion of CommAPI and could be made to work
> with the upper portion offered in Kaffe.  The Kaffe shell classes did look
> acceptable when I read through them.

My current main project involves Wonka on uClinux, where everything is 
statically linked: I'm a bit worried about the effects of LPGL contagion in 
that environment.  So I'll probably stick with the Wonka implementation for 
that one, but check out rxtx for future projects.

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



From MAILER-DAEMON Tue Jul 15 07:52:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cOIk-0004tC-OM
	for mharc-classpath@gnu.org; Tue, 15 Jul 2003 07:48:58 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cOHk-0004lO-8n
	for classpath@gnu.org; Tue, 15 Jul 2003 07:47:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cOER-00039E-Vr
	for classpath@gnu.org; Tue, 15 Jul 2003 07:44:32 -0400
Received: from moutng.kundenserver.de ([212.227.126.171])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cO9t-0001iq-89
	for classpath@gnu.org; Tue, 15 Jul 2003 07:39:49 -0400
Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19cO9f-0002wF-00
	for classpath@gnu.org; Tue, 15 Jul 2003 13:39:35 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19cO9e-0003EA-00
	for classpath@gnu.org; Tue, 15 Jul 2003 13:39:34 +0200
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andy Walter <anwalt_pop@aicas.com>
To: classpath@gnu.org
Date: Tue, 15 Jul 2003 13:39:34 +0200
X-Mailer: KMail [version 1.4]
References: <1058136368.776.7.camel@localhost> <3F12D573.6030201@bothner.com>
In-Reply-To: <3F12D573.6030201@bothner.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200307151339.34260.anwalt_pop@aicas.com>
Subject: Re: GNU Classpath Linuxtag meeting minutes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jul 2003 11:48:58 -0000

On Monday 14 July 2003 18:08, Per Bothner wrote:
> Mark Wielaard wrote:
> > - [NotYetImplementedException]
>
> In the gcj list I suggested UnsupportedOperationException, with a
> refinement:
>
> throw new UnsupportedOperationException (REASON);
> where REASON is a string literal that includes "not implemented"
> and all on a single line (to make it easy to grep for).

What about subclassing UnsupportedOperationException like this:

--- cut ---

package gnu.org.classpath;

public class NYIException extends UnsupportedOperationException {
  static String nyi =3D
    "This method has not yet been implemented in GNU Classpath. Please " =
+
    "contact classpath@gnu.org if you want to use it.";

  public NYIException() {
    super(nyi);
  }

  public NYIException(String s) {
    super(s + "\n" + nyi);
  }
}

--- cut ---

Thus, we make sure the user always receives a helpful description and it =
is=20
easy for VM implementations to replace the contact information by whateve=
r=20
else. I prefer grepping for class names to grepping for strings because t=
here=20
are no undetected typos in class names.


Cheers,

=09Andy.

--=20
aicas GmbH                                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From MAILER-DAEMON Tue Jul 15 09:36:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cPz4-0003wU-IE
	for mharc-classpath@gnu.org; Tue, 15 Jul 2003 09:36:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cPyy-0003jK-Ig
	for classpath@gnu.org; Tue, 15 Jul 2003 09:36:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cPyt-0003bv-6P
	for classpath@gnu.org; Tue, 15 Jul 2003 09:36:36 -0400
Received: from mail.mpi-sb.mpg.de ([139.19.1.1] helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cPyr-0003Xi-Un
	for classpath@gnu.org; Tue, 15 Jul 2003 09:36:34 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 19cPyr-00084X-00
	for <classpath@gnu.org>; Tue, 15 Jul 2003 15:36:33 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 19cPyo-00083E-00; Tue, 15 Jul 2003 15:36:30 +0200
Message-ID: <3F14035E.1090703@kaffe.org>
Date: Tue, 15 Jul 2003 15:36:30 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Andy Walter <anwalt_pop@aicas.com>
References: <1058136368.776.7.camel@localhost> <3F12D573.6030201@bothner.com>
	<200307151339.34260.anwalt_pop@aicas.com>
In-Reply-To: <200307151339.34260.anwalt_pop@aicas.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org
Subject: Re: GNU Classpath Linuxtag meeting minutes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jul 2003 13:36:44 -0000

Andy Walter wrote:
> On Monday 14 July 2003 18:08, Per Bothner wrote:
> 
>>Mark Wielaard wrote:
>>
>>>- [NotYetImplementedException]
>>
>>In the gcj list I suggested UnsupportedOperationException, with a
>>refinement:
>>
>>throw new UnsupportedOperationException (REASON);
>>where REASON is a string literal that includes "not implemented"
>>and all on a single line (to make it easy to grep for).
> 
> 
> What about subclassing UnsupportedOperationException like this:

> 
> Thus, we make sure the user always receives a helpful description and it is 
> easy for VM implementations to replace the contact information by whatever 
> else. I prefer grepping for class names to grepping for strings because there 
> are no undetected typos in class names.

I agree with Andy, classes are nicer, since the compiler checks that the 
names are actually correct. But since we also talked about attracting 
new contributors on our meeting, I'd like to propose a sightly modified 
message string:

  static String nyi =
	"This method has not yet been implemented in GNU Classpath.\n\n"
	+ " The GNU Classpath project would appreciate receiving"
	+ " an implementation for it.\n"
	+ " If you intend to contribute, please take a look at"
	+ " http://www.gnu.org/software/classpath/docs/hacking.html and"
  	+ " get in touch with other developers on classpath@gnu.org.";

I hope that we could get more contributors fixing small missing bits 
that way. I guess people who dearly want to use a missing feature 
shouldn't be that hard to convince to implement it ;)

cheers,
dalibor topic




From MAILER-DAEMON Tue Jul 15 11:20:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cRQC-00075L-84
	for mharc-classpath@gnu.org; Tue, 15 Jul 2003 11:08:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cRPl-0006bh-Bv
	for classpath@gnu.org; Tue, 15 Jul 2003 11:08:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cRPN-0006Br-Sa
	for classpath@gnu.org; Tue, 15 Jul 2003 11:08:02 -0400
Received: from moutng.kundenserver.de ([212.227.126.186])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cRON-0005dN-Os
	for classpath@gnu.org; Tue, 15 Jul 2003 11:06:59 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19cRON-0007ao-00
	for classpath@gnu.org; Tue, 15 Jul 2003 17:06:59 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19cROM-0005F3-00; Tue, 15 Jul 2003 17:06:58 +0200
Message-ID: <3F141892.4080309@aicas.com>
Date: Tue, 15 Jul 2003 17:06:58 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Native layer, part II
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jul 2003 15:08:50 -0000

Dear Classpath members,

I yust check-in the second part of the native layer in:

native/jni/nio
native/jni/java-net
native/jni/java-util

Now most of the modifications are done now, but some fine
tuning and of course bug-fixes (if there are bugs) still
have to be done. I will do this as soon as possible. If
you detect some bug or if there is something strange
please send me a email.

Sincerely,

Torsten




From MAILER-DAEMON Tue Jul 15 14:49:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cUrP-0006AT-I6
	for mharc-classpath@gnu.org; Tue, 15 Jul 2003 14:49:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cUrN-0006AK-Eg
	for classpath@gnu.org; Tue, 15 Jul 2003 14:49:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cUrK-00069y-Bu
	for classpath@gnu.org; Tue, 15 Jul 2003 14:49:06 -0400
Received: from moutng.kundenserver.de ([212.227.126.183])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cUrK-00069o-2a
	for classpath@gnu.org; Tue, 15 Jul 2003 14:49:06 -0400
Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19cUrI-0004nY-00; Tue, 15 Jul 2003 20:49:04 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19cUrH-0006L9-00; Tue, 15 Jul 2003 20:49:04 +0200
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andy Walter <anwalt_pop@aicas.com>
To: Sascha Brawer <brawer@dandelis.ch>,
 GNU Classpath <classpath@gnu.org>
Date: Tue, 15 Jul 2003 20:49:03 +0200
X-Mailer: KMail [version 1.4]
References: <1058136368.776.7.camel@localhost>
	<20030714123955.23056@smtp.mail.ch.easynet.net>
In-Reply-To: <20030714123955.23056@smtp.mail.ch.easynet.net>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200307152049.03387.anwalt_pop@aicas.com>
Cc: 
Subject: Re: GNU Classpath Linuxtag meeting minutes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jul 2003 18:49:10 -0000

On Monday 14 July 2003 14:39, Sascha Brawer wrote:
> Mark Wielaard <mark@klomp.org> wrote on Mon, 14 Jul 2003 00:46:08 +0200=
:
> >- Aicas is working on some RMI fixups.
>
> In the context of RMI, maybe not everyone knows that there also exists =
a
> variant which does RMI over IIOP. It uses the CORBA protocol for RMI, b=
ut
> without using CORBA IDL.
> [...] http://java.sun.com/products/rmi-iiop/

Thanks for the link, Sascha. For the time being, we'd like to get standar=
d RMI=20
running with GNU Classpath. RMI IIOP might be an interesting approach aft=
er=20
that.


Cheers,

=09Andy.

--=20
aicas GmbH                                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From MAILER-DAEMON Tue Jul 15 14:49:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cUs4-0006KJ-KB
	for mharc-classpath@gnu.org; Tue, 15 Jul 2003 14:49:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cUpo-0005X6-AC
	for classpath@gnu.org; Tue, 15 Jul 2003 14:47:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cUpD-0004zn-C2
	for classpath@gnu.org; Tue, 15 Jul 2003 14:46:55 -0400
Received: from moutng.kundenserver.de ([212.227.126.186])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cUnA-0003g4-73
	for classpath@gnu.org; Tue, 15 Jul 2003 14:44:48 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19cUn6-0001PR-00; Tue, 15 Jul 2003 20:44:44 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19cUn6-0005WO-00; Tue, 15 Jul 2003 20:44:44 +0200
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andy Walter <anwalt_pop@aicas.com>
To: Dalibor Topic <robilad@kaffe.org>
Date: Tue, 15 Jul 2003 20:44:43 +0200
X-Mailer: KMail [version 1.4]
References: <1058136368.776.7.camel@localhost>
	<200307151339.34260.anwalt_pop@aicas.com>
	<3F14035E.1090703@kaffe.org>
In-Reply-To: <3F14035E.1090703@kaffe.org>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200307152044.43597.anwalt_pop@aicas.com>
Cc: classpath@gnu.org
Subject: Re: GNU Classpath Linuxtag meeting minutes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jul 2003 18:49:51 -0000

On Tuesday 15 July 2003 15:36, Dalibor Topic wrote:
> >>>- [NotYetImplementedException]
>   static String nyi =3D
> =09"This method has not yet been implemented in GNU Classpath.\n\n"
> =09+ " The GNU Classpath project would appreciate receiving"
> =09+ " an implementation for it.\n"
> =09+ " If you intend to contribute, please take a look at"
> =09+ " http://www.gnu.org/software/classpath/docs/hacking.html and"
>   =09+ " get in touch with other developers on classpath@gnu.org.";

Thanks, Dalibor. This message string seems more suitable for GNU Classpat=
h=20
than my proposal.


Cheers,

=09Andy.

--=20
aicas GmbH                                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From MAILER-DAEMON Wed Jul 16 04:51:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ci0w-0006fC-PQ
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 04:51:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ci0u-0006eB-IO
	for classpath@gnu.org; Wed, 16 Jul 2003 04:51:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ci0s-0006dQ-PT
	for classpath@gnu.org; Wed, 16 Jul 2003 04:51:51 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ci0s-0006ap-Eh
	for classpath@gnu.org; Wed, 16 Jul 2003 04:51:50 -0400
Received: from [192.168.1.33] (unknown [217.8.220.150])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id 8B3B8645E3; Wed, 16 Jul 2003 10:51:45 +0200 (CEST)
From: Sascha Brawer <brawer@acm.org>
To: GNU Classpath <classpath@gnu.org>
Date: Wed, 16 Jul 2003 10:51:29 +0200
Message-Id: <20030716085129.12331@smtp.mail.ch.easynet.net>
In-Reply-To: <3F12FEFD.1040600@kaffe.org>
References: <3F12FEFD.1040600@kaffe.org>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: kaffe@kaffe.org
Subject: Re: Linux Kongress 2003 in Saarbruecken, Germany
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 08:51:53 -0000

Dalibor Topic <robilad@kaffe.org> wrote on Mon, 14 Jul 2003 21:05:33 +0200:

>Mark Wielaard has already said that I'd like the next free software java 
>develeper meeting to be in Saarbruecken, which hosts the Linux Kongress 
>from October 14 to October 16, 2003. I hope we can use this Kongress as 
>an oppportunity to present the current state of free java 
>implementations to a broader audience. And of course to have a BOF 
>session, a couple of drinks and a good time.

Here's a draft for an extended abstract, see below. Any comments? Would
anyone be interested in doing the talk together? (I think that would be
good, because otherwise my contribution to Classpath might appear larger
than it actually is).  IMHO, it would be great if there also were
separate talks about the VMs.

Also, would anyone be interested in a BoF session about Java graphics?
What other talks/BoFs do people have in mind?

Best,

-- Sascha

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

PS: Dalibor has sent the call for papers both to kaffe@kaffe.org and
classpath@gnu.org, which is why I am sending this to both. But I guess we
probably should have the discussion on the classpath list.


==============================================================

GNU Classpath -- Freedom for Java [FIXME: Is the title too snappy?]

Java has become the tool of choice for many software developers. 
Although good marketing was probably a big, if not the most important
factor to Java's success, there also exist technical properties which
make the combination of language and associated class libraries a very
attractive platform.

In this talk, we explain why we think that Java is good for writing free
software. After briefly reviewing some projects for free Virtual
Machines, the main section discusses the current state of GNU Classpath.

The goal of GNU Classpath is to implement the class library of the Java
platform. Due to the richness of that library, GNU Classpath is a very
large and ambitious project. But this very richness also means that Free
Software developers can use a reasonably well designed, object-oriented
framework that covers more most needs of a typical application. Because
Java is accepted by the mainstream, many developers are already familiar
with the framework, which means that they can quickly write free software.

GNU Classpath has made much more progress than many might think. In a
live demonstration, we refute the widespread belief that it would not be
possible to run large Java projects in an entirely free environment.

Nonetheless, many important parts are still missing. The talk thus
concludes by showing how volunteers can contribute to GNU Classpath, and
in which areas help would be most appreciated.





From MAILER-DAEMON Wed Jul 16 06:23:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cjPH-0007jN-P6
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 06:21:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cjP8-0007h6-7y
	for classpath@gnu.org; Wed, 16 Jul 2003 06:20:58 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cjIX-00069C-70
	for classpath@gnu.org; Wed, 16 Jul 2003 06:14:09 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cjF3-0004Wf-Od
	for classpath@gnu.org; Wed, 16 Jul 2003 06:10:33 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19cjDC-00036P-00; Wed, 16 Jul 2003 12:08:38 +0200
From: Mark Wielaard <mark@klomp.org>
To: rupp@aicas.com
In-Reply-To: <E19cilI-0001VG-LB@subversions.gnu.org>
References: <E19cilI-0001VG-LB@subversions.gnu.org>
Content-Type: text/plain
Message-Id: <1058350230.881.5.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 16 Jul 2003 12:10:30 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: classpath/native/jni/classpath jcl.c jcl.h
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 10:21:05 -0000

Hi,

On Wed, 2003-07-16 at 11:39, Torsten Rupp wrote:
> Modified files:
> 	native/jni/classpath: jcl.c jcl.h 
> 
> Log message:
> 	Fixed some prototypes

Besides the obviously correct const char fixes this includes the
following:

+/* do not move; needed here because of some macro definitions */
+#include "jamaica_config.h"

Which clearly won't work with other VMs.
Please fix.

Thanks,

Mark




From MAILER-DAEMON Wed Jul 16 07:00:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cjvO-0006vi-Hh
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 06:54:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cjuV-0006g7-Bu
	for classpath@gnu.org; Wed, 16 Jul 2003 06:53:23 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cjmy-0005FU-9h
	for classpath@gnu.org; Wed, 16 Jul 2003 06:45:36 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cjlg-00053n-Lj
	for classpath@gnu.org; Wed, 16 Jul 2003 06:44:16 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19cjjq-0003EO-00
	for <classpath@gnu.org>; Wed, 16 Jul 2003 12:42:22 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1058352253.881.10.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 16 Jul 2003 12:44:13 +0200
Content-Transfer-Encoding: 7bit
Subject: JNI header files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 10:54:16 -0000

Hi,

We don't seem to have real build support for creating JNI header files
but instead have pre-generated .h files in our include file.
Why is that? We do seem to detect which javah like program the user has
installed. On my system it correctly detects gcjh.

I would like them to be generated at build time so they won't get out of
sync by accident.

Cheers,

Mark




From MAILER-DAEMON Wed Jul 16 07:30:45 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ckTa-0004ps-IB
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 07:29:38 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ckTN-0004gu-Im
	for classpath@gnu.org; Wed, 16 Jul 2003 07:29:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ckR7-0003BD-OE
	for classpath@gnu.org; Wed, 16 Jul 2003 07:27:06 -0400
Received: from moutng.kundenserver.de ([212.227.126.186])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ckQw-00030M-La
	for classpath@gnu.org; Wed, 16 Jul 2003 07:26:54 -0400
Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19ckQv-0002I8-00; Wed, 16 Jul 2003 13:26:53 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19ckQv-0003pc-00; Wed, 16 Jul 2003 13:26:53 +0200
Content-Type: text/plain;
  charset="iso-8859-15"
From: Andy Walter <anwalt_pop@aicas.com>
To: Mark Wielaard <mark@klomp.org>,
 classpath@gnu.org
Date: Wed, 16 Jul 2003 13:26:52 +0200
X-Mailer: KMail [version 1.4]
References: <1058352253.881.10.camel@elsschot>
In-Reply-To: <1058352253.881.10.camel@elsschot>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200307161326.52449.anwalt_pop@aicas.com>
Cc: Torsten Rupp <rupp@aicas.com>
Subject: Re: JNI header files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 11:29:36 -0000

Hi Mark,

On Wednesday 16 July 2003 12:44, Mark Wielaard wrote:
> We don't seem to have real build support for creating JNI header files
> but instead have pre-generated .h files in our include file.
> Why is that? We do seem to detect which javah like program the user has
> installed. On my system it correctly detects gcjh.
>
> I would like them to be generated at build time so they won't get out o=
f
> sync by accident.

I assume gcjh is implemented in C? jamaicah is implemented in Java, so we=
 have=20
a bootstrap problem if we don't checkin the generated headers.

We can solve this by checking in the JNI headers into our own repository =
only=20
and remove it from the Classpath repository, but in case other VMs have=20
similar problems, it might be better to check in the headers.


Cheers,

=09Andy.

--=20
aicas GmbH                                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From MAILER-DAEMON Wed Jul 16 08:18:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19clEL-00055g-Pu
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 08:17:57 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19clDe-0004ow-KZ
	for classpath@gnu.org; Wed, 16 Jul 2003 08:17:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19clD0-0004Wf-7F
	for classpath@gnu.org; Wed, 16 Jul 2003 08:16:34 -0400
Received: from ms-smtp-02.southeast.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19clCk-0004Sh-5R
	for classpath@gnu.org; Wed, 16 Jul 2003 08:16:18 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6GCDCqP022035; Wed, 16 Jul 2003 08:13:12 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id EAC0FBE6B4; Wed, 16 Jul 2003 08:16:16 -0400 (EDT)
Sender: cbj@haphazard.org
To: Mark Wielaard <mark@klomp.org>
References: <1058352253.881.10.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 16 Jul 2003 08:16:16 -0400
In-Reply-To: <1058352253.881.10.camel@elsschot>
Message-ID: <m3fzl6bran.fsf@lyta.haphazard.org>
Lines: 21
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: JNI header files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 12:17:55 -0000

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> We don't seem to have real build support for creating JNI header files
> but instead have pre-generated .h files in our include file.
> Why is that? We do seem to detect which javah like program the user has
> installed. On my system it correctly detects gcjh.
> 
> I would like them to be generated at build time so they won't get out of
> sync by accident.

The native side wasn't changing much and keeping the header generation
was more pain (to me) than just checking them in.  I don't think it
would be so bad if you added a target somewhere that regenerated them
but wasn't part of the usual build.  For distributions I wanted to
distribute the headers as well.

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



From MAILER-DAEMON Wed Jul 16 08:56:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19clpt-00058W-Co
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 08:56:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19clj7-0003MH-Ss
	for classpath@gnu.org; Wed, 16 Jul 2003 08:49:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cldy-0001na-0k
	for classpath@gnu.org; Wed, 16 Jul 2003 08:44:27 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19clcj-0001N6-Ux
	for classpath@gnu.org; Wed, 16 Jul 2003 08:43:10 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19clan-0003yN-00; Wed, 16 Jul 2003 14:41:09 +0200
From: Mark Wielaard <mark@klomp.org>
To: David P Grove <groved@us.ibm.com>
In-Reply-To: <1058224651.5852.165.camel@localhost>
References: <OF76745136.4012C5A4-ON85256D63.00789C62-85256D63.007906EF@us.ibm.com>
	<1058224651.5852.165.camel@localhost>
Content-Type: text/plain
Message-Id: <1058359381.996.28.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 16 Jul 2003 14:43:01 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: RE: suggested way to structure changes to String, Float, Double
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 12:56:43 -0000

Hi,

On Tue, 2003-07-15 at 01:17, Mark Wielaard wrote:
> On Tue, 2003-07-15 at 00:02, David P Grove wrote:
> >         I submitted a patch (#1686) for this about two weeks ago.  The
> > change to java.lang.String is actually fairly important for Jikes RVM
> 
> I already looked at them and they look OK, but I wanted to test them out
> with at least one other VM before applying them. I will have time
> tomorrow to do some tests and check it in.

OK I tested it with Kissme to see if everything still worked OK and have
checked it in. Also made short NEWS items about it because they change
the VM interface.

2003-07-16  David Grove  <groved@us.ibm.com
 
        * java/lang/Double.java (doubleToLongBits): No longer native,
        delegates to VMDouble.
        (doubleToRawLongBits): Likewise.
        (longBitsToDouble): Likewise.
        * java/lang/Float.java (static): Moved to VMFloat.
        (floatToIntBits) No longer native, delegates to VMFloat.
        (floatToRawIntBits): Likewise.
        (intBitsToFloat): Likewise.
        * vm/reference/java/lang/VMDouble.java: New class.
        * vm/reference/java/lang/VMFloat.java: New class.
        * native/jni/java-lang/Makefile.am (libjavalang_la_SOURCES): Remove
        java_lang_Float.c, add java_lang_VMFloat.c and java_lang_VMDouble.c.
        * native/jni/java-lang/java_lang_Double.c (doubleToLongBits):
        Removed, moved to java_lang_VMDouble.c.
        (doubleToRawLongBits): Likewise.
        (longBitsToDouble): Likewise.
        * native/jni/java-lang/java_lang_Float.c: Removed file.
        * native/jni/java-lang/java_lang_VMDouble.c: New file.
        * native/jni/java-lang/java_lang_VMFloat.c: New file.
        * include/java_lang_Double.h: Regenerated.
        * include/java_lang_Float.h: Removed.
        * include/java_lang_VMDouble.h: New file.
        * include/java_lang_VMFloat.h: New file.
        * NEWS: Describe new VM Float/Double conversion methods.

News:
        * A VM can now supply its own String.intern() strategy through the
          VMString class. The supplied VMString reference class implements the
          original WeakHashMap strategy.
        * Float and Double to/from bits conversion functions can now be supplied by
          the VM through VMFloat and VMDouble. Default JNI conversion methods are
          supplied.

If you could also supply a ChangeLog entry with a patch in the future
that would be helpful.

There are still three native methods left in Double which I would like
to also move to VMDouble in the future. (My long, long term goal is to
remove all native methods from public visible classes so VMs are free to
implement them however they want, possibly with our supplied default JNI
methods, but maybe by some completely other mechanism, like java for
JRVM, CNI for gcj or by delegation to some C# library for IKVM.NET.)

Thanks,

Mark




From MAILER-DAEMON Wed Jul 16 08:58:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19clpX-0004yU-I0
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 08:56:23 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cliZ-00036d-5o
	for classpath@gnu.org; Wed, 16 Jul 2003 08:49:11 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cliT-00032j-4y
	for classpath@gnu.org; Wed, 16 Jul 2003 08:49:05 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19clh3-0002YP-8R
	for classpath@gnu.org; Wed, 16 Jul 2003 08:47:37 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19clfD-0004G0-00; Wed, 16 Jul 2003 14:45:43 +0200
From: Mark Wielaard <mark@klomp.org>
To: Andy Walter <anwalt_pop@aicas.com>
In-Reply-To: <200307161326.52449.anwalt_pop@aicas.com>
References: <1058352253.881.10.camel@elsschot>
	<200307161326.52449.anwalt_pop@aicas.com>
Content-Type: text/plain
Message-Id: <1058359654.881.34.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 16 Jul 2003 14:47:34 +0200
Content-Transfer-Encoding: 7bit
Cc: Torsten Rupp <rupp@aicas.com>, classpath@gnu.org
Subject: Re: JNI header files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 12:56:22 -0000

Hi,

On Wed, 2003-07-16 at 13:26, Andy Walter wrote:
> I assume gcjh is implemented in C? jamaicah is implemented in Java, so we have 
> a bootstrap problem if we don't checkin the generated headers.
> 
> We can solve this by checking in the JNI headers into our own repository only 
> and remove it from the Classpath repository, but in case other VMs have 
> similar problems, it might be better to check in the headers.

Good point. kaffeh and gcjh are indeed both C implementations.
Brian said it would be a good thing to supply header files with the
distribution. But a build target to regenerate the files would be nice.
Then it would be easy to check if the checked in files are still
correct. Any takers to hack the make files?

Cheers,

Mark




From MAILER-DAEMON Wed Jul 16 10:07:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cmw2-0008GD-Hn
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 10:07:10 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cmp1-00060q-5Y
	for classpath@gnu.org; Wed, 16 Jul 2003 09:59:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cmon-0005p6-27
	for classpath@gnu.org; Wed, 16 Jul 2003 09:59:41 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cmnk-0004wE-3r
	for classpath@gnu.org; Wed, 16 Jul 2003 09:58:36 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19cmls-0004fn-00; Wed, 16 Jul 2003 15:56:40 +0200
From: Mark Wielaard <mark@klomp.org>
To: Sascha Brawer <brawer@acm.org>
In-Reply-To: <20030716085129.12331@smtp.mail.ch.easynet.net>
References: <3F12FEFD.1040600@kaffe.org>
	<20030716085129.12331@smtp.mail.ch.easynet.net>
Content-Type: text/plain
Message-Id: <1058363912.996.95.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 16 Jul 2003 15:58:32 +0200
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Linux Kongress 2003 in Saarbruecken, Germany
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 14:07:08 -0000

Hi,

On Wed, 2003-07-16 at 10:51, Sascha Brawer wrote:
> Here's a draft for an extended abstract, see below. Any comments

In general be careful of your use of the word java. We don't want to
give the impression that we implement java, which is a trademarked word
used to describe particular (proprietary) implementations. That is why
we call the project GNU Classpath, essential libraries for the java
language or something similar descriptive.
See also http://www.fsf.org/prep/standards_5.html

You should also mention that some dedicated people have been working on
GNU Classpath for the last five years. That explains why we are as far
as we are now. Consistently doing little steps for a couple of years
does work to make progress.

> Would anyone be interested in doing the talk together?

I can certainly act as the lovely assistant who does the demos :)

> IMHO, it would be great if there also were
> separate talks about the VMs.

I would like to see talks about:

- Kaffe, the NetBSD of VMs (we show you what portability means)
- GCJ, doing it the traditional way
  (or how to generate the fasted code on earth)
- JRVM, implementing the difficult stuff in an easy language.
- IKVM.NET, cooperation and integration in the extreme.

> Also, would anyone be interested in a BoF session about Java graphics?
> What other talks/BoFs do people have in mind?

I really want to spend some time the next couple of months on Mauve or
just tests in general and on making the VM interface even more abstract.
Both topics would be nice to evaluate with some people.

And from the meeting in Karlsruhe I got the impression that people would
be interested in some common (native) library format to reuse the output
of a ahead of time or just in time compiler. (BTW found the paper that I
mentioned: http://flint.cs.yale.edu/flint/publications/bincomp.html)

> GNU Classpath -- Freedom for Java [FIXME: Is the title too snappy?]

"Freedom to Innovate" :)

Seriously. I think GNU Classpath is the boring project. It is what it
enables people do with it that makes it so exciting! Having people
create big complex free programs on top of it like Eclipse
(http://www.eclipse.org/) or XWT (http://www.xwt.org/) is nice. And
writing application in an easy language for the GNOME framework is
really productive. And we are also the catalyst for all these cool
VM/Compiler projects mentioned above. Giving people the freedom to do
these kinds of innovative things without them being
controlled/sanctioned by someone is why I think GNU Classpath is
meaningful.

Cheers,

Mark




From MAILER-DAEMON Wed Jul 16 10:12:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cn0j-0000YQ-3V
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 10:12:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cn0g-0000YJ-To
	for classpath@gnu.org; Wed, 16 Jul 2003 10:11:58 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cn0f-0000Y3-A0
	for classpath@gnu.org; Wed, 16 Jul 2003 10:11:57 -0400
Received: from moutng.kundenserver.de ([212.227.126.189])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cn0e-0000Xr-V2
	for classpath@gnu.org; Wed, 16 Jul 2003 10:11:57 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19cn0e-0005AS-00
	for classpath@gnu.org; Wed, 16 Jul 2003 16:11:56 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19cn0e-0000pO-00; Wed, 16 Jul 2003 16:11:56 +0200
Message-ID: <3F155D2B.4070307@aicas.com>
Date: Wed, 16 Jul 2003 16:11:55 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Dependencies files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 14:11:59 -0000

Dear Classpath members,

I added some files with the names

class-dependencies.conf

in some Java package directories. These files describe dependencies
of class/methods/fields as a property file. The data can be used if
a VM tool want to link classes to an "static linked" application,
like our JamaicaVM tool "Builder" can do. We use these dependencies
to detect which classes/methods/fields have to be linked to the
build application if some class/method/field is used. This is
important if the dependencies to some classes/methods/fields are can
be detected completely by a class-analysis, e. g. if some field in
a class is accessed in some native-methods.

Please have a look into the files and feel free to add dependencies
which are still missing. If the dependency information is not needed
in your VM, yust ignore the files.

Sincerely,

Torsten




From MAILER-DAEMON Wed Jul 16 11:09:29 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cnuK-0000kH-SF
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 11:09:28 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cnrY-00081t-3A
	for classpath@gnu.org; Wed, 16 Jul 2003 11:06:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cnq4-0007dX-Ju
	for classpath@gnu.org; Wed, 16 Jul 2003 11:05:05 -0400
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cnnJ-00078b-9C
	for classpath@gnu.org; Wed, 16 Jul 2003 11:02:13 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.9/8.12.9) with ESMTP id h6GF1pV9019464;
	Thu, 17 Jul 2003 01:01:51 +1000 (EST)
Message-Id: <200307161501.h6GF1pV9019464@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: "Dr. Torsten Rupp" <rupp@aicas.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 17 Jul 2003 01:02:07 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang)
Cc: classpath@gnu.org
Subject: Fixes for your native/target/generic/target_generic_file.h changes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 15:09:27 -0000


Hi Torsten,

The following patches are required to get the most recent version of
target_generic_file.h to compile.  Can you please check and apply them
to the Classpath CVS?

[Hint for others: it is necessary to rerun autoheader, automake,
autoconf and ./configure after apply this patch.]

Thanks,

-- Steve

Index: configure.in
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.in,v
retrieving revision 1.126
diff -p -r1.126 configure.in
*** configure.in        2 Jul 2003 09:16:52 -0000       1.126
--- configure.in        16 Jul 2003 14:52:07 -0000
*************** dnl Checks for programs.
*** 91,97 ****

  if test "x${COMPILE_JNI}" = xyes; then
    AC_HEADER_STDC
!   AC_CHECK_HEADERS(unistd.h sys/types.h sys/config.h sys/ioctl.h asm/ioctls.h
inttypes.h stdint.h)
    AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t]))
    AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t]))
    AC_EGREP_HEADER(u_int32_t, sys/types.h, AC_DEFINE(HAVE_BSD_INT32_DEFINED, 1, [Define to 1 if you have BSD u_int32_t]))
--- 91,97 ----

  if test "x${COMPILE_JNI}" = xyes; then
    AC_HEADER_STDC
!   AC_CHECK_HEADERS(unistd.h sys/types.h sys/config.h sys/ioctl.h asm/ioctls.h
inttypes.h stdint.h utime.h sys/utime.h)
    AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t]))
    AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t]))
    AC_EGREP_HEADER(u_int32_t, sys/types.h, AC_DEFINE(HAVE_BSD_INT32_DEFINED, 1, [Define to 1 if you have BSD u_int32_t]))
Index: native/target/generic/target_generic_file.h
===================================================================
RCS file: /cvsroot/classpath/classpath/native/target/generic/target_generic_file.h,v
retrieving revision 1.6
diff -p -r1.6 target_generic_file.h
*** native/target/generic/target_generic_file.h 16 Jul 2003 13:30:56 -0000
1.6
--- native/target/generic/target_generic_file.h 16 Jul 2003 14:52:08 -0000
*************** extern "C" {
*** 624,632 ****
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <unistd.h>
!   #ifdef HAVE_UTIME
      #include <utime.h>
!   #elif HAVE_SYS_UTIME
      #include <sys/utime.h>
    #else
      #error utime.h not found. Please check configuration.
--- 624,632 ----
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <unistd.h>
!   #ifdef HAVE_UTIME_H
      #include <utime.h>
!   #elif HAVE_SYS_UTIME_H
      #include <sys/utime.h>
    #else
      #error utime.h not found. Please check configuration.




From MAILER-DAEMON Wed Jul 16 19:32:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cvky-0007Va-7V
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 19:32:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cvka-0006tm-G8
	for classpath@gnu.org; Wed, 16 Jul 2003 19:31:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cvkB-0006R1-Ly
	for classpath@gnu.org; Wed, 16 Jul 2003 19:31:32 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cvk2-00060I-5l
	for classpath@gnu.org; Wed, 16 Jul 2003 19:31:22 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19cviB-0000Bw-00; Thu, 17 Jul 2003 01:29:27 +0200
From: Mark Wielaard <mark@klomp.org>
To: rupp@aicas.com
In-Reply-To: <E19co3N-0003L0-CG@subversions.gnu.org>
References: <E19co3N-0003L0-CG@subversions.gnu.org>
Content-Type: text/plain
Message-Id: <1058398279.996.208.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 17 Jul 2003 01:31:19 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: classpath ChangeLog
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 23:32:18 -0000

Hi,

On Wed, 2003-07-16 at 17:18, Torsten Rupp wrote:
> Log message:
> 	2003-07-16  Torsten Rupp  <rupp@lisa.aicas.com>
> 	
> 	* configure.in:
> 	Some fixes for target native layer (reported by Stephen Crawley)
>
>         2003-07-16  Torsten Rupp  <rupp@lisa.aicas.com>
>         
>         * native/target/generic/target_generic_file.h:
>         Some fixes for target native layer (reported by Stephen Crawley)

One little nit. You have to forgive me, as a new maintainer I am still a
bit uptight. If that doesn't go away in a month or so please kick me or
else I will probably burn up very quickly anyway :)

A ChangeLog entry should be more precise then this. It doesn't have to
explain everything about the change or why it changed (put that as a
comment in the code if necessary). But it should explain exactly what
has changed. That makes finding bugs later so much easier. Also the name
in the ChangeLog entry does not have to be the person who actually
committed the change, it can be the contributer that submitted the
patch. So instead of the above I would have written:

	2003-07-16  Stephen Crawley <crawley@dstc.edu.au>

	configure.in (AC_CHECK_HEADERS): Add utime.h and sys/utime.h.
	native/target/generic/target_generic_file.h: Check includes for
	HAVE_UTIME_H or HAVE_SYS_UTIME_H.

There is more on ChangeLogs in the GNU Coding Standards
<http://www.gnu.org/prep/standards_40.html>
And I like the essay by Jim Blandy "Maintaining the ChangeLog":
<http://www.red-bean.com/cvs2cl/changelogs.html>

End of pedantic mode.

Cheers,

Mark




From MAILER-DAEMON Wed Jul 16 19:54:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19cw5t-0005sf-Uq
	for mharc-classpath@gnu.org; Wed, 16 Jul 2003 19:53:57 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19cw5V-0005UM-Ih
	for classpath@gnu.org; Wed, 16 Jul 2003 19:53:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19cw5J-00054l-3w
	for classpath@gnu.org; Wed, 16 Jul 2003 19:53:23 -0400
Received: from ms-smtp-02.southeast.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19cw4v-0004Gy-8O
	for classpath@gnu.org; Wed, 16 Jul 2003 19:52:57 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6GNnlqP014653; Wed, 16 Jul 2003 19:49:47 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id BF4CFBE6B4; Wed, 16 Jul 2003 19:52:50 -0400 (EDT)
Sender: cbj@haphazard.org
To: "Dr. Torsten Rupp" <rupp@aicas.com>
References: <3F155D2B.4070307@aicas.com>
From: Brian Jones <cbj@gnu.org>
Date: 16 Jul 2003 19:52:50 -0400
In-Reply-To: <3F155D2B.4070307@aicas.com>
Message-ID: <m38yqyav1p.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 <classpath@gnu.org>
Subject: Re: Dependencies files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2003 23:53:56 -0000

"Dr. Torsten Rupp" <rupp@aicas.com> writes:

> Dear Classpath members,
> 
> I added some files with the names
> 
> class-dependencies.conf
> 
> in some Java package directories. These files describe dependencies
> of class/methods/fields as a property file. The data can be used if
> a VM tool want to link classes to an "static linked" application,
> like our JamaicaVM tool "Builder" can do. We use these dependencies
> to detect which classes/methods/fields have to be linked to the
> build application if some class/method/field is used. This is
> important if the dependencies to some classes/methods/fields are can
> be detected completely by a class-analysis, e. g. if some field in
> a class is accessed in some native-methods.
> 
> Please have a look into the files and feel free to add dependencies
> which are still missing. If the dependency information is not needed
> in your VM, yust ignore the files.

Hmm, got any program to contribute that generates these .conf files?

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



From MAILER-DAEMON Thu Jul 17 02:56:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19d2gI-0001Ur-Uf
	for mharc-classpath@gnu.org; Thu, 17 Jul 2003 02:55:58 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19d2gF-0001Jw-ON
	for classpath@gnu.org; Thu, 17 Jul 2003 02:55:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19d2gD-0001Bf-9K
	for classpath@gnu.org; Thu, 17 Jul 2003 02:55:53 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19d2gC-000138-NB
	for classpath@gnu.org; Thu, 17 Jul 2003 02:55:52 -0400
Received: from [192.168.1.33] (196.57.dyn-adsl.customer.ch.easynet.net
	[217.8.196.57]) by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id DCA836464C; Thu, 17 Jul 2003 08:55:47 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Thu, 17 Jul 2003 08:55:28 +0200
Message-Id: <20030717065528.32359@smtp.mail.ch.easynet.net>
In-Reply-To: <1058363912.996.95.camel@elsschot>
References: <1058363912.996.95.camel@elsschot>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>
Subject: Re: Linux Kongress 2003 in Saarbruecken, Germany
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jul 2003 06:55:57 -0000

Mark Wielaard <mark@klomp.org> wrote on Wed, 16 Jul 2003 15:58:32 +0200:

> [GNU Coding Standards: Trademarks]

Thanks for pointing this out.


>You should also mention that some dedicated people have been working on
>GNU Classpath for the last five years. That explains why we are as far
>as we are now. Consistently doing little steps for a couple of years
>does work to make progress.

Definitely. I really don't want to pretend that other people's hard work
would be mine.


>> Would anyone be interested in doing the talk together?
>I can certainly act as the lovely assistant who does the demos :)

You'd also be more than welcome to say something, of course. Talks are 40
minutes, including discussion. How long do you think that the demos will
take, 10 minutes maybe? --- Actually, this topic might not be that
interesting for everyone on the list. Is it OK to move this thread off-list?

>[...]
>And from the meeting in Karlsruhe I got the impression that people would
>be interested in some common (native) library format to reuse the output
>of a ahead of time or just in time compiler. (BTW found the paper that I
>mentioned: http://flint.cs.yale.edu/flint/publications/bincomp.html)

Thanks for the interesting reference.

When it comes to sharing VM internals, I'd be mostly interested about
some common compiler infrastructure written in Java, such as a framework
for an Intermediate Representation.  But I guess it would be very hard to
come to an agreemant about how to do it correctly. It might be easier for
other parts, such as assemblers.

Another non-library part I'd be interested in sharing is device drivers
for pure Java OSes/embedded systems, or even just common interfaces to those.


>> GNU Classpath -- Freedom for Java [FIXME: Is the title too snappy?]
>"Freedom to Innovate" :)

Yes, let's do it without buzzwords. What about "GNU Classpath --
Motivation, current state, missing parts"?


>Seriously. I think GNU Classpath is the boring project. It is what it
>enables people do with it that makes it so exciting!

I fully agree, there's very little room for creativity here (I hope
saying so does not offend anyone).  I guess we all have our truly
exciting projects which just need this boring library.  But, who works on
Classpath unless we do it ourselves?


>[some reasons why Classpath is meaningful]

Yes, this huge framework seems indeed like a reasonable foundation for
building free applications that go beyond a certain base level. Which
cross-platform alternatives are there, anyway? GNUStep, possibly. Also,
the .NET library seems quite nice, but I must admit that I did not look
at it very closely. There are some platform-specifc frameworks (like MFC,
MacApp, PowerPlant).

Of course, someone could try to establish a new framework. This would
have the big advantage that it would be "us" (the free software people)
who is setting the standard, so we wouldn't always lag behind. But one
would also have to convince each potential developer that they are not on
a risky path.

Best,

-- Sascha

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





From MAILER-DAEMON Thu Jul 17 04:44:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19d4Nk-00042G-3P
	for mharc-classpath@gnu.org; Thu, 17 Jul 2003 04:44:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19d4Ng-0003wY-D1
	for classpath@gnu.org; Thu, 17 Jul 2003 04:44:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19d4Nd-0003tw-Gf
	for classpath@gnu.org; Thu, 17 Jul 2003 04:44:50 -0400
Received: from moutng.kundenserver.de ([212.227.126.189])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19d4Nc-0003nZ-2d; Thu, 17 Jul 2003 04:44:48 -0400
Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19d4Na-0000oM-00; Thu, 17 Jul 2003 10:44:46 +0200
Received: from [212.126.196.45] (helo=wau)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19d4Na-0001NQ-00; Thu, 17 Jul 2003 10:44:46 +0200
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andy Walter <anwalt_pop@aicas.com>
To: Brian Jones <cbj@gnu.org>,
 "Dr. Torsten Rupp" <rupp@aicas.com>
Date: Thu, 17 Jul 2003 10:44:46 +0200
X-Mailer: KMail [version 1.4]
References: <3F155D2B.4070307@aicas.com> <m38yqyav1p.fsf@lyta.haphazard.org>
In-Reply-To: <m38yqyav1p.fsf@lyta.haphazard.org>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200307171044.46037.anwalt_pop@aicas.com>
Cc: classpath <classpath@gnu.org>
Subject: Re: Dependencies files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jul 2003 08:44:54 -0000

On Thursday 17 July 2003 01:52, Brian Jones wrote:
> "Dr. Torsten Rupp" <rupp@aicas.com> writes:
> > class-dependencies.conf
>
> Hmm, got any program to contribute that generates these .conf files?

Not yet, sorry. The files read a bit strange in the beginning, but we wan=
ted=20
to use standard Java property files for that, so they can be easily read =
by a=20
VM or Builder tool.

Currently, we write those dependencies manually (our Builder tool=20
automatically checks, however, for false entries). We want to enhance our=
=20
Builder to generate those files in the near future. Since the Builder is =
not=20
free software, we can only contribute a binary version of it.


Cheers,

=09Andy.

--=20
aicas GmbH                                       /"\  ASCII Ribbon Campai=
gn
Haid-und-Neu-Stra=DFe 18 * 76131 Karlsruhe         \ /  No HTML or RTF in=
 mail
http://www.aicas.com                              X   No MS-Word in mail
Tel: +49-721-663 968-24; Fax: +49-721-663 968-94 / \  Respect Open Standa=
rds




From MAILER-DAEMON Thu Jul 17 08:41:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19d84v-0008JR-SD
	for mharc-classpath@gnu.org; Thu, 17 Jul 2003 08:41:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19d84h-00083b-WF
	for classpath@gnu.org; Thu, 17 Jul 2003 08:41:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19d84P-0007kp-SY
	for classpath@gnu.org; Thu, 17 Jul 2003 08:41:14 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19d83j-0007Pk-NF; Thu, 17 Jul 2003 08:40:31 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19d7UY-0005fo-00; Thu, 17 Jul 2003 14:04:10 +0200
From: Mark Wielaard <mark@klomp.org>
To: Andy Walter <anwalt_pop@aicas.com>
In-Reply-To: <200307171044.46037.anwalt_pop@aicas.com>
References: <3F155D2B.4070307@aicas.com> <m38yqyav1p.fsf@lyta.haphazard.org>
	<200307171044.46037.anwalt_pop@aicas.com>
Content-Type: text/plain
Message-Id: <1058443562.1416.33.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 17 Jul 2003 14:06:02 +0200
Content-Transfer-Encoding: 7bit
Cc: Brian Jones <cbj@gnu.org>, "Dr. Torsten Rupp" <rupp@aicas.com>,
	classpath <classpath@gnu.org>, java@gcc.gnu.org
Subject: Re: Dependencies files
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jul 2003 12:41:44 -0000

Hi,

On Thu, 2003-07-17 at 10:44, Andy Walter wrote:
> Currently, we write those dependencies manually (our Builder tool 
> automatically checks, however, for false entries). We want to enhance our 
> Builder to generate those files in the near future. Since the Builder is not 
> free software, we can only contribute a binary version of it.

The GNU Classpath project will not accept contributions of proprietary
programs or files that can only be generated/read by them. But hand
maintained dependencies files could still be interesting if shared by
multiple projects (more hands to keep the work light).

I will try to convince the gcj developers to take a look at them (hi
guys, you have been CCed, the files in question can be found in GNU
Classpath CVS as e.g. java/util/class-dependencies.conf).

gcj currently also use a hand maintained list but 'in source'. Basically
they add a SomeOtherClass.class statements to a class that (indirectly)
uses some other class through reflection. That way the linker links in
the complete class (not just the referenced methods as the
class-dependencies files seem to indicate JamaicaVM does).
On the other hand they don't have to add references that occur in
'native code' since they use CNI which basically means that the linker
can treat C++ and Java class the same and sees who uses what directly.

Cheers,

Mark




From MAILER-DAEMON Thu Jul 17 11:44:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19dAvW-0004qn-NN
	for mharc-classpath@gnu.org; Thu, 17 Jul 2003 11:44:14 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19dAvI-0004cp-Ug
	for classpath@gnu.org; Thu, 17 Jul 2003 11:44:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19dAv5-00042v-TJ
	for classpath@gnu.org; Thu, 17 Jul 2003 11:43:48 -0400
Received: from 62-177-154-234.bbeyond.nl ([62.177.154.234]
	helo=sum-dc-01.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19dAv1-0003pM-Ac
	for classpath@gnu.org; Thu, 17 Jul 2003 11:43:43 -0400
Date: Thu, 17 Jul 2003 17:43:35 +0200
Message-ID: <83496B764EE2914ABA1E3992DFCB2B12256A@sum-dc-01.sumatrasoftware.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C34C7A.32391C70"
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Content-class: urn:content-classes:message
Thread-Topic: trivial awt patches
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Thread-Index: AcNMeit4/kvYNZZVSXySB+nSgs4R3g==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
Subject: trivial awt patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jul 2003 15:44:12 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C34C7A.32391C70
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

At the risk of being ridiculed for a long time, I've got a patch that
improves compatibility with JDK 1.0 AWT code ;-)

I'm (un)fortunate to have some AWT code that was written pre-JDK 1.1
(and is still in use!).

In Component the actual implementation for the "aliased" methods should
be in the 1.0 methods and the 1.1 methods should call the 1.0 methods.
This makes code that overrides the 1.0 methods work correctly (as well
as code that overrides the 1.1 methods, if we always call the 1.1
methods).

Change Log

* java/awt/Component.java
(getPreferredSize): Call preferredSize.
(preferredSize): Moved body of getPreferredSize here.
(getMinimumSize): Call minimumSize.
(minimumSize): Moved body of getMinimumSize here.

* java/awt/Container.java
(validate): Don't validate if there is no peer.

Please apply.

Thanks,
Jeroen

------_=_NextPart_001_01C34C7A.32391C70
Content-Type: application/octet-stream;
	name="awt_20030717.patch"
Content-Transfer-Encoding: base64
Content-Description: awt_20030717.patch
Content-Disposition: attachment;
	filename="awt_20030717.patch"

SW5kZXg6IGphdmEvYXd0L0NvbXBvbmVudC5qYXZhDQo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2
c3Jvb3QvY2xhc3NwYXRoL2NsYXNzcGF0aC9qYXZhL2F3dC9Db21wb25lbnQuamF2YSx2DQpyZXRy
aWV2aW5nIHJldmlzaW9uIDEuMTkNCmRpZmYgLXUgLXIxLjE5IENvbXBvbmVudC5qYXZhDQotLS0g
amF2YS9hd3QvQ29tcG9uZW50LmphdmEJMiBNYXIgMjAwMyAxNDo0MjoxMyAtMDAwMAkxLjE5DQor
KysgamF2YS9hd3QvQ29tcG9uZW50LmphdmEJMTcgSnVsIDIwMDMgMTU6MzM6MDEgLTAwMDANCkBA
IC0xNDUyLDEyICsxNDUyLDcgQEANCiAgICAqLw0KICAgcHVibGljIERpbWVuc2lvbiBnZXRQcmVm
ZXJyZWRTaXplKC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TAgQEANCiAgICAqLw0K
ICAgcHVibGljIERpbWVuc2lvbiBtaW5pbXVtU2l6ZSgpDQogICB7DQotICAgIHJldHVybiBnZXRN
aW5pbXVtU2l6ZSgpOw0KKyAgICBpZiAobWluU2l6ZSA9PSBudWxsKQ0KKyAgICAgIG1pblNpemUg
PSAocGVlciAhPSBudWxsID8gcGVlci5nZXRNaW5pbXVtU2l6ZSgpDQorICAgICAgICAgICAgICAg
ICA6IG5ldyBEaW1lbnNpb24od2lkdGgsIGhlaWdodCkpOw0KKyAgICByZXR1cm4gbWluU2l6ZTsN
CiAgIH0NCiANCiAgIC8qKg0KSW5kZXg6IGphdmEvYXd0L0NvbnRhaW5lci5qYXZhDQo9PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09DQpSQ1MgZmlsZTogL2N2c3Jvb3QvY2xhc3NwYXRoL2NsYXNzcGF0aC9qYXZhL2F3dC9Db250
YWluZXIuamF2YSx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMjANCmRpZmYgLXUgLXIxLjIwIENv
bnRhaW5lci5qYXZhDQotLS0gamF2YS9hd3QvQ29udGFpbmVyLmphdmEJMSBKdWwgMjAwMyAwODoz
NDoyOCAtMDAwMAkxLjIwDQorKysgamF2YS9hd3QvQ29udGFpbmVyLmphdmEJMTcgSnVsIDIwMDMg
MTU6MzM6MDIgLTAwMDANCkBAIC00NzMsNyArNDczLDcgQEANCiAgIHsNCiAgICAgc3luY2hyb25p
emVkIChnZXRUcmVlTG9jayAoKSkNCiAgICAgICB7DQotICAgICAgICBpZiAoISBpc1ZhbGlkKCkp
DQorICAgICAgICBpZiAoISBpc1ZhbGlkKCkgJiYgcGVlciAhPSBudWxsKQ0KICAgICAgICAgICB7
DQogICAgICAgICAgICAgdmFsaWRhdGVUcmVlKCk7DQogICAgICAgICAgIH0NCg==

------_=_NextPart_001_01C34C7A.32391C70--



From MAILER-DAEMON Thu Jul 17 13:31:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19dCZc-0008AC-PU
	for mharc-classpath@gnu.org; Thu, 17 Jul 2003 13:29:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19dCZS-0007r4-P8
	for classpath@gnu.org; Thu, 17 Jul 2003 13:29:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19dCZI-0007JG-Vw
	for classpath@gnu.org; Thu, 17 Jul 2003 13:29:25 -0400
Received: from e2.ny.us.ibm.com ([32.97.182.102])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19dCZB-0006i5-PL
	for classpath@gnu.org; Thu, 17 Jul 2003 13:29:17 -0400
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com
	[9.56.224.206])
	by e2.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h6HHTFPS123242
	for <classpath@gnu.org>; Thu, 17 Jul 2003 13:29:15 -0400
Received: from d01ml233.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay04.pok.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id
	h6HHTEhA115652
	for <classpath@gnu.org>; Thu, 17 Jul 2003 13:29:14 -0400
To: classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OFFF077EA7.45F283AC-ON85256D66.005EBBC7-85256D66.00600AD7@us.ibm.com>
From: Michael Hind <hindm@us.ibm.com>
Date: Thu, 17 Jul 2003 13:29:01 -0400
X-MIMETrack: Serialize by Router on D01ML233/01/M/IBM(Release 6.0.2CF1|June 9,
	2003) at 07/17/2003 13:29:14,
	Serialize complete at 07/17/2003 13:29:14
Content-Type: multipart/alternative;
	boundary="=_alternative 00600AD485256D66_="
Subject: Re: Linux Kongress 2003 in Saarbruecken, Germany
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jul 2003 17:29:42 -0000

This is a multipart message in MIME format.
--=_alternative 00600AD485256D66_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Sascha Brawer <brawer@dandelis.ch> wrote:=20
> When it comes to sharing VM internals, I'd be mostly interested about
> some common compiler infrastructure written in Java, such as a framework
> for an Intermediate Representation.  But I guess it would be very hard=20
to
> come to an agreemant about how to do it correctly. It might be easier=20
for
> other parts, such as assemblers.

Although it was designed to be a common infrastructure, the Jikes RVM
optimizing compiler (JIT) is written in Java, so if someone undertakes=20
this
project, they may want to look at it as a basis.


Mark Wielaard <mark@klomp.org> wrote:
> I would like to see talks about:
        . . .
> - JRVM, implementing the difficult stuff in an easy language.

There is an OOPSLA'99 paper that describes this topic, available at (
http://www-124.ibm.com/developerworks/oss/jikesrvm/info/pubs.shtml#oopsla99=
=5Fjvm)


Mark Wielaard <mark@klomp.org> wrote:
> Seriously. I think GNU Classpath is the boring project. It is what it
> enables people do with it that makes it so exciting! Having people
> create big complex free programs on top of it like Eclipse
> (http://www.eclipse.org/) or XWT (http://www.xwt.org/) is nice. And
> writing application in an easy language for the GNOME framework is
> really productive. And we are also the catalyst for all these cool
> VM/Compiler projects mentioned above. Giving people the freedom to do
> these kinds of innovative things without them being
> controlled/sanctioned by someone is why I think GNU Classpath is
> meaningful.

I agree.=20

Mucho kudos should go to the GNU Classpath developers.  It has enabled=20
Jikes RVM to run Eclipse using a completely open source system.

Furthermore, the kudos that the Jikes RVM team regularly receive from our=20
large=20
community of researchers should transitively be passed on to the GNU=20
Classpath
developers.   Thanks!

Mike

- - - - - - - - - - - - - - - -=20
Michael Hind, Manager, Dynamic Optimization Group, Jalape=F1o Project =20
IBM Watson Research Center
http://www.research.ibm.com/people/h/hind
hind@watson.ibm.com, 914 784-7589, tie: 863-7589
Jikes RVM open source release:=20
http://www.ibm.com/developerworks/oss/jikesrvm
--=_alternative 00600AD485256D66_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2><tt>Sascha Brawer &lt;brawer@dandelis.ch&gt; wrote: </tt=
></font>
<br><font size=3D2><tt>&gt; When it comes to sharing VM internals, I'd be
mostly interested about<br>
&gt; some common compiler infrastructure written in Java, such as a framewo=
rk<br>
&gt; for an Intermediate Representation. &nbsp;But I guess it would be
very hard to<br>
&gt; come to an agreemant about how to do it correctly. It might be easier
for<br>
&gt; other parts, such as assemblers.<br>
</tt></font>
<br><font size=3D2><tt>Although it was designed to be a common infrastructu=
re,
the Jikes RVM</tt></font>
<br><font size=3D2><tt>optimizing compiler (JIT) is written in Java, so if
someone undertakes this</tt></font>
<br><font size=3D2><tt>project, they may want to look at it as a basis.</tt=
></font>
<br>
<br>
<br><font size=3D2><tt>Mark Wielaard &lt;mark@klomp.org&gt; wrote:</tt></fo=
nt>
<br><font size=3D2><tt>&gt; I would like to see talks about:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;. . .<br>
&gt; - JRVM, implementing the difficult stuff in an easy language.</tt></fo=
nt>
<br>
<br><font size=3D2><tt>There is an OOPSLA'99 paper that describes this topi=
c,
available at (http://www-124.ibm.com/developerworks/oss/jikesrvm/info/pubs.=
shtml#oopsla99=5Fjvm)</tt></font>
<br>
<br>
<br><font size=3D2><tt>Mark Wielaard &lt;mark@klomp.org&gt; wrote:</tt></fo=
nt>
<br><font size=3D2><tt>&gt; Seriously. I think GNU Classpath is the boring
project. It is what it<br>
&gt; enables people do with it that makes it so exciting! Having people<br>
&gt; create big complex free programs on top of it like Eclipse<br>
&gt; (http://www.eclipse.org/) or XWT (http://www.xwt.org/) is nice. And<br>
&gt; writing application in an easy language for the GNOME framework is<br>
&gt; really productive. And we are also the catalyst for all these cool<br>
&gt; VM/Compiler projects mentioned above. Giving people the freedom to
do<br>
&gt; these kinds of innovative things without them being<br>
&gt; controlled/sanctioned by someone is why I think GNU Classpath is<br>
&gt; meaningful.</tt></font>
<br>
<br><font size=3D2><tt>I agree. &nbsp;</tt></font>
<br>
<br><font size=3D2><tt>Mucho kudos should go to the GNU Classpath developer=
s.
&nbsp;It has enabled </tt></font>
<br><font size=3D2><tt>Jikes RVM to run Eclipse using a completely open sou=
rce
system.</tt></font>
<br>
<br><font size=3D2><tt>Furthermore, the kudos that the Jikes RVM team regul=
arly
receive from our large </tt></font>
<br><font size=3D2><tt>community of researchers should transitively be pass=
ed
on to the GNU Classpath</tt></font>
<br><font size=3D2><tt>developers. &nbsp; Thanks!</tt></font>
<br>
<br><font size=3D2 face=3D"sans-serif">Mike</font>
<br><font size=3D2 face=3D"sans-serif"><br>
- - - - - - - - - - - - - - - - <br>
Michael Hind, Manager, Dynamic Optimization Group, Jalape=F1o Project &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;<br>
IBM Watson Research Center<br>
http://www.research.ibm.com/people/h/hind<br>
hind@watson.ibm.com, 914 784-7589, tie: 863-7589<br>
Jikes RVM open source release: &nbsp;http://www.ibm.com/developerworks/oss/=
jikesrvm</font>
--=_alternative 00600AD485256D66_=--



From MAILER-DAEMON Fri Jul 18 12:23:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19dY0f-0003p4-Eh
	for mharc-classpath@gnu.org; Fri, 18 Jul 2003 12:23:05 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19dY05-0003OE-0P
	for classpath@gnu.org; Fri, 18 Jul 2003 12:22:29 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19dXzY-000320-KE
	for classpath@gnu.org; Fri, 18 Jul 2003 12:21:57 -0400
Received: from e2.ny.us.ibm.com ([32.97.182.102])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19dXum-0000HS-H3
	for classpath@gnu.org; Fri, 18 Jul 2003 12:17:00 -0400
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com
	[9.56.224.150])
	by e2.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h6IGGuPS081598
	for <classpath@gnu.org>; Fri, 18 Jul 2003 12:16:56 -0400
Received: from d01ml233.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id
	h6IGGsqm258922
	for <classpath@gnu.org>; Fri, 18 Jul 2003 12:16:54 -0400
To: classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OF29C356F6.9281CA6F-ON85256D67.005944C4-85256D67.00596A23@us.ibm.com>
From: Michael Hind <hindm@us.ibm.com>
Date: Fri, 18 Jul 2003 12:16:37 -0400
X-MIMETrack: Serialize by Router on D01ML233/01/M/IBM(Release 6.0.2CF1|June 9,
	2003) at 07/18/2003 12:16:53,
	Serialize complete at 07/18/2003 12:16:53
Content-Type: multipart/alternative;
	boundary="=_alternative 00596A1C85256D67_="
Subject: Re: Linux Kongress 2003 in Saarbruecken, Germany
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jul 2003 16:23:03 -0000

This is a multipart message in MIME format.
--=_alternative 00596A1C85256D67_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

> Sascha Brawer <brawer@dandelis.ch> wrote:=20
> > When it comes to sharing VM internals, I'd be mostly interested about
> > some common compiler infrastructure written in Java, such as a=20
framework
> > for an Intermediate Representation.  But I guess it would be very hard =


to
> > come to an agreemant about how to do it correctly. It might be easier=20
for
> > other parts, such as assemblers.

Michael Hind wrote
> Although it was designed to be a common infrastructure, the Jikes RVM
> optimizing compiler (JIT) is written in Java, so if someone undertakes=20
> this project, they may want to look at it as a basis.

Sorry, I should have said "it was *not* designed to be a common=20
infrastructure".

Mike

- - - - - - - - - - - - - - - -=20
Michael Hind, Manager, Dynamic Optimization Group, Jalape=F1o Project =20
IBM Watson Research Center
http://www.research.ibm.com/people/h/hind
hind@watson.ibm.com, 914 784-7589, tie: 863-7589
Jikes RVM open source release:=20
http://www.ibm.com/developerworks/oss/jikesrvm
--=_alternative 00596A1C85256D67_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2><tt>&gt; Sascha Brawer &lt;brawer@dandelis.ch&gt; wrote:
<br>
&gt; &gt; When it comes to sharing VM internals, I'd be mostly interested
about<br>
&gt; &gt; some common compiler infrastructure written in Java, such as
a framework<br>
&gt; &gt; for an Intermediate Representation. &nbsp;But I guess it would
be very hard <br>
to<br>
&gt; &gt; come to an agreemant about how to do it correctly. It might be
easier <br>
for<br>
&gt; &gt; other parts, such as assemblers.<br>
</tt></font>
<br><font size=3D2><tt>Michael Hind wrote<br>
&gt; Although it was designed to be a common infrastructure, the Jikes
RVM<br>
&gt; optimizing compiler (JIT) is written in Java, so if someone undertakes
<br>
&gt; this project, they may want to look at it as a basis.<br>
</tt></font>
<br><font size=3D2><tt>Sorry, I should have said &quot;it was *not* designed
to be a common infrastructure&quot;.</tt></font>
<br>
<br><font size=3D2><tt>Mike</tt></font>
<br><font size=3D2 face=3D"sans-serif"><br>
- - - - - - - - - - - - - - - - <br>
Michael Hind, Manager, Dynamic Optimization Group, Jalape=F1o Project &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;<br>
IBM Watson Research Center<br>
http://www.research.ibm.com/people/h/hind<br>
hind@watson.ibm.com, 914 784-7589, tie: 863-7589<br>
Jikes RVM open source release: &nbsp;http://www.ibm.com/developerworks/oss/=
jikesrvm</font>
--=_alternative 00596A1C85256D67_=--



From MAILER-DAEMON Fri Jul 18 13:31:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19dZ4J-0007jH-FC
	for mharc-classpath@gnu.org; Fri, 18 Jul 2003 13:30:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19dZ3p-0006fP-OV
	for classpath@gnu.org; Fri, 18 Jul 2003 13:30:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19dZ3D-000590-Ix
	for classpath@gnu.org; Fri, 18 Jul 2003 13:29:48 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19dZ35-0004j8-F6
	for classpath@gnu.org; Fri, 18 Jul 2003 13:29:39 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id LAA17653;
	Fri, 18 Jul 2003 11:29:36 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id C08124F8651; Fri, 18 Jul 2003 11:20:01 -0600 (MDT)
To: Mark Wielaard <mark@klomp.org>
References: <E19co3N-0003L0-CG@subversions.gnu.org>
	<1058398279.996.208.camel@elsschot>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: ..  If I had heart failure right now,
	I couldn't be a more fortunate man!!
Date: 18 Jul 2003 11:20:01 -0600
In-Reply-To: <1058398279.996.208.camel@elsschot>
Message-ID: <87oezrda66.fsf@fleche.redhat.com>
Lines: 17
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: rupp@aicas.com, classpath@gnu.org
Subject: Re: classpath ChangeLog
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jul 2003 17:30:43 -0000

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

Mark> A ChangeLog entry should be more precise then this. It doesn't
Mark> have to explain everything about the change or why it changed
Mark> (put that as a comment in the code if necessary). But it should
Mark> explain exactly what has changed. That makes finding bugs later
Mark> so much easier.

I'd just like to echo Mark's sentiments here -- it is hard to play the
"pedantic maintainer" role, and I thought he could use some
encouragement.  I use the ChangeLog entries to figure things out from
time to time; good entries are really quite useful and not that much
harder to write.  FWIW I always make my cvs commit message the same as
the ChangeLog entry; this makes it a bit easier to go from the
ChangeLog to the actual change.

Tom



From MAILER-DAEMON Mon Jul 21 05:54:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19eXM0-0001rR-VK
	for mharc-classpath@gnu.org; Mon, 21 Jul 2003 05:53:12 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19eXLs-0001a3-FM
	for classpath@gnu.org; Mon, 21 Jul 2003 05:53:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19eXLG-00016H-9Y
	for classpath@gnu.org; Mon, 21 Jul 2003 05:52:26 -0400
Received: from moutng.kundenserver.de ([212.227.126.171])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19eXKA-0000aG-3d
	for classpath@gnu.org; Mon, 21 Jul 2003 05:51:18 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19eXK8-0006nX-00
	for classpath@gnu.org; Mon, 21 Jul 2003 11:51:16 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19eXK8-0005Fr-00; Mon, 21 Jul 2003 11:51:16 +0200
Message-ID: <3F1BB793.7060307@aicas.com>
Date: Mon, 21 Jul 2003 11:51:15 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Datagram sockets: SO_BROADCAST
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Jul 2003 09:53:10 -0000

Dear Classpath members,

it seems the behaviour of the Classpath implementaiton of datagram
sockets and sending broadcast messages is different from the
implementation in the Sun JDK API. I detected that the Sun
implementation set the socket option SO_BROADCAST for a datagram
socket by default. Thus a broadcast message can be send via
DatagramSocket.send(). With the current Classpath implementation
I get an error code "permission denied" (after some tries, because
all errors during a send()-call are mapped to an "internal error
only" - which is not very useful). By adding 
setsockopt(...,SO_BROADCASST,...) in the function _javanet_create()
is seems to run. Is this modification ok?

Sincerely,

Torsten




From MAILER-DAEMON Mon Jul 21 17:34:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ei9b-0000vs-Qa
	for mharc-classpath@gnu.org; Mon, 21 Jul 2003 17:25:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ehyQ-0006ND-5O
	for classpath@gnu.org; Mon, 21 Jul 2003 17:13:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ehxv-00065p-AU
	for classpath@gnu.org; Mon, 21 Jul 2003 17:13:05 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ehsq-0004gG-0K
	for classpath@gnu.org; Mon, 21 Jul 2003 17:07:48 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19ehqv-0006Y0-00; Mon, 21 Jul 2003 23:05:49 +0200
From: Mark Wielaard <mark@klomp.org>
To: "Dr. Torsten Rupp" <rupp@aicas.com>
In-Reply-To: <3F1BB793.7060307@aicas.com>
References: <3F1BB793.7060307@aicas.com>
Content-Type: text/plain
Message-Id: <1058821665.20835.103.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 21 Jul 2003 23:07:45 +0200
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>
Subject: Re: Datagram sockets: SO_BROADCAST
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Jul 2003 21:25:06 -0000

Hi,

On Mon, 2003-07-21 at 11:51, Dr. Torsten Rupp wrote:By adding 
> setsockopt(...,SO_BROADCASST,...) in the function _javanet_create()
> is seems to run. Is this modification ok?

The 1.4 API doc for java.net.SocketOptions indicates that SO_BROADCAST
is set by default for DatagramSockets.

This also seems to be what libgcj does.
http://savannah.gnu.org/cgi-bin/viewcvs/gcc/gcc/libjava/java/net/natPlainDatagramSocketImplPosix.cc?rev=HEAD&content-type=text/vnd.viewcvs-markup

So please add it and please also update out documentation of
DatagramSocket.get/setBroadcast() to say that it is on by default.

Thanks,

Mark




From MAILER-DAEMON Mon Jul 21 18:08:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19eipG-0005W5-Gx
	for mharc-classpath@gnu.org; Mon, 21 Jul 2003 18:08:10 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19eipE-0005V2-JH
	for classpath@gnu.org; Mon, 21 Jul 2003 18:08:08 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19eimP-0004hC-5e
	for classpath@gnu.org; Mon, 21 Jul 2003 18:05:13 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19eimA-0004bf-9z
	for classpath@gnu.org; Mon, 21 Jul 2003 18:04:58 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6LLwSpM003151; Mon, 21 Jul 2003 17:58:28 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id BA6FBBE6B4; Mon, 21 Jul 2003 18:04:43 -0400 (EDT)
Sender: cbj@haphazard.org
To: "Dr. Torsten Rupp" <rupp@aicas.com>
References: <3F1BB793.7060307@aicas.com>
From: Brian Jones <cbj@gnu.org>
Date: 21 Jul 2003 18:04:43 -0400
In-Reply-To: <3F1BB793.7060307@aicas.com>
Message-ID: <m3r84jr0xw.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: classpath <classpath@gnu.org>
Subject: Re: Datagram sockets: SO_BROADCAST
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Jul 2003 22:08:09 -0000

"Dr. Torsten Rupp" <rupp@aicas.com> writes:

> Dear Classpath members,
> 
> it seems the behaviour of the Classpath implementaiton of datagram
> sockets and sending broadcast messages is different from the
> implementation in the Sun JDK API. I detected that the Sun
> implementation set the socket option SO_BROADCAST for a datagram
> socket by default. Thus a broadcast message can be send via
> DatagramSocket.send(). With the current Classpath implementation
> I get an error code "permission denied" (after some tries, because
> all errors during a send()-call are mapped to an "internal error
> only" - which is not very useful). By adding
> setsockopt(...,SO_BROADCASST,...) in the function _javanet_create()
> is seems to run. Is this modification ok?

I think you can call _javanet_set_option for the datagram case in
_javanet_create(), however you need to add the SO_BROADCAST case and
link up the setBroadcast to it in Java.

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



From MAILER-DAEMON Tue Jul 22 03:55:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19erym-0005E1-4h
	for mharc-classpath@gnu.org; Tue, 22 Jul 2003 03:54:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19eryk-0005DP-2r
	for classpath@gnu.org; Tue, 22 Jul 2003 03:54:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19eryi-0005CH-Fc
	for classpath@gnu.org; Tue, 22 Jul 2003 03:54:33 -0400
Received: from moutng.kundenserver.de ([212.227.126.177])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19erxk-0004dq-4g
	for classpath@gnu.org; Tue, 22 Jul 2003 03:53:32 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19erxj-0004lN-00
	for classpath@gnu.org; Tue, 22 Jul 2003 09:53:31 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19erxj-0006rJ-00; Tue, 22 Jul 2003 09:53:31 +0200
Message-ID: <3F1CED7B.90603@aicas.com>
Date: Tue, 22 Jul 2003 09:53:31 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: createTempFile()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Jul 2003 07:54:34 -0000

Dear Classpath members,

I yust added a fix to java.io.File.createTempFile() to limit the
filename to 8+3 characters, such that it also runs on DOS-filesystems.
To create a temporary file with an unique name I also limited the
prefix to max. 7 characters to be able to create a filename for a
temporary file which is not longer than 8 characters (a prefix with
7 characters is not recommended, because then there are only 16
different names available). That means the current implementation
returns all the time a temporary file with a filename of the pattern
8+3. Long prefixed are rejected by an exception. Is this behaviour
ok? What do you think?

I think the Classpath implementation should also be usuable on
limited filesystems (which you will find in many embedded systems).
For me the used filename is not important, thus I could live with a
short prefix. If that is not accepable, how to distinguish different
system capabilities in the right way? Is there some property or
something else which can be used?

Sincerely,

Torsten




From MAILER-DAEMON Tue Jul 22 04:29:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19esVi-0008UD-Ov
	for mharc-classpath@gnu.org; Tue, 22 Jul 2003 04:28:38 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19erbt-00079z-OO
	for classpath@gnu.org; Tue, 22 Jul 2003 03:30:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19erb7-00070R-1x
	for classpath@gnu.org; Tue, 22 Jul 2003 03:30:09 -0400
Received: from moutng.kundenserver.de ([212.227.126.185])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19erYm-00063u-Nt; Tue, 22 Jul 2003 03:27:44 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19erYj-0000XR-00; Tue, 22 Jul 2003 09:27:41 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19erYj-0002Xk-00; Tue, 22 Jul 2003 09:27:41 +0200
Message-ID: <3F1CE76D.2010102@aicas.com>
Date: Tue, 22 Jul 2003 09:27:41 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
References: <3F1BB793.7060307@aicas.com> <m3r84jr0xw.fsf@lyta.haphazard.org>
In-Reply-To: <m3r84jr0xw.fsf@lyta.haphazard.org>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 22 Jul 2003 04:28:36 -0400
Cc: 
Subject: Re: Datagram sockets: SO_BROADCAST
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Jul 2003 07:31:30 -0000

Dear Brian,

> I think you can call _javanet_set_option for the datagram case in
> _javanet_create(), however you need to add the SO_BROADCAST case and
> link up the setBroadcast to it in Java.

I added such a call in my copy here. I will commit the changes soon.

Sincerely,

Torsten





From MAILER-DAEMON Tue Jul 22 04:29:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19esVi-0008Tz-Cr
	for mharc-classpath@gnu.org; Tue, 22 Jul 2003 04:28:38 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19era0-0006UR-Eh
	for classpath@gnu.org; Tue, 22 Jul 2003 03:29:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19erZy-0006TQ-Rf
	for classpath@gnu.org; Tue, 22 Jul 2003 03:28:59 -0400
Received: from moutng.kundenserver.de ([212.227.126.188])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19erZy-0006TM-G1
	for classpath@gnu.org; Tue, 22 Jul 2003 03:28:58 -0400
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19erZx-0008G8-00; Tue, 22 Jul 2003 09:28:57 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19erZw-0002ji-00; Tue, 22 Jul 2003 09:28:56 +0200
Message-ID: <3F1CE7B8.10906@aicas.com>
Date: Tue, 22 Jul 2003 09:28:56 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <3F1BB793.7060307@aicas.com> <1058821665.20835.103.camel@elsschot>
In-Reply-To: <1058821665.20835.103.camel@elsschot>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 22 Jul 2003 04:28:36 -0400
Cc: 
Subject: Re: Datagram sockets: SO_BROADCAST
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Jul 2003 07:29:01 -0000

Dear Mark,

> The 1.4 API doc for java.net.SocketOptions indicates that SO_BROADCAST
> is set by default for DatagramSockets.
> 
> This also seems to be what libgcj does.
> http://savannah.gnu.org/cgi-bin/viewcvs/gcc/gcc/libjava/java/net/natPlainDatagramSocketImplPosix.cc?rev=HEAD&content-type=text/vnd.viewcvs-markup
> 
> So please add it and please also update out documentation of
> DatagramSocket.get/setBroadcast() to say that it is on by default.

Thank you for the information. I will add the changes I did.

Sincerely,

Torsten





From MAILER-DAEMON Tue Jul 22 05:18:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19etHP-0004C3-J2
	for mharc-classpath@gnu.org; Tue, 22 Jul 2003 05:17:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19etGy-0003tX-RZ
	for classpath@gnu.org; Tue, 22 Jul 2003 05:17:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19etFq-0003S9-8F
	for classpath@gnu.org; Tue, 22 Jul 2003 05:16:18 -0400
Received: from lorien.intranet.org ([216.123.203.51])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19etFi-00033S-H8
	for classpath@gnu.org; Tue, 22 Jul 2003 05:16:10 -0400
Received: by lorien.intranet.org (Postfix, from userid 3280)
	id 12AF3142; Tue, 22 Jul 2003 03:16:04 -0600 (MDT)
Received: from localhost (localhost [127.0.0.1])
	by lorien.intranet.org (Postfix) with ESMTP id 096651311E
	for <classpath@gnu.org>; Tue, 22 Jul 2003 03:16:04 -0600 (MDT)
Date: Tue, 22 Jul 2003 03:16:03 -0600 (MDT)
From: Chris Dailey <mouse@intranet.org>
To: classpath@gnu.org
Message-ID: <Pine.LNX.4.51.0307220313440.901@lorien.intranet.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: Patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Jul 2003 09:17:53 -0000

The following patch is an attempt to fix this difference:

http://japi.sab39.org/htmlout/h-jdk11-classpath.html#err_bad_java_lang

Bad

* field java.lang.reflect.Member.DECLARED: constant [1] in jdk11,
  but not constant in classpath
* field java.lang.reflect.Member.PUBLIC: constant [0] in jdk11, but
  not constant in classpath


Index: Member.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/reflect/Member.java,v
retrieving revision 1.6
diff -r1.6 Member.java
65c65
<   int DECLARED = 1;
---
>   final int DECLARED = 1;
73c73
<   int PUBLIC = 0;
---
>   final int PUBLIC = 0;

--
If things were different, then things would be different.



From MAILER-DAEMON Tue Jul 22 10:22:02 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19exzU-0007qm-7L
	for mharc-classpath@gnu.org; Tue, 22 Jul 2003 10:19:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19exzO-0007fi-8m
	for classpath@gnu.org; Tue, 22 Jul 2003 10:19:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19exy2-0006e7-Ug
	for classpath@gnu.org; Tue, 22 Jul 2003 10:18:15 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19exxS-0006Lr-3J
	for classpath@gnu.org; Tue, 22 Jul 2003 10:17:38 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id IAA04670;
	Tue, 22 Jul 2003 08:17:30 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 190384F865E; Tue, 22 Jul 2003 08:07:38 -0600 (MDT)
To: Chris Dailey <mouse@intranet.org>
References: <Pine.LNX.4.51.0307220313440.901@lorien.intranet.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Yow!  Now we can become alcoholics!
Date: 22 Jul 2003 08:07:38 -0600
In-Reply-To: <Pine.LNX.4.51.0307220313440.901@lorien.intranet.org>
Message-ID: <87he5e1wph.fsf@fleche.redhat.com>
Lines: 17
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Jul 2003 14:19:42 -0000

>>>>> "Chris" == Chris Dailey <mouse@intranet.org> writes:

Chris> The following patch is an attempt to fix this difference:
Chris> http://japi.sab39.org/htmlout/h-jdk11-classpath.html#err_bad_java_lang
Chris> * field java.lang.reflect.Member.DECLARED: constant [1] in jdk11,
Chris>   but not constant in classpath

I think this must be a japi bug.  A field in an interface is
implicitly public, static, and final; see Java Language Specification,
2nd Ed, section 9.3.

Chris> Index: Member.java

FYI, please use "diff -u" or "diff -c", and also send a ChangeLog
entry with patches.

Tom



From MAILER-DAEMON Tue Jul 22 12:55:37 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19f0Pg-0002mF-Ld
	for mharc-classpath@gnu.org; Tue, 22 Jul 2003 12:54:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ez54-0002uj-Uh
	for classpath@gnu.org; Tue, 22 Jul 2003 11:29:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ez4r-0002pu-Eg
	for classpath@gnu.org; Tue, 22 Jul 2003 11:29:22 -0400
Received: from newmx2.fast.net ([209.92.1.32])
	by monty-python.gnu.org with smtp (Exim 4.20) id 19ez4o-0002mT-DF
	for classpath@gnu.org; Tue, 22 Jul 2003 11:29:18 -0400
Received: (qmail 30003 invoked from network); 22 Jul 2003 15:29:03 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx2.fast.net (qmail-ldap-1.03) with SMTP
	for <tromey@redhat.com>; 22 Jul 2003 15:29:03 -0000
Message-ID: <3F1D583D.4040505@corp.fast.net>
Date: Tue, 22 Jul 2003 11:29:01 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: tromey@redhat.com
References: <Pine.LNX.4.51.0307220313440.901@lorien.intranet.org>
	<87he5e1wph.fsf@fleche.redhat.com>
In-Reply-To: <87he5e1wph.fsf@fleche.redhat.com>
Content-Type: multipart/mixed; boundary="------------050107060301040503090307"
X-Mailman-Approved-At: Tue, 22 Jul 2003 12:54:54 -0400
Cc: Chris Dailey <mouse@intranet.org>, classpath@gnu.org
Subject: Re: Patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Jul 2003 16:09:51 -0000

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

Tom Tromey wrote:
>>>>>>"Chris" == Chris Dailey <mouse@intranet.org> writes:
> 
> 
> Chris> The following patch is an attempt to fix this difference:
> Chris> http://japi.sab39.org/htmlout/h-jdk11-classpath.html#err_bad_java_lang
> Chris> * field java.lang.reflect.Member.DECLARED: constant [1] in jdk11,
> Chris>   but not constant in classpath
> 
> I think this must be a japi bug.  A field in an interface is
> implicitly public, static, and final; see Java Language Specification,
> 2nd Ed, section 9.3.

I think you're right.

Could whoever runs the Classpath Japize process try the attached patch 
to Japize and see if it fixes things in the next overnight run? If so 
I'll try to put together a release in the next few days incorporating 
this change.

Thanks,
Stuart.

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

--------------050107060301040503090307
Content-Type: text/plain;
 name="interface-field.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="interface-field.diff"

Index: src/net/wuffies/japi/JodeField.java
===================================================================
RCS file: /usr/local/cvsroot/japi/src/net/wuffies/japi/JodeField.java,v
retrieving revision 1.7
diff -u -r1.7 JodeField.java
--- src/net/wuffies/japi/JodeField.java	3 Dec 2002 17:11:44 -0000	1.7
+++ src/net/wuffies/japi/JodeField.java	22 Jul 2003 15:21:05 -0000
@@ -31,9 +31,11 @@
   JodeField(FieldInfo f, JodeClass jc) {
     modifiers = f.getModifiers();
     constValue = f.getConstant();
-    if (!Modifier.isStatic(modifiers) || !Modifier.isFinal(modifiers) ||
-        (!Modifier.isPublic(modifiers) && !Modifier.isProtected(modifiers))) {
-      constValue = null;
+    if (!jc.isInterface()) {
+      if (!Modifier.isStatic(modifiers) || !Modifier.isFinal(modifiers) ||
+          (!Modifier.isPublic(modifiers) && !Modifier.isProtected(modifiers))) {
+        constValue = null;
+      }
     }
     name = f.getName();
     type = f.getType();

--------------050107060301040503090307--




From MAILER-DAEMON Wed Jul 23 08:48:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fJ2F-0007eJ-HY
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 08:47:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fJ28-0007Cy-Kw
	for classpath@gnu.org; Wed, 23 Jul 2003 08:47:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fJ1w-0006eD-Nw
	for classpath@gnu.org; Wed, 23 Jul 2003 08:47:44 -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 19fJ1u-0006Lu-1g
	for classpath@gnu.org; Wed, 23 Jul 2003 08:47:38 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C35118.8DBBE2D9"
Date: Wed, 23 Jul 2003 14:47:14 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC44F9@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: Working GridBagLayout and a few other small AWT patches
Thread-Index: AcNRGI6rQbvoIQhTQ82UU/5pdO30vg==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
Subject: Working GridBagLayout and a few other small AWT patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2003 12:47:57 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C35118.8DBBE2D9
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I almost finished GridBagLayout. The only thing not implemented yet is
adjustForGravity, besides that everything else should work.

The patch also includes a few small AWT fixes (some of which I
previously posted to the list).

Change Log

* java/awt/Component.java
(getPreferredSize): Call preferredSize.
(preferredSize): Moved body of getPreferredSize here.
(getMinimumSize): Call minimumSize.
(minimumSize): Moved body of getMinimumSize here.
(prepareImage): Fall back on Toolkit.prepareImage if there is no peer
(checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
pass -1

* java/awt/Container.java
(validate): Don't validate if there is no peer.

* java/awt/GridBagLayout.java
Completed the implementation and fixed several bugs.

* java/awt/MediaTracker.java
(MediaEntry.imageUpdate): Fixed typo. & instead of | was used to combine
flags.

* java/awt/Window.java
(Window): Don't call setVisible(false). Windows are invisible by default
and calling virtual methods from constructor causes compatibility
problems (e.g. subclasses may assume that the peer already exists).

Please commit to CVS.

Regards,
Jeroen

------_=_NextPart_001_01C35118.8DBBE2D9
Content-Type: application/octet-stream;
	name="awt_20030723.patch"
Content-Transfer-Encoding: base64
Content-Description: awt_20030723.patch
Content-Disposition: attachment;
	filename="awt_20030723.patch"

SW5kZXg6IGphdmEvYXd0L0NvbXBvbmVudC5qYXZhDQo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2
c3Jvb3QvY2xhc3NwYXRoL2NsYXNzcGF0aC9qYXZhL2F3dC9Db21wb25lbnQuamF2YSx2DQpyZXRy
aWV2aW5nIHJldmlzaW9uIDEuMTkNCmRpZmYgLXUgLXIxLjE5IENvbXBvbmVudC5qYXZhDQotLS0g
amF2YS9hd3QvQ29tcG9uZW50LmphdmEJMiBNYXIgMjAwMyAxNDo0MjoxMyAtMDAwMAkxLjE5DQor
KysgamF2YS9hd3QvQ29tcG9uZW50LmphdmEJMjMgSnVsIDIwMDMgMTI6MzM6NDAgLTAwMDANCkBA
IC0xNDUyLDEyICsxNDUyLDcgQEANCiAgICAqLw0KICAgcHVibGljIERpbWVuc2lvbiBnZXRQcmVm
ZXJyZWRTaXplKCkNCiAgIHsNCi0gICAgaWYgKHByZWZTaXplID09IG51bGwpDQotICAgICAgaWYg
KHBlZXIgPT0gbnVsbCkNCi0JcmV0dXJuIG5ldyBEaW1lbnNpb24od2lkdGgsIGhlaWdodCk7DQot
ICAgICAgZWxzZSANCi0gICAgICAgIHByZWZTaXplID0gcGVlci5nZXRQcmVmZXJyZWRTaXplKCk7
DQotICAgIHJldHVybiBwcmVmU2l6ZTsNCisgICAgcmV0dXJuIHByZWZlcnJlZFNpemUoKTsNCiAg
IH0NCiANCiAgIC8qKg0KQEAgLTE0NjgsNyArMTQ2MywxMiBAQA0KICAgICovDQogICBwdWJsaWMg
RGltZW5zaW9uIHByZWZlcnJlZFNpemUoKQ0KICAgew0KLSAgICByZXR1cm4gZ2V0UHJlZmVycmVk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0cmFpbnRzKCk7DQotICB9DQotDQotICAvKioNCi0gICAq
IEhlbHBlciBtZXRob2QgdG8gY2FsYyB0aGUgc3VtIG9mIGFsbCBlbGVtZW50cyBpbiBhbiBpbnQg
YXJyYXkuDQotICAgKi8NCi0gIHByaXZhdGUgaW50IHN1bUludEFycmF5IChpbnRbXSBhcnJheSkN
Ci0gIHsNCi0gICAgaW50IHJlc3VsdCA9IDA7DQotDQotICAgIGZvciAoaW50IGkgPSAwOyBpIDwg
YXJyYXkubGVuZ3RoOyBpKyspDQotICAgICAgIHJlc3VsdCArPSBhcnJheSBbaV07DQotDQotICAg
IHJldHVybiByZXN1bHQ7DQotICB9DQotDQotICAvKioNCi0gICAqIEhlbHBlciBtZXRob2QgdG8g
Y2FsYyB0aGUgc3VtIG9mIGFsbCBlbGVtZW50cyBpbiBhbiBkb3VibGUgYXJyYXkuDQotICAgKi8N
Ci0gIHByaXZhdGUgZG91YmxlIHN1bURvdWJsZUFycmF5IChkb3VibGVbXSBhcnJheSkNCi0gIHsN
Ci0gICAgZG91YmxlIHJlc3VsdCA9IDA7DQotDQotICAgIGZvciAoaW50IGkgPSAwOyBpIDwgYXJy
YXkubGVuZ3RoOyBpKyspDQotICAgICAgIHJlc3VsdCArPSBhcnJheSBbaV07DQotDQotICAgIHJl
dHVybiByZXN1bHQ7DQotICB9DQotDQotICBwdWJsaWMgdm9pZCBhZGRMYXlvdXRDb21wb25lbnQg
KFN0cmluZyBuYW1lLCBDb21wb25lbnQgY29tcG9uZW50KQ0KLSAgew0KLSAgICAvLyBkbyBub3Ro
aW5nIGhlcmUuDQotICB9DQotDQotICBwdWJsaWMgdm9pZCByZW1vdmVMYXlvdXRDb21wb25lbnQg
KENvbXBvbmVudCBjb21wb25lbnQpDQotICB7DQotICAgIC8vIGRvIG5vdGhpbmcgaGVyZQ0KLSAg
fQ0KLQ0KLSAgcHVibGljIHZvaWQgYWRkTGF5b3V0Q29tcG9uZW50IChDb21wb25lbnQgY29tcG9u
ZW50L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wdWJsaWMgdm9pZCBhZGRMYXlvdXRDb21wb25lbnQgKFN0cmluZyBuYW1l
LCBDb21wb25lbnQgY29tcG9uZW50KQ0KKyAgICB7DQorCS8vIGRvIG5vdGhpbmcgaGVyZS4NCisg
ICAgfQ0KKw0KKyAgICBwdWJsaWMgdm9pZCByZW1vdmVMYXlvdXRDb21wb25lbnQgKENvbXBvbmVu
dCBjb21wb25lbnQpDQorICAgIHsNCisJLy8gZG8gbm90aGluZyBoZXJlDQorICAgIH0NCisNCisg
ICAgcHVibGljIHZvaWQgYWRkTGF5b3V0Q29tcG9uZW50IChDb21wb25lbnQgY29tcG9uZW50LCBP
YmplY3QgY29uc3RyYWludHMpDQorICAgIHsNCisJaWYgKGNvbnN0cmFpbnRzID09IG51bGwpDQor
CSAgICByZXR1cm47DQorDQorCWlmICghKGNvbnN0cmFpbnRzIGluc3RhbmNlb2YgR3JpZEJhZ0Nv
bnN0cmFpbnRzKSkNCisJICAgIHRocm93IG5ldyBJbGxlZ2FsQXJndW1lbnRFeGNlcHRpb24oKTsN
CisNCisJc2V0Q29uc3RyYWludHMgKGNvbXBvbmVudCwgKEdyaWRCYWdDb25zdHJhaW50cykgY29u
c3RyYWludHMpOw0KKyAgICB9DQorDQorICAgIHB1YmxpYyBEaW1lbnNpb24gcHJlZmVycmVkTGF5
b3V0U2l6ZSAoQ29udGFpbmVyIHBhcmVudCkNCisgICAgew0KKwlpZiAocGFyZW50ID09IG51bGwp
DQorCSAgICByZXR1cm4gbmV3IERpbWVuc2lvbiAoMCwgMCk7DQorICAgIA0KKwlHcmlkQmFnTGF5
b3V0SW5mbyBsaSA9IGdldExheW91dEluZm8gKHBhcmVudCwgUFJFRkVSUkVEU0laRSk7DQorCXJl
dHVybiBnZXRNaW5TaXplIChwYXJlbnQsIGxpKTsNCisgICAgfQ0KKw0KKyAgICBwdWJsaWMgRGlt
ZW5zaW9uIG1pbmltdW1MYXlvdXRTaXplIChDb250YWluZXIgcGFyZW50KQ0KKyAgICB7D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HV0IChjb21wb25lbnQsIGNsb25lKTsNCisgICAgfQ0K
Kw0KKyAgICBwdWJsaWMgR3JpZEJhZ0NvbnN0cmFpbnRzIGdldENvbnN0cmFpbnRzIChDb21wb25l
bnQgY29tcG9uZW50KQ0KKyAgICB7DQorCXJldHVybiAoR3JpZEJhZ0NvbnN0cmFpbnRzKSAobG9v
a3VwQ29uc3RyYWludHMgKGNvbXBvbmVudCkuY2xvbmUoKSk7DQorICAgIH0NCisNCisgICAgcHJv
dGVjdGVkIEdyaWRCYWdDb25zdHJhaW50cyBsb29rdXBDb25zdHJhaW50cyAoQ29tcG9uZW50IGNv
bXBvbmVudCkNCisgICAgew0KKwlHcmlkQmFnQ29uc3RyYWludHMgcmVzdWx0ID0gKEdyaWRCYWdD
b25zdHJhaW50cykgY29tcHRhYmxlLmdldCAoY29tcG9uZW50KTsNCisNCisJaWYgKHJlc3VsdCA9
PSBudWxsKQ0KKwl7DQorCSAgICBzZXRDb25zdHJhaW50cyAoY29tcG9uZW50LCBkZWZhdWx0Q29u
c3RyYWludHMpOw0KKwkgICAgcmVzdWx0ID0gKEdyaWRCYWdDb25zdHJhaW50cykgY29tcHRhYmxl
LmdldCAoY29tcG9uZW50KTsNCisJfQ0KKyAgICANCisJcmV0dXJuIHJlc3VsdDsNCisgICAgfQ0K
Kw0KKyAgICAvKioNCisgICAgICogQHNpbmNlIDEuMQ0KKyAgICAgKi8NCisgICAgcHVibGljIFBv
aW50IGdldExheW91dE9yaWdpbiAoKQ0KKyAgICB7DQorCWlmIChsYXlvdXRJbmZvID09IG51bGwp
DQorCSAgICByZXR1cm4gbmV3IFBvaW50ICgwLCAwKTsNCisgICAgDQorCXJldHVybiBuZXcgUG9p
bnQgKGxheW91dEluZm8ucG9zX3gsIGxheW91dEluZm8ucG9zX3kpOw0KKyAgICB9DQorDQorICAg
IC8qKg0KKyAgICAgKiBAc2luY2UgMS4xDQorICAgICAqLw0KKyAgICBwdWJsaWMgaW50W11bXSBn
ZXRMYXlvdX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SArIGluc2V0cy50b3AgKyBpbnNldHMuYm90dG9tOw0KLSAgICByZXR1cm4gbmV3IERp
bWVuc2lvbiAod2lkdGgsIGhlaWdodCk7DQotICB9DQotDQotICBwcml2YXRlIHZvaWQgY2FsY0Nl
bGxTaXplcyAoaW50W10gc2l6ZXMsIGRvdWJsZVtdIHdlaWdodHMpDQotICB7DQotICAgIGludCBk
aWZmID0gc3VtSW50QXJyYXkgKHNpemVzKTsNCi0gICAgDQotICAgIGlmIChkaWZmID09IDApDQot
ICAgICAgcmV0dXJuOw0KLSAgICANCi0gICAgZG91YmxlIHdlaWdodCA9IHN1bURvdWJsZUFycmF5
ICh3ZWlnaHRzKTsNCi0NCi0gICAgZm9yIChpbnQgaSA9IDA7IGkgPCBzaXplcy5sZW5ndGg7IGkr
KykNCi0gICAgICB7DQotCXNpemVzIFtpXSArPSAoaW50KSAoKChkb3VibGUpIGRpZmYpICogd2Vp
Z2h0cyBbaV0gLyB3ZWlnaHQgKTsNCi0NCi0JaWYgKHNpemVzIFtpXSA8IDApDQotCSAgc2l6ZXMg
W2ldID0gMDsNCi0gICAgICB9DQotICB9DQotDQotICBwcml2YXRlIHZvaWQgZHVtcExheW91dElu
Zm8gKEdyaWRCYWdMYXlvdXRJbmZvIGluZm8pDQotICB7DQotICAgIFN5c3RlbS5vdXQucHJpbnRs
biAoIkdyaWRCYWdMYXlvdXRJbmZvOiIpOw0KLSAgICBTeXN0ZW0ub3V0LnByaW50bG4gKCJjb2xz
OiAiICsgaW5mby5jb2xzICsgIiwgcm93czogIiArIGluZm8ucm93cyk7DQotICAgIFN5c3RlbS5v
dXQucHJpbnRsbiAoImNvbFdpdGhzOiAiICsgaW5mby5jb2xXaWR0aHMpOw0KLSAgICBTeXN0ZW0u
b3V0LnByaW50bG4gKCJyb3dIZWlnaHRzOiAiICsgaW5mby5yb3dIZWlnaHRzKTsNCi0gICAgU3lz
dGVtLm91dC5wcmludGxuICgiY29sV2VpZ2h0czogIiArIGluZm8uY29sV2Vp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ogICAgICAgaWYgKChmbGFncyAmIEFCT1JUKSAhPSAwKQ0KLSAg
ICAgICAgc3RhdHVzID0gQUJPUlRFRCAmIENPTVBMRVRFOw0KKyAgICAgICAgc3RhdHVzID0gQUJP
UlRFRCB8IENPTVBMRVRFOw0KICAgICAgIGVsc2UgaWYgKChmbGFncyAmIEVSUk9SKSAhPSAwKQ0K
LSAgICAgICAgc3RhdHVzID0gRVJST1JFRCAmIENPTVBMRVRFOw0KKyAgICAgICAgc3RhdHVzID0g
RVJST1JFRCB8IENPTVBMRVRFOw0KICAgICAgIGVsc2UgaWYgKChmbGFncyAmIEFMTEJJVFMpICE9
IDApDQogICAgICAgICBzdGF0dXMgPSBDT01QTEVURTsNCiAgICAgICBlbHNlDQpJbmRleDogamF2
YS9hd3QvV2luZG93LmphdmENCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvY3Zzcm9vdC9jbGFzc3Bh
dGgvY2xhc3NwYXRoL2phdmEvYXd0L1dpbmRvdy5qYXZhLHYNCnJldHJpZXZpbmcgcmV2aXNpb24g
MS4xNw0KZGlmZiAtdSAtcjEuMTcgV2luZG93LmphdmENCi0tLSBqYXZhL2F3dC9XaW5kb3cuamF2
YQkxMCBNYXIgMjAwMyAxMzoyNTozNiAtMDAwMAkxLjE3DQorKysgamF2YS9hd3QvV2luZG93Lmph
dmEJMjMgSnVsIDIwMDMgMTI6MzM6NDEgLTAwMDANCkBAIC03NSw3ICs3NSw2IEBADQogICAgKi8N
CiAgIFdpbmRvdygpDQogICB7DQotICAgIHNldFZpc2libGUoZmFsc2UpOw0KICAgICBzZXRMYXlv
dXQoKExheW91dE1hbmFnZXIpIG5ldyBCb3JkZXJMYXlvdXQoKSk7DQogICB9DQogDQo=

------_=_NextPart_001_01C35118.8DBBE2D9--



From MAILER-DAEMON Wed Jul 23 09:58:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fK7n-00082C-3k
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 09:57:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fK7k-0007yo-Uu
	for classpath@gnu.org; Wed, 23 Jul 2003 09:57:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fK6s-0006AJ-AC
	for classpath@gnu.org; Wed, 23 Jul 2003 09:57:19 -0400
Received: from e2.ny.us.ibm.com ([32.97.182.102])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fK6U-0005au-Dm
	for classpath@gnu.org; Wed, 23 Jul 2003 09:56:26 -0400
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com
	[9.56.224.150])
	by e2.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h6NDuOPS045786
	for <classpath@gnu.org>; Wed, 23 Jul 2003 09:56:24 -0400
Received: from d01mlc04.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id
	h6NDuNoc168216
	for <classpath@gnu.org>; Wed, 23 Jul 2003 09:56:23 -0400
To: classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
Message-ID: <OFFC97B57C.669040F0-ON85256D6C.004C1B43-85256D6C.004C88A9@us.ibm.com>
Date: Wed, 23 Jul 2003 09:56:12 -0400
X-MIMETrack: Serialize by Router on D01MLC04/01/M/IBM(Release 6.0.2CF1 SPRs
	CGOH5MSQFA, JHEG5MYSFA, MIAS5M9K9M
	JBON5L8FGD|June 13, 2003) at 07/23/2003 09:56:23,
	Serialize complete at 07/23/2003 09:56:23
Content-Type: multipart/alternative;
	boundary="=_alternative 004C86E985256D6C_="
Subject: classpath 0.06?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2003 13:57:46 -0000

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

There was some discussion a month or so ago about making a classpath 0.06 
distribution.  Is there a chance this could happen sometime relatively 
soon?  We're thinking about making the next release of Jikes RVM in 2-3 
weeks and it would be great to be able to get all the hard work done in 
classpath since 0.05 out to our users.  Almost all of them use classpath 
0.05 instead of classpath cvs head because the install process is easier. 

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


<br><font size=2 face="sans-serif">There was some discussion a month or
so ago about making a classpath 0.06 distribution. &nbsp;Is there a chance
this could happen sometime relatively soon? &nbsp;We're thinking about
making the next release of Jikes RVM in 2-3 weeks and it would be great
to be able to get all the hard work done in classpath since 0.05 out to
our users. &nbsp;Almost all of them use classpath 0.05 instead of classpath
cvs head because the install process is easier. </font>
<br>
<br><font size=2 face="sans-serif">--dave</font>
--=_alternative 004C86E985256D6C_=--



From MAILER-DAEMON Wed Jul 23 12:29:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fMU7-0006VT-6L
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 12:28:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fMU3-0006Gj-3k
	for classpath@gnu.org; Wed, 23 Jul 2003 12:28:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fMTx-00064i-J6
	for classpath@gnu.org; Wed, 23 Jul 2003 12:28:52 -0400
Received: from to-telus.redhat.com ([207.219.125.105]
	helo=touchme.toronto.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fMTu-0005x5-Sf
	for classpath@gnu.org; Wed, 23 Jul 2003 12:28:46 -0400
Received: from tortoise.toronto.redhat.com (tortoise.toronto.redhat.com
	[172.16.14.92])
	by touchme.toronto.redhat.com (Postfix) with ESMTP id B6CC080018E
	for <classpath@gnu.org>; Wed, 23 Jul 2003 12:28:40 -0400 (EDT)
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="=-Kvz6dElLvjWzNGMW35mG"
Message-Id: <1058977720.8611.124.camel@tortoise.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 23 Jul 2003 12:28:40 -0400
Subject: Patch: Regenerate JNI headers automatically
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2003 16:28:56 -0000


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

Hello,

This patch adds a configure flag that enables automatic regeneration of
JNI headers.  The flag is disabled by default.

Each header is only rebuilt if its prerequisite .java file changes.  The
new automake file, include/Makefile.am, contains the list of header
targets.

Currently the list consists of AWT-related headers.  Could someone who
is more familiar with the other areas of classpath that require JNI
headers complete the list?  Some headers should probably be removed.

Mark Wielaard suggested that anyone checking in changes to these headers
should use gcjh, since it is free and produces clean output.  If people
agree with this, I will regenerate the AWT-headers and check them in.

Comments?

Tom

2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am (SUBDIRS): Add $(HEADER_DIR).
	* configure.in: Add --enable-regen-headers flag.
	(AC_OUTPUT): Add include/Makefile.
	* include/Makefile.am: New file.


--=-Kvz6dElLvjWzNGMW35mG
Content-Disposition: attachment; filename=regenheaders.diff
Content-Type: text/x-patch; name=regenheaders.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Index: Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/Makefile.am,v
retrieving revision 1.25
diff -u -b -B -r1.25 Makefile.am
--- Makefile.am	1 Feb 2003 12:54:05 -0000	1.25
+++ Makefile.am	23 Jul 2003 15:40:51 -0000
@@ -1,7 +1,7 @@
 ## Input file for automake to generate the Makefile.in used by configure
 
 # lib first, to compile .class files before native code
-SUBDIRS = lib doc gnu java javax native resource vm
+SUBDIRS = lib doc gnu java javax $(HEADER_DIR) native resource vm
 
 native: lib
 
Index: configure.in
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.in,v
retrieving revision 1.127
diff -u -b -B -r1.127 configure.in
--- configure.in	16 Jul 2003 15:17:33 -0000	1.127
+++ configure.in	23 Jul 2003 15:40:51 -0000
@@ -75,6 +75,16 @@
 AM_CONDITIONAL(CREATE_CNI_LIBRARIES, test "x${COMPILE_CNI}" = xyes)
 AM_CONDITIONAL(CREATE_GTK_PEER_LIBRARIES, test "x${COMPILE_GTK_PEER}" = xyes)
 
+AC_ARG_ENABLE(regen-headers,
+[  --enable-regen-headers   automatically regenerate JNI headers [default=no]],
+[case "${enableval}" in
+  yes) HEADER_DIR=include ;;
+  no) HEADER_DIR="" ;;
+  *) HEADER_DIR="" ;;
+esac],
+[HEADER_DIR=""])
+AC_SUBST(HEADER_DIR)
+
 AC_PROG_LN_S
 AC_PROG_INSTALL
 
@@ -328,6 +338,7 @@
 gnu/javax/Makefile
 gnu/javax/rmi/Makefile
 gnu/javax/rmi/CORBA/Makefile
+include/Makefile
 include/jni.h
 java/Makefile
 java/applet/Makefile
Index: include/Makefile.am
===================================================================
RCS file: include/Makefile.am
diff -N include/Makefile.am
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ include/Makefile.am	23 Jul 2003 15:40:51 -0000
@@ -0,0 +1,100 @@
+USER_JAVAH = @USER_JAVAH@
+USER_CLASSLIB = @USER_CLASSLIB@
+ARG_JNI_JAVAH = -jni
+ARG_CLASSPATH_JAVAH = -classpath
+JAVAH = $(USER_JAVAH) $(ARG_JNI_JAVAH) $(ARG_CLASSPATH_JAVAH) ../lib:$(USER_CLASSLIB)
+
+H_FILES = \
+$(top_srcdir)/include/gnu_java_awt_image_GdkPixbufDecoder.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GdkFontMetrics.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GdkGraphics.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkButtonPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkChoicePeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkClipboard.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkFramePeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkGenericPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkImagePainter.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkLabelPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkListPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMainThread.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkPanelPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextComponentPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkToolkit.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
+
+all: $(H_FILES)
+
+$(top_srcdir)/include/gnu_java_awt_image_GdkPixbufDecoder.h: $(top_srcdir)/gnu/java/awt/image/GdkPixbufDecoder.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GdkFontMetrics.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GdkFontMetrics.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GdkGraphics.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GdkGraphics.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkButtonPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkButtonPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkCanvasPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkChoicePeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkChoicePeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkClipboard.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkClipboard.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkComponentPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkFramePeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkFramePeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkGenericPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkGenericPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkImagePainter.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkImagePainter.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkLabelPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkListPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkListPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMainThread.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkMainThread.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkMenuPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkPanelPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkPanelPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextComponentPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkToolkit.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkToolkit.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkWindowPeer.java
+	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')

--=-Kvz6dElLvjWzNGMW35mG--




From MAILER-DAEMON Wed Jul 23 13:31:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fNSU-0000wi-Lk
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 13:31:22 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fNSO-0000pT-T0
	for classpath@gnu.org; Wed, 23 Jul 2003 13:31:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fNSJ-0000nD-K0
	for classpath@gnu.org; Wed, 23 Jul 2003 13:31:14 -0400
Received: from gnuftp.gnu.org ([199.232.41.6])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fNSJ-0000n1-C3
	for classpath@gnu.org; Wed, 23 Jul 2003 13:31:11 -0400
Received: from ms-smtp-03.southeast.rr.com ([24.93.67.84])
	by gnuftp.gnu.org with esmtp (Exim 4.20) id 19fNSJ-0000I9-0t
	for classpath@gnu.org; Wed, 23 Jul 2003 13:31:11 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6NHTG93008520; Wed, 23 Jul 2003 13:29:17 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 25283BE6B4; Wed, 23 Jul 2003 13:31:09 -0400 (EDT)
Sender: cbj@haphazard.org
To: David P Grove <groved@us.ibm.com>
References: <OFFC97B57C.669040F0-ON85256D6C.004C1B43-85256D6C.004C88A9@us.ibm.com>
From: Brian Jones <cbj@gnu.org>
Date: 23 Jul 2003 13:31:08 -0400
In-Reply-To: <OFFC97B57C.669040F0-ON85256D6C.004C1B43-85256D6C.004C88A9@us.ibm.com>
Message-ID: <m3adb540bn.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: classpath 0.06?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2003 17:31:20 -0000

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

> There was some discussion a month or so ago about making a classpath 0.06 
> distribution.  Is there a chance this could happen sometime relatively 
> soon?  We're thinking about making the next release of Jikes RVM in 2-3 
> weeks and it would be great to be able to get all the hard work done in 
> classpath since 0.05 out to our users.  Almost all of them use classpath 
> 0.05 instead of classpath cvs head because the install process is easier. 

I can help to physically get it on the ftp server, etc. if Mark needs
it.

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



From MAILER-DAEMON Wed Jul 23 13:34:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fNVg-0004NT-7k
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 13:34:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fNVR-0003XY-8p
	for classpath@gnu.org; Wed, 23 Jul 2003 13:34:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fNV0-0002sN-3q
	for classpath@gnu.org; Wed, 23 Jul 2003 13:34:00 -0400
Received: from gnuftp.gnu.org ([199.232.41.6])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fNUz-0002rw-66
	for classpath@gnu.org; Wed, 23 Jul 2003 13:33:57 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by gnuftp.gnu.org with esmtp (Exim 4.20) id 19fNUy-0000aM-R7
	for classpath@gnu.org; Wed, 23 Jul 2003 13:33:56 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id LAA21093;
	Wed, 23 Jul 2003 11:33:55 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 6362C4F8664; Wed, 23 Jul 2003 11:23:59 -0600 (MDT)
To: Thomas Fitzsimmons <fitzsim@redhat.com>
References: <1058977720.8611.124.camel@tortoise.toronto.redhat.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: I guess you guys got BIG MUSCLES from doing too much STUDYING!
Date: 23 Jul 2003 11:23:59 -0600
In-Reply-To: <1058977720.8611.124.camel@tortoise.toronto.redhat.com>
Message-ID: <87brvl6tsg.fsf@fleche.redhat.com>
Lines: 48
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Patch: Regenerate JNI headers automatically
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2003 17:34:38 -0000

>>>>> "Tom" == Thomas Fitzsimmons <fitzsim@redhat.com> writes:

Tom> Currently the list consists of AWT-related headers.  Could someone who
Tom> is more familiar with the other areas of classpath that require JNI
Tom> headers complete the list?  Some headers should probably be removed.

This will get you a list:

find . -name '*.[ch]' -print | xargs egrep -h '#include.*_' | grep -v target_ | grep -v native_state | grep -v libart_lgpl | sort -u

So it seems anyway.

Tom> Mark Wielaard suggested that anyone checking in changes to these headers
Tom> should use gcjh, since it is free and produces clean output.  If people
Tom> agree with this, I will regenerate the AWT-headers and check them in.

I like this, but then I would.  One question is about gcjh version
dependency.  Older versions of gcjh don't print JNICALL and JNIEXPORT
stuff -- we want to make sure that everybody is using a new enough
version.

I don't think this is that big a deal, since the target is optional
and we're checking in the canonical headers.  It will only affect
people who need to rebuild the headers and don't want to be bothered
to find gcjh.  But if they just refrain from checking in their
modified versions they can use whatever tool they like...

Tom> +[case "${enableval}" in
Tom> +  yes) HEADER_DIR=include ;;
Tom> +  no) HEADER_DIR="" ;;
Tom> +  *) HEADER_DIR="" ;;
Tom> +esac],
Tom> +[HEADER_DIR=""])
Tom> +AC_SUBST(HEADER_DIR)

It is somewhat more idiomatic to use an AM_CONDITIONAL and then just
wrap the rules in include/ with `if condition...'.  One reason to do
this is that otherwise other built files in include won't be correctly
rebuilt by a simple "make" in the non-header-regenerate case.  (E.g.,
if you touch jni.h.in, it should rebuild automatically...)

Tom> +$(top_srcdir)/include/gnu_java_awt_image_GdkPixbufDecoder.h: $(top_srcdir)/gnu/java/awt/image/GdkPixbufDecoder.java
Tom> +	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')

$(shell...) is a GNU make-ism.  Chances are that nobody will notice,
but it is more portable to write out the name here.

Tom



From MAILER-DAEMON Wed Jul 23 13:40:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fNb7-0002UM-8o
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 13:40:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fNb2-0002Nt-B8
	for classpath@gnu.org; Wed, 23 Jul 2003 13:40:12 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fNaZ-0001tA-3z
	for classpath@gnu.org; Wed, 23 Jul 2003 13:39:43 -0400
Received: from gnuftp.gnu.org ([199.232.41.6])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fNZx-0001Sq-5l
	for classpath@gnu.org; Wed, 23 Jul 2003 13:39:05 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by gnuftp.gnu.org with esmtp (Exim 4.20) id 19fNZV-0001b3-K8
	for classpath@gnu.org; Wed, 23 Jul 2003 13:38:37 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id LAA22528;
	Wed, 23 Jul 2003 11:38:35 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 388144F8678; Wed, 23 Jul 2003 11:28:40 -0600 (MDT)
To: "Jeroen Frijters" <jeroen@sumatra.nl>
References: <788B535AB1F9CB49BB9C229372B50ACC44F9@LEMBU.sumatrasoftware.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: PARDON me, am I speaking ENGLISH?
Date: 23 Jul 2003 11:28:40 -0600
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC44F9@LEMBU.sumatrasoftware.com>
Message-ID: <877k696tkn.fsf@fleche.redhat.com>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Working GridBagLayout and a few other small AWT patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2003 17:40:15 -0000

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

Jeroen> I almost finished GridBagLayout. The only thing not
Jeroen> implemented yet is adjustForGravity, besides that everything
Jeroen> else should work.

Dude, very cool.

Jeroen> The patch also includes a few small AWT fixes (some of which I
Jeroen> previously posted to the list).

Also cool.

Jeroen> Please commit to CVS.

I think you should have write access.

Tom



From MAILER-DAEMON Wed Jul 23 13:51:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fNlR-0000mk-7t
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 13:50:57 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fNlM-0000cj-6G
	for classpath@gnu.org; Wed, 23 Jul 2003 13:50:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fNlA-0000F6-Hc
	for classpath@gnu.org; Wed, 23 Jul 2003 13:50:40 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fNl8-00009y-D2
	for classpath@gnu.org; Wed, 23 Jul 2003 13:50:38 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id LAA25668;
	Wed, 23 Jul 2003 11:50:20 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 834E64F8661; Wed, 23 Jul 2003 11:40:24 -0600 (MDT)
To: Stuart Ballard <stuart.ballard@corp.fast.net>
References: <Pine.LNX.4.51.0307220313440.901@lorien.intranet.org>
	<87he5e1wph.fsf@fleche.redhat.com> <3F1D583D.4040505@corp.fast.net>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Yow!  I'm UNEMPLOYED!
Date: 23 Jul 2003 11:40:24 -0600
In-Reply-To: <3F1D583D.4040505@corp.fast.net>
Message-ID: <87vftt5egn.fsf@fleche.redhat.com>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Chris Dailey <mouse@intranet.org>, classpath@gnu.org
Subject: Re: Patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2003 17:50:55 -0000

>>>>> "Stuart" == Stuart Ballard <stuart.ballard@corp.fast.net> writes:

Stuart> Could whoever runs the Classpath Japize process try the
Stuart> attached patch to Japize and see if it fixes things in the
Stuart> next overnight run?

I haven't tried this yet.

Is it really necessary?  The fields in the .class file for the
interface are already marked properly, even though they aren't
explicitly marked in the source.  Here's the output from jcf-dump:

Fields (count: 2):
Field name:"DECLARED" public static final Signature: 6=int
Attribute "ConstantValue", length:2, value: #7=<Integer 1>
Field name:"PUBLIC" public static final Signature: 6=int
Attribute "ConstantValue", length:2, value: #10=<Integer 0>

Tom



From MAILER-DAEMON Wed Jul 23 14:49:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fOfj-0005no-ST
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 14:49:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fO6X-0002zb-VR
	for classpath@gnu.org; Wed, 23 Jul 2003 14:12:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fO5E-0002C8-CK
	for classpath@gnu.org; Wed, 23 Jul 2003 14:11:25 -0400
Received: from newmx2.fast.net ([209.92.1.32])
	by monty-python.gnu.org with smtp (Exim 4.20) id 19fO4j-00022w-T9
	for classpath@gnu.org; Wed, 23 Jul 2003 14:10:53 -0400
Received: (qmail 19915 invoked from network); 23 Jul 2003 18:04:00 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx2.fast.net (qmail-ldap-1.03) with SMTP
	for <tromey@redhat.com>; 23 Jul 2003 18:04:00 -0000
Message-ID: <3F1ECE0E.1060102@corp.fast.net>
Date: Wed, 23 Jul 2003 14:03:58 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: tromey@redhat.com
References: <Pine.LNX.4.51.0307220313440.901@lorien.intranet.org>	<87he5e1wph.fsf@fleche.redhat.com>
	<3F1D583D.4040505@corp.fast.net> <87vftt5egn.fsf@fleche.redhat.com>
In-Reply-To: <87vftt5egn.fsf@fleche.redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Wed, 23 Jul 2003 14:49:01 -0400
Cc: Chris Dailey <mouse@intranet.org>, classpath@gnu.org
Subject: Re: Patch
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2003 18:12:56 -0000

Tom Tromey wrote:
> I haven't tried this yet.
> 
> Is it really necessary?  The fields in the .class file for the
> interface are already marked properly, even though they aren't
> explicitly marked in the source.  Here's the output from jcf-dump:
> 
> Fields (count: 2):
> Field name:"DECLARED" public static final Signature: 6=int
> Attribute "ConstantValue", length:2, value: #7=<Integer 1>
> Field name:"PUBLIC" public static final Signature: 6=int
> Attribute "ConstantValue", length:2, value: #10=<Integer 0>

How odd. That suggests a bug in Jode, although it must be an obscure one 
:( - unless jcf-dump is lying because *it* knows the modifiers are 
implied, which is possible, I guess, but I doubt it.

I'd still be curious to know if the patch fixes the problem, because it 
would hint as to whether the Jode problem lies in correctly identifying 
the modifiers, or in determining the ConstantValue attribute.

Stuart.

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




From MAILER-DAEMON Wed Jul 23 16:34:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fQIj-0008Rq-8K
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 16:33:29 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fQIe-0008LW-Sq
	for classpath@gnu.org; Wed, 23 Jul 2003 16:33:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fQIJ-0008Bv-3B
	for classpath@gnu.org; Wed, 23 Jul 2003 16:33:04 -0400
Received: from to-telus.redhat.com ([207.219.125.105]
	helo=touchme.toronto.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fQHm-0007w4-7n
	for classpath@gnu.org; Wed, 23 Jul 2003 16:32:30 -0400
Received: from tortoise.toronto.redhat.com (tortoise.toronto.redhat.com
	[172.16.14.92]) by touchme.toronto.redhat.com (Postfix) with ESMTP
	id D58E9800194; Wed, 23 Jul 2003 16:32:23 -0400 (EDT)
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: Tom Tromey <tromey@redhat.com>
In-Reply-To: <87brvl6tsg.fsf@fleche.redhat.com>
References: <1058977720.8611.124.camel@tortoise.toronto.redhat.com>
	<87brvl6tsg.fsf@fleche.redhat.com>
Content-Type: multipart/mixed; boundary="=-vCo8qRvgcGK/59HFn+zc"
Message-Id: <1058992343.8611.172.camel@tortoise.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 23 Jul 2003 16:32:23 -0400
Cc: classpath@gnu.org
Subject: Re: Patch: Regenerate JNI headers automatically
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2003 20:33:25 -0000


--=-vCo8qRvgcGK/59HFn+zc
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Wed, 2003-07-23 at 13:23, Tom Tromey wrote:
> >>>>> "Tom" == Thomas Fitzsimmons <fitzsim@redhat.com> writes:
> 
> Tom> Currently the list consists of AWT-related headers.  Could someone who
> Tom> is more familiar with the other areas of classpath that require JNI
> Tom> headers complete the list?  Some headers should probably be removed.
> 
> This will get you a list:
> 
> find . -name '*.[ch]' -print | xargs egrep -h '#include.*_' | grep -v target_ | grep -v native_state | grep -v libart_lgpl | sort -u
> 
> So it seems anyway.
> 

Ok, I added the targets that were missing.

> Tom> Mark Wielaard suggested that anyone checking in changes to these headers
> Tom> should use gcjh, since it is free and produces clean output.  If people
> Tom> agree with this, I will regenerate the AWT-headers and check them in.
> 
> I like this, but then I would.  One question is about gcjh version
> dependency.  Older versions of gcjh don't print JNICALL and JNIEXPORT
> stuff -- we want to make sure that everybody is using a new enough
> version.
> 
> I don't think this is that big a deal, since the target is optional
> and we're checking in the canonical headers.  It will only affect
> people who need to rebuild the headers and don't want to be bothered
> to find gcjh.  But if they just refrain from checking in their
> modified versions they can use whatever tool they like...
> 
> Tom> +[case "${enableval}" in
> Tom> +  yes) HEADER_DIR=include ;;
> Tom> +  no) HEADER_DIR="" ;;
> Tom> +  *) HEADER_DIR="" ;;
> Tom> +esac],
> Tom> +[HEADER_DIR=""])
> Tom> +AC_SUBST(HEADER_DIR)
> 
> It is somewhat more idiomatic to use an AM_CONDITIONAL and then just
> wrap the rules in include/ with `if condition...'.  One reason to do
> this is that otherwise other built files in include won't be correctly
> rebuilt by a simple "make" in the non-header-regenerate case.  (E.g.,
> if you touch jni.h.in, it should rebuild automatically...)
> 

Good point.  I used the existing CREATE_JNI_HEADERS (which was otherwise
unused).

> Tom> +$(top_srcdir)/include/gnu_java_awt_image_GdkPixbufDecoder.h: $(top_srcdir)/gnu/java/awt/image/GdkPixbufDecoder.java
> Tom> +	$(JAVAH) -o $@ $(shell basename $@ .h | tr '_' '.')
> 
> $(shell...) is a GNU make-ism.  Chances are that nobody will notice,
> but it is more portable to write out the name here.
> 

OK.

Thanks for the comments.

New patch attached,
Tom

2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am (SUBDIRS): Add include.
	* configure.in: Add --enable-regen-headers flag.
	(AC_OUTPUT): Add include/Makefile.
	* include/Makefile.am: New file.


--=-vCo8qRvgcGK/59HFn+zc
Content-Disposition: attachment; filename=regenheaders2.diff
Content-Type: text/x-patch; name=regenheaders2.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Index: Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/Makefile.am,v
retrieving revision 1.25
diff -u -b -B -r1.25 Makefile.am
--- Makefile.am	1 Feb 2003 12:54:05 -0000	1.25
+++ Makefile.am	23 Jul 2003 20:00:53 -0000
@@ -1,7 +1,7 @@
 ## Input file for automake to generate the Makefile.in used by configure
 
 # lib first, to compile .class files before native code
-SUBDIRS = lib doc gnu java javax native resource vm
+SUBDIRS = lib doc gnu java javax include native resource vm
 
 native: lib
 
Index: configure.in
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.in,v
retrieving revision 1.127
diff -u -b -B -r1.127 configure.in
--- configure.in	16 Jul 2003 15:17:33 -0000	1.127
+++ configure.in	23 Jul 2003 20:00:54 -0000
@@ -70,11 +70,21 @@
 esac],
 [COMPILE_GTK_PEER=yes])
 
-AM_CONDITIONAL(CREATE_JNI_HEADERS, test "x${COMPILE_JNI}" = xyes) 
 AM_CONDITIONAL(CREATE_JNI_LIBRARIES, test "x${COMPILE_JNI}" = xyes)
 AM_CONDITIONAL(CREATE_CNI_LIBRARIES, test "x${COMPILE_CNI}" = xyes)
 AM_CONDITIONAL(CREATE_GTK_PEER_LIBRARIES, test "x${COMPILE_GTK_PEER}" = xyes)
 
+AC_ARG_ENABLE(regen-headers,
+[  --enable-regen-headers   automatically regenerate JNI headers [default=no]],
+[case "${enableval}" in
+  yes) REGENERATE_JNI_HEADERS=yes ;;
+  no) REGENERATE_JNI_HEADERS=no ;;
+  *) REGENERATE_JNI_HEADERS=no ;;
+esac],
+[REGENERATE_JNI_HEADERS=no])
+
+AM_CONDITIONAL(CREATE_JNI_HEADERS, test "x${REGENERATE_JNI_HEADERS}" = xyes)
+
 AC_PROG_LN_S
 AC_PROG_INSTALL
 
@@ -328,6 +338,7 @@
 gnu/javax/Makefile
 gnu/javax/rmi/Makefile
 gnu/javax/rmi/CORBA/Makefile
+include/Makefile
 include/jni.h
 java/Makefile
 java/applet/Makefile
Index: include/Makefile.am
===================================================================
RCS file: include/Makefile.am
diff -N include/Makefile.am
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ include/Makefile.am	23 Jul 2003 20:00:54 -0000
@@ -0,0 +1,159 @@
+USER_JAVAH = @USER_JAVAH@
+USER_CLASSLIB = @USER_CLASSLIB@
+ARG_JNI_JAVAH = -jni
+ARG_CLASSPATH_JAVAH = -classpath
+JAVAH = $(USER_JAVAH) $(ARG_JNI_JAVAH) $(ARG_CLASSPATH_JAVAH) ../lib:$(USER_CLASSLIB)
+
+H_FILES = \
+$(top_srcdir)/include/gnu_java_awt_image_GdkPixbufDecoder.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GdkFontMetrics.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GdkGraphics.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkButtonPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkChoicePeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkClipboard.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkFramePeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkGenericPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkImagePainter.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkLabelPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkListPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMainThread.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkPanelPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextComponentPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkToolkit.h \
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkWindowPeer.h \
+$(top_srcdir)/include/java_io_FileDescriptor.h \
+$(top_srcdir)/include/java_io_File.h \
+$(top_srcdir)/include/java_io_ObjectInputStream.h \
+$(top_srcdir)/include/java_lang_Double.h \
+$(top_srcdir)/include/java_lang_Math.h \
+$(top_srcdir)/include/java_lang_Object.h \
+$(top_srcdir)/include/java_lang_VMFloat.h \
+$(top_srcdir)/include/java_lang_VMSystem.h \
+$(top_srcdir)/include/java_lang_reflect_Array.h \
+$(top_srcdir)/include/java_net_InetAddress.h \
+$(top_srcdir)/include/java_net_NetworkInterface.h \
+$(top_srcdir)/include/java_net_PlainDatagramSocketImpl.h \
+$(top_srcdir)/include/java_net_PlainSocketImpl.h \
+$(top_srcdir)/include/java_nio_DirectByteBufferImpl.h \
+$(top_srcdir)/include/gnu_java_nio_FileChannelImpl.h \
+$(top_srcdir)/include/gnu_java_nio_FileLockImpl.h \
+$(top_srcdir)/include/java_util_TimeZone.h
+
+if CREATE_JNI_HEADERS
+
+all-local: $(H_FILES)
+
+$(top_srcdir)/include/gnu_java_awt_image_GdkPixbufDecoder.h: $(top_srcdir)/gnu/java/awt/image/GdkPixbufDecoder.java
+	$(JAVAH) -o $@ gnu.java.awt.image.GdkPixbufDecoder
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GdkFontMetrics.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GdkFontMetrics.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GdkFontMetrics
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GdkGraphics.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GdkGraphics.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GdkGraphics
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkButtonPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkButtonPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkButtonPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkCanvasPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkCanvasPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkCheckboxGroupPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkCheckboxMenuItemPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkCheckboxPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkChoicePeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkChoicePeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkChoicePeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkClipboard.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkClipboard.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkClipboard
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkComponentPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkComponentPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkFileDialogPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkFramePeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkFramePeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkFramePeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkGenericPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkGenericPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkGenericPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkImagePainter.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkImagePainter.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkImagePainter
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkLabelPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkLabelPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkListPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkListPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkListPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMainThread.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkMainThread.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkMainThread
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkMenuBarPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkMenuItemPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkMenuPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkMenuPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkMenuPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkPanelPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkPanelPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkPanelPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkPopupMenuPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkScrollPanePeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkScrollbarPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkTextAreaPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextComponentPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkTextComponentPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkTextFieldPeer
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkToolkit.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkToolkit.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkToolkit
+$(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: $(top_srcdir)/gnu/java/awt/peer/gtk/GtkWindowPeer.java
+	$(JAVAH) -o $@ gnu.java.awt.peer.gtk.GtkWindowPeer
+$(top_srcdir)/include/java_io_FileDescriptor.h: $(top_srcdir)/java/io/FileDescriptor.java
+	$(JAVAH) -o $@ java.io.FileDescriptor
+$(top_srcdir)/include/java_io_File.h: $(top_srcdir)/java/io/File.java
+	$(JAVAH) -o $@ java.io.File
+$(top_srcdir)/include/java_io_ObjectInputStream.h: $(top_srcdir)/java/io/ObjectInputStream.java
+	$(JAVAH) -o $@ java.io.ObjectInputStream
+$(top_srcdir)/include/java_lang_Double.h: $(top_srcdir)/java/lang/Double.java
+	$(JAVAH) -o $@ java.lang.Double
+$(top_srcdir)/include/java_lang_Math.h: $(top_srcdir)/java/lang/Math.java
+	$(JAVAH) -o $@ java.lang.Math
+$(top_srcdir)/include/java_lang_Object.h: $(top_srcdir)/java/lang/Object.java
+	$(JAVAH) -o $@ java.lang.Object
+$(top_srcdir)/include/java_lang_VMFloat.h: $(top_srcdir)/vm/reference/java/lang/VMFloat.java
+	$(JAVAH) -o $@ java.lang.VMFloat
+$(top_srcdir)/include/java_lang_VMSystem.h: $(top_srcdir)/vm/reference/java/lang/VMSystem.java
+	$(JAVAH) -o $@ java.lang.VMSystem
+$(top_srcdir)/include/java_lang_reflect_Array.h: $(top_srcdir)/java/lang/reflect/Array.java
+	$(JAVAH) -o $@ java.lang.reflect.Array
+$(top_srcdir)/include/java_net_InetAddress.h: $(top_srcdir)/java/net/InetAddress.java
+	$(JAVAH) -o $@ java.net.InetAddress
+$(top_srcdir)/include/java_net_NetworkInterface.h: $(top_srcdir)/java/net/NetworkInterface.java
+	$(JAVAH) -o $@ java.net.NetworkInterface
+$(top_srcdir)/include/java_net_PlainDatagramSocketImpl.h: $(top_srcdir)/java/net/PlainDatagramSocketImpl.java
+	$(JAVAH) -o $@ java.net.PlainDatagramSocketImpl
+$(top_srcdir)/include/java_net_PlainSocketImpl.h: $(top_srcdir)/java/net/PlainSocketImpl.java
+	$(JAVAH) -o $@ java.net.PlainSocketImpl
+$(top_srcdir)/include/java_nio_DirectByteBufferImpl.h: $(top_srcdir)/java/nio/DirectByteBufferImpl.java
+	$(JAVAH) -o $@ java.nio.DirectByteBufferImpl
+$(top_srcdir)/include/gnu_java_nio_FileChannelImpl.h: $(top_srcdir)/java/nio/channels/FileChannelImpl.java
+	$(JAVAH) -o $@ gnu.java.nio.FileChannelImpl
+$(top_srcdir)/include/gnu_java_nio_FileLockImpl.h: $(top_srcdir)/gnu/java/nio/FileLockImpl.java
+	$(JAVAH) -o $@ gnu.java.nio.FileLockImpl
+$(top_srcdir)/include/java_util_TimeZone.h: $(top_srcdir)/java/util/TimeZone.java
+	$(JAVAH) -o $@ java.util.TimeZone
+
+else
+
+all-local:
+
+endif # CREATE_JNI_HEADERS

--=-vCo8qRvgcGK/59HFn+zc--




From MAILER-DAEMON Wed Jul 23 16:38:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fQNt-0003QS-Ok
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 16:38:49 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fQNr-0003M0-8X
	for classpath@gnu.org; Wed, 23 Jul 2003 16:38:47 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fQNp-0003K3-9U
	for classpath@gnu.org; Wed, 23 Jul 2003 16:38:45 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fQNo-0003II-RF
	for classpath@gnu.org; Wed, 23 Jul 2003 16:38:44 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id OAA07407;
	Wed, 23 Jul 2003 14:38:43 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id A89B74F82FD; Wed, 23 Jul 2003 14:28:46 -0600 (MDT)
To: Thomas Fitzsimmons <fitzsim@redhat.com>
References: <1058977720.8611.124.camel@tortoise.toronto.redhat.com>
	<87brvl6tsg.fsf@fleche.redhat.com>
	<1058992343.8611.172.camel@tortoise.toronto.redhat.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: On SECOND thought, maybe I'll heat up some BAKED BEANS and
	watch REGIS PHILBIN..  It's GREAT to be ALIVE!!
Date: 23 Jul 2003 14:28:46 -0600
In-Reply-To: <1058992343.8611.172.camel@tortoise.toronto.redhat.com>
Message-ID: <87vftt3s3l.fsf@fleche.redhat.com>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: Patch: Regenerate JNI headers automatically
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2003 20:38:47 -0000

>>>>> "Tom" == Thomas Fitzsimmons <fitzsim@redhat.com> writes:

Tom> New patch attached,

Looks great.

Tom> +USER_JAVAH = @USER_JAVAH@
Tom> +USER_CLASSLIB = @USER_CLASSLIB@

FYI, automake automatically adds all AC_SUBST variables to Makefile.in,
so these two lines are redundant.

Tom> +else
Tom> +all-local:
Tom> +endif # CREATE_JNI_HEADERS

The else part shouldn't be needed.

Tom



From MAILER-DAEMON Wed Jul 23 23:03:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fWND-0003zX-KY
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 23:02:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fWMw-0003Eb-I3
	for classpath@gnu.org; Wed, 23 Jul 2003 23:02:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fWMP-0001wf-Bz
	for classpath@gnu.org; Wed, 23 Jul 2003 23:02:12 -0400
Received: from ms-smtp-02.southeast.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fWMD-0001nt-BG
	for classpath@gnu.org; Wed, 23 Jul 2003 23:01:29 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6O2wHqP004487; Wed, 23 Jul 2003 22:58:18 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 21F00BE6B4; Wed, 23 Jul 2003 23:01:26 -0400 (EDT)
Sender: cbj@haphazard.org
To: tromey@redhat.com
References: <1058977720.8611.124.camel@tortoise.toronto.redhat.com>
	<87brvl6tsg.fsf@fleche.redhat.com>
	<1058992343.8611.172.camel@tortoise.toronto.redhat.com>
	<87vftt3s3l.fsf@fleche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 23 Jul 2003 23:01:26 -0400
In-Reply-To: <87vftt3s3l.fsf@fleche.redhat.com>
Message-ID: <m3y8yo8w6x.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: Patch: Regenerate JNI headers automatically
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 03:02:30 -0000

Tom Tromey <tromey@redhat.com> writes:

> >>>>> "Tom" == Thomas Fitzsimmons <fitzsim@redhat.com> writes:
> 
> Tom> New patch attached,
> 
> Looks great.
> 
> Tom> +USER_JAVAH = @USER_JAVAH@
> Tom> +USER_CLASSLIB = @USER_CLASSLIB@
> 
> FYI, automake automatically adds all AC_SUBST variables to Makefile.in,
> so these two lines are redundant.
> 
> Tom> +else
> Tom> +all-local:
> Tom> +endif # CREATE_JNI_HEADERS
> 
> The else part shouldn't be needed.
> 
> Tom

Looks good here too.

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



From MAILER-DAEMON Wed Jul 23 23:14:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fWYO-0005i2-Nz
	for mharc-classpath@gnu.org; Wed, 23 Jul 2003 23:14:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fWYM-0005a9-0b
	for classpath@gnu.org; Wed, 23 Jul 2003 23:14:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fWYE-0005Ii-AE
	for classpath@gnu.org; Wed, 23 Jul 2003 23:14:00 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fWYD-0005IF-OI
	for classpath@gnu.org; Wed, 23 Jul 2003 23:13:53 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6O37WpM002529; Wed, 23 Jul 2003 23:07:33 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id AD7E2BE6B4; Wed, 23 Jul 2003 23:13:50 -0400 (EDT)
Sender: cbj@haphazard.org
To: tromey@redhat.com
References: <788B535AB1F9CB49BB9C229372B50ACC44F9@LEMBU.sumatrasoftware.com>
	<877k696tkn.fsf@fleche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 23 Jul 2003 23:13:50 -0400
In-Reply-To: <877k696tkn.fsf@fleche.redhat.com>
Message-ID: <m3smow8vm9.fsf@lyta.haphazard.org>
Lines: 25
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: Working GridBagLayout and a few other small AWT patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 03:14:02 -0000

Tom Tromey <tromey@redhat.com> writes:

> >>>>> "Jeroen" == Jeroen Frijters <jeroen@sumatra.nl> writes:
> 
> Jeroen> I almost finished GridBagLayout. The only thing not
> Jeroen> implemented yet is adjustForGravity, besides that everything
> Jeroen> else should work.
> 
> Dude, very cool.
> 
> Jeroen> The patch also includes a few small AWT fixes (some of which I
> Jeroen> previously posted to the list).
> 
> Also cool.
> 
> Jeroen> Please commit to CVS.
> 
> I think you should have write access.

I tried back in March to get Jeroen into direct commits.  ;)  What
about it now Jeroen?  

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



From MAILER-DAEMON Thu Jul 24 02:59:14 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fa4I-0001H2-O7
	for mharc-classpath@gnu.org; Thu, 24 Jul 2003 02:59:14 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fa49-0000vM-KB
	for classpath@gnu.org; Thu, 24 Jul 2003 02:59:05 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fa3v-0000Jx-Tu
	for classpath@gnu.org; Thu, 24 Jul 2003 02:58:52 -0400
Received: from smtp-104-thursday.noc.nerim.net ([62.4.17.104]
	helo=mallaury.noc.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fa3u-00006J-A7
	for classpath@gnu.org; Thu, 24 Jul 2003 02:58:50 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by mallaury.noc.nerim.net (Postfix) with ESMTP
	id BFC1862D30; Thu, 24 Jul 2003 08:58:47 +0200 (CEST)
Message-ID: <3F1F8580.3050808@kaffe.org>
Date: Thu, 24 Jul 2003 09:06:40 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20021213
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org, kaffe@kaffe.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: NIO in classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 06:59:13 -0000

Hi !

I joined Kaffe developers recently and I am currently fixing things here 
and there. One of my current projects is to get a valid NIO 
implementation in Kaffe/Classpath. As I have already some work done 
(FileChannels on Kaffe, I may port these code to JNI) I was wondering if 
someone else is working on it...

Cheers,

Guilhem.




From MAILER-DAEMON Thu Jul 24 03:04:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fa9S-0003Vu-JV
	for mharc-classpath@gnu.org; Thu, 24 Jul 2003 03:04:34 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fa9Q-0003VC-D4
	for classpath@gnu.org; Thu, 24 Jul 2003 03:04:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fa9O-0003UJ-Sc
	for classpath@gnu.org; Thu, 24 Jul 2003 03:04:31 -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 19fa8s-0003Ol-QP; Thu, 24 Jul 2003 03:03:59 -0400
Content-class: urn:content-classes:message
Date: Thu, 24 Jul 2003 09:03:36 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC44FC@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-TNEF-Correlator: 
Thread-Topic: Working GridBagLayout and a few other small AWT patches
Thread-Index: AcNRkZ4bNQCZM9QWQmKRU8gUrjPFugAH64aQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Brian Jones" <cbj@gnu.org>, <tromey@redhat.com>,
	"Mark Wielaard" <mark@klomp.org>
Cc: classpath@gnu.org
Subject: RE: Working GridBagLayout and a few other small AWT patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 07:04:33 -0000

Brian Jones wrote:
> I tried back in March to get Jeroen into direct commits.  ;)  What
> about it now Jeroen? =20

OK. Thanks. I think Mark wants to set it up though ;-)

Regards,
Jeroen



From MAILER-DAEMON Thu Jul 24 05:59:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fcsR-0007Oa-3O
	for mharc-classpath@gnu.org; Thu, 24 Jul 2003 05:59:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fcs3-000755-KV
	for classpath@gnu.org; Thu, 24 Jul 2003 05:58:47 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fcqV-0006lB-28
	for classpath@gnu.org; Thu, 24 Jul 2003 05:57:12 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19fcqE-0006Y0-Ur; Thu, 24 Jul 2003 05:56:55 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19fcoE-0008Iy-00; Thu, 24 Jul 2003 11:54:50 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19fcq6-000189-00; Thu, 24 Jul 2003 11:56:46 +0200
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC44FC@LEMBU.sumatrasoftware.com>
References: <788B535AB1F9CB49BB9C229372B50ACC44FC@LEMBU.sumatrasoftware.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1059040606.4249.106.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 24 Jul 2003 11:56:46 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: Brian Jones <cbj@gnu.org>, tromey@redhat.com, classpath@gnu.org
Subject: RE: Working GridBagLayout and a few other small AWT patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 09:59:09 -0000

Hi,

On Thu, 2003-07-24 at 09:03, Jeroen Frijters wrote:
> Brian Jones wrote:
> > I tried back in March to get Jeroen into direct commits.  ;)  What
> > about it now Jeroen?  
> 
> OK. Thanks. I think Mark wants to set it up though ;-)

I also already offered direct CVS access to Jeroen. Your contributions
have been great. I am happy that you now accept this offer. Please let
me know your savannah.gnu.org user name.

Just so people know how this works. To contribute to GNU Classpath we
have a few requirements. First you have to make sure that you read this:
http://www.gnu.org/software/classpath/docs/hacking.html
(There is a special requirements section.)

Then if you think you meet those requirements and want to make a
contribution you have to contact the GNU Classpath maintainer (currently
me) to arrange some formalities (copyright assignment/disclaimer). The
FSF really wants to make sure that they have the right to distribute
your changes and is pretty strict about getting all the legal issues
right. (This is a hassle and nobody likes it really, but it makes sure
that people can be sure that if the FSF distributes some GNU package
they don't have to worry about using the freedoms that the license gives
them and that there is a clear entity with standing to sue if someone
tries to take those freedoms away.)

Note that the above is not necessary for small incidental contributions
like a simple bug fix or addition of a trivial method. But if you think
you will contribute substantial enhancements to GNU Classpath please
contact me.

Then you can either send patches to the list to discuss them and let
others make suggestion about how to improve them till it is good enough
that someone will commit it for you. Or you can ask for direct CVS
access so you relieve others from the burden of applying your changes.
This means you changes get into the tree sooner, but it is also a big
responsibility since then you really have to make sure to do it
correctly (good ChangeLog entry, respect the coding conventions, no
checkin of anything that could be controversial before announcing it on
the list, and above all not break the build!). for CVS access you will
have to have an account on savannah.gnu.org and contact the Classpath
administrators (currently Brian or me) to add you to the developers
list.

Note that I don't mind reviewing and checking in other peoples patches
myself. It can take a while though. So if it doesn't get applied
immediatly you have to be sure to either add them to the savannah patch
manager and/or to send a reminder to the list after a while when someone
can take another look at it.

Cheers,

Mark



From MAILER-DAEMON Thu Jul 24 08:18:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ff3T-0007sC-VM
	for mharc-classpath@gnu.org; Thu, 24 Jul 2003 08:18:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ff3Q-0007m6-KT
	for classpath@gnu.org; Thu, 24 Jul 2003 08:18:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ff24-00078P-7Q
	for classpath@gnu.org; Thu, 24 Jul 2003 08:17:48 -0400
Received: from mail3-126.ewetel.de ([212.6.122.126] helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19ff1p-00071z-Dn
	for classpath@gnu.org; Thu, 24 Jul 2003 08:17:01 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-69-096.ewetel.net
	[80.228.69.96])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id h6OCGBpD017135;
	Thu, 24 Jul 2003 14:16:12 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 19ff12-00047z-00; Thu, 24 Jul 2003 14:16:12 +0200
From: Michael Koch <konqueror@gmx.de>
To: Guilhem Lavaux <guilhem@kaffe.org>, classpath@gnu.org, kaffe@kaffe.org
Date: Thu, 24 Jul 2003 14:21:14 +0200
User-Agent: KMail/1.5.2
References: <3F1F8580.3050808@kaffe.org>
In-Reply-To: <3F1F8580.3050808@kaffe.org>
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: <200307241421.17060.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: NIO in classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 12:18:41 -0000

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

Am Donnerstag, 24. Juli 2003 09:06 schrieb Guilhem Lavaux:
> Hi !
>
> I joined Kaffe developers recently and I am currently fixing things
> here and there. One of my current projects is to get a valid NIO
> implementation in Kaffe/Classpath. As I have already some work done
> (FileChannels on Kaffe, I may port these code to JNI) I was
> wondering if someone else is working on it...

Yes, I've done some work for this classpath too. I have this already=20
on my disc and is mostly working, just little things are missing.
Its a port from my work for libgcj.


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

iD8DBQE/H888WSOgCCdjSDsRAiqsAJ4iuoAbar1ce5V106j/JCTBDEOriACdE6Hz
VEjoVz9gXm5FmxAmB5io2jU=3D
=3D8dqw
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Thu Jul 24 09:48:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fgQR-0001iW-V3
	for mharc-classpath@gnu.org; Thu, 24 Jul 2003 09:46:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fgLz-0004DH-Gg
	for classpath@gnu.org; Thu, 24 Jul 2003 09:41:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fgLi-0003VE-Q3
	for classpath@gnu.org; Thu, 24 Jul 2003 09:41:39 -0400
Received: from sccrmhc13.comcast.net ([204.127.202.64])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fgLg-0003Na-Mq
	for classpath@gnu.org; Thu, 24 Jul 2003 09:41:36 -0400
Received: from cs.utah.edu
	(12-210-168-188.client.attbi.com[12.210.168.188](untrusted sender))
	by comcast.net (sccrmhc13) with SMTP
	id <20030724134134016008d3fde>; Thu, 24 Jul 2003 13:41:35 +0000
Date: Thu, 24 Jul 2003 07:41:20 -0600
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v552)
To: Guilhem Lavaux <guilhem@kaffe.org>
From: Timothy Stack <stack@cs.utah.edu>
In-Reply-To: <3F1F8580.3050808@kaffe.org>
Message-Id: <824321D6-BDDC-11D7-AE4F-00039383EA82@cs.utah.edu>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.552)
X-Mailman-Approved-At: Thu, 24 Jul 2003 09:46:30 -0400
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: [kaffe] NIO in classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 13:42:01 -0000


On Thursday, July 24, 2003, at 01:06 AM, Guilhem Lavaux wrote:

> Hi !

hi,

> I joined Kaffe developers recently and I am currently fixing things 
> here and there. One of my current projects is to get a valid NIO 
> implementation in Kaffe/Classpath. As I have already some work done 
> (FileChannels on Kaffe, I may port these code to JNI) I was wondering 
> if someone else is working on it...

What aspect are you working on?  Writing the java level code or porting 
the threading system(s)?

> Cheers,
>
> Guilhem.

tim




From MAILER-DAEMON Thu Jul 24 10:07:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fgj6-0004bc-9e
	for mharc-classpath@gnu.org; Thu, 24 Jul 2003 10:05:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fgiY-00045N-Um
	for classpath@gnu.org; Thu, 24 Jul 2003 10:05:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fgi6-0003pd-7a
	for classpath@gnu.org; Thu, 24 Jul 2003 10:04:46 -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 19fggf-0003Ig-JK; Thu, 24 Jul 2003 10:03:17 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 24 Jul 2003 16:03:07 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC4501@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Working GridBagLayout and a few other small AWT patches
Thread-Index: AcNRkZ4bNQCZM9QWQmKRU8gUrjPFugAH64aQAA64gJA=
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Brian Jones" <cbj@gnu.org>, <tromey@redhat.com>,
	"Mark Wielaard" <mark@klomp.org>
Cc: classpath@gnu.org
Subject: RE: Working GridBagLayout and a few other small AWT patches
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 14:05:46 -0000

I wrote:
> Brian Jones wrote:
> > I tried back in March to get Jeroen into direct commits.  ;)  What
> > about it now Jeroen? =20
>=20
> OK. Thanks. I think Mark wants to set it up though ;-)

Mark gave me access and I just committed my AWT patches.

Thanks.

Regards,
Jeroen



From MAILER-DAEMON Thu Jul 24 10:09:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fgmV-0007cd-EG
	for mharc-classpath@gnu.org; Thu, 24 Jul 2003 10:09:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fgly-00077q-SB
	for classpath@gnu.org; Thu, 24 Jul 2003 10:08:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fgli-0006Vf-9r
	for classpath@gnu.org; Thu, 24 Jul 2003 10:08:34 -0400
Received: from smtp-104-thursday.nerim.net ([62.4.16.104] helo=kraid.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fglZ-00061n-Rn
	for classpath@gnu.org; Thu, 24 Jul 2003 10:08:21 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by kraid.nerim.net (Postfix) with ESMTP
	id D4B8440E7F; Thu, 24 Jul 2003 16:08:19 +0200 (CEST)
Message-ID: <3F1FEA2C.4050302@kaffe.org>
Date: Thu, 24 Jul 2003 16:16:12 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Timothy Stack <stack@cs.utah.edu>
References: <824321D6-BDDC-11D7-AE4F-00039383EA82@cs.utah.edu>
In-Reply-To: <824321D6-BDDC-11D7-AE4F-00039383EA82@cs.utah.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: [kaffe] NIO in classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 14:09:18 -0000

Timothy Stack wrote:

>
> On Thursday, July 24, 2003, at 01:06 AM, Guilhem Lavaux wrote:
>
>> Hi !
>
>
> hi,
>
>> I joined Kaffe developers recently and I am currently fixing things 
>> here and there. One of my current projects is to get a valid NIO 
>> implementation in Kaffe/Classpath. As I have already some work done 
>> (FileChannels on Kaffe, I may port these code to JNI) I was wondering 
>> if someone else is working on it...
>
>
> What aspect are you working on?  Writing the java level code or 
> porting the threading system(s)? 


I was planting everything in Kaffe: I begun updating the subthreading to 
include the new required syscalls (easy) and FileChannel implementation 
(working but I need to test it against Java NIO's specification), Pipe 
is on the way. I have modified some parts of Classpath's implementation 
to match the necessities of Unix's limitations (for mmap() 
particularly). But maybe I will wait until Michael releases his own code 
to see how different it is.

    Cheers,
    Guilhem.

>
>
>> Cheers,
>>
>> Guilhem.
>
>
> tim
>
>
> _______________________________________________
> kaffe mailing list
> kaffe@kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe






From MAILER-DAEMON Thu Jul 24 12:57:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fjOV-00084F-Mh
	for mharc-classpath@gnu.org; Thu, 24 Jul 2003 12:56:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fjOT-0007zV-Hw
	for classpath@gnu.org; Thu, 24 Jul 2003 12:56:41 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fjOM-0007wB-Cu
	for classpath@gnu.org; Thu, 24 Jul 2003 12:56:34 -0400
Received: from smtp-104-thursday.nerim.net ([62.4.16.104] helo=kraid.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fjOA-0007gN-NA
	for classpath@gnu.org; Thu, 24 Jul 2003 12:56:22 -0400
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by kraid.nerim.net (Postfix) with ESMTP
	id 8393D40E49; Thu, 24 Jul 2003 18:56:20 +0200 (CEST)
Message-ID: <3F20118C.5030001@kaffe.org>
Date: Thu, 24 Jul 2003 19:04:12 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Timothy Stack <stack@cs.utah.edu>, kaffe@kaffe.org,
	classpath@gnu.org
References: <33AD2C8E-BDF4-11D7-B042-000A956D2824@cs.utah.edu>
In-Reply-To: <33AD2C8E-BDF4-11D7-B042-000A956D2824@cs.utah.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Re: [kaffe] NIO in classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 16:56:42 -0000

Timothy Stack wrote:

>
> On Thursday, July 24, 2003, at 08:16  AM, Guilhem Lavaux wrote:
>
>> I was planting everything in Kaffe: I begun updating the subthreading 
>> to include the new required syscalls (easy)
>
>
> Cool, but which threading systems have you done this for? 
> (unix-pthreads, unix-jthreads, etc...)  Just calling select() for 
> unix-pthreads will work fine, but I would think it would take a lot of 
> changes to make things work for unix-jthreads (user-level threads 
> implemented with non-blocking syscalls and signals). 

Sure but this is why I said that I need to do more extensive tests ... I 
had no access to the JDK documentation for the last week so I needed to 
guess the behaviour. Apparently, the begin()...end() section is not yet 
really implemented in kaffe (and I do not see exactly what it should 
do). Anyway I just wanted to know how many people and to what extent 
they already implemented this part.


    Cheers,
    Guilhem.




From MAILER-DAEMON Fri Jul 25 06:10:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fzUK-0006Ax-5B
	for mharc-classpath@gnu.org; Fri, 25 Jul 2003 06:07:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fzSG-0004sD-7F
	for classpath@gnu.org; Fri, 25 Jul 2003 06:05:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fzRp-0004MN-Lq
	for classpath@gnu.org; Fri, 25 Jul 2003 06:05:14 -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 19fzRI-0004BD-0W
	for classpath@gnu.org; Fri, 25 Jul 2003 06:04:40 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C35294.28D8B551"
Date: Fri, 25 Jul 2003 12:04:30 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC4507@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: Thread/VMThread proposal
Thread-Index: AcNSlB37FIrnkFbjTjO+jUatKkIZ3Q==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
Subject: Thread/VMThread proposal
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Jul 2003 10:07:45 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C35294.28D8B551
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I've attached a proposed rewrite of Thread to split it into a generic
and VM specific class.

Please review and comment on it.

Regards,
Jeroen

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

LyogVGhyZWFkIC0tIGFuIGluZGVwZW5kZW50IHRocmVhZCBvZiBleGVjdXRhYmxlIGNvZGUNCiAg
IENvcHlyaWdodCAoQykgMTk5OCwgMjAwMSwgMjAwMiBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb24N
Cg0KVGhpcyBmaWxlIGlzIHBhcnQgb2YgR05VIENsYXNzcGF0aC4NCg0KR05VIENsYXNzcGF0aCBp
cyBmcmVlIHNvZnR3YXJlOyB5b3UgY2FuIHJlZGlzdHJpYnV0ZSBpdCBhbmQvb3IgbW9kaWZ5DQpp
dCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGFzIHB1
Ymxpc2hlZCBieQ0KdGhlIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbjsgZWl0aGVyIHZlcnNpb24g
Miwgb3IgKGF0IHlvdXIgb3B0aW9uKQ0KYW55IGxhdGVyIHZlc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ENsYXNzTG9hZGVyID0gY2xhc3Nsb2FkZXI7DQog
IH0NCg0KICAvKioNCiAgICogQ2hlY2tzIHdoZXRoZXIgdGhlIGN1cnJlbnQgdGhyZWFkIGhvbGRz
IHRoZSBtb25pdG9yIG9uIGEgZ2l2ZW4gb2JqZWN0Lg0KICAgKiBUaGlzIGFsbG93cyB5b3UgdG8g
ZG8gPGNvZGU+YXNzZXJ0IFRocmVhZC5ob2xkc0xvY2sob2JqKTwvY29kZT4uDQogICAqDQogICAq
IEBwYXJhbSBvYmogdGhlIG9iamVjdCB0byBjaGVjaw0KICAgKiBAcmV0dXJuIHRydWUgaWYgdGhl
IGN1cnJlbnQgdGhyZWFkIGlzIGN1cnJlbnRseSBzeW5jaHJvbml6ZWQgb24gb2JqDQogICAqIEB0
aHJvd3MgTnVsbFBvaW50ZXJFeGNlcHRpb24gaWYgb2JqIGlzIG51bGwNCiAgICogQHNpbmNlIDEu
NA0KICAgKi8NCiAgcHVibGljIHN0YXRpYyBib29sZWFuIGhvbGRzTG9jayhPYmplY3Qgb2JqKQ0K
ICB7DQogICAgcmV0dXJuIFZNVGhyZWFkLmhvbGRzTG9jayhvYmopOw0KICB9DQp9IC8vIGNsYXNz
IFRocmVhZA0K

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

ZmluYWwgY2xhc3MgVk1UaHJlYWQNCnsNCiAgICAvLyBOb3RlOiB3aGVuIHRoaXMgdGhyZWFkIGRp
ZXMsIHRoaXMgcmVmZXJlbmNlIGlzICpub3QqIGNsZWFyZWQNCiAgICBwcml2YXRlIFRocmVhZCB0
aHJlYWQ7DQoNCiAgICBwcml2YXRlIFZNVGhyZWFkKFRocmVhZCB0aHJlYWQsIGxvbmcgc3RhY2tz
aXplKQ0KICAgIHsNCgl0aGlzLnRocmVhZCA9IHRocmVhZDsNCglzdGFydChzdGFja3NpemU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F0
aWMgbmF0aXZlIHZvaWQgc2xlZXAobG9uZyBtcywgaW50IG5zKSB0aHJvd3MgSW50ZXJydXB0ZWRF
eGNlcHRpb247DQogICAgbmF0aXZlIHZvaWQgaW50ZXJydXB0KCk7DQogICAgc3RhdGljIG5hdGl2
ZSBib29sZWFuIGludGVycnVwdGVkKCk7DQogICAgbmF0aXZlIGJvb2xlYW4gaXNJbnRlcnJ1cHRl
ZCgpOw0KICAgIG5hdGl2ZSB2b2lkIHN1c3BlbmQoKTsNCiAgICBuYXRpdmUgdm9pZCByZXN1bWUo
KTsNCiAgICBuYXRpdmUgdm9pZCBzZXRQcmlvcml0eShpbnQgcHJpb3JpdHkpOw0KICAgIG5hdGl2
ZSB2b2lkIHN0b3AoVGhyb3dhYmxlIHQpOw0KICAgIHN0YXRpYyBuYXRpdmUgYm9vbGVhbiBob2xk
c0xvY2soT2JqZWN0IG9iaik7DQp9DQo=

------_=_NextPart_001_01C35294.28D8B551--



From MAILER-DAEMON Fri Jul 25 06:12:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fzWY-0007LH-1F
	for mharc-classpath@gnu.org; Fri, 25 Jul 2003 06:10:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fzTK-0005FC-5A
	for classpath@gnu.org; Fri, 25 Jul 2003 06:06:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fzR4-00042n-R4
	for classpath@gnu.org; Fri, 25 Jul 2003 06:04:26 -0400
Received: from serv09.segi.ulg.ac.be ([139.165.32.78])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fzQr-0003do-Qa
	for classpath@gnu.org; Fri, 25 Jul 2003 06:04:13 -0400
Received: (qmail 26700 invoked by uid 504); 25 Jul 2003 11:56:57 +0200
Received: from arnaud.vandyck@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501
	with qmail-scanner-1.16 (spamassassin: 2.55.  Clear:. 
	Processed in 0.137125 secs); 25 Jul 2003 09:56:57 -0000
Received: from unknown (HELO localhost) ([139.165.77.48])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 25 Jul 2003 11:56:57 +0200
Date: Fri, 25 Jul 2003 11:56:57 +0200 (CEST)
Message-Id: <20030725.115657.67884946.arnaud@potaulait.be>
To: classpath@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <m3adb540bn.fsf@lyta.haphazard.org>
References: <OFFC97B57C.669040F0-ON85256D6C.004C1B43-85256D6C.004C88A9@us.ibm.com>
	<m3adb540bn.fsf@lyta.haphazard.org>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://arnaud.potaulait.be/
X-Mailer: Mew version 3.2 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: Re: classpath 0.06?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Jul 2003 10:10:04 -0000

Brian Jones <cbj@gnu.org> wrote:
> David P Grove <groved@us.ibm.com> writes:
> > There was some discussion a month or so ago about making a classpath
> > 0.06  distribution.  Is there  a chance  this could  happen sometime
> > relatively soon?   We're thinking about  making the next  release of
> > Jikes RVM in 2-3  weeks and it would be great to  be able to get all
> > the hard work done in classpath since 0.05 out to our users.  Almost
> > all of them use classpath 0.05 instead of classpath cvs head because
> > the install process is easier.
> I can help to physically get it on the ftp server, etc. if Mark needs
> it.

Sorry, maybe  a idiot question,  but is there  a release plan  for 0.06,
0.07, ..., 1.0?

Is it a problem if there are more releases? 

Isn't the website  a bit out of date  or will it be updated  only when a
new release will be done?

PS: Brian, many thanks for the good job ;)

-- Arnaud



From MAILER-DAEMON Fri Jul 25 08:28:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19g1g1-0000Db-5Q
	for mharc-classpath@gnu.org; Fri, 25 Jul 2003 08:28:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19g1ft-0008N5-C9
	for classpath@gnu.org; Fri, 25 Jul 2003 08:27:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19g1fe-00080Y-48
	for classpath@gnu.org; Fri, 25 Jul 2003 08:27:38 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19g1fF-0007MM-MR
	for classpath@gnu.org; Fri, 25 Jul 2003 08:27:13 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19g1dH-0003K5-00
	for <classpath@gnu.org>; Fri, 25 Jul 2003 14:25:11 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19g1f8-0002PN-00
	for <classpath@gnu.org>; Fri, 25 Jul 2003 14:27:06 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1059136025.4249.196.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 25 Jul 2003 14:27:05 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Subject: Acunia Wonka VisualTestEngine
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Jul 2003 12:27:59 -0000

Hi,

I extracted the visual test engine tool from the openwonka sources and
made two little changes to get it to compile against a recent CVS
Classpath/libgcj core classes implementation (AppletContext has three
new abstract methods and Class.forName() doesn't throw
NoSuchMethodException). You can find it at:
http://www.klomp.org/mark/open-wonka-visualtest.tar.gz (1MB)
(Or just get the latest openwonka snapshot then you will find it in
open-wonka/tool/visualtest.)

You will need a recent Classpath and/or gcj. Thomas Fitzsimmons imported
the GTK peer fixes from libgcj into Classpath and I am now importing the
AWT work from Michael and Jeroen into libgcj.

It is a nice tool since you can quickly see what goes OK and what not
with out AWT implementation. There is also a help button for each test
to explain what you should be seeing.

Below are compiling and running instructions.
The download comes with precompiled classes included so you can also
skip the compile part.

With jikes you compile it like:
jikes -bootclasspath /usr/local/classpath/share/classpath/glibj.zip \
	`find com -name \*.java`

With gcj you would compile it like:
gcj -Wno-deprecated -o vte --main=com.acunia.wonka.test.awt.VisualTestEngine \
	`find com -name *.java`

Then you run it with:
kissme com.acunia.wonka.test.awt.VisualTestEngine \
	`find com -name *.java | cut -f1 -d\. | tr ['/'] ['.']`
(Sadly kissme crashes almost immediatly, haven't looked into it yet,
 but kaffe, which has its own non-peer based AWT implementation works.)

Or with he native binary as:
./tve `find com -name *.java | cut -f1 -d\. | tr ['/'] ['.']`

This is slightly wrong since not all java files are actually tests.
But you can also try out individual tests by specifying the class name
on the command line.

Cheers,

Mark



From MAILER-DAEMON Fri Jul 25 10:54:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19g3xA-00016Z-EZ
	for mharc-classpath@gnu.org; Fri, 25 Jul 2003 10:53:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19g3JT-0004eC-0w
	for classpath@gnu.org; Fri, 25 Jul 2003 10:12:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19g3JM-0004PC-ML
	for classpath@gnu.org; Fri, 25 Jul 2003 10:12:45 -0400
Received: from newmx1.fast.net ([209.92.1.31])
	by monty-python.gnu.org with smtp (Exim 4.20) id 19g3JG-00041O-0y
	for classpath@gnu.org; Fri, 25 Jul 2003 10:12:38 -0400
Received: (qmail 25735 invoked from network); 25 Jul 2003 14:12:28 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx1.fast.net (qmail-ldap-1.03) with SMTP
	for <kaffe@rufus.w3.org>; 25 Jul 2003 14:12:28 -0000
Message-ID: <3F213ACA.2050401@corp.fast.net>
Date: Fri, 25 Jul 2003 10:12:26 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: Kaffe <kaffe@rufus.w3.org>, GNU Classpath <classpath@gnu.org>, 
	libgcj <java@gcc.gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Fri, 25 Jul 2003 10:53:50 -0400
Cc: 
Subject: Japi pages down
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Jul 2003 14:13:16 -0000

I'm afraid I've had to take down the japitools web pages at very short 
notice.

I'll try to find alternative hosting over the next few weeks, and I 
don't think this should be a problem, but if somebody else is willing to 
run the pages, I'm more than happy to send or ftp a tarball of the 
content and the script I use to generate the nightly results. I can also 
repoint japi.sab39.org to the new address once it's up.

Sorry for the inconvenience.

Stuart.

[oh, and sorry for not including the wonka list in this email, but I 
didn't have the address handy. Wonka developers on the other lists I did 
send this to, please feel free to forward this information to the list 
or to anyone else in the project who might be interested]

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




From MAILER-DAEMON Sat Jul 26 18:16:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19gXL3-0003uw-O6
	for mharc-classpath@gnu.org; Sat, 26 Jul 2003 18:16:29 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19gXKv-0003cI-Vo
	for classpath@gnu.org; Sat, 26 Jul 2003 18:16:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19gXKj-0003Wd-Pz
	for classpath@gnu.org; Sat, 26 Jul 2003 18:16:10 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19gXKF-0003F0-H9
	for classpath@gnu.org; Sat, 26 Jul 2003 18:15:39 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id QAA00691;
	Sat, 26 Jul 2003 16:15:15 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 3DCDD4F8752; Sat, 26 Jul 2003 16:05:06 -0600 (MDT)
To: "Dr. Torsten Rupp" <rupp@aicas.com>
References: <3F1CED7B.90603@aicas.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: UH-OH!!  I put on ``GREAT HEAD-ON TRAIN COLLISIONS of the 50's''
	by mistake!!!
Date: 26 Jul 2003 16:05:06 -0600
In-Reply-To: <3F1CED7B.90603@aicas.com>
Message-ID: <87n0f1j65p.fsf@fleche.redhat.com>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath <classpath@gnu.org>
Subject: Re: createTempFile()
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 26 Jul 2003 22:16:27 -0000

>>>>> "Torsten" == Torsten Rupp <rupp@aicas.com> writes:

Torsten> That means the current implementation returns all the time a
Torsten> temporary file with a filename of the pattern 8+3. Long
Torsten> prefixed are rejected by an exception. Is this behaviour ok?
Torsten> What do you think?

I'd prefer to have long names usable on systems where they exist.

Torsten> If that is not accepable, how to distinguish different system
Torsten> capabilities in the right way? Is there some property or
Torsten> something else which can be used?

You can always check to see if the directory separator is "\".
A lot of these things have been worked out in the libgcj java.io.File.
Merging the two would be nice -- I think I heard Michael Koch talking
about this :-)

Tom



From MAILER-DAEMON Sun Jul 27 11:00:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19gn0Y-0005wv-R6
	for mharc-classpath@gnu.org; Sun, 27 Jul 2003 11:00:22 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19gn0V-0005rt-Mo
	for classpath@gnu.org; Sun, 27 Jul 2003 11:00:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19gn0T-0005pm-Kr
	for classpath@gnu.org; Sun, 27 Jul 2003 11:00:18 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19gn0T-0005no-7H
	for classpath@gnu.org; Sun, 27 Jul 2003 11:00:17 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19gmyU-0000Hl-00; Sun, 27 Jul 2003 16:58:14 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19gn0O-0002FL-00; Sun, 27 Jul 2003 17:00:12 +0200
From: Mark Wielaard <mark@klomp.org>
To: David P Grove <groved@us.ibm.com>
In-Reply-To: <OFFC97B57C.669040F0-ON85256D6C.004C1B43-85256D6C.004C88A9@us.ibm.com>
References: <OFFC97B57C.669040F0-ON85256D6C.004C1B43-85256D6C.004C88A9@us.ibm.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1059318012.8139.56.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 27 Jul 2003 17:00:12 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: classpath@gnu.org
Subject: Re: classpath 0.06?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Jul 2003 15:00:20 -0000

Hi,

On Wed, 2003-07-23 at 15:56, David P Grove wrote:
> There was some discussion a month or so ago about making a classpath
> 0.06 distribution.  Is there a chance this could happen sometime
> relatively soon?  We're thinking about making the next release of
> Jikes RVM in 2-3 weeks and it would be great to be able to get all the
> hard work done in classpath since 0.05 out to our users.  Almost all
> of them use classpath 0.05 instead of classpath cvs head because the
> install process is easier. 

Having a release/snapshot now seems like good idea since 0.05 has been
almost 6 months ago now. I would like to propose a quick release
schedule of about three weeks. First one and a half week to get the last
things in that people feel we must have for 0.06 (e.g. make sure the
Aicas JNI C native layer is complete, update the gjdoc api generation,
there is also one SecurityManager/VMSecurityManager thing that might be
nice, maybe the Thread/VMThread thing, although it might be a bit big to
change so close to the release). Feel free to make suggestions (but be
prepared to provide code soon). And then have one and a half week to
stabilize this thing and make sure it works with as much VMs (CVS
versions probably) as possible. Then lets try to release it on August 15
2003 which would be precisely 6 months after 0.05.

What do people think about this plan?

Cheers,

Mark



From MAILER-DAEMON Sun Jul 27 11:04:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19gn4f-0005kB-A2
	for mharc-classpath@gnu.org; Sun, 27 Jul 2003 11:04:37 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19gn4a-0005VA-Je
	for classpath@gnu.org; Sun, 27 Jul 2003 11:04:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19gn4M-0004ms-H1
	for classpath@gnu.org; Sun, 27 Jul 2003 11:04:18 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19gn4J-0004dT-Tg; Sun, 27 Jul 2003 11:04:16 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19gn2M-0000Mf-00; Sun, 27 Jul 2003 17:02:14 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19gn4H-0002FZ-00; Sun, 27 Jul 2003 17:04:13 +0200
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
In-Reply-To: <m3adb540bn.fsf@lyta.haphazard.org>
References: <OFFC97B57C.669040F0-ON85256D6C.004C1B43-85256D6C.004C88A9@us.ibm.com>
	<m3adb540bn.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1059318253.8140.61.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 27 Jul 2003 17:04:13 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: classpath@gnu.org
Subject: Re: classpath 0.06?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Jul 2003 15:04:35 -0000

Hi,

On Wed, 2003-07-23 at 19:31, Brian Jones wrote:
>
> I can help to physically get it on the ftp server, etc. if Mark needs
> it.

Paul has given me access to the ftp and alpha download areas. But I have
not tried out these new powers yet. Help with packaging and putting
things on the right servers will be highly appreciated when the time
comes.

Thanks,

Mark



From MAILER-DAEMON Sun Jul 27 11:23:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19gnLR-0005Nd-UV
	for mharc-classpath@gnu.org; Sun, 27 Jul 2003 11:21:57 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19gnKv-0005A7-Gb
	for classpath@gnu.org; Sun, 27 Jul 2003 11:21:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19gnKm-00051T-5D
	for classpath@gnu.org; Sun, 27 Jul 2003 11:21:16 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19gnKQ-0004ry-6F
	for classpath@gnu.org; Sun, 27 Jul 2003 11:20:54 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 19gnIL-0000Ng-00; Sun, 27 Jul 2003 17:18:45 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 19gnKG-0002G8-00; Sun, 27 Jul 2003 17:20:44 +0200
From: Mark Wielaard <mark@klomp.org>
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <20030725.115657.67884946.arnaud@potaulait.be>
References: <OFFC97B57C.669040F0-ON85256D6C.004C1B43-85256D6C.004C88A9@us.ibm.com>
	<m3adb540bn.fsf@lyta.haphazard.org>
	<20030725.115657.67884946.arnaud@potaulait.be>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1059319243.8139.77.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.3 
Date: 27 Jul 2003 17:20:43 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: classpath@gnu.org
Subject: Re: classpath 0.06?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Jul 2003 15:21:56 -0000

Hi,

On Fri, 2003-07-25 at 11:56, Arnaud Vandyck wrote:
>
> Sorry, maybe  a idiot question,  but is there  a release plan  for 0.06,
> 0.07, ..., 1.0?

Good questions. There is no real release plan for 0.0x, 0.0x+1, etc. We
just agreed to make a release roughly every couple of months. The plan
for GNU Classpath 1.0 has always been to have core libraries comparable
to what JDK 1.1 provided. We have reached that goal and gone far beyond
it for some packages, but for java.awt this is still not reached. Two
other important things. The first is that we want be merged as much as
possible with libgcj, again most has been done see
<http://gcc.gnu.org/java/libgcj-classpath-compare.html> but there remain
a couple of tricky things not really on that page (e.g. char set
encoding and url handlers). And merging more with libgcj relies on the
other important thing to have for 1.0 and that is a clear maintainable
VM integration layer (the SecurityManager/VMSecurityManager and
Thread/VMThread split mentioned earlier are part of this).

What this all means is that for declaring GNU Classpath 1.0 we want to
have something that we feel is good enough that free VMs can use it out
of the box and that we can confidentially say is maintainable and stable
enough to use.

> Is it a problem if there are more releases? 

No, we can certainly do releases (or semi-stable snapshots) more often
then every 6 months. But it does take a non-zero amount of time to
prepare a real release so then we should make sure we have enough
resources to pull that off.

> Isn't the website  a bit out of date  or will it be updated  only when a
> new release will be done?

If someone gives suggestions or even wants to update it a bit please do.
Documentation is always the last priority even though it is very
important to get right. All current pages can be found in CVS under
doc/www.gnu.org. There is a little README in that directory that needs
at least one change and that is that we would really like people to
discuss anything about it on this mailinglist.

Cheers,

Mark



From MAILER-DAEMON Sun Jul 27 20:06:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19gvXL-0008Q5-2u
	for mharc-classpath@gnu.org; Sun, 27 Jul 2003 20:06:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19gvXI-0008MN-T8
	for classpath@gnu.org; Sun, 27 Jul 2003 20:06:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19gvXG-0008H4-Pv
	for classpath@gnu.org; Sun, 27 Jul 2003 20:06:42 -0400
Received: from ms-smtp-02.southeast.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19gvXF-0008CT-1h
	for classpath@gnu.org; Sun, 27 Jul 2003 20:06:41 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6S03QqP005508
	for <classpath@gnu.org>; Sun, 27 Jul 2003 20:03:26 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 64966BE6B4; Sun, 27 Jul 2003 20:06:38 -0400 (EDT)
Sender: cbj@haphazard.org
To: GNU Classpath <classpath@gnu.org>
From: Brian Jones <cbj@gnu.org>
Date: 27 Jul 2003 20:06:38 -0400
Message-ID: <m3ptjv7bw1.fsf@lyta.haphazard.org>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Subject: Bug 2685
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jul 2003 00:06:45 -0000

--=-=-=

Hi,

I'm trying to close a few bugs for the 0.06 release.  I've replied to
bug 2685,
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2685&group_id=85,
and need someone to help me understand how to correct my test case.
The test case is attached to the bug report and this email.  Sun's
1.4.1 JVM never seems to throw ThreadDeath in a catchable way or more
likely I am trying to do something I can't.  My reading of the
documentation for this deprecated method Thread.stop() made me believe
such a thing would work however.  Any ideas?

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


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

// Tags: JDK1.0

// Copyright (C) 2002 Free Software Foundation, Inc.
// Written by Mark Wielaard (mark@klomp.org)

// This file is part of Mauve.

// Mauve is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or (at your option)
// any later version.

// Mauve is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

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

package gnu.testlet.java.lang.Thread;

import gnu.testlet.Testlet;
import gnu.testlet.TestHarness;

public class stop extends Thread implements Testlet
{
  static TestHarness harness;
  static boolean death = false;

  public void run()
  {
    try
      {
	while (true)
	  {
	    Thread.sleep(1000);
	  }
      }
    catch (Exception m)
      {
	harness.check(false, "Unexpected exception during test");
      }
    catch (ThreadDeath e)
      {
	death = true;
	Thread thread = Thread.currentThread();
	ThreadGroup group = thread.getThreadGroup();
	harness.check(group != null, "Stop should not remove thread from ThreadGroup");
	throw e;
      }
  }

  public void test (TestHarness h)
  {
    harness = h;

    try
      {
	Thread current = Thread.currentThread();
	ThreadGroup group = current.getThreadGroup();

	stop t = new stop();
	t.start();
	while (!t.isAlive()) { current.sleep (1000); }
	t.stop();
	t.join(0);
	harness.check(death, "ThreadDeath not properly thrown and caught");
      }
    catch (InterruptedException ie)
      {
	harness.fail("Unexpected interrupt");
      }
  }
}


--=-=-=--



From MAILER-DAEMON Sun Jul 27 20:57:51 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19gwKd-000266-P7
	for mharc-classpath@gnu.org; Sun, 27 Jul 2003 20:57:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19gwKT-0001lw-Se
	for classpath@gnu.org; Sun, 27 Jul 2003 20:57:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19gwKG-0000yT-Bh
	for classpath@gnu.org; Sun, 27 Jul 2003 20:57:21 -0400
Received: from power.connexus.net.au ([203.12.22.20])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19gwIM-0007xn-Fv; Sun, 27 Jul 2003 20:55:22 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id h6S0cst1072229;
	Mon, 28 Jul 2003 10:38:54 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Brian Jones" <cbj@gnu.org>
Date: Mon, 28 Jul 2003 10:42:23 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMEAHDFAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <m3ptjv7bw1.fsf@lyta.haphazard.org>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Bug 2685
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jul 2003 00:57:42 -0000

Brian,

Try the attached code instead - which properly synchronizes between
the two threads to ensure that the thread to be stopped actually
starts executing. From what I observed the thread never got a chance
to run and so was stopped before it really got started. This can
happen because:

a) start sets the isAlive flag such that isAlive returns true (it need
not do this, but it can)
b) your while loop sees the thread is alive, even though it has never
yet been scheduled, and so the main thread doesn't sleep
c) you immediately stop() it, hence it will never be scheduled

Always use wait/notify to coordinate threads never use sleeps. Also
note:

a) the shared flag 'death' must be volatile as it is accessed without
synchronization

b) using someThread.sleep(x) is at best misleading because
Thread.sleep always applied to the current thread. Best to avoid
potential misunderstanding by just using Thread.sleep(x);

But also be aware that there is no guarantee, now that it is
deprecated, that Thread.stop() will do anything reasonable under the
JDK.

Cheers,
David Holmes
-----------------------------

public class stop extends Thread
{
  static volatile boolean death = false;

    static void check(boolean cond, String msg) {
        if (!cond) throw new Error(msg);
    }

    static Object lock = new Object();
    static boolean running = false;

  public void run()
  {
   System.out.println("Running ...");
   try  {
       // main thread is waiting for us to start so let it proceed
       // once we block
       synchronized(lock) {
           running = true;
           lock.notify();
       }
       synchronized (lock) {
           while (true) { lock.wait(); }
       }
   }
   catch (Exception m)
   {
       check(false, "Unexpected exception during test");
   }
   catch (ThreadDeath e)
   {
       death = true;
       Thread thread = Thread.currentThread();
       ThreadGroup group = thread.getThreadGroup();
       check(group != null, "Stop should not remove thread from
ThreadGroup");
       throw e;
   }
  }

  public static void main (String[] args)
  {

    try
      {
	Thread current = Thread.currentThread();
	ThreadGroup group = current.getThreadGroup();

	stop t = new stop();
	t.start();
        // wait until t says it's running
        synchronized(lock) {
            while (!running) lock.wait();
        }
	t.stop();
	t.join(0);
	check(death, "ThreadDeath not properly thrown and caught");
      }
    catch (InterruptedException ie)
      {
	check(false, "Unexpected interrupt");
      }
  }
}




From MAILER-DAEMON Mon Jul 28 01:02:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19h09I-0005ZW-5y
	for mharc-classpath@gnu.org; Mon, 28 Jul 2003 01:02:16 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19h09F-0005XV-HJ
	for classpath@gnu.org; Mon, 28 Jul 2003 01:02:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19h09D-0005Tn-R6
	for classpath@gnu.org; Mon, 28 Jul 2003 01:02:12 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19h08e-0004xN-32
	for classpath@gnu.org; Mon, 28 Jul 2003 01:01:36 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6S4t6pM005754; Mon, 28 Jul 2003 00:55:07 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 20D17BE6B4; Mon, 28 Jul 2003 01:01:29 -0400 (EDT)
Sender: cbj@haphazard.org
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCMEAHDFAA.dholmes@dltech.com.au>
From: Brian Jones <cbj@gnu.org>
Date: 28 Jul 2003 01:01:28 -0400
In-Reply-To: <NFBBKALFDCPFIDBNKAPCMEAHDFAA.dholmes@dltech.com.au>
Message-ID: <m3fzkr6y8n.fsf@lyta.haphazard.org>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath <classpath@gnu.org>
Subject: Re: Bug 2685
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jul 2003 05:02:14 -0000

David Holmes <dholmes@dltech.com.au> writes:

> Brian,
> 
> Try the attached code instead - which properly synchronizes between
> the two threads to ensure that the thread to be stopped actually
> starts executing. 

Thanks David, I shouldn't have tried that hack I guess.

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



From MAILER-DAEMON Mon Jul 28 01:52:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19h0vk-00036Y-9P
	for mharc-classpath@gnu.org; Mon, 28 Jul 2003 01:52:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19h0ve-0002vV-GO
	for classpath@gnu.org; Mon, 28 Jul 2003 01:52:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19h0qd-0000VJ-GO
	for classpath@gnu.org; Mon, 28 Jul 2003 01:47:03 -0400
Received: from hc-gw2.hitachi-cable.co.jp ([219.124.60.37])
	by monty-python.gnu.org with smtp (Exim 4.20) id 19h0pT-0000Jn-Fv
	for classpath@gnu.org; Mon, 28 Jul 2003 01:45:52 -0400
Received: (qmail 19762 invoked from network); 28 Jul 2003 05:45:39 -0000
Received: from unknown (HELO sm1.hitachi-cable.co.jp) (172.31.2.40)
	by hc-gw2.hitachi-cable.co.jp with SMTP; 28 Jul 2003 05:45:39 -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 h6S5hok19170
	for <classpath@gnu.org>; Mon, 28 Jul 2003 14:43:50 +0900
Date: Mon, 28 Jul 2003 14:43:50 +0900
Message-Id: <200307280543.h6S5hok19170@sm1.hitachi-cable.co.jp>
Received: (qmail 27541 invoked from network); 28 Jul 2003 05:45:38 -0000
Received: from hjavd.htk.hitachi-cable.co.jp (HELO FLR-1DL9-011844)
	(172.18.51.29) by 172.31.3.7 with SMTP; 28 Jul 2003 05:45:38 -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.util.GregorianCalendar
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jul 2003 05:52:19 -0000

Sun's API document says about java.util.Calendar.WEEK_OF_MONTH,
"The first week of the month, as defined by getFirstDayOfWeek() and
getMinimalDaysInFirstWeek(), has value 1."

But GNU Classpath's java.util.GregorianCalendar returns 0 for the
first week of the month except for those special months whose
first day is Sunday (e.g. Jun 2003).

Here is my patch:

--- java/util/GregorianCalendar.java.orig	Sun Mar 24 01:10:15 2002
+++ java/util/GregorianCalendar.java	Mon Jul 28 11:53:16 2003
@@ -599,7 +599,7 @@
     // which day of the week are we (0..6), relative to getFirstDayOfWeek
     int relativeWeekday = (7 + fields[DAY_OF_WEEK] - getFirstDayOfWeek()) % 7;
 
-    fields[WEEK_OF_MONTH] = (fields[DAY_OF_MONTH] - relativeWeekday + 6) / 7;
+    fields[WEEK_OF_MONTH] = (fields[DAY_OF_MONTH] - relativeWeekday + 12) / 7;
 
     int weekOfYear = (fields[DAY_OF_YEAR] - relativeWeekday + 6) / 7;
 

By the way,  while GNU Classpath's Calendar returns 53 or 54 as the last
week of the year,  Sun's Java 1.4.2 returns 1.  I think this may be a bug
of Sun's.



From MAILER-DAEMON Mon Jul 28 04:21:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19h3Fm-00021g-1n
	for mharc-classpath@gnu.org; Mon, 28 Jul 2003 04:21:10 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19h3FY-0001sy-Db
	for classpath@gnu.org; Mon, 28 Jul 2003 04:20:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19h387-0000Ur-Ec
	for classpath@gnu.org; Mon, 28 Jul 2003 04:13:17 -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 19h35n-0008KL-2N
	for classpath@gnu.org; Mon, 28 Jul 2003 04:10:51 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C354DF.BA9C9876"
Date: Mon, 28 Jul 2003 10:10:32 +0200
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC4511@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: Thread/VMThread proposal
Thread-Index: AcNUyzvGgjmt4A+iQIKshBluOLJ4KAABZnKQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "David Holmes" <dholmes@dltech.com.au>,
	<classpath@gnu.org>
Cc: 
Subject: RE: Thread/VMThread proposal
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jul 2003 08:21:07 -0000

This is a multi-part message in MIME format.

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

Hi David,

Thanks for taking the time to comment!

David Holmes wrote:
> - Thread.VMThread and Thread.group must be volatile as they are
> accessed by multiple threads without synchronization via isAlive() -
> or else ensure everything that reads them only does so while holding
> the thread's lock. See end comment

You are absolutely right. I'm hanging my head in shame, I really do know
better than that ;-)

> - VMThread.run allows exceptions to escape - which may not be a good
> thing :) Any exceptions from group.uncaughtException should be
> "swallowed". Any other exceptions would indicate a VM error and should
> probably be logged. If you are assuming this is always called from C
> code then the exceptions would be ignored anyway, but it may not be
> called from C code.

I added a try/catch(Throwable) around the call the uncaughtException.

> - You may need more lifecycle management in VMThread. For example, a
> thread that has stop() called on it before it is started is
> "stillborn".

The docs do say that, but my tests suggest that Sun just ignores stop()
when called on an unstarted thread. Should we implement what the docs
say, or emulate the Sun implementation? In most cases (including this
one), my preference is to do what Sun does.

> - VMThread.join() should be implemented using wait/notify not using a
> polling loop with sleep. Your VMThread.run would then do the notifyAll
> upon termination.

IMHO, this is too heavyweight for the default VMThread. I expect most
VMs to supply their own version of VMThread which has a better
implementation of join (based on some native join-like mechanism). I
agree the default is lame, but I don't think putting time into improving
it is worthwhile if no-one is going to use it. Of course, by this
argument it should probably be taken out entirely and made native.

> - having VMThread.currentThread create a Thread if the current
> VMThread is "unbound" seems inappropriate. currentThread should be a
> fast operation and you don't want even a null check in there. Further,
> the null condition would presumably only occur during bootstrapping,
> which implies a better interface is needed to set up the "primordial"
> Thread.

Unfortunately, I think this is required, because native threads can call
into Java code. Native threads don't have a corresponding Java thread
until Thread.currentThread is called (but I don't think this is
specified anywhere). This is an area that needs more investigation (and
documentation), because it is also conceivable that a VM chooses to
create the Java thread on the JNI boundary.

> - VMThread.getPriority may also need to be "native" otherwise you may
> have problems with setting the priority field atomically with respect
> to changing the actual runtime priority of the thread. As it stands,
> Thread.setPriority changes the priority field and then completely
> indepedently sets the VMThread priority - allowing the two to be
> different to an external observer. While normal Java doesn't guarantee
> the observability of this, a VM that does implement strict priority
> scheduling would allow this to be observed. You also need to ensure
> any changes in priority whilst a thread is in the process of starting
> are reflected in the actual priority of the started thread.

Again, I expect the VM implementer to provide a custom VMThread in this
case.

> - in general you need more synchronization to ensure atomicity of
> actions, and in particular to ensure a thread does not terminate
> whilst a method is being invoked upon it. Sequences such as:
>    VMThread t =3D this.vmThread;
>    if (t !=3D null) t.XXX();
> can still throw NullPointerException if the thread terminates between
> the null check and the invocation.

No they can't. t is either null or it isn't, it doesn't change. Note
that I do assume that the native methods do the right thing, in case the
thread has already terminated.

> The simplest solution to make the
> vast majority of Thread methods synchronized (this is only a
> problematic solution if you are concerned about priority inversion
> :) ).

I went through the code again and looked at the memory model issues. I
made the setters in Thread synchronized and the mutable fields volatile.
Maybe I'm trying to be too clever (that often happens when people are
trying to "optimize" synchronization), but I really do understand the
Java memory model (and how flawed it is) and I want to get it right and
not prevent VMs with a stronger memory model from having a more
optimized version of VMThread.

I fixed a few other bugs (still haven't compiled it, so there will be
others) and attached the new version.

Regards,
Jeroen

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

ZmluYWwgY2xhc3MgVk1UaHJlYWQNCnsNCiAgICAvLyBOb3RlOiB3aGVuIHRoaXMgdGhyZWFkIGRp
ZXMsIHRoaXMgcmVmZXJlbmNlIGlzICpub3QqIGNsZWFyZWQNCiAgICBwcml2YXRlIFRocmVhZCB0
aHJlYWQ7DQoNCiAgICBwcml2YXRlIFZNVGhyZWFkKFRocmVhZCB0aHJlYWQsIGxvbmcgc3RhY2tz
aXplKQ0KICAgIHsNCgl0aGlzLnRocmVhZCA9IHRocmVhZDsNCglzdGFydChzdGFja3NpemUpOw0K
ICAgIH0NCg0KICAgIC8vIE5PVEUgc3RvcCgpIHNob3VsZCB0YWtlIGNhcmUgbm90IHRvIHN0b3Ag
dGhlIHRocmVhZCBpZiB0aGlzIG1ldGhvZA0KICAgIC8vIGlzIHJ1bm5pbmcuDQogICAgcHJpdmF0
ZSB2b2lkIHJ1bigpDQogICAgew0KCXRyeQ0KCXsNCgkgICAgdHJ5DQoJICAgIHsNCgkJdGhyZWFk
LnJ1bigpOw0KCSAgICB9DQoJICAgIGNhdGNoKFRocm93YWJsZSB0KQ0KCSAgICB7DQoJCVRocmVh
ZEdyb3VwIGdyb3VwID0gdGhyZWFkLmdyb3VwOw0KCQlpZihncm91cCAhPSBudWxsKQ0KCQl7DQoJ
CSAgICB0cnkNCgkJICAgIHsNCgkJCWdyb3VwLnVuY2F1Z2h0RXhjZXB0aW9uKHRocmVhZCwgdCk7
DQoJCSAgICB9DQoJCSAgICBjYXRjaChUaHJvd2FibGUgaWdub3JlKQ0KCQkgICAgew0KCQkgICAg
fQ0K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TsNCgl9DQogICAgfQ0KDQogICAgbmF0aXZlIHZvaWQgc3RhcnQobG9uZyBzdGFj
a3NpemUpOw0KICAgIG5hdGl2ZSB2b2lkIGludGVycnVwdCgpOw0KICAgIG5hdGl2ZSBib29sZWFu
IGlzSW50ZXJydXB0ZWQoKTsNCiAgICBuYXRpdmUgdm9pZCBzdXNwZW5kKCk7DQogICAgbmF0aXZl
IHZvaWQgcmVzdW1lKCk7DQogICAgbmF0aXZlIHZvaWQgc2V0UHJpb3JpdHkoaW50IHByaW9yaXR5
KTsNCiAgICBuYXRpdmUgdm9pZCBzdG9wKFRocm93YWJsZSB0KTsNCg0KICAgIHN0YXRpYyBuYXRp
dmUgVk1UaHJlYWQgY3VycmVudFZNVGhyZWFkKCk7DQogICAgc3RhdGljIG5hdGl2ZSB2b2lkIHlp
ZWxkKCk7DQogICAgc3RhdGljIG5hdGl2ZSB2b2lkIHNsZWVwKGxvbmcgbXMsIGludCBucykgdGhy
b3dzIEludGVycnVwdGVkRXhjZXB0aW9uOw0KICAgIHN0YXRpYyBuYXRpdmUgYm9vbGVhbiBpbnRl
cnJ1cHRlZCgpOw0KICAgIHN0YXRpYyBuYXRpdmUgYm9vbGVhbiBob2xkc0xvY2soT2JqZWN0IG9i
aik7DQp9DQo=

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

LyogVGhyZWFkIC0tIGFuIGluZGVwZW5kZW50IHRocmVhZCBvZiBleGVjdXRhYmxlIGNvZGUNCiAg
IENvcHlyaWdodCAoQykgMTk5OCwgMjAwMSwgMjAwMiBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb24N
Cg0KVGhpcyBmaWxlIGlzIHBhcnQgb2YgR05VIENsYXNzcGF0aC4NCg0KR05VIENsYXNzcGF0aCBp
cyBmcmVlIHNvZnR3YXJlOyB5b3UgY2FuIHJlZGlzdHJpYnV0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Cn0gLy8gY2xhc3MgVGhyZWFk
DQo=

------_=_NextPart_001_01C354DF.BA9C9876--



From MAILER-DAEMON Mon Jul 28 09:06:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19h7fp-0008Gl-1j
	for mharc-classpath@gnu.org; Mon, 28 Jul 2003 09:04:21 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19h7fG-0007ii-1Y
	for classpath@gnu.org; Mon, 28 Jul 2003 09:03:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19h7ed-0007AR-Pn
	for classpath@gnu.org; Mon, 28 Jul 2003 09:03:10 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19h7eS-00072q-Rz
	for classpath@gnu.org; Mon, 28 Jul 2003 09:02:56 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6SCuVpM016343; Mon, 28 Jul 2003 08:56:31 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 5C681BE6B4; Mon, 28 Jul 2003 09:02:55 -0400 (EDT)
Sender: cbj@haphazard.org
To: GNU Classpath <classpath@gnu.org>
From: Brian Jones <cbj@gnu.org>
Date: 28 Jul 2003 09:02:55 -0400
Message-ID: <m3u196ztvk.fsf@lyta.haphazard.org>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: java@gcc.gnu.org
Subject: gtk peers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jul 2003 13:04:17 -0000

All,

I know some folks are working on the gtk peers.  I think we'd like to
make the code enabled with --enable-portable-native-sync the default
if possible.  Any problems with doing this?  This build option may
only exist in classpath, not sure about gcj.

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



From MAILER-DAEMON Mon Jul 28 12:24:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hAn9-0005Y0-3K
	for mharc-classpath@gnu.org; Mon, 28 Jul 2003 12:24:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hAdV-0001VO-Su
	for classpath@gnu.org; Mon, 28 Jul 2003 12:14:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hAZ8-0008M9-Qy
	for classpath@gnu.org; Mon, 28 Jul 2003 12:09:39 -0400
Received: from to-telus.redhat.com ([207.219.125.105]
	helo=touchme.toronto.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19hARJ-0006Fp-4Y; Mon, 28 Jul 2003 12:01:33 -0400
Received: from tortoise.toronto.redhat.com (tortoise.toronto.redhat.com
	[172.16.14.92]) by touchme.toronto.redhat.com (Postfix) with ESMTP
	id DDC8180001E; Mon, 28 Jul 2003 12:01:31 -0400 (EDT)
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: Brian Jones <cbj@gnu.org>
In-Reply-To: <m3u196ztvk.fsf@lyta.haphazard.org>
References: <m3u196ztvk.fsf@lyta.haphazard.org>
Content-Type: text/plain
Message-Id: <1059408091.28630.109.camel@tortoise.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 28 Jul 2003 12:01:31 -0400
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>, java@gcc.gnu.org
Subject: Re: gtk peers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jul 2003 16:24:05 -0000

On Mon, 2003-07-28 at 09:02, Brian Jones wrote:
> All,
> 
> I know some folks are working on the gtk peers.  I think we'd like to
> make the code enabled with --enable-portable-native-sync the default
> if possible.  Any problems with doing this?  
> This build option may
> only exist in classpath, not sure about gcj.
> 

The build option is not in libgcj, but the ifdef'd code is.  libgcj
currently uses the ifdef branch that you want to remove, where
portable-native-sync is disabled.

I just tested the libgcj peers with the enable-portable-native-sync
ifdef branch, and I get thread initialization errors:

GThread-ERROR **: The supplied thread function vector is invalid.
aborting...
Aborted

I need to look at threading anyway for gcjwebplugin, so I'll try to
solve that problem.  For now though, we need to leave the ifdef as it
is.

Tom

-- 
Thomas Fitzsimmons <fitzsim@redhat.com>




From MAILER-DAEMON Mon Jul 28 18:53:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hGsE-0003IN-Kf
	for mharc-classpath@gnu.org; Mon, 28 Jul 2003 18:53:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hGsC-0003HO-BH
	for classpath@gnu.org; Mon, 28 Jul 2003 18:53:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hGs9-0003GS-Pw
	for classpath@gnu.org; Mon, 28 Jul 2003 18:53:42 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hGok-0002d6-Ke
	for classpath@gnu.org; Mon, 28 Jul 2003 18:50:10 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6SMhjpM011198; Mon, 28 Jul 2003 18:43:45 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id BEF5BBE6B4; Mon, 28 Jul 2003 18:50:08 -0400 (EDT)
Sender: cbj@haphazard.org
To: Thomas Fitzsimmons <fitzsim@redhat.com>
References: <m3u196ztvk.fsf@lyta.haphazard.org>
	<1059408091.28630.109.camel@tortoise.toronto.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 28 Jul 2003 18:50:08 -0400
In-Reply-To: <1059408091.28630.109.camel@tortoise.toronto.redhat.com>
Message-ID: <m3lluiz2ov.fsf@lyta.haphazard.org>
Lines: 35
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>, java@gcc.gnu.org
Subject: Re: gtk peers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jul 2003 22:53:45 -0000

Thomas Fitzsimmons <fitzsim@redhat.com> writes:

> On Mon, 2003-07-28 at 09:02, Brian Jones wrote:
> > All,
> > 
> > I know some folks are working on the gtk peers.  I think we'd like to
> > make the code enabled with --enable-portable-native-sync the default
> > if possible.  Any problems with doing this?  
> > This build option may
> > only exist in classpath, not sure about gcj.
> > 
> 
> The build option is not in libgcj, but the ifdef'd code is.  libgcj
> currently uses the ifdef branch that you want to remove, where
> portable-native-sync is disabled.
> 
> I just tested the libgcj peers with the enable-portable-native-sync
> ifdef branch, and I get thread initialization errors:
> 
> GThread-ERROR **: The supplied thread function vector is invalid.
> aborting...
> Aborted
> 
> I need to look at threading anyway for gcjwebplugin, so I'll try to
> solve that problem.  For now though, we need to leave the ifdef as it
> is.

Okay.  I think that some folks on the jikesrvm team contributed the
ifdef'd code enabled by the native-sync option.  It was to allow the
peers/awt to work with their JVM and supposedly had benefits of using
the JVM threading mechanism.

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



From MAILER-DAEMON Mon Jul 28 19:13:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hH7q-0002CE-Aw
	for mharc-classpath@gnu.org; Mon, 28 Jul 2003 19:09:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hH5N-0000QP-4h
	for classpath@gnu.org; Mon, 28 Jul 2003 19:07:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hH15-0007YI-7C
	for classpath@gnu.org; Mon, 28 Jul 2003 19:02:56 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19hH02-00070S-5M; Mon, 28 Jul 2003 19:01:50 -0400
Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id RAA17066;
	Mon, 28 Jul 2003 17:01:47 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id A80854F873B; Mon, 28 Jul 2003 16:51:28 -0600 (MDT)
To: Brian Jones <cbj@gnu.org>
References: <m3u196ztvk.fsf@lyta.haphazard.org>
	<1059408091.28630.109.camel@tortoise.toronto.redhat.com>
	<m3lluiz2ov.fsf@lyta.haphazard.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: I have seen these EGG EXTENDERS in my Supermarket..
	..  I have read the INSTRUCTIONS...
Date: 28 Jul 2003 16:51:28 -0600
In-Reply-To: <m3lluiz2ov.fsf@lyta.haphazard.org>
Message-ID: <87brve5kpb.fsf@fleche.redhat.com>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>, java@gcc.gnu.org
Subject: Re: gtk peers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jul 2003 23:09:52 -0000

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

Brian> Okay.  I think that some folks on the jikesrvm team contributed the
Brian> ifdef'd code enabled by the native-sync option.  It was to allow the
Brian> peers/awt to work with their JVM and supposedly had benefits of using
Brian> the JVM threading mechanism.

I talked with Tom a bit on irc.  I think if we fix whatever bugs there
are in this code, it makes sense to go this route.  Relying on the JNI
primitives seems like a definite plus to me.

Tom



From MAILER-DAEMON Mon Jul 28 22:51:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hKZr-0004Ip-3I
	for mharc-classpath@gnu.org; Mon, 28 Jul 2003 22:51:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hKZk-0003y8-VC
	for classpath@gnu.org; Mon, 28 Jul 2003 22:50:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hKZE-0003dE-Nb
	for classpath@gnu.org; Mon, 28 Jul 2003 22:50:28 -0400
Received: from power.connexus.net.au ([203.12.22.20])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hKZ2-0002s2-77
	for classpath@gnu.org; Mon, 28 Jul 2003 22:50:12 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id h6T2e57e024334;
	Tue, 29 Jul 2003 12:40:07 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Jeroen Frijters" <jeroen@sumatra.nl>, <classpath@gnu.org>
Date: Tue, 29 Jul 2003 12:43:52 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCAEBNDFAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC4511@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: 
Subject: RE: Thread/VMThread proposal
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 02:51:01 -0000

> Thanks for taking the time to comment!

No problem.

> > - You may need more lifecycle management in VMThread. For
> > example, a thread that has stop() called on it before it is
started is
> > "stillborn".
>
> The docs do say that, but my tests suggest that Sun just
> ignores stop() when called on an unstarted thread.

The JDK has always been buggy with regard to stop() and once they
deprecated it no effort was made to fix things. I recommend following
the spec - let the JDK be the only buggy implementation out there.

> > - VMThread.join() should be implemented using wait/notify ...
>
> IMHO, this is too heavyweight for the default VMThread. I
> expect most VMs to supply their own version of VMThread which has a
better
> implementation of join (based on some native join-like mechanism).

Heavyweight? There's an irony there given that some VM's implement
Thread.sleep by doing a timed wait() on a private object :) (helps to
isolate the interrupt mechanics).

I think wait/notifyAll is the simplest, most obvious and correctly
portable implementation for this. Doing a polling loop is generally
poor form and a sleep of 1 may not even sleep at all if the platform
uses a clock resolution greater than that. As for "native join-like
mechanisms" they would have to use events in win32 or mutex+condVar in
POSIX as only one thread can join another in pthreads. I'd go for a
default mechanism that is simple and guaranteed correct.

> > - having VMThread.currentThread create a Thread if the current
> > VMThread is "unbound" seems inappropriate. > Thread.
>
> Unfortunately, I think this is required, because native
> threads can call into Java code.

In JNI a thread must attach itself to the JVM before it can make any
calls. This is when a Java Thread is constructed for that native
thread. Other native mechanisms may differ of course. Either way it
seems this is far too implementation specific to make it the default.

> > - in general you need more synchronization to ensure atomicity of
> > actions, and in particular to ensure a thread does not terminate
> > whilst a method is being invoked upon it. Sequences such as:
> >    VMThread t = this.vmThread;
> >    if (t != null) t.XXX();
> > can still throw NullPointerException if the thread
> terminates between
> > the null check and the invocation.
>
> No they can't. t is either null or it isn't, it doesn't change.

Duh! Sorry about that.

> Note that I do assume that the native methods do the right
> thing, in case the thread has already terminated.

Right. It's a slightly simpler model, in my view, to ensure this can't
happen, but that's your call.

> > The simplest solution to make the
> > vast majority of Thread methods synchronized
>
> I went through the code again and looked at the memory
> model issues.

You should make Thread.getPriority synchronized so that it is atomic
with respect to Thread.setPriority. That avoids the problem of seeing
a Thread.priority value that hasn't yet been transmitted to the
VMThread.

Some of your other changes look a bit "too clever" eg:

static VMThread create(Thread thread, long stacksize)
    {
	VMThread vmThread = new VMThread(thread, stacksize);
	// memory barrier, to make sure VMThread is fully inialized before it
	// is seen from another thread
	synchronized(thread) {}
	synchronized(thread) {}
	return vmThread;
    }

The synchronization belongs at the point where a shared reference is
published. In the case of Thread.start() it suffices that the return
value from create is assigned to the volatile vmThread variable. That
has all the right semantics under the currently proposed memory model
and no current VM is likely to do this wrong.

If the Thread reference being passed in was for an object created in
another thread and was obtained without synchronization, then no local
synchronization in create will force the necessary "flush" from the
creating thread. But given that all fields of Thread are either
volatile or accessed under synchronization, this should not be an
issue either.

The native starting mechanism will ensure that the new thread can see
everything at the Java level.

Similarly in VMTHread.currentThread, all will be well if
VMThread.thread is volatile. Though I'm unclear how the Thread
reference for the newly constructed Thread would be obtained by
another thread. The only mechanism would be via the Threadgroup and
there must be synchronization used in both the addThread and enumerate
methods to deal with that anyway.

The use of two synchronized blocks is redundant from a memory barrier
perspective as far as I am aware.

We can discuss this offline.

Cheers,
David Holmes




From MAILER-DAEMON Tue Jul 29 09:50:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hUpi-0003Zm-Rg
	for mharc-classpath@gnu.org; Tue, 29 Jul 2003 09:48:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hUoJ-0002er-Cu
	for classpath@gnu.org; Tue, 29 Jul 2003 09:46:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hUnp-0002Zy-J1
	for classpath@gnu.org; Tue, 29 Jul 2003 09:46:13 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hUn9-0002OM-Ly
	for classpath@gnu.org; Tue, 29 Jul 2003 09:45:27 -0400
Received: from [192.168.1.33] (196.45.dyn-adsl.customer.ch.easynet.net
	[217.8.196.45])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP id 1A04964671
	for <classpath@gnu.org>; Tue, 29 Jul 2003 15:45:11 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Tue, 29 Jul 2003 15:45:10 +0200
Message-Id: <20030729134510.6779@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: gnu.java.awt.font
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 13:48:04 -0000

Hi all,

I've put a new snapshot of a prospective gnu.java.awt.font package at the
following address:

  http://www.dandelis.ch/development/fonts/#Implementation

There also now is an interactive test program, and the page has some
screen shots which show that the quality is surprisingly good with anti-
aliased rendering, even though no hinting is done.

I currently do not want to spend much additional time on
gnu.java.awt.font, because the current state, after about a month of
work, is enough for the needs of my project. If anyone else would like to
enhance the library, please contact me (or the mailing list).

Also, people might be interested to know that the design is such that it
would be possible to plug in other font scalers, such as one that uses
FreeType2. If you'd like to work on such a module, please contact me (or
the mailing list) as well.

-- Sascha

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





From MAILER-DAEMON Tue Jul 29 10:49:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hVhO-000186-9q
	for mharc-classpath@gnu.org; Tue, 29 Jul 2003 10:43:34 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hVgc-0000XQ-SQ
	for classpath@gnu.org; Tue, 29 Jul 2003 10:42:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hVgT-0000Ts-T6
	for classpath@gnu.org; Tue, 29 Jul 2003 10:42:38 -0400
Received: from e6.ny.us.ibm.com ([32.97.182.106])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hVgS-0000Sm-4m
	for classpath@gnu.org; Tue, 29 Jul 2003 10:42:36 -0400
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com
	[9.56.224.206])
	by e6.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h6TEgYkh140356
	for <classpath@gnu.org>; Tue, 29 Jul 2003 10:42:34 -0400
Received: from d01mlc04.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay04.pok.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id
	h6TEgWhB056850
	for <classpath@gnu.org>; Tue, 29 Jul 2003 10:42:33 -0400
To: classpath@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: David P Grove <groved@us.ibm.com>
Message-ID: <OF51CB1118.9E7C543C-ON85256D72.004FC7A4-85256D72.0050C351@us.ibm.com>
Date: Tue, 29 Jul 2003 10:42:26 -0400
X-MIMETrack: Serialize by Router on D01MLC04/01/M/IBM(Release 6.0.2CF1 SPRs
	CGOH5MSQFA, JHEG5MYSFA, MIAS5M9K9M
	JBON5L8FGD|June 13, 2003) at 07/29/2003 10:42:33,
	Serialize complete at 07/29/2003 10:42:33
Content-Type: multipart/alternative;
	boundary="=_alternative 0050C11085256D72_="
Subject: bug fix for java.io.InputReaderStream.close and
 java.util.zip.InflaterInputStream.close
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 14:43:31 -0000

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

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

Since preparations for classpath 0.06 are underway, I'm increasing the 
scope of the nightly regression tests we run on Jikes RVM with the 
classpath cvs head.  This bug surfaced on two of our test cases: running 
Eclipse (and creating a class in a Java project) and running XSLTmark 
(driver for testing the performance of xalan). 

thanks,

--dave

Index: java/io/InputStreamReader.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/InputStreamReader.java,v
retrieving revision 1.12
diff -u -r1.12 InputStreamReader.java
--- java/io/InputStreamReader.java               11 Jun 2003 17:21:27 
-0000            1.12
+++ java/io/InputStreamReader.java               29 Jul 2003 14:39:18 
-0000
@@ -137,8 +137,12 @@
    */
   public void close() throws IOException
   {
-    in.close();
-    in = null;
+    synchronized (lock)
+      {
+                if (in != null)
+                  in.close();
+                in = null;
+      }
   }
 
   /**
Index: java/util/zip/InflaterInputStream.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/java/util/zip/InflaterInputStream.java,v
retrieving revision 1.8
diff -u -r1.8 InflaterInputStream.java
--- java/util/zip/InflaterInputStream.java               18 Jul 2003 
12:26:38 -0000           1.8
+++ java/util/zip/InflaterInputStream.java               29 Jul 2003 
14:39:18 -0000
@@ -135,8 +135,12 @@
    */
   public void close() throws IOException
   {
-    in.close();
-    in = null;
+    synchronized (this)
+      {
+                if (in != null)
+                  in.close();
+                in = null;
+      }
   }
 
   /**
--=_alternative 0050C11085256D72_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Appended is a patch to avoid a NullPointerException
if close is called multiple times. &nbsp;This matches the logic that is
already in java.io.BufferedReader. &nbsp; Could someone please apply it?</font>
<br>
<br><font size=2 face="sans-serif">Since preparations for classpath 0.06
are underway, I'm increasing the scope of the nightly regression tests
we run on Jikes RVM with the classpath cvs head. &nbsp;This bug surfaced
on two of our test cases: running Eclipse (and creating a class in a Java
project) and running XSLTmark (driver for testing the performance of xalan).
</font>
<br>
<br><font size=2 face="sans-serif">thanks,</font>
<br>
<br><font size=2 face="sans-serif">--dave</font>
<br>
<br><font size=2><tt>Index: java/io/InputStreamReader.java<br>
===================================================================<br>
RCS file: /cvsroot/classpath/classpath/java/io/InputStreamReader.java,v<br>
retrieving revision 1.12<br>
diff -u -r1.12 InputStreamReader.java<br>
--- java/io/InputStreamReader.java &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; 11 Jun 2003 17:21:27 -0000 &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.12<br>
+++ java/io/InputStreamReader.java &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; 29 Jul 2003 14:39:18 -0000<br>
@@ -137,8 +137,12 @@<br>
 &nbsp; &nbsp;*/<br>
 &nbsp; public void close() throws IOException<br>
 &nbsp; {<br>
- &nbsp; &nbsp;in.close();<br>
- &nbsp; &nbsp;in = null;<br>
+ &nbsp; &nbsp;synchronized (lock)<br>
+ &nbsp; &nbsp; &nbsp;{<br>
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
if (in != null)<br>
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; in.close();<br>
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
in = null;<br>
+ &nbsp; &nbsp; &nbsp;}<br>
 &nbsp; }<br>
 <br>
 &nbsp; /**<br>
Index: java/util/zip/InflaterInputStream.java<br>
===================================================================<br>
RCS file: /cvsroot/classpath/classpath/java/util/zip/InflaterInputStream.java,v<br>
retrieving revision 1.8<br>
diff -u -r1.8 InflaterInputStream.java<br>
--- java/util/zip/InflaterInputStream.java &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; 18 Jul 2003 12:26:38 -0000 &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.8<br>
+++ java/util/zip/InflaterInputStream.java &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; 29 Jul 2003 14:39:18 -0000<br>
@@ -135,8 +135,12 @@<br>
 &nbsp; &nbsp;*/<br>
 &nbsp; public void close() throws IOException<br>
 &nbsp; {<br>
- &nbsp; &nbsp;in.close();<br>
- &nbsp; &nbsp;in = null;<br>
+ &nbsp; &nbsp;synchronized (this)<br>
+ &nbsp; &nbsp; &nbsp;{<br>
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
if (in != null)<br>
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; in.close();<br>
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
in = null;<br>
+ &nbsp; &nbsp; &nbsp;}<br>
 &nbsp; }<br>
 <br>
 &nbsp; /**</tt></font>
--=_alternative 0050C11085256D72_=--



From MAILER-DAEMON Tue Jul 29 12:05:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hWqf-0000Oh-Dn
	for mharc-classpath@gnu.org; Tue, 29 Jul 2003 11:57:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hWqV-0000HE-1A
	for classpath@gnu.org; Tue, 29 Jul 2003 11:57:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hWmq-0007bB-4s
	for classpath@gnu.org; Tue, 29 Jul 2003 11:53:16 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hWmQ-0007Z7-Cm
	for classpath@gnu.org; Tue, 29 Jul 2003 11:52:50 -0400
Received: from [192.168.1.33] (196.45.dyn-adsl.customer.ch.easynet.net
	[217.8.196.45])
	by smtp1.mail.ch.easynet.net (Postfix) with ESMTP id 292EA4A0E2
	for <classpath@gnu.org>; Tue, 29 Jul 2003 17:52:43 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Tue, 29 Jul 2003 17:52:41 +0200
Message-Id: <20030729155241.27552@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Avoiding locks
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 15:57:11 -0000

Hi all,

vaguely related to the current thread about "Thread/VMThread proposal" on
the Classpath discussion list, I would like to ask whether the following
pattern is correct with respect to the Java memory model.  I believe so,
but I would like to be sure.


// foo is initially null; only set by the first invocation of getFoo()
private volatile Object foo;

public Object getFoo()
{
  Object result = foo;

  if (result != null)
  {
    // Fast path, taken after the first invocation of getFoo().
    return result;
  }

  // Slow path, only used for the first invocation of getFoo().
  // However, several threads may simultaneously reach this point.
  synchronized (lock)
  {
    // If threads are competing for the lock, the winner of the
    // race will see (foo == null), and the losers (foo != null). The
    // losers just return the foo which was created by the winner.
    if (foo == null)
      foo = createFoo(); // foo is never set anywhere else
    return foo;
  }
}


The point of this is to avoid monitorenter/monitorexit after the first
invocation of getFoo().  It certainly makes the code hard to read, so I
would use this only at very carefully selected places (in gnu.java.awt.font).

Thanks for the clarification,

-- Sascha

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





From MAILER-DAEMON Tue Jul 29 14:11:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hYwJ-0000k3-Fb
	for mharc-classpath@gnu.org; Tue, 29 Jul 2003 14:11:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hYvm-0007xQ-ER
	for classpath@gnu.org; Tue, 29 Jul 2003 14:10:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hYvc-0007qM-Bz
	for classpath@gnu.org; Tue, 29 Jul 2003 14:10:29 -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 19hYvM-0007fS-Pp
	for classpath@gnu.org; Tue, 29 Jul 2003 14:10:12 -0400
Received: from localhost (jsturm@localhost)
	by ops2.one-point.com (8.11.6/8.11.6) with ESMTP id h6TIABU17396;
	Tue, 29 Jul 2003 14:10:11 -0400
Date: Tue, 29 Jul 2003 14:10:11 -0400 (EDT)
From: Jeff Sturm <jsturm@one-point.com>
To: Sascha Brawer <brawer@dandelis.ch>
In-Reply-To: <20030729155241.27552@smtp.mail.ch.easynet.net>
Message-ID: <Pine.LNX.4.44.0307291400061.15952-100000@ops2.one-point.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Avoiding locks
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 18:11:10 -0000

On Tue, 29 Jul 2003, Sascha Brawer wrote:
> vaguely related to the current thread about "Thread/VMThread proposal" on
> the Classpath discussion list, I would like to ask whether the following
> pattern is correct with respect to the Java memory model.  I believe so,
> but I would like to be sure.

This is an example of the double-checking idiom.

http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html

It is known to be broken with respect to the Java memory model.  (In
practice the failure is unlikely to manifest except on certain
multiprocessors.)

As I understand it, if the proposal in JSR 133 is adopted, it will be
sufficient to declare the result field "volatile" for conforming VMs.

Jeff




From MAILER-DAEMON Tue Jul 29 14:37:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hZHS-0004VW-Ky
	for mharc-classpath@gnu.org; Tue, 29 Jul 2003 14:33:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hZGH-00026i-C1
	for classpath@gnu.org; Tue, 29 Jul 2003 14:31:49 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hZG8-0001re-Rr
	for classpath@gnu.org; Tue, 29 Jul 2003 14:31:41 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hZBb-0007FH-G3
	for classpath@gnu.org; Tue, 29 Jul 2003 14:26:59 -0400
Received: from [192.168.1.33] (196.45.dyn-adsl.customer.ch.easynet.net
	[217.8.196.45]) by smtp1.mail.ch.easynet.net (Postfix) with ESMTP
	id 0B3A649F9A; Tue, 29 Jul 2003 20:26:58 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: Jeff Sturm <jsturm@one-point.com>
Date: Tue, 29 Jul 2003 20:26:58 +0200
Message-Id: <20030729182658.15726@smtp.mail.ch.easynet.net>
In-Reply-To: <Pine.LNX.4.44.0307291400061.15952-100000@ops2.one-point.com>
References: <Pine.LNX.4.44.0307291400061.15952-100000@ops2.one-point.com>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Avoiding locks
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 18:33:01 -0000

Jeff Sturm <jsturm@one-point.com> wrote on Tue, 29 Jul 2003 14:10:11 -0400:

>http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html

Thanks for the great reference.

-- Sascha

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





From MAILER-DAEMON Tue Jul 29 14:42:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hZPq-0007Tv-SQ
	for mharc-classpath@gnu.org; Tue, 29 Jul 2003 14:41:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hZJN-0004nC-Jc
	for classpath@gnu.org; Tue, 29 Jul 2003 14:35:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hZHJ-00044W-SO
	for classpath@gnu.org; Tue, 29 Jul 2003 14:32:54 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hZHA-0003iJ-Km
	for classpath@gnu.org; Tue, 29 Jul 2003 14:32:45 -0400
Received: from [192.168.1.33] (196.45.dyn-adsl.customer.ch.easynet.net
	[217.8.196.45])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP id CF38064653
	for <classpath@gnu.org>; Tue, 29 Jul 2003 20:32:39 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Tue, 29 Jul 2003 20:32:40 +0200
Message-Id: <20030729183240.26529@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: BoF: Graphics in GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 18:41:41 -0000

Hi all,

during our meeting in Karlsruhe, some of you said that they will come to=

LinuxKongress, which will take place from October 14-16 in Saarbr=FCcken=
/
Germany.

In previous years, there apparently was an opportunity for so-called
Birds-of-a-Feather (BoF) Sessions. In my understanding, this is basicall=
y
a fancy name for "meeting."

So, I think it would be good to have a discussion/BoF about graphics in
GNU Classpath.  If others are interested as well, I will submit the
following announcement to LinuxKongress.  If you have any comments or
suggestions, please comment :-)

Best regards,

-- Sascha

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



=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
BoF: Graphics in GNU Classpath
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D

Background
----------

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

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

It would be very desirable for GNU Classpath to support the Java2D(TM)
API. However, the current state of graphics support in GNU Classpath is
extremely limited.


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

- To discuss whether the goal is realistic at all.

- To determine which parts are most urgently needed, and which parts are=

less important.

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

X11, local X11, IKVM.NET, Jaos/Oberon, embedded devices with
framebuffers, or pure Java operating systems. Ideally, it would be
possible to find a clean way to structure the code so that most parts ar=
e
shared.


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

- People who know about X11, XRender, OpenGL(TM) or some other graphics =
API
- People who are familiar with the Java2D(TM) APIs
- Implementors of virtual machines
- Contributors to GNU Classpath

Of course, everyone is welcome!


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

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

important.

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

- The X Rendering Extension
  http://keithp.com/~keithp/render/protocol.html

- X11 Manual pages
  http://www.xfree86.org/4.2.0/manindex3.html

- OpenGL(TM) Overviews
  http://www.opengl.org/developers/documentation/overviews.html

- OpenGL(TM) Specification
  http://www.opengl.org/developers/documentation/version1=5F4/glspec14.p=
df





From MAILER-DAEMON Tue Jul 29 19:23:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hdfF-0005Ib-Ka
	for mharc-classpath@gnu.org; Tue, 29 Jul 2003 19:13:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hdf5-000559-7a
	for classpath@gnu.org; Tue, 29 Jul 2003 19:13:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hdew-0004sk-AO
	for classpath@gnu.org; Tue, 29 Jul 2003 19:13:35 -0400
Received: from power.connexus.net.au ([203.12.22.20])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hdcJ-0002u8-Cb
	for classpath@gnu.org; Tue, 29 Jul 2003 19:10:51 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id h6TN3e7e047358
	for <classpath@gnu.org>; Wed, 30 Jul 2003 09:03:41 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Wed, 30 Jul 2003 09:07:41 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMECNDFAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-reply-to: <Pine.LNX.4.44.0307291400061.15952-100000@ops2.one-point.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Subject: RE: Avoiding locks
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 23:13:52 -0000

> As I understand it, if the proposal in JSR 133 is adopted,
> it will be sufficient to declare the result field "volatile" for
> conforming VMs.

No the result "field" is just a local variable - declaring it volatile
won't do anything. Sascha's code correctly defined foo as volatile.
There is actually no need for the use of the local "result" at all:

private volatile Object foo;

public Object getFoo() {

  if (foo != null) {
    // Fast path, taken after the first invocation of getFoo().
    return foo;
  }

  // Slow path, only used for the first invocation of getFoo().
  // However, several threads may simultaneously reach this point.
  synchronized (lock) {
    // recheck foo to see if we got here first
    if (foo == null)
      foo = createFoo(); // foo is never set anywhere else
    return foo;
  }
}

If you want to "avoid locks" correctly with respect to the memory
model, then all shared objects must be accessed via references
declared as either final or volatile. (or use the new atomic
instructions coming in JSR-166 :) )

David Holmes




From MAILER-DAEMON Tue Jul 29 19:23:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hdmr-0007Qg-Bu
	for mharc-classpath@gnu.org; Tue, 29 Jul 2003 19:21:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hdmW-00070u-DX
	for classpath@gnu.org; Tue, 29 Jul 2003 19:21:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hdi5-0005iE-Fd
	for classpath@gnu.org; Tue, 29 Jul 2003 19:16:51 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hdfC-0005Db-PW
	for classpath@gnu.org; Tue, 29 Jul 2003 19:13:50 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6TN7HpM021012; Tue, 29 Jul 2003 19:07:21 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 9C860BE6B4; Tue, 29 Jul 2003 19:13:42 -0400 (EDT)
Sender: cbj@haphazard.org
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <788B535AB1F9CB49BB9C229372B50ACC4511@LEMBU.sumatrasoftware.com>
From: Brian Jones <cbj@gnu.org>
Date: 29 Jul 2003 19:13:42 -0400
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC4511@LEMBU.sumatrasoftware.com>
Message-ID: <m3znixx6xl.fsf@lyta.haphazard.org>
Lines: 30
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: Thread/VMThread proposal
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 23:21:44 -0000

Jeroen Frijters <jeroen@sumatra.nl> writes:

> > - You may need more lifecycle management in VMThread. For example, a
> > thread that has stop() called on it before it is started is
> > "stillborn".
> 
> The docs do say that, but my tests suggest that Sun just ignores stop()
> when called on an unstarted thread. Should we implement what the docs
> say, or emulate the Sun implementation? In most cases (including this
> one), my preference is to do what Sun does.

You may wish to check that a "stillborn" thread has a null thread
group after stop() has been called.  I did confirm already that
threads that run and are stopped are seen to have a null thread group.

> > - VMThread.join() should be implemented using wait/notify not using a
> > polling loop with sleep. Your VMThread.run would then do the notifyAll
> > upon termination.
> 
> IMHO, this is too heavyweight for the default VMThread. I expect most
> VMs to supply their own version of VMThread which has a better
> implementation of join (based on some native join-like mechanism). I
> agree the default is lame, but I don't think putting time into improving
> it is worthwhile if no-one is going to use it. Of course, by this
> argument it should probably be taken out entirely and made native.

I think you can avoid polling/sleep.

-- 
Brian Jones <cbj@gnu.org>



From MAILER-DAEMON Tue Jul 29 19:51:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19he9h-0003IT-5L
	for mharc-classpath@gnu.org; Tue, 29 Jul 2003 19:45:21 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19he8x-00024p-EK
	for classpath@gnu.org; Tue, 29 Jul 2003 19:44:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19he8m-0001vk-Oz
	for classpath@gnu.org; Tue, 29 Jul 2003 19:44:27 -0400
Received: from power.connexus.net.au ([203.12.22.20])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19he8Y-0001tW-PM; Tue, 29 Jul 2003 19:44:11 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id h6TNSZ7e067806;
	Wed, 30 Jul 2003 09:28:35 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Brian Jones" <cbj@gnu.org>
Date: Wed, 30 Jul 2003 09:32:35 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCCECPDFAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-reply-to: <m3znixx6xl.fsf@lyta.haphazard.org>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: classpath <classpath@gnu.org>
Subject: RE: Thread/VMThread proposal
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 23:45:19 -0000

> You may wish to check that a "stillborn" thread has a null thread
> group after stop() has been called.  I did confirm already that
> threads that run and are stopped are seen to have a null
> thread group.

A thread is removed from its threadgroup only when the thread
terminates. If stop() is invoked and the ThreadDeath exception is
caught and ignored then the thread remains alive and is still in its
thread group. Any behaviour otherwise is a bug.

David Holmes




From MAILER-DAEMON Wed Jul 30 00:12:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hiKL-0002zx-Cp
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 00:12:37 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hiKI-0002rF-PD
	for classpath@gnu.org; Wed, 30 Jul 2003 00:12:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hiKH-0002r1-E5
	for classpath@gnu.org; Wed, 30 Jul 2003 00:12:33 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hiKH-0002qv-0K
	for classpath@gnu.org; Wed, 30 Jul 2003 00:12:33 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6U462pM026478; Wed, 30 Jul 2003 00:06:03 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 29948BE6B4; Wed, 30 Jul 2003 00:12:28 -0400 (EDT)
Sender: cbj@haphazard.org
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCCECPDFAA.dholmes@dltech.com.au>
From: Brian Jones <cbj@gnu.org>
Date: 30 Jul 2003 00:12:28 -0400
In-Reply-To: <NFBBKALFDCPFIDBNKAPCCECPDFAA.dholmes@dltech.com.au>
Message-ID: <m3u194y7o3.fsf@lyta.haphazard.org>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath <classpath@gnu.org>
Subject: Re: Thread/VMThread proposal
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 04:12:35 -0000

David Holmes <dholmes@dltech.com.au> writes:

> > You may wish to check that a "stillborn" thread has a null thread
> > group after stop() has been called.  I did confirm already that
> > threads that run and are stopped are seen to have a null
> > thread group.
> 
> A thread is removed from its threadgroup only when the thread
> terminates. If stop() is invoked and the ThreadDeath exception is
> caught and ignored then the thread remains alive and is still in its
> thread group. Any behaviour otherwise is a bug.

This was in the normal termination case, didn't check ignored
ThreadDeath.

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



From MAILER-DAEMON Wed Jul 30 03:32:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hlRl-0001xB-0j
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 03:32:29 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hlRc-0001qM-67
	for classpath@gnu.org; Wed, 30 Jul 2003 03:32:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hlRa-0001od-Ly
	for classpath@gnu.org; Wed, 30 Jul 2003 03:32:19 -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 19hlQm-00014g-W2; Wed, 30 Jul 2003 03:31:29 -0400
Date: Wed, 30 Jul 2003 09:31:20 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC4519@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
Content-class: urn:content-classes:message
X-MS-TNEF-Correlator: 
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Thread-Topic: Thread/VMThread proposal
Thread-Index: AcNWJxS4Fq0tKnRyQwenh1A39OmNMAARLQVg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Brian Jones" <cbj@gnu.org>
Cc: classpath@gnu.org
Subject: RE: Thread/VMThread proposal
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 07:32:26 -0000

Brian Jones wrote:
> You may wish to check that a "stillborn" thread has a null thread
> group after stop() has been called.  I did confirm already that
> threads that run and are stopped are seen to have a null thread group.

The Sun JDK ignores stop() when called on an unstarted thread (and the
group is not set to null), but this behavior is incorrect. It appears
that the only way to remove a thread from its group is to actually start
it and wait for it to die (which it is supposed to do immediately when
stop() was previously called).

[join]
> I think you can avoid polling/sleep.

Yes, I wasn't quite awake yet. I changed it to a wait/notifyAll solution
that is simple and elegant.

Regards,
Jeroen



From MAILER-DAEMON Wed Jul 30 04:50:37 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hmfN-0003x0-DN
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 04:50:37 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hmfL-0003ws-3t
	for classpath@gnu.org; Wed, 30 Jul 2003 04:50:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hmfI-0003wf-S9
	for classpath@gnu.org; Wed, 30 Jul 2003 04:50:33 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hmfI-0003wF-Av
	for classpath@gnu.org; Wed, 30 Jul 2003 04:50:32 -0400
Received: from [192.168.1.33] (unknown [217.8.220.58])
	by smtp1.mail.ch.easynet.net (Postfix) with ESMTP
	id 57A774A020; Wed, 30 Jul 2003 10:50:28 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: Keith Packard <keithp@keithp.com>
Date: Wed, 30 Jul 2003 10:50:27 +0200
Message-Id: <20030730085027.31696@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: GNU Classpath <classpath@gnu.org>
Subject: X Rendering and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 08:50:35 -0000

Hello Keith

The GNU Classpath project [1] provides a non-proprietary implementation
of the core libraries of the Java platform. It gets used by a number of
free and commercial projects for Java virtual machines. Some of its
developers are currently thinking about graphics.

As you might know, the Java2D API [2] is very much oriented at the PDF
1.4 drawing model. Implementing it via the X Rendering Extension thus
seems like a good choice. Therefore, I hope that you don't mind if I tak=
e
the liberty to ask you a few questions.

Polygon rendering: How stable and complete is the XFree86 implementation=

of the Rendering Extension nowadays=3F I think we would very much like t=
o
use polygon rendering, of which you write in your Usenix 2001 paper [3]
that it is "less well understood [than the rest] and currently not
implemented within XFree86."

MIT Shared Memory Extension: My understanding is that compositing should=

work well together with the MIT Shared Memory Extension, i.e. on pixmaps=

that were created by XShmCreatePixmap. Is this correct=3F This would be
very useful for images or gradient paints. The opposite transfer
direction (from server to client) would probably be needed for
accelerated drawing into offscreen images, and for custom Composites [4]=

that are not Porter-Duff AlphaComposites [5].

Race conditions with shared memory: I assume there is a potential race
condition when using shared memory pixmaps for compositing. The client
could re-use a source picture buffer, or access the destination, before
the server has finished compositing. How to avoid this=3F Is it somehow
possible to cause XRender to send completion events, like XShmPutImage=3F=

Or would the XSync call do the trick=3F (Sorry if this is a dumb questio=
n,
but I could not find anything on this in [6]).

Client-side implementation: Do you know about code which could be used
for a client-side implementation of the Rendering Extension=3F We'd need=

this not only for X11 servers that do not support the Rendering
Extension, but also for target platforms that do not have X11 at all. 
>From a first glance, Xr does not seem to be at the right level of
granularity. To give just one example, Java programmers can easily write=

their own Strokes, and I've already mentioned custom composites.

OpenGL: I've heard from some users that their target platform has OpenGL=
,
but not X. My understanding (which is rather superficial, unfortunately)=

is that it should be relatively straigtforward to implement the drawing
model of the Rendering Extension on top of OpenGL. Is this correct=3F No=
t
that I personally would have any plans for implementing this, but it
would be good if I could tell these users how to proceed. OpenGL might
also be a viable path for those users who wish to use GNU Classpath on
Windows, or maybe also on X servers without the rendering extension.

General: In case you are familiar with Java2D, do you see any areas wher=
e
its drawing model does not match that of the X Rendering Extension=3F

Meeting: Some developers of GNU Classpath will meet at the LinuxKongress=

in Saarbr=FCcken/Germany in mid of October. If you happen to be around,
you'd certainly be most welcome to join our discussions.

Background literature: What could we read to get more familiar with the =
X
Rendering Extension, besides your Usenix 2001 paper [3] and the protocol=

specification [7]=3F

>From the broadness of my questions, you see that everything is still at
the earliest stage of planning. Also, it should be said that it seems
rather unrealistic to expect that all of Java2D will soon be implemented=

in GNU Classpath. However, I find it important to make sure that we do
not make serious mistakes while planning the work.

Thank you very much for taking the time for answering these questions,
and best regards,

-- Sascha

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

PS: I am sending a copy of this message to the mailing list of GNU
Classpath, so that the other people know that I've contacted you.

[1] http://www.gnu.org/software/classpath/
[2] http://java.sun.com/j2se/1.4.2/docs/guide/2d/spec/j2d-bookTOC.html
[3] http://keithp.com/~keithp/talks/usenix2001/
[4] http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Composite.html
[5] http://java.sun.com/j2se/1.4.2/docs/api/java/awt/AlphaComposite.html=

[6] http://www.x-docs.org/Xext/mit-shm.pdf
[7] http://keithp.com/~keithp/render/protocol.html





From MAILER-DAEMON Wed Jul 30 09:19:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hqpF-0003Us-C1
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 09:17:05 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hqp3-0003Ag-97
	for classpath@gnu.org; Wed, 30 Jul 2003 09:16:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hqoq-0002lG-CQ
	for classpath@gnu.org; Wed, 30 Jul 2003 09:16:41 -0400
Received: from ms-smtp-01.southeast.rr.com ([24.93.67.82])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hqoW-0002KZ-01
	for classpath@gnu.org; Wed, 30 Jul 2003 09:16:20 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01.southeast.rr.com (8.12.5/8.12.2) with ESMTP id
	h6UD9YpM007554; Wed, 30 Jul 2003 09:09:34 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 728B5BE6B4; Wed, 30 Jul 2003 09:16:00 -0400 (EDT)
Sender: cbj@haphazard.org
To: Sascha Brawer <brawer@dandelis.ch>
References: <20030730085027.31696@smtp.mail.ch.easynet.net>
From: Brian Jones <cbj@gnu.org>
Date: 30 Jul 2003 09:16:00 -0400
In-Reply-To: <20030730085027.31696@smtp.mail.ch.easynet.net>
Message-ID: <m3adawp33j.fsf@lyta.haphazard.org>
Lines: 21
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: X Rendering and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 13:17:02 -0000

Sascha Brawer <brawer@dandelis.ch> writes:

> As you might know, the Java2D API [2] is very much oriented at the PDF
> 1.4 drawing model. Implementing it via the X Rendering Extension thus
> seems like a good choice. 
> ...
> OpenGL: I've heard from some users that their target platform has OpenGL,
> but not X. 

Sascha,

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

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



From MAILER-DAEMON Wed Jul 30 09:37:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hr8J-0004wN-AL
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 09:36:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hr83-0004oL-NX
	for classpath@gnu.org; Wed, 30 Jul 2003 09:36:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hr6o-0004I6-4R
	for classpath@gnu.org; Wed, 30 Jul 2003 09:35:14 -0400
Received: from moutng.kundenserver.de ([212.227.126.184])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hr5e-0004Fa-Q6
	for classpath@gnu.org; Wed, 30 Jul 2003 09:34:02 -0400
Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19hr5d-0007LU-00
	for classpath@gnu.org; Wed, 30 Jul 2003 15:34:01 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19hr5d-0004IS-00; Wed, 30 Jul 2003 15:34:01 +0200
Message-ID: <3F27C949.9070801@aicas.com>
Date: Wed, 30 Jul 2003 15:34:01 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 13:36:45 -0000

Dear Classpath-members,

I yust made some changes in java_nio_FileChannelImpl.c: it seemed it was
an old implementation which does not match to the current implementation
of FileChannelImpl.java. I hope this is ok.

Sincerely,

Torsten




From MAILER-DAEMON Wed Jul 30 09:40:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hr8e-0005BG-8n
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 09:37:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hr85-0004pg-A0
	for classpath@gnu.org; Wed, 30 Jul 2003 09:36:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hr3j-0003ye-Rv
	for classpath@gnu.org; Wed, 30 Jul 2003 09:32:04 -0400
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hr3L-0003Jp-Jx
	for classpath@gnu.org; Wed, 30 Jul 2003 09:31:39 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.9/8.12.9) with ESMTP id h6UDVO8x027345;
	Wed, 30 Jul 2003 23:31:25 +1000 (EST)
Message-Id: <200307301331.h6UDVO8x027345@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Torsten Rupp <rupp@lisa.aicas.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 30 Jul 2003 23:31:40 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang)
Cc: GNU Classpath <classpath@gnu.org>
Subject: Changes to java/net/PlainSocketImpl.java
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 13:37:07 -0000


Hi Torsten,

I don't know if you did this deliberately, but your latest change
to java/net/PlainSocketImpl.java to implement the connect(addr,timeout)
method has clobbered an existing implementation checked in a few
hours earlier by Michael Koch on my behalf.

Your implementation ignores the timeout (with a comment to the effect
that this should be implemented in the future)

The implementation that yours overwrote implement connect timeouts by
setting the SO_TIMEOUT socket option before calling the native connect
method.  

I know that my implementation will not work for older Linux kernel that
do not allow you to change socket timeouts. But recent kernels do ... by
to my reading of the kernel source code. And at least the behaviour in
an older kernel will be to use a default timeout ... which is the same
as what your implementation does!

The alternative approach to implementing the connect timeout would
entail setting an interval timer and catching SIGALRM, etc.  I don't
think we should do this in the Classpath native libs because of the
possibility of interfering with other uses of SIGALRM by the JVM.  

Either way, do you intend to implement connect timeouts?

-- Steve




From MAILER-DAEMON Wed Jul 30 10:39:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hs6X-0002kO-In
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 10:39:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hs6T-0002X4-RY
	for classpath@gnu.org; Wed, 30 Jul 2003 10:38:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hs6A-0001YV-Q6
	for classpath@gnu.org; Wed, 30 Jul 2003 10:38:41 -0400
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hs69-0001Nb-2Q
	for classpath@gnu.org; Wed, 30 Jul 2003 10:38:37 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-82-034.ewetel.net
	[80.228.82.34])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id h6UEcXhX022739;
	Wed, 30 Jul 2003 16:38:35 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 19hs65-0002x0-00; Wed, 30 Jul 2003 16:38:33 +0200
From: Michael Koch <konqueror@gmx.de>
To: Stephen Crawley <crawley@dstc.edu.au>, Torsten Rupp <rupp@lisa.aicas.com>
Date: Wed, 30 Jul 2003 16:43:55 +0200
User-Agent: KMail/1.5.2
References: <200307301331.h6UDVO8x027345@piglet.dstc.edu.au>
In-Reply-To: <200307301331.h6UDVO8x027345@piglet.dstc.edu.au>
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: <200307301643.55680.konqueror@gmx.de>
X-CheckCompat: OK
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Changes to java/net/PlainSocketImpl.java
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 14:39:00 -0000

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

Am Mittwoch, 30. Juli 2003 15:31 schrieb Stephen Crawley:
> Hi Torsten,
>
> I don't know if you did this deliberately, but your latest change
> to java/net/PlainSocketImpl.java to implement the
> connect(addr,timeout) method has clobbered an existing
> implementation checked in a few hours earlier by Michael Koch on my
> behalf.
>
> Your implementation ignores the timeout (with a comment to the
> effect that this should be implemented in the future)
>
> The implementation that yours overwrote implement connect timeouts
> by setting the SO_TIMEOUT socket option before calling the native
> connect method.
>
> I know that my implementation will not work for older Linux kernel
> that do not allow you to change socket timeouts. But recent kernels
> do ... by to my reading of the kernel source code. And at least the
> behaviour in an older kernel will be to use a default timeout ...
> which is the same as what your implementation does!
>
> The alternative approach to implementing the connect timeout would
> entail setting an interval timer and catching SIGALRM, etc.  I
> don't think we should do this in the Classpath native libs because
> of the possibility of interfering with other uses of SIGALRM by the
> JVM.
>
> Either way, do you intend to implement connect timeouts?

I reverted Torstens commit. Stephens implementation is better and more=20
complete. I think it was an accidental commit by Torsten.

Torsten: CVS has surely gicen you a merging conflict before commit.=20
Just copying over your working version of the file is __NNOO__=20
solution. Its evil.


Michael
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/J9mrWSOgCCdjSDsRAi+YAJ9yJ6313eG5r7SHqwtYm7MJSPKL7ACeJemH
8bnI2rztsohrjRWKx9JOx04=3D
=3Dtly4
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Wed Jul 30 13:14:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19huQG-00043a-TO
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 13:07:32 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19huQ4-0003te-DY
	for classpath@gnu.org; Wed, 30 Jul 2003 13:07:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19huKb-0001Sq-St
	for classpath@gnu.org; Wed, 30 Jul 2003 13:01:42 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hu97-0006pO-0L
	for classpath@gnu.org; Wed, 30 Jul 2003 12:49:49 -0400
Received: from fleche.redhat.com (te0185.peakpeak.com [204.144.238.185])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id KAA11041;
	Wed, 30 Jul 2003 10:49:47 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 18B934F8722; Wed, 30 Jul 2003 10:39:22 -0600 (MDT)
To: Classpath Discussion Mailing List <classpath@gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: You were s'posed to laugh!
Date: 30 Jul 2003 10:39:22 -0600
Message-ID: <8765lkt1dx.fsf@fleche.redhat.com>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: include/*.h
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 17:07:30 -0000

I've rebuilt all the include/*.h files with a newer gcjh.
This one includes JNICALL and JNIEXPORT in the output.

I've also cleaned up the FileChannelImpl thing a bit by giving the
header the correct name.  Note that editing these files is usually a
bad idea -- the one that was in the repository had the wrong header
guards, which conflicted with a different file.  Oops.

Tom



From MAILER-DAEMON Wed Jul 30 13:24:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hugF-0008MR-MQ
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 13:24:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hug2-0007yy-T9
	for classpath@gnu.org; Wed, 30 Jul 2003 13:23:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hufv-0007eW-Gd
	for classpath@gnu.org; Wed, 30 Jul 2003 13:23:45 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hufq-0007MX-PZ
	for classpath@gnu.org; Wed, 30 Jul 2003 13:23:38 -0400
Received: from fleche.redhat.com (te0185.peakpeak.com [204.144.238.185])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id LAA20435;
	Wed, 30 Jul 2003 11:23:34 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 10BE44F8722; Wed, 30 Jul 2003 11:13:07 -0600 (MDT)
To: Sascha Brawer <brawer@dandelis.ch>
References: <20030730085027.31696@smtp.mail.ch.easynet.net>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Is this an out-take from the ``BRADY BUNCH''?
Date: 30 Jul 2003 11:13:07 -0600
In-Reply-To: <20030730085027.31696@smtp.mail.ch.easynet.net>
Message-ID: <87wue0rl98.fsf@fleche.redhat.com>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Keith Packard <keithp@keithp.com>, GNU Classpath <classpath@gnu.org>,
	Graydon Hoare <graydon@redhat.com>
Subject: Re: X Rendering and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 17:24:02 -0000

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

Sascha> As you might know, the Java2D API [2] is very much oriented at
Sascha> the PDF 1.4 drawing model. Implementing it via the X Rendering
Sascha> Extension thus seems like a good choice.

FYI, Graydon Hoare (CCd) has been working on this very thing recently.
I don't know if Graydon follows this list, but maybe he can comment on
what he's been up to.

Tom



From MAILER-DAEMON Wed Jul 30 15:59:35 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hx4v-0008TH-Rs
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 15:57:41 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hvn7-000886-FF
	for classpath@gnu.org; Wed, 30 Jul 2003 14:35:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hvn0-0007z1-JU
	for classpath@gnu.org; Wed, 30 Jul 2003 14:35:07 -0400
Received: from pix-525-pool.redhat.com ([66.187.233.200]
	helo=lacrosse.corp.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hvmz-0007ZJ-64
	for classpath@gnu.org; Wed, 30 Jul 2003 14:35:05 -0400
Received: from dub.venge.net (sebastian-int.corp.redhat.com [172.16.52.221])
	by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id h6UIYsK18065; 
	Wed, 30 Jul 2003 14:34:55 -0400
Sender: graydon@dub.venge.net
To: tromey@redhat.com
References: <20030730085027.31696@smtp.mail.ch.easynet.net>
	<87wue0rl98.fsf@fleche.redhat.com>
From: graydon hoare <graydon@redhat.com>
Date: 30 Jul 2003 14:34:55 -0400
In-Reply-To: <87wue0rl98.fsf@fleche.redhat.com>
Message-ID: <87znivuals.fsf@dub.venge.net>
Lines: 65
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailman-Approved-At: Wed, 30 Jul 2003 15:57:39 -0400
Cc: GNU Classpath <classpath@gnu.org>, Keith Packard <keithp@keithp.com>,
	Sascha Brawer <brawer@dandelis.ch>
Subject: Re: X Rendering and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 18:35:26 -0000

Tom Tromey <tromey@redhat.com> writes:

> >>>>> "Sascha" == Sascha Brawer <brawer@dandelis.ch> writes:
> 
> Sascha> As you might know, the Java2D API [2] is very much oriented
> Sascha> at the PDF 1.4 drawing model. Implementing it via the X
> Sascha> Rendering Extension thus seems like a good choice.
> 
> FYI, Graydon Hoare (CCd) has been working on this very thing
> recently.  I don't know if Graydon follows this list, but maybe he
> can comment on what he's been up to.

yes, sorry, I haven't been reading the classpath list. I shall add it
to my feed.

for the past 3 weeks I've been writing parts of java2d, for
work. specifically I have written a partial java.awt.Graphics2D peer
object, called gnu.java.awt.peer.gtk.GdkGraphics2D, which supports
the java2d image model by building cairo[1] surfaces on the underlying
GDK drawables and painting through the cairo library. I have also
updated and fleshed out some parts of the geometry and image loading
classes.

currently the peer object supports filled and stroked paths (lines,
cubic and quadratic splines); clip regions; stroke attributes like
width, join and end types, miter limit; the 12 porter/duff compositing
rules (with alpha channel); progressive image loading and painting
through GdkPixbufLoaders; affine transformations; and offscreen images
for conventional awt-style double buffering.

most of my work so far is buffer and context management, glue code,
and passthrough methods to cairo. it does all the hard work. rendering
speed is not terribly good yet (a few hundred small geometric
primitives / second on my system) but the image quality is excellent.
it builds with gcj (in my tree) as part of the gtk peer objects. 

I have not committed it yet because I think it's not quite ready to
supplant the role of the Graphics peer object, but I suppose I could
commit it in a disabled state, if people want to look.

notably absent are custom strokes, custom compositing operators,
stroke -> shape conversions, etc. the cairo implementaiton currently
keeps a fair amount of this state to itself. it is not clear how
mainstream the requirement for these is, but I'll hack things into
place as necessary. I've talked to carl on IRC a bit, and he has
indicated that some -- perhaps not all -- of the requisite bits may be
exposable or queryable. I think a compromise will be possible.

shortly I expect to begin playing with text (as soon as carl or keith
commit a working version of the text API carl recently posted). I am a
little concerned that sascha's work on java's text rendering API may
duplicate a lot of work: as a community we have already invested many
person-years into developing font rasterizers, font configuration
managers, glyph hinters, unicode layout and glyph shaping systems. I
feel we should reuse pango, fontconfig, and freetype / xft where
possible, through simpler JNI bridging.

-graydon


[1]: cairo is the new name of Xr, which is a client-side library for
painting on X servers (and, in the future, other surfaces) using the X
RENDER extension when available, and falling back to client-side
operations when it is not. see http://www.cairographics.org. it is
written by keith packard and carl worth.




From MAILER-DAEMON Wed Jul 30 15:59:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hx4v-0008SV-9l
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 15:57:41 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hsgD-0000cW-Pf
	for classpath@gnu.org; Wed, 30 Jul 2003 11:15:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hsYV-0006kB-Cv
	for classpath@gnu.org; Wed, 30 Jul 2003 11:07:57 -0400
Received: from moutng.kundenserver.de ([212.227.126.187])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hsV4-0005u8-Tp
	for classpath@gnu.org; Wed, 30 Jul 2003 11:04:23 -0400
Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19hsUz-0001hD-00; Wed, 30 Jul 2003 17:04:17 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19hsUz-0004dL-00; Wed, 30 Jul 2003 17:04:17 +0200
Message-ID: <3F27DE71.2000602@aicas.com>
Date: Wed, 30 Jul 2003 17:04:17 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Crawley <crawley@dstc.edu.au>
References: <200307301331.h6UDVO8x027345@piglet.dstc.edu.au>
In-Reply-To: <200307301331.h6UDVO8x027345@piglet.dstc.edu.au>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Wed, 30 Jul 2003 15:57:39 -0400
Cc: 
Subject: Re: Changes to java/net/PlainSocketImpl.java
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 15:17:37 -0000

Dear Stephen,

> I don't know if you did this deliberately, but your latest change
> to java/net/PlainSocketImpl.java to implement the connect(addr,timeout)
> method has clobbered an existing implementation checked in a few
> hours earlier by Michael Koch on my behalf.

The CVS log http://savannah.gnu.org tell me the last commit before my
commit today is from Michael Koch 23. June - did I miss something?

When I did the commit I did not saw any conflict, thus I thought
everthing is ok. What went wrong?

Sincerely,

Torsten




From MAILER-DAEMON Wed Jul 30 15:59:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hx4v-0008Sq-KS
	for mharc-classpath@gnu.org; Wed, 30 Jul 2003 15:57:41 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hsih-0002RP-Uy
	for classpath@gnu.org; Wed, 30 Jul 2003 11:18:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hsid-0002I1-HR
	for classpath@gnu.org; Wed, 30 Jul 2003 11:18:23 -0400
Received: from moutng.kundenserver.de ([212.227.126.177])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hsfA-00007g-NT
	for classpath@gnu.org; Wed, 30 Jul 2003 11:14:49 -0400
Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19hsf8-00046e-00; Wed, 30 Jul 2003 17:14:46 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19hsf8-0006ez-00; Wed, 30 Jul 2003 17:14:46 +0200
Message-ID: <3F27E0E5.6060103@aicas.com>
Date: Wed, 30 Jul 2003 17:14:45 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael Koch <konqueror@gmx.de>
References: <200307301331.h6UDVO8x027345@piglet.dstc.edu.au>
	<200307301643.55680.konqueror@gmx.de>
In-Reply-To: <200307301643.55680.konqueror@gmx.de>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Wed, 30 Jul 2003 15:57:39 -0400
Cc: 
Subject: Re: Changes to java/net/PlainSocketImpl.java
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jul 2003 15:23:20 -0000

Dear Michael

> Torsten: CVS has surely gicen you a merging conflict before commit. 
> Just copying over your working version of the file is __NNOO__ 
> solution. Its evil.

I did not saw any conflict, otherwise I would try to solve it. The
last commit before my commit is from 23. June. I also did not copied
my working version over the file. The version numbers viewable on
http://savannah.gnu.org give no hint: your commit from 23. June has
1.13, where the connect()-function simply throw an exception; my commit
have 1.14 and include a simple connect; your new commit has 1.15 with
a much better implementation - which commit was lost? Do we talk
about the same file? What went wrong?

Sincerely,

Torsten




From MAILER-DAEMON Thu Jul 31 04:49:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19i95j-00032e-KD
	for mharc-classpath@gnu.org; Thu, 31 Jul 2003 04:47:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19i93q-0002iQ-UR
	for classpath@gnu.org; Thu, 31 Jul 2003 04:45:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19i93l-0002cr-MV
	for classpath@gnu.org; Thu, 31 Jul 2003 04:45:18 -0400
Received: from smtp.easynet.ch ([217.8.192.20] helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19i8z6-0001Bf-Tb
	for classpath@gnu.org; Thu, 31 Jul 2003 04:40:29 -0400
Received: from [192.168.1.33] (unknown [217.8.218.172])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id 6852164646; Thu, 31 Jul 2003 10:40:24 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>,
	graydon hoare <graydon@redhat.com>
Date: Thu, 31 Jul 2003 10:40:24 +0200
Message-Id: <20030731084024.8855@smtp.mail.ch.easynet.net>
In-Reply-To: <87znivuals.fsf@dub.venge.net>
References: <87znivuals.fsf@dub.venge.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: Tom Tromey <tromey@redhat.com>, Keith Packard <keithp@keithp.com>
Subject: Re: X Rendering and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Jul 2003 08:47:17 -0000

graydon hoare <graydon@redhat.com> wrote on Wed, 30 Jul 2003 14:34:55 -0400:

>for the past 3 weeks I've been writing parts of java2d, for
>work. specifically I have written a partial java.awt.Graphics2D peer
>object, called gnu.java.awt.peer.gtk.GdkGraphics2D, which supports
>the java2d image model by building cairo[1] surfaces on the underlying
>GDK drawables and painting through the cairo library. I have also
>updated and fleshed out some parts of the geometry and image loading
>classes.

This is great news!

>currently the peer object supports [...]
>
>notably absent are custom strokes, custom compositing operators,
>stroke -> shape conversions, etc.

Stroke -> Shape conversions: IMHO, it would be good to have Java code for
this. It seems something rather central that would also be useful for
porting the code to other platforms. But this is just my personal
opinion, which of course might be biased by my needs.

Could you describe how you handle image buffers? If I may express a wish,
do you think it might be possible to access the raster data through the
java.awt.image framework? For example, this would allow to eventually use
javax.imageio for image conversions.

If you manage to expose the X Render pictures (or whetever Xr/Cairo uses
as an abstraction of those) through java.awt.image.Raster, custom
compositing operators should be doable.  I assume the main problem would
be remote X11, because sending XImages across the network is expensive. 
May I ask how you plan to handle this? Do you keep a local copy of the
buffers? You might also want to have a look at [1] in this context, in
case you haven't read it already.

>it is not clear how mainstream the requirement for these is, but I'll
>hack things into place as necessary.

Actually, I would be most interested in hearing about how you plan to
handle the tricky parts.  IMHO, this is not just a question of hacking...


>shortly I expect to begin playing with text (as soon as carl or keith
>commit a working version of the text API carl recently posted). I am a
>little concerned that sascha's work on java's text rendering API may
>duplicate a lot of work: as a community we have already invested many
>person-years into developing font rasterizers, font configuration
>managers, glyph hinters, unicode layout and glyph shaping systems. I
>feel we should reuse pango, fontconfig, and freetype / xft where
>possible, through simpler JNI bridging.

I fully agree that it makes sense to use libraries such as FreeType,
Pango, fontconfig or Xr on platforms that can assume their presence. But
I see two problems with depending on them:

First, not all users of Classpath have GNOME, or GTK+, or even X11.
There's also systems like Jaos (which uses Classpath on the Oberon
system), or IKVM.NET (uses Classpath on top of .NET), or several projects
for embedded systems, or pure Java OSes.  Surely these are minority
systems, but I find it an important minority, and this not only because I
am part of it.

Second, the Java2D API exposes a lot of things that are internal to
existing libraries. For instance, it might possibly be tricky to do
GlyphVectors on top of Pango. It could as well be easy in this concrete
case; it's just an example.  But if we don't carefully plan such things,
we might end up being able to support only 80% of the Java APIs.

So, I am not saying that we should not use whatever library happens to be
around. However, I also think we should do it in a way which makes it
possible to share code between our diverse projects. In the case of Java
graphics, I think that a lot of code can be common, provided we structure
things the right way.

To give a concrete example, I think it should be possible to implement
GlyphVectors so that the work which is specific to a concrete font
subsystem gets delegated to an interface. People can then implement this
interface in various ways. For your project, it surely would be very
unwise to use my clumsy and buggy font scaler instead of FreeType. But
maybe, we can find an interface for font delegates so that the common
code can use whatever scaler happens to be present?

Of course, it is not exactly easy to find the best way of structuring
code of this complexity. This is also the reason why I am trying to keep
this discussion going, and why I bother to think about how to implement
the Java graphics API on platforms that I personally have no need to
support (such as X11).

Ideally, we can have a common code base for most of Java2D. People could
then adapt it to their own platforms, be it remote X11 or a simple
framebuffer device. Being an object-oriented language, Java offers fairly
good techniques for exactly this kind of abstractions.

Best,

-- Sascha


[1] The Volatile Image API User Guide
    ftp://ftp.java.sun.com/docs/j2se1.4/VolatileImage.pdf
    Describes how to manage hardware-accelerated offscreen images
    (such as double buffers and sprites) with the Java VolatileImage
    class





From MAILER-DAEMON Thu Jul 31 06:00:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19iABY-0002GO-1l
	for mharc-classpath@gnu.org; Thu, 31 Jul 2003 05:57:24 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19i8tp-0007wy-2S
	for classpath@gnu.org; Thu, 31 Jul 2003 04:35:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19i8tm-0007vp-Jx
	for classpath@gnu.org; Thu, 31 Jul 2003 04:35:00 -0400
Received: from moutng.kundenserver.de ([212.227.126.189])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19i8sv-0007aV-79
	for classpath@gnu.org; Thu, 31 Jul 2003 04:34:05 -0400
Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19i8ss-00062u-00; Thu, 31 Jul 2003 10:34:02 +0200
Received: from [212.126.196.45] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19i8sr-0005JO-00; Thu, 31 Jul 2003 10:34:01 +0200
Message-ID: <3F28D478.9080903@aicas.com>
Date: Thu, 31 Jul 2003 10:34:00 +0200
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <8765lkt1dx.fsf@fleche.redhat.com>
In-Reply-To: <8765lkt1dx.fsf@fleche.redhat.com>
X-Enigmail-Version: 0.72.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Thu, 31 Jul 2003 05:57:22 -0400
Cc: 
Subject: Re: include/*.h
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Jul 2003 08:37:12 -0000

Dear Tom

> I've rebuilt all the include/*.h files with a newer gcjh.
> This one includes JNICALL and JNIEXPORT in the output.

Thanks.

Is the filename java_nio_FileChannelImpl.c correct? I think
it sould be java_nio_channels_FileChannelImpl.c (matching the
name of the header file).

Sincerely,

Torsten





From MAILER-DAEMON Thu Jul 31 11:28:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19iFHu-0005gX-77
	for mharc-classpath@gnu.org; Thu, 31 Jul 2003 11:24:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19iEuN-0007LU-22
	for classpath@gnu.org; Thu, 31 Jul 2003 10:59:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19iErH-0005kF-C9
	for classpath@gnu.org; Thu, 31 Jul 2003 10:56:48 -0400
Received: from pix-525-pool.redhat.com ([66.187.233.200]
	helo=lacrosse.corp.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19iEpv-0005Zc-7C
	for classpath@gnu.org; Thu, 31 Jul 2003 10:55:23 -0400
Received: from dub.venge.net (sebastian-int.corp.redhat.com [172.16.52.221])
	by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id h6VEt6K09313; 
	Thu, 31 Jul 2003 10:55:07 -0400
Sender: graydon@dub.venge.net
To: Sascha Brawer <brawer@dandelis.ch>
References: <87znivuals.fsf@dub.venge.net>
	<20030731084024.8855@smtp.mail.ch.easynet.net>
From: graydon hoare <graydon@redhat.com>
Date: 31 Jul 2003 10:55:06 -0400
In-Reply-To: <20030731084024.8855@smtp.mail.ch.easynet.net>
Message-ID: <87ptjqsq45.fsf@dub.venge.net>
Lines: 70
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailman-Approved-At: Thu, 31 Jul 2003 11:24:16 -0400
Cc: Tom Tromey <tromey@redhat.com>, Keith Packard <keithp@keithp.com>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: X Rendering and GNU Classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Jul 2003 15:04:24 -0000

before I respond point-by-point, I'd like to clarify my position in
general, so we're not arguing over language: my specific goal is to
support the java2d API on a free java system in as short a timeframe
as possible. this goal is based on a work contract, not personal
interest. to me, this implicitly includes C code via JNI -- part of
the java spec -- so long as it's free and portable. so whenever that
saves time, it's what I'll do.

as far as portability goes, GTK+ is portable to non-X11 systems (GDI,
aqua, directFB), as are all the other libraries I'm discussing. 
nothing in this discussion is X11-specific, non-free or non-portable. 
it's just written in C.

Sascha Brawer <brawer@dandelis.ch> writes:

> Stroke -> Shape conversions: IMHO, it would be good to have Java
> code for this. It seems something rather central that would also be
> useful for porting the code to other platforms. But this is just my
> personal opinion, which of course might be biased by my needs.

carl suggests that cairo will be able to feed this information back up
to us.

> Could you describe how you handle image buffers? If I may express a
> wish, do you think it might be possible to access the raster data
> through the java.awt.image framework? For example, this would allow
> to eventually use javax.imageio for image conversions.

images loaded from files and offscreen drawables are carried in
java.awt.Images. the pixel producing methods of offscreen drawables
don't currently feed any pixels (to a consumer) but they could be made
to do so. the producing methods of images loaded from files do feed
pixels, so you can load the data from eg. a PNG or JPG file.

> If you manage to expose the X Render pictures (or whetever Xr/Cairo uses
> as an abstraction of those) through java.awt.image.Raster, custom
> compositing operators should be doable.  I assume the main problem would
> be remote X11, because sending XImages across the network is expensive. 

no, the X Render pictures can be pulled (via XImage) to client side;
it's slow but it's correct, then you have a byte array. the main
problem is different: figuring out which spans of pixels you're
supposed to be compositing. cairo doesn't currently have a "callback"
interface for compositing. I'm trying to talk carl into supporting
it. there are other possibilities of course but I think that would be
easiest. the hardest approach is to manually write another path ->
scanline converter in java. I hope it doesn't come down to that.

> Actually, I would be most interested in hearing about how you plan to
> handle the tricky parts.  IMHO, this is not just a question of hacking...

ah.. it seems to me that all the necessary information and
functionality is present *somewhere* in existing imaging and rendering
libraries; I think it is mostly just a question of hacking to move the
information from where it exists to where it is needed.

> To give a concrete example, I think it should be possible to implement
> GlyphVectors so that the work which is specific to a concrete font
> subsystem gets delegated to an interface. 

I was planning to make a pretty lightweight object for this --
implementing the GlyphVector interface directly -- which wraps an
AffineTransform and a PangoGlyphString. from that you can drill down
through an FT_Face into an FT_OutlineGlyphRec (for the outline), and
otherwise compose glyph vectors through the normal pango pipeline, and
render them via cairo. I'm not sure there's much need for further
decomposition and factoring, though you're welcome to propose
something.

-graydon




From MAILER-DAEMON Thu Jul 31 13:34:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19iHIq-0002oP-9D
	for mharc-classpath@gnu.org; Thu, 31 Jul 2003 13:33:24 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19iHFX-0001md-T1
	for classpath@gnu.org; Thu, 31 Jul 2003 13:29:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19iHEj-0001CQ-6k
	for classpath@gnu.org; Thu, 31 Jul 2003 13:29:09 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19iHD2-0008M9-72
	for classpath@gnu.org; Thu, 31 Jul 2003 13:27:24 -0400
Received: from fleche.redhat.com (te0185.peakpeak.com [204.144.238.185])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id LAA16659;
	Thu, 31 Jul 2003 11:27:16 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 7C2C84F86ED; Thu, 31 Jul 2003 11:16:46 -0600 (MDT)
To: Classpath Discussion Mailing List <classpath@gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: I just had a NOSE JOB!!
Date: 31 Jul 2003 11:16:46 -0600
Message-ID: <87lluepqf5.fsf@fleche.redhat.com>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: question about serialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Jul 2003 17:33:22 -0000

I recently added some security checking code to libgcj.  In particular
we now do access checking for reflection: Method calls and Field reads
and writes.

This breaks serialization quite dramatically.  Now uses of
serialization cause crashes, as we get into infinite recursion
catching and writing out IOExceptions.

Beyond the bugs in serialization that that must imply, I'm wondering
how the serialization code is supposed to deal with access checking.
I think we should be calling setAccessible(true) on all Field and
Method objects.  But should we be doing that as a privileged action?

Mark, I was really hoping you already knew about all this stuff.
Otherwise research is required.

See these gcj PRs for reference:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11728
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11737

The first one has a HashMap serialization fix.  It looks correct to
me, but I wanted to test it first.  But that can't be done until the
other problems are resolved...

Tom



